:root {
    --accent: #ff6200;
    --accent-dark: #d94f00;
    --ink: #1f2937;
    --paper: #ffffff;
    --muted: #6b7280;
    --radius: 18px;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    background-image: url('img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #2b2b2b;
    min-height: 100vh;
}

img { display: block; }

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 14px 22px;
    background: var(--paper);
    border: 3px solid var(--accent);
    border-radius: 20px;
    box-shadow: 0 0 14px rgba(255, 94, 0, 0.45);
}

.logo-link { display: flex; align-items: center; }
#logo { width: 200px; max-width: 42vw; height: auto; }

.header-buttons { margin-left: auto; display: flex; gap: 10px; }

/* ---------- Dropdown ---------- */
#menuP { position: relative; }

.dropdown-toggle {
    height: 48px;
    padding: 8px 18px;
    background: var(--paper);
    color: var(--ink);
    border: 3px solid var(--accent);
    border-radius: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s, color .2s;
}

.dropdown-toggle:hover, .dropdown.open .dropdown-toggle {
    background: var(--accent);
    color: #fff;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    background: var(--paper);
    border: 3px solid var(--accent);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
    z-index: 1000;
}

.dropdown.open .dropdown-menu { display: block; }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.dropdown-item i { color: var(--accent); width: 20px; text-align: center; }
.dropdown-item:hover { background: rgba(255, 98, 0, 0.1); }
.dropdown-item.active { background: rgba(255, 98, 0, 0.16); }

/* ---------- Buttons ---------- */
button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--paper);
    color: var(--ink);
    border: 3px solid var(--accent);
    border-radius: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s, transform .15s;
}

button:hover, .btn:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------- Hero / featured ---------- */
#offerte {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 30px 40px;
    background: var(--paper);
    border: 3px solid var(--accent);
    border-radius: 24px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

#text-content {
    flex: 1 1 340px;
    border: none;
    border-left: 6px solid var(--accent);
    padding: 6px 18px;
}

#text-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.15;
    color: var(--ink);
}

#text-content p {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

#offImg { flex: 0 1 auto; }
#offImg img {
    width: clamp(200px, 32vw, 340px);
    height: auto;
    border: 3px solid var(--accent);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

/* ---------- Category cards ---------- */
.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cco {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
    margin: 10px 0 30px;
    letter-spacing: 2px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
    width: 100%;
}

.section-card {
    background: var(--paper);
    border: 3px solid var(--accent);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.section-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 14px 30px rgba(0,0,0,.35); }

.section-image { padding: 14px 14px 0; }
.section-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.section-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
    padding: 14px 12px 18px;
    color: var(--ink);
}

/* ---------- Category pages ---------- */
.page-hero {
    width: 100%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--paper);
    border: 3px solid var(--accent);
    border-radius: 24px;
    padding: 24px 30px;
    margin: 34px 0 36px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.page-hero-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 18px;
    border: 3px solid var(--accent);
}

.page-hero-text { flex: 1 1 300px; }

.secTitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 5vw, 46px);
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 6px;
    letter-spacing: 1px;
}

.page-subtitle { color: var(--muted); font-size: 16px; margin: 0; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
    width: 100%;
}

.product-card {
    background: var(--paper);
    border: 3px solid var(--accent);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.35); }

.product-image { padding: 12px 12px 0; }
.product-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.product-body { padding: 14px 16px 18px; }

.product-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ink);
    line-height: 1.3;
}

.product-desc { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0; }

.empty-state {
    background: var(--paper);
    border: 3px dashed var(--accent);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    font-size: 18px;
    color: var(--muted);
    width: 100%;
}

/* ---------- Footer ---------- */
footer {
    background: rgba(20, 16, 12, 0.92);
    color: #f3e9dd;
    border-top: 4px solid var(--accent);
    margin-top: 40px;
}

.footer-inner {
    max-width: 1150px;
    margin: 0 auto;
    padding: 36px 22px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand .footer-logo { width: 150px; margin-bottom: 12px; background: #fff; border-radius: 12px; padding: 8px; }
.footer-tagline { font-size: 14px; color: #d9c8b8; line-height: 1.5; margin: 0; }

.footer-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin: 0 0 14px;
}

.footer-col p { font-size: 14px; margin: 0 0 10px; line-height: 1.5; color: #e8dcc9; }
.footer-col a { color: #ffd9b8; text-decoration: underline; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #e8dcc9; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    text-align: center;
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
    color: #b8a68f;
}

/* ---------- Floating scroll-top ---------- */
.floating-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(255, 94, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s;
    z-index: 900;
}

.floating-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-btn:hover { background: var(--accent-dark); }
.tooltip { display: none; }

/* ---------- Info page ---------- */
.info-hero {
    max-width: 950px;
    margin: 30px auto;
    background: var(--paper);
    border: 3px solid var(--accent);
    border-radius: 24px;
    padding: 34px 40px;
    box-shadow: var(--shadow);
}

.info-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 18px;
}

.info-hero p { color: #374151; font-size: 17px; line-height: 1.7; }

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff4ec;
    border: 2px solid var(--accent);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 500;
}

.info-item i { color: var(--accent); font-size: 20px; }

.features-section h2, .newsletter-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin: 26px 0 12px;
}

.features-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.features-list li, .features-list p {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fdf2e9;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 500;
}
.features-list i { color: var(--accent); font-size: 18px; width: 22px; text-align: center; }

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.input-icon-wrapper {
    position: relative;
    flex: 1 1 260px;
}
.input-icon-wrapper i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 42px;
    border: 2px solid #e5d8cb;
    border-radius: 14px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color .2s;
}
.input-icon-wrapper input:focus { border-color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    header { margin: 12px; padding: 12px 14px; gap: 10px; }
    #menuP { position: relative; }
    .dropdown-menu { left: auto; right: -6px; min-width: 0; width: min(300px, calc(100vw - 28px)); max-height: 70vh; overflow-y: auto; }
    #logo { width: 150px; }
    #menuP { margin-left: auto; }
    .header-buttons { margin-left: 0; width: 100%; }
    .header-buttons .btn { flex: 1; justify-content: center; }
    #offerte { padding: 22px; gap: 18px; margin: 20px 14px 60px; }
    #text-content { border-left: none; border-top: 6px solid var(--accent); padding: 12px 4px 0; }
    #offImg img { width: 100%; max-width: 300px; }
    .footer-inner { grid-template-columns: 1fr 1fr; padding: 28px 18px 18px; }
    .footer-brand { grid-column: 1 / -1; }
    .page-hero { padding: 20px; flex-direction: column; align-items: flex-start; }
    .page-hero-img { width: 90px; height: 90px; }
    .container { padding: 0 14px 44px; }
}

@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .category-grid, .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .section-image img { aspect-ratio: 1 / 1; }
    .section-text { font-size: 15px; }
    .floating-btn { bottom: 18px; right: 18px; width: 48px; height: 48px; }
}

.newsletter-msg {
    font-size: 14px;
    margin: 10px 0 0;
    min-height: 1.2em;
}
