/*
 * StoreP - World-Class E-Commerce Store CSS
 * Shofy-Inspired Design | Mobile-First | RTL Ready
 * Palestine - Ramallah | Currency: ₪ (ILS)
 */

/* ============================================
   CSS Variables & Reset
============================================ */
:root {
    --primary: #FF6B35;
    --primary-light: #ff8a5c;
    --primary-dark: #e55a25;
    --secondary: #004E89;
    --secondary-light: #0077B6;
    --accent: #F7C948;
    --accent-light: #fde68a;
    --header-bg: #FFFFFF;
    --footer-bg: #1a1a2e;
    --text-dark: #1a1a2e;
    --text-body: #555;
    --text-light: #888;
    --text-muted: #aaa;
    --border: #e8e8e8;
    --border-light: #f0f0f0;
    --bg-light: #f8f9fa;
    --bg-section: #fafafa;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --white: #fff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 35px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --font: 'Tajawal', sans-serif;
    --header-height: 70px;
    --bottom-nav-height: 65px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 15px;
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--primary); color: var(--white); }

/* ============================================
   Preloader
============================================ */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--white); z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.loader-wrap { text-align: center; }
.loader-circle {
    width: 50px; height: 50px; border: 3px solid var(--border);
    border-top-color: var(--primary); border-radius: 50%;
    animation: spin 0.8s linear infinite; margin: 0 auto 15px;
}
.loader-brand { font-size: 22px; font-weight: 800; color: var(--primary); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   Top Bar
============================================ */
.top-bar {
    background: var(--text-dark); color: rgba(255,255,255,0.85);
    font-size: 13px; padding: 8px 0;
}
.top-bar-info span { font-size: 12px; }
.top-bar-info i { color: var(--primary); margin-left: 5px; }
.top-bar-promo { color: var(--accent); font-weight: 600; font-size: 13px; }
.top-bar-promo i { margin-left: 6px; }
.top-bar-links a {
    color: rgba(255,255,255,0.8); margin-right: 18px;
    font-size: 12px; transition: var(--transition);
}
.top-bar-links a:hover { color: var(--primary); }
.top-bar-links i { margin-left: 5px; font-size: 11px; }

/* ============================================
   Main Header
============================================ */
.main-header {
    background: var(--header-bg); position: sticky; top: 0;
    z-index: 1000; transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}
.main-header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}
.header-wrapper {
    display: flex; align-items: center; gap: 20px;
    padding: 12px 0; min-height: var(--header-height);
}

/* Logo */
.header-logo { flex-shrink: 0; }
.header-logo img { height: 45px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
    font-size: 26px; font-weight: 900; color: var(--primary);
    line-height: 1.1; letter-spacing: -0.5px;
}
.logo-sub { font-size: 10px; color: var(--text-light); text-transform: uppercase; letter-spacing: 2px; }

/* Search */
.header-search { flex: 1; max-width: 600px; position: relative; }
.search-form { width: 100%; }
.search-wrapper {
    display: flex; border: 2px solid var(--border);
    border-radius: var(--radius-full); overflow: hidden;
    transition: var(--transition); background: var(--bg-light);
}
.search-wrapper:focus-within {
    border-color: var(--primary); background: var(--white);
    box-shadow: 0 0 0 4px rgba(255,107,53,0.1);
}
.search-wrapper input {
    flex: 1; border: none; padding: 12px 20px; background: transparent;
    outline: none; font-size: 14px; color: var(--text-dark);
}
.search-wrapper input::placeholder { color: var(--text-muted); }
.search-submit {
    padding: 12px 22px; background: var(--primary); color: var(--white);
    font-size: 16px; transition: var(--transition);
}
.search-submit:hover { background: var(--primary-dark); }
.search-suggestions {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--white); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); z-index: 100; display: none;
    max-height: 400px; overflow-y: auto;
}
.search-suggestions.active { display: block; }
.search-suggestion-item {
    display: flex; align-items: center; padding: 10px 16px;
    gap: 12px; transition: var(--transition-fast); cursor: pointer;
}
.search-suggestion-item:hover { background: var(--bg-light); }
.search-suggestion-item img { width: 45px; height: 45px; object-fit: cover; border-radius: var(--radius-sm); }
.search-suggestion-item .ssi-info { flex: 1; }
.search-suggestion-item .ssi-name { font-size: 14px; color: var(--text-dark); font-weight: 500; }
.search-suggestion-item .ssi-price { font-size: 13px; color: var(--primary); font-weight: 700; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-action-item { position: relative; }
.action-link {
    display: flex; align-items: center; gap: 8px; padding: 8px 12px;
    border-radius: var(--radius-md); transition: var(--transition);
    color: var(--text-dark);
}
.action-link:hover { background: var(--bg-light); color: var(--primary); }
.action-icon {
    position: relative; font-size: 22px; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
}
.action-badge {
    position: absolute; top: -2px; right: -4px; background: var(--primary);
    color: var(--white); font-size: 10px; font-weight: 700;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--white); line-height: 1;
}
.action-text { display: flex; flex-direction: column; }
.action-label { font-size: 11px; color: var(--text-light); }
.action-value { font-size: 13px; font-weight: 700; color: var(--text-dark); }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    width: 40px; height: 40px; display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 5px;
    padding: 8px; border-radius: var(--radius-sm); flex-shrink: 0;
}
.mobile-menu-toggle span {
    display: block; width: 22px; height: 2px; background: var(--text-dark);
    border-radius: 2px; transition: var(--transition);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Categories Navigation
============================================ */
.categories-nav {
    background: var(--white); border-top: 1px solid var(--border-light);
    border-bottom: 2px solid var(--border-light);
}
.categories-wrapper {
    display: flex; align-items: center; gap: 0;
}
.all-categories-dropdown { position: relative; }
.all-categories-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 20px; background: var(--primary); color: var(--white);
    font-weight: 600; font-size: 14px; border-radius: 0;
    transition: var(--transition); white-space: nowrap;
}
.all-categories-btn:hover { background: var(--primary-dark); }
.all-categories-btn i:first-child { font-size: 18px; }
.all-categories-btn i:last-child { font-size: 10px; margin-right: auto; }
.categories-mega-menu {
    position: absolute; top: 100%; right: 0; width: 260px;
    background: var(--white); border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg); display: none; z-index: 100;
    padding: 8px 0; border: 1px solid var(--border-light);
}
.all-categories-dropdown:hover .categories-mega-menu { display: block; }
.mega-menu-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 20px; color: var(--text-body);
    transition: var(--transition-fast); font-size: 14px;
}
.mega-menu-item:hover {
    background: var(--bg-light); color: var(--primary);
    padding-right: 25px;
}
.mega-menu-item i { width: 20px; text-align: center; color: var(--primary); font-size: 16px; }

/* Nav Links */
.nav-links {
    display: flex; align-items: center; flex: 1;
    padding: 0 15px; gap: 0;
}
.nav-links .nav-link {
    padding: 14px 16px; color: var(--text-dark); font-weight: 500;
    font-size: 14px; position: relative; white-space: nowrap;
    transition: var(--transition);
}
.nav-links .nav-link::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 0; height: 2px; background: var(--primary);
    transition: var(--transition);
}
.nav-links .nav-link:hover, .nav-links .nav-link.active { color: var(--primary); }
.nav-links .nav-link:hover::after, .nav-links .nav-link.active::after { width: 100%; }

/* Hot Deal */
.nav-hot-deal { margin-right: auto; }
.hot-deal-link {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 18px; background: var(--danger); color: var(--white);
    border-radius: var(--radius-full); font-weight: 600; font-size: 13px;
    animation: pulse-deal 2s infinite;
}
@keyframes pulse-deal {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Mobile Search */
.mobile-search {
    background: var(--bg-light); padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}
.mobile-search-form { display: flex; gap: 0; }
.mobile-search-input {
    flex: 1; border: 1px solid var(--border); border-left: none;
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    padding: 10px 18px; background: var(--white); outline: none;
    font-size: 14px;
}
.mobile-search-input:focus { border-color: var(--primary); }
.mobile-search-btn {
    padding: 10px 18px; background: var(--primary);
    color: var(--white); border-radius: 0 var(--radius-full) var(--radius-full) 0;
    font-size: 16px;
}

/* ============================================
   Mobile Side Menu
============================================ */
.mobile-menu-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 9998; opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100%;
    background: var(--white); z-index: 9999; transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column; overflow: hidden;
}
.mobile-menu.active { right: 0; }
.mobile-menu-header {
    padding: 20px; background: var(--primary);
    color: var(--white); display: flex; align-items: center;
    justify-content: space-between;
}
.mobile-menu-user { display: flex; align-items: center; gap: 12px; }
.mm-user-avatar {
    width: 45px; height: 45px; background: rgba(255,255,255,0.2);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 20px;
}
.mm-user-info strong { display: block; font-size: 15px; }
.mm-user-info a { color: rgba(255,255,255,0.8); font-size: 12px; }
.mobile-menu-close {
    color: var(--white); font-size: 20px; padding: 5px;
    width: 36px; height: 36px; display: flex; align-items: center;
    justify-content: center; border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.mobile-menu-body { flex: 1; overflow-y: auto; padding: 15px 0; }
.mobile-menu-list li a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px; color: var(--text-body); font-size: 14px;
    font-weight: 500; transition: var(--transition-fast);
}
.mobile-menu-list li a:hover, .mobile-menu-list li a.active {
    background: var(--bg-light); color: var(--primary);
}
.mobile-menu-list li a i { width: 20px; text-align: center; font-size: 16px; }
.mobile-menu-divider { height: 1px; background: var(--border-light); margin: 10px 0; }
.mobile-menu-section-title {
    padding: 5px 20px; font-size: 11px; color: var(--text-muted);
    text-transform: uppercase; font-weight: 700; letter-spacing: 1px;
}
.mobile-menu-footer {
    padding: 15px 20px; border-top: 1px solid var(--border-light);
}
.mm-social { display: flex; gap: 12px; justify-content: center; }
.mm-social a {
    width: 36px; height: 36px; background: var(--bg-light);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: var(--text-body);
    transition: var(--transition);
}
.mm-social a:hover { background: var(--primary); color: var(--white); }

/* ============================================
   Mini Cart Sidebar
============================================ */
.cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 9998; opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.mini-cart {
    position: fixed; top: 0; left: -420px; width: 400px; height: 100%;
    background: var(--white); z-index: 9999;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
}
.mini-cart.active { left: 0; }
.mini-cart-header {
    padding: 15px 20px; display: flex; align-items: center;
    justify-content: space-between; border-bottom: 1px solid var(--border);
}
.mini-cart-header h5 { margin: 0; font-size: 16px; color: var(--text-dark); }
.mini-cart-header h5 i { color: var(--primary); margin-left: 8px; }
.mini-cart-close {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-light); display: flex; align-items: center;
    justify-content: center; transition: var(--transition);
}
.mini-cart-close:hover { background: var(--danger); color: var(--white); }
.mini-cart-body {
    flex: 1; overflow-y: auto; padding: 15px;
}
.mini-cart-item {
    display: flex; gap: 12px; padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.mini-cart-item img {
    width: 70px; height: 70px; object-fit: cover;
    border-radius: var(--radius-sm); flex-shrink: 0;
}
.mini-cart-item-info { flex: 1; }
.mini-cart-item-name {
    font-size: 13px; font-weight: 600; color: var(--text-dark);
    margin-bottom: 4px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.mini-cart-item-price { font-size: 14px; color: var(--primary); font-weight: 700; }
.mini-cart-item-qty { font-size: 12px; color: var(--text-light); }
.mini-cart-item-remove {
    color: var(--text-muted); font-size: 14px; padding: 5px;
    transition: var(--transition); align-self: flex-start;
}
.mini-cart-item-remove:hover { color: var(--danger); }
.mini-cart-empty { text-align: center; padding: 40px 20px; }
.mini-cart-empty i { font-size: 50px; color: var(--border); margin-bottom: 15px; }
.mini-cart-empty p { color: var(--text-light); }
.mini-cart-footer {
    padding: 15px 20px; border-top: 1px solid var(--border);
    background: var(--bg-light);
}
.mini-cart-total {
    display: flex; justify-content: space-between;
    margin-bottom: 12px; font-size: 16px;
}
.mini-cart-total strong { color: var(--primary); font-size: 18px; }

/* ============================================
   Hero Slider
============================================ */
.hero-section { position: relative; overflow: hidden; }
.hero-slider { width: 100%; }
.hero-slide {
    position: relative; min-height: 500px;
    display: flex; align-items: center;
    background-size: cover; background-position: center;
    background-color: var(--bg-section);
}
.hero-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to left, transparent 30%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
    position: relative; z-index: 2; padding: 40px;
    max-width: 550px;
}
.hero-badge {
    display: inline-block; background: var(--primary);
    color: var(--white); padding: 6px 18px;
    border-radius: var(--radius-full); font-size: 13px;
    font-weight: 600; margin-bottom: 15px;
    animation: fadeInUp 0.6s ease;
}
.hero-title {
    font-size: 42px; font-weight: 900; color: var(--white);
    line-height: 1.2; margin-bottom: 15px;
}
.hero-desc { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 25px; line-height: 1.6; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn {
    padding: 14px 32px; border-radius: var(--radius-full);
    font-weight: 700; font-size: 15px; display: inline-flex;
    align-items: center; gap: 8px; transition: var(--transition);
}
.hero-btn-primary {
    background: var(--primary); color: var(--white);
}
.hero-btn-primary:hover {
    background: var(--primary-dark); color: var(--white);
    transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.hero-btn-outline {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.hero-btn-outline:hover {
    background: var(--white); color: var(--primary);
    border-color: var(--white);
}
.hero-slider .swiper-pagination-bullet {
    width: 12px; height: 12px; background: rgba(255,255,255,0.5);
}
.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary); width: 30px; border-radius: 6px;
}

/* ============================================
   Section Styles
============================================ */
.section { padding: 60px 0; }
.section-bg { background: var(--bg-section); }
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 35px; flex-wrap: wrap; gap: 15px;
}
.section-title {
    font-size: 28px; font-weight: 800; color: var(--text-dark);
    position: relative;
}
.section-title::after {
    content: ''; display: block; width: 50px; height: 3px;
    background: var(--primary); margin-top: 8px;
    border-radius: 2px;
}
.section-subtitle {
    font-size: 14px; color: var(--text-light); margin-top: 5px;
}
.section-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary); font-weight: 600; font-size: 14px;
}
.section-link:hover { gap: 10px; }

/* ============================================
   Features Bar
============================================ */
.features-bar {
    padding: 30px 0; border-bottom: 1px solid var(--border-light);
}
.feature-item {
    display: flex; align-items: center; gap: 15px;
    padding: 15px; text-align: right;
}
.feature-icon {
    width: 55px; height: 55px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md); display: flex; align-items: center;
    justify-content: center; color: var(--white); font-size: 22px;
    flex-shrink: 0;
}
.feature-item:nth-child(2) .feature-icon { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); }
.feature-item:nth-child(3) .feature-icon { background: linear-gradient(135deg, var(--success), #2dcc70); }
.feature-item:nth-child(4) .feature-icon { background: linear-gradient(135deg, var(--accent), #f0b90b); }
.feature-text h6 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.feature-text p { font-size: 12px; color: var(--text-light); margin: 0; }

/* ============================================
   Category Cards
============================================ */
.category-card {
    text-align: center; padding: 25px 15px;
    border-radius: var(--radius-lg); background: var(--white);
    border: 1px solid var(--border-light); transition: var(--transition);
    display: block; position: relative; overflow: hidden;
}
.category-card:hover {
    border-color: var(--primary); transform: translateY(-5px);
    box-shadow: var(--shadow-md); color: var(--text-dark);
}
.category-card-icon {
    width: 70px; height: 70px; margin: 0 auto 15px;
    background: var(--bg-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--primary); transition: var(--transition);
}
.category-card:hover .category-card-icon {
    background: var(--primary); color: var(--white);
    transform: scale(1.1);
}
.category-card-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.category-card-count { font-size: 12px; color: var(--text-light); }
.category-card img {
    width: 70px; height: 70px; object-fit: cover;
    border-radius: 50%; margin: 0 auto 15px;
}

/* ============================================
   Product Cards
============================================ */
.product-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); overflow: hidden;
    transition: var(--transition); position: relative;
    height: 100%;
}
.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.product-card-img {
    position: relative; overflow: hidden;
    aspect-ratio: 1/1; background: var(--bg-section);
}
.product-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-badges {
    position: absolute; top: 12px; right: 12px;
    display: flex; flex-direction: column; gap: 6px; z-index: 2;
}
.product-badge {
    display: inline-block; padding: 4px 10px; border-radius: var(--radius-full);
    font-size: 11px; font-weight: 700; color: var(--white);
}
.badge-sale { background: var(--danger); }
.badge-new { background: var(--success); }
.badge-hot { background: var(--primary); }
.badge-out { background: var(--text-muted); }
.product-card-actions {
    position: absolute; top: 12px; left: 12px;
    display: flex; flex-direction: column; gap: 6px;
    opacity: 0; transform: translateX(-10px);
    transition: var(--transition); z-index: 2;
}
.product-card:hover .product-card-actions {
    opacity: 1; transform: translateX(0);
}
.pca-btn {
    width: 38px; height: 38px; background: var(--white);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: var(--text-body);
    box-shadow: var(--shadow-sm); transition: var(--transition);
    font-size: 14px;
}
.pca-btn:hover { background: var(--primary); color: var(--white); }
.pca-btn.active { background: var(--danger); color: var(--white); }
.product-card-quick {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: var(--primary); color: var(--white);
    text-align: center; padding: 10px; font-weight: 600;
    font-size: 13px; transform: translateY(100%);
    transition: var(--transition); z-index: 2;
}
.product-card:hover .product-card-quick { transform: translateY(0); }
.product-card-quick:hover { background: var(--primary-dark); color: var(--white); }
.product-card-body { padding: 15px; }
.product-card-category {
    font-size: 12px; color: var(--primary); font-weight: 500;
    margin-bottom: 6px; display: block;
}
.product-card-name {
    font-size: 14px; font-weight: 600; color: var(--text-dark);
    margin-bottom: 8px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    min-height: 40px;
}
.product-card-name a { color: inherit; }
.product-card-name a:hover { color: var(--primary); }
.product-card-rating {
    display: flex; align-items: center; gap: 4px; margin-bottom: 8px;
}
.product-card-rating i { color: var(--accent); font-size: 12px; }
.product-card-rating span { font-size: 12px; color: var(--text-light); }
.product-card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-current { font-size: 18px; font-weight: 800; color: var(--primary); }
.price-old {
    font-size: 14px; color: var(--text-muted);
    text-decoration: line-through;
}
.price-discount {
    font-size: 11px; background: rgba(220,53,69,0.1);
    color: var(--danger); padding: 2px 8px;
    border-radius: var(--radius-full); font-weight: 600;
}

/* Product Card - Add to Cart (Mobile Visible) */
.product-card-add {
    display: none; padding: 0 15px 15px;
}
.product-add-btn {
    width: 100%; padding: 10px; background: var(--primary);
    color: var(--white); border-radius: var(--radius-md);
    font-weight: 600; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    gap: 8px; transition: var(--transition);
}
.product-add-btn:hover { background: var(--primary-dark); }

/* ============================================
   Banner / Promo Sections
============================================ */
.promo-banner {
    border-radius: var(--radius-lg); overflow: hidden;
    position: relative; min-height: 200px;
    display: flex; align-items: center;
    background-size: cover; background-position: center;
    transition: var(--transition);
}
.promo-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.promo-banner-content {
    position: relative; z-index: 2; padding: 30px;
    max-width: 60%;
}
.promo-banner-badge {
    display: inline-block; background: var(--primary);
    color: var(--white); padding: 4px 14px;
    border-radius: var(--radius-full); font-size: 12px;
    font-weight: 600; margin-bottom: 10px;
}
.promo-banner-title { font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.promo-banner-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary); font-weight: 600; font-size: 14px;
    margin-top: 10px;
}

/* ============================================
   Deal / Countdown Section
============================================ */
.deal-section { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); padding: 50px 0; }
.deal-content { color: var(--white); }
.deal-badge { display: inline-block; background: var(--primary); color: var(--white); padding: 6px 18px; border-radius: var(--radius-full); font-weight: 600; font-size: 13px; margin-bottom: 15px; }
.deal-title { font-size: 32px; font-weight: 900; color: var(--white); margin-bottom: 10px; }
.deal-desc { color: rgba(255,255,255,0.8); margin-bottom: 25px; font-size: 15px; }
.countdown { display: flex; gap: 12px; margin-bottom: 25px; }
.countdown-item {
    text-align: center; background: rgba(255,255,255,0.15);
    padding: 12px 18px; border-radius: var(--radius-md);
    min-width: 70px;
}
.countdown-item .num { font-size: 28px; font-weight: 900; color: var(--white); display: block; }
.countdown-item .label { font-size: 11px; color: rgba(255,255,255,0.7); }

/* ============================================
   Breadcrumb
============================================ */
.breadcrumb-section {
    background: var(--bg-section); padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}
.breadcrumb-list {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; flex-wrap: wrap;
}
.breadcrumb-list a { color: var(--text-light); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list .separator { color: var(--text-muted); font-size: 10px; }
.breadcrumb-list .current { color: var(--text-dark); font-weight: 600; }

/* ============================================
   Page Title
============================================ */
.page-title-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 40px 0; color: var(--white);
}
.page-title-section h1 { font-size: 28px; font-weight: 800; margin-bottom: 5px; }

/* ============================================
   Products Grid / List
============================================ */
.products-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--white); padding: 12px 20px; border-radius: var(--radius-md);
    border: 1px solid var(--border-light); margin-bottom: 20px; gap: 15px;
    flex-wrap: wrap;
}
.toolbar-info { font-size: 13px; color: var(--text-light); }
.toolbar-actions { display: flex; align-items: center; gap: 15px; }
.toolbar-sort select {
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 8px 12px; font-size: 13px; background: var(--white);
    outline: none; appearance: auto;
}
.toolbar-view { display: flex; gap: 4px; }
.toolbar-view button {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); display: flex; align-items: center;
    justify-content: center; font-size: 14px; color: var(--text-light);
    transition: var(--transition);
}
.toolbar-view button.active, .toolbar-view button:hover {
    background: var(--primary); color: var(--white); border-color: var(--primary);
}
.products-grid {
    display: grid; gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}
.products-grid.list-view {
    grid-template-columns: 1fr;
}
.products-grid.list-view .product-card {
    display: flex; flex-direction: row;
}
.products-grid.list-view .product-card-img {
    width: 200px; flex-shrink: 0; aspect-ratio: auto;
    height: 200px;
}
.products-grid.list-view .product-card-body { flex: 1; }

/* Filters Sidebar */
.filter-sidebar {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); padding: 25px;
}
.filter-section { margin-bottom: 25px; }
.filter-section:last-child { margin-bottom: 0; }
.filter-section-title {
    font-size: 15px; font-weight: 700; color: var(--text-dark);
    margin-bottom: 15px; padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.filter-option {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; cursor: pointer;
}
.filter-option input[type="checkbox"] {
    width: 18px; height: 18px; accent-color: var(--primary);
}
.filter-option label {
    font-size: 14px; color: var(--text-body); cursor: pointer; flex: 1;
}
.filter-option .count {
    font-size: 12px; color: var(--text-muted);
    background: var(--bg-light); padding: 2px 8px;
    border-radius: var(--radius-full);
}
.filter-price-range { margin-top: 10px; }
.filter-price-inputs { display: flex; gap: 10px; margin-top: 10px; }
.filter-price-inputs input {
    flex: 1; border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 8px; text-align: center; font-size: 13px; outline: none;
}
.filter-btn {
    width: 100%; padding: 10px; background: var(--primary);
    color: var(--white); border-radius: var(--radius-md);
    font-weight: 600; font-size: 14px; margin-top: 15px;
    transition: var(--transition);
}
.filter-btn:hover { background: var(--primary-dark); }

/* ============================================
   Single Product Page
============================================ */
.product-gallery {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); overflow: hidden;
}
.product-main-image {
    aspect-ratio: 1/1; overflow: hidden; position: relative;
    background: var(--bg-section);
}
.product-main-image img {
    width: 100%; height: 100%; object-fit: contain; cursor: zoom-in;
    transition: transform 0.4s ease;
}
.product-main-image:hover img { transform: scale(1.5); }
.product-thumbs {
    display: flex; gap: 8px; padding: 12px; overflow-x: auto;
}
.product-thumb {
    width: 70px; height: 70px; flex-shrink: 0;
    border: 2px solid var(--border-light); border-radius: var(--radius-sm);
    overflow: hidden; cursor: pointer; transition: var(--transition);
}
.product-thumb.active, .product-thumb:hover { border-color: var(--primary); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 10px 0; }
.product-info-category { font-size: 13px; color: var(--primary); font-weight: 500; margin-bottom: 8px; }
.product-info-name { font-size: 26px; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; line-height: 1.4; }
.product-info-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.product-info-rating .stars i { color: var(--accent); font-size: 16px; }
.product-info-rating .reviews-count { font-size: 13px; color: var(--text-light); }
.product-info-price { margin-bottom: 20px; }
.product-info-price .price-current { font-size: 30px; font-weight: 900; color: var(--primary); }
.product-info-price .price-old { font-size: 18px; }
.product-info-short { font-size: 14px; color: var(--text-body); margin-bottom: 20px; line-height: 1.8; }
.product-info-meta {
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 20px; font-size: 14px;
}
.product-info-meta span { color: var(--text-light); }
.product-info-meta strong { color: var(--text-dark); }
.product-info-stock { display:flex; align-items:center; gap:6px; }
.stock-in { color: var(--success); }
.stock-low { color: var(--warning); }
.stock-out { color: var(--danger); }
.product-variants { margin-bottom: 20px; }
.variant-group { margin-bottom: 15px; }
.variant-group-title { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.variant-options { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-option {
    padding: 8px 16px; border: 2px solid var(--border);
    border-radius: var(--radius-md); font-size: 13px;
    font-weight: 500; cursor: pointer; transition: var(--transition);
}
.variant-option:hover, .variant-option.active {
    border-color: var(--primary); color: var(--primary);
    background: rgba(255,107,53,0.05);
}
.product-quantity {
    display: flex; align-items: center; gap: 15px; margin-bottom: 20px;
}
.qty-wrapper {
    display: flex; align-items: center; border: 2px solid var(--border);
    border-radius: var(--radius-md); overflow: hidden;
}
.qty-btn {
    width: 42px; height: 42px; display: flex; align-items: center;
    justify-content: center; font-size: 16px; color: var(--text-body);
    transition: var(--transition); background: var(--bg-light);
}
.qty-btn:hover { background: var(--primary); color: var(--white); }
.qty-input {
    width: 55px; height: 42px; text-align: center; border: none;
    border-left: 1px solid var(--border); border-right: 1px solid var(--border);
    font-weight: 700; font-size: 16px; outline: none;
}
.product-actions { display: flex; gap: 12px; margin-bottom: 25px; flex-wrap: wrap; }
.btn-add-cart {
    flex: 1; min-width: 200px; padding: 14px 30px;
    background: var(--primary); color: var(--white);
    border-radius: var(--radius-md); font-weight: 700;
    font-size: 15px; display: flex; align-items: center;
    justify-content: center; gap: 10px; transition: var(--transition);
}
.btn-add-cart:hover {
    background: var(--primary-dark); color: var(--white);
    transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-buy-now {
    padding: 14px 30px; background: var(--secondary);
    color: var(--white); border-radius: var(--radius-md);
    font-weight: 700; font-size: 15px; transition: var(--transition);
}
.btn-buy-now:hover {
    background: var(--secondary-light); color: var(--white);
    transform: translateY(-2px);
}
.btn-wishlist-lg {
    width: 50px; height: 50px; border: 2px solid var(--border);
    border-radius: var(--radius-md); display: flex; align-items: center;
    justify-content: center; font-size: 20px; color: var(--text-body);
    transition: var(--transition);
}
.btn-wishlist-lg:hover, .btn-wishlist-lg.active {
    border-color: var(--danger); color: var(--danger);
    background: rgba(220,53,69,0.05);
}
.product-share { display: flex; align-items: center; gap: 10px; }
.product-share span { font-size: 13px; color: var(--text-light); }
.product-share a {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-light); display: flex; align-items: center;
    justify-content: center; color: var(--text-body);
    transition: var(--transition); font-size: 14px;
}
.product-share a:hover { background: var(--primary); color: var(--white); }

/* Product Tabs */
.product-tabs { margin-top: 40px; }
.product-tabs .nav-tabs {
    border-bottom: 2px solid var(--border-light);
    gap: 0;
}
.product-tabs .nav-tabs .nav-link {
    border: none; padding: 14px 25px; font-weight: 600;
    color: var(--text-body); font-size: 15px;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: var(--transition);
}
.product-tabs .nav-tabs .nav-link.active,
.product-tabs .nav-tabs .nav-link:hover {
    color: var(--primary); border-bottom-color: var(--primary);
}
.product-tabs .tab-content { padding: 25px 0; }
.product-description { font-size: 15px; line-height: 2; color: var(--text-body); }
.spec-table { width: 100%; }
.spec-table tr td { padding: 12px 15px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.spec-table tr td:first-child { font-weight: 600; color: var(--text-dark); width: 35%; background: var(--bg-light); }

/* Reviews */
.review-item {
    padding: 20px 0; border-bottom: 1px solid var(--border-light);
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
    width: 45px; height: 45px; background: var(--primary);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: var(--white); font-weight: 700;
}
.review-author { font-weight: 700; color: var(--text-dark); }
.review-date { font-size: 12px; color: var(--text-muted); }
.review-stars i { color: var(--accent); font-size: 14px; }
.review-text { font-size: 14px; line-height: 1.8; color: var(--text-body); }

/* ============================================
   Cart Page
============================================ */
.cart-table { width: 100%; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); }
.cart-table thead { background: var(--bg-light); }
.cart-table th { padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--text-dark); text-align: right; }
.cart-table td { padding: 16px; vertical-align: middle; border-bottom: 1px solid var(--border-light); }
.cart-product-info { display: flex; align-items: center; gap: 14px; }
.cart-product-info img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-product-name { font-weight: 600; color: var(--text-dark); font-size: 14px; }
.cart-product-variant { font-size: 12px; color: var(--text-light); }
.cart-price { font-weight: 700; color: var(--primary); font-size: 15px; }
.cart-remove { color: var(--text-muted); font-size: 18px; transition: var(--transition); padding: 5px; }
.cart-remove:hover { color: var(--danger); }

/* Cart Summary */
.cart-summary {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); padding: 25px;
}
.cart-summary h4 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; }
.cart-summary-row {
    display: flex; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}
.cart-summary-total {
    display: flex; justify-content: space-between;
    padding: 15px 0 0; font-size: 18px; font-weight: 800;
}
.cart-summary-total .total-value { color: var(--primary); font-size: 22px; }
.cart-coupon { margin: 20px 0; }
.cart-coupon-form { display: flex; gap: 8px; }
.cart-coupon-form input {
    flex: 1; border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 10px 14px; font-size: 14px; outline: none;
}
.cart-coupon-form button {
    padding: 10px 20px; background: var(--secondary);
    color: var(--white); border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14px; transition: var(--transition);
}
.btn-checkout {
    display: block; width: 100%; padding: 15px; background: var(--primary);
    color: var(--white); border-radius: var(--radius-md);
    font-weight: 700; font-size: 16px; text-align: center;
    margin-top: 20px; transition: var(--transition);
}
.btn-checkout:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); }

/* ============================================
   Checkout Page
============================================ */
.checkout-section { padding: 30px 0; }
.checkout-form { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border-light); padding: 25px; }
.checkout-form h4 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-group label .required { color: var(--danger); }
.form-control {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: 14px; color: var(--text-dark);
    transition: var(--transition); background: var(--white);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,53,0.1); outline: none; }
select.form-control { appearance: auto; }
textarea.form-control { min-height: 100px; resize: vertical; }

/* Payment Methods */
.payment-methods { display: flex; flex-direction: column; gap: 10px; }
.payment-method {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border: 2px solid var(--border);
    border-radius: var(--radius-md); cursor: pointer;
    transition: var(--transition);
}
.payment-method:hover, .payment-method.active {
    border-color: var(--primary);
    background: rgba(255,107,53,0.03);
}
.payment-method input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; }
.payment-method-icon { font-size: 24px; color: var(--primary); width: 40px; text-align: center; }
.payment-method-info h6 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin: 0 0 2px; }
.payment-method-info p { font-size: 12px; color: var(--text-light); margin: 0; }

/* Order Summary */
.order-summary { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border-light); padding: 25px; position: sticky; top: 100px; }
.order-summary h4 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; }
.order-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.order-item img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.order-item-name { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.order-item-qty { font-size: 12px; color: var(--text-light); }
.order-item-price { font-weight: 700; color: var(--primary); margin-right: auto; white-space: nowrap; }
.btn-place-order {
    display: block; width: 100%; padding: 16px; background: var(--success);
    color: var(--white); border-radius: var(--radius-md);
    font-weight: 700; font-size: 16px; text-align: center;
    margin-top: 20px; transition: var(--transition);
}
.btn-place-order:hover { background: #229a3e; color: var(--white); transform: translateY(-2px); }

/* ============================================
   Auth Pages (Login/Register)
============================================ */
.auth-page { min-height: 80vh; display: flex; align-items: center; padding: 40px 0; background: var(--bg-section); }
.auth-card {
    max-width: 480px; width: 100%; margin: 0 auto;
    background: var(--white); padding: 40px; border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.auth-card-header { text-align: center; margin-bottom: 30px; }
.auth-card-header h2 { font-size: 26px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.auth-card-header p { color: var(--text-light); font-size: 14px; }
.auth-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0; color: var(--text-muted); font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-social { display: flex; gap: 10px; }
.auth-social-btn {
    flex: 1; padding: 12px; border: 1px solid var(--border);
    border-radius: var(--radius-md); display: flex; align-items: center;
    justify-content: center; gap: 8px; font-size: 14px; font-weight: 500;
    transition: var(--transition);
}
.auth-social-btn:hover { border-color: var(--primary); background: var(--bg-light); }
.auth-link { text-align: center; margin-top: 20px; font-size: 14px; }
.auth-link a { color: var(--primary); font-weight: 600; }
.btn-auth {
    width: 100%; padding: 14px; background: var(--primary);
    color: var(--white); border-radius: var(--radius-md);
    font-weight: 700; font-size: 16px; margin-top: 10px;
    transition: var(--transition);
}
.btn-auth:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================
   Account Page
============================================ */
.account-sidebar {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); padding: 20px;
}
.account-user { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); margin-bottom: 15px; }
.account-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; font-weight: 700; margin: 0 auto 12px;
}
.account-user h5 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.account-user p { font-size: 13px; color: var(--text-light); margin: 0; }
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500; color: var(--text-body);
    transition: var(--transition);
}
.account-nav a:hover, .account-nav a.active {
    background: rgba(255,107,53,0.08); color: var(--primary);
}
.account-nav a i { width: 20px; text-align: center; }
.account-content {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); padding: 25px;
}

/* Orders History */
.order-card {
    border: 1px solid var(--border-light); border-radius: var(--radius-md);
    margin-bottom: 15px; overflow: hidden;
}
.order-card-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; background: var(--bg-light); flex-wrap: wrap; gap: 10px;
}
.order-number { font-weight: 700; color: var(--text-dark); font-size: 14px; }
.order-status {
    padding: 4px 14px; border-radius: var(--radius-full);
    font-size: 12px; font-weight: 600;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d4edda; color: #155724; }
.status-processing { background: #cce5ff; color: #004085; }
.status-shipped { background: #d1ecf1; color: #0c5460; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.order-card-body { padding: 14px 16px; }
.order-info-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }

/* ============================================
   Wishlist Page
============================================ */
.wishlist-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.wishlist-empty { text-align: center; padding: 60px 20px; }
.wishlist-empty i { font-size: 60px; color: var(--border); margin-bottom: 20px; display: block; }
.wishlist-empty h3 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.wishlist-empty p { color: var(--text-light); margin-bottom: 20px; }

/* ============================================
   Contact Page
============================================ */
.contact-info-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); padding: 25px;
    text-align: center; transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-info-icon {
    width: 65px; height: 65px; background: rgba(255,107,53,0.1);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 24px; color: var(--primary);
    margin: 0 auto 15px;
}
.contact-info-card h5 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.contact-info-card p { font-size: 14px; color: var(--text-light); margin: 0; }
.contact-info-card a { color: var(--primary); }

/* ============================================
   Wholesale Section
============================================ */
.wholesale-hero {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    padding: 60px 0; color: var(--white); text-align: center;
}
.wholesale-hero h1 { font-size: 36px; font-weight: 900; margin-bottom: 15px; }
.wholesale-hero p { font-size: 16px; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.wholesale-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 40px; }
.wholesale-feature {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 30px; text-align: center; transition: var(--transition);
}
.wholesale-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.wholesale-feature-icon {
    width: 60px; height: 60px; background: rgba(255,107,53,0.1);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 24px; color: var(--primary);
    margin: 0 auto 15px;
}

/* ============================================
   Footer
============================================ */
.store-footer { color: rgba(255,255,255,0.8); }
.footer-newsletter { padding: 40px 0; background: rgba(255,255,255,0.05); }
.newsletter-wrapper {
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px; flex-wrap: wrap;
}
.newsletter-info h4 { color: var(--white); font-size: 20px; margin-bottom: 5px; }
.newsletter-info h4 i { color: var(--primary); margin-left: 8px; }
.newsletter-info p { font-size: 13px; margin: 0; }
.newsletter-form { flex: 1; max-width: 450px; }
.newsletter-input-group {
    display: flex; background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full); overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}
.newsletter-input-group input {
    flex: 1; border: none; background: transparent;
    padding: 14px 20px; color: var(--white); outline: none;
    font-size: 14px;
}
.newsletter-input-group input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-input-group button {
    padding: 14px 25px; background: var(--primary);
    color: var(--white); font-weight: 600; font-size: 14px;
    display: flex; align-items: center; gap: 8px;
    transition: var(--transition);
}
.newsletter-input-group button:hover { background: var(--primary-dark); }
.footer-main { padding: 50px 0 30px; }
.footer-widget { margin-bottom: 20px; }
.footer-brand h3 { color: var(--white); font-size: 24px; font-weight: 800; margin-bottom: 15px; }
.footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 15px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.footer-contact-item i { color: var(--primary); width: 16px; }
.footer-contact-item a { color: inherit; }
.footer-contact-item a:hover { color: var(--primary); }
.footer-widget-title {
    color: var(--white); font-size: 17px; font-weight: 700;
    margin-bottom: 20px; position: relative; padding-bottom: 10px;
}
.footer-widget-title::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 30px; height: 2px; background: var(--primary);
}
.footer-links li { margin-bottom: 8px; }
.footer-links li a { font-size: 14px; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-links li a:hover { color: var(--primary); padding-right: 5px; }
.footer-feature-list { display: flex; flex-direction: column; gap: 15px; }
.footer-feature { display: flex; align-items: center; gap: 12px; }
.ff-icon {
    width: 40px; height: 40px; background: rgba(255,107,53,0.15);
    border-radius: var(--radius-sm); display: flex; align-items: center;
    justify-content: center; color: var(--primary); font-size: 16px;
    flex-shrink: 0;
}
.footer-feature strong { display: block; color: var(--white); font-size: 14px; }
.footer-feature span { font-size: 12px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}
.footer-bottom-wrapper {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 15px;
}
.copyright { font-size: 13px; margin: 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px; background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.payment-methods { display: flex; align-items: center; gap: 10px; }
.payment-methods img { height: 25px; }
.payment-badge {
    background: rgba(255,255,255,0.1); padding: 5px 12px;
    border-radius: var(--radius-full); font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   Mobile Bottom Navigation
============================================ */
.mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--white); z-index: 1000;
    display: flex; justify-content: space-around;
    border-top: 1px solid var(--border);
    padding: 5px 0; padding-bottom: max(5px, env(safe-area-inset-bottom));
    box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
}
.bottom-nav-item {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 3px; padding: 6px 12px;
    color: var(--text-light); font-size: 10px;
    text-decoration: none; position: relative;
    transition: var(--transition);
    min-width: 55px;
}
.bottom-nav-item i { font-size: 20px; }
.bottom-nav-item span { font-weight: 600; }
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item.active i { transform: scale(1.1); }
.cart-nav-item .cart-nav-badge {
    position: relative;
}
.cart-nav-item .cart-nav-badge i {
    font-size: 22px;
}
.cart-count-badge {
    position: absolute; top: -8px; right: -10px;
    background: var(--primary); color: var(--white);
    font-size: 10px; font-weight: 700; width: 18px; height: 18px;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; line-height: 1;
}

/* ============================================
   WhatsApp Float
============================================ */
.whatsapp-float {
    position: fixed; bottom: 85px; left: 20px;
    width: 56px; height: 56px; background: #25D366;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: var(--white); font-size: 28px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999; transition: var(--transition);
    animation: bounce-wa 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1); color: var(--white);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}
@keyframes bounce-wa {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ============================================
   Back to Top
============================================ */
.back-to-top {
    position: fixed; bottom: 85px; right: 20px;
    width: 45px; height: 45px; background: var(--primary);
    color: var(--white); border-radius: 50%; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    z-index: 999; opacity: 0; visibility: hidden;
    transition: var(--transition); box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ============================================
   Toast Notifications
============================================ */
.toast-container {
    position: fixed; top: 20px; left: 20px; z-index: 99999;
    display: flex; flex-direction: column; gap: 10px;
}
.toast-item {
    background: var(--white); padding: 14px 20px; border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); display: flex; align-items: center;
    gap: 12px; min-width: 300px; animation: slideInLeft 0.4s ease;
    border-right: 4px solid var(--primary);
}
.toast-item.success { border-right-color: var(--success); }
.toast-item.error { border-right-color: var(--danger); }
.toast-item.warning { border-right-color: var(--warning); }
.toast-item i { font-size: 20px; }
.toast-item.success i { color: var(--success); }
.toast-item.error i { color: var(--danger); }
.toast-item.warning i { color: var(--warning); }
.toast-text { flex: 1; font-size: 14px; font-weight: 500; }
.toast-close { padding: 5px; color: var(--text-muted); font-size: 14px; }
@keyframes slideInLeft { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============================================
   Loading / Spinner
============================================ */
.spinner {
    display: inline-block; width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--white); border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
.spinner-primary { border-color: rgba(255,107,53,0.2); border-top-color: var(--primary); }
.btn-loading { pointer-events: none; opacity: 0.7; }

/* ============================================
   Pagination
============================================ */
.pagination-wrapper { display: flex; justify-content: center; margin-top: 30px; }
.pagination { display: flex; gap: 6px; }
.pagination .page-link {
    width: 40px; height: 40px; display: flex; align-items: center;
    justify-content: center; border-radius: var(--radius-sm);
    border: 1px solid var(--border); color: var(--text-body);
    font-weight: 600; font-size: 14px; transition: var(--transition);
}
.pagination .page-link:hover, .pagination .page-link.active {
    background: var(--primary); color: var(--white); border-color: var(--primary);
}

/* ============================================
   Empty States
============================================ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { font-size: 70px; color: var(--border); margin-bottom: 20px; }
.empty-state h3 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.empty-state p { color: var(--text-light); margin-bottom: 20px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ============================================
   Utility Classes
============================================ */
.btn-primary-custom { background: var(--primary); color: var(--white); border: none; padding: 12px 28px; border-radius: var(--radius-md); font-weight: 600; transition: var(--transition); }
.btn-primary-custom:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline-custom { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 10px 28px; border-radius: var(--radius-md); font-weight: 600; transition: var(--transition); }
.btn-outline-custom:hover { background: var(--primary); color: var(--white); }
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.badge-custom { display: inline-block; padding: 4px 12px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }

/* Quick View Modal */
.quick-view-modal .modal-dialog { max-width: 900px; }
.quick-view-modal .modal-content { border-radius: var(--radius-lg); border: none; }

/* ============================================
   Responsive Design - Tablet
============================================ */
@media (max-width: 991.98px) {
    .hero-slide { min-height: 350px; }
    .hero-title { font-size: 28px; }
    .hero-content { padding: 25px; max-width: 100%; }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .wishlist-grid { grid-template-columns: repeat(3, 1fr); }
    .section { padding: 40px 0; }
    .section-title { font-size: 22px; }
    .wholesale-features { grid-template-columns: repeat(2, 1fr); }
    .product-card-add { display: block; }
    .product-card-quick { display: none; }
    .whatsapp-float { bottom: 80px; left: 15px; width: 50px; height: 50px; font-size: 24px; }
    .back-to-top { bottom: 80px; right: 15px; }
}

/* ============================================
   Responsive Design - Mobile
============================================ */
@media (max-width: 767.98px) {
    body { padding-bottom: var(--bottom-nav-height); font-size: 14px; }
    .container { padding: 0 15px; }
    .hero-slide { min-height: 280px; }
    .hero-title { font-size: 22px; }
    .hero-desc { font-size: 14px; }
    .hero-btn { padding: 10px 22px; font-size: 13px; }
    .header-wrapper { padding: 8px 0; gap: 10px; min-height: 56px; }
    .logo-main { font-size: 20px; }
    .logo-sub { font-size: 8px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .products-grid.list-view { grid-template-columns: 1fr; }
    .products-grid.list-view .product-card-img { width: 120px; height: 120px; }
    .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card-body { padding: 10px; }
    .product-card-name { font-size: 13px; min-height: 36px; }
    .price-current { font-size: 16px; }
    .price-old { font-size: 12px; }
    .product-card-add { display: block; padding: 0 10px 10px; }
    .product-card-quick { display: none; }
    .product-card-actions { opacity: 1; transform: none; }
    .pca-btn { width: 32px; height: 32px; font-size: 12px; }
    .section { padding: 30px 0; }
    .section-title { font-size: 20px; }
    .section-header { margin-bottom: 20px; }
    .feature-item { padding: 10px; gap: 10px; }
    .feature-icon { width: 45px; height: 45px; font-size: 18px; }
    .feature-text h6 { font-size: 13px; }
    .category-card { padding: 15px 10px; }
    .category-card-icon { width: 55px; height: 55px; font-size: 22px; }
    .category-card-name { font-size: 12px; }
    .cart-table { display: block; overflow-x: auto; }
    .cart-product-info img { width: 60px; height: 60px; }
    .auth-card { padding: 25px; border-radius: var(--radius-lg); }
    .mini-cart { width: 100%; left: -100%; }
    .mobile-menu { width: 280px; }
    .product-info-name { font-size: 20px; }
    .product-info-price .price-current { font-size: 24px; }
    .product-thumbs { gap: 6px; }
    .product-thumb { width: 55px; height: 55px; }
    .checkout-form { padding: 18px; }
    .countdown { gap: 8px; }
    .countdown-item { padding: 8px 12px; min-width: 55px; }
    .countdown-item .num { font-size: 22px; }
    .deal-title { font-size: 24px; }
    .wholesale-features { grid-template-columns: 1fr; }
    .newsletter-wrapper { flex-direction: column; text-align: center; }
    .newsletter-form { max-width: 100%; }
    .footer-bottom-wrapper { justify-content: center; text-align: center; }
    .whatsapp-float { bottom: 75px; left: 12px; width: 48px; height: 48px; font-size: 22px; }
    .back-to-top { bottom: 75px; right: 12px; width: 40px; height: 40px; }
    .toast-container { left: 10px; right: 10px; }
    .toast-item { min-width: auto; }
}

/* ============================================
   Responsive Design - Small Mobile
============================================ */
@media (max-width: 374.98px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card-body { padding: 8px; }
    .product-card-name { font-size: 12px; }
    .price-current { font-size: 14px; }
    .hero-title { font-size: 18px; }
    .bottom-nav-item { padding: 5px 8px; min-width: 48px; }
    .bottom-nav-item i { font-size: 18px; }
    .bottom-nav-item span { font-size: 9px; }
}

/* ============================================
   Landscape Mode
============================================ */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-slide { min-height: 200px; }
    .mobile-bottom-nav { display: none; }
    body { padding-bottom: 0; }
}

/* Smooth transitions for all interactive elements */
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }

/* ============================================
   SCROLL REVEAL ANIMATIONS
============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes flipInX {
    from { opacity: 0; transform: perspective(400px) rotateX(90deg); }
    to { opacity: 1; transform: perspective(400px) rotateX(0); }
}
@keyframes slideInUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255,107,53,0.3); }
    50% { box-shadow: 0 0 25px rgba(255,107,53,0.6), 0 0 50px rgba(255,107,53,0.2); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes rippleEffect {
    0% { transform: scale(0); opacity: 0.6; }
    100% { transform: scale(4); opacity: 0; }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes borderGlow {
    0%, 100% { border-color: var(--primary); box-shadow: 0 0 8px rgba(255,107,53,0.3); }
    33% { border-color: var(--accent); box-shadow: 0 0 8px rgba(247,201,72,0.3); }
    66% { border-color: var(--secondary); box-shadow: 0 0 8px rgba(0,78,137,0.3); }
}
@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}
@keyframes staggerFade {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Reveal on Scroll - Base */
[data-animate] {
    opacity: 0;
    transition: none;
}
[data-animate].revealed {
    animation-duration: 0.7s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
[data-animate="fadeInUp"].revealed { animation-name: fadeInUp; }
[data-animate="fadeInDown"].revealed { animation-name: fadeInDown; }
[data-animate="fadeInRight"].revealed { animation-name: fadeInRight; }
[data-animate="fadeInLeft"].revealed { animation-name: fadeInLeft; }
[data-animate="scaleIn"].revealed { animation-name: scaleIn; }
[data-animate="zoomIn"].revealed { animation-name: zoomIn; }
[data-animate="flipInX"].revealed { animation-name: flipInX; }
[data-animate="bounceIn"].revealed { animation-name: bounceIn; }

/* Stagger children animation */
[data-stagger] .stagger-item {
    opacity: 0;
}
[data-stagger].revealed .stagger-item {
    animation: staggerFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}
[data-stagger].revealed .stagger-item:nth-child(1) { animation-delay: 0.05s; }
[data-stagger].revealed .stagger-item:nth-child(2) { animation-delay: 0.1s; }
[data-stagger].revealed .stagger-item:nth-child(3) { animation-delay: 0.15s; }
[data-stagger].revealed .stagger-item:nth-child(4) { animation-delay: 0.2s; }
[data-stagger].revealed .stagger-item:nth-child(5) { animation-delay: 0.25s; }
[data-stagger].revealed .stagger-item:nth-child(6) { animation-delay: 0.3s; }
[data-stagger].revealed .stagger-item:nth-child(7) { animation-delay: 0.35s; }
[data-stagger].revealed .stagger-item:nth-child(8) { animation-delay: 0.4s; }
[data-stagger].revealed .stagger-item:nth-child(9) { animation-delay: 0.45s; }
[data-stagger].revealed .stagger-item:nth-child(10) { animation-delay: 0.5s; }

/* ============================================
   SKELETON LOADING SCREENS
============================================ */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: var(--radius-sm);
}
.skeleton-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}
.skeleton-img {
    aspect-ratio: 1/1;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
}
.skeleton-text {
    height: 14px;
    margin-bottom: 10px;
    border-radius: 7px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
}
.skeleton-text.w-60 { width: 60%; }
.skeleton-text.w-40 { width: 40%; }
.skeleton-text.w-80 { width: 80%; }
.skeleton-text.h-20 { height: 20px; }
.skeleton-body { padding: 15px; }
.skeleton-circle {
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
}

/* Lazy load image transition */
img[data-src] {
    opacity: 0;
    transition: opacity 0.5s ease, filter 0.5s ease;
    filter: blur(10px);
}
img[data-src].lazy-loaded,
img.lazy-loaded {
    opacity: 1;
    filter: blur(0);
}

/* Page transition overlay */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.page-transition-overlay .pt-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* AJAX content loading state */
.content-loading {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.content-loaded {
    animation: fadeInUp 0.4s ease both;
}

/* ============================================
   MICRO-INTERACTIONS & HOVER EFFECTS
============================================ */

/* Button Ripple Effect */
.ripple-btn {
    position: relative;
    overflow: hidden;
}
.ripple-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

/* Enhanced Product Card Hover */
.product-card {
    will-change: transform, box-shadow;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,107,53,0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}
.product-card:hover::before {
    opacity: 1;
}

/* Category Card Hover Enhancement */
.category-card {
    will-change: transform;
}
.category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-card:hover::after {
    transform: scaleX(1);
}

/* Feature Items Hover */
.feature-item {
    transition: var(--transition);
    border-radius: var(--radius-md);
    cursor: default;
}
.feature-item:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}
.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(255,107,53,0.3);
}
.feature-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Badge Pulse */
.action-badge, .cart-count-badge {
    transition: all 0.3s ease;
}
.action-badge.pulse, .cart-count-badge.pulse {
    animation: bounceIn 0.5s ease;
}

/* Section Title Animated Underline */
.section-title::after {
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
}
[data-animate].revealed .section-title::after,
.section-title.animate-line::after {
    width: 50px;
}

/* Hero Parallax */
.hero-slide {
    transition: none;
}
.hero-content > * {
    opacity: 0;
    transform: translateY(30px);
}
.swiper-slide-active .hero-content > * {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.swiper-slide-active .hero-badge { transition-delay: 0.1s; }
.swiper-slide-active .hero-title { transition-delay: 0.2s; }
.swiper-slide-active .hero-desc { transition-delay: 0.3s; }
.swiper-slide-active .hero-btns { transition-delay: 0.4s; }

/* Promo Banners Enhanced */
.promo-banner {
    overflow: hidden;
}
.promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,107,53,0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.promo-banner:hover::before {
    opacity: 1;
}
.promo-banner-link {
    transition: gap 0.3s ease, color 0.3s ease;
}
.promo-banner:hover .promo-banner-link {
    gap: 12px;
    color: var(--primary-dark);
}

/* Toast Enhanced Animation */
.toast-item {
    animation: slideInLeft 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

/* Nav Link Hover Enhancement */
.nav-links .nav-link {
    position: relative;
}
.nav-links .nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 16px;
    left: 16px;
    height: 0;
    background: rgba(255,107,53,0.08);
    border-radius: var(--radius-sm);
    transition: height 0.2s ease;
    z-index: -1;
}
.nav-links .nav-link:hover::before {
    height: calc(100% - 16px);
    bottom: 8px;
}

/* Footer Social Enhanced */
.footer-social a {
    transform: translateY(0);
}
.footer-social a:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255,107,53,0.3);
}

/* Wishlist Heart Animation */
.toggle-wishlist.active i {
    animation: heartBeat 1s ease;
}

/* Add to Cart Button Enhancements */
.add-to-cart, .product-add-btn, .btn-add-cart {
    position: relative;
    overflow: hidden;
}
.add-to-cart::after, .product-add-btn::after, .btn-add-cart::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.add-to-cart:active::after, .product-add-btn:active::after, .btn-add-cart:active::after {
    width: 300px;
    height: 300px;
}

/* Search Focus Animation */
.search-wrapper:focus-within {
    transform: scale(1.01);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading bar at top */
.ajax-loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: shimmer 1s ease infinite;
    z-index: 100000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.ajax-loading-bar.active {
    transform: scaleX(0.7);
    transition: transform 8s cubic-bezier(0.1, 0.5, 0.15, 1);
}
.ajax-loading-bar.done {
    transform: scaleX(1);
    transition: transform 0.2s ease;
}
.ajax-loading-bar.hide {
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

/* ============================================
   ENHANCED FOOTER ANIMATED BORDER
============================================ */
.footer-animated-border {
    height: 4px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--accent) 15%, 
        #E94F37 30%, 
        var(--secondary) 45%, 
        #44BBA4 60%, 
        var(--accent) 75%, 
        var(--primary) 100%
    );
    background-size: 200% 100%;
    animation: footerBorderFlow 3s linear infinite;
}
.footer-animated-border::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(8px);
    opacity: 0.6;
}
.footer-animated-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 8px;
    background: inherit;
    filter: blur(12px);
    opacity: 0.4;
    animation: footerGlowPulse 2s ease-in-out infinite alternate;
}
@keyframes footerGlowPulse {
    from { opacity: 0.3; filter: blur(12px); }
    to { opacity: 0.7; filter: blur(16px); }
}

/* ============================================
   GPU Acceleration Hints
============================================ */
.product-card, .category-card, .feature-item, .promo-banner,
.hero-slide, .footer-social a, .pca-btn, .product-card-quick,
.product-card-actions, .search-wrapper {
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-animate] { opacity: 1; }
    html { scroll-behavior: auto; }
}

/* Print */
@media print {
    .main-header, .store-footer, .mobile-bottom-nav, .whatsapp-float,
    .back-to-top, .toast-container { display: none !important; }
    body { padding: 0; }
}

/* =========================================
   Premium Quick View Modal
   ========================================= */
.qv-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,.25);
    position: relative;
}
.qv-close-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,.06);
    border: none;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.qv-close-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
}
.qv-premium { padding: 0; }
.qv-gallery {
    background: linear-gradient(145deg, #f8f9fa, #eef1f5);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.qv-main-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}
.qv-main-img img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.qv-main-img:hover img { transform: scale(1.08); }
.qv-badge-sale {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 3px 12px rgba(255,68,68,.3);
}
.qv-wishlist-btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: #ccc;
    font-size: 16px;
    box-shadow: 0 3px 12px rgba(0,0,0,.1);
    transition: var(--transition);
    z-index: 5;
}
.qv-wishlist-btn:hover, .qv-wishlist-btn.active {
    color: #e91e63;
    transform: scale(1.15);
}
.qv-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
}
.qv-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
}
.qv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qv-thumb:hover { border-color: rgba(var(--primary-rgb,255,107,53),.4); }
.qv-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb,255,107,53),.3);
}
.qv-info {
    padding: 28px 28px 28px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.qv-category {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(var(--primary-rgb,255,107,53),.08);
    color: var(--primary);
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: 8px;
    width: fit-content;
}
.qv-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}
.qv-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 12px;
}
.qv-rating .fas, .qv-rating .far { color: #ffc107; font-size: .85rem; }
.qv-reviews-count {
    margin-right: 6px;
    color: #999;
    font-size: .82rem;
}
.qv-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, #e0e0e0, transparent);
    margin: 8px 0 14px;
}
.qv-price-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.qv-price {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #e55a25));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.qv-old-price {
    text-decoration: line-through;
    color: #bbb;
    font-size: .95rem;
}
.qv-save {
    padding: 2px 10px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
}
.qv-desc {
    color: #777;
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: 14px;
}
.qv-variant-group {
    margin-bottom: 12px;
}
.qv-variant-label {
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: 6px;
    display: block;
    color: var(--text-dark);
}
.qv-variant-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.qv-variant-option {
    cursor: pointer;
}
.qv-variant-option span {
    display: inline-block;
    padding: 6px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 500;
    transition: var(--transition);
    color: #555;
}
.qv-variant-option:hover span {
    border-color: var(--primary);
    color: var(--primary);
}
.qv-variant-option input:checked + span {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 3px 10px rgba(var(--primary-rgb,255,107,53),.3);
}
.qv-stock {
    color: #2e7d32;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.qv-stock i { margin-left: 4px; }
.qv-outstock {
    color: #c62828;
    font-weight: 600;
    font-size: .85rem;
    margin-bottom: 14px;
}
.qv-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
/* Horizontal Quantity Selector */
.qv-qty {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    height: 48px;
}
.qv-qty-btn {
    width: 44px;
    height: 100%;
    border: none;
    background: transparent;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qv-qty-btn:hover {
    background: var(--primary);
    color: #fff;
}
.qv-qty-input {
    width: 50px;
    height: 100%;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-weight: 800;
    font-size: 16px;
    outline: none;
    -moz-appearance: textfield;
    background: #fafafa;
}
.qv-qty-input::-webkit-outer-spin-button,
.qv-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qv-add-cart {
    flex: 1;
    min-width: 160px;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #e55a25));
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb,255,107,53),.3);
}
.qv-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb,255,107,53),.4);
}
.qv-details-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    transition: var(--transition);
    margin-top: auto;
}
.qv-details-link:hover {
    gap: 10px;
    color: var(--primary-dark, #e55a25);
}

/* Also fix the single product page quantity selector to be horizontal */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.quantity-selector .qty-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-body);
    transition: var(--transition);
    background: var(--bg-light);
    border: none;
    cursor: pointer;
}
.quantity-selector .qty-btn:hover { background: var(--primary); color: var(--white); }
.quantity-selector .qty-input {
    width: 50px;
    height: 42px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-weight: 700;
    font-size: 15px;
    outline: none;
    -moz-appearance: textfield;
}
.quantity-selector .qty-input::-webkit-outer-spin-button,
.quantity-selector .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 767px) {
    .qv-info { padding: 20px 16px; }
    .qv-main-img { min-height: 200px; }
    .qv-main-img img { max-height: 220px; }
    .qv-name { font-size: 1.1rem; }
    .qv-price { font-size: 1.3rem; }
    .qv-actions { flex-direction: column; }
    .qv-qty { width: 100%; justify-content: center; }
    .qv-add-cart { width: 100%; }
}
