.page-wrap {
    padding-top: 58px;
    min-height: 100vh
}

.page-banner {
    background: var(--dark-cream);
    padding: 52px 48px 44px;
    text-align: center
}

.page-banner .eyebrow {
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px
}

.page-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.01em
}

.page-banner p {
    font-size: .9rem;
    color: var(--text-light);
    margin-top: 10px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px
}

.section-eyebrow {
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 400
}

.btn-primary {
    display: inline-block;
    background: var(--burgundy);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px 32px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .05em;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    transition: background .2s, transform .15s
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    transform: translateY(-1px)
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--burgundy);
    border: 1.5px solid var(--burgundy);
    border-radius: 6px;
    padding: 12px 28px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .05em;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    transition: all .2s
}

.btn-outline:hover {
    background: var(--burgundy);
    color: #fff
}

.waitlist-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    z-index: 120;
}

.waitlist-modal.open {
    display: flex;
}

.waitlist-modal-panel {
    position: relative;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .08);
    padding: 28px;
    width: min(420px, 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
    z-index: 3;
}

.waitlist-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, .45);
    z-index: 1;
}

.waitlist-modal-panel h3 {
    margin: 0 0 20px;
    font-size: 1.4rem;
}

.waitlist-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.waitlist-row label {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8a8a8a;
}

.waitlist-row input {
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: .95rem;
}

.waitlist-feedback {
    min-height: 18px;
    color: #a61c3c;
    font-size: .85rem;
    margin-bottom: 12px;
}

.waitlist-submit {
    width: 100%;
    margin-top: 6px;
}

.waitlist-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #666;
}

.btn-pink {
    display: inline-block;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .03em;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 6px 22px rgba(224, 53, 122, .4)
}

.btn-pink:hover {
    background: var(--pink-dark);
    transform: translateY(-2px)
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .07);
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
    cursor: pointer
}

.product-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
    transform: translateY(-3px)
}

.product-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    background: #ede8e1;
    overflow: hidden;
    flex-shrink: 0
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
    display: block
}

.product-img-wrap .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ede8e1;
    color: #bbb;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.04)
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 20px;
    color: #fff;
    z-index: 2
}

.badge-preorder {
    background: var(--burgundy)
}

.badge-bestseller {
    background: #2a6e2a
}

.badge-new {
    background: var(--gold)
}

.badge-sale {
    background: var(--pink)
}

.product-wish {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, .88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    border: none;
    transition: background .2s
}

.product-wish:hover {
    background: #fff
}

.product-wish svg {
    width: 15px;
    height: 15px;
    stroke: var(--burgundy);
    fill: none;
    stroke-width: 1.8
}

.product-wish.wished svg {
    fill: var(--burgundy)
}

.product-info {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1
}

.product-color-label {
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-light)
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25
}

.product-desc {
    font-size: .75rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2px
}

.product-price {
    font-size: .92rem;
    font-weight: 700;
    color: var(--text-dark)
}

.product-deposit {
    font-size: .72rem;
    color: var(--gold);
    font-weight: 600
}

.product-original {
    font-size: .75rem;
    color: #aaa;
    text-decoration: line-through
}

.product-cups {
    font-size: .7rem;
    color: var(--text-light);
    margin-top: 2px
}

.btn-add-cart {
    margin-top: 10px;
    width: 100%;
    background: var(--burgundy);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 0;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, transform .15s;
    font-family: 'Lato', sans-serif
}

.btn-add-cart:hover {
    background: var(--burgundy-dark)
}

.btn-add-cart.added {
    background: #2a6e2a
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding: 44px 0
}



@media(max-width:1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:768px) {
    nav {
        padding: 0 20px
    }

    .container {
        padding: 0 20px
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px
    }

    .page-banner {
        padding: 40px 20px 32px
    }

    .page-banner h1 {
        font-size: 1.9rem
    }

    .form-row {
        grid-template-columns: 1fr
    }
}

@media(max-width:480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }
}

.filter-btn {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 7px 18px;
    font-size: .78rem;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
    color: var(--text-mid);
    transition: all .2s;
    letter-spacing: .03em
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff
}


.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    padding: 28px 0 60px;
    align-items: start
}

.filter-sidebar {
    position: sticky;
    top: 74px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden
}

.filter-sidebar-head {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.filter-sidebar-head h3 {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0
}

.filter-clear {
    font-size: .7rem;
    color: var(--burgundy);
    cursor: pointer;
    border: none;
    background: none;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    padding: 0;
    text-decoration: underline
}

.filter-section {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border)
}

.filter-section:last-child {
    border-bottom: none
}

.filter-section-title {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 12px
}

.filter-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.filter-chip {
    padding: 5px 12px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    background: #fff;
    font-family: 'Lato', sans-serif;
    color: var(--text-mid);
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 5px
}

.filter-chip:hover {
    border-color: var(--burgundy);
    color: var(--burgundy)
}

.filter-chip.active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff
}

.chip-count {
    font-size: .62rem;
    opacity: .75
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.price-input-wrap {
    position: relative
}

.price-input-wrap span {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .72rem;
    color: var(--text-light);
    font-weight: 700;
    pointer-events: none
}

.price-input-wrap input {
    width: 100%;
    padding: 8px 10px 8px 28px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: .78rem;
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    outline: none;
    transition: border-color .2s
}

.price-input-wrap input:focus {
    border-color: var(--burgundy)
}

.shop-search-wrap {
    position: relative;
    margin-bottom: 20px
}

.shop-search-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: var(--text-light);
    fill: none;
    stroke-width: 2;
    pointer-events: none
}

#shopSearch {
    width: 100%;
    padding: 12px 40px 12px 42px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: .88rem;
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s
}

#shopSearch:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(122, 30, 53, .07)
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1;
    padding: 2px;
    display: none
}

.shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px
}

.shop-count {
    font-size: .8rem;
    color: var(--text-light)
}

.shop-count strong {
    color: var(--text-dark);
    font-weight: 800
}

.sort-select {
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: .8rem;
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    cursor: pointer
}

.sort-select:focus {
    border-color: var(--burgundy)
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: var(--dark-cream);
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--text-dark)
}

.active-filter-tag button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: .9rem;
    line-height: 1;
    padding: 0;
    margin-left: 2px
}

.active-filter-tag button:hover {
    color: var(--burgundy)
}

.shop-grid-wrap {
    position: relative;
    min-height: 200px
}

.shop-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 6px
}

.shop-loading.show {
    display: flex
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--burgundy);
    border-radius: 50%;
    animation: spin .7s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.shop-empty {
    text-align: center;
    padding: 64px 20px;
    grid-column: 1/-1
}

.shop-empty-icon {
    font-size: 3rem;
    margin-bottom: 14px;
    opacity: .3
}

.shop-empty h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 8px
}

.shop-empty p {
    font-size: .84rem;
    color: var(--text-light);
    margin-bottom: 20px
}

.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
    flex-wrap: wrap
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: #fff;
    font-size: .8rem;
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    font-weight: 600
}

.page-btn:hover:not(:disabled) {
    border-color: var(--burgundy);
    color: var(--burgundy)
}

.page-btn.active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff
}

.page-btn:disabled {
    opacity: .4;
    cursor: not-allowed
}

.page-ellipsis {
    color: var(--text-light);
    font-size: .8rem;
    padding: 0 4px
}

.filter-toggle-mobile {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: #fff;
    font-size: .8rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-dark)
}

.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 300
}

.filter-overlay.show {
    display: block
}

.filter-drawer {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: #fff;
    z-index: 301;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .3s ease
}

.filter-drawer.open {
    transform: translateX(0)
}

.filter-drawer-head {
    padding: 18px 18px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1
}

@media(max-width:860px) {
    .shop-layout {
        grid-template-columns: 1fr
    }

    .filter-sidebar {
        display: none
    }

    .filter-toggle-mobile {
        display: flex
    }
}

.cart-wrap {
    padding-top: 58px;
    min-height: 100vh;
    background: var(--cream);
}

.cart-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

/* Items panel */
.cart-items-panel {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.cart-panel-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-panel-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

/* Cart item row */
.cart-item {
    display: flex;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background .15s;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background: #faf7f4;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--dark-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.cart-item-img .no-img {
    color: #ccc;
    font-size: 1.5rem;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-meta {
    font-size: .72rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text-dark);
}

.cart-item-deposit {
    font-size: .72rem;
    color: var(--gold);
    font-weight: 600;
}

/* Qty controls */
.qty-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--border);
    background: #fff;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    line-height: 1;
}

.qty-btn:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.qty-val {
    min-width: 28px;
    text-align: center;
    font-size: .88rem;
    font-weight: 700;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color .15s;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    color: var(--pink);
}

/* Empty state */
.cart-empty {
    padding: 64px 24px;
    text-align: center;
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: .3;
}

.cart-empty h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.cart-empty p {
    font-size: .85rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Summary panel */
.cart-summary {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 24px;
    position: sticky;
    top: 76px;
}

.cart-summary h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    margin-bottom: 10px;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1rem;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
}

.summary-row.deposit {
    color: var(--gold);
    font-weight: 600;
    font-size: .82rem;
}

.deposit-info {
    background: var(--cream);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: .78rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin: 16px 0;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .03em;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: background .2s, transform .15s;
    box-shadow: 0 6px 22px rgba(224, 53, 122, .35);
    text-align: center;
    text-decoration: none;
}

.btn-checkout:hover {
    background: var(--pink-dark);
    transform: translateY(-1px);
}

.btn-checkout:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-continue {
    display: block;
    width: 100%;
    background: transparent;
    color: var(--burgundy);
    border: 1.5px solid var(--burgundy);
    border-radius: 50px;
    padding: 12px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: all .2s;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
}

.btn-continue:hover {
    background: var(--burgundy);
    color: #fff;
}

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg, #f0e8e0 25%, #e8e0d8 50%, #f0e8e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0
    }

    100% {
        background-position: 200% 0
    }
}

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

    .cart-summary {
        position: static;
    }

    .cart-container {
        padding: 24px 16px 60px;
    }
}
