.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
}

.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 svg {
    width: 100%;
    height: 100%;
    transition: transform .4s;
    display: block
}

.product-card:hover .product-img-wrap svg {
    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
}

.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
    }
}

.size-btn {
    padding: 7px 13px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    font-size: .75rem;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
    transition: all .2s;
    background: #fff;
    color: var(--text-dark)
}

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

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

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

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

@media(max-width:768px) {
    #detailGrid {
        grid-template-columns: 1fr !important
    }
}
