@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600&display=swap');

:root {
    --blush: #e38fa8;
    --cream: #f5e9de;
    --chocolate: #4a2c2a;
    --sage: #9bb7a5;
    --white: #ffffff;
    --soft-background: #fffaf6;
    --shadow: rgba(74, 44, 42, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--soft-background);
    color: var(--chocolate);
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

/* Header */

.site-header {
    width: 100%;
    padding: 18px max(24px, calc((100% - 1200px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background-color: var(--cream);
    border-bottom: 4px solid var(--blush);
}

.site-logo {
    color: var(--chocolate);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-navigation a {
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
    background-color: var(--blush);
    color: var(--white);
    transform: translateY(-2px);
}

/* Main page */

.page-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    flex: 1;
}

.shop-section {
    width: 100%;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--blush);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h1 {
    margin: 0 0 12px;
    color: var(--chocolate);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    line-height: 1.1;
}

.section-heading > p:last-child {
    margin: 0;
    font-size: 1.05rem;
}

/* Products */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 340px));
    justify-content: center;
    gap: 28px;
}

.product-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    background-color: var(--white);
    border: 2px solid transparent;
    border-radius: 26px;
    box-shadow: 0 12px 30px var(--shadow);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 85px;
    height: 85px;
    background-color: var(--cream);
    border-radius: 0 0 0 100%;
}

.product-card:hover {
    border-color: var(--blush);
    box-shadow: 0 18px 38px rgba(74, 44, 42, 0.2);
    transform: translateY(-5px);
}

.product-category {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin: 0 0 18px;
    padding: 6px 13px;
    background-color: var(--sage);
    color: var(--chocolate);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-name {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.65rem;
    line-height: 1.25;
}

.product-description {
    margin: 0 0 24px;
    color: #654a48;
}

.product-price {
    margin: 0;
    color: var(--blush);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
}

.product-stock {
    margin: 5px 0 0;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Footer */

.site-footer {
    padding: 32px 24px;
    background-color: var(--chocolate);
    color: var(--cream);
    text-align: center;
}

.site-footer p {
    margin: 4px 0;
}

/* Smaller screens */

@media (max-width: 650px) {
    .site-header {
        padding: 20px;
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .site-logo {
        font-size: 1.8rem;
    }

    .main-navigation {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-navigation a {
        padding: 8px 12px;
    }

    .page-content {
        padding: 45px 18px 60px;
    }

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

    .product-card {
        padding: 25px;
        border-radius: 22px;
    }
}       
    /* Buttons */

    .button {
        display: inline-block;
        margin-top: 20px;
        padding: 11px 20px;
        background-color: var(--blush);
        color: var(--white);
        border: 2px solid var(--blush);
        border-radius: 999px;
        font-weight: 600;
        text-decoration: none;
        transition:
            background-color 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease;
    }

    .button:hover,
    .button:focus-visible {
        background-color: var(--chocolate);
        border-color: var(--chocolate);
        transform: translateY(-2px);
    }

    .button-secondary {
        margin-left: 10px;
        background-color: transparent;
        color: var(--chocolate);
        border-color: var(--chocolate);
    }

    .button-secondary:hover,
    .button-secondary:focus-visible {
        background-color: var(--chocolate);
        color: var(--white);
    }

    /* Individual product page */

    .product-details {
        max-width: 800px;
        margin: 0 auto;
        padding: 45px;
        background-color: var(--white);
        border-radius: 30px;
        box-shadow: 0 12px 30px var(--shadow);
    }

    .product-details h1,
    .not-found h1 {
        margin: 0 0 20px;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: clamp(2.25rem, 6vw, 4rem);
        line-height: 1.1;
    }

    .product-details-description {
        max-width: 650px;
        margin-bottom: 25px;
        color: #654a48;
        font-size: 1.05rem;
    }

    .not-found {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    @media (max-width: 650px) {
        .product-details {
            padding: 28px 22px;
            border-radius: 22px;
        }

        .button-secondary {
            margin-left: 0;
        }
    }
    /* Add to basket */

    .add-to-basket-form {
        display: inline-block;
    }

    button.button {
        font: inherit;
        cursor: pointer;
    }

    .out-of-stock {
        color: #a33a3a;
        font-weight: 600;
    }

    /* Basket */

    .basket-section {
        max-width: 850px;
        margin: 0 auto;
    }

    .empty-basket {
        padding: 40px;
        background-color: var(--white);
        border-radius: 26px;
        box-shadow: 0 12px 30px var(--shadow);
        text-align: center;
    }

    .basket-items {
        display: grid;
        gap: 18px;
    }

    .basket-item {
        padding: 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 25px;
        background-color: var(--white);
        border-radius: 22px;
        box-shadow: 0 8px 22px var(--shadow);
    }

    .basket-item h2 {
        margin: 0 0 6px;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 1.4rem;
    }

    .basket-item h2 a {
        text-decoration: none;
    }

    .basket-item h2 a:hover {
        color: var(--blush);
    }

    .basket-item p {
        margin: 3px 0;
    }

    .basket-line-total {
        color: var(--blush);
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 1.5rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .basket-summary {
        margin-top: 25px;
        padding: 24px;
        display: flex;
        justify-content: space-between;
        background-color: var(--cream);
        border-radius: 22px;
        font-size: 1.35rem;
    }

    .basket-summary strong {
        color: var(--blush);
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 1.65rem;
    }

    @media (max-width: 650px) {
        .basket-item {
            align-items: flex-start;
            flex-direction: column;
        }
    }
    /* Basket controls */

    .basket-actions {
        margin-top: 18px;
        display: flex;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 12px;
    }

    .quantity-form {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .quantity-form label {
        font-size: 0.85rem;
        font-weight: 600;
    }

    .quantity-form input[type='number'] {
        width: 70px;
        padding: 8px;
        border: 2px solid var(--cream);
        border-radius: 10px;
        color: var(--chocolate);
        font: inherit;
    }

    .quantity-form input[type='number']:focus {
        border-color: var(--blush);
        outline: none;
    }

    .small-button,
    .remove-button {
        padding: 8px 13px;
        border-radius: 999px;
        font: inherit;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
    }

    .small-button {
        background-color: var(--sage);
        color: var(--chocolate);
        border: 0;
    }

    .remove-button {
        background: transparent;
        color: #a33a3a;
        border: 2px solid #a33a3a;
    }

    .small-button:hover,
    .remove-button:hover {
        transform: translateY(-1px);
    }

    @media (max-width: 650px) {
        .basket-actions {
            align-items: flex-start;
            flex-direction: column;
        }
    }
    /* Shop filters */

    .shop-filters {
        margin-bottom: 40px;
        padding: 25px;
        display: flex;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 18px;
        background-color: var(--cream);
        border-radius: 24px;
    }

    .filter-field {
        min-width: 200px;
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: 6px;
    }

    .filter-field label {
        font-size: 0.85rem;
        font-weight: 600;
    }

    .filter-field input,
    .filter-field select {
        width: 100%;
        min-height: 46px;
        padding: 10px 13px;
        background-color: var(--white);
        color: var(--chocolate);
        border: 2px solid transparent;
        border-radius: 12px;
        font: inherit;
    }

    .filter-field input:focus,
    .filter-field select:focus {
        border-color: var(--blush);
        outline: none;
    }

    .filter-button {
        min-height: 46px;
        margin-top: 0;
    }

    .clear-filters {
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        color: var(--chocolate);
        font-weight: 600;
    }

    .no-results {
        padding: 45px 25px;
        background-color: var(--white);
        border-radius: 26px;
        box-shadow: 0 12px 30px var(--shadow);
        text-align: center;
    }

    .no-results h2 {
        margin-top: 0;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 2rem;
    }

    @media (max-width: 650px) {
        .shop-filters {
            align-items: stretch;
            flex-direction: column;
        }

        .filter-field {
            width: 100%;
        }

        .filter-button {
            width: 100%;
        }
    }
    /* Admin */

    .admin-login,
    .admin-dashboard {
        max-width: 850px;
        margin: 0 auto;
        padding: 40px;
        background-color: var(--white);
        border-radius: 28px;
        box-shadow: 0 12px 30px var(--shadow);
    }

    .admin-login {
        max-width: 550px;
    }

    .admin-login h1,
    .admin-dashboard h1 {
        margin: 0 0 20px;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: clamp(2.25rem, 5vw, 3.5rem);
        line-height: 1.15;
    }

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

    .error-message {
        padding: 12px 16px;
        background-color: #fbe3e3;
        color: #842626;
        border-radius: 12px;
        font-weight: 600;
    }

    .success-message {
        padding: 12px 16px;
        background-color: #e1f0e7;
        color: #285c3c;
        border-radius: 12px;
        font-weight: 600;
    }

    .admin-options {
        margin: 30px 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .admin-option {
        padding: 24px;
        background-color: var(--cream);
        border-radius: 20px;
    }

    .admin-option h2 {
        margin-top: 0;
        font-family: 'Playfair Display', Georgia, serif;
    }

    .coming-soon {
        color: var(--blush);
        font-size: 0.85rem;
        font-weight: 600;
    }

    .logout-form {
        margin-top: 30px;
    }

    @media (max-width: 650px) {
        .admin-login,
        .admin-dashboard {
            padding: 28px 22px;
        }

        .admin-options {
            grid-template-columns: 1fr;
        }
    }
    /* Admin product management */

    .admin-products {
        max-width: 1050px;
        margin: 0 auto;
    }

    .admin-page-heading {
        margin-bottom: 30px;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px;
    }

    .admin-page-heading h1 {
        margin: 0 0 8px;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: clamp(2.25rem, 5vw, 3.5rem);
    }

    .admin-page-heading p:last-child {
        margin-bottom: 0;
    }

    .admin-table-wrapper {
        overflow-x: auto;
        background-color: var(--white);
        border-radius: 22px;
        box-shadow: 0 10px 28px var(--shadow);
    }

    .admin-table {
        width: 100%;
        border-collapse: collapse;
    }

    .admin-table th,
    .admin-table td {
        padding: 17px 20px;
        text-align: left;
        border-bottom: 1px solid var(--cream);
    }

    .admin-table th {
        background-color: var(--cream);
        font-size: 0.82rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .admin-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .admin-table tbody tr:hover {
        background-color: var(--soft-background);
    }

    .status {
        display: inline-block;
        padding: 5px 10px;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 600;
    }

    .status-active {
        background-color: #e1f0e7;
        color: #285c3c;
    }

    .status-hidden {
        background-color: #f2e2e2;
        color: #842626;
    }

    @media (max-width: 650px) {
        .admin-page-heading {
            align-items: flex-start;
            flex-direction: column;
        }

        .admin-table th,
        .admin-table td {
            padding: 14px;
        }
    }
    /* Admin forms */

    .admin-form {
        padding: 30px;
        background-color: var(--white);
        border-radius: 24px;
        box-shadow: 0 10px 28px var(--shadow);
    }

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

    .form-field {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

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

    .form-field label {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .form-field input,
    .form-field textarea,
    .form-field select {
        width: 100%;
        padding: 11px 13px;
        background-color: var(--soft-background);
        color: var(--chocolate);
        border: 2px solid var(--cream);
        border-radius: 12px;
        font: inherit;
    }

    .form-field textarea {
        resize: vertical;
    }

    .form-field input:focus,
    .form-field textarea:focus,
    .form-field select:focus {
        border-color: var(--blush);
        outline: none;
    }

    .checkbox-field {
        justify-content: flex-end;
    }

    .checkbox-field label {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .checkbox-field input {
        width: auto;
    }

    .form-buttons {
        margin-top: 28px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

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

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

        .admin-form {
            padding: 22px;
        }
    }
        .table-action {
        display: inline-block;
        padding: 7px 13px;
        background-color: var(--sage);
        color: var(--chocolate);
        border-radius: 999px;
        font-size: 0.82rem;
        font-weight: 600;
        text-decoration: none;
    }

    .table-action:hover,
    .table-action:focus-visible {
        background-color: var(--blush);
        color: var(--white);
    }
    /* Product images */

    .product-image-link {
        display: block;
        margin: -30px -30px 24px;
        overflow: hidden;
        background-color: var(--cream);
        border-radius: 24px 24px 0 0;
    }

    .product-image {
        width: 100%;
        height: 230px;
        display: block;
        background-color: var(--cream);
        object-fit: contain;
        object-position: center;
        transition: transform 0.3s ease;
    }

    .product-image-link:hover .product-image {
        transform: scale(1.04);
    }

    .product-details-image img {
        width: 100%;
        height: 400px;
        display: block;
        background-color: var(--cream);
        object-fit: contain;
        object-position: center;
    }

    .current-product-image {
        margin-bottom: 25px;
    }

    .current-product-image img {
        width: 100%;
        max-width: 300px;
        height: 250px;
        display: block;
        background-color: var(--cream);
        object-fit: contain;
        object-position: center;
        border-radius: 20px;
        box-shadow: 0 8px 22px var(--shadow);
    }

    @media (max-width: 650px) {
        .product-image-link {
            margin: -25px -25px 22px;
            border-radius: 20px 20px 0 0;
        }

        .product-details-image {
            margin: -28px -22px 28px;
            border-radius: 20px 20px 0 0;
        }
        .admin-table .table-action {
            margin: 3px;
        }

        .variant-list {
            margin-top: 40px;
        }

        .variant-list > h2 {
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 2rem;
        }
        .capacity-information {
            margin-bottom: 25px;
            padding: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 15px 30px;
            background-color: var(--cream);
            border-radius: 18px;
        }

        .capacity-information p {
            margin: 0;
        }

        .subscription-plan-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 22px;
        }

        .subscription-plan-card {
            padding: 24px;
            background-color: var(--soft-background);
            border: 2px solid var(--cream);
            border-radius: 18px;
        }

        .subscription-plan-card h2 {
            margin-top: 0;
            font-family: 'Playfair Display', Georgia, serif;
        }

        .subscription-plan-card .checkbox-field {
            margin-bottom: 18px;
        }

        @media (max-width: 650px) {
            .subscription-plan-grid {
                grid-template-columns: 1fr;
            }
        }   
        .allergen-guidance {
            margin-bottom: 25px;
            padding: 20px;
            background-color: var(--cream);
            border-radius: 18px;
        }

        .allergen-guidance p {
            margin: 5px 0;
        }

        .allergen-table select {
            width: 100%;
            min-width: 160px;
            padding: 9px 12px;
            background-color: var(--white);
            color: var(--chocolate);
            border: 2px solid var(--cream);
            border-radius: 10px;
            font: inherit;
        }

        .allergen-table select:focus {
            border-color: var(--blush);
            outline: none;
        }

        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        .settings-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 18px;
        }

        .setting-card {
            padding: 20px;
            background-color: var(--soft-background);
            border: 2px solid var(--cream);
            border-radius: 18px;
        }

        .setting-card small {
            color: #654a48;
            line-height: 1.5;
        }

        @media (max-width: 650px) {
            .settings-grid {
                grid-template-columns: 1fr;
            }
        }
        .dispatch-list {
            display: grid;
            gap: 22px;
        }

        .dispatch-card {
            padding: 25px;
            background-color: var(--white);
            border-radius: 22px;
            box-shadow: 0 8px 22px var(--shadow);
        }

        .dispatch-card-heading {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 20px;
        }

        .dispatch-card-heading h2 {
            margin: 0;
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 1.75rem;
        }

        .dispatch-summary {
            margin: 20px 0;
            padding: 14px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px 25px;
            background-color: var(--cream);
            border-radius: 14px;
        }

        .dispatch-form {
            display: grid;
            grid-template-columns: 160px 1fr auto auto;
            align-items: end;
            gap: 15px;
        }

        @media (max-width: 850px) {
            .dispatch-form {
                grid-template-columns: 1fr;
                align-items: stretch;
            }
        }
        .portion-options {
            margin: 0 0 5px;
            font-weight: 600;
        }

        .postage-included {
            margin: 3px 0 0;
            color: #456351;
            font-size: 0.82rem;
            font-weight: 600;
        }

        .postage-notice {
            margin: 20px 0 28px;
            padding: 14px 18px;
            background-color: var(--sage);
            border-radius: 14px;
            font-weight: 600;
        }

        .purchase-options {
            display: grid;
            gap: 18px;
        }

        .purchase-option {
            padding: 22px;
            background-color: var(--soft-background);
            border: 2px solid var(--cream);
            border-radius: 18px;
        }

        .purchase-option h2 {
            margin: 0;
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 1.5rem;
        }

        .purchase-option > div:first-child p {
            margin: 3px 0 10px;
        }

        .subscription-options {
            margin-top: 18px;
            padding: 14px;
            background-color: var(--cream);
            border-radius: 12px;
        }

        .subscription-options p {
            margin: 4px 0;
        }

        .ordering-update {
            margin-top: 25px;
            padding: 12px 16px;
            background-color: var(--cream);
            border-radius: 12px;
            font-weight: 600;
        }
        .basket-item-image {
            width: 110px;
            height: 110px;
            flex: 0 0 110px;
            background-color: var(--cream);
            border-radius: 16px;
            object-fit: contain;
        }

        .basket-item-information {
            flex: 1;
        }

        .basket-summary-details {
            margin-top: 24px;
            padding: 18px 22px;
            background-color: var(--white);
            border-radius: 18px;
            box-shadow: 0 8px 22px var(--shadow);
        }

        .basket-summary-details p {
            margin: 5px 0;
            display: flex;
            justify-content: space-between;
            gap: 20px;
        }

        @media (max-width: 650px) {
            .basket-item-image {
                width: 100%;
                height: 180px;
                flex-basis: auto;
            }

            .basket-summary-details p {
                align-items: flex-start;
                flex-direction: column;
                gap: 2px;
            }
        }
        .order-limit-note {
            margin: 12px 5px 0;
            color: #765f5c;
            font-size: 0.78rem;
            line-height: 1.5;
            text-align: right;
        }
        .dispatch-availability,
        .dispatch-unavailable {
            margin-bottom: 25px;
            padding: 22px;
            border-radius: 18px;
        }

        .dispatch-availability {
            background-color: #e1f0e7;
            color: #285c3c;
        }

        .dispatch-unavailable {
            background-color: #fbe3e3;
            color: #842626;
        }

        .dispatch-availability h2,
        .dispatch-unavailable h2 {
            margin: 0 0 8px;
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 1.45rem;
        }

        .dispatch-availability p,
        .dispatch-unavailable p {
            margin: 5px 0;
        }

        .dispatch-delay {
            margin-bottom: 10px !important;
            font-weight: 700;
        }
        .public-allergen-information {
            margin: 25px 0;
            padding: 20px;
            background-color: var(--cream);
            border-radius: 18px;
        }

        .public-allergen-information h2 {
            margin: 0 0 12px;
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 1.55rem;
        }

        .public-allergen-information p {
            margin: 8px 0;
        }

        .cross-contact-warning {
            margin-top: 15px !important;
            padding-top: 15px;
            border-top: 1px solid rgba(74, 44, 42, 0.2);
            font-size: 0.9rem;
            font-weight: 600;
        }

        .mystery-allergen-warning {
            margin-top: 18px;
            padding: 16px;
            background-color: #fff3d7;
            border: 2px solid #dfb85c;
            border-radius: 14px;
        }

        .mystery-allergen-warning h3 {
            margin: 0 0 8px;
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 1.25rem;
        }

        .mystery-allergen-warning p {
            font-size: 0.9rem;
        }

        .checkout-section {
            max-width: 900px;
            margin: 0 auto;
        }

        .checkout-dispatch {
            margin-bottom: 25px;
            padding: 18px 22px;
            display: flex;
            justify-content: space-between;
            gap: 20px;
            background-color: #e1f0e7;
            color: #285c3c;
            border-radius: 16px;
        }

        .checkout-form h2,
        .checkout-review h2,
        .review-section h3 {
            font-family: 'Playfair Display', Georgia, serif;
        }

        .checkout-form h2 {
            margin: 32px 0 18px;
        }

        .checkout-form h2:first-of-type {
            margin-top: 0;
        }

        .checkout-allergens {
            margin: 32px 0;
            padding: 22px;
            background-color: #fff3d7;
            border: 2px solid #dfb85c;
            border-radius: 18px;
        }

        .allergen-selection-list {
            margin: 20px 0;
            display: grid;
            gap: 10px;
        }

        .allergen-selection {
            padding: 12px;
            display: grid;
            grid-template-columns: 1fr 150px;
            align-items: center;
            gap: 15px;
            background-color: var(--white);
            border-radius: 12px;
        }

        .allergen-selection label {
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .allergen-selection select {
            padding: 8px;
            border: 2px solid var(--cream);
            border-radius: 10px;
            font: inherit;
        }

        .explicit-consent {
            margin-top: 18px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 0.88rem;
            font-weight: 600;
        }

        .checkout-review {
            padding: 30px;
            background-color: var(--white);
            border-radius: 24px;
            box-shadow: 0 10px 28px var(--shadow);
        }

        .review-section {
            padding: 18px 0;
            border-bottom: 1px solid var(--cream);
        }

        .review-section h3,
        .review-section p {
            margin: 5px 0;
        }

        .review-section p {
            display: flex;
            justify-content: space-between;
            gap: 20px;
        }

        .review-total {
            margin-top: 15px !important;
            color: var(--blush);
            font-size: 1.3rem;
            font-weight: 700;
        }

        .checkout-button {
            display: block;
            width: fit-content;
            margin-left: auto;
        }

        @media (max-width: 650px) {
            .checkout-dispatch {
                flex-direction: column;
            }

            .allergen-selection {
                grid-template-columns: 1fr;
            }

            .review-section p {
                align-items: flex-start;
                flex-direction: column;
                gap: 2px;
            }
        }
    }

    .danger-zone {
    margin-top: 2rem;
    border: 2px solid #b94040;
    background: #fff4f4;
}

.danger-zone h2 {
    color: #8f2525;
}

.button-danger {
    background: #a83232;
    border-color: #a83232;
    color: #fff;
}

.button-danger:hover {
    background: #842626;
    border-color: #842626;
}

.error-message {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #b94040;
    border-radius: 8px;
    background: #fff0f0;
    color: #842626;
}

.admin-stat {
    margin: 0.5rem 0;
    color: #4a2c2a;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
}

.dashboard-warning {
    padding: 0.75rem;
    border: 1px solid #c68432;
    border-radius: 8px;
    background: #fff5df;
    color: #70430f;
    font-weight: 600;
}

.waitlist-summary {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(180px, 1fr)
    );
    gap: 1rem;
    margin: 1.5rem 0;
}

.waitlist-summary .admin-option {
    padding: 1rem;
}

.waitlist-summary h2 {
    margin-top: 0;
    font-size: 1rem;
}

.admin-filter-form {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.admin-filter-form label {
    font-weight: 700;
}

.admin-filter-form select {
    min-width: 210px;
    padding: 0.7rem;
    border: 1px solid #9bb7a5;
    border-radius: 8px;
    background: #fff;
}

@media (max-width: 650px) {
    .admin-filter-form {
        align-items: stretch;
        flex-direction: column;
    }
}

.production-item {
    margin-bottom: 0.75rem;
}

.production-item:last-child {
    margin-bottom: 0;
}

.allergen-warning {
    color: #9b2525;
}

.admin-detail-card hr {
    margin: 0.75rem 0;
    border: 0;
    border-top: 1px solid #d8c7ba;
}

.print-only {
    display: none;
}

@media print {
    @page {
        margin: 12mm;
        size: A4 portrait;
    }

    body {
        margin: 0;
        background: #fff;
        color: #000;
        font-size: 10pt;
    }

    header,
    footer,
    nav,
    .no-print,
    .admin-page-heading,
    .admin-filter-form,
    .logout-form {
        display: none !important;
    }

    .print-only {
        display: block;
    }

    .page-content,
    .admin-products {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .production-print-heading {
        margin-bottom: 8mm;
        padding-bottom: 4mm;
        border-bottom: 2px solid #4a2c2a;
    }

    .production-print-heading h1 {
        margin: 0 0 3mm;
        color: #4a2c2a;
        font-size: 20pt;
    }

    .production-print-heading p {
        margin: 1mm 0;
    }

    .waitlist-summary {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4mm;
        margin: 0 0 6mm;
    }

    .waitlist-summary .admin-option {
        border: 1px solid #777;
        background: #fff;
        box-shadow: none;
    }

    .admin-stat {
        color: #000;
    }

    .production-checklist {
        margin: 0 0 7mm;
        padding: 4mm;
        border: 1px solid #777;
    }

    .production-checklist h2 {
        margin-top: 0;
    }

    .production-checklist p {
        display: inline-block;
        width: 48%;
        margin: 1.5mm 0;
    }

    .admin-detail-card {
        margin: 0 0 7mm;
        padding: 0;
        border: 0;
        background: #fff;
        box-shadow: none;
    }

    .admin-table-wrapper {
        overflow: visible;
    }

    .admin-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 8.5pt;
    }

    .admin-table th,
    .admin-table td {
        padding: 2.5mm;
        border: 1px solid #777;
        background: #fff;
        color: #000;
        vertical-align: top;
    }

    .admin-table th {
        font-weight: 700;
    }

    .admin-table tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .admin-table a {
        color: #000;
        text-decoration: none;
    }

    .allergen-warning {
        color: #000;
        font-weight: 700;
        text-decoration: underline;
    }

    .production-item {
        margin-bottom: 2mm;
    }

    h2 {
        break-after: avoid;
        page-break-after: avoid;
    }
}

/* ==================================================
   Monkey Bakes homepage
   ================================================== */

.home-page {
    background: #f5e9de;
    color: #4a2c2a;
}

.home-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 80px 24px;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            rgba(227, 143, 168, 0.94),
            rgba(245, 233, 222, 0.96)
        );
}

.home-hero-content {
    width: 100%;
    max-width: 850px;
}

.home-hero-logo {
    display: block;
    width: clamp(120px, 16vw, 180px);
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto 20px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(74, 44, 42, 0.16));
}

.home-hero-tagline {
    max-width: 720px;
    margin: -4px auto 18px;
    color: var(--chocolate);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
}

.home-hero h1 {
    max-width: 800px;
    margin: 12px auto 20px;
    color: #4a2c2a;
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 1.05;
}

.home-hero-text {
    max-width: 680px;
    margin: 0 auto 30px;
    font-size: 1.15rem;
    line-height: 1.7;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.home-section {
    padding: 75px 24px;
}

.home-section:nth-of-type(even) {
    background: rgba(255, 255, 255, 0.42);
}

.home-section .section-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.home-section .section-heading h2,
.home-split-section h2,
.home-feature-panel h2 {
    margin-top: 8px;
    color: #4a2c2a;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.home-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.home-choice-card {
    display: flex;
    min-height: 390px;
    overflow: hidden;
    border: 2px solid rgba(74, 44, 42, 0.1);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(74, 44, 42, 0.1);
}

.home-choice-card:nth-child(1) {
    border-top: 8px solid #e38fa8;
}

.home-choice-card:nth-child(2) {
    border-top: 8px solid #9bb7a5;
}

.home-choice-card:nth-child(3) {
    border-top: 8px solid #4a2c2a;
}

.home-choice-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 34px;
}

.home-choice-content h3 {
    margin: 8px 0 16px;
    color: #4a2c2a;
    font-size: 1.8rem;
}

.home-choice-content p {
    line-height: 1.7;
}

.home-choice-content .button {
    margin-top: auto;
}

.home-choice-label {
    margin: 0;
    color: #8b5263;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 45px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.home-split-section p,
.home-feature-panel p,
.home-about-content p {
    line-height: 1.75;
}

.home-information-box {
    padding: 32px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.09);
}

.home-information-box h3 {
    margin-top: 0;
    color: #4a2c2a;
}

.home-information-box ul {
    margin-bottom: 0;
    padding-left: 22px;
}

.home-information-box li {
    margin-bottom: 10px;
    line-height: 1.55;
}

.home-feature-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 28px;
    background: #9bb7a5;
    box-shadow: 0 14px 34px rgba(74, 44, 42, 0.12);
}

.home-feature-panel > div {
    max-width: 750px;
}

.home-about-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.home-allergen-summary .home-feature-panel {
    background: #ffffff;
    border: 2px solid rgba(74, 44, 42, 0.12);
}

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

    .home-choice-card {
        min-height: 330px;
    }

    .home-split-section {
        grid-template-columns: 1fr;
    }

    .home-feature-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .home-hero {
        min-height: 440px;
        padding: 60px 18px;
    }

    .home-section {
        padding: 55px 18px;
    }

    .home-choice-content,
    .home-information-box,
    .home-feature-panel {
        padding: 26px;
    }

    .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero-actions .button {
        width: 100%;
        text-align: center;
    }
}

/* ==================================================
   Local bakes page
   ================================================== */

.local-bakes-page {
    padding: 0;
    background: #f5e9de;
    color: #4a2c2a;
}

.local-bakes-hero {
    padding: 85px 24px;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            rgba(155, 183, 165, 0.95),
            rgba(245, 233, 222, 0.96)
        );
}

.local-bakes-hero h1 {
    max-width: 850px;
    margin: 12px auto 20px;
    font-size: clamp(2.3rem, 6vw, 4.4rem);
    line-height: 1.08;
}

.local-bakes-hero > p:not(.eyebrow) {
    max-width: 720px;
    margin: 0 auto 28px;
    font-size: 1.1rem;
    line-height: 1.75;
}

.local-range-section,
.local-order-information,
.local-enquiry-preview,
.local-allergen-notice {
    padding: 75px 24px;
}

.local-range-section .section-heading {
    max-width: 750px;
    margin: 0 auto 40px;
    text-align: center;
}

.local-bakes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.local-bake-card {
    display: flex;
    border: 2px solid rgba(74, 44, 42, 0.1);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(74, 44, 42, 0.1);
}

.local-bake-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 34px;
}

.local-bake-card h3 {
    margin: 9px 0 14px;
    font-size: 1.8rem;
}

.local-bake-card p,
.local-bake-card li {
    line-height: 1.65;
}

.local-bake-card ul {
    margin-bottom: 25px;
    padding-left: 21px;
}

.local-bake-card li {
    margin-bottom: 8px;
}

.local-bake-card .button {
    margin-top: auto;
}

.featured-local-bake {
    border-top: 8px solid #e38fa8;
}

.local-order-information {
    background: rgba(255, 255, 255, 0.45);
}

.local-order-steps {
    padding-left: 24px;
}

.local-order-steps li {
    margin-bottom: 16px;
    padding-left: 8px;
    line-height: 1.65;
}

.local-enquiry-panel {
    max-width: 850px;
    margin: 0 auto;
    padding: 45px;
    border-radius: 28px;
    background: #9bb7a5;
    text-align: center;
    box-shadow: 0 14px 34px rgba(74, 44, 42, 0.12);
}

.local-enquiry-panel h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.local-enquiry-panel p {
    line-height: 1.7;
}

.local-allergen-notice {
    padding-top: 0;
}

.local-allergen-notice .home-information-box {
    max-width: 850px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .local-bakes-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }
}

@media (max-width: 600px) {
    .local-bakes-hero,
    .local-range-section,
    .local-order-information,
    .local-enquiry-preview,
    .local-allergen-notice {
        padding-right: 18px;
        padding-left: 18px;
    }

    .local-bake-card-content,
    .local-enquiry-panel {
        padding: 26px;
    }
}

/* Local enquiry panel colour details */

.local-enquiry-panel {
    border: 2px solid rgba(74, 44, 42, 0.14);
}

.local-enquiry-panel .button:hover,
.local-enquiry-panel .button:focus-visible {
    border: none;
    background: #f5e9de;
    color: #b94f70;
    transform: scale(1.05);
}

.local-enquiry-panel .button:focus-visible {
    outline: 3px solid #4a2c2a;
    outline-offset: 3px;
}

.home-hero .eyebrow {
    color: #52705d;
    font-weight: 800;
}

/* ==================================================
   Consistent styling for solid green sections
   ================================================== */

/* Cream labels with pink text */

.home-subscriptions .eyebrow,
.local-enquiry-panel .eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f5e9de;
    color: #b94f70;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* Pink buttons with cream text */

.home-subscriptions .button,
.local-enquiry-panel .button {
    border: none;
    border-radius: 999px;
    background: #e38fa8;
    color: #f5e9de;
    font-weight: 800;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

/* Chocolate hover with a slight zoom */

.home-subscriptions .button:hover,
.home-subscriptions .button:focus-visible,
.local-enquiry-panel .button:hover,
.local-enquiry-panel .button:focus-visible {
    border: none;
    background: #4a2c2a;
    color: #f5e9de;
    transform: scale(1.05);
}

/* Visible keyboard focus */

.home-subscriptions .button:focus-visible,
.local-enquiry-panel .button:focus-visible {
    outline: 3px solid #f5e9de;
    outline-offset: 3px;
}

/* ==================================================
   Local-bakes enquiry form
   ================================================== */

.local-enquiry-panel {
    max-width: 1000px;
    text-align: left;
}

.local-enquiry-panel > .eyebrow,
.local-enquiry-panel > h2,
.local-enquiry-panel > p {
    text-align: center;
}

.local-enquiry-form {
    margin-top: 32px;
    padding: 34px;
    border-radius: 24px;
    background: #ffffff;
    color: #4a2c2a;
}

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

.local-enquiry-form .form-group {
    margin-bottom: 20px;
}

.local-enquiry-form label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
}

.local-enquiry-form input,
.local-enquiry-form select,
.local-enquiry-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid rgba(74, 44, 42, 0.25);
    border-radius: 12px;
    background: #fffdfb;
    color: #4a2c2a;
    font: inherit;
}

.local-enquiry-form input:focus,
.local-enquiry-form select:focus,
.local-enquiry-form textarea:focus {
    border-color: #b94f70;
    outline: 3px solid rgba(227, 143, 168, 0.25);
}

.local-enquiry-form textarea {
    resize: vertical;
}

.local-enquiry-form .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 22px 0;
}

.local-enquiry-form .form-checkbox input {
    width: auto;
    margin-top: 4px;
}

.local-enquiry-form .form-checkbox label {
    margin: 0;
    font-weight: 500;
    line-height: 1.55;
}

.field-help {
    margin-top: 7px;
    color: #664845;
    font-size: 0.9rem;
    line-height: 1.55;
}

.form-errors {
    margin: 24px 0;
    padding: 18px;
    border-left: 5px solid #a32929;
    border-radius: 10px;
    background: #fff0f0;
    color: #721c1c;
    text-align: left;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 700px) {
    .local-enquiry-form {
        padding: 24px;
    }

    .local-enquiry-form .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==================================================
   Custom cakes page
   ================================================== */

.custom-cakes-page {
    padding: 0;
    background: #f5e9de;
    color: #4a2c2a;
}

.custom-cake-hero {
    padding: 90px 24px;
    background:
        linear-gradient(
            135deg,
            rgba(227, 143, 168, 0.94),
            rgba(245, 233, 222, 0.96)
        );
    text-align: center;
}

.custom-cake-hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.custom-cake-hero h1 {
    margin: 12px 0 20px;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.08;
}

.custom-cake-hero p:not(.eyebrow) {
    max-width: 700px;
    margin: 0 auto 28px;
    font-size: 1.1rem;
    line-height: 1.75;
}

.custom-cake-section,
.custom-cake-size-section,
.custom-cake-details-section,
.custom-cake-allergens,
.custom-cake-process,
.custom-cake-enquiry-preview {
    padding: 75px 24px;
}

.custom-cake-section .section-heading,
.custom-cake-size-section .section-heading,
.custom-cake-process .section-heading {
    max-width: 780px;
    margin: 0 auto 40px;
    text-align: center;
}

.custom-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-choice-card {
    padding: 30px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.09);
}

.custom-choice-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e38fa8;
    color: #f5e9de;
    font-weight: 800;
}

.custom-choice-card h3 {
    margin: 18px 0 12px;
}

.custom-choice-card p {
    line-height: 1.65;
}

.custom-cake-size-section {
    background: rgba(255, 255, 255, 0.45);
}

.cake-guide-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.09);
}

.cake-guide-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: #ffffff;
}

.cake-guide-table th,
.cake-guide-table td {
    padding: 17px 20px;
    border-bottom: 1px solid rgba(74, 44, 42, 0.13);
    text-align: left;
}

.cake-guide-table th {
    background: #9bb7a5;
    color: #4a2c2a;
}

.cake-guide-table tbody tr:last-child td {
    border-bottom: none;
}

.cake-guide-table tbody tr:nth-child(even) {
    background: #fff8f5;
}

.cake-guide-note {
    max-width: 900px;
    margin: 22px auto 0;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

.custom-cake-split {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 45px;
    max-width: 1100px;
    margin: 0 auto;
}

.custom-cake-split p,
.custom-cake-split li {
    line-height: 1.7;
}

.custom-information-box {
    padding: 32px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.09);
}

.custom-information-box h3 {
    margin-top: 0;
}

.custom-information-box ul {
    margin-bottom: 0;
    padding-left: 21px;
}

.custom-information-box li {
    margin-bottom: 9px;
}

.custom-cake-allergens {
    background: rgba(255, 255, 255, 0.45);
}

.custom-process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    counter-reset: cake-process;
}

.custom-process-list li {
    counter-increment: cake-process;
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    line-height: 1.7;
    box-shadow: 0 10px 26px rgba(74, 44, 42, 0.08);
}

.custom-process-list li::before {
    content: counter(cake-process);
    display: block;
    margin-bottom: 14px;
    color: #b94f70;
    font-size: 1.6rem;
    font-weight: 800;
}

.custom-enquiry-panel {
    max-width: 900px;
    margin: 0 auto;
    padding: 44px;
    border-radius: 28px;
    background: #9bb7a5;
    text-align: center;
    box-shadow: 0 14px 34px rgba(74, 44, 42, 0.12);
}

.custom-enquiry-panel .eyebrow {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f5e9de;
    color: #b94f70;
    font-size: 0.92rem;
    font-weight: 800;
}

.custom-enquiry-panel .button {
    border: none;
    border-radius: 999px;
    background: #e38fa8;
    color: #f5e9de;
    font-weight: 800;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.custom-enquiry-panel .button:hover,
.custom-enquiry-panel .button:focus-visible {
    background: #4a2c2a;
    color: #f5e9de;
    transform: scale(1.05);
}

@media (max-width: 950px) {
    .custom-choice-grid,
    .custom-process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .custom-cake-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .custom-cake-hero,
    .custom-cake-section,
    .custom-cake-size-section,
    .custom-cake-details-section,
    .custom-cake-allergens,
    .custom-cake-process,
    .custom-cake-enquiry-preview {
        padding-right: 18px;
        padding-left: 18px;
    }

    .custom-choice-grid,
    .custom-process-list {
        grid-template-columns: 1fr;
    }

    .custom-enquiry-panel {
        padding: 28px;
    }
}

/* Consistent eyebrow colour on faded hero sections */

.home-hero .eyebrow,
.local-bakes-hero .eyebrow,
.custom-cake-hero .eyebrow {
    color: #52705d;
    font-weight: 800;
}

/* Custom-cake enquiry form */

.custom-enquiry-panel {
    max-width: 1050px;
}

.custom-enquiry-panel > .eyebrow,
.custom-enquiry-panel > h2,
.custom-enquiry-panel > p {
    text-align: center;
}

.custom-cake-form {
    margin-top: 32px;
    text-align: left;
}

.custom-form-fieldset {
    margin: 0 0 30px;
    padding: 26px;
    border: 2px solid rgba(74, 44, 42, 0.13);
    border-radius: 18px;
}

.custom-form-fieldset legend {
    padding: 0 10px;
    color: #4a2c2a;
    font-size: 1.2rem;
    font-weight: 800;
}

.custom-cake-form input[type="file"] {
    background: #f5e9de;
    cursor: pointer;
}

@media (max-width: 600px) {
    .custom-form-fieldset {
        padding: 20px;
    }
}

.inspiration-image-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.inspiration-image-fields .form-group {
    margin-bottom: 0;
}

@media (max-width: 750px) {
    .inspiration-image-fields {
        grid-template-columns: 1fr;
    }
}

/* Conditional Local Bakes product choices */

.cupcake-flavour-section,
.tray-bake-section {
    margin: 28px 0;
}

.cupcake-flavour-section[hidden],
.tray-bake-section[hidden],
#cupcake_filling_group[hidden],
#brownie_flavour_group[hidden],
#blondie_flavour_group[hidden],
#quantity_details_group[hidden],
#colours_group[hidden],
#occasion_group[hidden],
#bouquet_size_group[hidden],
#flower_style_group[hidden] {
    display: none;
}

/* ==================================================
   Pricing page
   ================================================== */

.pricing-page {
    background: #f5e9de;
    color: #4a2c2a;
}

.pricing-hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.pricing-hero-actions,
.pricing-information-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.pricing-section {
    padding: 75px 24px;
}

.pricing-section-alt {
    background: rgba(255, 255, 255, 0.45);
}

.pricing-section .section-heading {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.pricing-section .section-heading p {
    line-height: 1.7;
}

.pricing-feature-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 26px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.1);
}

.pricing-from {
    margin-bottom: 4px;
    color: #52705d;
    font-weight: 800;
}

.pricing-large-price {
    margin: 0 0 18px;
    color: #b94f70;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1;
}

.pricing-feature-card > p:not(.pricing-from, .pricing-large-price) {
    max-width: 580px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.7;
}

.cupcake-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.cupcake-price-card {
    position: relative;
    padding: 34px;
    border: 2px solid transparent;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(74, 44, 42, 0.08);
}

.cupcake-price-card.featured {
    border-color: #e38fa8;
}

.cupcake-price-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.cupcake-price-card p {
    line-height: 1.65;
}

.cupcake-price {
    color: #b94f70;
    font-size: 1.2rem;
}

.price-card-label {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #9bb7a5;
    font-size: 0.85rem;
    font-weight: 800;
}

.pricing-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.09);
}

.pricing-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #ffffff;
}

.pricing-table th,
.pricing-table td {
    padding: 19px 22px;
    border-bottom: 1px solid rgba(74, 44, 42, 0.13);
    text-align: left;
}

.pricing-table thead th {
    background: #9bb7a5;
    color: #4a2c2a;
}

.pricing-table tbody th {
    color: #b94f70;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:nth-child(even) {
    background: #fff8f5;
}

.bouquet-price-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

.bouquet-price-card {
    padding: 30px 20px;
    border-radius: 22px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 10px 26px rgba(74, 44, 42, 0.08);
}

.bouquet-size {
    margin: 0 0 10px;
    font-weight: 800;
}

.bouquet-price {
    margin: 0;
    color: #b94f70;
    font-size: 1.4rem;
    font-weight: 800;
}

.pricing-centred-note {
    max-width: 700px;
    margin: 28px auto 0;
    line-height: 1.7;
    text-align: center;
}

.pricing-information-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: 35px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 26px;
    background: #9bb7a5;
    box-shadow: 0 14px 34px rgba(74, 44, 42, 0.12);
}

.pricing-information-panel p {
    line-height: 1.7;
}

.pricing-information-actions {
    flex-direction: column;
    margin-top: 0;
}

.pricing-information-actions .button {
    text-align: center;
}

.pricing-disclaimer {
    padding: 0 24px 70px;
}

.pricing-disclaimer p {
    max-width: 850px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid rgba(74, 44, 42, 0.15);
    border-radius: 16px;
    line-height: 1.65;
    text-align: center;
}

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

    .bouquet-price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-information-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .pricing-section {
        padding: 55px 18px;
    }

    .pricing-feature-card,
    .cupcake-price-card,
    .pricing-information-panel {
        padding: 28px 22px;
    }

    .bouquet-price-grid {
        grid-template-columns: 1fr;
    }

    .pricing-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-hero-actions .button {
        text-align: center;
    }
}

/* Footer navigation links */

/* ==================================================
   Footer columns
   ================================================== */

.site-footer {
    padding: 55px 24px 24px;
    background: #4a2c2a;
    color: #f5e9de;
}

.footer-inner {
    display: grid;
    grid-template-columns:
        minmax(230px, 0.8fr)
        minmax(0, 2fr);
    gap: 55px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand h2,
.footer-column h3 {
    color: #f5e9de;
}

.footer-brand h2 {
    margin-top: 0;
}

.footer-brand p {
    line-height: 1.65;
}

.footer-navigation {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 35px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-column h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.site-footer a {
    color: #f5e9de;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #e38fa8;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 233, 222, 0.25);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 850px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-navigation {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .site-footer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .footer-navigation {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   Public information pages
   ================================================== */

.information-page {
    background: #f5e9de;
    color: #4a2c2a;
}

.information-hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.information-section {
    padding: 75px 24px;
}

.information-section-alt {
    background: rgba(255, 255, 255, 0.45);
}

.information-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.information-card {
    padding: 32px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.09);
}

.information-card h2 {
    font-size: 1.35rem;
}

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

.information-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: 0;
    border-radius: 50%;
    background: #e38fa8;
    color: #f5e9de;
    font-weight: 800;
}

.information-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 42px;
    max-width: 1050px;
    margin: 0 auto;
}

.information-split p,
.information-text-panel li,
.information-notice p {
    line-height: 1.75;
}

.information-highlight-box {
    padding: 30px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(74, 44, 42, 0.08);
}

.information-highlight-box h3 {
    margin-top: 0;
}

.information-text-panel,
.information-notice {
    max-width: 950px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.08);
}

.information-text-panel li {
    margin-bottom: 12px;
}

.information-notice {
    border-left: 8px solid #e38fa8;
}

.information-cta {
    padding: 70px 24px;
    background: #9bb7a5;
    text-align: center;
}

.information-cta > div {
    max-width: 750px;
    margin: 0 auto;
}

.information-cta p:not(.eyebrow) {
    line-height: 1.7;
}

@media (max-width: 850px) {
    .information-card-grid,
    .information-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .information-section {
        padding: 55px 18px;
    }

    .information-card,
    .information-highlight-box,
    .information-text-panel,
    .information-notice {
        padding: 26px 22px;
    }
}

/* ==================================================
   Allergen information page
   ================================================== */

.allergen-important-notice,
.allergen-safety-panel {
    max-width: 950px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.09);
}

.allergen-important-notice {
    border-left: 8px solid #b94f70;
}

.allergen-important-notice p,
.allergen-safety-panel p {
    line-height: 1.75;
}

.allergen-section-heading {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.allergen-section-heading p {
    line-height: 1.7;
}

.allergen-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1050px;
    margin: 0 auto;
}

.allergen-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 8px 22px rgba(74, 44, 42, 0.07);
}

.allergen-action-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

@media (max-width: 850px) {
    .allergen-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

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

    .allergen-important-notice,
    .allergen-safety-panel {
        padding: 28px 22px;
    }

    .allergen-action-links {
        flex-direction: column;
        align-items: stretch;
    }

    .allergen-action-links .button {
        text-align: center;
    }
}

/* ==================================================
   Terms and conditions
   ================================================== */

.terms-document {
    max-width: 950px;
    margin: 0 auto;
    padding: 44px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.09);
}

.terms-updated {
    margin-top: 0;
    color: #52705d;
    font-weight: 800;
}

.terms-section {
    padding: 30px 0;
    border-bottom: 1px solid rgba(74, 44, 42, 0.14);
}

.terms-section:first-of-type {
    padding-top: 15px;
}

.terms-section:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.terms-section h2 {
    margin-top: 0;
    font-size: 1.45rem;
}

.terms-section p,
.terms-section address {
    line-height: 1.75;
}

.terms-section address {
    font-style: normal;
}

.terms-section a {
    overflow-wrap: anywhere;
}

@media (max-width: 550px) {
    .terms-document {
        padding: 28px 22px;
    }
}

/* Homepage Facebook panel */

.homepage-facebook-section {
    padding: 70px 24px;
    background: #f5e9de;
}

.homepage-facebook-panel {
    max-width: 850px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 26px;
    background: #9bb7a5;
    text-align: center;
    box-shadow: 0 14px 34px rgba(74, 44, 42, 0.12);
}

.homepage-facebook-panel p:not(.eyebrow) {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.7;
}

@media (max-width: 550px) {
    .homepage-facebook-section {
        padding: 55px 18px;
    }

    .homepage-facebook-panel {
        padding: 28px 22px;
    }
}

/* ==================================================
   Frequently asked questions
   ================================================== */

.faq-section {
    padding: 70px 24px;
}

.faq-section-alt {
    background: rgba(255, 255, 255, 0.45);
}

.faq-category {
    max-width: 950px;
    margin: 0 auto;
}

.faq-category-heading {
    margin-bottom: 30px;
    text-align: center;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid rgba(74, 44, 42, 0.13);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 7px 20px rgba(74, 44, 42, 0.06);
}

.faq-item summary {
    position: relative;
    padding: 22px 60px 22px 24px;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 24px;
    color: #b94f70;
    font-size: 1.7rem;
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item[open] summary {
    background: #fff8f5;
}

.faq-answer {
    padding: 0 24px 22px;
}

.faq-answer p {
    line-height: 1.7;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-more-link {
    margin-top: 26px;
    text-align: center;
}

.faq-contact-section {
    padding: 70px 24px;
    background: #f5e9de;
}

.faq-contact-panel {
    max-width: 850px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 26px;
    background: #9bb7a5;
    text-align: center;
    box-shadow: 0 14px 34px rgba(74, 44, 42, 0.12);
}

.faq-contact-panel p:not(.eyebrow) {
    line-height: 1.7;
}

@media (max-width: 550px) {
    .faq-section,
    .faq-contact-section {
        padding: 55px 18px;
    }

    .faq-item summary {
        padding: 20px 54px 20px 20px;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }

    .faq-contact-panel {
        padding: 28px 22px;
    }
}

/* ==================================================
   Contact page
   ================================================== */

.contact-option-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 1050px;
    margin: 0 auto;
}

.contact-option-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 34px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.09);
}

.contact-option-card h2 {
    margin-top: 0;
    font-size: 1.4rem;
}

.contact-option-card p {
    flex-grow: 1;
    line-height: 1.7;
}

.contact-details-panel {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 40px;
    max-width: 950px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(74, 44, 42, 0.08);
}

.contact-details-panel p,
.contact-details-panel address {
    line-height: 1.75;
}

.contact-details-panel address {
    font-style: normal;
}

@media (max-width: 750px) {
    .contact-option-grid,
    .contact-details-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .contact-option-card,
    .contact-details-panel {
        padding: 28px 22px;
    }
}

/* ==================================================
   Complete public header navigation
   ================================================== */

.site-header {
    position: relative;
    z-index: 1000;
    padding: 16px 24px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(74, 44, 42, 0.1);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1250px;
    margin: 0 auto;
}

.site-logo {
    flex-shrink: 0;
    color: #4a2c2a;
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-navigation > a,
.navigation-dropdown > summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 12px;
    border-radius: 999px;
    color: #4a2c2a;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.main-navigation > a:hover,
.main-navigation > a:focus-visible,
.navigation-dropdown > summary:hover,
.navigation-dropdown > summary:focus-visible,
.main-navigation [aria-current="page"],
.navigation-dropdown[data-current-section="true"] > summary {
    background: #f5e9de;
    color: #b94f70;
}

.navigation-dropdown {
    position: relative;
}

.navigation-dropdown > summary {
    list-style: none;
}

.navigation-dropdown > summary::-webkit-details-marker {
    display: none;
}

.navigation-dropdown > summary::after {
    content: "▾";
    margin-left: 7px;
    font-size: 0.8rem;
}

.navigation-dropdown[open] > summary::after {
    transform: rotate(180deg);
}

.navigation-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    min-width: 230px;
    padding: 10px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(74, 44, 42, 0.18);
}

.navigation-dropdown-menu a {
    padding: 11px 13px;
    border-radius: 10px;
    color: #4a2c2a;
    font-weight: 700;
    text-decoration: none;
}

.navigation-dropdown-menu a:hover,
.navigation-dropdown-menu a:focus-visible,
.navigation-dropdown-menu a[aria-current="page"] {
    background: #f5e9de;
    color: #b94f70;
}

.basket-navigation-link {
    gap: 7px;
}

.basket-navigation-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e38fa8;
    color: #ffffff;
    font-size: 0.82rem;
}

.navigation-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 0;
    border-radius: 999px;
    background: #f5e9de;
    color: #4a2c2a;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.navigation-toggle-icon {
    display: grid;
    gap: 4px;
    width: 20px;
}

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

@media (max-width: 950px) {
    .navigation-toggle {
        display: inline-flex;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        right: 18px;
        left: 18px;
        display: none;
        align-items: stretch;
        max-height: calc(100vh - 90px);
        padding: 16px;
        overflow-y: auto;
        border-radius: 0 0 20px 20px;
        background: #ffffff;
        box-shadow: 0 16px 30px rgba(74, 44, 42, 0.16);
    }

    .main-navigation.is-open {
        display: flex;
        flex-direction: column;
    }

    .main-navigation > a,
    .navigation-dropdown > summary {
        justify-content: space-between;
        width: 100%;
        border-radius: 12px;
    }

    .navigation-dropdown-menu {
        position: static;
        min-width: 0;
        margin-top: 6px;
        padding: 6px 0 6px 16px;
        box-shadow: none;
    }
}

/* ==================================================
   Mobile navigation and pricing-hero corrections
   ================================================== */

/* Mobile Help submenu */

@media (max-width: 950px) {
    .main-navigation {
        box-sizing: border-box;
        width: auto;
        min-width: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .main-navigation.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .main-navigation > a,
    .navigation-dropdown {
        flex: 0 0 auto;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .navigation-dropdown {
        position: static;
        display: block;
        overflow: hidden;
    }

    .navigation-dropdown > summary {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .navigation-dropdown-menu {
        position: static;
        inset: auto;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 8px 0 4px;
        padding: 8px 8px 8px 20px;
        overflow: hidden;
        border-left: 3px solid #e38fa8;
        border-radius: 0 12px 12px 0;
        background: #fff8f5;
        box-shadow: none;
        transform: none;
    }

    .navigation-dropdown-menu a {
        display: block;
        box-sizing: border-box;
        width: auto;
        min-width: 0;
        max-width: 100%;
        padding: 11px 13px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .navigation-dropdown[open] > summary {
        background: #f5e9de;
        color: #b94f70;
    }

    .basket-navigation-link {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    /*
     * Keep the Pricing hero and its contents within
     * the mobile viewport.
     */
    .pricing-page,
    .pricing-hero {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    .pricing-hero {
        padding-right: 18px;
        padding-left: 18px;
        overflow: hidden;
    }

    .pricing-hero-content {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    .pricing-hero-content h1,
    .pricing-hero-content p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .pricing-hero-actions {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    .pricing-hero-actions .button {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        white-space: normal;
    }

    .pricing-table-wrapper {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
}

/* ==================================================
   Final shared navigation system
   This block deliberately comes last so it replaces
   the older desktop and mobile navigation rules.
   ================================================== */

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    padding: 16px 24px;
    background: var(--white);
    border-bottom: 4px solid var(--blush);
    box-shadow: 0 4px 18px rgba(74, 44, 42, 0.1);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
    width: auto;
}

.navigation-dropdown-menu {
    z-index: 10;
}

@media (max-width: 950px) {
    .site-header {
        padding: 14px 18px;
        text-align: left;
    }

    .site-header-inner {
        flex-direction: row;
        gap: 16px;
    }

    .navigation-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .main-navigation,
    .main-navigation.is-open {
        position: absolute;
        top: 100%;
        right: 18px;
        left: 18px;
        box-sizing: border-box;
        width: auto;
        min-width: 0;
        max-height: calc(100vh - 90px);
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        padding: 16px;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 0 0 20px 20px;
        background: var(--white);
        box-shadow: 0 16px 30px rgba(74, 44, 42, 0.16);
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation > a,
    .navigation-dropdown,
    .navigation-dropdown > summary,
    .basket-navigation-link {
        box-sizing: border-box;
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .main-navigation > a,
    .navigation-dropdown > summary {
        justify-content: space-between;
        border-radius: 12px;
    }

    .navigation-dropdown {
        position: static;
        display: block;
        overflow: visible;
    }

    .navigation-dropdown-menu {
        position: static;
        inset: auto;
        display: grid;
        grid-template-columns: 1fr;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 8px 0 4px;
        padding: 8px 8px 8px 18px;
        overflow: visible;
        border-left: 3px solid var(--blush);
        border-radius: 0 12px 12px 0;
        background: #fff8f5;
        box-shadow: none;
        transform: none;
    }

    .navigation-dropdown-menu a {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 11px 13px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .site-logo {
        font-size: 1.15rem;
    }

    .navigation-toggle {
        padding: 9px 11px;
    }
}

/* ==================================================
   Alternating public-page hero system

   Customer journey:
   Home pink -> Shop green -> Custom pink -> Local green
   -> Pricing pink. Help pages continue the alternation.
   ================================================== */

.site-hero,
.home-hero,
.local-bakes-hero,
.custom-cake-hero,
.pricing-hero,
.information-page .information-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    min-height: 460px;
    padding: 80px 24px;
    color: var(--chocolate);
    text-align: center;
}

/* Pink heroes */
.home-hero,
.custom-cake-hero,
.pricing-hero,
.contact-page .information-hero,
.allergen-page .information-hero,
.privacy-page .information-hero {
    background:
        linear-gradient(
            135deg,
            rgba(227, 143, 168, 0.94),
            rgba(245, 233, 222, 0.96)
        );
}

/* Green heroes */
.local-bakes-hero,
.faq-page .information-hero,
.delivery-page .information-hero,
.terms-page .information-hero,
.information-page:not(.contact-page):not(.allergen-page):not(.privacy-page) .information-hero {
    background:
        linear-gradient(
            135deg,
            rgba(155, 183, 165, 0.98),
            rgba(245, 233, 222, 0.94)
        );
}

/* Postal Bakes does not use the large hero component. */
.shop-section > .section-heading {
    box-sizing: border-box;
    width: 100vw;
    max-width: none;
    min-height: 460px;
    margin: -60px calc(50% - 50vw) 45px;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background:
        linear-gradient(
            135deg,
            rgba(155, 183, 165, 0.98),
            rgba(245, 233, 222, 0.94)
        );
}

.site-hero h1,
.home-hero h1,
.local-bakes-hero h1,
.custom-cake-hero h1,
.pricing-hero h1,
.information-hero h1 {
    max-width: 850px;
    margin: 12px auto 20px;
    color: var(--chocolate);
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.08;
}

.site-hero p:not(.eyebrow),
.home-hero p:not(.eyebrow),
.local-bakes-hero p:not(.eyebrow),
.custom-cake-hero p:not(.eyebrow),
.pricing-hero p:not(.eyebrow),
.information-hero p:not(.eyebrow) {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    color: var(--chocolate);
    font-size: 1.1rem;
    line-height: 1.75;
}

/* Dark sage eyebrow text on pink heroes. */
.home-hero .eyebrow,
.custom-cake-hero .eyebrow,
.pricing-hero .eyebrow,
.contact-page .information-hero .eyebrow,
.allergen-page .information-hero .eyebrow,
.privacy-page .information-hero .eyebrow {
    color: #52705d;
    font-weight: 800;
}

/* Cream badges with chocolate text on green heroes. */
.local-bakes-hero .eyebrow,
.faq-page .information-hero .eyebrow,
.delivery-page .information-hero .eyebrow,
.terms-page .information-hero .eyebrow,
.information-page:not(.contact-page):not(.allergen-page):not(.privacy-page) .information-hero .eyebrow,
.shop-section > .section-heading .eyebrow {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--chocolate);
    font-weight: 800;
}

/* Remove pink text from every established solid-green panel. */
.home-feature-panel .eyebrow,
.local-enquiry-panel .eyebrow,
.custom-enquiry-panel .eyebrow,
.pricing-information-panel .eyebrow,
.information-cta .eyebrow,
.homepage-facebook-panel .eyebrow,
.faq-contact-panel .eyebrow {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--chocolate);
    font-weight: 800;
}

.home-feature-panel h2,
.local-enquiry-panel h2,
.custom-enquiry-panel h2,
.pricing-information-panel h2,
.information-cta h2,
.homepage-facebook-panel h2,
.faq-contact-panel h2 {
    color: var(--chocolate);
}

@media (max-width: 600px) {
    .site-hero,
    .home-hero,
    .local-bakes-hero,
    .custom-cake-hero,
    .pricing-hero,
    .information-page .information-hero {
        width: 100vw;
        min-height: 400px;
        max-width: none;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 60px 18px;
        overflow: hidden;
    }

    .site-hero > div,
    .home-hero > div,
    .local-bakes-hero > div,
    .custom-cake-hero > div,
    .pricing-hero > div,
    .information-hero > div {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    .site-hero h1,
    .home-hero h1,
    .local-bakes-hero h1,
    .custom-cake-hero h1,
    .pricing-hero h1,
    .information-hero h1,
    .site-hero p,
    .home-hero p,
    .local-bakes-hero p,
    .custom-cake-hero p,
    .pricing-hero p,
    .information-hero p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .shop-section > .section-heading {
        width: 100vw;
        min-height: 400px;
        margin-top: -45px;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 42px 18px;
        border-radius: 0;
    }
}

/* Homepage brand lock-up (kept after shared hero rules). */
.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.home-hero .home-hero-content {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.home-hero .home-hero-logo {
    display: block;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: min(72vw, 620px);
    max-width: none;
    height: auto;
    aspect-ratio: 1;
    margin: 0;
    object-fit: contain;
    opacity: 0.11;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.home-hero h1 {
    width: 100%;
    max-width: 800px;
    font-size: clamp(2.45rem, 6vw, 4rem);
    overflow-wrap: normal;
    word-break: normal;
}

.home-hero .home-hero-tagline {
    max-width: 720px;
    margin: -4px auto 18px;
    color: var(--chocolate);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .home-hero .home-hero-logo {
        top: 48%;
        width: min(96vw, 500px);
        margin: 0;
        opacity: 0.09;
    }

    .home-hero .home-hero-tagline {
        font-size: 1.3rem;
    }

    .home-hero h1 {
        font-size: clamp(2.25rem, 12vw, 3.25rem);
    }
}

/* ==================================================
   Branded error page
   ================================================== */

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    min-height: 65vh;
    padding: 70px 24px;
    background:
        linear-gradient(
            135deg,
            rgba(155, 183, 165, 0.96),
            rgba(245, 233, 222, 0.96)
        );
}

.error-panel {
    width: 100%;
    max-width: 850px;
    padding: 55px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    box-shadow: 0 16px 40px rgba(74, 44, 42, 0.14);
}

.error-panel .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--chocolate);
    font-weight: 800;
}

.error-panel h1 {
    max-width: 700px;
    margin: 0 auto 20px;
    color: var(--chocolate);
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.1;
}

.error-panel > p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.75;
}

.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

@media (max-width: 600px) {
    .error-page {
        padding: 45px 18px;
    }

    .error-panel {
        padding: 36px 22px;
        border-radius: 22px;
    }

    .error-page-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .error-page-actions .button {
        width: 100%;
        text-align: center;
    }
}

/* Dispatch batch actions */

.dispatch-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.dispatch-card-actions .small-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

@media (max-width: 600px) {
    .dispatch-card-actions {
        flex-direction: column;
    }

    .dispatch-card-actions .small-button {
        width: 100%;
    }
}

/* Subscription prices match one-off pricing */

.subscription-frequency {
    margin: 0 0 4px;
}

.subscription-price {
    margin: 0 0 14px;
}

.subscription-price-suffix {
    color: #4a2c2a;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
}

/* Subscription account: multiple subscriptions */

.subscription-account-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.subscription-account-list .button {
    margin: 0;
}

@media (max-width: 600px) {
    .subscription-account-list {
        flex-direction: column;
    }

    .subscription-account-list .button {
        width: 100%;
        text-align: center;
    }
}

