* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f0f2f5; overflow-x: hidden; color: #333; line-height: 1.6; }
h1, h2, h3, h4, h5, h6, .outfit { font-family: 'Outfit', 'Segoe UI', sans-serif; font-weight: 700; }
.product-card h5, .product-card .card-title, .product-title { font-family: 'Outfit', sans-serif; }
.navbar-brand { font-family: 'Outfit', sans-serif; font-weight: 800; }
.price, .product-price, .fw-bold { font-family: 'Inter', sans-serif; }
html { overflow-x: hidden; }
.main-content-area { margin-top: 80px; }
@media (max-width: 991px) { .main-content-area { margin-top: 65px; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ─── Sticky Navbar Glassmorphism ─── */
.navbar-glass {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    background: transparent !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    border-bottom: 1px solid transparent;
    padding-top: 0;
    padding-bottom: 0;
}
/* Top info bar above navbar */
.navbar-top-bar {
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 5px 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1051;
    transition: all 0.4s ease;
}
.navbar-top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar-top-bar a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.navbar-top-bar a:hover { color: #e94560; }
.navbar-top-bar .top-socials { display: flex; gap: 12px; }
.navbar-top-bar .top-socials a { font-size: 0.8rem; }
/* Hide top bar on scroll */
.navbar-top-bar.hidden-bar { opacity: 0; pointer-events: none; transform: translateY(-100%); }

/* Scrolled: frosted glass state */
.navbar-glass.scrolled {
    backdrop-filter: blur(24px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(1.1);
    background: linear-gradient(135deg,
        rgba(15,12,41,0.72) 0%,
        rgba(48,43,99,0.72) 50%,
        rgba(36,36,62,0.72) 100%) !important;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.25),
        0 0 0 1px rgba(255,255,255,0.05) inset,
        0 1px 0 rgba(255,255,255,0.08) inset;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* Gradient accent line at bottom when scrolled */
.navbar-glass.scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e94560 30%, #c73e54 50%, #e94560 70%, transparent 100%);
    opacity: 0.6;
}
/* Top bar hidden when scrolled */
body.nav-scrolled .navbar-top-bar { opacity: 0; pointer-events: none; transform: translateY(-100%); }
body.nav-scrolled .navbar-glass { padding-top: 0; }

/* Nav link styles */
.navbar-glass .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
    letter-spacing: 0.2px;
}
.navbar-glass .nav-link:hover,
.navbar-glass .nav-link.active {
    color: #fff !important;
    background: rgba(233,69,96,0.12);
}
.navbar-glass .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #e94560;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(233,69,96,0.5);
}
.navbar-glass .navbar-brand {
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.navbar-glass .navbar-brand i {
    filter: drop-shadow(0 0 6px rgba(255,193,7,0.5));
}
/* Nav icon buttons */
.navbar-glass .nav-icons .nav-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 !important;
    font-size: 1rem;
    position: relative;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.05);
    transition: all 0.3s;
}
.navbar-glass .nav-icons .nav-link:hover {
    background: rgba(233,69,96,0.2);
    transform: scale(1.05);
}
.navbar-glass .nav-icons .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.55rem;
    padding: 2px 5px;
    border-radius: 50px;
    min-width: 16px;
    text-align: center;
    background: #e94560;
    box-shadow: 0 2px 6px rgba(233,69,96,0.4);
}
/* Dropdown menu glass */
.navbar-glass .dropdown-menu {
    background: rgba(30,27,60,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    margin-top: 8px;
}
.navbar-glass .dropdown-menu .dropdown-item {
    color: rgba(255,255,255,0.7);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.88rem;
    transition: all 0.2s;
}
.navbar-glass .dropdown-menu .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(233,69,96,0.2), rgba(199,62,84,0.2));
    color: #fff;
}
.navbar-glass .dropdown-menu .dropdown-item i { margin-right: 10px; width: 18px; text-align: center; }
.navbar-glass .dropdown-divider { border-color: rgba(255,255,255,0.06); }
/* Search bar glass */
.navbar-glass .navbar-search {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: #fff;
    padding: 7px 16px;
    font-size: 0.85rem;
    transition: all 0.3s;
    min-width: 220px;
}
.navbar-glass .navbar-search::placeholder { color: rgba(255,255,255,0.4); }
.navbar-glass .navbar-search:focus {
    background: rgba(255,255,255,0.12);
    border-color: rgba(233,69,96,0.4);
    box-shadow: 0 0 0 3px rgba(233,69,96,0.1);
    outline: none;
    min-width: 280px;
}
/* Mobile hamburger */
.navbar-glass .navbar-toggler {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 6px 10px;
    z-index: 1100;
}
.navbar-glass .navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(233,69,96,0.3); }

/* ─── Mobile Navbar ─── */
@media (max-width: 991px) {
    .navbar-glass {
        background: linear-gradient(135deg,
            rgba(15,12,41,0.95) 0%,
            rgba(48,43,99,0.95) 50%,
            rgba(36,36,62,0.95) 100%) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    .navbar-glass .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, rgba(15,12,41,0.98) 0%, rgba(30,27,60,0.99) 100%);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 1055;
        padding: 70px 24px 40px;
        overflow-y: auto;
        max-height: 100vh;
    }
    .navbar-glass .navbar-collapse .navbar-nav {
        flex-direction: column;
        gap: 2px;
    }
    .navbar-glass .navbar-collapse .nav-link {
        padding: 14px 18px !important;
        font-size: 1rem;
        border-radius: 10px;
    }
    .navbar-glass .navbar-collapse .nav-item .dropdown-menu {
        position: static !important;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 10px;
        margin: 4px 0 4px 20px;
        padding: 4px;
        box-shadow: none;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        display: block !important;
    }
    .navbar-glass .navbar-collapse .nav-item .dropdown-menu.show {
        max-height: 500px;
        padding: 4px;
    }
    .navbar-glass .navbar-collapse .nav-item .dropdown-menu .dropdown-item {
        padding: 10px 14px;
        font-size: 0.92rem;
    }
    .navbar-glass .navbar-collapse .navbar-nav:last-child {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .navbar-glass .navbar-collapse .navbar-nav:last-child .nav-link {
        padding: 12px 18px !important;
    }
    .navbar-glass .navbar-collapse .position-absolute {
        display: block !important;
    }
}

/* ─── Dropdown Fix ─── */
.navbar-glass .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1100;
    min-width: 220px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 8px 0;
    margin-top: 4px;
}
.navbar-glass .nav-item:last-child .dropdown-menu,
.navbar-glass .dropdown-menu.dropdown-menu-end {
    left: auto;
    right: 0;
}
.navbar-glass .dropdown-menu .dropdown-item {
    padding: 10px 18px;
    font-size: 0.9rem;
    transition: all 0.2s;
    color: rgba(255,255,255,0.7);
    border-radius: 8px;
}
.navbar-glass .dropdown-menu .dropdown-item:hover {
    background: linear-gradient(135deg, #e94560, #c73e54);
    color: #fff;
}
.navbar-glass .dropdown-menu .dropdown-item i { margin-right: 10px; width: 18px; text-align: center; }
.navbar-glass .dropdown-divider { border-color: rgba(255,255,255,0.06); }

/* ─── Slide-over Cart Panel ─── */
.cart-panel-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.cart-panel-backdrop.active { opacity: 1; pointer-events: auto; }

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 92vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(15,12,41,0.96) 0%, rgba(24,22,48,0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
    border-left: 1px solid rgba(255,255,255,0.05);
}
.cart-panel.active { transform: translateX(0); }

/* Header */
.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.cart-panel-header h5 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-panel-header h5 .cart-count-badge {
    background: #e94560;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 600;
}
.cart-panel-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.cart-panel-close:hover { background: rgba(233,69,96,0.2); color: #e94560; border-color: rgba(233,69,96,0.3); }

/* Items list */
.cart-panel-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.cart-panel-items::-webkit-scrollbar { width: 4px; }
.cart-panel-items::-webkit-scrollbar-track { background: transparent; }
.cart-panel-items::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

/* Empty state */
.cart-panel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255,255,255,0.3);
    gap: 12px;
    text-align: center;
    padding: 40px;
}
.cart-panel-empty i { font-size: 3rem; opacity: 0.3; }
.cart-panel-empty p { font-size: 0.9rem; }

/* Cart item */
.cart-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
    animation: cartItemIn 0.3s ease;
}
@keyframes cartItemIn {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}
.cart-item-img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.06);
}
.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.cart-item-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-item-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: #e94560;
}
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}
.cart-item-controls button {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.cart-item-controls button:hover { background: rgba(233,69,96,0.2); color: #e94560; }
.cart-item-controls span {
    width: 34px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    border-left: 1px solid rgba(255,255,255,0.06);
    border-right: 1px solid rgba(255,255,255,0.06);
    line-height: 30px;
}
.cart-item-remove {
    position: absolute;
    top: 14px;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.cart-item-remove:hover { background: rgba(233,69,96,0.2); color: #e94560; }

/* Footer summary */
.cart-panel-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
    background: rgba(0,0,0,0.15);
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}
.cart-summary-row.total {
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.cart-summary-row.total span:last-child {
    color: #e94560;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
}
.cart-panel-footer .btn-checkout {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #e94560, #c73e54);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 14px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.cart-panel-footer .btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(233,69,96,0.4); }
.cart-panel-footer .btn-view-cart {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    text-align: center;
    text-decoration: none;
}
.cart-panel-footer .btn-view-cart:hover { background: rgba(255,255,255,0.08); color: #fff; }
.cart-panel-free-ship {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-top: 10px;
}
.cart-panel-free-ship i { color: #28a745; }

/* ─── Product Card Hover Overlay (Quick View + Wishlist) ─── */
.product-card { position: relative; overflow: hidden; }
.product-card .card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 5;
}
.product-card:hover .card-overlay { opacity: 1; pointer-events: auto; }
.product-card .overlay-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.product-card:hover .card-overlay .overlay-btn { transform: translateY(0); }
.product-card:hover .card-overlay .overlay-btn:nth-child(2) { transition-delay: 0.05s; }
.overlay-btn-quickview {
    background: rgba(233,69,96,0.9);
    color: #fff;
}
.overlay-btn-quickview:hover { background: #e94560; transform: scale(1.1) !important; }
.overlay-btn-wishlist {
    background: rgba(255,255,255,0.9);
    color: #e94560;
}
.overlay-btn-wishlist:hover { background: #fff; transform: scale(1.1) !important; }

/* ─── Quick View Modal ─── */
.qv-modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.qv-modal-backdrop.active { opacity: 1; pointer-events: auto; }

.qv-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 2001;
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 850px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.qv-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.qv-modal-close {
    position: absolute;
    top: 12px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.06);
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
}
.qv-modal-close:hover { background: #e94560; color: #fff; }

.qv-body {
    display: flex;
    gap: 0;
    padding: 0;
}
.qv-images {
    flex: 0 0 45%;
    max-width: 45%;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}
.qv-images img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 12px;
}
.qv-info {
    flex: 1;
    padding: 30px;
}
.qv-info .qv-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(233,69,96,0.08);
    color: #e94560;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.qv-info h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.qv-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}
.qv-rating .stars { color: #f4c430; }
.qv-rating .text-muted { font-size: 0.8rem; }
.qv-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: #e94560;
    margin-bottom: 16px;
}
.qv-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.qv-stock.in-stock { background: rgba(40,167,69,0.1); color: #28a745; }
.qv-stock.low-stock { background: rgba(255,193,7,0.15); color: #d4a017; }
.qv-stock.out-stock { background: rgba(220,53,69,0.1); color: #dc3545; }

.qv-desc {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
    max-height: 80px;
    overflow-y: auto;
}

.qv-options { margin-bottom: 18px; }
.qv-options label {
    font-weight: 600;
    font-size: 0.82rem;
    color: #333;
    margin-bottom: 6px;
    display: block;
}
.qv-size-btns, .qv-color-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.qv-size-btn {
    padding: 6px 14px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 40px;
    text-align: center;
}
.qv-size-btn:hover { border-color: #e94560; color: #e94560; }
.qv-size-btn.active { background: #e94560; border-color: #e94560; color: #fff; }
.qv-color-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.qv-color-btn:hover { transform: scale(1.15); }
.qv-color-btn.active { border-color: #e94560; box-shadow: 0 0 0 2px #e94560; }

.qv-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.qv-qty-row label {
    font-weight: 600;
    font-size: 0.82rem;
    color: #333;
}
.qv-qty-controls {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}
.qv-qty-controls button {
    width: 36px; height: 36px;
    border: none;
    background: #f8f9fa;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qv-qty-controls button:hover { background: #e94560; color: #fff; }
.qv-qty-controls input {
    width: 50px; height: 36px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    -moz-appearance: textfield;
}
.qv-qty-controls input::-webkit-outer-spin-button,
.qv-qty-controls input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qv-actions {
    display: flex;
    gap: 10px;
}
.qv-actions .btn-add-cart {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #e94560, #c73e54);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.qv-actions .btn-add-cart:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,69,96,0.4); }
.qv-actions .btn-view-full {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 12px;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.qv-actions .btn-view-full:hover { border-color: #e94560; color: #e94560; }

.qv-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    flex-direction: column;
    gap: 12px;
    color: #999;
}
.qv-loading .spinner-border { width: 2rem; height: 2rem; color: #e94560; }

/* ─── Quick View Toast ─── */
.qv-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 14px 24px;
    background: #28a745;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(40,167,69,0.3);
    z-index: 3000;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.qv-toast.show { transform: translateY(0); opacity: 1; }

/* ─── Scroll Reveal Animations ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.reveal-left { transform: translateX(-60px); }
.reveal.reveal-right { transform: translateX(60px); }
.reveal.reveal-scale { transform: scale(0.85); }
.reveal.revealed { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* ─── Hero Section ─── */
.hero-section { position: relative; overflow: hidden; min-height: 500px; display: flex; align-items: center; }

/* ─── Hero Slider ─── */
.hero-slider { position: relative; overflow: hidden; border-radius: 20px; margin: 0 auto; max-width: 1400px; }
.hero-slide { padding: 80px 0; min-height: 480px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-shape { position: absolute; border-radius: 50%; }
.hero-shape.shape-circle { animation: heroFloat 8s ease-in-out infinite; }
.hero-shape.shape-ring { animation: heroSpin 20s linear infinite; }
.hero-shape.shape-dot { animation: heroPulse 3s ease-in-out infinite; }
@keyframes heroFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.05); } }
@keyframes heroSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes heroPulse { 0%,100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.8); } }
.hero-anim { animation: heroSlideUp 0.8s ease-out both; }
@keyframes heroSlideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: rgba(233,69,96,0.2); color: #ff6b81; border: 1px solid rgba(233,69,96,0.3); margin-bottom: 20px; }
.hero-badge-white { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.badge-animated { animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.hero-title { font-family: 'Outfit', sans-serif; font-size: 3.2rem; font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.text-gradient { background: linear-gradient(135deg, #e94560, #ff6b81, #ffc107); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-white { background: linear-gradient(135deg, #fff, #ffd1d1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-teal { background: linear-gradient(135deg, #5eead4, #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-accent { background: linear-gradient(135deg, #e94560, #5eead4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 480px; margin-bottom: 24px; line-height: 1.6; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 50px; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: all 0.35s cubic-bezier(0.23,1,0.32,1); border: none; cursor: pointer; }
.hero-btn-glow { background: linear-gradient(135deg, #e94560, #ff6b81); color: #fff; box-shadow: 0 4px 24px rgba(233,69,96,0.4); }
.hero-btn-glow:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 40px rgba(233,69,96,0.5); color: #fff; }
.hero-btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); }
.hero-btn-ghost:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); color: #fff; }
.hero-btn-white { background: #fff; color: #e94560; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.hero-btn-white:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 32px rgba(0,0,0,0.15); color: #e94560; }
.hero-stats { display: flex; align-items: center; gap: 20px; padding-top: 8px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 800; color: #e94560; }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.hero-stat-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.15); }
.hero-visual { position: relative; width: 280px; height: 280px; margin: 0 auto; }
.hero-visual-float { animation: heroVisualFloat 4s ease-in-out infinite; }
@keyframes heroVisualFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.hero-visual-card { width: 160px; height: 160px; border-radius: 24px; background: rgba(255,255,255,0.1); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; align-items: center; justify-content: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero-visual-card-white { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); }
.hero-visual-card-sm { width: 80px; height: 80px; border-radius: 16px; position: absolute; }
.hero-visual-card-sm .hero-visual-icon { font-size: 1.5rem !important; }
.hero-visual-icon { font-size: 3rem; color: #fff; margin-bottom: 8px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)); }
.hero-visual-label { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 2px; }
.hero-countdown { display: flex; gap: 10px; margin-bottom: 8px; }
.countdown-item { display: flex; flex-direction: column; align-items: center; background: rgba(0,0,0,0.2); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 12px 16px; min-width: 60px; }
.countdown-num { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1; }
.countdown-label { font-size: 0.65rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.hero-slider .carousel-indicators { bottom: 20px; }
.hero-slider .carousel-indicators button { width: 12px; height: 12px; border-radius: 50%; background-color: #fff; border: none; opacity: 0.5; transition: all 0.3s; }
.hero-slider .carousel-indicators button.active { opacity: 1; transform: scale(1.3); background-color: #e94560; }
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon { background-color: rgba(0,0,0,0.4); border-radius: 50%; padding: 20px; width: 44px; height: 44px; backdrop-filter: blur(8px); }
.hero-slider .carousel-control-prev { left: 20px; }
.hero-slider .carousel-control-next { right: 20px; }

/* ─── Buy Now Button ─── */
.buy-now-btn {
    background: linear-gradient(135deg, #e94560, #ff6b81);
    color: #fff;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
    box-shadow: 0 4px 16px rgba(233,69,96,0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}
.buy-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.buy-now-btn:hover::before { left: 100%; }
.buy-now-btn:hover {
    box-shadow: 0 0 20px rgba(233,69,96,0.5), 0 0 40px rgba(233,69,96,0.2);
    transform: translateY(-3px) scale(1.03);
    animation: buyBtnShake 0.4s ease;
}
.buy-now-btn:active { transform: translateY(-1px) scale(0.98); }
.buy-now-btn.btn-success {
    background: linear-gradient(135deg, #198754, #20c997);
    box-shadow: 0 4px 16px rgba(25,135,84,0.3);
}
.buy-now-btn.btn-success:hover {
    box-shadow: 0 0 20px rgba(25,135,84,0.5), 0 0 40px rgba(25,135,84,0.2);
}
@keyframes buyBtnShake {
    0% { transform: translateX(0) translateY(-3px) scale(1.03); }
    15% { transform: translateX(-4px) translateY(-3px) scale(1.03); }
    30% { transform: translateX(4px) translateY(-3px) scale(1.03); }
    45% { transform: translateX(-3px) translateY(-3px) scale(1.03); }
    60% { transform: translateX(3px) translateY(-3px) scale(1.03); }
    75% { transform: translateX(-1px) translateY(-3px) scale(1.03); }
    100% { transform: translateX(0) translateY(-3px) scale(1.03); }
}

/* ─── Pulse ring on hover ─── */
.buy-now-btn::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    border: 2px solid rgba(233,69,96,0.4);
    opacity: 0;
    transition: all 0.3s;
}
.buy-now-btn:hover::after {
    opacity: 1;
    animation: buyBtnPulse 1.5s ease-in-out infinite;
}
@keyframes buyBtnPulse {
    0%,100% { inset: -3px; opacity: 0.4; }
    50% { inset: -8px; opacity: 0; }
}

/* Buy now mini (for product cards) */
.buy-now-btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 50px;
}
.status-dot.active { animation: statusPulse 2s ease-in-out infinite; }
.status-dot.dot-pending { background: #ffc107; }
.status-dot.dot-confirmed { background: #0dcaf0; }
.status-dot.dot-processing { background: #0d6efd; }
.status-dot.dot-shipped { background: #6f42c1; }
.status-dot.dot-delivered { background: #198754; }
.status-dot.dot-cancelled { background: #dc3545; }
@keyframes statusPulse { 0% { box-shadow: 0 0 0 0 currentColor; transform: scale(1); } 50% { box-shadow: 0 0 0 8px transparent; transform: scale(1.15); } 100% { box-shadow: 0 0 0 0 currentColor; transform: scale(1); } }

/* ─── Magnetic Button ─── */
.magnetic-btn { transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s; will-change: transform; }
.magnetic-btn:hover { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); }

/* ─── Product Card ─── */
.product-card { border: none; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.06); transition: transform 0.45s cubic-bezier(0.23,1,0.32,1), box-shadow 0.45s cubic-bezier(0.23,1,0.32,1); position: relative; }
.product-card::after { content: ''; position: absolute; inset: 0; border-radius: 16px; border: 2px solid transparent; transition: border-color 0.3s; pointer-events: none; z-index: 2; }
.product-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 16px 48px rgba(233,69,96,0.12), 0 4px 16px rgba(0,0,0,0.08); }
.product-card:hover::after { border-color: #e94560; }
.product-card .card-img-top { height: 220px; object-fit: cover; background: #f8f9fa; transition: transform 0.5s cubic-bezier(0.23,1,0.32,1); }
.product-card:hover .card-img-top { transform: scale(1.08); }

.hero-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.35s cubic-bezier(0.23,1,0.32,1); border: none; cursor: pointer; }
.hero-btn-primary { background: linear-gradient(135deg, #e94560, #ff6b81); color: #fff; box-shadow: 0 4px 20px rgba(233,69,96,0.35); }
.hero-btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 32px rgba(233,69,96,0.45); color: #fff; }
.hero-btn-light { background: rgba(255,255,255,0.95); color: #e94560; box-shadow: 0 4px 16px rgba(0,0,0,0.1); backdrop-filter: blur(10px); }
.hero-btn-light:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 28px rgba(0,0,0,0.15); background: #fff; color: #e94560; }

/* ─── Card Custom ─── */
.card-custom { border: none; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.card-custom:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.card-custom .card-header { background: transparent; border-bottom: 1px solid #eee; padding: 15px 20px; font-weight: 600; }

/* ─── Button Shine ─── */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ''; position: absolute; top: -50%; left: -100%; width: 40px; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transform: skewX(-20deg); transition: left 0.5s; }
.btn-shine:hover::after { left: 120%; }

/* ─── Scroll Progress ─── */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, #e94560, #0d6efd); z-index: 9999; transition: width 0.1s; }

/* ─── Stats ─── */
.stat-card { background: #fff; border-radius: 12px; padding: 25px; box-shadow: 0 2px 15px rgba(0,0,0,0.08); transition: transform 0.3s; }
.stat-card:hover { transform: translateY(-5px); }
.stat-card h3 { font-size: 2rem; font-weight: 700; }
.stat-card p { color: #6c757d; margin: 0; }
.stat-card .icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }

/* ─── Color Utils ─── */
.bg-primary-light { background: rgba(13,110,253,0.1); color: #0d6efd; }
.bg-success-light { background: rgba(25,135,84,0.1); color: #198754; }
.bg-warning-light { background: rgba(255,193,7,0.1); color: #ffc107; }
.bg-danger-light { background: rgba(220,53,69,0.1); color: #dc3545; }
.bg-info-light { background: rgba(13,202,240,0.1); color: #0dcaf0; }
.bg-purple-light { background: rgba(111,66,193,0.1); color: #6f42c1; }

/* ─── Table ─── */
.table-custom { margin: 0; }
.table-custom th { background: #f8f9fa; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; color: #6c757d; }

/* ─── Badges ─── */
.badge-pending { background: #ffc107; color: #000; }
.badge-confirmed { background: #0dcaf0; color: #000; }
.badge-processing { background: #0d6efd; }
.badge-shipped { background: #6f42c1; }
.badge-delivered { background: #198754; }
.badge-cancelled { background: #dc3545; }
.bg-purple { background-color: #6f42c1 !important; color: #fff !important; }
.badge-tax { background: #fd7e14; color: #fff; }

/* ─── Flash Sale Banner ─── */
.flash-sale-banner { background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); border-radius: 18px; overflow: hidden; position: relative; }
.flash-sale-banner::before { content: ''; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(233,69,96,0.2) 0%, transparent 70%); border-radius: 50%; }
.flash-banner-inner { display: flex; align-items: center; justify-content: space-between; padding: 28px 36px; position: relative; z-index: 1; flex-wrap: wrap; gap: 20px; }
.flash-banner-content h3 { color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.5rem; margin: 0; }
.flash-banner-content h3 .fa-bolt { color: #ffc107; }
.flash-banner-content p { color: rgba(255,255,255,0.7); margin: 4px 0 0; font-size: 0.9rem; }
.flash-timer { display: flex; gap: 10px; }
.timer-box { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 10px 14px; text-align: center; min-width: 62px; }
.timer-box span { display: block; color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.6rem; line-height: 1; transition: transform 0.2s ease; }
.timer-box small { color: rgba(255,255,255,0.6); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; display: block; }

/* ─── Cart Button ─── */
.btn-cart { background: #e94560; color: #fff; border: none; }
.btn-cart:hover { background: #c73e54; color: #fff; }

/* ─── Invoice ─── */
.invoice-box { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.08); }
.invoice-box .logo { font-size: 2rem; font-weight: bold; color: #e94560; }

/* ─── Flash Sale Banner ─── */
.flash-sale-banner { background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 50%, #dc3545 100%); background-size: 200% 200%; animation: flash-gradient 3s ease infinite; color: #fff; padding: 20px; text-align: center; border-radius: 12px; }
@keyframes flash-gradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ─── Alert Pulse ─── */
.alert-pulse { animation: alertPulse 2s infinite; }
@keyframes alertPulse { 0% { box-shadow: 0 0 0 0 rgba(220,53,69,0.4); } 70% { box-shadow: 0 0 0 10px rgba(220,53,69,0); } 100% { box-shadow: 0 0 0 0 rgba(220,53,69,0); } }

/* ─── Order Tracking Timeline ─── */
.order-timeline { position: relative; padding-left: 40px; }
.order-timeline::before { content: ''; position: absolute; left: 18px; top: 0; bottom: 0; width: 3px; background: #e9ecef; border-radius: 2px; }
.timeline-step { position: relative; padding-bottom: 30px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: absolute; left: -40px; top: 0; z-index: 2; opacity: 0.4; transition: all 0.3s; }
.timeline-step.active .timeline-icon { opacity: 1; box-shadow: 0 0 0 4px rgba(13,110,253,0.2); }

/* ─── Compare Table ─── */
.compare-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ─── Recently Viewed ─── */
.recently-viewed-scroll { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
.recently-viewed-scroll > div { flex: 0 0 auto; scroll-snap-align: start; width: 180px; }

/* ─── Print ─── */
@media print { .no-print { display: none !important; } body { padding: 0; background: #fff; } }

/* ══════════════════════════════════════════════════════════════
   FOOTER (Django Theme)
   ══════════════════════════════════════════════════════════════ */
.footer-main { background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); color: #c8c8d4; padding: 60px 0 0; position: relative; overflow: hidden; }
.footer-main::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(233,69,96,0.08) 0%, transparent 70%); pointer-events: none; }
.footer-main::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(13,110,253,0.06) 0%, transparent 70%); pointer-events: none; }

.footer-brand { font-size: 1.8rem; font-weight: 800; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand i { color: #e94560; font-size: 1.5rem; }
.footer-brand:hover { color: #fff; }

.footer-desc { color: #9a9ab0; font-size: 0.92rem; line-height: 1.7; max-width: 320px; }

.footer-heading { color: #fff; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 35px; height: 3px; background: linear-gradient(90deg, #e94560, #0d6efd); border-radius: 2px; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #9a9ab0; text-decoration: none; font-size: 0.9rem; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ''; width: 0; height: 1.5px; background: #e94560; transition: width 0.3s; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-links a:hover::before { width: 12px; }
.footer-links a i { font-size: 0.7rem; color: #e94560; opacity: 0; transition: opacity 0.3s; }
.footer-links a:hover i { opacity: 1; }

.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); color: #9a9ab0; font-size: 1rem; transition: all 0.3s; border: 1px solid rgba(255,255,255,0.08); }
.footer-social a:hover { background: #e94560; color: #fff; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(233,69,96,0.35); border-color: #e94560; }

.footer-newsletter .input-group { border-radius: 50px; overflow: hidden; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); transition: border-color 0.3s; }
.footer-newsletter .input-group:focus-within { border-color: #e94560; }
.footer-newsletter input { background: transparent !important; border: none !important; color: #fff; padding: 12px 20px; font-size: 0.9rem; }
.footer-newsletter input::placeholder { color: #6c6c80; }
.footer-newsletter input:focus { box-shadow: none !important; }
.footer-newsletter .btn-subscribe { background: linear-gradient(135deg, #e94560, #c73e54); color: #fff; border: none; padding: 12px 24px; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.5px; transition: all 0.3s; border-radius: 0 50px 50px 0; }
.footer-newsletter .btn-subscribe:hover { background: linear-gradient(135deg, #c73e54, #e94560); transform: scale(1.02); }

.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: #9a9ab0; font-size: 0.9rem; list-style: none; }
.footer-contact i { color: #e94560; font-size: 1rem; margin-top: 3px; min-width: 18px; }

.footer-payment { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.footer-payment .pay-icon { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 6px 12px; font-size: 0.75rem; color: #9a9ab0; transition: all 0.3s; }
.footer-payment .pay-icon:hover { border-color: #e94560; color: #fff; }
.footer-payment .pay-icon i { font-size: 1.1rem; }

.footer-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); margin: 40px 0 20px; }

.footer-bottom { background: rgba(0,0,0,0.25); padding: 16px 0; font-size: 0.85rem; color: #6c6c80; position: relative; z-index: 1; }
.footer-bottom a { color: #9a9ab0; text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: #e94560; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: #9a9ab0; }
.trust-badge i { color: #198754; font-size: 1.1rem; }

.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #e94560, #c73e54); color: #fff; border: none; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 999; box-shadow: 0 4px 20px rgba(233,69,96,0.3); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(233,69,96,0.45); }

/* ─── Product Ad Strip (Auto-Scroll) ─── */
.product-ad-strip-section { overflow: hidden; padding: 10px 0; }

.product-ad-track {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}
.product-ad-track::before,
.product-ad-track::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.product-ad-track::before { left: 0; background: linear-gradient(90deg, #f0f2f5, transparent); }
.product-ad-track::after { right: 0; background: linear-gradient(-90deg, #f0f2f5, transparent); }

.product-ad-inner {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scrollProductAd 30s linear infinite;
}
.product-ad-track.reverse .product-ad-inner,
.product-ad-inner.reverse {
    animation: scrollProductAdReverse 30s linear infinite;
}

@keyframes scrollProductAd {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollProductAdReverse {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.product-ad-track:hover .product-ad-inner,
.product-ad-track:hover .product-ad-inner.reverse {
    animation-play-state: paused;
}

.product-ad-card {
    flex: 0 0 220px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.04);
}
.product-ad-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.product-ad-card a { text-decoration: none; color: inherit; }

.product-ad-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}
.product-ad-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-ad-card:hover .product-ad-img img { transform: scale(1.1); }

.product-ad-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
}

.product-ad-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #e94560, #c73e54);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(233,69,96,0.35);
}

.product-ad-info {
    padding: 14px;
}
.product-ad-info h6 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-ad-price { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.product-ad-price .price-now { color: #e94560; font-weight: 700; font-size: 1rem; }
.product-ad-price .price-old { color: #999; font-size: 0.8rem; text-decoration: line-through; }

.product-ad-rating { display: flex; align-items: center; gap: 2px; }
.product-ad-rating i { font-size: 10px; }
.product-ad-rating small { color: #999; font-size: 0.7rem; margin-left: 4px; }

/* ─── Mobile 768px ─── */
@media (max-width: 768px) {
    .hero-section { min-height: 350px; }
    .hero-glow { display: none; }
    .footer-main { padding: 40px 0 0; }
    .hero-section h1 { font-size: 1.8rem; font-weight: 700; }
    .hero-section p { font-size: 1rem; }
    .card-custom { margin-bottom: 1rem; }
    .table-custom { font-size: 0.85rem; }
    .table-custom th, .table-custom td { padding: 0.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .container { padding-left: 12px; padding-right: 12px; }
    .hero-slider { border-radius: 12px; }
    .hero-slide { padding: 50px 0; min-height: 360px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    .hero-countdown { gap: 6px; }
    .countdown-item { padding: 8px 12px; min-width: 50px; }
    .countdown-num { font-size: 1.2rem; }
    .hero-stats { gap: 14px; }
    .hero-stat-num { font-size: 1.1rem; }
    .hero-cta-row { gap: 8px; }
    .hero-btn { padding: 12px 22px; font-size: 0.85rem; }
    .product-ad-card { flex: 0 0 160px; }
    .product-ad-img { height: 140px; }
    .invoice-box { padding: 20px; }
    .order-timeline { padding-left: 20px; }
    .recently-viewed-scroll > div { width: 140px; }
    .footer-brand { font-size: 1.4rem; }
    .flash-sale-banner { padding: 12px; }
}

/* ─── Small Phone 576px ─── */
@media (max-width: 576px) {
    .hero-section h1 { font-size: 1.4rem; }
    .hero-section .row { gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .product-card { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
    .invoice-box { padding: 14px; }
    .order-timeline { padding-left: 14px; }
    .footer-brand { font-size: 1.2rem; }
    .footer-newsletter .input-group { border-radius: 12px; }
    .footer-newsletter .btn-subscribe { border-radius: 0 0 12px 12px; padding: 10px 16px; }
    .back-to-top { bottom: 15px; right: 15px; width: 38px; height: 38px; }
}

/* ─── Touch devices ─── */
@media (hover: none) and (pointer: coarse) {
    .btn { min-height: 44px; min-width: 44px; }
    .form-control, .form-select { min-height: 44px; }
    .product-card:hover { transform: none; }
    .card-custom:hover { transform: none; }
    .product-ad-card:hover { transform: none; }
    .product-card .card-overlay {
        opacity: 1;
        pointer-events: auto;
        background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 60%);
        padding-top: 12px;
    }
    .product-card .overlay-btn { transform: translateY(0); }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .product-card:hover, .card-custom:hover { transform: none; }
}
