/* ========================================================
   assets/css/cart.css — Luminellic High-Performance Bag
   Hardware-Accelerated Zero-Stutter Responsive Suite
   ======================================================== */

.cart-atelier-wrap {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-main, #fffafc);
    font-family: 'Poppins', -apple-system, sans-serif;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.cart-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4%;
    box-sizing: border-box;
}

/* --------------------------------------------------------
   1. HERO BANNER & AMBIENT SILK AURORAS
   -------------------------------------------------------- */
.cart-soft-hero {
    position: relative;
    padding: 4.2rem 5% 3.5rem;
    text-align: center;
    background: linear-gradient(180deg, #fffafc 0%, #faedf3 60%, var(--bg-main, #fffafc) 100%);
    overflow: hidden;
    box-sizing: border-box;
}

.aurora-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.42;
    pointer-events: none;
    z-index: 1;
    transform: translateZ(0);
}
.aurora-1 { top: -20px; left: -80px; background: #fcd5e5; }
.aurora-2 { bottom: -20px; right: -80px; background: #ebd5fa; }

.hero-stack {
    position: relative;
    z-index: 3;
    max-width: 680px;
    margin: 0 auto;
    animation: cartHeroFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cartHeroFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.atelier-kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #ad8f9b;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
}

.atelier-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 6.5vw, 3.6rem);
    color: var(--text-dark, #2d2629);
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.atelier-subtext {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #7d6b75;
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    margin: 0 auto;
    line-height: 1.5;
}

.hero-blend-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 250, 252, 0) 0%, var(--bg-main, #fffafc) 100%);
    z-index: 2;
    pointer-events: none;
}

/* --------------------------------------------------------
   2. FLOATING ALERTS & PROMO CARDS
   -------------------------------------------------------- */
.cart-alerts-deck {
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-floating-banner {
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.4);
    border-radius: 20px;
    padding: 0.85rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(244, 166, 193, 0.12);
    transform: translateZ(0);
}

.cart-floating-banner.warning-theme {
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
    border-color: rgba(237, 137, 54, 0.35);
}

.cart-floating-banner.error-theme {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border-color: rgba(229, 62, 62, 0.35);
}

.cart-floating-banner.success-theme {
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
    border-color: rgba(72, 187, 120, 0.35);
}

.banner-bubble {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.warning-theme .banner-bubble { background: #fffaf0; color: #dd6b20; }
.error-theme .banner-bubble { background: #fff5f5; color: #e53e3e; }
.success-theme .banner-bubble { background: #f0fff4; color: #38a169; }

.banner-text-flow {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.35;
}
.banner-text-flow strong { font-size: 0.82rem; color: #2d2629; font-weight: 600; }
.banner-text-flow span { font-size: 0.74rem; color: #7d6b75; margin-top: 1px; }

.banner-action-pill {
    background: linear-gradient(90deg, #f6b4cb 0%, #dfaec5 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.38rem 0.85rem;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(246, 180, 203, 0.35);
    transition: transform 0.2s ease;
}
.banner-action-pill:hover { transform: translateY(-1px); }

/* --------------------------------------------------------
   3. DUO-GRID LAYOUT ARCHITECTURE
   -------------------------------------------------------- */
.cart-duo-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2.2rem;
    align-items: flex-start;
    margin-bottom: 4rem;
    transform: translateZ(0);
}

/* --------------------------------------------------------
   4. LEFT: ITEMS SHELF & TILES
   -------------------------------------------------------- */
.bag-items-shelf {
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.38);
    border-radius: 28px;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 8px 26px rgba(220, 163, 208, 0.1);
    box-sizing: border-box;
}

.shelf-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(244, 166, 193, 0.25);
    margin-bottom: 1.2rem;
}

.shelf-heading-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shelf-heading-group h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark, #2d2629);
    margin: 0;
}

.selection-pill {
    background: #fff5f8;
    color: #d1648a;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid rgba(244, 166, 193, 0.35);
}

.shelf-actions-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.keep-shopping-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #7d6b75;
    text-decoration: none;
    transition: color 0.2s ease;
}
.keep-shopping-link:hover { color: #d1648a; }

.btn-clear-bag {
    background: transparent;
    border: none;
    font-size: 0.74rem;
    font-weight: 600;
    color: #ad8f9b;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}
.btn-clear-bag:hover { color: #e53e3e; }

.bag-items-flow {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bag-item-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.95rem;
    border: 1px solid rgba(244, 166, 193, 0.3);
    border-radius: 20px;
    background: #fffafc;
    box-sizing: border-box;
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 90px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bag-item-tile:hover {
    background: #ffffff;
    border-color: rgba(244, 166, 193, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(244, 166, 193, 0.16);
}

.bag-item-tile.is-out-of-stock {
    opacity: 0.7;
    background: #fff5f5;
    border-color: rgba(229, 62, 62, 0.3);
}

.item-square-thumb {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    background: #fdf2f6;
    border: 1px solid rgba(244, 166, 193, 0.35);
    flex-shrink: 0;
}

.item-square-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.item-square-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-box-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary, #f4a6c1);
    font-size: 1.2rem;
}

.item-meta-column {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.item-meta-column h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--text-dark, #2d2629);
    margin: 0 0 3px 0;
    line-height: 1.25;
}

.item-meta-column h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}
.item-meta-column h3 a:hover { color: #d1648a; }

.item-price-cluster {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-dark, #2d2629);
}

.item-price-cluster .strike {
    font-size: 0.72rem;
    color: #a89aa1;
    text-decoration: line-through;
    font-weight: 400;
}

.item-price-cluster .sale-badge {
    background: #fff0f5;
    color: #d1648a;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.05rem 0.4rem;
    border-radius: 4px;
}

.sold-out-pill {
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 700;
    color: #e53e3e;
    text-transform: uppercase;
    margin-top: 2px;
}

.item-action-cluster {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.qty-stepper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.4);
    border-radius: 9999px;
    padding: 0.15rem 0.45rem;
    gap: 6px;
}

.stepper-btn {
    background: transparent;
    border: none;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5c4953;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.18s ease, color 0.18s ease;
    padding: 0;
}
.stepper-btn:hover:not(:disabled) {
    background: #fff0f5;
    color: #d1648a;
}
.stepper-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.stepper-val {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2d2629;
    min-width: 14px;
    text-align: center;
}

.item-total-col {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark, #2d2629);
    min-width: 75px;
    text-align: right;
}
.item-total-col.free { color: #276749; }

.btn-remove-line {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.35);
    color: #ad8f9b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.btn-remove-line:hover {
    background: #fff0f0;
    color: #e53e3e;
    border-color: rgba(229, 62, 62, 0.4);
}

.bag-shelf-footer-explore {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(244, 166, 193, 0.3);
    font-size: 0.78rem;
    color: #7d6b75;
}

.btn-discover-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #d1648a;
    text-decoration: none;
}
.btn-discover-more:hover { transform: translateX(2px); }

/* --------------------------------------------------------
   5. RIGHT: FLOATING SUMMARY DOCK
   -------------------------------------------------------- */
.bag-summary-dock {
    position: sticky;
    top: 90px;
    transform: translateZ(0);
}

.summary-card-floating {
    background: #ffffff;
    border: 1.5px solid rgba(244, 166, 193, 0.42);
    border-radius: 28px;
    padding: 1.6rem 1.6rem 1.8rem;
    box-shadow: 0 10px 32px rgba(220, 163, 208, 0.16);
    box-sizing: border-box;
}

.summary-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark, #2d2629);
    margin: 0 0 1.2rem 0;
    text-align: left;
}

/* REWARD & SHIPPING METERS */
.reward-tracker-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fffafc;
    border: 1px solid rgba(244, 166, 193, 0.32);
    border-radius: 18px;
    padding: 0.95rem;
    margin-bottom: 1.2rem;
}

.tracker-segment {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tracker-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 600;
}
.tracker-row span { color: #5c4953; }
.tracker-row strong { color: #d1648a; font-weight: 700; }

.tracker-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(244, 166, 193, 0.25);
    border-radius: 9999px;
    overflow: hidden;
}

.tracker-bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.tracker-bar-fill.rose-flow { background: linear-gradient(90deg, #f6b4cb 0%, #dfaec5 100%); }
.tracker-bar-fill.gold-flow { background: linear-gradient(90deg, #e5c07b 0%, #d4af37 100%); }

/* COUPON DOCK */
.cart-coupon-dock {
    margin-bottom: 1.2rem;
    text-align: left;
}

.coupon-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ad8f9b;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.coupon-input-row {
    display: flex;
    gap: 6px;
}

.coupon-field-shell {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fffafc;
    border: 1px solid rgba(244, 166, 193, 0.4);
    border-radius: 9999px;
    padding: 0 0.8rem;
    gap: 6px;
}

.coupon-icon-lead { color: #d1648a; }

.coupon-field-shell input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: #2d2629;
    padding: 0.45rem 0;
    min-width: 0;
}

.btn-apply-coupon {
    background: #fff5f8;
    border: 1px solid rgba(244, 166, 193, 0.5);
    color: #d1648a;
    font-family: 'Poppins', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-apply-coupon:hover {
    background: linear-gradient(90deg, #f6b4cb 0%, #dfaec5 100%);
    color: #ffffff;
    border-color: transparent;
}

.active-coupon-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0fff4;
    border: 1px solid rgba(72, 187, 120, 0.4);
    border-radius: 14px;
    padding: 0.5rem 0.8rem;
}

.coupon-tag-info {
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: left;
}
.coupon-tag-info .sparkle { color: #38a169; }
.coupon-tag-info strong { font-size: 0.78rem; color: #276749; }
.coupon-tag-info small { font-size: 0.68rem; color: #4a5568; display: block; }

.btn-remove-coupon {
    background: transparent;
    border: none;
    color: #718096;
    font-size: 0.78rem;
    cursor: pointer;
}
.btn-remove-coupon:hover { color: #e53e3e; }

.coupon-feedback-text {
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 4px;
    padding: 0 4px;
}
.coupon-feedback-text.success { color: #2f855a; }
.coupon-feedback-text.error { color: #c53030; }

/* RECEIPT CARD */
.receipt-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.4rem;
    border-top: 1px dashed rgba(244, 166, 193, 0.35);
    padding-top: 1rem;
}

.receipt-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #63525b;
}

.receipt-line .amount-val {
    font-weight: 600;
    color: var(--text-dark, #2d2629);
}
.receipt-line .amount-val.free { color: #276749; font-weight: 700; }
.receipt-line .amount-val.promo { color: #d1648a; }

.receipt-line.grand-total-line {
    border-top: 1px solid rgba(244, 166, 193, 0.35);
    padding-top: 8px;
    margin-top: 2px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #2d2629;
}
.receipt-line.grand-total-line .total {
    font-size: 1.15rem;
    color: #d1648a;
}

/* CHECKOUT BUTTON */
.bag-checkout-btn {
    width: 100%;
    padding: 0.95rem 1.4rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    background: linear-gradient(90deg, #f6b4cb 0%, #dfaec5 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(246, 180, 203, 0.4) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.bag-checkout-btn:hover:not(.btn-locked) {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(246, 180, 203, 0.55) !important;
}

.bag-checkout-btn.btn-locked {
    background: #e2d8dc !important;
    color: #7d6b75 !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

/* REASSURANCE BADGES */
.reassurance-pill-flow {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 1.1rem;
}

.reassurance-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #8c7b84;
}
.reassurance-pill svg { color: #d1648a; }

/* --------------------------------------------------------
   6. EMPTY STATE SANCTUARY
   -------------------------------------------------------- */
.cart-empty-sanctuary {
    text-align: center;
    padding: 4.5rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(244, 166, 193, 0.35);
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(244, 166, 193, 0.08);
    max-width: 560px;
    margin: 1.5rem auto 3.5rem;
    box-sizing: border-box;
}

.empty-sparkle-orb {
    font-size: 2.5rem;
    color: #f4a6c1;
    display: block;
    margin-bottom: 0.6rem;
}

.cart-empty-sanctuary h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 600;
    color: #2d2629;
    margin: 0 0 0.5rem 0;
}

.cart-empty-sanctuary p {
    color: #8c7b84;
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto 1.4rem;
}

.empty-explore-btn {
    padding: 0.75rem 1.8rem !important;
    font-size: 0.82rem !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
}

/* --------------------------------------------------------
   7. STYLED PAIRINGS RECOMMENDATIONS (CONTAINERLESS MODERN)
   -------------------------------------------------------- */
.cart-pairing-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(180deg, rgba(255, 250, 252, 0) 0%, #faedf3 45%, #fffafc 100%);
    padding: 4.5rem 5% 5rem;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: 3.5rem;
}

.pairing-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
    transform: translateZ(0);
}
.pairing-glow.glow-left { top: -30px; left: -70px; background: #fcd5e5; }
.pairing-glow.glow-right { bottom: -30px; right: -70px; background: #ebd5fa; }

.cart-pairing-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.pairing-header {
    margin-bottom: 2.4rem;
}

.pairing-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.85rem, 3.8vw, 2.5rem);
    color: var(--text-dark, #2d2629);
    font-weight: 500;
    margin: 0.2rem 0 0.5rem 0;
    letter-spacing: -0.4px;
}

.pairing-sublead {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.84rem, 1.6vw, 0.92rem);
    color: #8c7b84;
    margin: 0 auto;
}

/* 4-COLUMN INDEPENDENT GRID (DESKTOP) */
.pairing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    box-sizing: border-box;
    width: 100%;
}

/* CONTAINERLESS PRODUCT CARD */
.pairing-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 280px;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.pairing-img-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.12;
    border-radius: 22px;
    overflow: hidden;
    background: #fbf3f6;
    box-shadow: 0 8px 24px rgba(220, 163, 208, 0.14);
    margin-bottom: 0.65rem;
    transform: translateZ(0);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.pairing-card:hover .pairing-img-stage {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(244, 166, 193, 0.3);
}

.pairing-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.pairing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateZ(0);
}

.pairing-card:hover .pairing-img {
    transform: scale(1.06);
}

.pairing-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4a6c1;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #fdf5f7 0%, #faedf3 100%);
}

/* BOTTOM VIGNETTE GRADIENT OVERLAY */
.pairing-bottom-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35, 25, 30, 0) 45%, rgba(35, 25, 30, 0.3) 70%, rgba(35, 25, 30, 0.82) 100%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* BOTTOM DOCK (PRICE & ADD BUTTON) */
.pairing-in-card-dock {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    gap: 8px;
    box-sizing: border-box;
}

.pairing-price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.dock-current-price {
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.2px;
}

.dock-orig-price {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: line-through;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.pairing-in-card-btn {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 9999px;
    padding: 0.28rem 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: #5c4953;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.pairing-in-card-btn svg {
    color: #d1648a;
    transition: transform 0.2s ease;
}

.pairing-in-card-btn:hover {
    background: linear-gradient(90deg, #f6b4cb 0%, #dfaec5 100%);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(246, 180, 203, 0.45);
}

.pairing-in-card-btn:hover svg {
    color: #ffffff;
    transform: rotate(90deg);
}

/* PRODUCT TITLE */
.pairing-info-row {
    text-align: left;
    padding: 0 0.15rem;
}

.pairing-title-link {
    text-decoration: none;
    display: block;
}

.pairing-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark, #2d2629);
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.pairing-title-link:hover .pairing-title {
    color: var(--brand-primary, #f4a6c1);
}

/* --------------------------------------------------------
   RESPONSIVE BREAKPOINTS (2 COLUMNS ON MOBILE)
   -------------------------------------------------------- */
@media (max-width: 992px) {
    .pairing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem 0.9rem;
    }
}

@media (max-width: 680px) {
    .cart-pairing-wrapper {
        padding: 3rem 4% 3rem;
        margin-top: 2.2rem;
    }

    .pairing-header {
        margin-bottom: 1.6rem;
    }

    .pairing-img-stage {
        border-radius: 18px;
    }

    .pairing-in-card-dock {
        padding: 0.5rem 0.65rem;
    }

    .dock-current-price {
        font-size: 0.78rem;
    }

    .pairing-in-card-btn {
        padding: 0.22rem 0.55rem;
        font-size: 0.64rem;
    }

    .pairing-title {
        font-size: 0.85rem;
    }
}

/* --------------------------------------------------------
   8. RESPONSIVE MOBILE ADAPTATIONS
   -------------------------------------------------------- */
@media (max-width: 992px) {
    .cart-duo-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .bag-summary-dock {
        position: static;
    }
    .pairing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
}

@media (max-width: 680px) {
    .cart-soft-hero {
        padding: 2.8rem 4% 2.2rem;
    }
    .bag-items-shelf {
        padding: 1.1rem;
        border-radius: 22px;
    }
    .summary-card-floating {
        padding: 1.2rem;
        border-radius: 22px;
    }
    .bag-item-tile {
        padding: 0.75rem;
        gap: 10px;
    }
    .item-square-thumb {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }
    .item-meta-column h3 {
        font-size: 0.88rem;
    }
    .item-price-cluster {
        font-size: 0.78rem;
    }
    .item-total-col {
        min-width: 60px;
        font-size: 0.84rem;
    }
    .shelf-heading-group h2 {
        font-size: 1.18rem;
    }
    .cart-pairing-wrapper {
        padding: 3.2rem 4% 3rem;
    }
}