@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap");

:root {
    --cream: #f5f0e8;
    --warm-white: #faf7f2;
    --sand: #d4b896;
    --taupe: #b09070;
    --brown: #7a5c42;
    --dark: #3a2e24;
    --text: #4a3f35;
    --light-sand: #e8ddd0;
    --nav-h: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Nunito", sans-serif;
    background: var(--warm-white);
    color: var(--text);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
}

.page {
    display: none;
    padding-top: var(--nav-h);
    min-height: 100vh;
}

.page.active {
    display: block;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    background: var(--warm-white);
    border-bottom: 1px solid var(--light-sand);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    z-index: 1000;
}

.nav-logo {
    user-select: none;
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    letter-spacing: 0.18em;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    -webkit-user-drag: none;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    letter-spacing: 0.12em;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--brown);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brown);
}

.nav-icons {
    display: flex;
    gap: 18px;
}

.nav-icons button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    font-size: 18px;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.cart-icon-wrap {
    position: relative;
    display: inline-flex;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--brown);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    padding: 0 4px;
    display: none;
    align-items: center;
    justify-content: center;
}

.nav-icons button:hover {
    color: var(--brown);
}

footer {
    background: var(--cream);
    border-top: 1px solid var(--light-sand);
    padding: 32px 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

footer .logo {
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    letter-spacing: 0.16em;
    color: var(--dark);
}

.main-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.main-footer a {
    color: var(--text);
    font-size: 16px;
    transition: color 0.2s;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid var(--light-sand);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--taupe);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--brown);
    color: #fff;
    border-color: var(--brown);
}



.social-link-email {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-email i {
    font-size: 14px;
    margin-right: 3px;
    text-decoration: solid;
}

.social-link-email text {
    color: var(--dark);
    text-decoration: underline !important;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    width: 100%;
}

footer .copy {
    font-size: 11px;
    color: var(--dark);
}

.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--dark);
    color: #fff;
    padding: 12px 22px;
    font-size: 13px;
    border-radius: 8px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.3s,
        transform 0.3s;
    pointer-events: none;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.section-eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--taupe);
    margin-bottom: 14px;
    font-weight: 600;
}

.btn-primary {
    display: inline-block;
    background: var(--brown);
    color: #fff;
    padding: 12px 20px;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(122, 92, 66, 0.3);
    position: relative;
    overflow: hidden;
}


.btn-primary:hover {
    background: var(--dark);
    box-shadow: 0 6px 20px rgba(58, 46, 36, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(58, 46, 36, 0.3);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--dark);
    font-size: 22px;
    line-height: 1;
}

/* ── Overlay for mobile menu ── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(58, 46, 36, 0.35);
    z-index: 998;
}

.nav-overlay.open {
    display: block;
}

/* ════════════════════════════
   TABLET  (769 – 1024 px)
════════════════════════════ */
@media (max-width: 1024px) {
    nav {
        padding: 0 28px;
    }

    .nav-links {
        gap: 22px;
    }
}

/* ════════════════════════════
   MOBILE  (≤ 768 px)
════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --nav-h: 56px;
    }

    .page {
        padding: 0;
    }

    nav {
        padding: 0 18px;
        position: relative;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .nav-icons {
        width: 100%;
        justify-content: space-between;
    }

    /* Hide centred nav-links; show hamburger */
    .nav-links {
        position: fixed;
        top: 0;
        right: -260px;
        width: 260px;
        height: 100dvh;
        background: var(--warm-white);
        border-left: 1px solid var(--light-sand);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        padding: 24px 0 24px 36px;
        z-index: 999;
        transform: translateX(0);
        transition: right 0.3s ease;
        left: unset;
        transform: none;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 15px;
        border-bottom: 1px solid var(--light-sand);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Footer */
    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 28px 20px;
        text-align: center;
    }

    .main-footer {
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    .social-link-email {
        width: auto;
        padding: 0 14px;
    }
}