@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES — PINKISH LUXURY THEME
   ============================================================ */
:root {
    /* Core Pink Palette — Refined Luxury */
    --pink-50:  #fffafa;
    --pink-100: #fff0f5;
    --pink-200: #ffe4ec;
    --pink-300: #ffd6e7;
    --pink-400: #ffb3d1;
    --pink-500: #ff80b3;
    --pink-600: #ff4d94;
    --pink-700: #e6005c;

    /* Gradient Definitions */
    --gradient-pink:       linear-gradient(135deg, #ff80b3 0%, #ff4d94 100%);
    --gradient-pink-deep:  linear-gradient(135deg, #ff4d94 0%, #e6005c 100%);
    --gradient-pink-soft:  linear-gradient(135deg, #fff0f5 0%, #ffd6e7 100%);
    --gradient-glass:      linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);

    /* Backgrounds */
    --bg-base:    #ffffff;
    --bg-soft:    #fffafc;
    --bg-card:    #ffffff;
    --bg-glass:   rgba(255, 255, 255, 0.7);

    /* Text */
    --text-dark:  #1a1a1a;
    --text-mid:   #4a4a4a;
    --text-light: #8e8e8e;
    --text-pink:  #ff4d94;
    --white:      #ffffff;

    /* Semantic */
    --primary:        #ff4d94;
    --primary-dark:   #e6005c;
    --primary-glow:   rgba(255, 77, 148, 0.3);
    
    /* Radius */
    --radius-sm:  12px;
    --radius-md:  20px;
    --radius-lg:  30px;

    /* Shadows */
    --shadow-sm:    0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md:    0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg:    0 20px 50px rgba(255, 77, 148, 0.12);
    --shadow-premium: 0 15px 45px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.2, 1, 0.3, 1);
    --t-fast:   all 0.3s var(--ease-smooth);
    --t-smooth: all 0.5s var(--ease-smooth);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { 
    scroll-behavior: smooth; 
    background-color: #1a0a12; /* Match footer background to hide bottom gap */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background: linear-gradient(135deg, #fff5f8, #ffeaf2, #fff3f7, #ffe5ee);
    background-size: 400% 400%;
    animation: pinkFlow 15s ease infinite;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 105, 180, 0.02),
        rgba(255, 105, 180, 0.02) 10px,
        transparent 10px,
        transparent 20px
    );
    pointer-events: none;
    z-index: -1;
}

/* ============================================================
   LAYOUT CONTAINER (GLOBAL STANDARD)
   ============================================================ */
.container {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    box-sizing: border-box !important;
}
@media (max-width: 768px) {
    .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@keyframes pinkFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ensure main content sections have light background */
.cart-hero, .cart-section, .wishlist-hero, .wishlist-grid, .checkout-hero, .checkout-content, .hero, .section-padding, .category-section, .color-section, .review-section, .bg-soft {
    background-color: transparent !important;
}

/* Specific background for sections to keep them breathable but aligned with the new theme */
.section-white-bg {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

/* Push footer to bottom */
footer { margin-top: auto !important; }

@media (max-width: 768px) {
    /* Global: no horizontal scroll on any page */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    *, *::before, *::after {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
    body { padding-bottom: 90px !important; }

    /* Global image safety */
    img {
        max-width: 100% !important;
        height: auto;
        display: block;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
}

a { text-decoration: none; color: inherit; transition: var(--t-fast); }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   SCROLL PROGRESS INDICATOR
   ============================================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-pink);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px var(--primary-glow);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-pink {
    background: var(--gradient-pink);
    color: var(--white);
    padding: 14px 40px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: var(--t-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 24px var(--primary-glow);
}
.btn-pink::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.18);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-pink:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}
.btn-pink:hover::before { opacity: 1; }

.btn-outline-pink {
    background: transparent;
    color: var(--primary);
    padding: 12px 35px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 1.5px solid var(--primary);
    cursor: pointer;
    transition: var(--t-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
}
.btn-outline-pink:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* Legacy aliases for other pages */
.btn-primary { background: var(--gradient-pink); color: var(--white); padding: 13px 38px; border-radius: 50px; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 1.5px; border: none; cursor: pointer; transition: var(--t-smooth); display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-transform: uppercase; box-shadow: 0 6px 20px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-solid { background: var(--primary-dark); color: var(--white); padding: 13px 38px; border-radius: 50px; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 1.5px; border: none; cursor: pointer; transition: var(--t-smooth); display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase; }
.btn-solid:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

/* ============================================================
   GLASSMORPHISM CARD
   ============================================================ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 180, 215, 0.3);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--t-smooth);
}
.glass-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.elegant-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 77, 148, 0.1);
    transition: var(--t-smooth);
    position: relative;
}
.elegant-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

/* ============================================================
   SECTION UTILS
   ============================================================ */
.section-padding { padding: 80px 20px; }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-badge {
    display: inline-block;
    background: var(--gradient-pink-soft);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
    font-family: 'Outfit', sans-serif;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: 1.5px;
}
.section-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.6;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
    letter-spacing: 0.8px;
}


@media (min-width: 768px) {
    body { padding-bottom: 0; }
    .mobile-nav, .fab-cart { display: none !important; }
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION
   ============================================================ */
.mobile-nav {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    height: var(--bottom-nav-height);
    background: rgba(255, 246, 250, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 77, 148, 0.15);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 24px rgba(255, 77, 148, 0.08);
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    transition: var(--t-fast);
    width: 20%; height: 100%;
    position: relative;
    gap: 3px;
}
.mobile-nav-item i {
    font-size: 23px;
    transition: var(--t-fast);
}
.mobile-nav-item.active {
    color: var(--primary);
}
.mobile-nav-item.active i {
    transform: translateY(-2px);
}
.mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 3px;
    background: var(--gradient-pink);
    border-radius: 0 0 4px 4px;
}
.mobile-nav-item:active { transform: scale(0.92); }

/* ============================================================
   FLOATING CART BUTTON (MOBILE)
   ============================================================ */
.fab-cart {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 18px);
    right: 18px;
    width: 52px; height: 52px;
    background: var(--gradient-pink);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 22px;
    box-shadow: 0 6px 24px var(--primary-glow);
    z-index: 999;
    transition: var(--t-smooth);
    cursor: pointer;
}
.fab-cart:hover { transform: scale(1.1); box-shadow: var(--shadow-glow); }
.fab-cart .badge {
    position: absolute;
    top: -5px; right: -5px;
    background: var(--text-dark);
    color: var(--white);
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border: 2px solid var(--bg-base);
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   SWIPER CUSTOM PAGINATION
   ============================================================ */
.swiper-pagination-bullet {
    background: rgba(255, 77, 148, 0.35);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 24px !important;
    border-radius: 3px;
}

/* ============================================================
   MOBILE RESPONSIVENESS OVERRIDES
   ============================================================ */
@media (max-width: 1024px) {
    .section-padding { padding: 50px 20px; }
    .section-header { margin-bottom: 30px; }
    .section-title { font-size: 2rem !important; }
    
    /* Hero Section Mobile handled in index.php */

    /* Category Grid Mobile */
    .categories-container { 
        grid-template-columns: 1fr !important; 
        gap: 20px !important; 
    }
    .luxury-card { height: 300px !important; }
    .cat-main-title { font-size: 1.8rem !important; }

    /* Product Grid Mobile */
    .products-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 12px !important; 
        margin-top: 30px !important;
    }
    #products { padding-left: 16px !important; padding-right: 16px !important; }
    .product-card { border-radius: 20px !important; }
    .product-img-wrap { padding: 10px !important; }
    .product-info { padding: 15px !important; }
    .product-title { font-size: 1.05rem !important; }
    .product-price { font-size: 1rem !important; margin-bottom: 15px !important; }
    .add-to-bag-btn { padding: 10px 15px !important; font-size: 0.75rem !important; }

    /* Review Section Mobile */
    .review-card { padding: 25px !important; }
    .review-text { font-size: 0.9rem !important; }
    .review-user img { width: 45px !important; height: 45px !important; }
    .user-name { font-size: 1rem !important; }

    /* Banner Section Mobile */
    .banner-card { height: 320px !important; padding: 0 25px !important; }
    .banner-content h2 { font-size: 1.8rem !important; }
    .banner-content p { font-size: 0.9rem !important; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .section-padding { padding: 40px 15px; }
    .product-title { font-size: 0.95rem !important; }
    .add-to-bag-btn { font-size: 0.7rem !important; padding: 8px 10px !important; }
}

/* ============================================================
   PRODUCT GRID & CARDS (GLOBAL)
   ============================================================ */
#products {
    overflow: hidden;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 0 !important;
    margin-top: 60px;
}
.products-grid {
    display: grid; 
    grid-template-columns: repeat(4, 1fr);
    gap: 25px; 
    row-gap: 40px;
    margin-top: 50px;
    margin-bottom: 0;
}

.review-section {
    padding: 0 0 60px !important;
    background: #fffcfd;
    margin-top: 0 !important;
}
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
}
/* ============================================================
   PREMIUM PRODUCT CARD (NEW)
   ============================================================ */
.product-card-premium {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.product-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 77, 148, 0.15);
    border-color: rgba(255, 77, 148, 0.2);
}

.premium-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--pink-50);
}

.premium-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card-premium:hover .premium-img {
    transform: scale(1.08);
}

.wishlist-icon-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.wishlist-icon-btn:hover {
    background: #fff;
    color: var(--primary);
    transform: scale(1.1);
}

.wishlist-icon-btn.active {
    color: var(--primary);
    background: #fff;
}

.discount-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-pink);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(255, 77, 148, 0.3);
}

.premium-info {
    padding: 12px 4px 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.premium-brand {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-light);
    opacity: 0.7;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.premium-color-badge {
    align-self: flex-start;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #4a4a4a;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
    text-transform: capitalize;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.premium-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ff4d94;
    margin-bottom: 6px;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.product-card-premium:hover .premium-title {
    color: var(--primary);
}

.premium-price-box {
    margin-bottom: 0;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.premium-current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.2px;
}

.premium-old-price {
    font-size: 0.9rem;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 500;
}

.price-discount-pill {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--pink-100);
    padding: 2px 8px;
    border-radius: 50px;
}

.you-save-text {
    font-size: 0.75rem;
    color: #2ecc71;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

.add-to-cart-premium {
    width: 100%;
    height: 52px;
    border-radius: 50px;
    background: var(--gradient-pink);
    color: #fff;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 15px rgba(255, 77, 148, 0.2);
}

/* Compact modifier for smaller, more elegant cards */
.product-card-premium.compact {
    padding: 8px;
    border-radius: 16px;
}
.product-card-premium.compact .premium-img-wrap {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
}
.product-card-premium.compact .premium-title {
    font-size: 0.92rem;
    margin-bottom: 2px;
    -webkit-line-clamp: 1;
}
.product-card-premium.compact .premium-brand {
    font-size: 0.55rem;
    margin-bottom: 4px;
}
.product-card-premium.compact .premium-current-price {
    font-size: 0.88rem;
}
.product-card-premium.compact .premium-old-price {
    font-size: 0.75rem;
}
.product-card-premium.compact .you-save-text {
    font-size: 0.6rem;
    margin-bottom: 6px;
}
.product-card-premium.compact .add-to-cart-premium {
    height: 32px;
    font-size: 0.65rem;
    padding: 0 12px;
}
.product-card-premium.compact .discount-tag {
    font-size: 0.5rem;
    padding: 2px 6px;
    top: 6px;
    left: 6px;
}
.product-card-premium.compact .wishlist-icon-btn {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    top: 6px;
    right: 6px;
}

/* 5-Column Grid Utility */
.products-grid.grid-5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
.view-all-link {
    transition: all 0.3s ease;
}
.view-all-link:hover {
    color: var(--text-dark) !important;
    transform: translateX(5px);
}
@media (max-width: 1300px) {
    .products-grid.grid-5 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
    .products-grid.grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .products-grid.grid-5 { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
}

/* ============================================================
   WISHLIST UNIQUE STYLES
   ============================================================ */
.wl-remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e8e8e;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.wl-remove-btn:hover {
    background: #ff4d94;
    color: #fff;
    transform: scale(1.1) rotate(90deg);
}

.wl-fade-in {
    animation: wlFadeIn 0.6s ease both;
}

@keyframes wlFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.add-to-cart-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 77, 148, 0.4);
    background: linear-gradient(135deg, #ff4d94 0%, #e6005c 100%);
}

.add-to-cart-premium:active {
    transform: scale(0.96);
}

.add-to-cart-premium i {
    font-size: 1.2rem;
}

/* ============================================================
   CART PAGE STYLES (NEW)
   ============================================================ */
.cart-premium-container {
    padding: 60px 0 120px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
}

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

.cart-item-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--t-fast);
}

.cart-item-card:hover {
    box-shadow: var(--shadow-md);
}

.cart-item-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--pink-50);
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.cart-item-variant {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.quantity-pill {
    display: flex;
    align-items: center;
    background: var(--pink-100);
    border-radius: 50px;
    padding: 5px 15px;
    gap: 15px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    transition: var(--t-fast);
}

.qty-btn:hover {
    background: var(--primary);
    color: #fff;
}

.qty-val {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.remove-item-btn {
    color: #ff4d4d;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--t-fast);
    padding: 10px;
}

.remove-item-btn:hover {
    transform: scale(1.1);
    color: #e60000;
}

.order-summary-box {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 77, 148, 0.1);
    position: sticky;
    top: 100px;
}

.summary-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--pink-200);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-mid);
}

.summary-row.total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--pink-200);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.promo-input-group {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

.promo-input {
    flex-grow: 1;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1.5px solid var(--pink-200);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
}

.promo-btn {
    padding: 12px 20px;
    background: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--t-fast);
}

.promo-btn:hover {
    background: #000;
}

.checkout-btn-premium {
    width: 100%;
    padding: 18px;
    border-radius: 50px;
    background: var(--gradient-pink);
    color: #fff;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--t-smooth);
    box-shadow: 0 8px 25px rgba(255, 77, 148, 0.3);
}

.checkout-btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 77, 148, 0.5);
}

@media (max-width: 768px) {
    .products-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; 
    }
    .product-card { border-radius: 20px; }
    .product-title { font-size: 1.1rem; }
    .product-price { font-size: 1rem; }
    .add-to-bag-btn { font-size: 0.75rem; padding: 12px 15px; }
    .wishlist-btn { width: 32px; height: 32px; font-size: 1rem; opacity: 1; transform: translateY(0); }
}

/* ============================================================
   GLOBAL PREMIUM ANIMATIONS & GLASSMORPHISM
   ============================================================ */
.glass-premium {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: none !important; /* Cleaner look for high visibility */
}

/* Page Entrance Animation */
.page-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: premiumFadeUp 0.5s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes premiumFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Button Click Ripple/Scale Effect */
.btn-premium-action {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-premium-action:active {
    transform: scale(0.95);
}

/* Premium Form Inputs */
.input-premium {
    background: #fff;
    border: 1px solid rgba(255, 77, 148, 0.1);
    border-radius: 14px;
    padding: 14px 20px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}
.input-premium:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 77, 148, 0.15);
    outline: none;
}

/* Hover Slide Effect for Menu Items */
.hover-slide {
    position: relative;
    transition: transform 0.3s ease;
}
.hover-slide:hover {
    transform: translateX(8px);
}

/* Luxury Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, #d4a956 0%, #a67c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================================
   STRICT PRODUCT GRID & COMPACT CARD (REFERENCE PERFECT)
   ============================================================ */
.products-grid, .product-grid, .products-grid.grid-5 {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
    row-gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.product-card-premium {
    width: 100% !important;
    min-height: 260px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.product-card-premium:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 20px rgba(255, 77, 148, 0.1) !important;
    border-color: rgba(255, 77, 148, 0.15) !important;
}

.product-card-premium .premium-img-wrap {
    width: 100% !important;
    height: 140px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    aspect-ratio: auto !important;
    background: #fff5f8 !important;
    margin-bottom: 0 !important;
}

.product-card-premium .premium-img-wrap img.premium-img {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    transition: transform 0.5s ease !important;
}

.product-card-premium:hover .premium-img {
    transform: scale(1.05) !important;
}

.product-card-premium .discount-tag {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    background: #ff4d94 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 50px !important;
    z-index: 5 !important;
    box-shadow: 0 2px 6px rgba(255, 77, 148, 0.2) !important;
}

.product-card-premium .wishlist-icon-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(4px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #8e8e8e !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    z-index: 5 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

.product-card-premium .wishlist-icon-btn:hover,
.product-card-premium .wishlist-icon-btn.active {
    background: #ffffff !important;
    color: #ff4d94 !important;
}

.product-card-premium .premium-info {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    flex-grow: 1 !important;
}

.product-card-premium .premium-brand {
    font-size: 9px !important;
    font-weight: 600 !important;
    color: #8e8e8e !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin: 0 !important;
    opacity: 0.8 !important;
}

.product-card-premium .premium-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ff4d94 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.product-card-premium .premium-price-box {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.product-card-premium .price-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

.product-card-premium .premium-current-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

.product-card-premium .premium-old-price {
    font-size: 11px !important;
    color: #bbb !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
}

.product-card-premium .you-save-text {
    font-size: 11px !important;
    color: #2ecc71 !important;
    font-weight: 700 !important;
    margin: 0 !important;
    display: block !important;
}

.product-card-premium .add-to-cart-premium {
    width: 100% !important;
    height: 32px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #ff80b3 0%, #ff4d94 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 9px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 10px rgba(255, 77, 148, 0.15) !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important;
    padding: 0 !important;
}

.product-card-premium .add-to-cart-premium:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 15px rgba(255, 77, 148, 0.25) !important;
}

/* Responsive Rules for 5-Column Grid */
@media (max-width: 1200px) {
    .products-grid, .product-grid, .products-grid.grid-5 {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px !important;
    }
}
@media (max-width: 900px) {
    .products-grid, .product-grid, .products-grid.grid-5 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .products-grid, .product-grid, .products-grid.grid-5 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .product-card-premium {
        max-width: 100% !important;
        padding: 8px 8px 14px 8px !important;
        border-radius: 12px !important;
        gap: 8px !important;
        min-height: 0 !important; /* Allow height to adapt dynamically */
    }
    .product-card-premium .premium-img-wrap {
        height: 120px !important;
    }
    .product-card-premium .premium-img-wrap img.premium-img {
        height: 120px !important;
    }
    .product-card-premium .premium-title {
        font-size: 13px !important;
    }
    .product-card-premium .premium-current-price {
        font-size: 13px !important;
    }
    .product-card-premium .premium-old-price {
        font-size: 10px !important;
    }
    .product-card-premium .add-to-cart-premium {
        height: 28px !important;
        font-size: 8px !important;
    }
}

/* Cart Layout Views toggling */
.desktop-cart-view {
    display: block;
}
.mobile-cart-view {
    display: none;
}

/* Product Layout Views toggling */
.desktop-product-view {
    display: block;
}
.mobile-product-view {
    display: none;
}

/* ============================================================
   MOBILE RESPONSIVENESS OVERRIDES (MAX-WIDTH: 768PX)
   ============================================================ */
@media (max-width: 768px) {
    /* Global Reset to Prevent Overflow & Ensure Perfect Spacing */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    * {
        box-sizing: border-box !important;
    }

    /* Container Spacing for Small Screens */
    .container, .bag-container, .cart-premium-container, .wl-container, .checkout-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        padding-top: 100px !important; /* Proper margin under standard header */
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Breadcrumbs, titles and extra margins on mobile */
    .bag-breadcrumbs {
        margin-bottom: 15px !important;
    }
    .bag-title {
        font-size: 2rem !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    /* Hide desktop view on mobile */
    .desktop-cart-view {
        display: none !important;
    }
    .mobile-cart-view {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Cart Layout Grid override on mobile */
    .bag-grid, .cart-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Redesigned Mobile Cart Card Style */
    .mobile-cart-item-card {
        position: relative !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        padding: 12px !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02) !important;
        border: 1px solid rgba(255, 77, 141, 0.06) !important;
        margin-bottom: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        box-sizing: border-box !important;
    }
    .mobile-cart-item-content {
        display: flex !important;
        gap: 12px !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
        align-items: center !important;
    }
    .mobile-cart-item-img {
        width: 70px !important;
        height: 70px !important;
        border-radius: 10px !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
        background: #fff8fb !important;
    }
    .mobile-cart-item-info {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        min-width: 0 !important;
    }
    .mobile-cart-item-brand {
        font-size: 0.6rem !important;
        font-weight: 700 !important;
        color: #8e8e8e !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
    }
    .mobile-cart-item-name {
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        color: #ff4d94 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .mobile-cart-item-attr {
        display: flex !important;
        gap: 5px !important;
        flex-wrap: wrap !important;
    }
    .mobile-attr-pill {
        font-size: 0.6rem !important;
        font-weight: 700 !important;
        color: #8e8e8e !important;
        background: #fdf2f7 !important;
        padding: 2px 8px !important;
        border-radius: 50px !important;
    }
    .mobile-cart-item-price {
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        color: #555 !important;
        margin-top: 2px !important;
    }
    .mobile-cart-item-footer {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-top: 10px !important;
        border-top: 1px solid rgba(255, 77, 141, 0.05) !important;
        box-sizing: border-box !important;
    }
    .mobile-qty-control {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: #fff0f5 !important;
        padding: 4px 10px !important;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 77, 141, 0.05) !important;
    }
    .mobile-qty-btn {
        background: none !important;
        border: none !important;
        color: #ff4d94 !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        width: 20px !important;
        height: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .mobile-qty-num {
        font-size: 0.85rem !important;
        font-weight: 800 !important;
        color: #111 !important;
        min-width: 16px !important;
        text-align: center !important;
    }
    .mobile-cart-item-total {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: #1a1a1a !important;
    }
    .mobile-bag-remove-btn {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: 24px !important;
        height: 24px !important;
        background: #fff0f5 !important;
        color: #ff4d94 !important;
        border: none !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        font-size: 0.95rem !important;
        z-index: 10 !important;
    }

    /* Mobile Coupon Section Style */
    .mobile-coupon-section {
        display: flex !important;
        gap: 10px !important;
        margin-top: 15px !important;
        box-sizing: border-box !important;
    }
    .mobile-coupon-input-wrap {
        background: #ffffff !important;
        border-radius: 50px !important;
        padding: 0 15px !important;
        border: 1px solid rgba(255, 77, 141, 0.1) !important;
        display: flex !important;
        align-items: center !important;
        flex: 1 !important;
        height: 46px !important;
        box-sizing: border-box !important;
    }
    .mobile-coupon-input-wrap i {
        color: #ff4d94 !important;
        margin-right: 8px !important;
        font-size: 1.05rem !important;
    }
    .mobile-coupon-input-wrap input {
        border: none !important;
        background: transparent !important;
        font-family: inherit !important;
        font-size: 0.85rem !important;
        width: 100% !important;
        outline: none !important;
    }
    .mobile-coupon-btn {
        background: #fff !important;
        color: #ff4d94 !important;
        border: 1.5px solid #ff4d94 !important;
        padding: 0 20px !important;
        border-radius: 50px !important;
        font-weight: 800 !important;
        font-size: 0.75rem !important;
        text-transform: uppercase !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
    }

    /* Mobile Order Summary Style */
    .mobile-summary-card {
        background: #ffffff !important;
        border-radius: 20px !important;
        padding: 20px !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03) !important;
        border: 1px solid rgba(255, 77, 141, 0.05) !important;
        margin-top: 20px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .mobile-summary-title {
        font-family: 'Playfair Display', serif !important;
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        color: #ff4d94 !important;
        margin-bottom: 15px !important;
        text-transform: uppercase !important;
    }
    .mobile-summary-row {
        display: flex !important;
        justify-content: space-between !important;
        margin-bottom: 12px !important;
        font-size: 0.9rem !important;
    }
    .mobile-summary-label {
        color: #666 !important;
        font-weight: 600 !important;
    }
    .mobile-summary-val {
        color: #111 !important;
        font-weight: 800 !important;
    }
    .mobile-shipping {
        color: #ff80b3 !important;
        font-style: italic !important;
    }
    .mobile-summary-divider {
        border: none !important;
        border-top: 1px solid #fdf2f7 !important;
        margin: 15px 0 !important;
    }
    .mobile-total-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 20px !important;
    }
    .mobile-total-label {
        font-size: 1rem !important;
        font-weight: 800 !important;
        color: #111 !important;
    }
    .mobile-total-amount {
        font-size: 1.8rem !important;
        font-weight: 900 !important;
        color: #ff4d94 !important;
    }
    .mobile-checkout-btn {
        width: 100% !important;
        padding: 16px !important;
        background: linear-gradient(135deg, #ff80b3 0%, #ff4d94 100%) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 14px !important;
        font-family: 'Outfit', sans-serif !important;
        font-weight: 800 !important;
        font-size: 0.95rem !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        box-shadow: 0 10px 25px rgba(255, 77, 148, 0.2) !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }
    
    /* Recommendations Shelf Mobile Settings */
    .recommend-section {
        margin-top: 50px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .recommend-title {
        font-size: 1.1rem !important;
        margin-bottom: 25px !important;
    }
    .products-grid.grid-5, .wl-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* Product Page Mobile Overrides */
    /* Improve the UI to a premium standard. Reduce empty space, add smooth animations, and ensure the layout feels modern, compact, and high-quality. */
    .desktop-product-view {
        display: none !important;
    }
    .product-page {
        margin: 0 auto !important;
        padding: 12px !important;
        padding-top: 70px !important; /* Space perfectly under header */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .mobile-product-view {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 0 130px 0 !important; /* Healthy bottom space to scroll past sticky Add-to-Bag bar */
        gap: 12px !important;
        box-sizing: border-box !important;
        margin-top: 0 !important;
    }

    /* Section Cards Design - Layered, Soft Shadows, Clean Spacing */
    .mobile-section-card {
        background: #ffffff !important;
        border-radius: 14px !important;
        padding: 14px !important;
        margin-bottom: 12px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
        border: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Image Card Wrap Settings */
    .image-card-wrap {
        padding: 12px !important;
        margin-top: 8px !important; /* Bring image closer to header */
    }
    .mobile-main-view {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        background: #fff8fb !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.05) !important; /* Premium image shadow */
    }
    .mobile-main-view img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 14px !important;
    }
    .mobile-thumb-scroller {
        display: flex !important;
        gap: 10px !important;
        overflow-x: auto !important;
        padding: 8px 0 !important;
        margin-top: 5px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .mobile-thumb-scroller::-webkit-scrollbar {
        display: none !important;
    }
    .mobile-thumb-card {
        width: 60px !important;
        height: 60px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
        border: 1.5px solid transparent !important;
        overflow: hidden !important;
        cursor: pointer !important;
        transition: border-color 0.2s ease !important;
    }
    .mobile-thumb-card.active {
        border-color: #ff4d94 !important;
    }
    .mobile-thumb-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Product Info Left Alignment */
    .mobile-brand-tag {
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.7rem !important;
        font-weight: 800 !important;
        color: #ff4d94 !important;
        letter-spacing: 2px !important;
        text-transform: uppercase !important;
        text-align: left !important;
    }
    .mobile-product-title {
        font-family: 'Playfair Display', serif !important;
        font-size: 1.6rem !important;
        font-weight: 700 !important;
        color: #111 !important;
        line-height: 1.25 !important;
        text-align: left !important;
    }
    .mobile-stars-summary {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        text-align: left !important;
    }
    .stars-gold-mobile {
        display: flex !important;
        gap: 2px !important;
        color: #ffcc00 !important;
        font-size: 0.9rem !important;
    }
    .mobile-rating-num, .mobile-rev-count {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: #8e8e8e !important;
    }

    /* Prices Left Alignment */
    .mobile-price-box {
        display: flex !important;
        align-items: baseline !important;
        gap: 10px !important;
        margin-top: 5px !important;
        text-align: left !important;
    }
    .mobile-current-price {
        font-family: 'Outfit', sans-serif !important;
        font-size: 1.6rem !important;
        font-weight: 900 !important;
        color: #ff4d94 !important;
    }
    .mobile-old-price {
        font-family: 'Outfit', sans-serif !important;
        font-size: 1rem !important;
        text-decoration: line-through !important;
        color: #b5b5b5 !important;
    }
    .mobile-discount-badge {
        font-size: 0.75rem !important;
        font-weight: 800 !important;
        background: #fff0f5 !important;
        color: #ff4d94 !important;
        padding: 2px 8px !important;
        border-radius: 50px !important;
    }
    .mobile-short-desc {
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.85rem !important;
        color: #666 !important;
        line-height: 1.5 !important;
        text-align: left !important;
        margin-top: 5px !important;
    }

    /* Swatches Left Alignment */
    .mobile-section-label {
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.8rem !important;
        font-weight: 800 !important;
        color: #111 !important;
        text-align: left !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    .mobile-swatch-group {
        display: flex !important;
        gap: 8px !important;
        margin-top: 5px !important;
        text-align: left !important;
        flex-wrap: wrap !important;
    }
    .mobile-swatch-circle {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        border: 2px solid transparent !important;
        cursor: pointer !important;
        transition: all 0.3s cubic-bezier(0.2,1,0.3,1) !important;
    }
    .mobile-swatch-circle.active {
        border-color: #ff4d94 !important;
        transform: scale(1.1) !important;
    }
    .mobile-color-display {
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        color: #8e8e8e !important;
        text-align: left !important;
    }

    /* Quantity & Button Fix */
    .mobile-qty-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 5px !important;
    }
    .mobile-qty-label {
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        color: #555 !important;
    }
    .mobile-qty-picker {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        background: #fff0f5 !important;
        padding: 5px 12px !important;
        border-radius: 50px !important;
    }
    .mobile-qty-btn-dec, .mobile-qty-btn-inc {
        background: none !important;
        border: none !important;
        color: #ff4d94 !important;
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        cursor: pointer !important;
        width: 24px !important;
        height: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .mobile-qty-val-display {
        font-size: 0.9rem !important;
        font-weight: 800 !important;
        color: #111 !important;
        min-width: 20px !important;
        text-align: center !important;
    }

    /* Action Buttons - equal size, clickable, display: flex */
    .mobile-purchase-buttons {
        display: flex !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 5px !important;
    }
    .mobile-btn-action {
        flex: 1 !important;
        width: 50% !important;
        height: 50px !important;
        border-radius: 12px !important;
        font-family: 'Outfit', sans-serif !important;
        font-weight: 800 !important;
        font-size: 0.85rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        cursor: pointer !important;
        border: none !important;
        transition: all 0.3s ease !important;
    }
    .btn-add-bag {
        background: #ffffff !important;
        color: #ff4d94 !important;
        border: 2px solid #ff4d94 !important;
    }
    .btn-buy-now {
        background: linear-gradient(135deg, #ff4d8d, #ff7aa2) !important; /* Premium Gradient feel */
        color: #ffffff !important;
        box-shadow: 0 8px 20px rgba(255, 77, 148, 0.15) !important;
    }
    
    /* Interactive Button Transitions & Tap Animations */
    button, .mobile-btn-action, .mobile-btn-write-review, .mobile-checkout-btn, .btn-submit-review {
        transition: all 0.3s ease !important;
    }
    button:active, .mobile-btn-action:active, .mobile-btn-write-review:active, .mobile-checkout-btn:active, .btn-submit-review:active {
        transform: scale(0.97) !important; /* Tap scale active effect */
    }

    /* Scrollable Tabs Section Fix */
    .mobile-tabs-card {
        background: #ffffff !important;
        border-radius: 14px !important;
        padding: 14px !important;
        margin-bottom: 12px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
        border: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .mobile-tab-nav {
        display: flex !important;
        overflow-x: auto !important;
        gap: 12px !important;
        border-bottom: 1.5px solid #fdf2f7 !important;
        padding-bottom: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .mobile-tab-nav::-webkit-scrollbar {
        display: none !important;
    }
    .mobile-tab-btn {
        background: none !important;
        border: none !important;
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        color: #8e8e8e !important;
        padding: 4px 8px !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        transition: color 0.3s ease !important;
        position: relative !important;
    }
    .mobile-tab-btn.active {
        color: #ff4d94 !important;
    }
    .mobile-tab-btn.active::after {
        content: '' !important;
        position: absolute !important;
        bottom: -9.5px !important;
        left: 0 !important;
        width: 100% !important;
        height: 2px !important;
        background: #ff4d94 !important;
        border-radius: 50px !important;
    }

    /* Tabs Content & Fixed Height Removal */
    .mobile-tab-body {
        padding-top: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .mobile-tab-pane {
        display: none !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .mobile-tab-pane.active {
        display: flex !important;
    }

    /* Details Content Stylings */
    .mobile-details-item {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        text-align: left !important;
    }
    .mobile-details-item h5 {
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.85rem !important;
        font-weight: 800 !important;
        color: #ff4d94 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
        text-transform: uppercase !important;
    }
    .mobile-details-item p {
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.82rem !important;
        color: #666 !important;
        line-height: 1.5 !important;
        margin: 0 0 10px 0 !important;
    }

    /* Reviews Star & Comment Input Card Styling */
    .mobile-reviews-summary-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    .mobile-rev-stats h3 {
        font-family: 'Playfair Display', serif !important;
        font-size: 1.1rem !important;
        color: #111 !important;
        margin: 0 0 2px 0 !important;
    }
    .mobile-btn-write-review {
        background: #fff0f5 !important;
        color: #ff4d94 !important;
        border: 1px solid rgba(255, 77, 141, 0.15) !important;
        padding: 6px 12px !important;
        border-radius: 50px !important;
        font-size: 0.72rem !important;
        font-weight: 800 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .mobile-reviews-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .mobile-review-card {
        background: #fdf2f7 !important;
        border-radius: 10px !important;
        padding: 10px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .mobile-rev-stars {
        color: #ffcc00 !important;
        font-size: 0.75rem !important;
        display: flex !important;
        gap: 1px !important;
    }
    .mobile-rev-author {
        font-size: 0.75rem !important;
        color: #111 !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .mobile-rev-comment {
        font-size: 0.8rem !important;
        color: #555 !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        text-align: left !important;
    }
    .mobile-rev-date {
        font-size: 0.65rem !important;
        color: #aaa !important;
        text-align: right !important;
    }

    /* FAQ List styling */
    .mobile-faq-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .mobile-faq-item {
        background: #fdf2f7 !important;
        border-radius: 10px !important;
        padding: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        text-align: left !important;
    }
    .mobile-faq-question {
        font-size: 0.82rem !important;
        font-weight: 800 !important;
        color: #ff4d94 !important;
    }
    .mobile-faq-answer {
        font-size: 0.8rem !important;
        color: #555 !important;
        line-height: 1.4 !important;
    }

    /* Recommendations Card Shelf Design */
    .recommendations-card-wrap {
        margin-top: 10px !important;
    }
    .mobile-shelf-title {
        font-family: 'Playfair Display', serif !important;
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        color: #ff4d94 !important;
        margin-bottom: 12px !important;
        text-align: left !important;
    }
    .mobile-shelf-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .mobile-related-card {
        background: #fdf2f7 !important;
        border-radius: 10px !important;
        padding: 8px !important;
        cursor: pointer !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .mobile-related-card img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }
    .mobile-related-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        text-align: left !important;
    }
    .mobile-related-info h4 {
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.8rem !important;
        font-weight: 800 !important;
        color: #111 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .mobile-related-price {
        display: flex !important;
        align-items: baseline !important;
        gap: 6px !important;
    }
    .m-price-current {
        font-size: 0.85rem !important;
        font-weight: 900 !important;
        color: #ff4d94 !important;
    }
    .m-price-old {
        font-size: 0.7rem !important;
        text-decoration: line-through !important;
        color: #b5b5b5 !important;
    }

    /* Scroll animations - reveal mobile cards on scroll */
    .reveal-mobile {
        opacity: 0 !important;
        transform: translateY(20px) !important;
        transition: opacity 0.5s cubic-bezier(0.25, 1, 0.3, 1), transform 0.5s cubic-bezier(0.25, 1, 0.3, 1) !important;
    }
    .reveal-mobile.visible {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Remove bottom scroll spacing */
    body {
        padding-bottom: 0 !important;
    }
}

/* PREMIUM LENS TYPE BADGES */
.lens-type-badge {
    font-size: 8px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-family: 'Outfit', sans-serif !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.premium-badge-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-bottom: 6px !important;
    width: 100% !important;
}
.premium-badge-row .premium-color-badge {
    margin-bottom: 0 !important;
}
.premium-badge-row .lens-type-badge {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    margin-left: 0 !important;
    box-shadow: none !important;
}
.lens-type-badge.power-lens {
    background: rgba(255, 77, 148, 0.15) !important;
    border: 1px solid rgba(255, 77, 148, 0.4) !important;
    color: #ff4d94 !important;
    backdrop-filter: blur(8px) !important;
}
.lens-type-badge.non-power-lens {
    background: rgba(45, 27, 37, 0.08) !important;
    border: 1px solid rgba(45, 27, 37, 0.2) !important;
    color: #2d1b25 !important;
    backdrop-filter: blur(8px) !important;
}

/* PREMIUM PRESCRIPTION CONTAINER */
.prescription-container-premium {
    background: rgba(255, 240, 245, 0.6) !important;
    border: 1px dashed rgba(255, 77, 148, 0.3) !important;
    border-radius: 16px !important;
    padding: 18px !important;
    margin: 20px 0 !important;
    backdrop-filter: blur(10px) !important;
    font-family: 'Outfit', sans-serif !important;
    box-shadow: 0 4px 15px rgba(255, 77, 148, 0.04) !important;
}
.prescription-header {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ff4d94 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 6px !important;
}
.prescription-header i {
    font-size: 18px !important;
}
.prescription-sub {
    font-size: 11px !important;
    color: #6d5a64 !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.4 !important;
}
.prescription-field {
    margin-bottom: 12px !important;
}
.prescription-field:last-child {
    margin-bottom: 0 !important;
}
.prescription-field label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #2d1b25 !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.5px !important;
}
.prescription-field textarea {
    width: 100% !important;
    height: 60px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-family: 'Outfit', sans-serif !important;
    resize: none !important;
    color: #2d1b25 !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}
.prescription-field textarea:focus {
    outline: none !important;
    border-color: #ff4d94 !important;
    box-shadow: 0 0 0 3px rgba(255, 77, 148, 0.1) !important;
}
.prescription-upload-box {
    border: 1px dashed rgba(45, 27, 37, 0.2) !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 12px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
}
.prescription-upload-box:hover {
    border-color: #ff4d94 !important;
    background: rgba(255, 240, 245, 0.2) !important;
}
.prescription-upload-box i {
    font-size: 24px !important;
    color: #ff4d94 !important;
}
.prescription-upload-box span {
    font-size: 12px !important;
    color: #5a3a4a !important;
    font-weight: 500 !important;
}
.upload-preview-container {
    position: relative !important;
    margin-top: 10px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 77, 148, 0.2) !important;
    display: inline-block;
}
.upload-preview {
    max-width: 100% !important;
    max-height: 120px !important;
    display: block !important;
}
.remove-preview-btn {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    width: 20px !important;
    height: 20px !important;
    background: rgba(45, 27, 37, 0.8) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 12px !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
}
.remove-preview-btn:hover {
    background: #ff4d94 !important;
}

/* Prescription validation error shake and glow */
@keyframes rxShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.rx-shake-error {
    animation: rxShake 0.4s ease-in-out !important;
    border: 1.5px solid #ff4d4d !important;
    background: rgba(255, 240, 240, 0.8) !important;
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.25) !important;
}

/* ============================================================
   MOBILE VIEW ALL CARD ANIMATION & STYLES
   ============================================================ */
.view-all-mobile-card {
    display: none !important;
}

@media (max-width: 768px) {
    .view-all-mobile-card {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: linear-gradient(135deg, #fff2f6 0%, #fffcf9 50%, #ffffff 100%) !important;
        border: 2px dashed rgba(255, 77, 148, 0.3) !important;
        border-radius: 16px !important;
        padding: 24px 16px !important;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        position: relative;
        overflow: hidden;
        min-height: 250px !important;
        box-sizing: border-box !important;
        box-shadow: 0 8px 24px rgba(255, 77, 148, 0.05) !important;
    }

    .view-all-mobile-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 77, 148, 0.04) 0%, transparent 60%);
        animation: rotateBg 12s linear infinite;
        pointer-events: none;
    }

    @keyframes rotateBg {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .view-all-mobile-card:active, .view-all-mobile-card:hover {
        transform: translateY(-3px) scale(0.97) !important;
        border-color: rgba(255, 77, 148, 0.8) !important;
        box-shadow: 0 16px 32px rgba(255, 77, 148, 0.14) !important;
        background: linear-gradient(135deg, #ffeef3 0%, #fffaf6 50%, #ffffff 100%) !important;
    }

    /* Pulsing Icon Wrapper */
    .view-all-icon-wrap {
        position: relative;
        width: 64px;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }

    .pulse-ring {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-color: rgba(255, 77, 148, 0.15);
        animation: rxPulseRing 2s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
    }

    .pulse-dot {
        position: relative;
        width: 46px;
        height: 46px;
        background: linear-gradient(135deg, #ff4d94, #ff80b3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 22px;
        box-shadow: 0 4px 12px rgba(255, 77, 148, 0.3);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .view-all-mobile-card:hover .pulse-dot, 
    .view-all-mobile-card:active .pulse-dot {
        transform: scale(1.15) rotate(15deg);
        background: linear-gradient(135deg, #e62e7a, #ff4d94);
        box-shadow: 0 6px 16px rgba(255, 77, 148, 0.4);
    }

    @keyframes rxPulseRing {
        0% {
            transform: scale(0.6);
            opacity: 0.9;
        }
        50% {
            opacity: 0.5;
        }
        100% {
            transform: scale(1.3);
            opacity: 0;
        }
    }

    /* Typography */
    .view-all-title {
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        letter-spacing: 1.8px !important;
        text-transform: uppercase !important;
        color: #ff4d94 !important;
        margin-bottom: 6px !important;
        transition: all 0.3s ease;
    }

    .view-all-subtitle {
        font-family: 'Playfair Display', serif !important;
        font-size: 1.35rem !important;
        font-weight: 700 !important;
        color: #1d1d1f !important;
        margin: 0 0 12px 0 !important;
        transition: all 0.3s ease;
    }

    .view-all-btn-text {
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        color: #ff4d94 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-top: 6px !important;
        transition: all 0.3s ease !important;
        position: relative;
    }

    .view-all-btn-text::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 1.5px;
        bottom: -2px;
        left: 0;
        background-color: #ff4d94;
        transform-origin: bottom right;
        transition: transform 0.35s ease-out;
    }

    .view-all-mobile-card:hover .view-all-btn-text::after,
    .view-all-mobile-card:active .view-all-btn-text::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    .view-all-mobile-card:hover .view-all-btn-text,
    .view-all-mobile-card:active .view-all-btn-text {
        gap: 10px !important;
    }
}

/* ============================================================
   MOBILE SCROLL & RENDERING PERFORMANCE FIXES (CRITICAL)
   ============================================================ */
@media (max-width: 768px) {
    /* 1. Disable expensive Backdrop Filters on Mobile (Fixes screen blackout, lag, and flashing) */
    *, *::before, *::after {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* 2. Fallbacks for elements that used glass/blur filters */
    .mobile-nav {
        background: #fff6fa !important;
    }
    
    .section-white-bg {
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    .glass-card {
        background: #ffffff !important;
        border-color: rgba(255, 180, 215, 0.4) !important;
    }

    /* 3. Hardware acceleration for fixed bottom bars to prevent lag and delay */
    .mobile-nav,
    .mobile-sticky-action-bar,
    .fab-cart {
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        backface-visibility: hidden !important;
        -webkit-backface-visibility: hidden !important;
    }

    /* 4. Disable heavy box shadows on cards during scrolling to ease GPU paint operations */
    .product-card-premium,
    .elegant-card,
    .prod-card,
    .luxury-card,
    .kit-card,
    .review-card-screenshot {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
        text-shadow: none !important;
    }
}





