/* ═══════════════════════════════════════════════════════════════
   VINDHYA MILLETS - LUXURY SLIDE-OUT CART DRAWER (V2)
   Matches Reference Mockup: media_1789132724941.jpg
   ═══════════════════════════════════════════════════════════════ */

:root {
    --cd-primary-brown: #381507;
    --cd-dark-brown: #240c03;
    --cd-canvas: #FAF8F5;
    --cd-card-bg: #FFFFFF;
    --cd-green: #15803D;
    --cd-green-light: #F0FDF4;
    --cd-green-border: #BBF7D0;
    --cd-text-dark: #111827;
    --cd-text-muted: #6B7280;
    --cd-border: #ECE6DC;
    --cd-border-light: #F3EFEA;
    --cd-red: #EF4444;
    --cd-orange: #EA580C;
}

/* ── Overlay ─────────────────────────────────────────────────── */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 18, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000000 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ── Main Drawer Modal (Laptop & Desktop Mode) ───────────────── */
.cart-modal.cart-drawer-v2 {
    position: fixed;
    top: 0;
    right: -520px;
    width: 480px;
    max-width: 95vw;
    height: 100vh;
    height: 100dvh;
    background: #FAF8F5 !important;
    z-index: 10000005 !important;
    box-shadow: -15px 0 50px rgba(45, 20, 10, 0.28) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s ease !important;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-top-left-radius: 26px;
    border-bottom-left-radius: 26px;
    overflow: hidden;
    pointer-events: auto !important;
    visibility: hidden;
}

.cart-modal.cart-drawer-v2.active {
    right: 0 !important;
    visibility: visible !important;
}

/* ── Header with Authentic Grain Art Banner ──────────────────── */
.cd-header {
    background-color: #381507 !important;
    background-image: url('../images/cart-drawer-header-art.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: right top !important;
    background-size: 250px 100% !important;
    padding: 22px 20px 20px !important;
    color: #FFFFFF !important;
    position: relative !important;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 18px rgba(45, 20, 10, 0.18);
}

.cd-header-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.cd-header-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: calc(100% - 46px);
}

.cd-header-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cd-cart-icon-badge {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
}

.cd-header-badge-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #FF5722;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 1.5px solid #381507;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.cd-title {
    font-size: 1.34rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.cd-count-tag {
    font-weight: 700;
    color: #FDE047;
    font-size: 1.15rem;
}

.cd-subtitle {
    font-size: 0.82rem !important;
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0 !important;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.cd-calligraphy-slogan {
    font-family: 'Playfair Display', 'Brush Script MT', 'Dancing Script', Georgia, cursive, serif;
    font-style: italic;
    font-size: 0.92rem;
    color: #FDE047;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-top: 4px;
    line-height: 1.18;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.cd-slogan-lines {
    display: flex;
    flex-direction: column;
}

.cd-sprout-leaf {
    font-style: normal;
    display: inline-block;
    font-size: 0.95rem;
}

/* Semi-transparent dark circular close button */
.cd-close-btn,
#cart-close.cd-close-btn {
    position: absolute !important;
    top: 16px !important;
    right: 18px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    transition: all 0.22s ease !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    z-index: 10 !important;
}

.cd-close-btn:hover,
#cart-close.cd-close-btn:hover {
    background: rgba(0, 0, 0, 0.55) !important;
    transform: rotate(90deg) scale(1.06) !important;
}

/* ── Free Delivery Progress Card ─────────────────────────────── */
.cd-shipping-bar {
    background: #FFFFFF !important;
    border: 1px solid #ECE6DC;
    border-radius: 14px;
    margin: 12px 16px 0;
    padding: 12px 14px;
    box-shadow: 0 2px 8px rgba(45, 20, 10, 0.03);
    flex-shrink: 0;
}

.cd-shipping-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.cd-shipping-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.cd-shipping-icon {
    color: #16A34A;
    background: #DCFCE7;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cd-shipping-msg {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.3;
}

.cd-shipping-msg.success {
    color: #15803D;
}

.cd-shipping-right-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.cd-shipping-ratio {
    font-size: 0.78rem;
    font-weight: 800;
    color: #1F2937;
}

.cd-shipping-substatus {
    font-size: 0.68rem;
    font-weight: 600;
    color: #16A34A;
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    padding: 1px 6px;
    border-radius: 999px;
    white-space: nowrap;
}

.cd-progress-track {
    height: 6px;
    background: #EAE6DF;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.cd-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22C55E 0%, #16A34A 100%);
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

/* ── Cart Scroll Area: Items + Upsell Shelf ───────────────────── */
.cart-modal.cart-drawer-v2 .cd-scroll-area {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 14px 16px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    background: #FAF8F5 !important;
    scrollbar-width: thin;
    scrollbar-color: #D6CEBE transparent;
}

.cart-modal.cart-drawer-v2 .cd-scroll-area::-webkit-scrollbar {
    width: 5px;
}

.cart-modal.cart-drawer-v2 .cd-scroll-area::-webkit-scrollbar-thumb {
    background-color: #D6CEBE;
    border-radius: 10px;
}

/* Prevent inner nested scroll on #cart-items */
.cart-modal.cart-drawer-v2 #cart-items.cart-items,
.cart-modal.cart-drawer-v2 .cd-items-list {
    flex: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* ── Individual Item Card ────────────────────────────────────── */
.cd-item-card {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
    align-items: flex-start !important;
    background: #FFFFFF !important;
    border: 1px solid #ECE6DC !important;
    border-radius: 16px !important;
    padding: 14px !important;
    box-shadow: 0 2px 8px rgba(45, 20, 10, 0.03) !important;
    position: relative !important;
    transition: all 0.25s ease !important;
}

.cd-item-card:hover {
    border-color: #DDD4C7 !important;
    box-shadow: 0 4px 14px rgba(45, 20, 10, 0.06) !important;
}

.cd-item-card.removing {
    opacity: 0;
    transform: translateX(40px);
}

.cd-item-img-wrap {
    width: 86px !important;
    height: 86px !important;
    min-width: 86px !important;
    border-radius: 12px !important;
    background: #FAF8F5 !important;
    border: 1px solid #ECE5DB !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.cd-item-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 8px !important;
}

.cd-item-details {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.cd-item-top-row {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 8px !important;
}

.cd-item-title {
    font-size: 0.96rem !important;
    font-weight: 750 !important;
    color: #111827 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word !important;
    flex: 1 !important;
}

.cd-item-actions-cluster {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

/* Stepper Pill */
.cd-qty-stepper {
    display: inline-flex !important;
    align-items: center !important;
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 9999px !important;
    padding: 2px 6px !important;
    gap: 8px !important;
}

.cd-qty-btn {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    border: none !important;
    background: transparent !important;
    color: #4B5563 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: all 0.15s ease !important;
}

.cd-qty-btn:hover {
    background: #F3F4F6 !important;
    color: #111827 !important;
}

.cd-qty-val {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
    min-width: 14px !important;
    text-align: center !important;
}

/* Soft Red Trash Button */
.cd-item-delete {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: #FEE2E2 !important;
    border: none !important;
    color: #EF4444 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.cd-item-delete:hover {
    background: #FECACA !important;
    color: #DC2626 !important;
    transform: scale(1.06) !important;
}

/* Weight Specs */
.cd-item-specs-row {
    display: flex !important;
    align-items: center !important;
}

.cd-item-weight {
    font-size: 0.74rem !important;
    color: #6B7280 !important;
    font-weight: 600 !important;
    background: #F3F4F6 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
}

/* Feature Micro-Tags */
.cd-item-tags-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.cd-item-tag {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    color: #15803D !important;
    background: #F0FDF4 !important;
    border: 1px solid #DCFCE7 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
}

/* Price Row & Save for Later */
.cd-item-bottom-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 4px !important;
    padding-top: 2px !important;
}

.cd-item-price-cluster {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.cd-item-price {
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    color: #15803D !important;
}

.cd-item-mrp {
    font-size: 0.84rem !important;
    color: #9CA3AF !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
}

.cd-item-discount {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    color: #15803D !important;
    background: #DCFCE7 !important;
    border: 1px solid #BBF7D0 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
}

.cd-save-later-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #6B7280 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: color 0.2s ease !important;
}

.cd-save-later-btn:hover {
    color: #381507 !important;
    text-decoration: underline !important;
}

/* ── Recommendations Shelf (" आपके लिए खास सुझाव") ────────── */
.cd-recommendations-shelf {
    background: #FFFFFF !important;
    border: 1px solid #ECE6DC !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    box-shadow: 0 2px 8px rgba(45, 20, 10, 0.03) !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
}

.cd-rec-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cd-rec-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.cd-rec-titles {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cd-rec-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #381507 !important;
    margin: 0 !important;
}

.cd-rec-sub {
    font-size: 0.72rem;
    color: #78716C;
    font-weight: 500;
}

.cd-rec-track {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
}

.cd-rec-card {
    background: #FAF8F5 !important;
    border: 1px solid #EDE7DC !important;
    border-radius: 12px !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    min-width: 0 !important;
}

.cd-rec-card:hover {
    border-color: #D6CEBE !important;
    background: #F5F1EA !important;
    transform: translateY(-2px) !important;
}

.cd-rec-img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    background: #FFFFFF !important;
    padding: 2px !important;
}

.cd-rec-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.cd-rec-name {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: #1F2937 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.cd-rec-price-row {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.cd-rec-price {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

.cd-rec-mrp {
    font-size: 0.7rem !important;
    color: #9CA3AF !important;
    text-decoration: line-through !important;
}

.cd-rec-add-btn {
    background: #b85d19 !important;
    color: #FFFFFF !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(184, 93, 25, 0.35) !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.cd-rec-add-btn:hover {
    background: #9a490f !important;
    transform: scale(1.12) !important;
}

/* ── Empty Cart State ────────────────────────────────────────── */
.cd-empty-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
    color: var(--cd-text-muted);
}

.cd-empty-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px dashed #D6CEBE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 16px;
    color: #8C8275;
}

.cd-empty-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--cd-text-dark);
    margin: 0 0 6px;
}

.cd-empty-desc {
    font-size: 0.84rem;
    color: var(--cd-text-muted);
    margin: 0 0 22px;
    max-width: 260px;
}

.cd-empty-btn {
    background: #381507;
    color: #FFFFFF !important;
    padding: 11px 24px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(56, 21, 7, 0.25);
    transition: all 0.2s ease;
}

.cd-empty-btn:hover {
    background: #240c03;
    transform: translateY(-2px);
}

/* ── Footer Summary & Checkout ───────────────────────────────── */
.cd-footer,
.cart-modal.cart-drawer-v2 .cart-footer.cd-footer {
    background: #FFFFFF !important;
    border-top: 1px solid #ECE6DC !important;
    padding: 16px 20px 18px !important;
    box-shadow: 0 -6px 20px rgba(45, 20, 10, 0.05) !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.cd-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.cd-summary-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #381507;
}

.cd-summary-total-qty {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6B7280;
}

.cd-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cd-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    color: #4B5563;
}

.cd-row-label {
    font-weight: 500;
}

.cd-row-val {
    font-weight: 700;
    color: #1F2937;
}

.cd-val-green {
    color: #16A34A !important;
}

.cd-divider {
    height: 1px;
    background: #ECE6DC;
    margin: 3px 0;
}

.cd-row-total {
    font-size: 1.05rem;
    color: #1F2937;
    padding-top: 1px;
}

.cd-total-label {
    font-weight: 800;
    color: #1F2937;
    font-size: 1.05rem;
}

.cd-total-val {
    font-weight: 900 !important;
    color: #381507 !important;
    font-size: 1.35rem !important;
}

/* Savings Banner */
.cd-savings-banner {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 10px;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #15803D;
    font-size: 0.82rem;
    font-weight: 700;
}

.cd-savings-leaf {
    font-size: 0.95rem;
}

/* Primary CTA Button */
.cd-checkout-btn,
.cart-modal.cart-drawer-v2 #secure-checkout-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 14px 22px !important;
    background: linear-gradient(135deg, #a3360e 0%, #832707 100%) !important;
    color: #FFFFFF !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(163, 54, 14, 0.35) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    border: none !important;
}

.cd-checkout-btn:hover,
.cart-modal.cart-drawer-v2 #secure-checkout-btn:hover {
    background: linear-gradient(135deg, #b93e10 0%, #942b08 100%) !important;
    box-shadow: 0 8px 25px rgba(163, 54, 14, 0.45) !important;
    transform: translateY(-2px) !important;
    color: #FFFFFF !important;
}

.cd-checkout-btn:active,
.cart-modal.cart-drawer-v2 #secure-checkout-btn:active {
    transform: translateY(0) !important;
}

/* 4-Item Trust Strip */
.cd-trust-strip {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
    margin-top: 4px !important;
}

.cd-trust-pill {
    background: #FFFFFF !important;
    border: 1px solid #ECE5DB !important;
    border-radius: 10px !important;
    padding: 8px 4px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 4px !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: #4B5563 !important;
    line-height: 1.2 !important;
}

.cd-trust-pill svg {
    color: #15803D !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

/* ── Responsive Refinements ──────────────────────────────────── */
@media (max-width: 480px) {
    .cart-modal.cart-drawer-v2 {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
    }
    
    .cd-header {
        background-size: 180px 100% !important;
        padding: 16px 14px 14px !important;
    }

    .cd-shipping-bar {
        margin: 10px 12px 0;
    }

    .cart-modal.cart-drawer-v2 .cd-scroll-area {
        padding: 10px 12px 14px !important;
    }

    .cd-footer,
    .cart-modal.cart-drawer-v2 .cart-footer.cd-footer {
        padding: 12px 14px 14px !important;
    }

    .cd-rec-track {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
}

/* ── Laptop & Desktop View Optimization (min-width: 769px) ────── */
@media (min-width: 769px) {
    .cart-modal.cart-drawer-v2 {
        width: 500px !important;
        max-width: 92vw !important;
    }

    /* Header: sleek, space-saving layout */
    .cd-header {
        padding: 15px 20px 14px !important;
        background-size: 210px 100% !important;
    }

    .cd-title {
        font-size: 1.24rem !important;
    }

    .cd-header-sub {
        font-size: 0.74rem !important;
    }

    /* Free Shipping Progress: compact, high-contrast bar */
    .cd-shipping-bar {
        margin: 8px 16px 0 !important;
        padding: 8px 14px !important;
        border-radius: 10px !important;
    }

    .cd-shipping-msg {
        font-size: 0.78rem !important;
    }

    .cd-shipping-ratio {
        font-size: 0.76rem !important;
    }

    /* Cart Scroll Area: generous vertical space so all products are visible */
    .cart-modal.cart-drawer-v2 .cd-scroll-area {
        padding: 12px 16px 14px !important;
        gap: 10px !important;
    }

    /* Product Item Cards: clean display so user sees exactly what they are buying */
    .cart-modal.cart-drawer-v2 .cd-item-card {
        padding: 12px 14px !important;
        gap: 12px !important;
        border-radius: 14px !important;
        background: #FFFFFF !important;
        border: 1px solid #ECE6DC !important;
    }

    .cart-modal.cart-drawer-v2 .cd-item-card:hover {
        border-color: #D6CEBE !important;
        box-shadow: 0 4px 14px rgba(45, 20, 10, 0.05) !important;
    }

    .cart-modal.cart-drawer-v2 .cd-item-img-wrap {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
        border-radius: 10px !important;
        padding: 4px !important;
    }

    .cart-modal.cart-drawer-v2 .cd-item-title {
        font-size: 0.94rem !important;
        font-weight: 750 !important;
        line-height: 1.3 !important;
        color: #111827 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .cart-modal.cart-drawer-v2 .cd-item-weight {
        font-size: 0.72rem !important;
        padding: 2px 7px !important;
        background: #F4F1EA !important;
        color: #5C5346 !important;
        font-weight: 700 !important;
        border: 1px solid #E5E0D5 !important;
        border-radius: 6px !important;
    }

    .cart-modal.cart-drawer-v2 .cd-item-tag {
        font-size: 0.66rem !important;
        padding: 1px 6px !important;
    }

    .cart-modal.cart-drawer-v2 .cd-item-price {
        font-size: 1.10rem !important;
        font-weight: 800 !important;
        color: #15803D !important;
    }

    .cart-modal.cart-drawer-v2 .cd-item-mrp {
        font-size: 0.80rem !important;
    }

    .cart-modal.cart-drawer-v2 .cd-save-later-btn {
        font-size: 0.74rem !important;
    }

    /* ── High-Efficiency Laptop Footer (class="cart-footer cd-footer") ── */
    .cd-footer,
    .cart-modal.cart-drawer-v2 .cart-footer.cd-footer {
        padding: 12px 18px 14px !important;
        gap: 7px !important;
        background: #FFFFFF !important;
        border-top: 1px solid #ECE6DC !important;
        box-shadow: 0 -4px 16px rgba(45, 20, 10, 0.05) !important;
        flex-shrink: 0 !important;
    }

    .cd-summary-head {
        margin-bottom: 0 !important;
        padding-bottom: 3px !important;
        border-bottom: 1px dashed #EAE6DF !important;
    }

    .cd-summary-title {
        font-size: 0.88rem !important;
        font-weight: 800 !important;
        color: #381507 !important;
        letter-spacing: 0.2px !important;
    }

    .cd-summary-total-qty {
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        color: #4B5563 !important;
        background: #F3F4F6 !important;
        padding: 2px 8px !important;
        border-radius: 999px !important;
    }

    .cd-summary-rows {
        gap: 3px !important;
    }

    .cd-row {
        font-size: 0.80rem !important;
        color: #52525B !important;
    }

    .cd-row-val {
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        color: #1F2937 !important;
    }

    .cd-divider {
        height: 1px !important;
        background: #ECE6DC !important;
        margin: 2px 0 !important;
    }

    .cd-row-total {
        font-size: 0.96rem !important;
        padding-top: 2px !important;
    }

    .cd-total-label {
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        color: #1F2937 !important;
    }

    .cd-total-val {
        font-size: 1.25rem !important;
        font-weight: 900 !important;
        color: #1B4324 !important;
    }

    .cd-savings-banner {
        padding: 4px 10px !important;
        font-size: 0.76rem !important;
        border-radius: 8px !important;
        gap: 5px !important;
    }

    .cd-checkout-btn,
    .cart-modal.cart-drawer-v2 #secure-checkout-btn {
        padding: 11px 20px !important;
        font-size: 0.96rem !important;
        min-height: 44px !important;
        border-radius: 12px !important;
        gap: 8px !important;
        box-shadow: 0 4px 14px rgba(163, 54, 14, 0.28) !important;
    }

    /* High-Density Laptop Trust Ribbon (Replaces 65px tall box grid with clean 24px inline strip) */
    .cd-trust-strip {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        margin-top: 2px !important;
        padding: 6px 10px !important;
        background: #FAF8F5 !important;
        border: 1px solid #EFECE6 !important;
        border-radius: 8px !important;
    }

    .cd-trust-pill {
        flex: 1 1 0 !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 2px !important;
        background: transparent !important;
        border: none !important;
        font-size: 0.68rem !important;
        font-weight: 600 !important;
        color: #4B5563 !important;
        white-space: nowrap !important;
        line-height: 1 !important;
    }

    .cd-trust-pill svg {
        width: 12px !important;
        height: 12px !important;
        color: #15803D !important;
        flex-shrink: 0 !important;
    }
}

/* Shorter Laptop screens (e.g. 1366x768 or browser window height <= 760px) */
@media (min-width: 769px) and (max-height: 760px) {
    .cd-header {
        padding: 11px 16px !important;
    }
    .cd-shipping-bar {
        margin: 6px 12px 0 !important;
        padding: 6px 10px !important;
    }
    .cart-modal.cart-drawer-v2 .cd-scroll-area {
        padding: 10px 14px 12px !important;
        gap: 8px !important;
    }
    .cart-modal.cart-drawer-v2 .cd-item-card {
        padding: 9px 11px !important;
        gap: 10px !important;
    }
    .cart-modal.cart-drawer-v2 .cd-item-img-wrap {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
    }
    .cd-footer,
    .cart-modal.cart-drawer-v2 .cart-footer.cd-footer {
        padding: 9px 14px 11px !important;
        gap: 5px !important;
    }
    .cd-checkout-btn,
    .cart-modal.cart-drawer-v2 #secure-checkout-btn {
        padding: 9px 16px !important;
        min-height: 40px !important;
        font-size: 0.92rem !important;
    }
    .cd-trust-strip {
        padding: 4px 8px !important;
    }
    .cd-trust-pill {
        font-size: 0.64rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL FLOATING BOTTOM MINI-CART WIDGET (MATCHES SHOP MOCKUP)
   ═══════════════════════════════════════════════════════════════ */

/* Suppress Redundant Legacy Floating Cart FAB */
.floating-cart-fab,
#floating-cart-btn,
#vmFloatingCartBtn,
.vm-btn-floating-cart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.shop-floating-cart {
    position: fixed;
    bottom: 24px;
    right: 28px;
    z-index: 99999;
    display: none;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
}

.shop-floating-cart.visible {
    display: block !important;
    animation: slideUpMiniCart 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpMiniCart {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── Prevent Overlap: Stack Personalization Welcome Chip above Floating Cart ── */
body.has-cart-items .vm-welcome-chip,
body:has(#floatingMiniCart.visible) .vm-welcome-chip,
body:has(.shop-floating-cart.visible) .vm-welcome-chip,
body:has(#floating-cart-btn:not([style*="display: none"])) .vm-welcome-chip,
.shop-floating-cart.visible ~ .vm-welcome-chip,
#floatingMiniCart.visible ~ .vm-welcome-chip,
.vm-welcome-chip.has-floating-cart-offset {
    bottom: 92px !important;
}

@media (max-width: 768px) {
    body.has-cart-items .vm-welcome-chip,
    body:has(#floatingMiniCart.visible) .vm-welcome-chip,
    body:has(.shop-floating-cart.visible) .vm-welcome-chip,
    body:has(#floating-cart-btn:not([style*="display: none"])) .vm-welcome-chip,
    .shop-floating-cart.visible ~ .vm-welcome-chip,
    #floatingMiniCart.visible ~ .vm-welcome-chip,
    .vm-welcome-chip.has-floating-cart-offset {
        bottom: calc(138px + env(safe-area-inset-bottom, 12px)) !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL FLOATING BOTTOM MINI-CART PILL — PSYCHOLOGICAL CONVERSION ENGINE
   ═══════════════════════════════════════════════════════════════ */

/* ── Smart Psychological Conversion Nudge Bubble (Above Pill) ── */
.fc-nudge-bubble {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 14px;
    background: #FFFFFF;
    color: #143D1F;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(20, 61, 31, 0.22), 0 0 0 1.5px rgba(34, 197, 94, 0.35);
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    pointer-events: auto;
    z-index: 100000;
    animation: fcBubbleFloat 3.2s infinite ease-in-out;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.fc-nudge-bubble .fc-nudge-tail {
    position: absolute;
    bottom: -6px;
    right: 26px;
    width: 12px;
    height: 6px;
    background: #FFFFFF;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    filter: drop-shadow(0 2px 2px rgba(20, 61, 31, 0.15));
}

.fc-nudge-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8);
    animation: fcDotPulse 1.6s infinite ease-in-out;
}

@keyframes fcDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8); }
    70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes fcBubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ── The Floating Cart Pill Container ── */
.floating-cart-pill {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: linear-gradient(135deg, #10381B 0%, #1A4D27 50%, #113619 100%) !important;
    color: #FFFFFF !important;
    padding: 8px 18px 8px 10px !important;
    border-radius: 50px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
    overflow: hidden !important;
    user-select: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease !important;
    animation: fcAuroraBreath 3.2s infinite ease-in-out, fcAttentionWiggle 8s infinite ease-in-out !important;
}

/* Hypnotic Aurora Breathing Glow */
@keyframes fcAuroraBreath {
    0%, 100% {
        box-shadow: 0 10px 28px rgba(20, 61, 31, 0.45), 0 0 0 1.5px rgba(255, 255, 255, 0.22), 0 0 18px rgba(34, 197, 94, 0.35);
    }
    50% {
        box-shadow: 0 14px 40px rgba(20, 61, 31, 0.6), 0 0 0 2px rgba(254, 240, 138, 0.45), 0 0 28px rgba(234, 179, 8, 0.4);
    }
}

/* Subtle Peripheral Attention Wiggle (Fires every 8s) */
@keyframes fcAttentionWiggle {
    0%, 82%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    85% {
        transform: translateY(-5px) scale(1.04) rotate(-2deg);
    }
    88% {
        transform: translateY(-2px) scale(1.04) rotate(2deg);
    }
    91% {
        transform: translateY(-4px) scale(1.02) rotate(-1deg);
    }
    95% {
        transform: translateY(0) scale(1.01) rotate(0deg);
    }
}

/* Specular Light-Beam Shimmer Sweep */
.fc-shimmer-sweep {
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, rgba(254, 240, 138, 0.38) 60%, transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 1;
    animation: fcShimmerPass 3.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fcShimmerPass {
    0% { transform: translateX(0) skewX(-25deg); opacity: 0; }
    15% { opacity: 1; }
    50% { transform: translateX(350%) skewX(-25deg); opacity: 0; }
    100% { transform: translateX(350%) skewX(-25deg); opacity: 0; }
}

/* Hover & Active States */
.shop-floating-cart:hover .floating-cart-pill {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 18px 46px rgba(20, 61, 31, 0.65), 0 0 0 2px rgba(254, 240, 138, 0.6), 0 0 32px rgba(34, 197, 94, 0.5) !important;
    background: linear-gradient(135deg, #0d2f16 0%, #153f1f 100%) !important;
}

/* Celebratory Bump Animation when adding items */
.shop-floating-cart.bump .floating-cart-pill,
.shop-floating-cart.celebrate .floating-cart-pill {
    animation: fcCelebrateBump 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes fcCelebrateBump {
    0% { transform: scale(1); }
    30% { transform: scale(1.12) translateY(-6px); box-shadow: 0 20px 48px rgba(34, 197, 94, 0.7); }
    60% { transform: scale(0.97) translateY(1px); }
    100% { transform: scale(1) translateY(0); }
}

.shop-floating-cart.beacon-active .floating-cart-pill {
    animation: cartBeaconPulse 2s infinite cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes cartBeaconPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8), 0 10px 28px rgba(27, 77, 39, 0.38);
    }
    60% {
        box-shadow: 0 0 0 16px rgba(34, 197, 94, 0), 0 12px 32px rgba(27, 77, 39, 0.48);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 10px 28px rgba(27, 77, 39, 0.38);
    }
}

.cd-checkout-spotlight {
    animation: checkoutSpotlight 1.2s infinite ease-in-out !important;
}

@keyframes checkoutSpotlight {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8), 0 8px 24px rgba(21, 128, 61, 0.35);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0), 0 12px 28px rgba(21, 128, 61, 0.5);
    }
}

/* ── Icon Circle with Cart Icon & Radar Pulse Badge ── */
.floating-cart-icon-circle {
    position: relative !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    z-index: 2;
}

.floating-cart-icon-circle svg {
    width: 19px !important;
    height: 19px !important;
    stroke: #FFFFFF !important;
    stroke-width: 2.2 !important;
    fill: none !important;
    display: block !important;
    transition: transform 0.2s ease;
}

.shop-floating-cart:hover .floating-cart-icon-circle svg {
    transform: scale(1.1) rotate(-4deg);
}

/* Red Count Badge with Animated Radar Ring */
.floating-cart-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: #DC2626 !important;
    color: #FFFFFF !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #143D1F !important;
    padding: 0 3px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    animation: fcBadgePing 2.2s infinite ease-out !important;
}

@keyframes fcBadgePing {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.85);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

/* ── Info Section (Price & Count) ── */
.floating-cart-info {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #FFFFFF !important;
    z-index: 2;
}

.floating-cart-price {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: 0.2px !important;
    display: inline-block !important;
    font-variant-numeric: tabular-nums;
}

.floating-cart-dot {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.8rem !important;
    display: inline-block !important;
}

.floating-cart-count {
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

/* ── Dynamic Psychological Ticker & Goal Progress Track ── */
.floating-cart-tagline.fc-ticker-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 14px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.25) !important;
    min-width: 175px !important;
    max-width: 240px !important;
    z-index: 2;
}

/* Goal Gradient Progress Track */
.fc-goal-track {
    width: 100% !important;
    height: 3.5px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin-bottom: 3px !important;
}

.fc-goal-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #22C55E 0%, #FBBF24 50%, #22C55E 100%) !important;
    background-size: 200% 100% !important;
    border-radius: 4px !important;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation: fcProgressShine 2.2s infinite linear !important;
}

@keyframes fcProgressShine {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Ticker Slider & Rotating Slides */
.fc-ticker-slider {
    position: relative !important;
    height: 18px !important;
    overflow: hidden !important;
}

.fc-ticker-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    pointer-events: none;
}

.fc-ticker-slide.fc-slide-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.fc-ticker-slide.fc-slide-prev {
    opacity: 0 !important;
    transform: translateY(-14px) !important;
}

.fc-slide-icon {
    stroke: #86EFAC !important;
    flex-shrink: 0 !important;
}

.fc-fire-icon {
    font-size: 0.85rem !important;
    line-height: 1 !important;
}

.fc-reserve-countdown {
    color: #FEF08A !important;
    font-variant-numeric: tabular-nums !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
}

/* ── High-Energy Pulsing CTA Button (Golden Pill) ── */
.floating-cart-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #FEF08A !important;
    color: #143D1F !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    padding: 7px 16px !important;
    border-radius: 50px !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin-left: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 10px rgba(254, 240, 138, 0.4) !important;
    white-space: nowrap !important;
    z-index: 2;
    cursor: pointer !important;
}

.floating-cart-cta .fc-cta-label {
    color: #143D1F !important;
    font-weight: 800 !important;
    font-size: 0.86rem !important;
    line-height: 1 !important;
    letter-spacing: 0.2px !important;
}

.floating-cart-cta .fc-cta-arrow {
    stroke: #143D1F !important;
    fill: none !important;
    transition: transform 0.2s ease !important;
    flex-shrink: 0 !important;
    animation: fcArrowNudge 1.6s infinite ease-in-out !important;
}

@keyframes fcArrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3.5px); }
}

.shop-floating-cart:hover .floating-cart-cta {
    background: #FDE047 !important;
    transform: scale(1.04) !important;
    box-shadow: 0 6px 18px rgba(253, 224, 71, 0.6) !important;
}

.shop-floating-cart:hover .floating-cart-cta .fc-cta-label {
    color: #0F2E17 !important;
}

/* ── Dark Mode Support ── */
[data-theme="dark"] .floating-cart-pill {
    background: linear-gradient(135deg, #092110 0%, #0F3018 50%, #092110 100%) !important;
    border-color: rgba(74, 222, 128, 0.3) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(34, 197, 94, 0.25) !important;
}

[data-theme="dark"] .fc-nudge-bubble {
    background: #0F2E17 !important;
    color: #FAF8F3 !important;
    border: 1px solid rgba(74, 222, 128, 0.35) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .fc-nudge-bubble .fc-nudge-tail {
    background: #0F2E17 !important;
}

/* ── Fully Responsive Mobile Experience (No longer hidden!) ── */
@media (max-width: 768px) {
    .shop-floating-cart {
        bottom: calc(78px + env(safe-area-inset-bottom, 8px)) !important;
        right: 12px !important;
        left: 12px !important;
        width: calc(100% - 24px) !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        z-index: 999998 !important;
    }

    .shop-floating-cart.visible {
        display: block !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .floating-cart-pill {
        padding: 6px 12px 6px 8px !important;
        gap: 8px !important;
        justify-content: space-between !important;
        box-shadow: 0 8px 24px rgba(20, 61, 31, 0.5), 0 0 16px rgba(34, 197, 94, 0.35) !important;
    }

    .floating-cart-icon-circle {
        width: 32px !important;
        height: 32px !important;
    }

    .floating-cart-icon-circle svg {
        width: 16px !important;
        height: 16px !important;
    }

    .floating-cart-badge {
        min-width: 16px !important;
        height: 16px !important;
        font-size: 0.62rem !important;
        top: -3px !important;
        right: -3px !important;
    }

    .floating-cart-price {
        font-size: 0.95rem !important;
    }

    .floating-cart-count {
        font-size: 0.78rem !important;
    }

    .floating-cart-tagline.fc-ticker-container {
        padding: 0 8px !important;
        min-width: 0 !important;
        flex: 1 !important;
        max-width: 140px !important;
    }

    .fc-ticker-slide {
        font-size: 0.74rem !important;
    }

    .floating-cart-cta {
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
        margin-left: 0 !important;
    }

    .fc-nudge-bubble {
        right: 8px !important;
        bottom: calc(100% + 8px) !important;
        font-size: 0.72rem !important;
        padding: 4px 10px !important;
    }
}

@media (max-width: 380px) {
    .floating-cart-tagline.fc-ticker-container {
        display: none !important;
    }
    .floating-cart-pill {
        justify-content: space-around !important;
    }
}


