:root {
    --background: #f7f4ee;
    --surface: #ffffff;
    --surface-soft: #eef1e8;

    --text: #243126;
    --muted: #687267;

    --accent: #52654f;
    --accent-dark: #354535;

    --border: #dfe5da;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background: var(--background);

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}


.container {
    width: min(
        1120px,
        calc(100% - 40px)
    );

    margin: 0 auto;
}


.narrow {
    max-width: 760px;
}


/* Navigation */

.site-header {
    position: sticky;

    top: 0;

    z-index: 10;

    background:
        rgba(247, 244, 238, 0.96);

    border-bottom:
        1px solid var(--border);
}


.nav-wrap {
    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 24px;
}


.brand {
    color: var(--text);

    font-size: 1.1rem;

    font-weight: 700;

    text-decoration: none;
}


.site-nav {
    display: flex;

    gap: 24px;

    flex-wrap: wrap;
}


.site-nav a {
    color: var(--text);

    text-decoration: none;

    font-weight: 500;
}


.site-nav a:hover {
    color: var(--accent);
}


/* Hero */

.hero {
    padding: 96px 0;
}


.hero-grid {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 64px;

    align-items: center;
}


.eyebrow {
    margin:
        0 0 12px;

    color: var(--accent);

    font-size: 0.85rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


h1,
h2,
h3,
p {
    margin-top: 0;
}


h1 {
    max-width: 700px;

    margin-bottom: 24px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            3rem,
            7vw,
            5.6rem
        );

    line-height: 0.98;

    font-weight: 500;
}


h2 {
    margin-bottom: 20px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            2rem,
            4vw,
            3.25rem
        );

    line-height: 1.1;

    font-weight: 500;
}


h3 {
    margin-bottom: 12px;

    font-size: 1.2rem;
}


.hero-text {
    max-width: 620px;

    margin-bottom: 32px;

    color: var(--muted);

    font-size: 1.1rem;
}


/* Buttons */

.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 0 24px;

    border-radius: 999px;

    text-decoration: none;

    font-weight: 700;
}


.button-primary {
    background: var(--accent-dark);

    color: white;
}


.button-primary:hover {
    opacity: 0.9;
}


.button-secondary {
    border: 1px solid var(--accent-dark);
    color: var(--accent-dark);

    min-width: 180px;
    white-space: nowrap;
    padding: 0 28px;
}

.button-secondary:hover {
    background: var(--accent-dark);
    color: white;
}


/* Hero Visual */

.hero-card {
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    padding: 32px;
    border-radius: 32px;
    background:
        radial-gradient(
            circle at top left,
            rgba(255,255,255,0.95),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            #c9d3bd,
            #879879
        );

    box-shadow:
        0 24px 70px
        rgba(53,69,53,0.16);
}

.hero-card-photo {
    background-image:
        /* Keeps a soft overlay so the text card stays readable */
        linear-gradient(
            180deg,
            rgba(0,0,0,0) 40%,
            rgba(0,0,0,0.35) 100%
        ),
        url('/img/hero-banner.jpeg');

    background-size: cover;
    background-position: center;
}

.hero-card-content {
    display: grid;

    gap: 6px;

    padding: 20px 22px;

    border-radius: 20px;

    background:
        rgba(255,255,255,0.84);

    backdrop-filter:
        blur(8px);
}


.hero-card-content span {
    color: var(--muted);
}


/* Sections */

.section {
    padding: 88px 0;
}


.section-soft {
    background: var(--surface-soft);
}


.section-heading {
    max-width: 680px;

    margin-bottom: 40px;
}


/* Product Cards */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.product-card {
    padding: 20px;

    border:
        1px solid var(--border);

    border-radius: 24px;

    background: var(--surface);
}


.product-card p {
    color: var(--muted);
}


.product-image {
    min-height: 220px;
    margin-bottom: 20px;
    border-radius: 18px;

    overflow: hidden; /* Clips the image to the rounded corners */
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Values */

.values-section {
    background: var(--accent-dark);

    color: white;
}


.values-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.values-grid p {
    color:
        rgba(
            255,
            255,
            255,
            0.72
        );
}


/* Contact CTA */

.contact-card {
    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 32px;

    padding: 48px;

    border:
        1px solid var(--border);

    border-radius: 28px;

    background: var(--surface);
}


.contact-card p {
    color: var(--muted);
}


/* Footer */

.site-footer {
    padding: 32px 0;

    border-top:
        1px solid var(--border);
}


.footer-wrap {
    display: flex;

    justify-content:
        space-between;

    gap: 20px;

    color: var(--muted);
}


.footer-wrap strong {
    color: var(--text);
}


/* Tablet */

@media (max-width: 800px) {

    .hero {
        padding: 64px 0;
    }


    .hero-grid,
    .product-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }


    .hero-card {
        min-height: 340px;
    }


    .contact-card,
    .footer-wrap {
        align-items: flex-start;

        flex-direction: column;
    }

}


/* Mobile */

@media (max-width: 600px) {

    .container {
        width:
            min(
                100% - 28px,
                1120px
            );
    }


    .nav-wrap {
        align-items: flex-start;

        flex-direction: column;

        padding: 16px 0;
    }


    .site-nav {
        gap: 16px;
    }


    .section {
        padding: 64px 0;
    }


    .contact-card {
        padding: 28px;
    }

}

/* ==================================================
   V0.40.2 CONTACT PAGE
   ================================================== */


.contact-body {
    margin: 0;
    min-height: 100vh;

    background: #faf7f1;

    color: #18271d;
}


/* HEADER */

.contact-header {
    height: 82px;

    display: grid;

    grid-template-columns:
        220px 1fr 180px;

    align-items: center;

    padding: 0 72px;

    background: #faf7f1;

    border-bottom:
        1px solid rgba(24, 39, 29, 0.05);
}


.contact-logo {
    display: inline-flex;

    flex-direction: column;

    width: fit-content;

    color: #173e2a;

    text-decoration: none;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    line-height: 1;
}


.contact-logo span {
    font-size: 17px;

    letter-spacing: 0.03em;
}


.contact-logo small {
    margin-top: 2px;

    font-size: 7px;

    letter-spacing: 0.08em;
}


.contact-nav {
    display: flex;

    justify-content: center;

    gap: 56px;
}


.contact-nav a {
    position: relative;

    color: #18271d;

    text-decoration: none;

    font-size: 14px;
}


.contact-nav a:hover,
.contact-nav a.active {
    color: #174c31;
}


.contact-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: -8px;

    height: 1px;

    background: #174c31;
}


.enquire-button {
    justify-self: end;

    min-width: 150px;

    padding: 14px 25px;

    border-radius: 40px;

    background: #174c31;

    color: white;

    text-align: center;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;
}


.enquire-button:hover {
    background: #103b26;
}



/* MAIN LAYOUT */

.enquiry-layout {
    min-height:
        calc(100vh - 82px);

    display: grid;

    grid-template-columns:
        36% 64%;
}



/* LEFT PANEL */

.enquiry-brand-panel {
    position: relative;

    overflow: hidden;

    min-height:
        calc(100vh - 82px);

    padding: 82px 72px;

    background: #174c31;

    color: white;
}


.enquiry-brand-content {
    position: relative;

    z-index: 2;

    max-width: 410px;
}


.panel-label {
    margin-bottom: 28px;

    color: #a6b79d;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.02em;
}


.enquiry-brand-panel h1 {
    margin-bottom: 30px;

    color: #faf7f1;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            3rem,
            4vw,
            4.5rem
        );

    font-weight: 400;

    line-height: 1.12;
}


.leaf-decoration {
    position: absolute;
    left: 36px;
    bottom: 80px;

    width: 105px;

    height: 230px;

    border-radius:
        80% 30% 80% 30%;

    background: #8ca188;

    transform: rotate(26deg);

    opacity: 0.95;
}



/* FORM SECTION */

.enquiry-form-section {
    display: flex;

    justify-content: center;

    padding:
        70px 90px 90px;

    background: #faf7f1;
}


.enquiry-form-container {
    width: 100%;

    max-width: 690px;
}


.form-heading {
    margin-bottom: 42px;
}


.form-heading h2 {
    margin-bottom: 6px;

    color: #18271d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 46px;

    font-weight: 400;
}


.form-heading p {
    margin: 0;

    color: #738077;

    font-size: 15px;
}



/* FORM */

.enquiry-form {
    width: 100%;
}


.enquiry-field {
    margin-bottom: 25px;
}


.enquiry-field label {
    display: block;

    margin-bottom: 9px;

    color: #18271d;

    font-size: 13px;

    font-weight: 600;
}


.enquiry-field input,
.enquiry-field select,
.enquiry-field textarea {
    width: 100%;

    padding:
        17px 18px;

    border:
        1px solid #ccd2c6;

    border-radius: 9px;

    background:
        rgba(
            255,
            255,
            255,
            0.65
        );

    color: #18271d;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}


.enquiry-field input {
    min-height: 52px;
}

.enquiry-field select {
    min-height: 52px;
}


.enquiry-field textarea {
    min-height: 145px;

    resize: vertical;
}


.enquiry-field input::placeholder,
.enquiry-field textarea::placeholder {
    color: #8c978f;
}


.enquiry-field input:focus,
.enquiry-field select:focus,
.enquiry-field textarea:focus {
    border-color: #174c31;

    box-shadow:
        0 0 0 3px
        rgba(23, 76, 49, 0.08);
}



/* CAPTCHA */

.captcha-field {
    width: 360px;

    margin-top: 36px;

    padding: 18px 20px;

    border:
        1px solid #ccd2c6;

    border-radius: 9px;

    background:
        rgba(
            255,
            255,
            255,
            0.65
        );
}


.captcha-field label {
    display: block;

    margin-bottom: 9px;

    color: #18271d;

    font-size: 13px;

    font-weight: 600;
}


.captcha-field input {
    width: 100%;

    min-height: 48px;

    padding: 13px 15px;

    border: 1px solid #cdd7cf;

    border-radius: 4px;

    background: #fff;

    color: #18271d;
}


.captcha-field input:focus {
    border-color: #174c31;

    box-shadow: 0 0 0 3px rgba(23, 76, 49, 0.08);
}


.captcha-field p {
    margin:
        7px 0 0;

    color: #8c978f;

    font-size: 13px;
}


.captcha-field .error-message {
    color: #a63d3d;
}


.captcha-field .error input {
    border-color: #a63d3d;
}


.captcha-field .recaptcha-error {
    margin: 10px 0 0;

    color: #a63d3d;

    font-size: 13px;
}



/* PRIVACY */

.privacy-note {
    margin-top: 24px;

    color: #7c887f;

    font-size: 12px;
}



/* SUBMIT */

.form-submit-row {
    display: flex;

    justify-content: flex-end;

    margin-top: 24px;
}


.send-enquiry-button {
    min-width: 160px;

    padding: 15px 28px;

    border: none;

    border-radius: 40px;

    background: #174c31;

    color: white;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s,
        transform 0.2s;
}


.send-enquiry-button:hover {
    background: #103b26;

    transform:
        translateY(-1px);
}



/* CAKE VALIDATION */

.enquiry-field .error-message {
    margin-top: 7px;

    color: #a63d3d;

    font-size: 12px;
}


.enquiry-field .error input,
.enquiry-field .error textarea {
    border-color: #a63d3d;
}



/* FLASH MESSAGE */

.message {
    margin-bottom: 26px;

    padding:
        14px 17px;

    border-radius: 8px;

    font-size: 14px;
}


.message.success {
    background: #e7efe6;

    color: #31543a;
}


.message.error {
    background: #f7e6e6;

    color: #873737;
}

.hamper-product-controls .error-message {
    display: block;
    margin-top: 6px;
    color: #873737;
    font-size: 13px;
}

.hamper-product-controls input[aria-invalid="true"] {
    border-color: #a63d3d;
}



/* TABLET */

@media (max-width: 1000px) {

    .contact-header {
        grid-template-columns:
            180px 1fr;

        padding:
            0 35px;
    }


    .contact-nav {
        justify-content: flex-end;

        gap: 28px;
    }


    .enquire-button {
        display: none;
    }


    .enquiry-layout {
        grid-template-columns:
            40% 60%;
    }


    .enquiry-brand-panel {
        padding:
            65px 40px;
    }


    .enquiry-form-section {
        padding:
            60px 50px;
    }

}



/* MOBILE */

@media (max-width: 760px) {

    .contact-header {
        height: auto;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        padding:
            22px 24px;
    }


    .contact-nav {
        width: 100%;

        justify-content: flex-start;

        flex-wrap: wrap;

        gap: 20px;
    }


    .enquiry-layout {
        display: block;
    }


    .enquiry-brand-panel {
        min-height: auto;

        padding:
            60px 28px 100px;
    }


    .enquiry-brand-panel h1 {
        font-size: 3rem;
    }


    .contact-email {
        margin-top: 40px;
    }


    .leaf-decoration {
        right: 25px;

        left: auto;

        bottom: -70px;
    }


    .enquiry-form-section {
        padding:
            55px 28px;
    }


    .form-heading h2 {
        font-size: 38px;
    }


    .captcha-field {
        width: 100%;
    }


    .form-submit-row {
        justify-content: stretch;
    }


    .send-enquiry-button {
        width: 100%;
    }

}

/* ==================================================
   V0.40.5 ENQUIRY SUCCESS PAGE
   ================================================== */

.success-body {
    margin: 0;
    min-height: 100vh;

    background: #f7f2e8;

    color: #183022;
}


.success-page {
    min-height: calc(100vh - 82px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 70px 30px 100px;
}


.success-card {
    width: 100%;

    max-width: 680px;

    padding: 72px 70px;

    border: 1px solid rgba(30, 70, 45, 0.08);

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.78);

    box-shadow:
        0 28px 80px
        rgba(40, 65, 45, 0.08);

    text-align: center;
}


/* CHECK ICON */

.success-icon {
    width: 112px;

    height: 112px;

    margin:
        0 auto 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #e5ebe1;

    color: #174c31;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 54px;

    line-height: 1;
}


/* LABEL */

.success-eyebrow {
    margin-bottom: 14px;

    color: #768579;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.14em;
}


/* TITLE */

.success-card h1 {
    margin-bottom: 18px;

    color: #183022;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4rem
        );

    font-weight: 400;

    line-height: 1.1;
}


/* DESCRIPTION */

.success-description {
    max-width: 500px;

    margin:
        0 auto 28px;

    color: #738078;

    font-size: 15px;

    line-height: 1.65;
}


/* REFERENCE */

.success-reference {
    display: inline-block;

    margin-bottom: 38px;

    padding:
        8px 14px;

    border-radius: 30px;

    background: #eef1e9;

    color: #4d6052;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.05em;
}


/* BUTTONS */

.success-actions {
    display: flex;

    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;
}


.success-primary-button,
.success-secondary-button {
    min-width: 170px;

    padding:
        15px 28px;

    border-radius: 40px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s;
}


.success-primary-button {
    border:
        1px solid #174c31;

    background: #174c31;

    color: white;
}


.success-primary-button:hover {
    background: #103b26;

    transform:
        translateY(-1px);
}


.success-secondary-button {
    border:
        1px solid #174c31;

    background: transparent;

    color: #174c31;
}


.success-secondary-button:hover {
    background: #eef1e9;

    transform:
        translateY(-1px);
}


/* SMALL NOTE */

.success-note {
    margin:
        32px 0 0;

    color: #8b958d;

    font-size: 12px;
}


/* MOBILE */

@media (max-width: 600px) {

    .success-page {
        padding:
            45px 18px 70px;
    }


    .success-card {
        padding:
            50px 25px;

        border-radius: 24px;
    }


    .success-icon {
        width: 90px;

        height: 90px;

        font-size: 44px;
    }


    .success-actions {
        flex-direction: column;
    }


    .success-primary-button,
    .success-secondary-button {
        width: 100%;
    }

}

/* ==================================================
   V0.50.6 ADMIN LOGIN
   ================================================== */

.admin-login-body {
    margin: 0;
    min-height: 100vh;
    background: #faf7f1;
    color: #18271d;
}


.admin-login-page {
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px 80px;
}


.admin-login-panel {
    width: min(1080px, 100%);
    min-height: 600px;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    overflow: hidden;

    border-radius: 30px;

    background: white;

    box-shadow:
        0 30px 90px rgba(40, 65, 45, 0.10);
}


/* LEFT */

.admin-login-brand {
    padding: 70px 60px;

    background: #174c31;

    color: white;
}


.admin-login-brand h1 {
    margin-bottom: 28px;

    color: #faf7f1;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(3rem, 5vw, 5rem);

    font-weight: 400;

    line-height: 1;
}


.admin-login-brand p {
    max-width: 360px;

    color:
        rgba(
            255,
            255,
            255,
            0.75
        );

    font-size: 15px;

    line-height: 1.7;
}


/* RIGHT */

.admin-login-form-panel {
    display: flex;

    align-items: center;

    justify-content: center;

    padding: 70px;
}


.admin-login-form-wrap {
    width: 100%;

    max-width: 430px;
}


.admin-login-form-wrap h2 {
    margin-bottom: 10px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 46px;

    font-weight: 400;
}


.admin-login-intro {
    margin-bottom: 35px;

    color: #758078;
}


.admin-login-field {
    margin-bottom: 22px;
}


.admin-login-field label {
    display: block;

    margin-bottom: 8px;

    color: #18271d;

    font-size: 13px;

    font-weight: 600;
}


.admin-login-field input {
    width: 100%;

    min-height: 52px;

    padding: 14px 16px;

    border:
        1px solid #ccd2c6;

    border-radius: 9px;

    background: #fbfcfa;

    color: #18271d;

    font: inherit;

    outline: none;
}


.admin-login-field input:focus {
    border-color: #174c31;

    box-shadow:
        0 0 0 3px
        rgba(23, 76, 49, 0.08);
}


.admin-login-button {
    width: 100%;

    margin-top: 10px;

    padding: 15px 28px;

    border: none;

    border-radius: 40px;

    background: #174c31;

    color: white;

    font: inherit;

    font-weight: 600;

    cursor: pointer;
}


.admin-login-button:hover {
    background: #103b26;
}


@media (max-width: 760px) {

    .admin-login-page {
        padding: 35px 18px 60px;
    }


    .admin-login-panel {
        grid-template-columns: 1fr;
    }


    .admin-login-brand {
        padding: 45px 30px;
    }


    .admin-login-form-panel {
        padding: 45px 30px;
    }

}

/* ==================================================
   V0.60 ADMIN DASHBOARD
   ================================================== */

.admin-dashboard-body {
    margin: 0;
    min-height: 100vh;

    background: #f6f3ec;

    color: #18271d;
}


/* HEADER */

.admin-header {
    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 64px;

    background: #174c31;

    color: white;
}


.admin-header-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    color: inherit;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    letter-spacing: 0.04em;
}


.admin-header-brand span {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

    letter-spacing: 0.04em;
}


.admin-header-brand small {
    margin-top: 4px;

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

    font-size: 9px;

    letter-spacing: 0.14em;
}


.admin-header-nav {
    display: flex;

    align-items: center;

    gap: 28px;
}


.admin-nav-active {
    color:
        rgba(
            255,
            255,
            255,
            0.85
        );

    font-size: 14px;
}


.admin-logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 20px;

    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 40px;
    background: transparent !important;
    color: white !important;
    font-family: inherit;
    text-decoration: none;

    font-size: 13px;
    line-height: 1.2;
    outline: none !important;
    box-shadow: none !important;
}

.admin-logout-button:visited {
    border-color: rgba(255, 255, 255, 0.45) !important;
    background: transparent !important;
    color: white !important;
}


.admin-logout-button:hover {
    border-color: rgba(255, 255, 255, 0.75) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.admin-logout-button:focus,
.admin-logout-button:active {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
}


/* MAIN */

.admin-dashboard {
    width: min(1200px, calc(100% - 50px));

    margin: 0 auto;

    padding:
        70px 0 100px;
}


/* HEADING */

.admin-dashboard-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 40px;
}


.admin-dashboard-heading h1 {
    margin-bottom: 15px;

    font-size:
        clamp(
            2.8rem,
            5vw,
            4.6rem
        );
}


.admin-dashboard-heading > div > p:last-child {
    max-width: 620px;

    color: #748078;
}


.admin-stat-card {
    min-width: 170px;

    padding: 22px 26px;

    border:
        1px solid #dce2d8;

    border-radius: 18px;

    background: white;
}


.admin-stat-card span {
    display: block;

    margin-bottom: 4px;

    color: #7b877e;

    font-size: 12px;
}


.admin-stat-card strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 34px;

    font-weight: 400;
}


/* MESSAGE CARD */

.admin-messages-card {
    overflow: hidden;

    border:
        1px solid #dfe4da;

    border-radius: 24px;

    background: white;

    box-shadow:
        0 20px 60px
        rgba(40, 60, 43, 0.05);
}


.admin-table-heading {
    padding: 30px 34px;

    border-bottom:
        1px solid #e5e9e1;
}


.admin-table-heading h2 {
    margin-bottom: 5px;

    font-size: 28px;
}


.admin-table-heading p {
    margin: 0;

    color: #7b877e;

    font-size: 13px;
}


/* TABLE */

.admin-table-wrapper {
    overflow-x: auto;
}


.admin-messages-table {
    width: 100%;

    border-collapse: collapse;
}


.admin-messages-table th {
    padding:
        17px 24px;

    background: #f5f7f2;

    color: #66726a;

    text-align: left;

    font-size: 11px;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


.admin-messages-table td {
    padding:
        22px 24px;

    border-top:
        1px solid #edf0eb;

    color: #59645d;

    font-size: 14px;
}


.admin-messages-table td strong {
    color: #18271d;
}


.admin-table-action {
    width: 90px;

    text-align: right;
}


.admin-view-button {
    display: inline-flex;

    padding:
        9px 17px;

    border:
        1px solid #174c31;

    border-radius: 30px;

    color: #174c31;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;
}


.admin-view-button:hover {
    background: #174c31;

    color: white;
}


/* PAGINATION */

.admin-pagination {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 24px;

    padding: 22px;

    border-top:
        1px solid #e5e9e1;

    color: #758078;

    font-size: 13px;
}


.admin-pagination a {
    color: #174c31;

    text-decoration: none;

    font-weight: 600;
}


/* EMPTY STATE */

.admin-empty-state {
    padding:
        90px 30px;

    text-align: center;
}


.admin-empty-icon {
    width: 70px;

    height: 70px;

    margin:
        0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #e8eee5;

    color: #174c31;

    font-size: 28px;
}


.admin-empty-state h3 {
    margin-bottom: 8px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 26px;

    font-weight: 400;
}


.admin-empty-state p {
    max-width: 430px;

    margin: 0 auto;

    color: #7a857d;
}


/* MOBILE */

@media (max-width: 760px) {

    .admin-header {
        padding:
            18px 24px;
    }


    .admin-dashboard {
        width:
            min(
                100% - 28px,
                1200px
            );

        padding:
            45px 0 70px;
    }


    .admin-dashboard-heading {
        align-items: stretch;

        flex-direction: column;
    }


    .admin-stat-card {
        width: 100%;
    }


    .admin-messages-table {
        min-width: 650px;
    }

}

/* ==================================================
   V0.60.2 ADMIN MESSAGE DETAIL
   ================================================== */

.admin-nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
}

.admin-nav-link:hover {
    color: white;
}


.admin-detail-back {
    margin-bottom: 32px;
}


.admin-back-link {
    color: #617067;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}


.admin-back-link:hover {
    color: #174c31;
}


.admin-detail-heading {
    margin-bottom: 38px;
}


.admin-detail-heading h1 {
    margin-bottom: 10px;

    font-size:
        clamp(
            2.8rem,
            5vw,
            4.8rem
        );
}


.admin-detail-heading > div > p:last-child {
    color: #78847c;
}


.admin-detail-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 330px;

    gap: 28px;

    align-items: start;
}

.admin-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}


.admin-detail-card,
.admin-contact-card {
    border:
        1px solid #dfe4da;

    border-radius: 24px;

    background: white;

    box-shadow:
        0 20px 60px
        rgba(40, 60, 43, 0.05);
}


.admin-detail-card {
    overflow: hidden;
}

.admin-message-customer-card,
.admin-reply-card {
    width: 100%;
}

.admin-customer-details {
    padding: 28px 32px 30px;
    border-top: 1px solid #e8ebe5;
}

.admin-customer-details .admin-detail-label {
    margin-bottom: 18px;
}

.admin-customer-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 28px;
}

.admin-customer-details .admin-contact-item {
    padding: 12px 0;
}

.admin-customer-details .admin-reply-button {
    width: fit-content;
    min-width: 170px;
    margin-top: 20px;
}


.admin-detail-card-heading {
    padding: 28px 32px;

    border-bottom:
        1px solid #e8ebe5;
}


.admin-detail-card-heading h2 {
    margin: 0;

    font-size: 26px;
}


.admin-message-content {
    min-height: 300px;

    padding: 38px 32px;

    color: #435047;

    font-size: 16px;

    line-height: 1.8;

    white-space: normal;
}


.admin-contact-card {
    padding: 30px;
}


.admin-detail-label {
    margin-bottom: 25px;

    color: #7d887f;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.08em;
}


.admin-contact-item {
    padding: 18px 0;

    border-bottom:
        1px solid #edf0eb;
}


.admin-contact-item span {
    display: block;

    margin-bottom: 5px;

    color: #849087;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.05em;
}


.admin-contact-item strong,
.admin-contact-item a {
    color: #203027;

    font-size: 14px;

    text-decoration: none;
}


.admin-contact-item a:hover {
    color: #174c31;

    text-decoration: underline;
}


.admin-reply-button {
    width: 100%;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 28px;

    min-height: 46px;
    padding: 12px 20px;

    border-radius: 40px;

    background: #174c31;

    color: white;

    box-sizing: border-box;
    font-family: inherit;
    text-decoration: none;

    font-size: 13px;
    line-height: 1.2;

    font-weight: 600;
}


.admin-reply-button:hover {
    background: #103b26;
}


@media (max-width: 850px) {

    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-customer-details-grid {
        grid-template-columns: 1fr;
    }

}

/* Product administration and stored replies */
.admin-header-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    letter-spacing: 0.04em;
}

.admin-heading-action {
    width: auto;
    margin-top: 0;
    white-space: nowrap;
}

.admin-remove-button {
    margin-left: 8px;
    border-color: #9b5144;
    color: #9b5144;
}

.admin-table-action {
    width: 220px;
    min-width: 220px;
    white-space: nowrap !important;
}

.admin-action-buttons {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

.admin-action-buttons .admin-view-button {
    width: 120px !important;
    min-width: 120px;
    justify-content: center;
    box-sizing: border-box;
    vertical-align: middle;
}

.admin-action-buttons .admin-remove-button {
    margin-left: 0;
}

.admin-remove-button:hover {
    border-color: #71372f;
    background: #71372f;
    color: white;
}

.admin-catalogue-action {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.admin-form-card {
    max-width: 760px;
    padding: 38px 42px;
    border: 1px solid #dfe4da;
    border-radius: 24px;
    background: white;
    box-shadow: 0 20px 60px rgba(40, 60, 43, 0.05);
}

.admin-form-card h1 {
    margin-bottom: 28px;
    font-size: clamp(2.8rem, 5vw, 4.6rem);
}

.admin-form-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.admin-form-heading h1 {
    margin-bottom: 8px;
}

.admin-form-heading p:last-child {
    margin: 0;
    color: #748078;
}

.admin-form-id {
    padding: 8px 12px;
    border: 1px solid #dfe4da;
    border-radius: 20px;
    color: #748078;
    font-size: 12px;
    white-space: nowrap;
}

.admin-form-card fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.admin-form-card label {
    display: block;
    margin: 0 0 8px;
    color: #405047;
    font-size: 13px;
    font-weight: 600;
}

.admin-form-card input,
.admin-form-card textarea,
.admin-reply-form textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #ccd5c9;
    border-radius: 8px;
    background: #fbfcfa;
    color: #18271d;
    font: inherit;
}

.admin-form-card textarea {
    min-height: 150px;
    resize: vertical;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
}

.admin-form-grid .input {
    min-width: 0;
}

.admin-form-grid .admin-form-full {
    grid-column: 1 / -1;
}

.admin-form-grid .admin-form-full textarea {
    min-height: 145px;
}

.admin-visibility-field {
    margin-top: 24px;
    padding: 17px 18px;
    border: 1px solid #dfe4da;
    border-radius: 10px;
    background: #f5f7f2;
}

.admin-visibility-field .checkbox {
    margin: 0;
}

.admin-visibility-field input[type="checkbox"] {
    width: auto;
    margin: 0 9px 0 0;
    vertical-align: middle;
}

.admin-visibility-field label {
    display: inline;
    margin: 0;
}

.admin-visibility-field p {
    margin: 7px 0 0 25px;
    color: #748078;
    font-size: 12px;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 30px;
}

.admin-save-button,
.admin-cancel-button {
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 30px;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
}

.admin-save-button {
    border: 1px solid #174c31;
    background: #174c31;
    color: white;
    cursor: pointer;
}

.admin-save-button:hover {
    background: #103b26;
}

.admin-cancel-button {
    border: 1px solid #c5cec5;
    color: #405047;
}

.admin-cancel-button:hover {
    border-color: #174c31;
    color: #174c31;
}

.admin-form-card input:focus,
.admin-form-card textarea:focus,
.admin-reply-form textarea:focus {
    border-color: #174c31;
    box-shadow: 0 0 0 3px rgba(23, 76, 49, 0.08);
    outline: 0;
}

.admin-form-card button {
    padding: 13px 24px;
    border: 0;
    border-radius: 40px;
    background: #174c31;
    color: white;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.admin-form-card .button {
    display: inline-flex;
    margin-left: 10px;
    color: #174c31;
    vertical-align: middle;
}

.admin-reply-card {
    grid-column: 1 / -1;
}

.admin-reply-form-wrap {
    padding: 28px 32px 30px;
}

.admin-reply-form textarea {
    display: block;
    width: 100% !important;
    min-height: 170px !important;
    margin: 0 !important;
    padding: 17px 18px !important;
    border: 1px solid #c9d4c9 !important;
    border-radius: 12px !important;
    background: #f8faf6 !important;
    color: #18271d !important;
    font: inherit;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.admin-reply-textarea::placeholder {
    color: #89958c;
}

.admin-reply-textarea:hover {
    border-color: #aebdaf !important;
    background: #ffffff !important;
}

.admin-reply-textarea:focus {
    border-color: #174c31 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(23, 76, 49, 0.1) !important;
    outline: 0;
}

.admin-reply-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 16px;
    color: #78847c;
    font-size: 12px;
}

.admin-reply-form-footer .admin-reply-button {
    width: auto;
    margin: 0;
    border: 0;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.2;
    appearance: none;
    cursor: pointer;
}

@media (max-width: 760px) {
    .admin-form-card {
        padding: 28px 22px;
    }

    .admin-heading-action {
        align-self: flex-start;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-grid .admin-form-full {
        grid-column: auto;
    }

    .admin-form-heading {
        flex-direction: column;
    }

    .admin-reply-form-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   Public Shop / Product Detail
   ========================================================= */

.product-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.product-card h3 a:hover {
    color: var(--accent-dark);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 72px;
    align-items: start;
}

.product-detail-image {
    overflow: hidden;
    border-radius: 28px;
    background: var(--surface-soft);
    aspect-ratio: 4 / 5;
}

.product-detail-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-content {
    padding-top: 24px;
}

.product-detail-content h1 {
    margin-bottom: 18px;
}

.product-detail-price {
    margin: 0 0 28px;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.product-detail-description {
    max-width: 580px;
    margin-bottom: 24px;
    color: var(--muted);
}

.product-detail-content form {
    max-width: 260px;
}

.product-detail-content input[type="number"] {
    background: var(--surface);
}

@media (max-width: 860px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .product-detail-content {
        padding-top: 0;
    }
}

/* =========================================================
   SHOPPING CART
   ========================================================= */
.cart-header-link {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    white-space: nowrap;
}

.cart-page {
    min-height: 75vh;
}

.cart-hero {
    text-align: center;
    background: #f5f1e8;
}

.cart-section {
    padding-top: 56px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
    gap: 48px;
    align-items: start;
}

.cart-items-panel {
    border-top: 1px solid rgba(35, 53, 38, 0.16);
}

.cart-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 28px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(35, 53, 38, 0.14);
}

.cart-item-image {
    width: 150px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f2efe6;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cart-item-details h3 {
    margin: 6px 0 10px;
}

.cart-item-details h3 a {
    color: inherit;
    text-decoration: none;
}

.cart-unit-price {
    margin-bottom: 18px;
    opacity: 0.72;
}

.cart-item-controls .input {
    max-width: 115px;
    margin-bottom: 0;
}

.cart-item-controls label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cart-quantity-input {
    width: 92px;
    padding: 9px 10px;
}

.cart-item-summary {
    min-width: 110px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
}

.cart-item-summary strong {
    font-size: 1.06rem;
}

.cart-remove-link,
.cart-clear-link,
.cart-text-link {
    color: #435644;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 0.92rem;
}

.cart-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 24px;
}

.cart-summary-card {
    position: sticky;
    top: 28px;
    padding: 32px;
    background: #f5f1e8;
}

.cart-summary-card h2 {
    margin-top: 4px;
    margin-bottom: 28px;
}

.cart-summary-line,
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(35, 53, 38, 0.14);
}

.cart-summary-line.muted {
    font-size: 0.9rem;
    opacity: 0.7;
}

.cart-summary-total {
    margin-top: 8px;
    padding: 20px 0;
    font-size: 1.12rem;
    border-bottom: 0;
}

.cart-checkout-button {
    width: 100%;
    margin-top: 14px;
}

.cart-checkout-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cart-checkout-note {
    margin: 12px 0 20px;
    font-size: 0.84rem;
    text-align: center;
    opacity: 0.68;
}

.cart-clear-link {
    display: block;
    text-align: center;
}

.cart-empty {
    max-width: 680px;
    margin: 0 auto;
    padding: 70px 30px;
    text-align: center;
    background: #f5f1e8;
}

.cart-empty h2 {
    margin: 8px 0 14px;
}

.cart-empty .button {
    margin-top: 22px;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .cart-item {
        grid-template-columns: 95px minmax(0, 1fr);
        gap: 18px;
    }

    .cart-item-image {
        width: 95px;
    }

    .cart-item-summary {
        grid-column: 2;
        align-items: flex-start;
        text-align: left;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .cart-actions-row {
        align-items: stretch;
        flex-direction: column;
    }
}


.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.dashboard-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 32px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard-card h3 {
    margin-top: 8px;
    margin-bottom: 14px;
}

.dashboard-card p {
    line-height: 1.7;
}

.dashboard-coming-soon {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}


.checkout-address-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.checkout-address-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    cursor: pointer;
}

.checkout-address-option:hover {
    border-color: rgba(0, 0, 0, 0.35);
}

.checkout-address-option input[type="radio"] {
    margin-top: 5px;
}

.checkout-address-content {
    flex: 1;
}

.checkout-address-content strong {
    display: block;
    margin-bottom: 8px;
}

.checkout-address-content p {
    margin: 0;
    line-height: 1.7;
}

.checkout-no-address {
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 18px;
}

/* =========================================================
   HOME PAGE — Botanical Atelier theme
   Scoped entirely to body.home-page so every other page
   (admin, contact, cart, shop) keeps its current look
   untouched. Re-themes existing shared components (.hero,
   .product-card, .contact-card, .site-footer, etc.) purely
   by overriding the CSS custom properties they already use,
   then adds new classes only for sections that didn't exist
   before (hero, about, gifting, trust badges).
   ========================================================= */

body.home-page {
    --background: #0e150f;
    --surface: #161d16;
    --surface-soft: #1a211a;
    --surface-high: #252c24;
    --text: #dde5d9;
    --muted: #a6b0a2;
    --accent: #c2cf8f;
    --accent-dark: #8f9c67;
    --border: rgba(255, 255, 255, 0.09);

    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.home-page h1,
body.home-page h2 {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
}

body.home-page .accent-italic {
    display: inline-block;
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}

body.home-page .pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--surface-high);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.home-page .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

body.home-page .button-primary {
    color: var(--background);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, background 0.2s ease;
}

body.home-page .button-primary:hover {
    opacity: 1;
    background: var(--accent);
    color: var(--background);
    transform: translateY(-2px);
}

/* ---------- Hero (full-bleed) ---------- */

body.home-page .hero-full {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 82vh;
    padding: 120px 0 64px;
}

body.home-page .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7) contrast(1.05);
}

body.home-page .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(14, 21, 15, 0.55) 0%, rgba(14, 21, 15, 0.75) 55%, var(--background) 100%);
}

body.home-page .hero-full-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

body.home-page .hero-full-content h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 6vw, 4.6rem);
    line-height: 1.08;
}

body.home-page .hero-full-text {
    max-width: 560px;
    margin: 0 auto 32px;
    color: var(--muted);
    font-size: 1.1rem;
}

body.home-page .scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 56px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.6;
}

body.home-page .scroll-hint-line {
    width: 1px;
    height: 36px;
    margin-top: 8px;
    background: linear-gradient(180deg, var(--accent), transparent);
}

/* ---------- About / Our Story ---------- */

body.home-page .about-section {
    padding: 72px 0;
}

body.home-page .section {
    padding-top: 72px;
    padding-bottom: 72px;
}

body.home-page .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

body.home-page .about-image-wrap {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

body.home-page .about-image {
    width: 100%;
    height: 440px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-soft);
}

body.home-page .about-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(14, 21, 15, 0.55);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.home-page .about-caption strong {
    color: var(--text);
    font-size: 0.95rem;
}

body.home-page .about-caption span {
    color: var(--accent);
    font-size: 0.8rem;
}

body.home-page .about-content p {
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.75;
}

/* ---------- Products ---------- */

body.home-page .product-card {
    position: relative;
    transition: transform 0.25s ease, background 0.25s ease;
}

body.home-page .product-card:hover {
    transform: translateY(-4px);
    background: var(--surface-high);
}

body.home-page .product-view-more {
    margin-top: 32px;
    text-align: center;
}

/* ---------- Gifting ---------- */

body.home-page .gifting-section {
    padding: 72px 0;
    background: var(--surface-soft);
}

body.home-page .gifting-panel {
    position: relative;
    padding: 48px;
    border-radius: 28px;
    background: var(--surface);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

body.home-page .section-lede {
    max-width: 620px;
    margin-bottom: 32px;
    color: var(--muted);
}

body.home-page .section-lede.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body.home-page .gifting-visual {
    width: 100%;
    height: 280px;
    margin-bottom: 28px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-high);
}

body.home-page .gifting-cta {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

/* Full-card navigation without nesting links or intercepting existing controls. */
.product-card .card-link-overlay,
.gifting-panel .card-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    cursor: pointer;
}

.product-card a:not(.card-link-overlay),
.product-card button,
.product-card input,
.product-card select,
.product-card textarea,
.product-card label,
.gifting-panel a:not(.card-link-overlay),
.gifting-panel button {
    position: relative;
    z-index: 2;
}

.product-card:has(.card-link-overlay:focus-visible),
.gifting-panel:has(.card-link-overlay:focus-visible) {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.gifting-panel {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gifting-panel:hover,
.gifting-panel:has(.card-link-overlay:focus-visible) {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(36, 54, 40, 0.14);
}

/* ---------- Custom hamper builder ---------- */

.hamper-builder-hero {
    padding-bottom: 48px;
}

.hamper-builder-rule {
    margin-top: 20px;
    color: var(--accent);
    font-weight: 700;
}

.hamper-builder-section {
    padding-top: 24px;
}

.hamper-builder-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
}

.hamper-builder-products > h2 {
    margin-bottom: 24px;
}

.hamper-product-card {
    border: 1px solid transparent;
}

.hamper-product-card.selected {
    border-color: var(--accent);
}

.hamper-product-controls {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
}

.hamper-product-controls label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.85rem;
}

.hamper-product-controls input[type="number"] {
    width: 84px;
}

.hamper-select-control {
    display: flex !important;
    grid-template-columns: none;
    align-items: center;
    color: var(--text) !important;
    font-weight: 700;
    cursor: pointer;
}

.hamper-builder-summary {
    position: sticky;
    top: 24px;
}

.hamper-summary-items {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 24px 0;
    list-style: none;
}

.hamper-summary-items li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.hamper-summary-note {
    color: var(--muted);
    font-size: 0.85rem;
}

.hamper-builder-summary .button[disabled] {
    width: 100%;
    cursor: not-allowed;
    opacity: 0.55;
}

.custom-hamper-cart {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid var(--accent);
    border-radius: 20px;
    background: var(--surface-soft);
}

.custom-hamper-cart-heading,
.custom-hamper-footer,
.custom-hamper-footer > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.custom-hamper-cart-heading {
    margin-bottom: 16px;
}

.custom-hamper-cart-heading h2,
.custom-hamper-cart-heading p {
    margin-bottom: 0;
}

.custom-hamper-component {
    background: var(--surface);
}

.custom-hamper-remove-button {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.checkout-summary-group-heading {
    margin: 24px 0 12px;
    color: var(--accent);
    font-size: 1rem;
}

.checkout-custom-hamper-group,
.order-success-hamper-group {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid var(--accent);
    border-radius: 16px;
    background: var(--surface-soft);
}

.checkout-custom-hamper-group .checkout-summary-group-heading {
    margin-top: 0;
}

.custom-hamper-footer {
    padding-top: 20px;
}

.custom-hamper-footer > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

@media (max-width: 700px) {
    .custom-hamper-cart-heading,
    .custom-hamper-footer {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 900px) {
    .hamper-builder-layout {
        grid-template-columns: 1fr;
    }

    .hamper-builder-summary {
        position: static;
    }
}

/* ---------- Trust / Ethics badges ---------- */

body.home-page .trust-section {
    padding: 72px 0;
}

body.home-page .trust-heading {
    max-width: 620px;
    margin: 0 auto 36px;
    text-align: center;
}

body.home-page .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

body.home-page .trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 20px;
    border-radius: 20px;
    background: var(--surface);
    text-align: center;
}

body.home-page .trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface-high);
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
}

body.home-page .trust-badge h4 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
}

/* ---------- Footer ---------- */

body.home-page .footer-wrap {
    align-items: flex-start;
}

body.home-page .footer-tagline {
    max-width: 360px;
    margin: 8px 0 0;
    color: var(--muted);
}

body.home-page .footer-nav {
    display: flex;
    gap: 24px;
}

body.home-page .footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
}

body.home-page .footer-nav a:hover {
    color: var(--accent);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    body.home-page .about-grid {
        grid-template-columns: 1fr;
    }

    body.home-page .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    body.home-page .hero-full {
        min-height: 72vh;
        padding: 104px 0 48px;
    }

    body.home-page .gifting-panel {
        padding: 28px;
    }

    body.home-page .about-section,
    body.home-page .gifting-section,
    body.home-page .trust-section,
    body.home-page .section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    body.home-page .about-grid {
        gap: 40px;
    }

    body.home-page .about-image {
        height: 360px;
    }

    body.home-page .gifting-visual {
        height: 240px;
    }
}

@media (max-width: 600px) {
    body.home-page .hero-full {
        min-height: 68vh;
        padding: 96px 0 40px;
    }

    body.home-page .about-section,
    body.home-page .gifting-section,
    body.home-page .trust-section,
    body.home-page .section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    body.home-page .about-image {
        height: 300px;
    }

    body.home-page .trust-grid {
        grid-template-columns: 1fr;
    }

    body.home-page .gifting-cta {
        justify-content: stretch;
    }

    body.home-page .gifting-cta .button {
        width: 100%;
    }
}

/* ---------- Home page header override ----------
   Real header markup uses .contact-header (from header.php),
   not the unused .site-header rules above. Re-themed here,
   scoped to body.home-page only, so contact/shop/cart pages
   keep the header exactly as it is today. */

body.home-page .contact-header {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 50;
    width: min(1120px, calc(100% - 40px));
    height: 68px;
    transform: translateX(-50%);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 21, 15, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

body.home-page .contact-logo {
    color: var(--text);
}

body.home-page .contact-nav a {
    color: var(--muted);
}

body.home-page .contact-nav a:hover,
body.home-page .contact-nav a.active {
    color: var(--accent);
}

body.home-page .contact-nav a.active::after {
    display: none;
}

body.home-page .cart-header-link {
    color: var(--text);
}

body.home-page .enquire-button {
    background: var(--accent);
    color: var(--background);
}

body.home-page .enquire-button:hover {
    background: var(--accent-dark);
    color: var(--text);
}

@media (max-width: 1000px) {
    body.home-page .contact-header {
        background: rgba(14, 21, 15, 0.72);
    }
}

/* =========================================================
   Header: icon-menu scaffolding (global, all pages)
   New elements added to header.php for the home-page icon
   header. Hidden by default everywhere so every other page's
   header renders exactly as it did before; body.home-page
   below reveals them and hides the old text versions instead.
   Also: cart link + account button are now wrapped in a single
   .header-actions container (previously two loose grid
   children squeezed into one grid column) so header-actions
   is one clean grid item and stays aligned across breakpoints.
   ========================================================= */

.nav-toggle-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    justify-self: start;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}

.nav-toggle-icon span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 16px;
}

.header-icon-link {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.header-icon-link svg {
    width: 22px;
    height: 22px;
}

.header-icon-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--accent, #c2cf8f);
    color: #18271d;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

/* =========================================================
   Home page: switch header to the icon/menu style
   ========================================================= */

body.home-page .contact-header {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 28px;
}

body.home-page .contact-logo {
    justify-self: center;
    text-align: center;
}

body.home-page .contact-logo span {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    font-size: 22px;
    letter-spacing: 0.14em;
}

body.home-page .contact-logo small {
    display: none;
}

body.home-page .nav-toggle-label {
    display: inline-flex;
    color: var(--text);
}

body.home-page .nav-toggle-label:hover {
    color: var(--accent);
}

body.home-page .cart-header-link,
body.home-page .enquire-button {
    display: none;
}

body.home-page .header-icon-link {
    display: inline-flex;
    color: var(--text);
}

body.home-page .header-icon-link:hover {
    color: var(--accent);
}

/* Nav becomes a dropdown panel opened by the Menu toggle */

body.home-page .contact-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    border-radius: 24px;
    border: 1px solid transparent;
    background: rgba(14, 21, 15, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: none;
    transition: max-height 0.25s ease, padding 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.home-page .nav-toggle-checkbox:checked ~ .contact-nav {
    max-height: 320px;
    padding: 16px 28px 20px;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 16px 40px rgba(0, 0, 0, 0.16);
}

body.home-page .contact-nav a {
    padding: 12px 0;
}

@media (max-width: 760px) {

    body.home-page .contact-header {
        top: 14px;
        height: 62px;
        width: calc(100% - 28px);
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 0 18px;
    }

    body.home-page .contact-nav {
        top: calc(100% + 10px);
        padding: 0 18px;
        border-radius: 20px;
    }

    body.home-page .nav-toggle-checkbox:checked ~ .contact-nav {
        padding: 14px 18px 18px;
    }

}

@media (max-width: 420px) {

    body.home-page .nav-toggle-text {
        display: none;
    }

}

/* =========================================================
   SHOP PAGE (mirrors home-page) — Botanical Atelier theme
   Scoped entirely to body.shop-page so every other page
   (admin, contact, cart, shop) keeps its current look
   untouched. Re-themes existing shared components (.hero,
   .product-card, .contact-card, .site-footer, etc.) purely
   by overriding the CSS custom properties they already use,
   then adds new classes only for sections that didn't exist
   before (hero, about, gifting, trust badges).
   ========================================================= */

body.shop-page {
    --background: #0e150f;
    --surface: #161d16;
    --surface-soft: #1a211a;
    --surface-high: #252c24;
    --text: #dde5d9;
    --muted: #a6b0a2;
    --accent: #c2cf8f;
    --accent-dark: #8f9c67;
    --border: rgba(255, 255, 255, 0.09);

    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.shop-page h1,
body.shop-page h2 {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
}

body.shop-page .accent-italic {
    display: inline-block;
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}

body.shop-page .pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--surface-high);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.shop-page .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

body.shop-page .button-primary {
    color: var(--background);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, background 0.2s ease;
}

body.shop-page .button-primary:hover {
    opacity: 1;
    background: var(--accent);
    color: var(--background);
    transform: translateY(-2px);
}

/* ---------- Hero (full-bleed) ---------- */

body.shop-page .hero-full {
    position: relative;
    overflow: hidden;
    padding: 220px 0 140px;
}

body.shop-page .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7) contrast(1.05);
}

body.shop-page .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(14, 21, 15, 0.55) 0%, rgba(14, 21, 15, 0.75) 55%, var(--background) 100%);
}

body.shop-page .hero-full-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

body.shop-page .hero-full-content h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 6vw, 4.6rem);
    line-height: 1.08;
}

body.shop-page .hero-full-text {
    max-width: 560px;
    margin: 0 auto 32px;
    color: var(--muted);
    font-size: 1.1rem;
}

body.shop-page .scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 56px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.6;
}

body.shop-page .scroll-hint-line {
    width: 1px;
    height: 36px;
    margin-top: 8px;
    background: linear-gradient(180deg, var(--accent), transparent);
}

/* ---------- About / Our Story ---------- */

body.shop-page .about-section {
    padding: 96px 0;
}

body.shop-page .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

body.shop-page .about-image-wrap {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

body.shop-page .about-image {
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-soft);
}

body.shop-page .about-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(14, 21, 15, 0.55);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.shop-page .about-caption strong {
    color: var(--text);
    font-size: 0.95rem;
}

body.shop-page .about-caption span {
    color: var(--accent);
    font-size: 0.8rem;
}

body.shop-page .about-content p {
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.75;
}

/* ---------- Products ---------- */

body.shop-page .product-card {
    transition: transform 0.25s ease, background 0.25s ease;
}

body.shop-page .product-card:hover {
    transform: translateY(-4px);
    background: var(--surface-high);
}

body.shop-page .product-view-more {
    margin-top: 40px;
    text-align: center;
}

/* ---------- Gifting ---------- */

body.shop-page .gifting-section {
    padding: 96px 0;
    background: var(--surface-soft);
}

body.shop-page .gifting-panel {
    padding: 56px;
    border-radius: 28px;
    background: var(--surface);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

body.shop-page .section-lede {
    max-width: 620px;
    margin-bottom: 32px;
    color: var(--muted);
}

body.shop-page .section-lede.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body.shop-page .gifting-visual {
    width: 100%;
    height: 320px;
    margin-bottom: 32px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-high);
}

body.shop-page .gifting-cta {
    display: flex;
    justify-content: flex-end;
}

/* ---------- Trust / Ethics badges ---------- */

body.shop-page .trust-section {
    padding: 96px 0;
}

body.shop-page .trust-heading {
    max-width: 620px;
    margin: 0 auto 48px;
    text-align: center;
}

body.shop-page .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

body.shop-page .trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 20px;
    border-radius: 20px;
    background: var(--surface);
    text-align: center;
}

body.shop-page .trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface-high);
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
}

body.shop-page .trust-badge h4 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
}

/* ---------- Footer ---------- */

body.shop-page .footer-wrap {
    align-items: flex-start;
}

body.shop-page .footer-tagline {
    max-width: 360px;
    margin: 8px 0 0;
    color: var(--muted);
}

body.shop-page .footer-nav {
    display: flex;
    gap: 24px;
}

body.shop-page .footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
}

body.shop-page .footer-nav a:hover {
    color: var(--accent);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    body.shop-page .about-grid {
        grid-template-columns: 1fr;
    }

    body.shop-page .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    body.shop-page .hero-full {
        padding: 160px 0 96px;
    }

    body.shop-page .gifting-panel {
        padding: 32px;
    }
}

@media (max-width: 600px) {
    body.shop-page .trust-grid {
        grid-template-columns: 1fr;
    }

    body.shop-page .gifting-cta {
        justify-content: stretch;
    }

    body.shop-page .gifting-cta .button {
        width: 100%;
    }
}

/* ---------- Home page header override ----------
   Real header markup uses .contact-header (from header.php),
   not the unused .site-header rules above. Re-themed here,
   scoped to body.shop-page only, so contact/shop/cart pages
   keep the header exactly as it is today. */

body.shop-page .contact-header {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 50;
    width: min(1120px, calc(100% - 40px));
    height: 68px;
    transform: translateX(-50%);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 21, 15, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

body.shop-page .contact-logo {
    color: var(--text);
}

body.shop-page .contact-nav a {
    color: var(--muted);
}

body.shop-page .contact-nav a:hover,
body.shop-page .contact-nav a.active {
    color: var(--accent);
}

body.shop-page .contact-nav a.active::after {
    display: none;
}

body.shop-page .cart-header-link {
    color: var(--text);
}

body.shop-page .enquire-button {
    background: var(--accent);
    color: var(--background);
}

body.shop-page .enquire-button:hover {
    background: var(--accent-dark);
    color: var(--text);
}

@media (max-width: 1000px) {
    body.shop-page .contact-header {
        background: rgba(14, 21, 15, 0.72);
    }
}

/* =========================================================
   Header: icon-menu scaffolding (global, all pages)
   New elements added to header.php for the shop-page icon
   header. Hidden by default everywhere so every other page's
   header renders exactly as it did before; body.shop-page
   below reveals them and hides the old text versions instead.
   Also: cart link + account button are now wrapped in a single
   .header-actions container (previously two loose grid
   children squeezed into one grid column) so header-actions
   is one clean grid item and stays aligned across breakpoints.
   ========================================================= */

.nav-toggle-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    justify-self: start;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}

.nav-toggle-icon span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 16px;
}

.header-icon-link {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.header-icon-link svg {
    width: 22px;
    height: 22px;
}

.header-icon-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--accent, #c2cf8f);
    color: #18271d;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

/* =========================================================
   Home page: switch header to the icon/menu style
   ========================================================= */

body.shop-page .contact-header {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 28px;
}

body.shop-page .contact-logo {
    justify-self: center;
    text-align: center;
}

body.shop-page .contact-logo span {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    font-size: 22px;
    letter-spacing: 0.14em;
}

body.shop-page .contact-logo small {
    display: none;
}

body.shop-page .nav-toggle-label {
    display: inline-flex;
    color: var(--text);
}

body.shop-page .nav-toggle-label:hover {
    color: var(--accent);
}

body.shop-page .cart-header-link,
body.shop-page .enquire-button {
    display: none;
}

body.shop-page .header-icon-link {
    display: inline-flex;
    color: var(--text);
}

body.shop-page .header-icon-link:hover {
    color: var(--accent);
}

/* Nav becomes a dropdown panel opened by the Menu toggle */

body.shop-page .contact-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    border-radius: 24px;
    border: 1px solid transparent;
    background: rgba(14, 21, 15, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: none;
    transition: max-height 0.25s ease, padding 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.shop-page .nav-toggle-checkbox:checked ~ .contact-nav {
    max-height: 320px;
    padding: 16px 28px 20px;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 16px 40px rgba(0, 0, 0, 0.16);
}

body.shop-page .contact-nav a {
    padding: 12px 0;
}

@media (max-width: 760px) {

    body.shop-page .contact-header {
        top: 14px;
        height: 62px;
        width: calc(100% - 28px);
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 0 18px;
    }

    body.shop-page .contact-nav {
        top: calc(100% + 10px);
        padding: 0 18px;
        border-radius: 20px;
    }

    body.shop-page .nav-toggle-checkbox:checked ~ .contact-nav {
        padding: 14px 18px 18px;
    }

}

@media (max-width: 420px) {

    body.shop-page .nav-toggle-text {
        display: none;
    }

}

/* =========================================================
   SHOP PAGE — Catalogue-specific components
   New classes for the shop hero, filter pills and enhanced
   product cards. Scoped to body.shop-page; the underlying
   .product-grid / .product-card / .product-image classes
   are shared with the rest of the site and already re-themed
   dark by the mirrored block above.
   ========================================================= */

body.shop-page .shop-hero {
    padding-top: 56px;
    padding-bottom: 24px;
    text-align: center;
}

body.shop-page .shop-hero .pill-badge {
    margin-left: auto;
    margin-right: auto;
}

body.shop-page .shop-hero h1 {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

body.shop-page .shop-hero-text {
    max-width: 620px;
    margin: 0 auto 32px;
    color: var(--muted);
}

body.shop-page .filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

body.shop-page .filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    text-decoration: none;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.shop-page .filter-pill:hover {
    border-color: var(--accent);
    color: var(--text);
}

body.shop-page .filter-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--background);
}

body.shop-page .catalogue-count {
    margin: 0 0 40px;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
}

body.shop-page .catalogue-count strong {
    color: var(--text);
    font-weight: 700;
}

/* Product card enhancements */

body.shop-page .product-card {
    position: relative;
    padding: 0;
    overflow: hidden;
}

body.shop-page .product-card .product-image {
    margin-bottom: 0;
    border-radius: 0;
    aspect-ratio: 1 / 1;
}

body.shop-page .product-card-body {
    padding: 20px;
}

body.shop-page .product-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.88rem;
}

body.shop-page .product-card-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

body.shop-page .product-card-price {
    display: block;
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    color: var(--text);
}

body.shop-page .product-card-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-high);
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

body.shop-page .product-card-view:hover {
    background: var(--accent);
    color: var(--background);
}

/* Sold-out state */

body.shop-page .product-card.sold-out .product-image {
    opacity: 0.55;
    filter: saturate(0.7);
}

body.shop-page .sold-out-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(14, 21, 15, 0.85);
    backdrop-filter: blur(8px);
    color: var(--accent);
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
    pointer-events: none;
}

body.shop-page .product-card.sold-out .product-card-price {
    color: var(--muted);
}

@media (max-width: 800px) {
    body.shop-page .shop-hero {
        padding-top: 40px;
    }
}

/* =========================================================
   SHOP PAGE — Product detail
   Scoped to body.shop-page (shared with the catalogue page).
   Reuses .product-detail / .product-detail-image / etc,
   which are already re-themed dark via the CSS-variable
   overrides above.
   ========================================================= */

body.shop-page .breadcrumb-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 0.82rem;
}

body.shop-page .breadcrumb-back {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

body.shop-page .breadcrumb-back:hover {
    color: var(--text);
}

body.shop-page .breadcrumb-sep {
    opacity: 0.4;
}

body.shop-page .breadcrumb-current {
    color: var(--text);
    font-weight: 600;
}

body.shop-page .product-detail-image {
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

body.shop-page .product-detail-eyebrow {
    color: var(--accent);
}

body.shop-page .stock-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--surface-soft);
    font-size: 0.88rem;
}

body.shop-page .stock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

body.shop-page .stock-dot.in-stock {
    background: var(--accent);
}

body.shop-page .stock-dot.out-stock {
    background: #b06a5a;
}

body.shop-page .qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

body.shop-page .qty-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

body.shop-page .bulk-quantity-options {
    margin: -4px 0 22px;
}

body.shop-page .bulk-quantity-options > span {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 0.78rem;
}

body.shop-page .bulk-quantity-options > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.shop-page .bulk-quantity-button {
    min-width: 52px;
    margin: 0;
    padding: 8px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text);
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

body.shop-page .bulk-quantity-button:hover,
body.shop-page .bulk-quantity-button:focus {
    border-color: var(--accent);
    color: var(--accent);
    outline: none;
}

body.shop-page .qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--surface-high);
}

body.shop-page .qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

body.shop-page .qty-btn:hover {
    background: var(--surface-container-highest, rgba(255, 255, 255, 0.08));
    color: var(--text);
}

body.shop-page .qty-input {
    width: 44px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--text) !important;
    text-align: center;
    font-weight: 700;
    -moz-appearance: textfield;
}

body.shop-page .qty-input::-webkit-outer-spin-button,
body.shop-page .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body.shop-page .product-detail-cta {
    margin-top: 4px;
}

body.shop-page .product-detail-cta .button {
    width: 100%;
}

body.shop-page .product-detail-cta .button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =========================================================
   SHOP PAGE — header clearance fix
   The header is position:fixed (floating pill), so it's out
   of document flow and the page content was sliding under it.
   Push <main> down by the header's own height + offset.
   ========================================================= */

body.shop-page main {
    padding-top: 108px;
}

@media (max-width: 760px) {
    body.shop-page main {
        padding-top: 92px;
    }
}

/* =========================================================
   SHOP PAGE — Cart
   The base .cart-* classes use hardcoded light colors, not
   CSS variables, so (unlike most of the site) they need
   explicit dark overrides here rather than re-theming for
   free. Scoped to body.shop-page; .qty-stepper/.qty-btn/
   .qty-input are reused as-is from the product detail page.
   ========================================================= */

body.shop-page .cart-hero {
    background: var(--surface-soft);
}

body.shop-page .cart-items-panel {
    border-top: 1px solid var(--border);
}

body.shop-page .cart-item {
    border-bottom: 1px solid var(--border);
}

body.shop-page .cart-item-image {
    background: var(--surface-soft);
}

body.shop-page .cart-unit-price {
    color: var(--muted);
}

body.shop-page .cart-item-controls {
    margin-top: 16px;
}

body.shop-page .cart-item-controls .qty-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

body.shop-page .cart-remove-link,
body.shop-page .cart-clear-link,
body.shop-page .cart-text-link {
    color: var(--accent);
}

body.shop-page .cart-remove-link:hover,
body.shop-page .cart-clear-link:hover,
body.shop-page .cart-text-link:hover {
    color: var(--text);
}

body.shop-page .cart-summary-card {
    background: var(--surface-soft);
}

body.shop-page .cart-summary-line,
body.shop-page .cart-summary-total {
    border-bottom: 1px solid var(--border);
}

body.shop-page .cart-clear-link {
    margin-top: 12px;
}

body.shop-page .cart-empty {
    background: var(--surface-soft);
}

/* =========================================================
   AUTH PAGE (mirrors home-page) — Botanical Atelier theme
   Scoped entirely to body.auth-page so every other page
   (admin, contact, cart, shop) keeps its current look
   untouched. Re-themes existing shared components (.hero,
   .product-card, .contact-card, .site-footer, etc.) purely
   by overriding the CSS custom properties they already use,
   then adds new classes only for sections that didn't exist
   before (hero, about, gifting, trust badges).
   ========================================================= */

body.auth-page {
    --background: #0e150f;
    --surface: #161d16;
    --surface-soft: #1a211a;
    --surface-high: #252c24;
    --text: #dde5d9;
    --muted: #a6b0a2;
    --accent: #c2cf8f;
    --accent-dark: #8f9c67;
    --border: rgba(255, 255, 255, 0.09);

    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.auth-page h1,
body.auth-page h2 {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
}

body.auth-page .accent-italic {
    display: inline-block;
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}

body.auth-page .pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--surface-high);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.auth-page .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

body.auth-page .button-primary {
    color: var(--background);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, background 0.2s ease;
}

body.auth-page .button-primary:hover {
    opacity: 1;
    background: var(--accent);
    color: var(--background);
    transform: translateY(-2px);
}

/* ---------- Hero (full-bleed) ---------- */

body.auth-page .hero-full {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 94vh;
    padding: 140px 0 80px;
}

body.auth-page .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7) contrast(1.05);
}

body.auth-page .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(14, 21, 15, 0.55) 0%, rgba(14, 21, 15, 0.75) 55%, var(--background) 100%);
}

body.auth-page .hero-full-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

body.auth-page .hero-full-content h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 6vw, 4.6rem);
    line-height: 1.08;
}

body.auth-page .hero-full-text {
    max-width: 560px;
    margin: 0 auto 32px;
    color: var(--muted);
    font-size: 1.1rem;
}

body.auth-page .scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 56px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.6;
}

body.auth-page .scroll-hint-line {
    width: 1px;
    height: 36px;
    margin-top: 8px;
    background: linear-gradient(180deg, var(--accent), transparent);
}

/* ---------- About / Our Story ---------- */

body.auth-page .about-section {
    padding: 96px 0;
}

body.auth-page .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

body.auth-page .about-image-wrap {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

body.auth-page .about-image {
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-soft);
}

body.auth-page .about-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(14, 21, 15, 0.55);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.auth-page .about-caption strong {
    color: var(--text);
    font-size: 0.95rem;
}

body.auth-page .about-caption span {
    color: var(--accent);
    font-size: 0.8rem;
}

body.auth-page .about-content p {
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.75;
}

/* ---------- Products ---------- */

body.auth-page .product-card {
    transition: transform 0.25s ease, background 0.25s ease;
}

body.auth-page .product-card:hover {
    transform: translateY(-4px);
    background: var(--surface-high);
}

body.auth-page .product-view-more {
    margin-top: 40px;
    text-align: center;
}

/* ---------- Gifting ---------- */

body.auth-page .gifting-section {
    padding: 96px 0;
    background: var(--surface-soft);
}

body.auth-page .gifting-panel {
    padding: 56px;
    border-radius: 28px;
    background: var(--surface);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

body.auth-page .section-lede {
    max-width: 620px;
    margin-bottom: 32px;
    color: var(--muted);
}

body.auth-page .section-lede.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body.auth-page .gifting-visual {
    width: 100%;
    height: 320px;
    margin-bottom: 32px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-high);
}

body.auth-page .gifting-cta {
    display: flex;
    justify-content: flex-end;
}

/* ---------- Trust / Ethics badges ---------- */

body.auth-page .trust-section {
    padding: 96px 0;
}

body.auth-page .trust-heading {
    max-width: 620px;
    margin: 0 auto 48px;
    text-align: center;
}

body.auth-page .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

body.auth-page .trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 20px;
    border-radius: 20px;
    background: var(--surface);
    text-align: center;
}

body.auth-page .trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface-high);
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
}

body.auth-page .trust-badge h4 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
}

/* ---------- Footer ---------- */

body.auth-page .footer-wrap {
    align-items: flex-start;
}

body.auth-page .footer-tagline {
    max-width: 360px;
    margin: 8px 0 0;
    color: var(--muted);
}

body.auth-page .footer-nav {
    display: flex;
    gap: 24px;
}

body.auth-page .footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
}

body.auth-page .footer-nav a:hover {
    color: var(--accent);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    body.auth-page .about-grid {
        grid-template-columns: 1fr;
    }

    body.auth-page .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    body.auth-page .hero-full {
        min-height: 88vh;
        padding: 120px 0 64px;
    }

    body.auth-page .gifting-panel {
        padding: 32px;
    }
}

@media (max-width: 600px) {
    body.auth-page .trust-grid {
        grid-template-columns: 1fr;
    }

    body.auth-page .gifting-cta {
        justify-content: stretch;
    }

    body.auth-page .gifting-cta .button {
        width: 100%;
    }
}

/* ---------- Home page header override ----------
   Real header markup uses .contact-header (from header.php),
   not the unused .site-header rules above. Re-themed here,
   scoped to body.auth-page only, so contact/shop/cart pages
   keep the header exactly as it is today. */

body.auth-page .contact-header {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 50;
    width: min(1120px, calc(100% - 40px));
    height: 68px;
    transform: translateX(-50%);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 21, 15, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

body.auth-page .contact-logo {
    color: var(--text);
}

body.auth-page .contact-nav a {
    color: var(--muted);
}

body.auth-page .contact-nav a:hover,
body.auth-page .contact-nav a.active {
    color: var(--accent);
}

body.auth-page .contact-nav a.active::after {
    display: none;
}

body.auth-page .cart-header-link {
    color: var(--text);
}

body.auth-page .enquire-button {
    background: var(--accent);
    color: var(--background);
}

body.auth-page .enquire-button:hover {
    background: var(--accent-dark);
    color: var(--text);
}

@media (max-width: 1000px) {
    body.auth-page .contact-header {
        background: rgba(14, 21, 15, 0.72);
    }
}

/* =========================================================
   Header: icon-menu scaffolding (global, all pages)
   New elements added to header.php for the auth-page icon
   header. Hidden by default everywhere so every other page's
   header renders exactly as it did before; body.auth-page
   below reveals them and hides the old text versions instead.
   Also: cart link + account button are now wrapped in a single
   .header-actions container (previously two loose grid
   children squeezed into one grid column) so header-actions
   is one clean grid item and stays aligned across breakpoints.
   ========================================================= */

.nav-toggle-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    justify-self: start;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}

.nav-toggle-icon span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 16px;
}

.header-icon-link {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.header-icon-link svg {
    width: 22px;
    height: 22px;
}

.header-icon-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--accent, #c2cf8f);
    color: #18271d;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

/* =========================================================
   Home page: switch header to the icon/menu style
   ========================================================= */

body.auth-page .contact-header {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 28px;
}

body.auth-page .contact-logo {
    justify-self: center;
    text-align: center;
}

body.auth-page .contact-logo span {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    font-size: 22px;
    letter-spacing: 0.14em;
}

body.auth-page .contact-logo small {
    display: none;
}

body.auth-page .nav-toggle-label {
    display: inline-flex;
    color: var(--text);
}

body.auth-page .nav-toggle-label:hover {
    color: var(--accent);
}

body.auth-page .cart-header-link,
body.auth-page .enquire-button {
    display: none;
}

body.auth-page .header-icon-link {
    display: inline-flex;
    color: var(--text);
}

body.auth-page .header-icon-link:hover {
    color: var(--accent);
}

/* Nav becomes a dropdown panel opened by the Menu toggle */

body.auth-page .contact-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    border-radius: 24px;
    border: 1px solid transparent;
    background: rgba(14, 21, 15, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: none;
    transition: max-height 0.25s ease, padding 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.auth-page .nav-toggle-checkbox:checked ~ .contact-nav {
    max-height: 320px;
    padding: 16px 28px 20px;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 16px 40px rgba(0, 0, 0, 0.16);
}

body.auth-page .contact-nav a {
    padding: 12px 0;
}

@media (max-width: 760px) {

    body.auth-page .contact-header {
        top: 14px;
        height: 62px;
        width: calc(100% - 28px);
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 0 18px;
    }

    body.auth-page .contact-nav {
        top: calc(100% + 10px);
        padding: 0 18px;
        border-radius: 20px;
    }

    body.auth-page .nav-toggle-checkbox:checked ~ .contact-nav {
        padding: 14px 18px 18px;
    }

}

@media (max-width: 420px) {

    body.auth-page .nav-toggle-text {
        display: none;
    }

}


/* =========================================================
   AUTH PAGE — Login / Register
   The .admin-login-* classes are shared with the admin login
   page and use hardcoded light colors (not CSS variables), so
   — same as the cart page — they need explicit dark overrides
   here rather than re-theming for free. Scoped to body.auth-page
   only; the admin login page is untouched.
   ========================================================= */

body.auth-page .admin-login-page {
    padding-top: 148px;
}

body.auth-page .admin-login-panel {
    background: var(--surface);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

body.auth-page .admin-login-brand {
    background: var(--surface-container, var(--surface-high));
}

body.auth-page .admin-login-brand h1 {
    color: var(--text);
}

body.auth-page .admin-login-brand p {
    color: var(--muted);
}

body.auth-page .admin-login-brand .panel-label {
    color: var(--accent);
}

body.auth-page .admin-login-form-wrap h2 {
    color: var(--text);
}

body.auth-page .admin-login-intro {
    color: var(--muted);
}

body.auth-page .admin-login-field label {
    color: var(--text);
}

body.auth-page .admin-login-field .input,
body.auth-page .admin-login-field input {
    background: var(--surface-high);
    border-color: var(--border);
    color: var(--text);
}

body.auth-page .admin-login-field input::placeholder {
    color: var(--muted);
}

body.auth-page .admin-login-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(194, 207, 143, 0.15);
}

body.auth-page .admin-login-button {
    background: var(--accent);
    color: var(--background);
}

body.auth-page .admin-login-button:hover {
    background: var(--accent-dark);
}

body.auth-page .admin-login-form-wrap p,
body.auth-page .admin-login-form-wrap p a {
    color: var(--muted);
}

body.auth-page .admin-login-form-wrap p a {
    color: var(--accent);
    font-weight: 600;
}

body.auth-page .admin-login-form-wrap p a:hover {
    color: var(--text);
}

/* Login / Create Account pill nav — two real links (each page is a
   separate route), styled to read as tabs, with the current page
   highlighted. Not a JS tab-switcher, since these aren't view states
   of one page. */

body.auth-page .auth-mode-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 32px;
    padding: 4px;
    border-radius: 999px;
    background: var(--surface-high);
}

body.auth-page .auth-mode-toggle a {
    flex: 1;
    padding: 10px 0;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

body.auth-page .auth-mode-toggle a.active {
    background: var(--accent);
    color: var(--background);
}

body.auth-page .auth-mode-toggle a:not(.active):hover {
    color: var(--text);
}

/* Icon-adorned inputs + password-reveal toggle */

body.auth-page .field-icon-wrap {
    position: relative;
}

body.auth-page .field-icon-wrap .field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    font-size: 1rem;
}

body.auth-page .field-icon-wrap input {
    padding-left: 44px !important;
}

body.auth-page .field-icon-wrap.has-toggle input {
    padding-right: 44px !important;
}

body.auth-page .password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

body.auth-page .password-toggle:hover {
    color: var(--accent);
}

@media (max-width: 760px) {
    body.auth-page .admin-login-page {
        padding-top: 116px;
    }
}

/* =========================================================
   SHOP PAGE — Checkout
   None of these classes had any CSS before (only the address
   list/no-address rules existed) — built fresh here, scoped
   to body.shop-page like the rest of the shop flow.
   ========================================================= */

body.shop-page .checkout-hero {
    background: var(--surface-soft);
}

body.shop-page .checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
    gap: 48px;
    align-items: start;
}

body.shop-page .checkout-form-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

body.shop-page .checkout-section-card {
    padding: 32px;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

body.shop-page .checkout-section-card .eyebrow {
    margin-bottom: 4px;
}

body.shop-page .checkout-section-card h2 {
    margin-bottom: 20px;
}

body.shop-page .checkout-section-card h3 {
    margin: 20px 0 12px;
    color: var(--text);
    font-size: 1rem;
}

body.shop-page .checkout-step-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

body.shop-page .checkout-step-heading h2 {
    margin: 0;
}

body.shop-page .checkout-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface-high);
    color: var(--accent);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.9rem;
}

body.shop-page .checkout-section-card label {
    display: block;
    margin: 16px 0 8px;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
}

body.shop-page .checkout-section-card label:first-of-type {
    margin-top: 0;
}

body.shop-page .checkout-section-card input[type="text"],
body.shop-page .checkout-section-card input[type="email"],
body.shop-page .checkout-section-card input[type="number"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-high);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.shop-page .checkout-section-card input::placeholder {
    color: var(--muted);
}

body.shop-page .checkout-section-card input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(194, 207, 143, 0.15);
}

body.shop-page .checkout-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

body.shop-page .checkout-section-card > p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

body.shop-page .checkout-place-order {
    width: 100%;
    margin-top: 8px;
}

body.shop-page .checkout-place-order[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Saved address list (dark override of the pre-existing rules) */

body.shop-page .checkout-address-option {
    border-color: var(--border);
    background: var(--surface-high);
    color: var(--text);
    border-radius: 14px;
}

body.shop-page .checkout-address-option:hover {
    border-color: var(--accent);
}

body.shop-page .checkout-address-content p {
    color: var(--muted);
}

body.shop-page .checkout-no-address {
    border-color: var(--border);
    border-radius: 14px;
    color: var(--muted);
}

/* Age confirmation card */

body.shop-page .checkout-age-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 16px;
    padding: 18px;
    border-radius: 14px;
    background: var(--surface-high);
    cursor: pointer;
}

body.shop-page .checkout-age-option input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

body.shop-page .checkout-age-option span {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
}

body.shop-page .checkout-age-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0 !important;
    color: var(--muted) !important;
    font-size: 0.8rem !important;
}

body.shop-page .checkout-age-status.confirmed {
    color: var(--accent) !important;
}

/* Order summary */

body.shop-page .checkout-summary-card {
    position: sticky;
    top: 128px;
    padding: 32px;
    border-radius: 20px;
    background: var(--surface-soft);
}

body.shop-page .checkout-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

body.shop-page .checkout-summary-image {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-high);
}

body.shop-page .checkout-summary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.shop-page .checkout-summary-image .qty-badge {
    position: absolute;
    right: 4px;
    bottom: 4px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(14, 21, 15, 0.85);
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 700;
}

body.shop-page .checkout-summary-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.shop-page .checkout-summary-info span {
    color: var(--muted);
    font-size: 0.82rem;
}

body.shop-page .checkout-summary-line,
body.shop-page .checkout-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

body.shop-page .checkout-summary-total {
    margin-top: 4px;
    border-bottom: 0;
    font-size: 1.1rem;
    color: var(--text);
}

body.shop-page .checkout-summary-card .cart-text-link {
    display: block;
    margin-top: 20px;
    text-align: center;
}

@media (max-width: 960px) {
    body.shop-page .checkout-layout {
        grid-template-columns: 1fr;
    }

    body.shop-page .checkout-summary-card {
        position: static;
    }

    body.shop-page .checkout-card-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   SHOP PAGE — Order Confirmation
   No CSS existed for any .order-success-* class before this.
   Scoped to body.shop-page, same as the rest of the shop flow.
   ========================================================= */

body.shop-page .order-success-page {
    padding-bottom: 96px;
}

body.shop-page .order-success-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 56px;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
    text-align: center;
}

body.shop-page .order-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--surface-high);
    color: var(--accent);
}

body.shop-page .order-success-card > .eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

body.shop-page .order-success-card h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
}

body.shop-page .order-success-card > p {
    color: var(--muted);
    margin-bottom: 24px;
}

body.shop-page .order-success-number {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 auto 32px;
    padding: 16px 32px;
    border-radius: 16px;
    background: var(--surface-high);
}

body.shop-page .order-success-number span {
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.shop-page .order-success-number strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    color: var(--accent);
}

body.shop-page .order-success-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px;
    border-radius: 16px;
    background: var(--surface-soft);
    text-align: left;
}

body.shop-page .order-success-details > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.shop-page .order-success-details span {
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.shop-page .order-success-details strong {
    color: var(--text);
    font-size: 0.95rem;
}

body.shop-page .order-success-address,
body.shop-page .order-success-items {
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--surface-soft);
    text-align: left;
}

body.shop-page .order-success-address .eyebrow,
body.shop-page .order-success-items > .eyebrow {
    margin-bottom: 8px;
}

body.shop-page .order-success-address p {
    color: var(--muted);
    line-height: 1.7;
}

body.shop-page .order-success-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

body.shop-page .order-success-item:last-of-type {
    border-bottom: 0;
}

body.shop-page .order-success-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

body.shop-page .order-success-item span {
    color: var(--muted);
    font-size: 0.8rem;
}

body.shop-page .order-success-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 16px 24px;
    border-radius: 16px;
    background: var(--surface-high);
    font-size: 1.1rem;
}

body.shop-page .order-success-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    body.shop-page .order-success-card {
        padding: 36px 24px;
    }

    body.shop-page .order-success-details {
        grid-template-columns: 1fr;
    }

    body.shop-page .order-success-actions {
        flex-direction: column;
    }

    body.shop-page .order-success-actions .button {
        width: 100%;
    }
}

/* =========================================================
   SHOP PAGE — Account Dashboard
   .dashboard-* classes use hardcoded light colors (#fff etc),
   same pattern as cart/checkout — explicit dark overrides
   here, scoped to body.shop-page.
   ========================================================= */

body.shop-page .dashboard-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: transform 0.2s ease, background 0.2s ease;
}

body.shop-page .dashboard-card:hover {
    transform: translateY(-3px);
    background: var(--surface-high);
}

body.shop-page .dashboard-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--surface-high);
    color: var(--accent);
}

body.shop-page .dashboard-card p {
    color: var(--muted);
}

body.shop-page .dashboard-coming-soon {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface-high);
    color: var(--muted);
    font-size: 0.78rem;
}

body.shop-page .orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.shop-page .order-card {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

body.shop-page .order-card h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

body.shop-page .order-card > div > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

body.shop-page .order-card strong {
    color: var(--text);
}

body.shop-page .order-status-pill {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface-high);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
}

@media (max-width: 760px) {
    body.shop-page .order-card {
        grid-template-columns: 1fr 1fr;
        row-gap: 14px;
    }
}

/* Account details form */

body.shop-page .account-form-card {
    max-width: 640px;
    padding: 40px;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

body.shop-page .account-form-card label {
    display: block;
    margin: 20px 0 8px;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
}

body.shop-page .account-form-card label:first-of-type {
    margin-top: 0;
}

body.shop-page .account-form-card input,
body.shop-page .account-form-card textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    background: var(--surface-high);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.shop-page .account-form-card input[type="text"],
body.shop-page .account-form-card input[type="email"],
body.shop-page .account-form-card input[type="date"] {
    border-radius: 999px;
}

body.shop-page .marketing-consent-setting {
    margin: 24px 0;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-high);
}

body.shop-page .marketing-consent-setting .checkbox {
    margin: 0;
}

body.shop-page .marketing-consent-setting label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
}

body.shop-page .marketing-consent-setting input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--accent);
}

body.shop-page .marketing-consent-setting p {
    margin: 8px 0 0 28px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

body.shop-page .account-form-card textarea {
    border-radius: 16px;
    resize: vertical;
}

body.shop-page .account-form-card input::placeholder,
body.shop-page .account-form-card textarea::placeholder {
    color: var(--muted);
}

body.shop-page .account-form-card input:focus,
body.shop-page .account-form-card textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(194, 207, 143, 0.15);
}

/* Address cards (reuses .dashboard-grid / .dashboard-card) */

body.shop-page .default-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--surface-high);
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.shop-page .address-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* =========================================================
   SHOP PAGE — Dashboard tab bar (single-page, real panes)
   Replaces the earlier "pill nav between three routes"
   pattern with actual show/hide tabs on one page, per the
   mockup. account.php / addresses.php / orders.php remain
   as their own real, reachable pages (Checkout links to
   addresses.php directly), just without the pill nav now.
   ========================================================= */

body.shop-page .dashboard-tabs {
    display: flex;
    gap: 4px;
    margin: 28px 0 36px;
    padding: 4px;
    border-radius: 999px;
    background: var(--surface-high);
    max-width: fit-content;
}

body.shop-page .dashboard-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

body.shop-page .dashboard-tab.active {
    background: var(--accent);
    color: var(--background);
}

body.shop-page .dashboard-tab:not(.active):hover {
    color: var(--text);
}

body.shop-page .dashboard-tab-badge {
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.15);
    font-size: 0.72rem;
}

body.shop-page .dashboard-tab.active .dashboard-tab-badge {
    background: rgba(14, 21, 15, 0.25);
}

body.shop-page .dashboard-pane {
    display: none;
}

body.shop-page .dashboard-pane.active {
    display: block;
}

body.shop-page .dashboard-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

body.shop-page .dashboard-details-grid .account-form-card {
    margin-top: 0;
}

body.shop-page .dashboard-details-column h2 {
    margin-bottom: 16px;
    font-size: 1.4rem;
}

body.shop-page .dashboard-addresses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.shop-page .dashboard-addresses-list .dashboard-card {
    padding: 24px;
}

body.shop-page .dashboard-wishlist-empty {
    padding: 48px 24px;
    border-radius: 20px;
    background: var(--surface);
    text-align: center;
    color: var(--muted);
}

@media (max-width: 900px) {
    body.shop-page .dashboard-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    body.shop-page .dashboard-tabs {
        max-width: 100%;
        overflow-x: auto;
    }
}

/* =========================================================
   SHOP PAGE — Order Detail
   No CSS existed for .order-detail-* before this. Mirrors
   the .order-success-* / .checkout-summary-* card patterns
   already established. Scoped to body.shop-page.
   ========================================================= */

body.shop-page .order-detail-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

body.shop-page .order-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

body.shop-page .order-detail-header h2 {
    margin: 4px 0 0;
    font-size: 1.6rem;
}

body.shop-page .order-detail-header > div:last-child {
    text-align: right;
}

body.shop-page .order-detail-header > div p {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.shop-page .order-detail-header > div:last-child strong {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface-high);
    color: var(--accent);
    font-size: 0.85rem;
}

body.shop-page .order-detail-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 16px;
    background: var(--surface-soft);
}

body.shop-page .order-detail-info p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.shop-page .order-detail-info strong {
    color: var(--text);
}

body.shop-page .order-detail-address,
body.shop-page .order-detail-items {
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--surface-soft);
}

body.shop-page .order-detail-address .eyebrow,
body.shop-page .order-detail-items > .eyebrow {
    margin-bottom: 8px;
}

body.shop-page .order-detail-address p {
    color: var(--muted);
    line-height: 1.7;
}

body.shop-page .order-detail-item-group h3 {
    margin: 14px 0 4px;
    color: var(--text);
    font-size: 1rem;
}

body.shop-page .order-detail-item-group + .order-detail-item-group {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

body.shop-page .order-detail-hamper-group h3 {
    color: var(--accent);
}

body.shop-page .order-detail-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

body.shop-page .order-detail-item:last-of-type {
    border-bottom: 0;
}

body.shop-page .order-detail-item p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

body.shop-page .order-detail-summary {
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--surface-high);
}

body.shop-page .order-detail-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--muted);
}

body.shop-page .order-detail-total {
    margin-top: 6px;
    padding-top: 14px !important;
    border-top: 1px solid var(--border);
    font-size: 1.1rem;
}

body.shop-page .order-detail-total span,
body.shop-page .order-detail-total strong {
    color: var(--text) !important;
}

@media (max-width: 600px) {
    body.shop-page .order-detail-info {
        grid-template-columns: 1fr;
    }

    body.shop-page .order-detail-header {
        flex-direction: column;
    }

    body.shop-page .order-detail-header > div:last-child {
        text-align: left;
    }
}

/* Contact Page */

body.contact-page {
    --background: #0e150f;
    --surface: #161d16;
    --surface-soft: #1a211a;
    --surface-high: #252c24;
    --text: #dde5d9;
    --muted: #a6b0a2;
    --accent: #c2cf8f;
    --accent-dark: #8f9c67;
    --border: rgba(255, 255, 255, 0.09);

    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.contact-page h1,
body.contact-page h2 {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
}

body.contact-page.contact-body,
body.contact-page.success-body {
    background: var(--background);
    color: var(--text);
}

/* Header: same floating pill + icon menu as the rest of the site */

body.contact-page .contact-header {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 50;
    width: min(1120px, calc(100% - 40px));
    height: 68px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 21, 15, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

body.contact-page .contact-logo {
    justify-self: center;
    text-align: center;
    color: var(--text);
}

body.contact-page .contact-logo span {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    font-size: 22px;
    letter-spacing: 0.14em;
}

body.contact-page .contact-logo small {
    display: none;
}

body.contact-page .nav-toggle-label {
    display: inline-flex;
    color: var(--text);
}

body.contact-page .nav-toggle-label:hover {
    color: var(--accent);
}

body.contact-page .cart-header-link,
body.contact-page .enquire-button {
    display: none;
}

body.contact-page .header-icon-link {
    display: inline-flex;
    color: var(--text);
}

body.contact-page .header-icon-link:hover {
    color: var(--accent);
}

body.contact-page .contact-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    border-radius: 24px;
    border: 1px solid transparent;
    background: rgba(14, 21, 15, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: none;
    transition: max-height 0.25s ease, padding 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.contact-page .nav-toggle-checkbox:checked ~ .contact-nav {
    max-height: 320px;
    padding: 16px 28px 20px;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 16px 40px rgba(0, 0, 0, 0.16);
}

body.contact-page .contact-nav a {
    padding: 12px 0;
    color: var(--muted);
}

body.contact-page .contact-nav a:hover,
body.contact-page .contact-nav a.active {
    color: var(--accent);
}

body.contact-page .contact-nav a.active::after {
    display: none;
}

@media (max-width: 1000px) {
    body.contact-page .contact-header {
        background: rgba(14, 21, 15, 0.72);
    }
}

@media (max-width: 760px) {
    body.contact-page .contact-header {
        top: 14px;
        height: 62px;
        width: calc(100% - 28px);
        padding: 0 18px;
    }

    body.contact-page .contact-nav {
        top: calc(100% + 10px);
        padding: 0 18px;
        border-radius: 20px;
    }

    body.contact-page .nav-toggle-checkbox:checked ~ .contact-nav {
        padding: 14px 18px 18px;
    }
}

/* Enquiry form layout */

body.contact-page .enquiry-layout {
    min-height: 100vh;
    padding-top: 108px;
}

body.contact-page .enquiry-brand-panel {
    background: var(--surface-high);
    color: var(--text);
}

body.contact-page .enquiry-brand-panel h1 {
    color: var(--text);
}

body.contact-page .panel-label {
    color: var(--accent);
}

body.contact-page .leaf-decoration {
    background: var(--accent);
    opacity: 0.15;
}

body.contact-page .contact-email {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

body.contact-page .contact-email:hover {
    color: var(--text);
}

body.contact-page .enquiry-form-section {
    background: var(--background);
}

body.contact-page .form-heading h2 {
    color: var(--text);
}

body.contact-page .form-heading p {
    color: var(--muted);
}

body.contact-page .enquiry-field label {
    color: var(--text);
}

body.contact-page .enquiry-field input,
body.contact-page .enquiry-field select,
body.contact-page .enquiry-field textarea {
    background: var(--surface-high);
    border-color: var(--border);
    color: var(--text);
}

body.contact-page .enquiry-field input::placeholder,
body.contact-page .enquiry-field textarea::placeholder {
    color: var(--muted);
}

body.contact-page .enquiry-field input:focus,
body.contact-page .enquiry-field select:focus,
body.contact-page .enquiry-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(194, 207, 143, 0.15);
}

.wholesale-account-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 32px 0;
    padding: 26px 30px;
    border: 1px solid var(--border, #dfe4da);
    border-radius: 18px;
    background: var(--surface-high, #fff);
}

.wholesale-account-card h2,
.wholesale-account-card p {
    margin-bottom: 8px;
}

.wholesale-account-action {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.wholesale-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid #cdd3cb;
    border-radius: 999px;
    background: #edf0e9;
    color: #536057;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wholesale-status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    content: '';
    flex: 0 0 auto;
}

.wholesale-status-none {
    border-color: #cdd3cb;
    background: #edf0e9;
    color: #536057;
}

.wholesale-status-approved {
    border-color: #b9d7bc;
    background: #dcebdc;
    color: #235c35;
}

.wholesale-status-pending {
    border-color: #ddc985;
    background: #f3ead2;
    color: #775d1b;
}

.wholesale-status-rejected {
    border-color: #d9b6b6;
    background: #f2dddd;
    color: #7d3535;
}

.wholesale-application-container {
    max-width: 720px;
}

.wholesale-application-form {
    display: grid;
    gap: 18px;
    margin-top: 30px;
    padding: 28px;
    border: 1px solid var(--border, #dfe4da);
    border-radius: 18px;
    background: var(--surface-high, #fff);
}

.wholesale-application-form .input {
    display: grid;
    gap: 7px;
}

.wholesale-application-form :is(input, textarea) {
    width: 100%;
}

.wholesale-application-form .input.error :is(input, textarea) {
    border-color: #a33a32;
}

.wholesale-application-form .error-message {
    color: #8b2f28;
    font-size: 0.86rem;
}

.wholesale-signed-in-details {
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--surface-soft, #edf0e9);
}

#wholesale-account-fields {
    display: grid;
    gap: 18px;
}

#wholesale-account-fields[hidden] {
    display: none;
}

@media (max-width: 700px) {
    .wholesale-account-card,
    .wholesale-account-action {
        align-items: flex-start;
        flex-direction: column;
    }
}

body.contact-page .captcha-field {
    background: var(--surface-high);
    border-color: var(--border);
}

body.contact-page .captcha-field p {
    color: var(--muted);
}

body.contact-page .privacy-note {
    color: var(--muted);
}

body.contact-page .send-enquiry-button {
    background: var(--accent);
    color: var(--background);
}

body.contact-page .send-enquiry-button:hover {
    background: var(--accent-dark);
}

body.contact-page .message.success {
    background: rgba(194, 207, 143, 0.15);
    color: var(--accent);
}

body.contact-page .message.error {
    background: rgba(176, 106, 90, 0.18);
    color: #e5a08e;
}

@media (max-width: 760px) {
    body.contact-page .enquiry-layout {
        padding-top: 92px;
    }
}

/* Enquiry success page */

body.contact-page .success-page {
    min-height: 100vh;
    padding: 178px 30px 100px;
}

body.contact-page .success-card {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

body.contact-page .success-icon {
    background: var(--surface-high);
    color: var(--accent);
}

body.contact-page .success-eyebrow {
    color: var(--muted);
}

body.contact-page .success-card h1 {
    color: var(--text);
}

body.contact-page .success-description {
    color: var(--muted);
}

body.contact-page .success-reference {
    background: var(--surface-high);
    color: var(--accent);
}

body.contact-page .success-primary-button {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--background);
}

body.contact-page .success-primary-button:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

body.contact-page .success-secondary-button {
    border-color: var(--accent);
    color: var(--accent);
}

body.contact-page .success-secondary-button:hover {
    background: var(--surface-high);
}

body.contact-page .success-note {
    color: var(--muted);
}

@media (max-width: 600px) {
    body.contact-page .success-page {
        padding: 140px 18px 70px;
    }
}

/* Forgot/Reset Password */

body.auth-page .admin-login-field-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

body.auth-page .admin-login-field-heading label {
    margin-bottom: 0;
}

body.auth-page .forgot-password-link {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

body.auth-page .forgot-password-link:hover {
    color: var(--text);
    text-decoration: underline;
}

body.auth-page .reset-link-box {
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-high);
}

body.auth-page .reset-link-label {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

body.auth-page .reset-link-url {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--accent);
    font-size: 0.82rem;
    word-break: break-all;
    text-decoration: none;
}

body.auth-page .reset-link-url:hover {
    color: var(--text);
    text-decoration: underline;
}

@media (max-width: 500px) {
    body.auth-page .admin-login-field-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Checkout: Stripe handoff badge
   No card data is ever submitted to this server - this just signals that to the customer before they're redirected to
   Stripe.
*/

body.shop-page .checkout-stripe-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--surface-high);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Replaces the dark palette. Because every selector below matches the specificity of the rule it overrides and comes
later in the file, nothing above needs to be edited or deleted - remove this block to roll back. */

body:is(.home-page, .shop-page, .auth-page, .contact-page) {
    --background: #d3d8c7;      /* dusty eucalyptus */
    --surface: #e8ebdf;         /* linen sage (cards) */
    --surface-soft: #c5ccb7;    /* deeper sage (section bands) */
    --surface-high: #dfe3d4;    /* pale stone (inputs, pills) */
    --text: #1b2a1f;            /* deep forest */
    --muted: #46524a;           /* moss grey */
    --accent: #2f4a37;          /* pine */
    --accent-dark: #1f3426;     /* deep pine */
    --brass: #7a5f34;           /* aged brass */
    --border: rgba(27, 42, 31, 0.14);
    --shadow-soft: 0 18px 50px rgba(30, 46, 34, 0.12);
    --shadow-lift: 0 26px 70px rgba(30, 46, 34, 0.18);
    --focus-ring: 0 0 0 3px rgba(47, 74, 55, 0.2);
}

/* Typographic details */

body:is(.home-page, .shop-page, .auth-page, .contact-page) .accent-italic {
    color: var(--brass);
}

body:is(.home-page, .shop-page, .auth-page, .contact-page) .pill-badge {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--accent);
}

body:is(.home-page, .shop-page, .auth-page, .contact-page) .pill-dot {
    background: var(--brass);
}

/* Buttons */

body:is(.home-page, .shop-page, .auth-page, .contact-page) .button-primary {
    background: var(--accent);
    color: #f3f2e8;
}

body:is(.home-page, .shop-page, .auth-page, .contact-page) .button-primary:hover {
    background: var(--accent-dark);
    color: #f3f2e8;
}

body:is(.home-page, .shop-page, .auth-page, .contact-page) .button-secondary {
    border-color: var(--accent);
    color: var(--accent);
}

body:is(.home-page, .shop-page, .auth-page, .contact-page) .button-secondary:hover {
    background: var(--accent);
    color: #f3f2e8;
}

/* Hero: bright photo with a soft mist overlay */

body:is(.home-page, .shop-page, .auth-page) .hero-bg {
    filter: brightness(1.02) saturate(0.92);
}

body:is(.home-page, .shop-page, .auth-page) .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(211, 216, 199, 0.55) 0%,
        rgba(211, 216, 199, 0.78) 55%,
        var(--background) 100%
    );
}

body:is(.home-page, .shop-page, .auth-page) .hero-full-text {
    color: #34413a; /* a touch darker than --muted for legibility over photography */
}

body:is(.home-page, .shop-page, .auth-page) .scroll-hint-line {
    background: linear-gradient(180deg, var(--brass), transparent);
}

/* Soft shadows instead of heavy dark ones */

body:is(.home-page, .shop-page, .auth-page) .about-image-wrap,
body:is(.home-page, .shop-page, .auth-page) .gifting-panel,
body.shop-page .product-detail-image,
body.shop-page .order-success-card,
body.auth-page .admin-login-panel,
body.contact-page .success-card {
    box-shadow: var(--shadow-lift);
}

body.shop-page .checkout-section-card,
body.shop-page .order-card,
body.shop-page .account-form-card,
body.shop-page .order-detail-card {
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

body:is(.home-page, .shop-page, .auth-page) .about-caption {
    background: rgba(232, 235, 223, 0.85);
    border: 1px solid var(--border);
}

/* Cards */

body:is(.home-page, .shop-page, .auth-page) .product-card:hover {
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

body:is(.home-page, .shop-page, .auth-page) .trust-badge {
    border: 1px solid var(--border);
}

body:is(.home-page, .shop-page, .auth-page) .trust-icon {
    background: var(--surface-soft);
}

/* Floating header */

body:is(.home-page, .shop-page, .auth-page, .contact-page) .contact-header {
    border: 1px solid var(--border);
    background: rgba(232, 235, 223, 0.78);
    box-shadow: 0 14px 40px rgba(36, 54, 40, 0.08);
}

@media (max-width: 1000px) {
    body:is(.home-page, .shop-page, .auth-page, .contact-page) .contact-header {
        background: rgba(232, 235, 223, 0.92);
    }
}

body:is(.home-page, .shop-page, .auth-page, .contact-page) .contact-nav {
    background: rgba(232, 235, 223, 0.97);
}

body:is(.home-page, .shop-page, .auth-page, .contact-page) .nav-toggle-checkbox:checked ~ .contact-nav {
    border-color: var(--border);
    box-shadow: 0 4px 16px rgba(36, 54, 40, 0.06), 0 16px 40px rgba(36, 54, 40, 0.08);
}

body:is(.home-page, .shop-page, .auth-page, .contact-page) .header-icon-badge {
    background: var(--accent);
    color: #f3f2e8;
}

body:is(.home-page, .shop-page, .auth-page) .enquire-button {
    color: #f3f2e8;
}

body:is(.home-page, .shop-page, .auth-page) .enquire-button:hover {
    background: var(--accent-dark);
    color: #f3f2e8;
}

/* Shop: filters, sold out, product detail */

body.shop-page .filter-pill.active,
body.auth-page .auth-mode-toggle a.active,
body.shop-page .dashboard-tab.active {
    color: #f3f2e8;
}

body.shop-page .product-card-view:hover {
    color: #f3f2e8;
}

body.shop-page .sold-out-overlay {
    background: rgba(232, 235, 223, 0.92);
    border: 1px solid var(--border);
    color: var(--accent);
}

body.shop-page .stock-dot.out-stock {
    background: #a65a48;
}

body.shop-page .qty-stepper {
    background: var(--surface);
    border: 1px solid var(--border);
}

body.shop-page .qty-btn:hover {
    background: rgba(27, 42, 31, 0.07);
}

/* Checkout / orders / dashboard */

body.shop-page .checkout-section-card input:focus,
body.shop-page .account-form-card input:focus,
body.shop-page .account-form-card textarea:focus {
    box-shadow: var(--focus-ring);
}

body.shop-page .checkout-summary-image .qty-badge {
    background: var(--accent);
    color: #f3f2e8;
}

body.shop-page .dashboard-tab-badge {
    background: rgba(27, 42, 31, 0.08);
}

body.shop-page .dashboard-tab.active .dashboard-tab-badge {
    background: rgba(232, 235, 223, 0.22);
}

body.shop-page .dashboard-wishlist-empty {
    border: 1px solid var(--border);
}

/* Auth: login / register / reset */

body.auth-page .admin-login-brand {
    background: var(--surface-soft);
}

body.auth-page .admin-login-field input:focus {
    box-shadow: var(--focus-ring);
}

body.auth-page .admin-login-button {
    color: #f3f2e8;
}

/* Contact / enquiry */

body.contact-page .enquiry-brand-panel {
    background: var(--surface-soft);
}

body.contact-page .leaf-decoration {
    opacity: 0.18;
}

body.contact-page .enquiry-field input:focus,
body.contact-page .enquiry-field select:focus,
body.contact-page .enquiry-field textarea:focus {
    box-shadow: var(--focus-ring);
}

body.contact-page .enquiry-field input,
body.contact-page .enquiry-field select,
body.contact-page .enquiry-field textarea,
body.contact-page .captcha-field {
    background: var(--surface);
}

body.contact-page .send-enquiry-button,
body.contact-page .success-primary-button {
    color: #f3f2e8;
}

body.contact-page .message.success {
    background: rgba(47, 74, 55, 0.1);
    color: var(--accent-dark);
}

body.contact-page .message.error {
    background: rgba(166, 90, 72, 0.12);
    color: #873f30;
}

/* =========================================================
   SHOP PAGE — Checkout (redesign + gift wrapping)
   Paste at the VERY END of botanical.css, after the
   "Eucalyptus & Brass" block. Each rule matches or beats the
   specificity of the older checkout rules above, so nothing
   needs deleting.
   ========================================================= */

/* ---------- Page rhythm ---------- */

body.shop-page .checkout-hero {
    padding: 40px 0 8px;
    background: transparent;
}

body.shop-page .checkout-hero h1 {
    max-width: none;
    margin-bottom: 12px;
    font-size: clamp(2.3rem, 5vw, 3.4rem);
    line-height: 1.08;
}

body.shop-page .checkout-hero p:last-child {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
}

body.shop-page .checkout-main {
    padding: 32px 0 96px;
}

body.shop-page .checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: 36px;
}

body.shop-page .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---------- Step cards ---------- */

body.shop-page .checkout-section-card {
    padding: 32px 36px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

body.shop-page .checkout-step-heading {
    gap: 14px;
    margin-bottom: 6px;
}

body.shop-page .checkout-step-number {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #f3f2e8;
    font-size: 0.95rem;
}

body.shop-page .checkout-step-heading h2 {
    font-size: 1.55rem;
    line-height: 1.2;
}

body.shop-page .checkout-section-card > p.checkout-step-intro {
    margin: 0 0 24px 46px;
    color: var(--muted);
    font-size: 0.92rem;
}

body.shop-page .checkout-section-card h3.checkout-subheading {
    margin: 28px 0 14px;
    color: var(--brass);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.shop-page .checkout-step-intro + .checkout-subheading {
    margin-top: 0 !important;
}

/* ---------- Fields (CakePHP wraps each control in div.input) ---------- */

body.shop-page .checkout-fields {
    display: grid;
    gap: 18px 16px;
    margin-bottom: 18px;
}

body.shop-page .checkout-fields-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.shop-page .checkout-fields-3 {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.9fr);
}

body.shop-page .checkout-section-card .input {
    min-width: 0;
    margin: 0;
}

body.shop-page .checkout-section-card .input label {
    display: block;
    margin: 0 0 8px;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
}

body.shop-page .checkout-section-card :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) {
    width: 100%;
    min-height: 50px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.shop-page .checkout-section-card select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232f4a37' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

body.shop-page .checkout-section-card textarea {
    min-height: 120px;
    line-height: 1.6;
    resize: vertical;
}

body.shop-page .checkout-section-card :is(input, select, textarea):hover {
    border-color: rgba(27, 42, 31, 0.26);
}

body.shop-page .checkout-section-card :is(input, select, textarea):focus {
    border-color: var(--accent);
    background-color: #f3f2e8;
    box-shadow: var(--focus-ring);
}

body.shop-page .checkout-section-card .input.error :is(input, select, textarea) {
    border-color: #a65a48;
}

body.shop-page .checkout-section-card .error-message {
    margin-top: 6px;
    color: #873f30;
    font-size: 0.8rem;
}

body.shop-page .checkout-field-note,
body.shop-page .checkout-field-hint {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

body.shop-page .checkout-field-hint {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

body.shop-page .checkout-field-hint span:last-child {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* ---------- Selectable cards (addresses, gift wrap, age) ---------- */

body.shop-page .checkout-address-list {
    gap: 12px;
    margin-top: 0;
}

/* Prefixed with .checkout-section-card label to beat the older
   ".checkout-section-card label" rule (display:block, margins). */
body.shop-page .checkout-section-card label.checkout-address-option,
body.shop-page .checkout-section-card label.checkout-choice,
body.shop-page .checkout-section-card label.checkout-age-option {
    display: flex;
    font-size: inherit;
    font-weight: 400;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.35);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.shop-page .checkout-address-option:hover,
body.shop-page .checkout-choice:hover,
body.shop-page .checkout-age-option:hover {
    border-color: rgba(47, 74, 55, 0.45);
}

body.shop-page .checkout-address-option:has(input:checked),
body.shop-page .checkout-choice:has(input:checked),
body.shop-page .checkout-age-option:has(input:checked) {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 0 1px var(--accent);
}

body.shop-page .checkout-address-option:has(input:focus-visible),
body.shop-page .checkout-choice:has(input:focus-visible),
body.shop-page .checkout-age-option:has(input:focus-visible) {
    box-shadow: inset 0 0 0 1px var(--accent), var(--focus-ring);
}

body.shop-page :is(.checkout-address-option, .checkout-choice, .checkout-age-option) input:is([type="radio"], [type="checkbox"]) {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--accent);
    cursor: pointer;
}

body.shop-page .checkout-address-content strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

body.shop-page .checkout-address-content p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

body.shop-page .checkout-default-badge {
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(47, 74, 55, 0.12);
    color: var(--accent-dark);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.shop-page .checkout-address-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 16px;
}

body.shop-page .checkout-address-links a {
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.shop-page .checkout-address-links a:hover {
    color: var(--accent-dark);
}

body.shop-page .checkout-no-address {
    margin-top: 0;
    padding: 24px;
    border: 1px dashed rgba(27, 42, 31, 0.28);
    border-radius: 16px;
    background: transparent;
}

body.shop-page .checkout-no-address p {
    margin-bottom: 16px;
    color: var(--muted);
}

/* Gift wrap choices */

body.shop-page .checkout-choice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.shop-page .checkout-choice-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

body.shop-page .checkout-choice-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

body.shop-page .checkout-choice-title strong {
    font-size: 0.95rem;
}

body.shop-page .checkout-choice-title span {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 700;
}

body.shop-page .checkout-choice-desc {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

body.shop-page .checkout-gift-message {
    margin-top: 24px;
}

/* Age confirmation */

body.shop-page .checkout-age-option {
    margin-top: 0;
}

body.shop-page .checkout-age-option span {
    font-size: 0.92rem;
    font-weight: 500;
}

body.shop-page .checkout-age-status {
    margin: 10px 0 0 !important;
    font-size: 0.8rem !important;
}

/* Stripe note + pay button */

body.shop-page .checkout-pay-note {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

body.shop-page .checkout-pay-note p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

body.shop-page .checkout-pay-note .checkout-stripe-badge {
    flex-shrink: 0;
    margin: 0;
    padding: 8px 14px;
    background: rgba(47, 74, 55, 0.1);
    font-size: 0.8rem;
}

body.shop-page .checkout-place-order {
    width: 100%;
    min-height: 56px;
    margin-top: 24px;
    border: 0;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

body.shop-page .checkout-place-order #checkout-button-total {
    font-variant-numeric: tabular-nums;
}

body.shop-page .checkout-place-order[disabled],
body.shop-page .checkout-place-order[disabled]:hover {
    opacity: 0.45;
    background: var(--accent);
    transform: none;
    cursor: not-allowed;
}

/* ---------- Order summary ---------- */

body.shop-page .checkout-summary-card {
    top: 112px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

body.shop-page .checkout-summary-card .eyebrow {
    margin-bottom: 4px;
}

body.shop-page .checkout-summary-card h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
}

body.shop-page .checkout-summary-card .checkout-summary-group-heading {
    margin: 18px 0 2px;
    color: var(--brass);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.shop-page .checkout-summary-item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
}

body.shop-page .checkout-summary-item + .checkout-summary-item {
    border-top: 1px solid var(--border);
}

body.shop-page .checkout-summary-item {
    border-bottom: 0;
}

body.shop-page .checkout-summary-image {
    width: 60px;
    height: 60px;
    overflow: visible;
    border-radius: 12px;
    background: var(--surface-high);
}

body.shop-page .checkout-summary-image img {
    border-radius: 12px;
}

body.shop-page .checkout-summary-image .qty-badge {
    top: -7px;
    right: -7px;
    bottom: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 2px solid var(--surface);
    font-size: 0.68rem;
    line-height: 18px;
    text-align: center;
}

body.shop-page .checkout-summary-info strong {
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.35;
    text-overflow: ellipsis;
}

body.shop-page .checkout-summary-info span {
    font-size: 0.8rem;
}

body.shop-page .checkout-summary-price {
    font-size: 0.92rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

body.shop-page .checkout-summary-card .checkout-custom-hamper-group {
    margin-top: 14px;
    padding: 4px 16px 6px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.35);
}

body.shop-page .checkout-summary-card .checkout-hamper-subtotal {
    padding: 12px 0 10px;
    border-top: 1px solid var(--border);
    border-bottom: 0;
    font-size: 0.88rem;
}

body.shop-page .checkout-summary-totals {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

body.shop-page .checkout-summary-totals .checkout-summary-line {
    padding: 8px 0;
    border-bottom: 0;
    font-size: 0.92rem;
}

body.shop-page .checkout-summary-line[hidden] {
    display: none;
}

body.shop-page .checkout-summary-line strong {
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

body.shop-page .checkout-summary-line .checkout-free {
    color: var(--accent);
}

body.shop-page .checkout-summary-totals .checkout-summary-total {
    align-items: flex-end;
    margin-top: 10px;
    padding: 16px 0 0;
    border-top: 1px solid var(--border);
}

body.shop-page .checkout-summary-total span {
    display: flex;
    flex-direction: column;
    font-weight: 600;
}

body.shop-page .checkout-summary-total small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 500;
}

body.shop-page .checkout-summary-total strong {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

body.shop-page .checkout-summary-card .cart-text-link {
    margin-top: 22px;
    font-size: 0.88rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    body.shop-page .checkout-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    body.shop-page .checkout-hero {
        padding-top: 28px;
    }

    body.shop-page .checkout-section-card,
    body.shop-page .checkout-summary-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    body.shop-page .checkout-section-card > p.checkout-step-intro {
        margin-left: 0;
    }

    body.shop-page .checkout-fields-2,
    body.shop-page .checkout-fields-3,
    body.shop-page .checkout-choice-list {
        grid-template-columns: 1fr;
    }

    body.shop-page .checkout-pay-note {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    body.shop-page .checkout-field-hint {
        flex-direction: column;
        gap: 2px;
    }
}
