/* ============================================
   TECHGADGET STORE - MAIN STYLESHEET
   Modern, Responsive Gadget Store Theme
   ============================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --accent: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --darker: #0f172a;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #e2e8f0;
    --gray-lightest: #f1f5f9;
    --white: #ffffff;
    --bg: #f8fafc;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--darker);
    color: var(--gray-light);
    font-size: 0.8rem;
    padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-left span { margin-right: 16px; }
.top-bar-left i, .top-bar-right i { margin-right: 4px; }
.top-bar-right a { color: var(--gray-light); margin-left: 12px; }
.top-bar-right a:hover { color: var(--white); }
.top-bar .separator { color: var(--gray); }

/* ============================================
   HEADER
   ============================================ */
.main-header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; align-items: center; gap: 30px; }
.logo a { display: flex; align-items: center; gap: 8px; font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.logo i { font-size: 1.8rem; }
.search-bar { flex: 1; max-width: 500px; }
.search-bar form { display: flex; border: 2px solid var(--gray-lighter); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.search-bar form:focus-within { border-color: var(--primary); }
.search-bar input { flex: 1; padding: 10px 15px; border: none; outline: none; font-size: 0.9rem; }
.search-bar button { padding: 10px 20px; background: var(--primary); color: var(--white); border: none; cursor: pointer; transition: var(--transition); }
.search-bar button:hover { background: var(--primary-dark); }
.header-actions { display: flex; gap: 15px; align-items: center; }
.header-icon { position: relative; font-size: 1.3rem; color: var(--dark); padding: 8px; }
.header-icon:hover { color: var(--primary); }
.badge {
    position: absolute; top: -2px; right: -2px;
    background: var(--danger); color: var(--white);
    font-size: 0.65rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav { background: var(--primary); }
.main-nav .container { display: flex; align-items: center; }
.nav-links { display: flex; gap: 0; }
.nav-links > li > a {
    display: block; padding: 14px 18px; color: rgba(255,255,255,0.9);
    font-size: 0.9rem; font-weight: 500; transition: var(--transition);
}
.nav-links > li > a:hover, .nav-links > li > a.active {
    background: var(--primary-dark); color: var(--white);
}
.nav-links > li { position: relative; }
.nav-links > li > a .fa-chevron-down { font-size: 0.7rem; margin-left: 4px; }
.dropdown {
    position: absolute; top: 100%; left: 0;
    background: var(--white); min-width: 220px;
    box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition); z-index: 200;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
    display: block; padding: 10px 20px; color: var(--dark);
    font-size: 0.85rem; border-bottom: 1px solid var(--gray-lighter);
}
.dropdown li a:hover { background: var(--gray-lightest); color: var(--primary); }
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.3rem; cursor: pointer; padding: 14px; }

/* ============================================
   FLASH SALE BAR
   ============================================ */
.flash-sale-bar { background: linear-gradient(135deg, #dc2626, #f59e0b); color: var(--white); padding: 10px 0; }
.flash-sale-bar .container { display: flex; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap; }
.flash-icon { font-weight: 800; animation: pulse 1s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.flash-countdown { font-weight: 700; font-size: 1rem; letter-spacing: 1px; }
.flash-cta { background: var(--white); color: var(--danger); padding: 6px 16px; border-radius: 20px; font-weight: 600; font-size: 0.85rem; }
.flash-cta:hover { background: var(--dark); color: var(--white); }
.flash-close { background: none; border: none; color: var(--white); font-size: 1.3rem; cursor: pointer; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block; padding: 10px 24px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.9rem; cursor: pointer;
    transition: var(--transition); border: 2px solid transparent;
    text-align: center; line-height: 1.4;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-danger:hover { background: #dc2626; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-block { display: block; width: 100%; }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider { position: relative; overflow: hidden; height: 450px; }
.hero-slide {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--darker));
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.6s ease; background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-content { text-align: center; color: var(--white); padding: 20px; }
.hero-content h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.2rem; margin-bottom: 24px; opacity: 0.9; }
.hero-prev, .hero-next {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    background: rgba(255,255,255,0.2); color: var(--white); border: none;
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    font-size: 1.2rem; transition: var(--transition); backdrop-filter: blur(5px);
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,0.4); }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 60px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
.section-header h2 { font-size: 1.8rem; font-weight: 700; }
.section-header h2 i { color: var(--primary); margin-right: 8px; }
.view-all { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.view-all:hover { text-decoration: underline; }
.page-section { padding: 40px 0; min-height: 60vh; }
.page-header { margin-bottom: 30px; }
.page-header h1 { font-size: 2rem; font-weight: 700; }
.page-header p { color: var(--gray); }

/* ============================================
   CATEGORIES
   ============================================ */
.categories-section { background: var(--white); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px; }
.category-card {
    text-align: center; padding: 30px 15px; background: var(--gray-lightest);
    border-radius: var(--radius-lg); transition: var(--transition); cursor: pointer;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); background: var(--white); }
.category-icon { width: 70px; height: 70px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 1.6rem; }
.category-card:hover .category-icon { background: var(--primary-dark); transform: scale(1.1); }
.category-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--dark); }

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition); position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.product-card.sold-out { opacity: 0.65; }
.product-image { position: relative; overflow: hidden; padding-top: 100%; background: var(--gray-lightest); }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--gray-lighter); }
.product-placeholder i { font-size: 3rem; color: var(--gray-light); }
.product-placeholder.large { font-size: 6rem; }
.discount-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--danger); color: var(--white); padding: 4px 10px;
    border-radius: 20px; font-size: 0.75rem; font-weight: 700; z-index: 2;
}
.discount-badge.large { padding: 8px 16px; font-size: 0.9rem; }
.sold-badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--dark); color: var(--white); padding: 4px 10px;
    border-radius: 20px; font-size: 0.75rem; font-weight: 700; z-index: 2;
}
.product-actions-overlay {
    position: absolute; bottom: -50px; left: 0; right: 0;
    display: flex; justify-content: center; gap: 8px;
    padding: 12px; background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px); transition: var(--transition);
}
.product-card:hover .product-actions-overlay { bottom: 0; }
.action-btn {
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: var(--white); color: var(--dark); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); font-size: 0.9rem;
}
.action-btn:hover { background: var(--primary); color: var(--white); }
.product-info { padding: 16px; }
.product-category { font-size: 0.75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.product-title { margin: 6px 0; font-size: 1rem; font-weight: 600; }
.product-title a:hover { color: var(--primary); }
.product-rating { color: var(--accent); font-size: 0.8rem; margin-bottom: 8px; }
.product-rating span { color: var(--gray); margin-left: 4px; }
.product-price { display: flex; align-items: center; gap: 10px; }
.current-price { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.original-price { font-size: 0.9rem; color: var(--gray-light); text-decoration: line-through; }
.stock-status { font-size: 0.8rem; margin-top: 6px; }
.stock-status.low-stock { color: var(--accent); }
.stock-status.in-stock { color: var(--secondary); }
.stock-status.out-of-stock { color: var(--danger); }

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    padding: 60px 0; text-align: center; color: var(--white);
}
.promo-content h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.promo-content p { font-size: 1.1rem; margin-bottom: 24px; opacity: 0.9; }
.promo-content .btn { background: var(--white); color: var(--primary); }
.promo-content .btn:hover { background: var(--dark); color: var(--white); }

/* ============================================
   FEATURES
   ============================================ */
.features-section { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.feature-card { text-align: center; padding: 30px 20px; }
.feature-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--gray); font-size: 0.9rem; }

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.main-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-lightest); }
.main-image img { width: 100%; border-radius: var(--radius-lg); }
.image-thumbnails { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbnail {
    width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius);
    cursor: pointer; border: 2px solid var(--gray-lighter); transition: var(--transition);
}
.thumbnail:hover, .thumbnail.active { border-color: var(--primary); }
.product-detail-info h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.detail-price { margin-bottom: 16px; }
.save-text { color: var(--secondary); font-weight: 600; font-size: 0.9rem; }
.product-sku { color: var(--gray); font-size: 0.85rem; margin-bottom: 8px; }
.product-short-desc { color: var(--gray); margin-bottom: 20px; line-height: 1.7; }
.add-to-cart-section { display: flex; align-items: center; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.quantity-selector { display: flex; align-items: center; gap: 10px; }
.quantity-controls { display: flex; align-items: center; border: 2px solid var(--gray-lighter); border-radius: var(--radius); overflow: hidden; }
.quantity-controls button {
    width: 40px; height: 40px; border: none; background: var(--gray-lightest);
    cursor: pointer; font-size: 0.8rem; transition: var(--transition);
}
.quantity-controls button:hover { background: var(--gray-lighter); }
.quantity-controls input {
    width: 50px; height: 40px; border: none; border-left: 1px solid var(--gray-lighter);
    border-right: 1px solid var(--gray-lighter); text-align: center; font-size: 0.95rem; font-weight: 600;
}
.product-meta { border-top: 1px solid var(--gray-lighter); padding-top: 16px; margin-top: 20px; }
.product-meta p { font-size: 0.85rem; margin-bottom: 4px; }
.product-meta a { color: var(--primary); }

/* Product Tabs */
.product-tabs { margin-bottom: 50px; }
.tabs-header { display: flex; border-bottom: 2px solid var(--gray-lighter); margin-bottom: 24px; }
.tab-btn {
    padding: 12px 24px; border: none; background: none; cursor: pointer;
    font-size: 0.95rem; font-weight: 600; color: var(--gray);
    border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--transition);
}
.tab-btn:hover { color: var(--dark); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.description-content { line-height: 1.8; color: var(--dark); }

/* Reviews */
.review-form { background: var(--gray-lightest); padding: 24px; border-radius: var(--radius-lg); margin-bottom: 30px; }
.review-form h3 { margin-bottom: 16px; }
.star-rating-input { display: flex; gap: 4px; direction: rtl; }
.star-rating-input input { display: none; }
.star-rating-input label { color: var(--gray-lighter); font-size: 1.3rem; cursor: pointer; transition: var(--transition); }
.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label { color: var(--accent); }
.review-item { padding: 20px 0; border-bottom: 1px solid var(--gray-lighter); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-rating { color: var(--accent); }
.review-date { color: var(--gray-light); font-size: 0.8rem; margin-left: auto; }
.review-item h4 { font-size: 0.95rem; margin-bottom: 6px; }

/* ============================================
   FILTERS & LAYOUT
   ============================================ */
.products-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; }
.filter-sidebar { position: sticky; top: 80px; align-self: start; }
.filter-group { background: var(--white); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.filter-group h3 { font-size: 1rem; margin-bottom: 12px; }
.filter-list li a {
    display: block; padding: 8px 12px; border-radius: var(--radius); font-size: 0.85rem;
    color: var(--gray); transition: var(--transition); margin-bottom: 2px;
}
.filter-list li a:hover, .filter-list li a.active { background: var(--primary); color: var(--white); }
.products-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.sort-options { display: flex; align-items: center; gap: 8px; }
.sort-options select { padding: 8px 12px; border: 1px solid var(--gray-lighter); border-radius: var(--radius); font-size: 0.85rem; }

/* ============================================
   CART
   ============================================ */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; }
.cart-item { display: flex; gap: 20px; padding: 20px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 16px; align-items: center; }
.cart-item-image { width: 100px; height: 100px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background: var(--gray-lightest); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; }
.cart-item-details h3 { font-size: 1rem; margin-bottom: 6px; }
.cart-item-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.btn-remove { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 0.9rem; padding: 4px; }
.btn-remove:hover { transform: scale(1.1); }
.cart-item-total { text-align: right; }
.line-total { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.inline-form { display: inline; }
.cart-summary {
    background: var(--white); border-radius: var(--radius-lg); padding: 24px;
    box-shadow: var(--shadow); position: sticky; top: 80px;
}
.cart-summary h3 { margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-lighter); font-size: 0.9rem; }
.summary-row.total { border-bottom: none; font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.summary-row.discount { color: var(--secondary); }
.summary-note { background: var(--gray-lightest); padding: 12px; border-radius: var(--radius); margin: 16px 0; font-size: 0.85rem; text-align: center; }
.summary-note i { color: var(--secondary); margin-right: 4px; }
.cart-summary .btn { margin-top: 12px; }

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 30px; }
.checkout-form-section, .checkout-summary { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.checkout-form-section h2 { font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-lighter); }
.checkout-form-section h2 i { color: var(--primary); margin-right: 8px; }
.checkout-items { max-height: 300px; overflow-y: auto; }
.checkout-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--gray-lighter); }
.item-name { font-weight: 500; font-size: 0.9rem; }
.item-qty { color: var(--gray); font-size: 0.85rem; }
.item-price { font-weight: 600; }
.summary-rows { padding: 16px 0; }
.payment-method { background: var(--gray-lightest); padding: 16px; border-radius: var(--radius); margin: 16px 0; }
.payment-method h3 { font-size: 1rem; margin-bottom: 8px; }
.payment-method p { font-size: 0.85rem; color: var(--gray); }
.place-order-btn { margin-top: 20px; font-size: 1.05rem; padding: 16px; }
.coupon-section { margin: 16px 0; }
.coupon-input { display: flex; gap: 8px; }
.coupon-input input { flex: 1; padding: 10px; border: 1px solid var(--gray-lighter); border-radius: var(--radius); }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.85rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-lighter); border-radius: var(--radius);
    font-size: 0.9rem; transition: var(--transition); font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-help { font-size: 0.75rem; color: var(--gray); margin-top: 4px; display: block; }

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-section { padding: 60px 0; display: flex; justify-content: center; }
.auth-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); max-width: 460px; width: 100%; }
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header h2 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-header h2 i { color: var(--primary); }
.auth-header p { color: var(--gray); }
.auth-form .btn { margin-top: 8px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--gray); }
.auth-footer a { color: var(--primary); font-weight: 600; }

/* ============================================
   ALERTS
   ============================================ */
.alert { padding: 12px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.page-link {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gray-lighter); border-radius: var(--radius); font-size: 0.85rem;
    transition: var(--transition);
}
.page-link:hover, .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 i { font-size: 4rem; color: var(--gray-lighter); margin-bottom: 20px; }
.empty-state h2 { margin-bottom: 10px; }
.empty-state p { color: var(--gray); margin-bottom: 20px; }

/* ============================================
   SUCCESS PAGE
   ============================================ */
.success-page { display: flex; justify-content: center; padding: 60px 0; }
.success-card { text-align: center; max-width: 500px; background: var(--white); border-radius: var(--radius-lg); padding: 50px 40px; box-shadow: var(--shadow-lg); }
.success-icon { width: 80px; height: 80px; background: var(--secondary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 2.5rem; }
.success-card h1 { margin-bottom: 10px; }
.order-number { font-size: 1.1rem; color: var(--gray); margin-bottom: 20px; }
.success-message { margin-bottom: 30px; line-height: 1.7; color: var(--gray); }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   STATIC PAGES
   ============================================ */
.static-page { max-width: 800px; margin: 0 auto; }
.static-page h1 { font-size: 2rem; margin-bottom: 10px; }
.last-updated { color: var(--gray-light); font-size: 0.85rem; margin-bottom: 30px; }
.static-content h2 { font-size: 1.3rem; margin: 30px 0 12px; color: var(--dark); }
.static-content p { margin-bottom: 16px; line-height: 1.8; }
.static-content ul { margin: 12px 0 16px 20px; }
.static-content li { margin-bottom: 8px; line-height: 1.7; list-style: disc; padding-left: 8px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid { display: grid; gap: 40px; }
.contact-info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.contact-card {
    text-align: center; padding: 30px 20px; background: var(--white);
    border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: var(--transition);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-card i { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p { color: var(--gray); font-size: 0.85rem; margin-bottom: 12px; }
.contact-form-section { background: var(--white); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-form-section h2 { margin-bottom: 20px; }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 60px; height: 60px; background: #25d366; color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    transition: var(--transition); animation: float-bounce 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: #128c7e; }
@keyframes float-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer { background: var(--darker); color: var(--gray-light); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 16px; }
.footer-col h3 i { color: var(--primary); margin-right: 6px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-col p { line-height: 1.7; font-size: 0.9rem; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.contact-info li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; margin-bottom: 10px; }
.contact-info i { margin-top: 3px; color: var(--primary); }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; margin-top: 40px; text-align: center; font-size: 0.85rem; }

/* ============================================
   NO RESULTS
   ============================================ */
.no-results { text-align: center; padding: 60px 20px; }
.no-results i { font-size: 3rem; color: var(--gray-lighter); margin-bottom: 16px; }
.no-results h3 { margin-bottom: 8px; }
.no-results p { color: var(--gray); margin-bottom: 20px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .products-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; }
    .filter-group { min-width: 200px; margin-bottom: 0; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .hero-slider { height: 300px; }
    .hero-content h1 { font-size: 1.8rem; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); z-index: 200; }
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    .main-nav .container { position: relative; }
    .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.1); }
    .dropdown li a { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.1); }
    .dropdown li a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .category-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; }
    .category-card { padding: 20px 10px; }
    .category-icon { width: 50px; height: 50px; font-size: 1.2rem; }
    .form-row { grid-template-columns: 1fr; }
    .cart-item { flex-wrap: wrap; }
    .cart-item-total { width: 100%; text-align: right; padding-top: 10px; border-top: 1px solid var(--gray-lighter); }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
    .section-header h2 { font-size: 1.4rem; }
    .promo-content h2 { font-size: 1.6rem; }
    .auth-card { padding: 30px 20px; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
    .header-inner { gap: 10px; }
    .logo span { display: none; }
    .hero-slider { height: 250px; }
    .hero-content h1 { font-size: 1.4rem; }
    .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-info { padding: 10px; }
    .product-title { font-size: 0.85rem; }
    .current-price { font-size: 1rem; }
}
