﻿/* ═══════════════════════════════════════════════════════════════════════
   MASTER STYLESHEET – Artisan Pantry
   Merged from: vc.css, pd.css, shop.css, pc.css
   No conflicts – unified design tokens & component architecture
═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   DESIGN TOKENS (Global Variables)
═══════════════════════════════════════════════════════════════════════ */
:root {
    --shop-cream: #faf7f2;
    --shop-dark: #1a1a18;
    --shop-green: #2d5016;
    --shop-green-lt: #4a7c28;
    --shop-gold: #c9a84c;
    --shop-red: #b83232;
    --shop-grey: #6b6b6b;
    --shop-border: #e8e0d4;
    --radius-card: 12px;
    --shadow-sm: 0 2px 12px rgba(0,0,0,.07);
    --shadow-md: 0 6px 28px rgba(0,0,0,.12);
    --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

/* ═══════════════════════════════════════════════════════════════════════
   GLOBAL RESETS & BASE
═══════════════════════════════════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--shop-cream);
    font-family: 'DM Sans', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════════════
   COMMON COMPONENTS – Used across multiple pages
═══════════════════════════════════════════════════════════════════════ */

/* ----- Category Navigation Bar (used in vc, pd, pc) ----- */
.cat-nav-bar {
    background: #fff;
    border-bottom: 1px solid var(--shop-border);
    padding: 20px 0;
}

.cat-nav-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
    /* DataList override – dissolve table structure */
    .cat-nav-grid .cat-nav-inner,
    .cat-nav-grid .cat-nav-inner tbody,
    .cat-nav-grid .cat-nav-inner tr {
        display: contents;
    }

        .cat-nav-grid .cat-nav-inner td {
            display: block;
            padding: 0;
        }

.cat-nav-card {
    position: relative;
    display: block;
    width: 110px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    flex-shrink: 0;
}

    .cat-nav-card:hover,
    .cat-nav-card.active {
        border-color: var(--shop-gold);
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

    .cat-nav-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform var(--transition);
    }

    .cat-nav-card:hover img {
        transform: scale(1.07);
    }

    .cat-nav-card .cat-nav-label {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(26,26,24,.82) 0%, transparent 100%);
        color: #fff;
        font-size: 10px;
        font-weight: 600;
        text-align: center;
        padding: 14px 4px 5px;
        letter-spacing: .2px;
    }

/* ----- Breadcrumb (used in vc, pd) ----- */
.pd-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--shop-border);
    padding: 12px 0;
}

    .pd-breadcrumb .bc-inner {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12.5px;
        color: var(--shop-grey);
        flex-wrap: wrap;
    }

    .pd-breadcrumb a {
        color: var(--shop-green);
        text-decoration: none;
        font-weight: 500;
    }

        .pd-breadcrumb a:hover {
            text-decoration: underline;
        }

.bc-sep {
    color: #bbb;
    padding: 0 2px;
}

.bc-current {
    color: var(--shop-dark);
    font-weight: 600;
}

/* ----- Section Headers & Dividers (used in shop, pc) ----- */
.section-divider {
    width: 44px;
    height: 3px;
    background: var(--shop-gold);
    border-radius: 2px;
    margin-bottom: 10px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--shop-gold);
    margin-bottom: 6px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--shop-dark);
    margin: 0 0 10px;
}

.section-subtitle {
    font-size: 14.5px;
    color: var(--shop-grey);
    margin: 0 0 36px;
    max-width: 480px;
}

/* ----- Products Grid (used in shop, pc) ----- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1050px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 720px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 420px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* DataList override for product grid */
.products-grid .prod-datalist-inner,
.products-grid .prod-datalist-inner tbody,
.products-grid .prod-datalist-inner tr {
    display: contents;
}

    .products-grid .prod-datalist-inner td {
        display: block;
        padding: 0;
    }

/* ----- Product Card (used in shop, pc) ----- */
.product-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        text-decoration: none;
    }

    .product-card .img-wrap,
    .product-card .pc-img {
        position: relative;
        overflow: hidden;
        aspect-ratio: 4 / 3;
        background: var(--shop-cream);
        display: block;
    }

        .product-card .img-wrap img,
        .product-card .pc-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform var(--transition);
        }

    .product-card:hover .img-wrap img,
    .product-card:hover .pc-img img {
        transform: scale(1.06);
    }
/* Badges */
.badge-special,
.badge-sale,
.badge-oos {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    color: #fff;
}

.badge-special,
.badge-sale {
    background: var(--shop-gold);
}

.badge-oos {
    background: var(--shop-grey);
}
/* Card body */
.product-card .card-body,
.product-card .pc-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card .prod-name,
.product-card .pc-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--shop-dark);
    margin: 0 0 6px;
    line-height: 1.35;
}

.product-card .prod-weight,
.product-card .pc-weight {
    font-size: 12.5px;
    color: var(--shop-grey);
    margin-bottom: 10px;
}

.product-card .price-row,
.product-card .pc-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.product-card .price-now,
.product-card .pc-price-now {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--shop-green);
}

.product-card .price-was,
.product-card .pc-price-was {
    font-size: 13px;
    color: var(--shop-grey);
    text-decoration: line-through;
}

.product-card .out-of-stock-label,
.product-card .pc-oos {
    margin-top: auto;
    display: inline-block;
    background: #fdf0f0;
    color: var(--shop-red);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid #f5d5d5;
}

/* ----- Trust Strip (used in vc, pd, shop, pc) ----- */
.trust-strip {
    background: var(--shop-dark);
    color: #fff;
    padding: 24px 0;
}

    .trust-strip .container {
        display: flex;
        justify-content: center;
        gap: 48px;
        flex-wrap: wrap;
    }

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
}

    .trust-item svg {
        color: var(--shop-gold);
    }

/* ═══════════════════════════════════════════════════════════════════════
   PAGE-SPECIFIC STYLES
═══════════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────────────
   CART PAGE (.cart-page) – from vc.txt
────────────────────────────────────────────────────────────────────── */
.cart-page {
    background: var(--shop-cream);
    font-family: 'DM Sans', sans-serif;
    padding-bottom: 60px;
}

.cart-section {
    padding: 48px 0 0;
}

.cart-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

    .cart-heading .divbar {
        width: 44px;
        height: 3px;
        background: var(--shop-gold);
        border-radius: 2px;
    }

    .cart-heading h1 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        font-weight: 700;
        color: var(--shop-dark);
        margin: 0;
    }

    .cart-heading .item-count {
        background: var(--shop-gold);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        padding: 3px 11px;
        border-radius: 20px;
        margin-left: 4px;
    }

.cart-cancelled {
    background: #fdf0f0;
    border: 1px solid #f5d5d5;
    border-radius: var(--radius-card);
    padding: 24px 28px;
    margin-bottom: 28px;
    color: var(--shop-red);
    font-weight: 600;
    font-size: 15px;
}

    .cart-cancelled svg {
        vertical-align: middle;
        margin-right: 8px;
    }

.cart-num-header {
    padding-left: 8px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-table-wrap {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

    .cart-table-wrap table {
        width: 100%;
        border-collapse: collapse;
        font-family: 'DM Sans', sans-serif;
        font-size: 13.5px;
    }

        .cart-table-wrap table thead tr {
            background: var(--shop-dark);
            color: #fff;
        }

        .cart-table-wrap table thead th {
            padding: 14px 16px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            text-align: left;
            white-space: nowrap;
        }

            .cart-table-wrap table thead th:last-child {
                text-align: center;
            }

        .cart-table-wrap table tbody tr {
            border-bottom: 1px solid var(--shop-border);
            transition: background var(--transition);
        }

            .cart-table-wrap table tbody tr:last-child {
                border-bottom: none;
            }

            .cart-table-wrap table tbody tr:hover {
                background: var(--shop-cream);
            }

        .cart-table-wrap table tbody td,th  {
            padding: 16px;
            vertical-align: middle;
            color: var(--shop-dark);
        }

.cart-row-num {
    font-size: 12px;
    color: var(--shop-grey);
    font-weight: 600;
    width: 36px;
    text-align: center;
}

.cart-img-cell {
    width: 90px;
}

.cart-item-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--shop-border);
    display: block;
}

.cart-item-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--shop-dark);
    margin: 0;
}

.cart-price-now {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--shop-green);
}

.cart-weight {
    font-size: 11.5px;
    color: var(--shop-grey);
    margin-top: 3px;
}

.cart-qty-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--shop-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    padding: 7px 32px 7px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--shop-dark);
    cursor: pointer;
    transition: border-color var(--transition);
    min-width: 72px;
}

    .cart-qty-select:focus {
        outline: none;
        border-color: var(--shop-gold);
        box-shadow: 0 0 0 3px rgba(201,168,76,.15);
    }

.cart-subtotal {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--shop-dark);
}

.cart-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fdf0f0;
    border: 1px solid #f5d5d5;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

    .cart-delete-btn:hover {
        background: var(--shop-red);
        border-color: var(--shop-red);
    }

    .cart-delete-btn svg {
        color: var(--shop-red);
        transition: color var(--transition);
    }

    .cart-delete-btn:hover svg {
        color: #fff;
    }

.cart-table-wrap table tfoot tr {
    background: var(--shop-cream);
    border-top: 2px solid var(--shop-border);
}

.cart-table-wrap table tfoot td {
    padding: 16px;
    font-weight: 700;
    color: var(--shop-dark);
}

.cart-footer-label {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--shop-grey);
}

.cart-grand-total {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--shop-green);
}

.cart-empty {
    text-align: center;
    padding: 56px 24px;
    color: var(--shop-grey);
}

    .cart-empty svg {
        color: var(--shop-border);
        margin-bottom: 16px;
    }

    .cart-empty p {
        font-size: 15px;
        margin: 0 0 20px;
    }

    .cart-empty .btn-proceed {
        width: auto;
        display: inline-flex;
    }

.btn-history-detail {
    display: inline-block;
    padding: 6px 14px;
    background: var(--shop-cream);
    border: 1px solid var(--shop-border);
    border-radius: 6px;
    color: var(--shop-dark);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

    .btn-history-detail:hover {
        background: var(--shop-green);
        color: #fff;
        border-color: var(--shop-green);
    }

.loadingSpinner {
    text-align: center;
    padding: 20px;
    color: var(--shop-grey);
    font-size: 14px;
}

.cart-summary {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
    position: sticky;
    top: 90px;
}

.summary-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--shop-dark);
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--shop-border);
}

.shipping-options {
    margin-bottom: 20px;
}

.shipping-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid var(--shop-border);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 10px;
}

    .shipping-option:last-child {
        margin-bottom: 0;
    }

    .shipping-option:has(input:checked),
    .shipping-option.selected {
        border-color: var(--shop-gold);
        background: #fdf9f0;
    }

    .shipping-option input[type="radio"] {
        accent-color: var(--shop-gold);
        width: 16px;
        height: 16px;
        margin-top: 2px;
        flex-shrink: 0;
    }

.shipping-option-info {
    flex: 1;
}

.shipping-option-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--shop-dark);
    margin: 0 0 2px;
}

.shipping-option-desc {
    font-size: 11.5px;
    color: var(--shop-grey);
}

.summary-rows {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--shop-border);
    font-size: 13.5px;
}

    .summary-row:last-child {
        border-bottom: none;
    }

.summary-row-label {
    color: var(--shop-grey);
}

.summary-row-value {
    font-weight: 600;
    color: var(--shop-dark);
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0 0;
    border-top: 2px solid var(--shop-border);
    margin-top: 4px;
}

.summary-total-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--shop-grey);
}

.summary-total-value {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--shop-green);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.btn-proceed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--shop-green);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(45,80,22,.25);
    width: 100%;
}

    .btn-proceed:hover {
        background: var(--shop-green-lt);
        transform: translateY(-2px);
        box-shadow: 0 6px 22px rgba(45,80,22,.35);
        color: #fff;
        text-decoration: none;
    }

.btn-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--shop-green);
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 10px;
    border: 2px solid var(--shop-border);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
}

    .btn-continue:hover {
        border-color: var(--shop-green);
        background: #f0f7eb;
        color: var(--shop-green);
        text-decoration: none;
    }

.summary-trust {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--shop-border);
}

.summary-trust-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--shop-grey);
}

    .summary-trust-pill svg {
        color: var(--shop-gold);
    }

/* ──────────────────────────────────────────────────────────────────────
   PRODUCT DETAIL PAGE (.detail-page) – from pd.txt
────────────────────────────────────────────────────────────────────── */
.detail-page {
    background: var(--shop-cream);
    font-family: 'DM Sans', sans-serif;
}

.pd-section {
    padding: 48px 0 64px;
    background: var(--shop-cream);
}

.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 820px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.pd-img-panel {
    position: sticky;
    top: 90px;
}

.pd-img-main {
    border-radius: var(--radius-card);
    overflow: visible;
    background: #fff;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .pd-img-main a {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: var(--radius-card);
        overflow: hidden;
    }

    .pd-img-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        cursor: crosshair;
    }

.zoomContainer {
    border-radius: var(--radius-card) !important;
    box-shadow: var(--shadow-md) !important;
    overflow: hidden;
}

.zoomWindow {
    border-radius: var(--radius-card) !important;
}

.pd-img-hint {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--shop-grey);
}

    .pd-img-hint svg {
        color: var(--shop-gold);
    }

.pd-info-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pd-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--shop-gold);
    margin-bottom: 8px;
}

.pd-divider {
    width: 44px;
    height: 3px;
    background: var(--shop-gold);
    border-radius: 2px;
    margin-bottom: 12px;
}

.pd-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--shop-dark);
    line-height: 1.2;
    margin: 0 0 20px;
}

.pd-price-block {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 20px 24px;
    background: #fff;
    border-radius: var(--radius-card);
    border: 1px solid var(--shop-border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.pd-price-now {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--shop-green);
    line-height: 1;
}

.pd-price-was {
    font-size: 1.1rem;
    color: var(--shop-grey);
    text-decoration: line-through;
}

.pd-price-weight {
    font-size: 13px;
    color: var(--shop-grey);
    margin-left: auto;
    font-weight: 500;
}

.pd-saving {
    display: inline-block;
    background: #f0f7eb;
    border: 1px solid #c6ddb0;
    color: var(--shop-green);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.pd-oos-block {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    background: #fdf0f0;
    border: 1px solid #f5d5d5;
    border-radius: var(--radius-card);
    margin-bottom: 24px;
}

    .pd-oos-block svg {
        color: var(--shop-red);
        flex-shrink: 0;
    }

    .pd-oos-block span {
        font-size: 14px;
        font-weight: 600;
        color: var(--shop-red);
    }

.pd-description {
    font-size: 14.5px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 28px;
}

.pd-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--shop-green);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(45,80,22,.25);
    height: 52px;
    line-height: 1;
}

    .pd-cart-btn:hover {
        background: var(--shop-green-lt);
        transform: translateY(-2px);
        box-shadow: 0 6px 22px rgba(45,80,22,.35);
        color: #fff;
        text-decoration: none;
    }

    .pd-cart-btn svg {
        flex-shrink: 0;
    }

/* ── Size selector + buy row ───────────────────────────────────────────
   Groups the <select> and the green "Add to Cart" button onto one line
   so the page reads "[Size ▾]  [Add to Cart]" instead of stacking the
   raw browser dropdown above the button. */
.pd-buy-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.pd-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pd-field-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--shop-dark);
    margin: 0;
}

.pd-select-wrap {
    position: relative;
    display: inline-block;
}

/* Reset native arrow on the <select> so we can render our own caret via
   .pd-select-wrap::after — this keeps the look identical across browsers
   (Chrome's chevron, Firefox's triangle, Safari's blue arrow all differ). */
.pd-size-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    min-width: 190px;
    height: 52px;
    padding: 0 44px 0 16px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--shop-dark);
    background: #fff;
    border: 1px solid var(--shop-border);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

    .pd-size-select:hover {
        border-color: var(--shop-green);
    }

    .pd-size-select:focus {
        outline: none;
        border-color: var(--shop-green);
        box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.15);
    }

/* Custom caret rendered as a pseudo-element over the <select>. */
.pd-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 6px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='none' stroke='%232d5016' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M1 1l4 4 4-4'/></svg>");
    background-repeat: no-repeat;
    background-size: 10px 6px;
    pointer-events: none;
}

/* On narrow screens, stack the field above the button so neither shrinks
   awkwardly. The size dropdown grows to fill the row, the button matches. */
@media (max-width: 520px) {
    .pd-buy-row {
        flex-direction: column;
        align-items: stretch;
    }

    .pd-field,
    .pd-select-wrap {
        width: 100%;
    }

    .pd-cart-btn {
        justify-content: center;
        width: 100%;
    }
}

.pd-print-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--shop-grey);
    text-decoration: none;
    margin-left: 16px;
    transition: color var(--transition);
}

    .pd-print-link:hover {
        color: var(--shop-dark);
    }

.pd-print-row {
    display: block;
    margin-top: 12px;
}

    .pd-print-row .pd-print-link {
        margin-left: 0;
    }

.pd-guarantees {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--shop-border);
}

.pd-guarantee-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--shop-cream);
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--shop-dark);
    flex: 1;
    min-width: 130px;
}

    .pd-guarantee-pill svg {
        color: var(--shop-gold);
        flex-shrink: 0;
    }

#print {
    display: none;
}

@media print {
    #print {
        display: block;
    }

    .donotprint,
    .cat-nav-bar,
    .pd-breadcrumb,
    .trust-strip,
    header,
    footer {
        display: none !important;
    }
}

/* ──────────────────────────────────────────────────────────────────────
   SHOP PAGE (.shop-page) – from shop.txt
────────────────────────────────────────────────────────────────────── */
.shop-page {
    background: var(--shop-cream);
    font-family: 'DM Sans', sans-serif;
}

#shop-hero {
    position: relative;
    height: 340px;
    overflow: hidden;
    background: var(--shop-dark);
}

    #shop-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.55;
    }

    #shop-hero .hero-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 20px;
    }

    #shop-hero .hero-badge {
        display: inline-block;
        background: var(--shop-gold);
        color: #fff;
        font-family: 'DM Sans', sans-serif;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        padding: 5px 16px;
        border-radius: 20px;
        margin-bottom: 14px;
    }

    #shop-hero h1 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(2rem, 5vw, 3.2rem);
        font-weight: 700;
        color: #fff;
        margin: 0 0 12px;
        line-height: 1.15;
        text-shadow: 0 2px 20px rgba(0,0,0,.4);
    }

    #shop-hero p {
        font-family: 'DM Sans', sans-serif;
        font-size: 15px;
        color: rgba(255,255,255,.82);
        max-width: 520px;
        margin: 0;
        line-height: 1.6;
    }

.shop-intro-text {
    background: #fff;
    border-bottom: 1px solid var(--shop-border);
    padding: 48px 0 40px;
}

.intro-text-inner {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.intro-text-body {
    flex: 1;
    min-width: 260px;
}

.intro-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 700;
    color: var(--shop-dark);
    line-height: 1.3;
    margin: 0 0 14px;
}

.intro-para {
    font-size: 14.5px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 16px;
}

.intro-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f7eb;
    border: 1px solid #c6ddb0;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--shop-green);
    line-height: 1.5;
}

    .intro-notice svg {
        flex-shrink: 0;
    }

.intro-cert {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--shop-cream);
    border: 1px solid var(--shop-border);
    border-radius: 10px;
    padding: 12px 18px;
    min-width: 180px;
}

    .cert-badge svg {
        color: var(--shop-gold);
        flex-shrink: 0;
    }

    .cert-badge span {
        font-size: 12.5px;
        font-weight: 600;
        color: var(--shop-dark);
        line-height: 1.35;
    }

@media (max-width: 680px) {
    .intro-cert {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .cert-badge {
        min-width: 0;
        flex: 1;
    }
}

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.specials-section {
    background: var(--shop-cream);
}

.shop-intro-banner {
    background: var(--shop-green);
    color: #fff;
    padding: 18px 0;
}

    .shop-intro-banner .container {
        display: flex;
        align-items: center;
        gap: 32px;
        flex-wrap: wrap;
    }

.intro-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
}

    .intro-pill svg {
        flex-shrink: 0;
        opacity: .9;
    }

.intro-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,.3);
}

.shop-section {
    padding: 60px 0;
}

.categories-section {
    background: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

@media (max-width: 1100px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 860px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 580px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* DataList override for categories grid (flatten <table> into CSS grid) */
.categories-grid .cat-datalist-inner,
.categories-grid .cat-datalist-inner tbody,
.categories-grid .cat-datalist-inner tr {
    display: contents;
}

.categories-grid .cat-datalist-inner td {
    display: block;
    padding: 0;
}

.categories-grid .cat-datalist-inner .cat-card {
    width: 100%;
    height: 100%;
}

.cat-card {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--shop-cream);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: block;
    text-decoration: none;
    aspect-ratio: 1 / 1;
}

    .cat-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        text-decoration: none;
    }

    .cat-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform var(--transition);
        display: block;
    }

    .cat-card:hover img {
        transform: scale(1.07);
    }

    .cat-card .cat-label {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(26,26,24,.82) 0%, transparent 100%);
        color: #fff;
        font-family: 'DM Sans', sans-serif;
        font-size: 13.5px;
        font-weight: 600;
        padding: 28px 12px 12px;
        text-align: center;
        letter-spacing: .3px;
    }

.specials-section .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.commonTbl {
    width: 100% !important;
}

/* ── Shop page CTA row (View All / Browse Categories) ─────────────── */
.shop-cta-row {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.btn-shop-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--shop-green);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(45,80,22,.22);
}

.btn-shop-cta:hover {
    background: var(--shop-green-lt);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(45,80,22,.32);
    color: #fff;
    text-decoration: none;
}

.btn-shop-cta svg { flex-shrink: 0; }

/* ── Shop page empty state (no products / no categories) ─────────── */
.shop-empty {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px dashed var(--shop-border);
    border-radius: var(--radius-card);
    padding: 48px 28px;
    text-align: center;
    color: var(--shop-grey);
}

.shop-empty svg {
    color: var(--shop-border);
    margin-bottom: 14px;
}

.shop-empty h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--shop-dark);
    margin: 0 0 6px;
}

.shop-empty p {
    font-size: 14px;
    margin: 0 0 16px;
    color: var(--shop-grey);
}

.shop-empty .btn-shop-cta { margin-top: 4px; }

/* ──────────────────────────────────────────────────────────────────────
   CATEGORY PAGE (.cat-page) – from pc.txt
────────────────────────────────────────────────────────────────────── */
.cat-page {
    background: var(--shop-cream);
    font-family: 'DM Sans', sans-serif;
}

.cat-header-block {
    background: #fff;
    padding: 36px 0 32px;
    border-bottom: 1px solid var(--shop-border);
}

.cat-header-inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.cat-header-text {
    flex: 1;
    min-width: 240px;
}

.cat-desc {
    font-size: 14.5px;
    line-height: 1.8;
    color: #444;
    max-width: 560px;
    margin: 0;
}

.cat-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.cat-stat-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--shop-cream);
    border: 1px solid var(--shop-border);
    border-radius: 10px;
    padding: 12px 18px;
    min-width: 180px;
}

    .cat-stat-pill svg {
        color: var(--shop-gold);
        flex-shrink: 0;
    }

    .cat-stat-pill span {
        font-size: 12.5px;
        font-weight: 600;
        color: var(--shop-dark);
        line-height: 1.35;
    }

@media (max-width: 660px) {
    .cat-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .cat-stat-pill {
        min-width: 0;
        flex: 1;
    }
}

.products-section {
    padding: 48px 0 60px;
    background: var(--shop-cream);
}
/* ══════════════════════════════════════════════════════════════════════
   CHECKOUT / ORDER DETAIL PAGE  (.checkout-page)
   Clean, on-brand checkout system. Replaces the previous order-detail
   ruleset. Uses the existing design tokens defined at the top of file.
══════════════════════════════════════════════════════════════════════ */
.checkout-page {
    background: var(--shop-cream);
    font-family: 'DM Sans', sans-serif;
    padding-bottom: 64px;
}

.checkout-section {
    padding: 40px 0 0;
}

/* ── Page heading + step indicator ─────────────────────────────────── */
.checkout-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.checkout-heading-text .divbar {
    width: 44px;
    height: 3px;
    background: var(--shop-gold);
    border-radius: 2px;
    margin-bottom: 10px;
}

.checkout-heading-text .checkout-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--shop-gold);
    margin: 0 0 4px;
}

.checkout-heading-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--shop-dark);
    margin: 0;
    line-height: 1.2;
}

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--shop-grey);
    padding: 8px 4px;
    white-space: nowrap;
}

.checkout-step .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--shop-border);
    color: var(--shop-grey);
    font-size: 12px;
    font-weight: 700;
}

.checkout-step.done .step-num {
    background: var(--shop-green);
    color: #fff;
}

.checkout-step.done {
    color: var(--shop-green);
}

.checkout-step.active .step-num {
    background: var(--shop-gold);
    color: var(--shop-dark);
    box-shadow: 0 0 0 4px rgba(201,168,76,.18);
}

.checkout-step.active {
    color: var(--shop-dark);
}

.checkout-step-sep {
    width: 26px;
    height: 1px;
    background: var(--shop-border);
}

/* ── Cancelled order notice (re-uses cart-cancelled look) ─────────── */
.checkout-cancelled {
    background: #fdf0f0;
    border: 1px solid #f5d5d5;
    border-radius: var(--radius-card);
    padding: 18px 22px;
    margin-bottom: 24px;
    color: var(--shop-red);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Two column layout ────────────────────────────────────────────── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 960px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

/* ── Generic card used in checkout (payment + address) ────────────── */
.checkout-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
}

.checkout-card .ck-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: #faf6ec;
    border-bottom: 1px solid var(--shop-border);
}

.checkout-card .ck-card-head .ck-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    color: var(--shop-green);
    border: 1px solid var(--shop-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-card .ck-card-head h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--shop-dark);
    margin: 0 0 2px;
    line-height: 1.2;
}

.checkout-card .ck-card-head p {
    font-size: 12.5px;
    color: var(--shop-grey);
    margin: 0;
}

/* ── Split variant of the card head ───────────────────────────────────
   Used on the Payment Method card so the header can show:
     LEFT  → payment method title + the currently selected method
     RIGHT → logged-in customer summary (name / email / phone)
   The base `.checkout-card .ck-card-head` rule above is flex; this
   modifier replaces it with a 2-column grid using equal specificity
   (later rule wins). */
.checkout-card .ck-card-head--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 24px;
    padding: 18px 22px;
}

    .checkout-card .ck-card-head--split .ck-head-left {
        display: flex;
        align-items: center;
        gap: 14px;
        min-width: 0;
    }

    .checkout-card .ck-card-head--split .ck-head-text {
        min-width: 0;
    }

    .checkout-card .ck-card-head--split .ck-current-pay {
        color: var(--shop-green);
        font-weight: 700;
    }

    .checkout-card .ck-card-head--split .ck-head-right {
        display: flex;
        align-items: center;
        padding-left: 24px;
        border-left: 1px dashed var(--shop-border);
        min-width: 0;
    }

/* Customer summary strip (right side of the split card head). */
.ck-user-strip {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

    .ck-user-strip .ck-user-name,
    .ck-user-strip .ck-user-row {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .ck-user-strip .ck-user-name {
        font-size: 14px;
        font-weight: 700;
        color: var(--shop-dark);
    }

    .ck-user-strip .ck-user-row {
        font-size: 12.5px;
        color: var(--shop-grey);
    }

        .ck-user-strip .ck-user-row .ck-user-muted {
            color: var(--shop-grey);
            font-style: italic;
        }

    .ck-user-strip svg {
        flex-shrink: 0;
        color: var(--shop-green);
        opacity: 0.75;
    }

    /* Truncate long emails/names so the right column never blows out the layout. */
    .ck-user-strip .ck-user-name > span,
    .ck-user-strip .ck-user-row > span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
        flex: 1;
    }

/* Stack on narrow screens — the dashed divider becomes horizontal. */
@media (max-width: 720px) {
    .checkout-card .ck-card-head--split {
        grid-template-columns: 1fr;
        gap: 14px;
    }

        .checkout-card .ck-card-head--split .ck-head-right {
            padding-left: 0;
            padding-top: 14px;
            border-left: none;
            border-top: 1px dashed var(--shop-border);
        }
}

.checkout-card .ck-card-body {
    padding: 22px;
}

/* ── Payment method radio cards ───────────────────────────────────── */
.pay-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 520px) {
    .pay-methods { grid-template-columns: 1fr; }
}

.pay-method {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--shop-border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
}

.pay-method:hover {
    border-color: var(--shop-gold);
    background: #fdf9f0;
}

.pay-method.selected {
    border-color: var(--shop-gold);
    background: #fdf9f0;
    box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}

.pay-method .pay-method-radio input[type="radio"] {
    accent-color: var(--shop-gold);
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 2px;
}

.pay-method .pay-method-body {
    flex: 1;
}

.pay-method .pay-method-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-dark);
    margin: 0 0 2px;
}

.pay-method .pay-method-title svg {
    color: var(--shop-gold);
}

.pay-method .pay-method-desc {
    font-size: 12px;
    color: var(--shop-grey);
    margin: 0;
    line-height: 1.45;
}

/* ── Address / contact form ───────────────────────────────────────── */
.ck-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 16px;
}

@media (max-width: 560px) {
    .ck-form-row { grid-template-columns: 1fr; }
}

.ck-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.ck-form-row > .ck-form-group {
    margin-bottom: 0;
}

.ck-form-group label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--shop-grey);
    margin: 0 0 7px;
}

.ck-form-group label .req {
    color: var(--shop-red);
    margin-left: 2px;
}

.ck-form-group input[type="text"],
.ck-form-group input[type="email"],
.ck-form-group input[type="tel"],
.ck-form-group input:not([type]),
.ck-form-group select,
.ck-form-group .form-control {
    width: 100%;
    padding: 11px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--shop-dark);
    background: var(--shop-cream);
    border: 1.5px solid var(--shop-border);
    border-radius: 10px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.ck-form-group input:focus,
.ck-form-group select:focus,
.ck-form-group .form-control:focus {
    outline: none;
    border-color: var(--shop-gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,.15);
    background: #fff;
}

.ck-field-note {
    font-size: 11.5px;
    color: var(--shop-grey);
    margin-top: 6px;
    display: inline-block;
}

.ck-contact-group {
    background: var(--shop-cream);
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    padding: 16px;
    margin-top: 6px;
}

.ck-contact-group label { color: var(--shop-dark); }

/* ── Order summary panel (right column, sticky) — WHITE CARD ──────── */
.order-summary {
    background: #fff;
    color: var(--shop-dark);
    border: 1px solid var(--shop-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: sticky;
    top: 100px;
    margin-bottom: 16px;
}

.order-summary .os-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: #faf6ec;
    border-bottom: 1px solid var(--shop-border);
}

.order-summary .os-head .os-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--shop-border);
    color: var(--shop-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.order-summary .os-head h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--shop-dark);
    margin: 0 0 2px;
}

.order-summary .os-head p {
    font-size: 12px;
    color: var(--shop-grey);
    margin: 0;
}

.order-summary .os-body {
    padding: 18px 22px 22px;
}

.os-item-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    max-height: 260px;
    overflow-y: auto;
}

.os-item-list::-webkit-scrollbar { width: 6px; }
.os-item-list::-webkit-scrollbar-thumb { background: var(--shop-border); border-radius: 4px; }

.os-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--shop-border);
}

.os-item:last-child { border-bottom: none; }

.os-item-img {
    position: relative;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--shop-cream);
    border: 1px solid var(--shop-border);
}

.os-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.os-item-qty-pill {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--shop-gold);
    color: var(--shop-dark);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(201,168,76,.35);
}

.os-item-info {
    flex: 1;
    min-width: 0;
}

.os-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--shop-dark);
    margin: 0 0 2px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.os-item-meta {
    font-size: 11px;
    color: var(--shop-grey);
}

.os-item-price {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-green);
    flex-shrink: 0;
    margin-left: 8px;
}

/* Totals breakdown */
.os-totals {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--shop-border);
}

.os-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    color: var(--shop-grey);
}

.os-totals-row.muted { color: var(--shop-grey); font-size: 12.5px; }

.os-totals-row .v {
    font-weight: 600;
    color: var(--shop-dark);
}

.os-grand {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0 4px;
    margin-top: 6px;
    border-top: 2px solid var(--shop-border);
}

.os-grand .lbl {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--shop-grey);
}

.os-grand .val {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--shop-green);
}

/* Free shipping / payment notices inside summary */
.os-notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--shop-cream);
    border: 1px solid var(--shop-border);
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--shop-dark);
}

.os-notice.gold {
    background: #fdf7e7;
    border: 1px solid #efdfa8;
    border-left: 3px solid var(--shop-gold);
}

.os-notice .os-notice-icon {
    flex-shrink: 0;
    color: var(--shop-gold);
    margin-top: 1px;
}

.os-notice strong {
    color: var(--shop-dark);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.os-notice p {
    margin: 0;
    color: var(--shop-grey);
}

/* ── Action buttons ───────────────────────────────────────────────── */
.os-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.btn-place-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--shop-gold);
    color: var(--shop-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 22px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(201,168,76,.28);
    width: 100%;
    text-decoration: none;
}

.btn-place-order:hover {
    background: #d8b762;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,.4);
    color: var(--shop-dark);
    text-decoration: none;
}

.btn-paypal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0070ba;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 22px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0,112,186,.3);
    width: 100%;
    text-decoration: none;
}

.btn-paypal:hover {
    background: #005a99;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,112,186,.4);
    color: #fff;
    text-decoration: none;
}

.os-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.btn-ghost-light {
    flex: 1;
    background: #fff;
    color: var(--shop-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    padding: 10px 14px;
    border: 1.5px solid var(--shop-border);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
}

.btn-ghost-light:hover {
    border-color: var(--shop-gold);
    color: var(--shop-dark);
    background: #fdf9f0;
    text-decoration: none;
}

.btn-ghost-danger {
    flex: 1;
    background: #fff;
    color: var(--shop-grey);
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    padding: 10px 14px;
    border: 1.5px solid var(--shop-border);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
}

.btn-ghost-danger:hover {
    color: var(--shop-red);
    border-color: var(--shop-red);
    background: #fdf0f0;
    text-decoration: none;
}

/* ── Loading overlay ─────────────────────────────────────────────── */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,26,24,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading-overlay .loading-card {
    background: #fff;
    padding: 28px 40px;
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.loading-overlay .spinner-ring {
    width: 44px;
    height: 44px;
    border: 4px solid var(--shop-border);
    border-top-color: var(--shop-gold);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: 0 auto 14px;
}

.loading-overlay p {
    font-size: 14px;
    font-weight: 600;
    color: var(--shop-dark);
    margin: 0;
}

.loading-spinner-mini {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--shop-dark);
    padding: 10px 18px;
    border-radius: 30px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.loading-spinner-mini .dots {
    width: 18px;
    height: 18px;
    background: var(--shop-gold);
    border-radius: 50%;
    animation: pulse .9s ease infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
    0%,100% { opacity: .35; transform: scale(.8); }
    50%     { opacity: 1;   transform: scale(1); }
}

/* Re-style legacy .loadingSpinner if used anywhere */
.loadingSpinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 22px 36px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--shop-green);
    z-index: 10001;
    text-align: center;
}

.loadingSpinner:before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto 10px;
    border: 3px solid var(--shop-border);
    border-top-color: var(--shop-gold);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

/* ══════════════════════════════════════════════════════════════════════
   ORDER COMPLETE / CONFIRMATION PAGE
   Re-uses .checkout-page, .checkout-heading, .checkout-steps,
   .checkout-card, .order-summary, .btn-place-order from above.
══════════════════════════════════════════════════════════════════════ */
.order-success {
    position: relative;
    background: linear-gradient(135deg, #f7fbe9 0%, #fdf7e7 100%);
    border: 1px solid #d6e6b0;
    border-radius: var(--radius-card);
    padding: 28px 28px 24px;
    margin-bottom: 28px;
    overflow: hidden;
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.order-success::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: var(--shop-green);
}

.order-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--shop-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(45,80,22,.3);
}

.order-success-text {
    flex: 1;
    min-width: 240px;
}

.order-success-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--shop-green);
    margin: 0 0 4px;
}

.order-success-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--shop-dark);
    margin: 0 0 6px;
    line-height: 1.2;
}

.order-success-text p {
    font-size: 14px;
    color: #4a4a4a;
    margin: 0;
    line-height: 1.55;
}

.order-info-pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    min-width: 200px;
}

.order-info-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--shop-border);
    border-radius: 10px;
    padding: 10px 14px;
}

.order-info-pill svg {
    color: var(--shop-gold);
    flex-shrink: 0;
}

.order-info-pill .lbl {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--shop-grey);
    display: block;
    line-height: 1;
    margin-bottom: 2px;
}

.order-info-pill .val {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--shop-dark);
    line-height: 1.2;
}

/* Status chip inside summary */
.os-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.os-status-chip.success {
    background: #e9f5db;
    color: var(--shop-green);
    border: 1px solid #c6ddb0;
}

.os-status-chip.pending {
    background: #fdf7e7;
    color: #946d10;
    border: 1px solid #efdfa8;
}

.os-status-chip.failure {
    background: #fdf0f0;
    color: var(--shop-red);
    border: 1px solid #f5d5d5;
}

/* "What happens next" card */
.next-steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.next-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.next-steps-list li .step-circle {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--shop-cream);
    border: 1px solid var(--shop-border);
    color: var(--shop-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.next-steps-list li .step-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-dark);
    margin-bottom: 2px;
}

.next-steps-list li .step-text span {
    font-size: 12.5px;
    color: var(--shop-grey);
    line-height: 1.5;
}

/* Items card (left column on order-complete) */
.items-card .items-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.items-card .items-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--shop-border);
}

.items-card .items-list li:last-child { border-bottom: none; }

.items-card .item-thumb {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--shop-cream);
    border: 1px solid var(--shop-border);
    flex-shrink: 0;
}

.items-card .item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.items-card .item-qty-pill {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--shop-gold);
    color: var(--shop-dark);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(201,168,76,.35);
}

.items-card .item-info {
    flex: 1;
    min-width: 0;
}

.items-card .item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--shop-dark);
    margin: 0 0 3px;
    line-height: 1.35;
}

.items-card .item-meta {
    font-size: 12px;
    color: var(--shop-grey);
}

.items-card .item-price {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--shop-green);
    flex-shrink: 0;
}

/* ── Hero adjustment for compact pages (cart / checkout / complete) */
.hero.section.dark-background {
    min-height: 200px;
    background: var(--shop-dark);
}

.hero.section.dark-background img {
    opacity: 0.45;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .checkout-heading { align-items: flex-start; }
    .checkout-steps { width: 100%; justify-content: space-between; }
    .checkout-step-sep { flex: 1; }
    .order-summary { position: static; }
    .order-success { padding: 22px; }
    .order-info-pills { width: 100%; flex-direction: row; }
    .order-info-pill { flex: 1; }
}

@media (max-width: 520px) {
    .order-info-pills { flex-direction: column; }
}