/* ============================================
   TV SHOP COLOMBIA - Estilos Principales
   Diseño moderno, llamativo y de alto rendimiento
   ============================================ */

/* CSS Variables */
:root {
    --primary: #e94560;
    --primary-dark: #c23152;
    --primary-light: #ff6b81;
    --secondary: #1a1a2e;
    --secondary-light: #16213e;
    --accent: #0f3460;
    --accent-light: #533483;
    --gold: #f5a623;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #3498db;
    --white: #ffffff;
    --light: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #868e96;
    --gray-700: #495057;
    --gray-800: #343a40;
    --dark: #212529;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', var(--font-main);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1280px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-main);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ========== ANNOUNCEMENT BAR ========== */
.announcement-bar {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.announcement-bar::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: shimmer 3s infinite;
}
@keyframes shimmer { to { transform: translateX(50%); } }
.announcement-bar .highlight { color: var(--gold); font-weight: 700; }

/* ========== HEADER ========== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: var(--container);
    margin: 0 auto;
    gap: 20px;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.logo span { color: var(--primary); }
.logo img { height: 45px; width: auto; }

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
}
.search-bar form {
    display: flex;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--gray-100);
}
.search-bar form:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}
.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--gray-800);
}
.search-bar input::placeholder { color: var(--gray-500); }
.search-bar button {
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}
.search-bar button:hover { background: var(--primary-dark); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    background: transparent;
}
.header-action-btn:hover { background: var(--gray-100); color: var(--primary); }
.header-action-btn i { font-size: 1.2rem; }
.cart-badge {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.whatsapp-float {
    position: fixed;
    bottom: 25px; right: 25px;
    width: 60px; height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5); }
@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    padding: 8px;
}

/* ========== NAVIGATION ========== */
.main-nav {
    background: var(--secondary);
    position: relative;
}
.nav-list {
    display: flex;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
.nav-list a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}
.nav-list a:hover, .nav-list a.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}
.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 18px; right: 18px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}
.nav-list a i { font-size: 0.85rem; }
.nav-highlight {
    background: var(--primary) !important;
    color: var(--white) !important;
    margin: 6px;
    border-radius: var(--radius-sm);
    padding: 10px 18px !important;
}
.nav-highlight:hover { background: var(--primary-dark) !important; }

/* ========== HERO SLIDER ========== */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--secondary);
    min-height: 500px;
    display: flex;
    align-items: center;
}
.hero-slider { position: relative; width: 100%; min-height: 500px; }
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    padding: 60px 20px;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; position: relative; }
.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 700px;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 0.6s ease;
}
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.hero-dot.active { background: var(--primary); width: 30px; border-radius: 6px; }

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(233,69,96,0.35); }
.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--secondary); }
.btn-dark {
    background: var(--secondary);
    color: var(--white);
}
.btn-dark:hover { background: var(--secondary-light); transform: translateY(-2px); }
.btn-success {
    background: var(--success);
    color: var(--white);
}
.btn-success:hover { background: #219a52; transform: translateY(-2px); }
.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.35); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ========== SECTIONS ========== */
.section {
    padding: 70px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 45px;
}
.section-header .subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}
.section-header p {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-bg { background: var(--gray-100); }

/* ========== CATEGORY PILLS ========== */
.categories-strip {
    padding: 30px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.categories-strip::-webkit-scrollbar { height: 0; }
.categories-grid {
    display: flex;
    gap: 15px;
    padding: 0 20px;
    max-width: var(--container);
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.category-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: var(--transition);
    white-space: nowrap;
}
.category-pill:hover, .category-pill.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(233, 69, 96, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.category-pill i { font-size: 1.1rem; }
.category-pill .count {
    background: var(--gray-200);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========== PRODUCT GRID ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
}

/* ========== PRODUCT CARD ========== */
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--gray-100);
}
.product-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.08); }
.product-badges {
    position: absolute;
    top: 12px; left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-sale { background: var(--primary); color: var(--white); }
.badge-new { background: var(--success); color: var(--white); }
.badge-hot { background: var(--gold); color: var(--dark); }
.product-quick-actions {
    position: absolute;
    top: 12px; right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 2;
}
.product-card:hover .product-quick-actions { opacity: 1; transform: translateX(0); }
.quick-action-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.quick-action-btn:hover { background: var(--primary); color: var(--white); }
.product-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card-category {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.product-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-title:hover { color: var(--primary); }
.product-card-excerpt {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.product-card-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.price-current {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}
.price-original {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-decoration: line-through;
}
.price-discount {
    background: rgba(233, 69, 96, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
}
.product-card-footer {
    display: flex;
    gap: 8px;
}
.product-card-footer .btn { flex: 1; padding: 10px; font-size: 0.85rem; }
.add-to-cart-btn {
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}
.add-to-cart-btn:hover { background: var(--primary-dark); }
.buy-now-btn {
    background: var(--secondary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}
.buy-now-btn:hover { background: var(--secondary-light); }

/* ========== FEATURES BAR ========== */
.features-bar {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
.feature-item {
    text-align: center;
    padding: 20px;
}
.feature-icon {
    width: 60px; height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary), var(--accent-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}
.feature-item h4 {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 0.95rem;
}
.feature-item p {
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* ========== PROMO BANNER ========== */
.promo-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-light) 50%, var(--accent) 100%);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.promo-banner::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -200px; right: -100px;
}
.promo-banner::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -150px; left: -50px;
}
.promo-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.promo-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}
.promo-banner .btn { position: relative; z-index: 1; }

/* ========== PRODUCT DETAIL ========== */
.product-detail {
    padding: 40px 0 80px;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.product-gallery {
    position: sticky;
    top: 100px;
}
.product-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-100);
    aspect-ratio: 1;
    margin-bottom: 15px;
}
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs {
    display: flex;
    gap: 10px;
}
.product-thumb {
    width: 80px; height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--gray-200);
    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 h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 10px;
}
.product-info .sku {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.product-info .price-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}
.product-info .price-block .price-current {
    font-size: 2rem;
}
.product-info .description {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 25px;
}
.product-info .description h3 { margin: 15px 0 8px; color: var(--secondary); }
.product-info .description ul { padding-left: 20px; }
.product-info .description ul li { list-style: disc; margin-bottom: 5px; }
.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.product-actions .btn { flex: 1; }
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
    width: fit-content;
}
.quantity-selector button {
    padding: 10px 18px;
    background: var(--gray-100);
    font-size: 1.1rem;
    color: var(--gray-700);
    transition: var(--transition);
}
.quantity-selector button:hover { background: var(--gray-200); }
.quantity-selector input {
    width: 60px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 0;
}
.product-meta {
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    margin-top: 20px;
}
.product-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}
.product-meta-item i { color: var(--primary); width: 20px; }
.product-meta-item + .product-meta-item { border-top: 1px solid var(--gray-200); }
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.stock-in { background: rgba(39,174,96,0.1); color: var(--success); }
.stock-out { background: rgba(231,76,60,0.1); color: var(--danger); }

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
    padding: 15px 0;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}
.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
.breadcrumbs-list a { color: var(--gray-600); }
.breadcrumbs-list a:hover { color: var(--primary); }
.breadcrumbs-list .separator { color: var(--gray-400); }
.breadcrumbs-list .current { color: var(--gray-800); font-weight: 500; }

/* ========== CART ========== */
.cart-section { padding: 40px 0 80px; }
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.cart-table th {
    background: var(--secondary);
    color: var(--white);
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}
.cart-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}
.cart-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-product-info img {
    width: 70px; height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.cart-product-name { font-weight: 600; color: var(--secondary); }
.cart-summary {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}
.cart-summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    border-top: 2px solid var(--gray-300);
    padding-top: 15px;
    margin-top: 10px;
}
.cart-empty {
    text-align: center;
    padding: 80px 20px;
}
.cart-empty i { font-size: 4rem; color: var(--gray-400); margin-bottom: 20px; }
.cart-empty h3 { color: var(--gray-600); margin-bottom: 10px; }
.remove-item {
    color: var(--danger);
    background: none;
    font-size: 1.1rem;
    padding: 5px;
    transition: var(--transition);
}
.remove-item:hover { transform: scale(1.2); }

/* ========== CHECKOUT ========== */
.checkout-section { padding: 40px 0 80px; }
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.form-group label .required { color: var(--primary); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}
.form-control::placeholder { color: var(--gray-500); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.order-summary-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 30px;
    position: sticky;
    top: 100px;
}
.order-summary-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
}
.order-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    align-items: center;
}
.order-item + .order-item { border-top: 1px solid var(--gray-100); }
.order-item img {
    width: 50px; height: 50px;
    object-fit: cover;
    border-radius: 6px;
}
.order-item-details { flex: 1; }
.order-item-name { font-weight: 500; font-size: 0.9rem; }
.order-item-qty { color: var(--gray-500); font-size: 0.8rem; }
.order-item-price { font-weight: 600; color: var(--primary); }

/* ========== FOOTER ========== */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
}
.footer-brand h3 span { color: var(--primary); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 3px;
    background: var(--primary);
    border-radius: 3px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-col ul a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.footer-contact i {
    color: var(--primary);
    margin-top: 3px;
    width: 16px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 0.85rem;
}
.payment-methods {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
}
.payment-methods img { height: 30px; opacity: 0.7; }
.payment-methods span {
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* ========== PAGINATION ========== */
.pagination-nav { display: flex; justify-content: center; margin-top: 40px; }
.pagination { display: flex; gap: 5px; }
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px; height: 42px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 500;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.page-link:hover, .page-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.page-ellipsis { display: flex; align-items: center; padding: 0 8px; color: var(--gray-500); }

/* ========== ALERTS ========== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: rgba(39,174,96,0.1); color: var(--success); border-left: 4px solid var(--success); }
.alert-danger { background: rgba(231,76,60,0.1); color: var(--danger); border-left: 4px solid var(--danger); }
.alert-warning { background: rgba(243,156,18,0.1); color: var(--warning); border-left: 4px solid var(--warning); }
.alert-info { background: rgba(52,152,219,0.1); color: var(--info); border-left: 4px solid var(--info); }

/* ========== RELATED PRODUCTS ========== */
.related-products {
    padding: 60px 0;
    background: var(--gray-100);
}

/* ========== NEWSLETTER ========== */
.newsletter-section {
    padding: 60px 0;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
}
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 20px auto 0;
    gap: 10px;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: var(--primary); }

/* ========== LOADING SKELETON ========== */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInRight 0.3s ease;
    min-width: 300px;
}
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 100px; right: 25px;
    width: 45px; height: 45px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    transition: var(--transition);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--primary); transform: translateY(-3px); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
    .product-gallery { position: static; }
    .checkout-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .announcement-bar { font-size: 0.75rem; padding: 8px 15px; }
    .header-inner { flex-wrap: wrap; padding: 10px 15px; }
    .search-bar { order: 3; max-width: 100%; flex-basis: 100%; }
    .menu-toggle { display: block; }
    .main-nav .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--secondary);
        z-index: 100;
        box-shadow: var(--shadow-lg);
    }
    .main-nav .nav-list.open { display: flex; }
    .nav-list a { padding: 14px 20px; width: 100%; }
    .hero-content h1 { font-size: 2rem; }
    .hero-section { min-height: 400px; }
    .hero-slider { min-height: 400px; }
    .section { padding: 40px 0; }
    .section-header h2 { font-size: 1.6rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card-body { padding: 12px; }
    .price-current { font-size: 1.1rem; }
    .product-card-footer { flex-direction: column; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .feature-item { padding: 10px; }
    .promo-banner h2 { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .cart-table { display: block; overflow-x: auto; }
    .product-actions { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .hero-badge { font-size: 0.75rem; padding: 5px 15px; }
    .newsletter-form { flex-direction: column; }
    .header-action-btn span { display: none; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card-title { font-size: 0.85rem; }
    .product-card-excerpt { display: none; }
    .price-current { font-size: 1rem; }
    .price-original { font-size: 0.75rem; }
    .product-card-body { padding: 10px; }
    .product-card-footer .btn { padding: 8px; font-size: 0.78rem; }
    .hero-content h1 { font-size: 1.6rem; }
    .container { padding: 0 12px; }
}

/* Print styles */
@media print {
    .header, .footer, .whatsapp-float, .back-to-top, .announcement-bar, .main-nav { display: none !important; }
    body { color: #000; background: #fff; }
}
