/* Baked Comforts custom styles */
.frame {
    background: #eee2d2;
}

.aspect-photo {
    aspect-ratio: 4 / 3;
}

.feature-title {
    display: block;
    padding: .8rem 1rem .9rem;
    background: #fffaf3;
    color: #3d3028;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.45rem;
    font-style: italic;
    font-weight: 700;
    text-align: center;
}

.shadow-border {
    box-shadow: 0 1px 0 #d9c5b2, 0 4px 16px rgb(61 48 40 / 8%);
}

.shadow-border-hover {
    box-shadow: 0 2px 0 #bf856c, 0 8px 24px rgb(61 48 40 / 14%);
}

.font-display {
    font-family: "Cormorant Garamond", serif;
}

.text-display {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    line-height: .95;
}

.text-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
}

.coming-soon-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem 1rem;
    width: min(100% - 2rem, 72rem);
    margin: 0 auto 2rem;
    padding: .8rem 1rem;
    border: 1px solid #bf856c;
    border-radius: 999px;
    background: #86543d;
    color: #fffaf3;
    text-align: center;
}

.coming-soon-banner span {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.coming-soon-banner strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.35rem;
    font-style: italic;
}

.order-form {
    margin: 0 auto 5rem;
    max-width: 42rem;
    padding: 1.5rem;
    border: 1px solid #d9c5b2;
    border-radius: .75rem;
    background: #fffaf3;
    box-shadow: 0 4px 16px rgb(61 48 40 / 8%);
}

.order-form label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 600;
    color: #75675d;
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    border: 1px solid #d9c5b2;
    border-radius: .5rem;
    padding: .7rem .8rem;
    background: #fff;
    color: #3d3028;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    outline: 2px solid #bf856c;
    outline-offset: 1px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-help {
    margin: .4rem 0 0;
    color: #9a8879;
    font-size: .85rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 11rem;
    gap: 1rem;
}

.gallery-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: .75rem;
    object-fit: cover;
    box-shadow: 0 1px 0 #d9c5b2, 0 4px 16px rgb(61 48 40 / 8%);
}

.gallery-image-tall {
    grid-row: span 2;
}

.gallery-image-wide {
    grid-column: span 2;
}

.order-prompt {
    padding-block: 0 4rem;
}

.order-prompt-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem 2rem;
    border: 1px solid var(--page-border);
    border-radius: .75rem;
    background: var(--page-surface);
    box-shadow: 0 4px 16px rgb(61 48 40 / 8%);
}

.prompt-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .55rem;
    border-radius: .45rem;
    padding: .75rem 1rem;
    background: var(--page-accent-bright);
    color: var(--page-surface);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 0 #854722;
}

.prompt-button:hover {
    background: #854722;
}

.basket-prompt {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: calc(100% - 2rem);
    padding: .7rem .75rem .7rem 1rem;
    border: 1px solid var(--page-border);
    border-radius: .65rem;
    background: var(--page-surface);
    box-shadow: 0 8px 24px rgb(61 48 40 / 18%);
}

.basket-prompt[hidden] {
    display: none;
}

.basket-prompt-count {
    color: var(--page-text);
    font-size: .9rem;
    font-weight: 700;
}

.basket-prompt a {
    border-radius: .4rem;
    padding: .55rem .75rem;
    background: var(--page-accent-bright);
    color: var(--page-surface);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .order-prompt-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .prompt-button {
        width: 100%;
        justify-content: center;
    }

    .basket-prompt {
        right: .75rem;
        bottom: .75rem;
        left: .75rem;
        justify-content: space-between;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 9rem;
    }
}

:root {
    --page-bg: #f6f0e6;
    --page-surface: #fffaf3;
    --page-text: #3d3028;
    --page-muted: #75675d;
    --page-border: #d9c5b2;
    --page-accent: #86543d;
    --page-accent-bright: #a95f32;
    --page-label: #9a5b2f;
    --page-review: #fff0bf;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #d9c887;
    background-image: linear-gradient(rgb(246 240 230 / 74%), rgb(246 240 230 / 74%)), url("images/products/Cookies-background.jpg");
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    color: var(--page-text);
    font-family: "Nunito Sans", sans-serif;
    line-height: 1.6;
}

.cookie-page-shell {
    background-color: transparent !important;
    background-image: linear-gradient(rgb(246 240 230 / 74%), rgb(246 240 230 / 74%)), url("images/products/Cookies-background.jpg");
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

.cookie-border {
    width: 100%;
    height: 5.5rem;
    background: var(--page-surface) url("images/products/Cookiesborder.jpg") center / auto 100% repeat-x;
    border-top: 1px solid var(--page-border);
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.5rem;
    padding: .55rem max(1rem, 5vw);
    border-bottom: 1px solid rgb(217 197 178 / 80%);
    background: rgb(246 240 230 / 94%);
    backdrop-filter: blur(12px);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
}

.header-coming-soon {
    margin-right: auto;
    border: 1px solid var(--page-accent-bright);
    border-radius: 999px;
    padding: .35rem .75rem;
    background: #fff0bf;
    color: var(--page-accent);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-brand-image {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    object-fit: cover;
}

.hero-logo {
    aspect-ratio: 1;
    object-fit: contain;
    position: relative;
    z-index: 1;
    border-radius: 50%;
}

.home-hero-art {
    position: relative;
    isolation: isolate;
}

.hero-cookie-backdrop {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: min(34rem, 130%);
    max-width: none;
    transform: translate(-50%, -50%) rotate(-12deg);
    opacity: .44;
    filter: brightness(1.12) saturate(1.08);
    pointer-events: none;
}

.home-hero-art {
    min-height: clamp(18rem, 42vw, 28rem);
    display: grid;
    place-items: center;
    overflow: visible;
}

.site-brand strong,
.site-brand small {
    display: block;
}

.site-brand strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.55rem;
    font-style: italic;
    line-height: 1;
}

.site-brand small {
    margin-top: .25rem;
    color: var(--page-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .35rem;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--page-border);
    border-radius: .45rem;
    padding: .45rem .6rem;
    background: var(--page-surface);
    color: var(--page-text);
}

.menu-toggle span { display: block; width: 1.2rem; height: 2px; margin: 3px 0; background: currentColor; }
.menu-toggle b { font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }

.admin-orders { margin-top: 3rem; }
.order-tools { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 1rem 0; }
.order-tools label, .admin-order-actions label { display: grid; gap: .35rem; color: var(--page-muted); font-size: .85rem; font-weight: 700; }
.order-tools select, .admin-order-actions select { border: 1px solid var(--page-border); border-radius: .4rem; padding: .55rem; background: var(--page-surface); color: var(--page-text); }
.admin-orders-list { display: grid; gap: 1rem; }
.admin-order-card { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.25rem; border: 1px solid var(--page-border); border-radius: .65rem; background: var(--page-surface); }
.admin-order-card h3 { margin: .25rem 0; font-family: "Cormorant Garamond", serif; font-size: 1.5rem; }
.admin-order-card p { margin: .25rem 0; color: var(--page-muted); }
.admin-order-actions { display: grid; min-width: 10rem; gap: .65rem; align-content: start; }
.admin-order-actions strong { font-size: 1.1rem; }

.site-nav a,
.nav-button {
    border-radius: .45rem;
    padding: .55rem .8rem;
    color: var(--page-muted);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a.active,
button[type="submit"],
.bg-primary {
    background-color: var(--page-accent-bright) !important;
    color: var(--page-surface) !important;
}

.site-nav .cart-link {
    position: relative;
    display: inline-flex;
    width: 3.15rem;
    height: 3.15rem;
    align-items: center;
    justify-content: center;
    margin-inline: .25rem;
    border-radius: 999px;
    padding: 0;
    background: var(--page-surface) !important;
    color: var(--page-text) !important;
    box-shadow: 0 1px 0 var(--page-border), 0 4px 16px rgb(61 48 40 / 8%);
}

.site-nav .cart-link img {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
}

.site-nav .cart-link:hover {
    background: #eee2d2 !important;
    box-shadow: 0 2px 0 #bf856c, 0 8px 24px rgb(61 48 40 / 14%);
}

button[type="submit"]:hover,
.bg-primary:hover {
    background-color: #854722 !important;
}

.basket-count {
    position: absolute;
    top: -.2rem;
    right: -.15rem;
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    border: 2px solid var(--page-surface);
    border-radius: 999px;
    background: #684322;
    color: var(--page-surface);
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
}

main a[href="about.html"],
.cookie-action {
    background-color: var(--page-accent-bright) !important;
    color: var(--page-surface) !important;
    box-shadow: 0 2px 0 #854722, 0 6px 14px rgb(133 71 34 / 18%);
}

main a[href="about.html"]:hover,
.cookie-action:hover {
    background-color: #854722 !important;
    color: var(--page-surface) !important;
}

.site-nav a:hover,
.site-nav a.active {
    background: #eee2d2;
    color: var(--page-text);
}

.page-width {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
}

.page-intro {
    width: min(100% - 2rem, 58rem);
    margin: 0 auto;
    padding: 5rem 0 3rem;
    text-align: center;
}

.page-intro h1,
.about-hero h1 {
    max-width: 48rem;
    margin: .5rem auto 1rem;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-style: italic;
    line-height: .95;
}

.page-intro p:not(.eyebrow),
.lead {
    color: var(--page-muted);
    font-size: 1.15rem;
}

.eyebrow {
    margin: 0;
    color: var(--page-label);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    padding-bottom: 5rem;
}

.product-card {
    overflow: hidden;
    border: 2px solid #e2be61;
    border-radius: .75rem;
    background: var(--page-surface);
    box-shadow: 0 4px 16px rgb(61 48 40 / 8%);
}

@media (max-width: 640px) {
    .menu-toggle { display: block; }
    .site-header { flex-wrap: wrap; }
    .site-header .menu-toggle { order: 2; }
    .site-nav { display: none; order: 4; width: 100%; align-items: stretch; flex-direction: column; padding-top: .5rem; }
    .menu-open .site-nav { display: flex; }
    .site-nav a { width: 100%; text-align: center; }
    .site-nav .cart-link { width: 100%; height: auto; min-height: 3rem; margin: 0; }
    .order-tools, .admin-order-card { align-items: stretch; flex-direction: column; }
    .admin-order-actions { min-width: 0; }
    .header-coming-soon {
        order: 3;
        width: 100%;
        margin-right: 0;
        text-align: center;
    }

    .cookie-border {
        height: 4rem;
    }
}

.product-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-card div {
    padding: 1.15rem;
}

.product-card h2,
.about-grid h2,
.about-note h2 {
    margin: .35rem 0 .5rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    line-height: 1;
}

.product-card p:not(.eyebrow),
.about-grid p:not(.eyebrow),
.about-note p:not(.eyebrow) {
    color: var(--page-muted);
}

.product-card strong {
    display: block;
    margin-top: 1rem;
    color: var(--page-accent-bright);
}

.product-card .eyebrow {
    color: var(--page-accent-bright);
}

.add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    margin-top: 1.25rem;
    border: 0;
    border-radius: .45rem;
    padding: .7rem 1rem;
    min-height: 2.75rem;
    background: #f5e7b5;
    color: #684322;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: background-color .15s ease, transform .15s ease;
}

.add-to-cart img {
    width: 1.15rem;
    height: 1.15rem;
    object-fit: contain;
}

.add-to-cart:hover {
    background: #ead391;
}

.add-to-cart.added {
    background: #e2c56b;
}

.week-badge {
    display: block;
    margin: .75rem .75rem 0;
    border: 1px solid #e2be61;
    border-radius: 999px;
    padding: .35rem .7rem;
    background: #fff4cf;
    color: #684322;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.add-to-cart:active {
    transform: scale(.98);
}

.cart-link {
    position: relative;
    display: inline-grid !important;
    width: 2.5rem;
    height: 2.5rem;
    padding: .45rem !important;
    place-items: center;
}

.cart-link img {
    width: 1.6rem;
    height: 1.6rem;
    object-fit: contain;
}

.cart-count {
    position: absolute;
    top: -.15rem;
    right: -.15rem;
    display: grid;
    width: 1.15rem;
    height: 1.15rem;
    place-items: center;
    border: 2px solid var(--page-surface);
    border-radius: 999px;
    background: #684322;
    color: var(--page-surface);
    font-size: .65rem;
    font-weight: 800;
    line-height: 1;
}

.cart-page {
    width: min(100% - 2rem, 58rem);
    margin: 0 auto;
    padding: 4rem 0 5rem;
}

.cart-list {
    display: grid;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 6rem 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e2be61;
    border-radius: .75rem;
    background: var(--page-surface);
}

.cart-item img {
    width: 6rem;
    height: 5rem;
    border-radius: .5rem;
    object-fit: cover;
}

.cart-item h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem;
    line-height: 1;
}

.cart-item p {
    margin: .35rem 0 0;
    color: var(--page-muted);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.cart-item-controls button {
    min-width: 2.75rem;
    min-height: 2.75rem;
    border: 1px solid var(--page-border);
    border-radius: .35rem;
    background: var(--page-surface);
    color: var(--page-accent-bright);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.cart-item-controls button:hover {
    background: #fff0bf;
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: .75rem;
    background: var(--page-review);
}

.cart-summary strong {
    color: #684322;
    font-size: 1.2rem;
}

.cart-empty {
    padding: 2rem;
    border: 2px dashed #e2be61;
    border-radius: .75rem;
    background: var(--page-surface);
    color: var(--page-muted);
    text-align: center;
}

.checkout-page {
    width: min(100% - 2rem, 68rem);
    margin: 0 auto;
    padding: 4rem 0 5rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.checkout-panel,
.checkout-summary {
    padding: 1.5rem;
    border: 2px solid #e2be61;
    border-radius: .75rem;
    background: var(--page-surface);
    box-shadow: 0 4px 16px rgb(61 48 40 / 8%);
}

.checkout-panel h2,
.checkout-summary h2 {
    margin: 0 0 1.25rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    line-height: 1;
}

.checkout-form {
    display: grid;
    gap: 1rem;
}

.checkout-form label {
    display: grid;
    gap: .35rem;
    color: var(--page-label);
    font-weight: 700;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    width: 100%;
    border: 1px solid var(--page-border);
    border-radius: .45rem;
    padding: .7rem .8rem;
    background: #fffdf7;
    color: var(--page-text);
    font: inherit;
}

.checkout-address {
    display: grid;
    gap: 1rem;
    margin-top: .75rem;
}

.checkout-address-row {
    display: grid;
    grid-template-columns: 1fr .75fr;
    gap: 1rem;
}

.field-optional {
    color: var(--page-muted);
    font-size: .8rem;
    font-weight: 400;
}

.delivery-note {
    margin: -.35rem 0 0;
    color: var(--page-muted);
    font-size: .9rem;
}

.payment-options {
    display: grid;
    gap: .65rem;
    margin-top: .5rem;
}

.payment-option {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .65rem;
    border: 1px solid var(--page-border);
    border-radius: .45rem;
    padding: .75rem;
    background: #fffdf7;
    color: var(--page-text) !important;
    cursor: pointer;
}

.payment-option input {
    width: auto;
}

.payment-note {
    margin: 0;
    color: var(--page-muted);
    font-size: .9rem;
}

.checkout-items {
    display: grid;
    gap: .7rem;
    margin-bottom: 1.25rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--page-muted);
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--page-border);
    padding-top: 1rem;
    color: #684322;
    font-size: 1.15rem;
    font-weight: 800;
}

.checkout-disabled {
    width: 100%;
    margin-top: 1.25rem;
    border: 0;
    border-radius: .45rem;
    padding: .8rem 1rem;
    background: #eadfc2;
    color: #806b4d;
    cursor: not-allowed;
    font: inherit;
    font-weight: 800;
}

.checkout-submit {
    background: var(--page-accent-bright);
    color: var(--page-surface);
    cursor: pointer;
}

.checkout-submit:hover {
    background: #854722;
}

.checkout-submit:disabled {
    cursor: not-allowed;
    opacity: .65;
}

@media (max-width: 760px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-address-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-intro,
    .cart-page,
    .checkout-page {
        padding-top: 2.75rem;
        padding-bottom: 3.5rem;
    }

    .page-intro {
        padding-inline: .25rem;
    }

    .page-intro h1,
    .about-hero h1 {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .home-hero-art {
        min-height: 18rem;
    }

    .hero-cookie-backdrop {
        width: 140%;
        opacity: .22;
    }

    .product-card div {
        padding: 1rem;
    }

    .cart-item {
        grid-template-columns: 4.5rem 1fr;
        gap: .75rem;
    }

    .cart-item img {
        width: 4.5rem;
        height: 4.5rem;
    }

    .cart-item-controls {
        grid-column: 1 / -1;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .cart-item-controls button:last-child {
        flex: 1 1 auto;
    }

    .cart-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-summary .inline-button {
        width: 100%;
        text-align: center;
    }

    .checkout-panel,
    .checkout-summary {
        padding: 1rem;
    }

    .checkout-form input,
    .checkout-form textarea,
    .checkout-form select,
    .checkout-disabled {
        min-height: 2.75rem;
    }
}

.order-form label {
    color: var(--page-label);
}

blockquote {
    border: 1px solid #e2be61;
    background: var(--page-review) !important;
}

blockquote p {
    color: #684322 !important;
}

blockquote footer {
    color: #996338 !important;
}

blockquote footer span {
    color: #684322 !important;
}

.about-hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 4rem;
    padding-block: 5rem;
}

.about-hero h1 {
    margin-left: 0;
}

.about-hero img {
    width: min(100%, 28rem);
    justify-self: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding-block: 3rem 5rem;
    border-top: 1px solid var(--page-border);
}

.about-note {
    margin-bottom: 5rem;
    padding: 2rem;
    border-radius: .75rem;
    background: #eee2d2;
}

.inline-button {
    display: inline-block;
    margin-top: 1rem;
}

.site-footer {
    padding: 2rem 1rem;
    border-top: 1px solid var(--page-border);
    color: var(--page-muted);
    text-align: center;
}

.account-page,
.admin-page {
    width: min(100% - 2rem, 68rem);
    margin: 0 auto;
    padding: 4rem 0 5rem;
}

.auth-panel {
    width: min(100%, 34rem);
    margin: 0 auto;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 2px solid #e2be61;
    border-radius: .75rem;
    background: var(--page-surface);
    box-shadow: 0 4px 16px rgb(61 48 40 / 8%);
}

.auth-panel h1,
.account-heading h1 {
    margin: .35rem 0 .75rem;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-style: italic;
    line-height: .95;
}

.auth-intro,
.account-muted {
    color: var(--page-muted);
}

.auth-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.auth-form label,
.stock-fields label,
.upload-field {
    display: grid;
    gap: .35rem;
    color: var(--page-label);
    font-weight: 700;
}

.auth-form input,
.auth-form select,
.stock-fields input,
.upload-field input {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid var(--page-border);
    border-radius: .45rem;
    padding: .65rem .75rem;
    background: #fffdf7;
    color: var(--page-text);
    font: inherit;
}

.auth-submit {
    width: 100%;
    min-height: 2.75rem;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.form-status {
    min-height: 1.5rem;
    margin: 0;
    color: var(--page-accent-bright);
    font-size: .9rem;
    font-weight: 700;
}

.demo-note {
    margin: 1.5rem 0 0;
    color: var(--page-muted);
    font-size: .8rem;
}

.account-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.secondary-button {
    min-height: 2.75rem;
    border: 1px solid var(--page-border);
    border-radius: .45rem;
    padding: .65rem 1rem;
    background: var(--page-surface);
    color: var(--page-text);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.secondary-button:hover {
    background: #eee2d2;
}

.orders-list,
.stock-grid {
    display: grid;
    gap: 1rem;
}

.order-card,
.empty-panel,
.stock-card {
    border: 2px solid #e2be61;
    border-radius: .75rem;
    background: var(--page-surface);
    box-shadow: 0 4px 16px rgb(61 48 40 / 8%);
}

.order-card,
.empty-panel {
    padding: 1.25rem;
}

.order-card-heading,
.tracking-row,
.order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-card h2,
.empty-panel h2,
.stock-card h2 {
    margin: .35rem 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    line-height: 1;
}

.order-status {
    border-radius: 999px;
    padding: .35rem .7rem;
    background: #fff0bf;
    color: #684322;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.order-items,
.tracking-row,
.order-total {
    margin: 1rem 0 0;
    color: var(--page-muted);
}

.tracking-row {
    align-items: flex-start;
    border-top: 1px solid var(--page-border);
    padding-top: 1rem;
}

.tracking-row span {
    max-width: 65%;
    text-align: right;
}

.order-total {
    justify-content: flex-end;
    color: #684322;
}

.order-total strong {
    font-size: 1.15rem;
}

.empty-panel p {
    color: var(--page-muted);
}

.stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stock-card {
    overflow: hidden;
}

.stock-card-image {
    display: block;
    width: 100%;
    height: 11rem;
    object-fit: cover;
}

.stock-card-content {
    padding: 1.15rem;
}

.stock-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin: 1rem 0;
}

.upload-field input {
    min-height: auto;
    padding: .55rem;
    font-size: .85rem;
}

@media (max-width: 760px) {
    .site-header,
    .about-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header {
        position: static;
        gap: .75rem;
        padding: .7rem 1rem .85rem;
    }

    .site-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .35rem;
    }

    .site-nav > a:not(.cart-link) {
        min-width: 0;
        padding-inline: .3rem;
        text-align: center;
        white-space: nowrap;
    }

    .site-nav .cart-link {
        justify-self: center;
        margin-inline: 0;
    }

    .site-nav .nav-button {
        grid-column: 1 / -1;
        min-height: 2.75rem;
        padding-block: .65rem;
    }

    .site-nav .account-link {
        grid-column: 1 / -1;
        text-align: center;
    }

    .account-page,
    .admin-page {
        padding-top: 2.75rem;
        padding-bottom: 3.5rem;
    }

    .account-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .secondary-button {
        width: 100%;
    }

    .stock-grid {
        grid-template-columns: 1fr;
    }

    .tracking-row {
        flex-direction: column;
        gap: .35rem;
    }

    .tracking-row span {
        max-width: none;
        text-align: left;
    }

    .site-brand-image {
        width: 2.8rem;
        height: 2.8rem;
    }

    .product-grid,
    .about-grid,
    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hero {
        gap: 2rem;
    }
}
