/* ===========================
   WAXTRON MEDICALS - MAIN CSS
   =========================== */


/* CSS Variables */
/*#232F3E amazone footer*/
/*#485769 amazone footer top*/
:root {
    --primary-stats: #485769;
    /*--primary:#a81100; red*/
    --primary:#232F3E;
    /*--primary-dark: #003d7a;*/
    --primary-dark:#542121;
    --primary-light: #e8f0fb;
  /* --primary-light:#582815;*/
    --secondary: #f38f0e;
    --secondary-dark: #007a58;
  /*  --accent: #F4A020;*/
  --accent:#febd69;
    --accent-dark: #d4860a;
    --danger: #e53e3e;
    --text-dark: #1a1f2e;
    --text-body: #4a5568;
    --text-light: #718096;
    --border: #e2e8f0;
    /*--bg-light: #f7f9fc;*/
     --bg-light: #f1f1f1;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 10px;
    --radius-lg: 16px;
    --radius-full: 50px;
    /*--font-main: 'Inter', sans-serif;*/
    --font-main:"Amazon Ember", Arial, sans-serif;
    --font-display: 'DM Serif Display', serif;
    --transition: 0.25s ease;
}


/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text-body); background: var(--bg-white); line-height: 1.6; font-size: 15px; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

/* Container */
.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

/* ===========================
   TOPBAR
   =========================== */
.topbar { background: var(--primary-dark); color: white; font-size: 12.5px; padding: 7px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-left a, .topbar-right a { color: rgba(255,255,255,0.85); }
.topbar-left a:hover, .topbar-right a:hover { color: white; }
.topbar-left i, .topbar-right i { margin-right: 4px; }
.topbar-badge { background: rgba(255,255,255,0.12); border-radius: 3px; padding: 2px 8px; font-size: 11px; }
.topbar-badge i { color: var(--accent); }

/* ===========================
   HEADER
   =========================== */
.main-header { background: white; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 12px 20px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-family: var(--font-display); font-size: 22px; font-weight: bold; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 18px; font-weight: 800; color: var(--text-dark); letter-spacing: -0.5px; }
.logo-sub { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1.5px; }

/* Search */
.header-search { flex: 1; max-width: 520px; display: flex; border: 2px solid var(--border); border-radius: var(--radius-full); overflow: hidden; transition: border-color var(--transition); }
.header-search:focus-within { border-color: var(--primary); }
.header-search input { flex: 1; padding: 10px 18px; border: none; outline: none; font-size: 14px; }
.header-search button { background: var(--primary); color: white; padding: 0 18px; border-radius: 0 var(--radius-full) var(--radius-full) 0; font-size: 14px; }
.header-search button:hover { background: var(--primary-dark); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.action-btn { position: relative; color: var(--text-dark); font-size: 20px; padding: 6px; display: flex; }
.action-btn:hover { color: var(--primary); }
.badge { position: absolute; top: -4px; right: -4px; background: var(--accent); color: white; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--radius-full); font-weight: 600; font-size: 14px; transition: all var(--transition); cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: var(--secondary-dark); color: white; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1ea952; color: white; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-dark); color: white; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ===========================
   NAVIGATION
   =========================== */
.main-nav { background: var(--primary); }
.nav-inner { display: flex; }
.nav-list { display: flex; align-items: center; gap: 0; }
.nav-list > li > a { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.9); padding: 14px 16px; font-size: 14px; font-weight: 500; transition: all var(--transition); white-space: nowrap; }
.nav-list > li > a:hover, .nav-list > li > a.active { color: white; background: rgba(255,255,255,0.12); }
.nav-list > li > a i { font-size: 10px; }
.nav-list > li { position: relative; }

/* Dropdown */
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 220px; padding: 10px 0; z-index: 999; border-top: 3px solid var(--primary); }
.dropdown-menu a { display: block; padding: 10px 20px; color: var(--text-body); font-size: 14px; transition: all var(--transition); }
.dropdown-menu a:hover { color: var(--primary); background: var(--primary-light); padding-left: 26px; }
.has-dropdown:hover .dropdown-menu { display: block; }

/* Mega Menu */
.mega-menu { display: none; position: absolute; top: 100%; left: 0; background: white; border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px; z-index: 999; width: 800px; display: none; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 3px solid var(--primary); }
.has-dropdown:hover .mega-menu { display: grid; }
.mega-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); font-weight: 600; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.mega-col a { display: block; padding: 6px 0; color: var(--text-body); font-size: 13.5px; transition: all var(--transition); }
.mega-col a:hover { color: var(--primary); padding-left: 6px; }
.mega-featured .featured-product { background: var(--bg-light); border-radius: var(--radius); padding: 14px; text-align: center; }
.mega-featured .featured-product img { max-height: 100px; margin: 0 auto 10px; }
.mega-featured .featured-product strong { display: block; color: var(--text-dark); font-size: 14px; margin-bottom: 4px; }
.mega-featured .featured-product span { display: block; color: var(--text-light); font-size: 12px; margin-bottom: 10px; }

/* Mobile Toggle */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); transition: all var(--transition); border-radius: 2px; }

/* ===========================
   HERO SECTION
   =========================== */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0073e6 100%); min-height: 580px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content { color: white; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-full); padding: 6px 16px; font-size: 13px; margin-bottom: 20px; }
.hero-eyebrow i { color: var(--accent); }
.hero h1 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); line-height: 1.15; margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 17px; opacity: 0.88; margin-bottom: 30px; max-width: 480px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item .stat-num { font-size: 26px; font-weight: 800; color: var(--accent); display: block; }
.stat-item .stat-label { font-size: 12px; opacity: 0.8; }
.hero-image { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-image-card { background: white; border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); max-width: 420px; width: 100%; }
.hero-image-card img { width: 100%; border-radius: var(--radius); margin-bottom: 16px; }
.hero-card-info { display: flex; justify-content: space-between; align-items: flex-end; }
.hero-card-info h3 { font-size: 16px; color: var(--text-dark); }
.hero-card-info .price { font-size: 20px; font-weight: 800; color: var(--primary); }
.hero-badge { position: absolute; top: -10px; right: -10px; background: var(--accent); color: white; border-radius: 50%; width: 72px; height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; text-align: center; line-height: 1.2; box-shadow: 0 4px 16px rgba(244,160,32,0.4); }

/* ===========================
   TRUST BAR
   =========================== */
.trust-bar { background: white; border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item i { font-size: 24px; color: var(--primary); }
.trust-item strong { display: block; font-size: 14px; color: var(--text-dark); }
.trust-item span { font-size: 12px; color: var(--text-light); }
.trust-divider { width: 1px; height: 40px; background: var(--border); }

/* ===========================
   SECTIONS
   =========================== */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-eyebrow { display: inline-block; color: var(--primary); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); color: var(--text-dark); margin-bottom: 14px; }
.section-header p { color: var(--text-light); max-width: 580px; margin: 0 auto; font-size: 16px; }

/* ===========================
   CATEGORY CARDS
   =========================== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.category-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 16px; text-align: center; transition: all var(--transition); cursor: pointer; text-decoration: none; display: block; }
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); color: var(--text-dark); }
.category-icon { width: 64px; height: 64px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 26px; color: var(--primary); transition: all var(--transition); }
.category-card:hover .category-icon { background: var(--primary); color: white; }
.category-card h3 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.category-card span { font-size: 12px; color: var(--text-light); }

/* ===========================
   PRODUCT CARDS
   =========================== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-image { position: relative; background: var(--bg-light); padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 220px; overflow: hidden; }
.product-image img { max-height: 180px; object-fit: contain; transition: transform var(--transition); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; }
.badge-new { background: var(--secondary); color: white; }
.badge-sale { background: var(--danger); color: white; }
.badge-popular { background: var(--accent); color: white; }
.product-actions-hover { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 8px; opacity: 0; transition: opacity var(--transition); }
.product-card:hover .product-actions-hover { opacity: 1; }
.action-icon { width: 36px; height: 36px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); color: var(--text-body); font-size: 14px; transition: all var(--transition); border: none; cursor: pointer; }
.action-icon:hover { background: var(--primary); color: white; }
.product-info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 6px; }
.product-name { font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; line-height: 1.4; }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--primary); }
.product-excerpt { font-size: 13px; color: var(--text-light); margin-bottom: 14px; line-height: 1.5; flex: 1; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.stars { color: var(--accent); font-size: 13px; }
.rating-count { font-size: 12px; color: var(--text-light); }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.product-price { font-size: 18px; font-weight: 800; color: var(--primary); }
.product-price .old-price { font-size: 13px; color: var(--text-light); text-decoration: line-through; font-weight: 400; display: block; }
.product-price.price-on-request { font-size: 14px; color: var(--secondary); font-weight: 600; }
.add-to-cart-btn { background: #ff9900; color: 000; border: none; padding: 10px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--transition); display: flex; align-items: center; gap: 6px; }
.add-to-cart-btn:hover { background: var(--primary-dark); }
.quote-btn { background: var(--secondary); color: white; border: none; padding: 10px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.quote-btn:hover { background: var(--secondary-dark); }

/* ===========================
   PRODUCT DETAIL PAGE
   =========================== */
.product-detail { padding: 50px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-gallery { position: sticky; top: 90px; }
.gallery-main { background: var(--bg-light); border-radius: var(--radius-lg); padding: 30px; display: flex; align-items: center; justify-content: center; min-height: 420px; margin-bottom: 16px; border: 1px solid var(--border); }
.gallery-main img { max-height: 360px; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumb { width: 80px; height: 80px; background: var(--bg-light); border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: border-color var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-info-panel { }
.product-breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.product-breadcrumb a { color: var(--text-light); }
.product-breadcrumb a:hover { color: var(--primary); }
.product-title { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); color: var(--text-dark); margin-bottom: 12px; }
.product-subtitle { color: var(--text-light); font-size: 15px; margin-bottom: 16px; }
.product-detail-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.product-sku { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.product-detail-price { margin-bottom: 24px; }
.price-label { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.price-value { font-size: 32px; font-weight: 800; color: var(--primary); }
.price-vat { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.price-request { background: var(--primary-light); border: 1px solid var(--primary); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; }
.price-request p { font-size: 14px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.product-highlights { margin-bottom: 24px; }
.product-highlights h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.highlight-list { display: flex; flex-direction: column; gap: 8px; }
.highlight-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.highlight-item i { color: var(--secondary); margin-top: 2px; flex-shrink: 0; }
.product-quantity { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.quantity-control { display: flex; align-items: center; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn { width: 38px; height: 42px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text-body); transition: all var(--transition); border: none; cursor: pointer; }
.qty-btn:hover { background: var(--primary); color: white; }
.qty-input { width: 60px; height: 42px; text-align: center; border: none; font-size: 15px; font-weight: 600; }
.product-detail-actions { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.product-detail-actions .btn { flex: 1; min-width: 180px; justify-content: center; }
.product-meta-info { background: var(--bg-light); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; }
.meta-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.meta-row:last-child { border-bottom: none; }
.meta-label { color: var(--text-light); }
.meta-value { color: var(--text-dark); font-weight: 500; }
.in-stock { color: var(--secondary); }
.product-share { display: flex; align-items: center; gap: 12px; }
.share-label { font-size: 13px; color: var(--text-light); }
.share-btn { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: white; }
.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-linkedin { background: #0a66c2; }

/* Product Tabs */
.product-tabs { margin-top: 60px; }
.tab-nav { display: flex; border-bottom: 2px solid var(--border); gap: 0; overflow-x: auto; }
.tab-btn { padding: 14px 24px; font-size: 14px; font-weight: 600; color: var(--text-light); border: none; background: none; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: all var(--transition); }
.tab-btn.active, .tab-btn:hover { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { padding: 30px 0; display: none; }
.tab-content.active { display: block; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr:nth-child(even) { background: var(--bg-light); }
.specs-table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
.specs-table td:first-child { font-weight: 600; color: var(--text-dark); width: 35%; }
.usecase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.usecase-item { background: var(--primary-light); border-radius: var(--radius); padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.usecase-item i { color: var(--primary); font-size: 20px; margin-top: 2px; }
.usecase-item h4 { font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.usecase-item p { font-size: 12px; color: var(--text-body); }
.review-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.reviewer { display: flex; justify-content: space-between; margin-bottom: 8px; }
.reviewer-name { font-weight: 600; color: var(--text-dark); font-size: 14px; }
.reviewer-date { font-size: 12px; color: var(--text-light); }
.review-text { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* ===========================
   CART
   =========================== */
.cart-page { padding: 50px 0; }
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-table th { background: var(--bg-light); padding: 14px 16px; text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); border-bottom: 1px solid var(--border); }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product img { width: 70px; height: 70px; object-fit: contain; background: var(--bg-light); border-radius: var(--radius); padding: 4px; }
.cart-product-name { font-weight: 600; font-size: 14px; color: var(--text-dark); }
.cart-product-sku { font-size: 12px; color: var(--text-light); }
.remove-btn { color: var(--danger); font-size: 16px; }
.cart-summary { background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: sticky; top: 100px; }
.cart-summary h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-row.total { font-weight: 700; font-size: 16px; color: var(--text-dark); }
.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; }

/* ===========================
   CHECKOUT
   =========================== */
.checkout-page { padding: 50px 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.checkout-section { background: white; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.checkout-section h3 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.checkout-section h3 i { color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.form-input, .form-select, .form-textarea { padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; transition: border-color var(--transition); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,87,168,0.08); }
.form-textarea { resize: vertical; min-height: 80px; }
.shipping-option { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 2px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; cursor: pointer; transition: all var(--transition); }
.shipping-option:hover, .shipping-option.selected { border-color: var(--primary); background: var(--primary-light); }
.shipping-option input[type="radio"] { margin-top: 3px; }
.shipping-option-info { flex: 1; }
.shipping-option-name { font-weight: 600; font-size: 14px; color: var(--text-dark); }
.shipping-option-desc { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.shipping-option-price { font-weight: 700; color: var(--primary); font-size: 15px; }
.payment-method { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; cursor: pointer; transition: all var(--transition); }
.payment-method:hover, .payment-method.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-method i { font-size: 20px; color: var(--primary); }
.payment-method span { font-weight: 600; font-size: 14px; }
.financing-badge { background: var(--accent); color: white; font-size: 10px; padding: 2px 8px; border-radius: 3px; font-weight: 600; margin-left: auto; }
.order-summary-sidebar { background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.order-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.order-item img { width: 56px; height: 56px; object-fit: contain; background: var(--bg-light); border-radius: var(--radius); padding: 4px; }
.order-item-name { font-size: 13px; font-weight: 600; color: var(--text-dark); flex: 1; }
.order-item-price { font-weight: 700; color: var(--primary); font-size: 14px; }

/* ===========================
   SHIPPING CALCULATOR
   =========================== */
.shipping-calc { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.shipping-calc h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.shipping-calc h4 i { color: var(--primary); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shipping-result { margin-top: 12px; padding: 12px; background: white; border-radius: var(--radius); border: 1px solid var(--border); }
.shipping-result .zone { font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.shipping-result .cost { font-size: 18px; font-weight: 800; color: var(--primary); }
.shipping-result .eta { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* ===========================
   FINANCING PAGE
   =========================== */
.financing-hero { background: linear-gradient(135deg, var(--secondary-dark), var(--secondary)); color: white; padding: 70px 0; text-align: center; }
.financing-hero h1 { font-family: var(--font-display); font-size: 42px; margin-bottom: 16px; }
.financing-hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 30px; }
.financing-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.financing-card { background: white; border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-md); border-top: 4px solid var(--primary); }
.financing-card.featured { border-top-color: var(--secondary); background: linear-gradient(135deg, #f0fdf9, white); }
.financing-card i { font-size: 36px; color: var(--primary); margin-bottom: 16px; }
.financing-card.featured i { color: var(--secondary); }
.financing-card h3 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.financing-card .rate { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.financing-card .rate-desc { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.financing-card ul { margin-bottom: 24px; }
.financing-card ul li { padding: 6px 0; font-size: 14px; color: var(--text-body); display: flex; gap: 10px; align-items: flex-start; }
.financing-card ul li i { color: var(--secondary); margin-top: 2px; }
.calc-box { background: white; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); max-width: 600px; margin: 0 auto; }
.calc-box h3 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; text-align: center; }
.calc-result { background: var(--primary); color: white; border-radius: var(--radius); padding: 20px 24px; margin-top: 20px; text-align: center; }
.calc-result .monthly { font-size: 36px; font-weight: 800; }
.calc-result .monthly-label { font-size: 14px; opacity: 0.85; }

/* ===========================
   BLOG
   =========================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.blog-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: all var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-image { height: 200px; background: var(--bg-light); overflow: hidden; position: relative; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-cat { position: absolute; top: 12px; left: 12px; background: var(--primary); color: white; font-size: 11px; padding: 3px 10px; border-radius: var(--radius-full); font-weight: 600; }
.blog-body { padding: 20px; }
.blog-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.blog-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; }
.blog-title a { color: inherit; }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt { font-size: 13.5px; color: var(--text-body); line-height: 1.6; margin-bottom: 16px; }
.read-more { font-size: 13px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.read-more:hover { gap: 10px; }

/* ===========================
   ABOUT / SERVICE
   =========================== */
.about-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; padding: 80px 0; }
.about-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-hero h1 { font-family: var(--font-display); font-size: 44px; margin-bottom: 20px; }
.about-hero p { font-size: 17px; opacity: 0.9; line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-card { text-align: center; }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-family: var(--font-display); font-size: 36px; color: var(--primary); }
.service-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: white; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border-bottom: 3px solid var(--primary); }
.service-card i { font-size: 36px; color: var(--primary); margin-bottom: 14px; }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* ===========================
   CONTACT
   =========================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form-card { background: white; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.contact-info-card { }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-info-icon { width: 48px; height: 48px; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary); flex-shrink: 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; height: 260px; border: 1px solid var(--border); margin-top: 24px; }
.map-embed iframe { width: 100%; height: 100%; }

/* ===========================
   ALERTS
   =========================== */
.alert { padding: 14px 20px; display: flex; align-items: center; gap: 12px; font-size: 14px; margin: 0; animation: slideDown 0.3s ease; }
.alert-success { background: #f0fdf4; border-bottom: 3px solid var(--secondary); color: #166534; }
.alert-error { background: #fef2f2; border-bottom: 3px solid var(--danger); color: #991b1b; }
.alert-close { margin-left: auto; background: none; border: none; font-size: 18px; cursor: pointer; opacity: 0.7; }
@keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ===========================
   FLOATING WHATSAPP
   =========================== */
.whatsapp-float { position: fixed; bottom: 100px; right: 24px; z-index: 9998; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 28px; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); color: white; box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.whatsapp-tooltip { position: absolute; right: 68px; background: var(--text-dark); color: white; padding: 6px 12px; border-radius: var(--radius); font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.whatsapp-tooltip::after { content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: var(--text-dark); }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ===========================
   CHAT WIDGET
   =========================== */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; }
.chat-toggle { width: 58px; height: 58px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; box-shadow: 0 4px 20px rgba(0,87,168,0.35); transition: all var(--transition); position: relative; border: none; cursor: pointer; }
.chat-toggle:hover { transform: scale(1.08); }
.chat-toggle .chat-badge { position: absolute; top: -4px; right: -4px; background: var(--danger); color: white; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.chat-box { position: absolute; bottom: 70px; right: 0; width: 340px; background: white; border-radius: var(--radius-lg); box-shadow: 0 8px 40px rgba(0,0,0,0.18); overflow: hidden; display: none; flex-direction: column; border: 1px solid var(--border); }
.chat-box.open { display: flex; animation: chatOpen 0.3s ease; }
@keyframes chatOpen { from { opacity: 0; transform: scale(0.9) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.chat-header { background: var(--primary); color: white; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.chat-agent { display: flex; align-items: center; gap: 10px; }
.agent-avatar { width: 38px; height: 38px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.chat-agent strong { font-size: 14px; display: block; }
.online-indicator { font-size: 11px; opacity: 0.85; }
.online-indicator i { color: #4ade80; font-size: 8px; }
.chat-minimize { color: rgba(255,255,255,0.7); font-size: 16px; }
.chat-messages { flex: 1; padding: 16px; overflow-y: auto; max-height: 280px; display: flex; flex-direction: column; gap: 12px; }
.chat-message { display: flex; flex-direction: column; }
.chat-message.bot .message-bubble { background: var(--bg-light); color: var(--text-dark); border-radius: 12px 12px 12px 2px; align-self: flex-start; }
.chat-message.user .message-bubble { background: var(--primary); color: white; border-radius: 12px 12px 2px 12px; align-self: flex-end; }
.message-bubble { padding: 10px 14px; font-size: 13.5px; line-height: 1.5; max-width: 85%; }
.message-time { font-size: 11px; color: var(--text-light); margin-top: 4px; }
.chat-message.user .message-time { text-align: right; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chat-quick-replies button { font-size: 12px; padding: 5px 10px; border: 1px solid var(--primary); color: var(--primary); border-radius: var(--radius-full); background: none; cursor: pointer; transition: all var(--transition); }
.chat-quick-replies button:hover { background: var(--primary); color: white; }
.chat-input-area { display: flex; border-top: 1px solid var(--border); }
.chat-input-area input { flex: 1; padding: 12px 14px; border: none; outline: none; font-size: 14px; }
.chat-send { padding: 12px 16px; background: var(--primary); color: white; font-size: 16px; border: none; cursor: pointer; }
.chat-send:hover { background: var(--primary-dark); }

/* ===========================
   BACK TO TOP
   =========================== */
.back-to-top { position: fixed; bottom: 170px; right: 24px; z-index: 9997; width: 44px; height: 44px; background: var(--text-dark); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all var(--transition); border: none; cursor: pointer; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--primary); }

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: white; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: 20px; right: 24px; font-size: 60px; color: var(--border); font-family: var(--font-display); line-height: 1; }
.testimonial-text { font-size: 14.5px; color: var(--text-body); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.author-name { font-weight: 700; font-size: 14px; color: var(--text-dark); }
.author-role { font-size: 12px; color: var(--text-light); }

/* ===========================
   CTA SECTION
   =========================== */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 70px 0; text-align: center; }
.cta-section h2 { font-family: var(--font-display); font-size: 36px; margin-bottom: 14px; }
.cta-section p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--bg-light); color: var(--primary); }
.btn-outline-white { border-color: rgba(255,255,255,0.6); color: white; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: white; }

/* ===========================
   PAGINATION
   =========================== */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 40px 0 0; }
.page-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-size: 14px; font-weight: 500; color: var(--text-body); border: 1px solid var(--border); transition: all var(--transition); }
.page-btn:hover, .page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }



/* ===========================
   BREADCRUMB
   =========================== */
.breadcrumb-bar { background: var(--bg-light); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { color: var(--border); font-size: 10px; }
.breadcrumb span { color: var(--text-dark); font-weight: 500; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .gallery-main { min-height: 300px; }
    .cart-grid { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .about-hero-inner { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .mega-menu { width: 100%; grid-template-columns: repeat(3, 1fr); }
    .mega-col:last-child { display: none; }
}

@media (max-width: 768px) {
    .topbar-right { display: none; }
    .header-search { display: none; }
    .header-actions .btn-whatsapp span { display: none; }
    .mobile-toggle { display: flex; }
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-list > li > a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .mega-menu, .dropdown-menu { position: static; display: none; box-shadow: none; padding: 0 0 0 20px; width: 100%; }
    .has-dropdown.open .mega-menu, .has-dropdown.open .dropdown-menu { display: block; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .form-grid { grid-template-columns: 1fr; }
    .trust-bar-inner { flex-direction: row; align-items: flex-start; }
    .trust-divider { display: none; }
    .hero-stats { gap: 20px; }
    .section { padding: 50px 0; }
    .chat-box { width: 300px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 28px; }
    .hero-actions { flex-direction: column; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .financing-cards { grid-template-columns: 1fr; }
}

/* ===========================
   HERO CAROUSEL
   =========================== */
.hero-carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; width: 400%; transition: transform 0.6s cubic-bezier(0.77,0,0.175,1); will-change: transform; }
.carousel-slide { width: 25%; flex-shrink: 0; min-height: 540px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.carousel-inner { display: grid; grid-template-columns: 1fr 400px; gap: 50px; align-items: center; padding: 70px 20px 100px; }
.carousel-content { color: white; }
.carousel-content h1 { font-family: var(--font-display); font-size: clamp(28px,4vw,50px); line-height: 1.18; margin-bottom: 16px; }
.carousel-content p { font-size: 17px; opacity: 0.88; margin-bottom: 28px; max-width: 480px; line-height: 1.7; }

/* Carousel Product Card */
.carousel-product-card { background: white; border-radius: var(--radius-lg); padding: 0; box-shadow: 0 24px 70px rgba(0,0,0,0.28); overflow: hidden; position: relative; }
.cp-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--danger); color: white; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full); }
.cp-image { height: 200px; background: linear-gradient(135deg, #e8f0fb, #d0e3ff); display: flex; align-items: center; justify-content: center; font-size: 90px; color: #0057A8; opacity: 0.3; }
.cp-info { padding: 18px; }
.cp-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); display: block; margin-bottom: 4px; }
.cp-info h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.cp-price { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.cp-old { font-size: 14px; color: var(--text-light); text-decoration: line-through; }
.cp-new { font-size: 22px; font-weight: 800; color: var(--primary); }

/* Carousel Buttons */
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.18); border: 2px solid rgba(255,255,255,0.35); color: white; font-size: 17px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); z-index: 10; backdrop-filter: blur(8px); }
.carousel-btn:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.08); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* Dots */
.carousel-dots { position: absolute; bottom: 72px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all var(--transition); padding: 0; }
.dot.active { background: white; width: 28px; border-radius: 5px; }

/* Stats Bar */
.hero-stats-bar { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.25); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,0.12); }
.hero-stats-inner { display: flex; align-items: center; justify-content: space-around; padding: 14px 20px; flex-wrap: wrap; gap: 10px; }
.stat-item { text-align: center; color: white; }
.stat-num { display: block; font-size: 22px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 11px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* ===========================
   PRODUCT PRICES
   =========================== */
.product-price-block { margin-bottom: 14px; }
.price-old { font-size: 13px; color: var(--text-light); text-decoration: line-through; display: block; margin-bottom: 2px; }
.price-current { font-size: 22px; font-weight: 800; color: var(--primary); display: block; line-height: 1.2; }
.price-save { display: inline-block; background: #fef3cd; color: #856404; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 3px; margin-top: 4px; }
.discount-badge { position: absolute; top: 12px; right: 12px; background: var(--danger); color: white; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: var(--radius-full); }

/* Product filter tabs */
.product-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px;padding-left: 40px; }
.filter-tab { padding: 9px 20px; border: 2px solid var(--border); border-radius: var(--radius-full); font-size: 13px; font-weight: 600; color: var(--text-body); background: white; cursor: pointer; transition: all var(--transition); }
.filter-tab:hover, .filter-tab.active { border-color: var(--primary); background: var(--primary); color: white; }

/* ===========================
   DEAL OF THE WEEK
   =========================== */
.deal-banner { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: center; background: white; border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; position: relative; }
.deal-banner::before { content: ''; position: absolute; top: -60px; right: -60px; width: 280px; height: 280px; background: var(--primary-light); border-radius: 50%; opacity: 0.5; }
.deal-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff3cd; color: #856404; border-radius: var(--radius-full); padding: 5px 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.deal-eyebrow i { color: var(--accent); }
.deal-content h2 { font-family: var(--font-display); font-size: 30px; color: var(--text-dark); margin-bottom: 10px; }
.deal-content p { color: var(--text-body); font-size: 15px; line-height: 1.7; margin-bottom: 18px; }
.deal-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.deal-old { font-size: 16px; color: var(--text-light); text-decoration: line-through; }
.deal-new { font-size: 34px; font-weight: 800; color: var(--primary); }
.deal-tag { background: var(--secondary); color: white; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full); }

/* Countdown */
.deal-countdown { display: flex; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.cd-block { background: var(--primary); color: white; border-radius: var(--radius); padding: 10px 14px; text-align: center; min-width: 62px; }
.cd-num { display: block; font-size: 26px; font-weight: 800; line-height: 1; }
.cd-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

/* Deal image side */
.deal-image { position: relative; z-index: 1; }
.deal-img-wrap { background: linear-gradient(135deg, var(--primary-light), #c8d8f8); border-radius: var(--radius-lg); height: 220px; display: flex; align-items: center; justify-content: center; font-size: 100px; color: var(--primary); opacity: 0.4; position: relative; margin-bottom: 16px; }
.deal-ribbon { position: absolute; top: 16px; right: -8px; background: var(--danger); color: white; font-size: 14px; font-weight: 800; padding: 6px 16px 6px 12px; border-radius: 4px 0 0 4px; }
.deal-ribbon::after { content: ''; position: absolute; right: -8px; top: 0; border: 17px solid transparent; border-left-color: var(--danger); border-right: none; }
.deal-features { display: flex; flex-direction: column; gap: 8px; }
.deal-feat { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-body); }
.deal-feat i { color: var(--secondary); font-size: 14px; }

/* ===========================
   PRODUCT LISTING PRICES
   =========================== */
.product-listing-price { margin-bottom: 12px; }
.product-listing-price .p-old { font-size: 12px; color: var(--text-light); text-decoration: line-through; display: block; }
.product-listing-price .p-new { font-size: 20px; font-weight: 800; color: var(--primary); display: block; }
.product-listing-price .p-save { font-size: 11px; color: var(--secondary); font-weight: 600; }

/* ===========================
   RESPONSIVE CAROUSEL
   =========================== */
@media (max-width: 1024px) {
    .carousel-inner { grid-template-columns: 1fr; }
    .carousel-product-card { display: none; }
    .carousel-slide { min-height: 420px; }
}
@media (max-width: 768px) {
    .carousel-slide { min-height: 380px; }
    .carousel-inner { padding: 50px 20px 90px; }
    .carousel-content h1 { font-size: 26px; }
    .deal-banner { grid-template-columns: 1fr; padding: 28px; }
    .deal-image { display: none; }
    .hero-stats-inner { gap: 6px; }
    .stat-divider { display: none; }
    .stat-num { font-size: 18px; }
}

/* ===========================
   FOOTER
   =========================== */
.main-footer { background: #0f1623; color: #a0aec0; }

.footer-top { padding: 64px 0 48px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.4fr;
    gap: 40px;
    align-items: flex-start;
}

/* Brand column */
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo .logo-mark { width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-family: var(--font-display); font-size: 20px; font-weight: bold; flex-shrink: 0; }
.footer-logo .logo-name { font-size: 18px; font-weight: 800; color: white; letter-spacing: -0.5px; }
.footer-logo .logo-sub { font-size: 10px; color: #718096; text-transform: uppercase; letter-spacing: 1.5px; }

.footer-brand > p { font-size: 13.5px; line-height: 1.75; margin-bottom: 20px; color: #718096; }

.footer-certifications { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cert-badge { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 4px 10px; font-size: 11px; color: #a0aec0; display: flex; align-items: center; gap: 5px; }
.cert-badge i { color: var(--accent); }

.social-links { display: flex; gap: 10px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #a0aec0; font-size: 14px; transition: all var(--transition); }
.social-links a:hover { background: var(--primary); border-color: var(--primary); color: white; }

/* Footer columns */
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: white; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 13.5px; color: #718096; transition: all var(--transition); display: flex; align-items: center; gap: 0; }
.footer-col ul li a:hover { color: white; padding-left: 4px; }

/* Contact list */
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #718096; line-height: 1.5; }
.contact-list li i { color: var(--primary); margin-top: 2px; flex-shrink: 0; width: 14px; }
.contact-list li a { color: #a0aec0; }
.contact-list li a:hover { color: white; }

/* Newsletter column */
.footer-newsletter p { font-size: 13px; color: #718096; line-height: 1.65; margin-bottom: 14px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.newsletter-form input { width: 100%; padding: 10px 14px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); color: white; font-size: 13px; outline: none; transition: border-color var(--transition); }
.newsletter-form input::placeholder { color: #4a5568; }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button { padding: 10px 16px; background: var(--primary); color: white; border: none; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; justify-content: center; transition: background var(--transition); }
.newsletter-form button:hover { background: var(--primary-dark); }
.newsletter-note { font-size: 11px; color: #4a5568; display: flex; align-items: center; gap: 5px; }
.newsletter-note i { color: var(--secondary); }

/* Footer Bottom */
.footer-bottom { background: #080c14; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: #4a5568; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: #4a5568; transition: color var(--transition); }
.footer-links a:hover { color: white; }
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icons img { height: 22px; opacity: 0.6; filter: grayscale(1); transition: all var(--transition); }
.payment-icons img:hover { opacity: 1; filter: grayscale(0); }

/* ===========================
   FOOTER RESPONSIVE
   =========================== */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-newsletter { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-newsletter { grid-column: 1 / -1; }
    .footer-top { padding: 44px 0 32px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
    .footer-links { justify-content: center; }
    .payment-icons { justify-content: center; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LOADING SPINNER SYSTEM
   ============================================================ */

/* Full-page overlay spinner */
#page-loader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(4px);
}
#page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}
.loader-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: bold;
    animation: loaderPulse 1.2s ease-in-out infinite;
}
@keyframes loaderPulse {
    0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,87,168,0.4); }
    50%      { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(0,87,168,0); }
}
.loader-ring {
    width: 44px;
    height: 44px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Top navigation progress bar */
#nav-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 100000;
    transition: width 0.3s ease, opacity 0.4s ease;
    box-shadow: 0 0 8px rgba(0,87,168,0.5);
}
#nav-progress.done {
    width: 100% !important;
    opacity: 0;
}

/* Button/action spinner */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.85;
}
.btn-loading::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.65s linear infinite;
}
.btn-loading .btn-text { opacity: 0.7; }

/* Inline mini spinner */
.spinner-sm {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0,87,168,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.65s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
.spinner-sm.white {
    border-color: rgba(255,255,255,0.3);
    border-top-color: white;
}

/* Cart spinner */
.cart-loading { animation: spin 0.65s linear infinite; }

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 340px; }
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-text.short { width: 60%; }
.skeleton-text.full  { width: 100%; }

/* Toast notification (enhanced) */
.toast-container {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99998;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 100%;
    max-width: 420px;
    padding: 0 16px;
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    pointer-events: all;
    animation: toastIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
    width: 100%;
    justify-content: center;
}
.toast.removing { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn  { from { opacity:0; transform:translateY(16px) scale(0.9); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes toastOut { from { opacity:1; transform:translateY(0) scale(1); } to { opacity:0; transform:translateY(8px) scale(0.95); } }
.toast.toast-success { background: #15803d; color: white; }
.toast.toast-error   { background: #c53030; color: white; }
.toast.toast-info    { background: var(--primary); color: white; }
.toast.toast-warning { background: var(--accent); color: white; }


/* ============================================================
   MOBILE RESPONSIVE — COMPLETE OVERHAUL
   ============================================================ */

/* ── 1024px and below ── */
@media (max-width: 1024px) {
    .container { padding: 0 16px; }

    /* Header */
    .header-inner { padding: 12px 16px; gap: 12px; }
    .header-search { max-width: 360px; }

    /* Hero carousel */
    .carousel-inner { grid-template-columns: 1fr; padding: 50px 16px 90px; }
    .carousel-product-card { display: none; }
    .carousel-slide { min-height: 420px; }

    /* Products grid */
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

    /* Categories */
    .categories-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

    /* Deal banner */
    .deal-banner { grid-template-columns: 1fr; }
    .deal-image  { display: none; }

    /* Blog */
    .blog-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

    /* Footer */
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
    .footer-brand, .footer-newsletter { grid-column: 1 / -1; }

    /* Amazon product page */
    .amz-main  { grid-template-columns: 48px 1fr; }
    .amz-buybox { display: none; }
    .amz-rating-summary { grid-template-columns: 1fr; }
}

/* ── 768px and below (tablet / large mobile) ── */
@media (max-width: 768px) {

    /* ── TOPBAR ── */
    .topbar { display: none; }

    /* ── HEADER ── */
    .main-header { position: sticky; top: 0; }
    .header-inner { padding: 10px 14px; gap: 10px; flex-wrap: nowrap; }
    .logo-name { font-size: 16px; }
    .logo-sub  { display: none; }
    .logo-mark { width: 38px; height: 38px; font-size: 18px; }
    .header-search { display: none; } /* replaced by mobile search */
    .action-btn.cart-btn { display: flex; }
    .header-actions .btn-whatsapp { display: none; } /* shown in mobile menu */
    .mobile-toggle { display: flex; }

    /* ── MOBILE SEARCH BAR (below header) ── */
    .mobile-search-bar {
        background: white;
        padding: 10px 14px;
        border-bottom: 1px solid var(--border);
        display: block;
    }
    .mobile-search-bar form {
        display: flex;
        border: 1.5px solid var(--border);
        border-radius: var(--radius-full);
        overflow: hidden;
    }
    .mobile-search-bar input {
        flex: 1;
        padding: 9px 16px;
        border: none;
        outline: none;
        font-size: 14px;
    }
    .mobile-search-bar button {
        background: var(--primary);
        color: white;
        border: none;
        padding: 0 16px;
        font-size: 14px;
        cursor: pointer;
    }

    /* ── MAIN NAV (mobile drawer) ── */
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 85vw;
        max-width: 320px;
        height: 100vh;
        background: white;
        z-index: 9990;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0,0,0,0.18);
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding-bottom: 40px;
    }
    .main-nav.open {
        display: block;
        transform: translateX(0);
    }

    /* Nav overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9989;
        backdrop-filter: blur(2px);
    }
    .nav-overlay.open { display: block; }

    /* Mobile nav header */
    .mobile-nav-header {
        background: var(--primary);
        padding: 16px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: white;
    }
    .mobile-nav-logo { display: flex; align-items: center; gap: 8px; }
    .mobile-nav-logo .logo-mark { width: 34px; height: 34px; font-size: 16px; }
    .mobile-nav-logo span { font-size: 15px; font-weight: 700; color: white; }
    .mobile-nav-close { color: rgba(255,255,255,0.8); font-size: 20px; background: none; border: none; cursor: pointer; padding: 4px; }

    /* Mobile nav user strip */
    .mobile-nav-user {
        padding: 12px 18px;
        background: var(--primary-light);
        border-bottom: 1px solid var(--border);
        font-size: 13px;
        color: var(--text-body);
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .mobile-nav-user a { color: var(--primary); font-weight: 600; }

    /* Nav list */
    .nav-inner { padding: 0; }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-list > li > a {
        color: var(--text-dark);
        padding: 14px 18px;
        border-bottom: 1px solid var(--border);
        font-size: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .nav-list > li > a:hover,
    .nav-list > li > a.active { background: var(--primary-light); color: var(--primary); }
    .nav-list > li > a .nav-arrow { font-size: 11px; color: var(--text-light); }

    /* Mega/dropdown in mobile */
    .mega-menu, .dropdown-menu {
        position: static !important;
        display: none;
        box-shadow: none;
        border-top: none;
        width: 100%;
        padding: 0;
        background: var(--bg-light);
        border-radius: 0;
        grid-template-columns: 1fr !important;
    }
    .has-dropdown.open .mega-menu,
    .has-dropdown.open .dropdown-menu { display: grid; }
    .mega-menu a, .dropdown-menu a {
        padding: 11px 28px;
        color: var(--text-body);
        font-size: 14px;
        border-bottom: 1px solid var(--border);
        display: block;
    }
    .mega-col h4 {
        padding: 10px 18px 6px;
        font-size: 11px;
        color: var(--text-light);
        background: var(--border);
        letter-spacing: 1px;
    }
    .mega-col:last-child { display: none; } /* hide featured in mobile */

    /* Mobile nav footer */
    .mobile-nav-footer {
        padding: 16px 18px;
        border-top: 1px solid var(--border);
        background: white;
    }
    .mobile-nav-wa {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #25D366;
        color: white;
        padding: 12px;
        border-radius: var(--radius-full);
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
        margin-top: 12px;
    }

    /* ── HERO ── */
    .carousel-slide { min-height: 360px; }
    .carousel-inner  { padding: 40px 16px 85px; }
    .carousel-content h1 { font-size: 24px; }
    .carousel-content p  { font-size: 14px; margin-bottom: 20px; }
    .hero-actions { flex-direction: column; gap: 10px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-eyebrow { font-size: 11px; }
    .carousel-btn { width: 36px; height: 36px; font-size: 14px; }
    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }
    .hero-stats-inner { gap: 4px; justify-content: flex-start; overflow-x: auto; padding: 10px 14px; flex-wrap: nowrap; }
    .stat-item { flex-shrink: 0; }
    .stat-num { font-size: 18px; }
    .stat-label { font-size: 10px; }
    .stat-divider { display: none; }

    /* ── TRUST BAR ── */
    .trust-bar-inner { flex-wrap: nowrap; overflow-x: auto; gap: 0; padding: 12px 0; -webkit-overflow-scrolling: touch; }
    .trust-item { flex-shrink: 0; padding: 0 16px; border-right: 1px solid var(--border); }
    .trust-item:last-child { border-right: none; }
    .trust-item strong { font-size: 13px; }
    .trust-item span   { font-size: 11px; }
    .trust-divider { display: none; }
    .trust-item i { font-size: 20px; }

    /* ── SECTION ── */
    .section { padding: 36px 0; }
    .section-header { margin-bottom: 28px; }
    .section-header h2 { font-size: 22px; }
    .section-header p  { font-size: 14px; }

    /* ── CATEGORIES ── */
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .category-card   { padding: 16px 10px; }
    .category-icon   { width: 48px; height: 48px; font-size: 20px; }
    .category-card h3 { font-size: 12px; }
    .category-card span { font-size: 11px; }

    /* ── PRODUCTS ── */
    .product-filter-tabs { gap: 6px; }
    .filter-tab { padding: 7px 14px; font-size: 12px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-image { min-height: 160px; padding: 14px; }
    .product-info  { padding: 12px; }
    .product-name  { font-size: 13px; }
    .product-excerpt { display: none; } /* save space on mobile */
    .price-current { font-size: 16px; }
    .price-old     { font-size: 11px; }
    .add-to-cart-btn { font-size: 12px; padding: 8px 10px; }
    .add-to-cart-btn span.btn-label { display: none; }
    .product-footer .btn-sm { font-size: 12px; padding: 7px 10px; }
    .discount-badge { font-size: 10px; padding: 3px 6px; }

    /* ── DEAL BANNER ── */
    .deal-banner { padding: 24px 20px; }
    .deal-content h2 { font-size: 20px; }
    .deal-new { font-size: 26px; }
    .deal-countdown { gap: 8px; }
    .cd-block { padding: 8px 10px; min-width: 50px; }
    .cd-num   { font-size: 20px; }

    /* ── BLOG ── */
    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-image { height: 160px; }

    /* ── TESTIMONIALS ── */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* ── SERVICE CARDS ── */
    .service-cards { grid-template-columns: 1fr; gap: 14px; }

    /* ── FINANCING CARDS ── */
    .financing-cards { grid-template-columns: 1fr; }

    /* ── CTA SECTION ── */
    .cta-section { padding: 44px 0; }
    .cta-section h2 { font-size: 24px; }
    .cta-section p  { font-size: 14px; }
    .cta-buttons { flex-direction: column; gap: 10px; align-items: stretch; }
    .cta-buttons .btn { justify-content: center; }

    /* ── PRODUCT DETAIL (sidebar layout) ── */
    .product-detail-grid { grid-template-columns: 1fr; gap: 20px; }
    .product-gallery { position: static; }
    .gallery-main { min-height: 260px; }
    .gallery-thumbs { flex-direction: row; flex-wrap: wrap; }
    .gallery-thumb { width: 60px; height: 60px; }
    .product-title { font-size: 20px; }
    .price-value   { font-size: 26px; }
    .product-detail-actions { flex-direction: column; }
    .product-detail-actions .btn { min-width: 0; }
    .tab-nav { gap: 0; }
    .tab-btn { padding: 12px 14px; font-size: 13px; }

    /* ── AMAZON PRODUCT PAGE ── */
    .amz-main { grid-template-columns: 1fr; padding: 10px; gap: 12px; }
    .amz-thumbs { flex-direction: row; gap: 6px; }
    .amz-thumb  { width: 52px; height: 52px; }
    .amz-main-img { min-height: 280px; }
    .amz-title  { font-size: 16px; }
    .amz-price-whole { font-size: 28px; }
    .amz-section { padding: 16px; }
    .amz-section-title { font-size: 16px; }
    .amz-tab-nav { gap: 0; }
    .amz-tab-btn { padding: 10px 12px; font-size: 12px; }
    .amz-rating-summary { grid-template-columns: 1fr; gap: 16px; }
    .amz-big-num { font-size: 48px; }
    .amz-usecase-grid { grid-template-columns: repeat(2, 1fr); }
    .amz-related-grid { grid-template-columns: repeat(2, 1fr); }
    .amz-lower { padding: 0 10px 32px; }
    .amz-ship-table { font-size: 11px; }
    .amz-ship-table th, .amz-ship-table td { padding: 7px 8px; }

    /* ── CART ── */
    .cart-grid { grid-template-columns: 1fr; }
    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) { display: none; } /* hide price col */
    .cart-product img { width: 56px; height: 56px; }

    /* ── CHECKOUT ── */
    .checkout-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: 1; }

    /* ── ACCOUNT ── */
    #account-layout { grid-template-columns: 1fr !important; }
    #account-sidebar { position: static !important; }

    /* ── ADMIN ── */
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: static; }
    .admin-main { width: 100%; }
    .admin-content { padding: 16px; }
    .admin-topbar { padding: 12px 16px; }

    /* ── FOOTER ── */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-brand, .footer-newsletter { grid-column: 1 / -1; }
    .footer-top { padding: 36px 0 24px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
    .payment-icons { justify-content: center; }

    /* ── FLOATING BUTTONS ── */
    .whatsapp-float { bottom: 76px; right: 14px; width: 52px; height: 52px; font-size: 24px; }
    .chat-widget    { bottom: 14px; right: 14px; }
    .chat-toggle    { width: 52px; height: 52px; font-size: 22px; }
    .chat-box       { width: calc(100vw - 28px); right: 0; bottom: 64px; }
    .back-to-top    { bottom: 136px; right: 14px; width: 38px; height: 38px; font-size: 14px; }
}

/* ── 480px and below (small phones) ── */
@media (max-width: 480px) {
    /* Header */
    .logo-mark  { width: 34px; height: 34px; font-size: 16px; }
    .logo-name  { font-size: 14px; }
    .action-btn { font-size: 18px; }

    /* Hero */
    .carousel-slide { min-height: 320px; }
    .carousel-content h1 { font-size: 20px; }
    .carousel-content p  { font-size: 13px; }
    .carousel-btn { display: none; }

    /* Categories */
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .category-card   { padding: 12px 6px; }
    .category-icon   { width: 40px; height: 40px; font-size: 18px; margin-bottom: 8px; }
    .category-card h3 { font-size: 11px; }
    .category-card span { display: none; }

    /* Products: single column on tiny screens */
    .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-name  { font-size: 12px; }
    .price-current { font-size: 14px; }
    .add-to-cart-btn { padding: 7px 8px; font-size: 11px; }

    /* Section headers */
    .section-header h2 { font-size: 20px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col ul { gap: 7px; }

    /* Blog grid — single column */
    .blog-grid { grid-template-columns: 1fr; }

    /* Deal banner */
    .deal-banner    { padding: 20px 16px; }
    .deal-content h2 { font-size: 18px; }
    .deal-countdown { gap: 6px; }
    .cd-block       { padding: 7px 8px; min-width: 44px; }
    .cd-num         { font-size: 18px; }
    .cd-label       { font-size: 9px; }

    /* CTA */
    .cta-section h2 { font-size: 20px; }

    /* Amazon page */
    .amz-main       { padding: 8px; }
    .amz-thumbs     { display: none; }
    .amz-title      { font-size: 15px; }
    .amz-price-whole { font-size: 24px; }
    .amz-usecase-grid  { grid-template-columns: 1fr; }
    .amz-related-grid  { grid-template-columns: 1fr 1fr; }
    .amz-tab-btn    { padding: 9px 10px; font-size: 11px; }

    /* Financing banner */
    #financing-banner-grid { grid-template-columns: 1fr !important; }

    /* Toast — full width */
    .toast-container { padding: 0 10px; }
}

/* ── Print styles ── */
@media print {
    .main-header, .main-footer, .whatsapp-float, .chat-widget,
    .back-to-top, #nav-progress, #page-loader { display: none !important; }
    body { font-size: 12pt; }
    .container { max-width: 100%; }
}

/* ============================================================
   COMPLETE MOBILE RESPONSIVE OVERHAUL
   ============================================================ */

/* ── Global container ── */
@media (max-width: 1024px) {
    .container { padding: 0 18px; }
}

/* ══════════════════════════════════════════
   768px — TABLETS + LARGE PHONES
══════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Mobile search bar (injected by amazon-header.js) */
    #mobileSearchBar { display: block; }

    /* Sections */
    .section { padding: 32px 0; }
    .section-header { margin-bottom: 24px; }
    .section-header h2 { font-size: 22px; }
    .section-header p  { font-size: 14px; }

    /* Trust bar — horizontal scroll */
    .trust-bar-inner {
        flex-wrap: nowrap; overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0; padding: 10px 0;
    }
    .trust-item { flex-shrink: 0; padding: 0 14px; }
    .trust-item strong { font-size: 12px; }
    .trust-item span   { font-size: 11px; }
    .trust-item i      { font-size: 18px; }
    .trust-divider     { display: none; }

    /* Categories */
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .category-card   { padding: 14px 8px; }
    .category-icon   { width: 48px; height: 48px; font-size: 20px; margin-bottom: 10px; }
    .category-card h3 { font-size: 12px; }
    .category-card span { font-size: 11px; }

    /* Product grid */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-image { min-height: 160px; padding: 14px; }
    .product-info  { padding: 12px; }
    .product-name  { font-size: 13px; }
    .product-excerpt { display: none; }
    .price-current { font-size: 16px; }
    .price-old     { font-size: 12px; }
    .add-to-cart-btn { font-size: 12px; padding: 8px 10px; }
    .discount-badge  { font-size: 10px; padding: 2px 6px; }
    .product-price-block { gap: 4px; flex-wrap: wrap; }

    /* Filter tabs */
    .product-filter-tabs { gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
    .filter-tab { padding: 6px 14px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }

    /* Deal banner */
    .deal-banner { grid-template-columns: 1fr !important; padding: 28px 20px; }
    .deal-image  { display: none; }
    .deal-content h2 { font-size: 22px; }
    .deal-new { font-size: 28px; }
    .deal-countdown { gap: 8px; }
    .cd-block { padding: 8px 10px; min-width: 52px; }
    .cd-num   { font-size: 20px; }
    .cd-label { font-size: 9px; }

    /* Blog grid */
    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-image { height: 150px; }

    /* CTA */
    .cta-section { padding: 40px 0; }
    .cta-section h2 { font-size: 22px; }
    .cta-section p  { font-size: 14px; }
    .cta-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
    .cta-buttons .btn { justify-content: center; }

    /* Products page sidebar layout */
    .products-page-grid { grid-template-columns: 1fr !important; }
    .products-sidebar { display: none; }

    /* Amazon product detail */
    .amz-main { grid-template-columns: 1fr !important; padding: 10px !important; }
    .amz-thumbs { flex-direction: row !important; order: 2; }
    .amz-gallery { order: 1; }
    .amz-info { order: 3; }
    .amz-buybox { display: none !important; }
    .amz-main-img { min-height: 260px; }
    .amz-title { font-size: 17px; }
    .amz-price-whole { font-size: 28px; }
    .amz-section { padding: 16px; }
    .amz-section-title { font-size: 16px; }
    .amz-tab-nav { overflow-x: auto; flex-wrap: nowrap; }
    .amz-tab-btn { padding: 10px 13px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
    .amz-rating-summary { grid-template-columns: 1fr !important; }
    .amz-big-num { font-size: 48px; }
    .amz-usecase-grid { grid-template-columns: repeat(2, 1fr); }
    .amz-related-grid { grid-template-columns: repeat(2, 1fr); }
    .amz-lower { padding: 0 10px 32px !important; }
    .amz-ship-table { font-size: 11px; }

    /* Cart */
    .cart-grid { grid-template-columns: 1fr !important; }

    /* Checkout */
    .checkout-grid { grid-template-columns: 1fr !important; }
    .form-grid { grid-template-columns: 1fr !important; }
    .form-group.full { grid-column: 1 !important; }
    .order-summary-sidebar { position: static !important; }

    /* Account page */
    #account-layout { grid-template-columns: 1fr !important; }
    #account-sidebar { position: static !important; }

    /* Admin */
    .admin-layout { grid-template-columns: 1fr !important; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-brand, .footer-newsletter { grid-column: 1 / -1; }
    .footer-top { padding: 36px 0 24px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
    .payment-icons { justify-content: center; }

    /* Floating buttons */
    .whatsapp-float { bottom: 72px; right: 14px; width: 50px; height: 50px; font-size: 22px; }
    .chat-widget    { bottom: 14px; right: 14px; }
    .chat-toggle    { width: 50px; height: 50px; font-size: 20px; }
    .chat-box       { width: calc(100vw - 28px); right: 0; bottom: 62px; max-height: 60vh; }
    .back-to-top    { bottom: 130px; right: 14px; width: 38px; height: 38px; font-size: 14px; }
}

/* ══════════════════════════════════════════
   480px — SMALL PHONES
══════════════════════════════════════════ */
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .section { padding: 28px 0; }

    /* Products: 2 col on small phones */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-name  { font-size: 12px; }
    .product-footer { flex-direction: column; gap: 6px; }
    .add-to-cart-btn { width: 100%; justify-content: center; }
    .btn-sm { font-size: 12px; width: 100%; justify-content: center; }

    /* Categories — 3 col */
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .category-card   { padding: 10px 6px; }
    .category-icon   { width: 42px; height: 42px; font-size: 18px; margin-bottom: 8px; }
    .category-card h3  { font-size: 11px; }
    .category-card span { display: none; }

    /* Section headers */
    .section-header h2 { font-size: 20px; }

    /* Footer single column */
    .footer-grid { grid-template-columns: 1fr; }

    /* Forms */
    .btn-lg { padding: 12px 20px; font-size: 14px; }

    /* Toasts full width */
    .toast-container { padding: 0 10px; }
    .toast { font-size: 13px; padding: 11px 16px; }

    /* Amazon product page */
    .amz-thumbs { display: none !important; }
    .amz-tab-btn { padding: 9px 10px; font-size: 11px; }
    .amz-usecase-grid { grid-template-columns: 1fr; }
    .amz-related-grid { grid-template-columns: 1fr 1fr; }

    /* Product filter tabs — scroll */
    .product-filter-tabs { -webkit-overflow-scrolling: touch; }

    /* Stats row in account */
    #account-layout [style*="grid-template-columns:repeat(4"] { grid-template-columns: repeat(2,1fr) !important; }
}

/* ══════════════════════════════════════════
   PRINT
══════════════════════════════════════════ */
@media print {
    .amz-header, .main-footer, .whatsapp-float,
    .chat-widget, .back-to-top, #nav-progress, #page-loader { display: none !important; }
    body { font-size: 12pt; }
}

/* ============================================================
   INLINE-STYLE OVERRIDES — fixes grids defined with style=""
   Uses !important to beat inline specificity
   ============================================================ */

/* ── Responsive layout wrappers ── */
.rg-sidebar-content { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.rg-account         { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: start; }
.rg-checkout        { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.rg-stats-4         { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.rg-stats-2         { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }

/* Mobile buy bar — hidden on desktop, shown on mobile */
.mobile-buy-bar {
    display: none;
}

@media (max-width: 900px) {
    /* Product/category page sidebar → stacks vertically */
    .rg-sidebar-content { grid-template-columns: 1fr !important; }

    /* Sidebar becomes collapsible */
    .products-sidebar-col {
        order: 2;
        display: none;
    }
    .products-sidebar-col.open { display: block; }
    .products-main-col { order: 1; }

    /* Filter toggle button — only shown on mobile */
    .mobile-filter-btn { display: flex !important; }

    /* Account layout */
    .rg-account { grid-template-columns: 1fr !important; }

    /* Checkout */
    .rg-checkout { grid-template-columns: 1fr !important; }

    /* Stats 4-col → 2-col */
    .rg-stats-4 { grid-template-columns: repeat(2,1fr) !important; }

    /* Amazon product page: show mobile buy bar */
    .mobile-buy-bar {
        display: flex !important;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: white;
        border-top: 2px solid #FFD814;
        padding: 10px 16px;
        gap: 10px;
        z-index: 8900;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    }
    .mobile-buy-bar .mbb-cart {
        flex: 1;
        background: #FFD814;
        border: 1px solid #FCD200;
        border-radius: 22px;
        font-size: 14px;
        font-weight: 700;
        color: #0f1111;
        padding: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    .mobile-buy-bar .mbb-buy {
        flex: 1;
        background: #FF9900;
        border: 1px solid #e68a00;
        border-radius: 22px;
        font-size: 14px;
        font-weight: 700;
        color: #0f1111;
        padding: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
    }
    .mobile-buy-bar .mbb-wa {
        width: 48px;
        background: #25D366;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: white;
        text-decoration: none;
        flex-shrink: 0;
    }
    /* Add padding to page bottom so fixed bar doesn't cover content */
    .amz-lower { padding-bottom: 80px !important; }
    .amz-page  { padding-bottom: 80px; }
}

@media (max-width: 768px) {
    /* Form grid → single column */
    .form-grid { grid-template-columns: 1fr !important; }
    .form-group.full { grid-column: 1 !important; }

    /* Account stats */
    .rg-stats-4 { grid-template-columns: repeat(2,1fr) !important; }

    /* Admin grid */
    .admin-grid-2 { grid-template-columns: 1fr !important; }

    /* Inline grids in account/dashboard that use style="" */
    [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
    [style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
    [style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns: 1fr 1fr !important; }
    [style*="grid-template-columns: 1fr 1fr 1fr"] { grid-template-columns: 1fr 1fr !important; }
    [style*="grid-template-columns:1fr 300px"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns: 1fr 300px"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns:1fr 320px"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns:1fr 340px"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns:1fr 360px"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns:1fr 380px"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns:240px 1fr"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns:260px 1fr"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns: 240px 1fr"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns: 260px 1fr"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
    [style*="grid-template-columns:repeat(2,1fr)"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns: repeat(2, 1fr)"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════
   AI CHAT WIDGET — ENHANCED STYLES
══════════════════════════════════════════ */
.chat-widget  { position:fixed; bottom:86px; right:20px; z-index:9400; }
.chat-toggle  { width:56px; height:56px; border-radius:50%; background:linear-gradient(135deg,#0057A8,#0073e6); border:none; color:white; font-size:22px; cursor:pointer; box-shadow:0 4px 20px rgba(0,87,168,0.4); display:flex; align-items:center; justify-content:center; position:relative; transition:transform 0.2s; }
.chat-toggle:hover { transform:scale(1.08); }
.chat-badge   { position:absolute; top:-4px; right:-4px; background:#CC0C39; color:white; font-size:10px; font-weight:700; width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; border:2px solid white; }

.chat-box {
    display:none; flex-direction:column;
    position:absolute; bottom:68px; right:0;
    width:360px; max-height:540px; min-height:420px;
    background:white; border-radius:16px;
    box-shadow:0 8px 48px rgba(0,0,0,0.18);
    overflow:hidden; border:1px solid rgba(0,0,0,0.06);
}
.chat-box.open { display:flex; animation:chatSlideUp 0.25s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes chatSlideUp { from { opacity:0; transform:translateY(20px) scale(0.95); } to { opacity:1; transform:translateY(0) scale(1); } }

.chat-header  { background:linear-gradient(135deg,#0f1923,#0057A8); padding:14px 16px; display:flex; align-items:center; justify-content:space-between; flex-shrink:0; }
.chat-agent   { display:flex; align-items:center; gap:10px; }
.agent-avatar { width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:800; color:white; flex-shrink:0; border:2px solid rgba(255,255,255,0.2); }
.chat-agent strong   { display:block; color:white; font-size:14px; font-weight:700; }
.online-indicator    { font-size:11px; color:rgba(255,255,255,0.65); display:flex; align-items:center; gap:4px; }
.chat-minimize       { background:rgba(255,255,255,0.1); border:none; color:white; width:28px; height:28px; border-radius:6px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background 0.15s; }
.chat-minimize:hover { background:rgba(255,255,255,0.22); }

.chat-messages { flex:1; overflow-y:auto; padding:14px 14px 6px; display:flex; flex-direction:column; gap:10px; scroll-behavior:smooth; background:#f8f9fb; }
.chat-messages::-webkit-scrollbar { width:4px; }
.chat-messages::-webkit-scrollbar-thumb { background:#ddd; border-radius:4px; }

.chat-date-divider { text-align:center; margin:4px 0; }
.chat-date-divider span { font-size:11px; color:#aaa; background:#f8f9fb; padding:2px 10px; border-radius:10px; }

.chat-message { display:flex; gap:8px; align-items:flex-start; max-width:100%; }
.chat-message.user { flex-direction:row-reverse; }
.agent-dot { width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,#0057A8,#0073e6); display:flex; align-items:center; justify-content:center; font-size:13px; flex-shrink:0; color:white; margin-top:2px; }

.message-bubble { padding:10px 14px; border-radius:14px; font-size:13.5px; line-height:1.6; max-width:260px; word-wrap:break-word; }
.chat-message.bot  .message-bubble { background:white; color:#0f1111; border-radius:4px 14px 14px 14px; box-shadow:0 1px 4px rgba(0,0,0,0.06); border:1px solid #eee; }
.chat-message.user .message-bubble { background:linear-gradient(135deg,#0057A8,#0073e6); color:white; border-radius:14px 4px 14px 14px; }
.message-bubble a { color:#0057A8; }
.chat-message.user .message-bubble a { color:#FFD814; }
.message-bubble strong { font-weight:700; }

.message-time { font-size:10px; color:#bbb; margin-top:3px; display:block; }
.chat-message.user .message-time { text-align:right; }

/* Typing indicator */
.typing-indicator .message-bubble { background:white; border:1px solid #eee; padding:12px 16px; }
.typing-dots { display:flex; gap:4px; align-items:center; }
.typing-dots span { width:7px; height:7px; border-radius:50%; background:#bbb; animation:typingBounce 1.2s infinite; }
.typing-dots span:nth-child(2) { animation-delay:0.2s; }
.typing-dots span:nth-child(3) { animation-delay:0.4s; }
@keyframes typingBounce { 0%,60%,100% { transform:translateY(0); } 30% { transform:translateY(-6px); background:#0057A8; } }

/* Quick replies */
.chat-quick-replies { display:flex; flex-wrap:wrap; gap:6px; padding:4px 0; }
.chat-quick-replies button { background:white; border:1px solid #dde; border-radius:16px; padding:6px 12px; font-size:12px; color:#0057A8; cursor:pointer; transition:all 0.15s; white-space:nowrap; font-weight:600; }
.chat-quick-replies button:hover { background:#0057A8; color:white; border-color:#0057A8; }

/* Human handoff card */
.handoff-card { background:#fff7ed; border:1px solid #fed7aa; border-radius:10px; padding:14px; margin:4px 0; }
.handoff-card h4 { font-size:13px; color:#c2410c; font-weight:700; margin-bottom:8px; }
.handoff-card p  { font-size:12px; color:#9a3412; margin-bottom:10px; line-height:1.5; }
.handoff-card .hc-btns { display:flex; gap:8px; }
.handoff-card .hc-wa  { flex:1; background:#25D366; color:white; border:none; border-radius:20px; padding:9px; font-size:12px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:5px; text-decoration:none; }
.handoff-card .hc-call{ flex:1; background:#0057A8; color:white; border:none; border-radius:20px; padding:9px; font-size:12px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:5px; text-decoration:none; }

/* AI disclaimer */
.ai-disclaimer { font-size:11px; color:#bbb; text-align:center; padding:6px; }
.ai-disclaimer a { color:#0057A8; }

/* Input area */
.chat-input-area { padding:10px 12px; border-top:1px solid #f0f0f0; display:flex; gap:8px; align-items:center; background:white; flex-shrink:0; }
.chat-input-area input { flex:1; border:1px solid #e0e0e0; border-radius:22px; padding:9px 14px; font-size:13px; outline:none; background:#fafafa; transition:border 0.2s; }
.chat-input-area input:focus { border-color:#0057A8; background:white; }
.chat-send { width:36px; height:36px; border-radius:50%; background:#0057A8; border:none; color:white; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:14px; transition:background 0.15s; flex-shrink:0; }
.chat-send:hover { background:#0073e6; }
.chat-send:disabled { background:#bbb; cursor:not-allowed; }

/* Mobile */
@media(max-width:480px) {
    .chat-box { width:calc(100vw - 24px); right:-12px; max-height:70vh; }
    .chat-widget { bottom:74px; right:12px; }
    .message-bubble { max-width:220px; font-size:13px; }
}


/* ============================================================
   CART & CHECKOUT RESPONSIVE LAYOUTS
   ============================================================ */

/* ── Cart ── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}
.cart-items-col  { min-width: 0; }
.cart-summary-col { position: sticky; top: 90px; }

.cart-item-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}
.cart-item-img {
    width: 80px; height: 80px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cart-item-name {
    font-weight: 700; font-size: 14px;
    color: var(--text-dark); text-decoration: none;
    display: block; margin-bottom: 3px; line-height: 1.3;
}
.cart-item-name:hover { color: var(--primary); }
.cart-item-price { text-align: right; flex-shrink: 0; min-width: 90px; }
.cart-item-actions {
    display: flex; align-items: center;
    gap: 10px; margin-top: 10px; flex-wrap: wrap;
}
.cart-action-link {
    font-size: 12px; background: none; border: none;
    cursor: pointer; padding: 0;
}
.qty-control {
    display: flex; align-items: center;
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden;
}
.qty-control button {
    width: 32px; height: 32px;
    background: var(--bg-light); border: none;
    cursor: pointer; font-size: 16px; color: var(--text-dark);
    transition: background 0.15s;
}
.qty-control button:hover { background: var(--border); }
.qty-control span {
    width: 38px; text-align: center;
    font-weight: 700; font-size: 14px;
}

/* ── Checkout ── */
.checkout-page  { background: #f3f3f3; padding: 28px 0 48px; }
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}
.checkout-form-col    { min-width: 0; }
.checkout-summary-col { min-width: 0; }

.checkout-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}
.checkout-section h3 {
    font-size: 16px; font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 8px;
}
.checkout-section h3 i { color: var(--primary); font-size: 14px; }

.shipping-option {
    display: flex; align-items: center;
    gap: 12px; padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer; margin-bottom: 10px;
    transition: border-color 0.15s;
}
.shipping-option:hover   { border-color: var(--primary); }
.shipping-option.selected { border-color: var(--primary); background: var(--primary-light); }
.shipping-option input    { accent-color: var(--primary); flex-shrink: 0; }
.shipping-option-name     { font-weight: 600; font-size: 14px; color: var(--text-dark); }
.shipping-option-desc     { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.shipping-option-price    { font-weight: 700; font-size: 14px; color: var(--primary); flex-shrink: 0; margin-left: auto; }

.payment-method {
    display: flex; align-items: center;
    gap: 12px; padding: 13px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer; margin-bottom: 8px;
    transition: border-color 0.15s;
}
.payment-method:hover   { border-color: var(--primary); }
.payment-method.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-method input    { accent-color: var(--primary); flex-shrink: 0; }
.financing-badge {
    background: var(--secondary); color: white;
    font-size: 10px; font-weight: 700;
    padding: 2px 8px; border-radius: 10px;
    flex-shrink: 0;
}

/* ── RESPONSIVE: 900px ── */
@media (max-width: 900px) {
    /* Cart: stack to 1 column */
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .cart-summary-col { position: static; }

    /* Checkout: stack to 1 column, summary goes ABOVE form on mobile */
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .checkout-summary-col {
        order: -1; /* summary first on mobile */
        position: static;
    }
    .checkout-summary-col > div { position: static !important; }
}

@media (max-width: 600px) {
    .cart-item-row     { gap: 10px; padding: 14px 14px; }
    .cart-item-img     { width: 60px; height: 60px; }
    .cart-item-price   { min-width: 70px; }
    .cart-item-price > div:first-of-type { font-size: 15px !important; }
    .cart-item-name    { font-size: 13px; }
    .cart-item-actions { gap: 8px; }
    .cart-action-link  { font-size: 11px; }

    .checkout-section  { padding: 16px 14px; }
    .checkout-section h3 { font-size: 14px; }
    .shipping-option   { padding: 11px 12px; gap: 8px; }
    .shipping-option-name { font-size: 13px; }
    .shipping-option-price { font-size: 13px; }
    .payment-method    { padding: 10px 12px; gap: 10px; }
    .checkout-page     { padding: 16px 0 36px; }
    .checkout-page h1  { font-size: 20px; margin-bottom: 16px; }
    .form-grid         { grid-template-columns: 1fr !important; }
    .form-group.full   { grid-column: 1 !important; }
}