/* ============================================================
   BK TECH - Main Stylesheet
   Font: Rajdhani (display) + Nunito (body)
   Theme: Deep Navy + Electric Blue + Green accent
   ============================================================ */

:root {
  --navy: #0a1628;
  --navy2: #0d1f3c;
  --blue: #1a56db;
  --blue-light: #3b82f6;
  --green: #22c55e;
  --green2: #16a34a;
  --gold: #f59e0b;
  --white: #ffffff;
  --gray-100: #f8fafc;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --danger: #ef4444;
  --success: #22c55e;
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --shadow: 0 4px 24px rgba(10,22,40,0.12);
  --shadow-lg: 0 10px 40px rgba(10,22,40,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--gray-100); color: var(--gray-800); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font-body); }

/* ============ TOP BAR ============ */
.topbar { background: var(--navy); color: var(--gray-400); font-size: 0.8rem; padding: 6px 0; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; gap: 20px; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left i { color: var(--green); }
.topbar-right { display: flex; gap: 12px; }
.topbar-right a { color: var(--gray-400); font-size: 0.85rem; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; }
.topbar-right a:hover { background: var(--blue); color: white; }

/* ============ NAVBAR ============ */
.navbar { background: #ffffff !important; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 16px rgba(10,22,40,0.08); border-bottom: 3px solid var(--blue); }
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; background: transparent !important; }
.nav-logo .logo-text .logo-main { font-family: 'Rajdhani', 'Arial Black', sans-serif; font-size: 1.6rem; font-weight: 900; color: #0f172a !important; letter-spacing: 1px; background: transparent !important; }
.nav-logo .logo-text .logo-main span { color: #0ea5e9 !important; font-weight: 900; background: transparent !important; }
.nav-logo .logo-text .logo-sub { font-size: 0.72rem; color: #334155 !important; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; background: transparent !important; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a { padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 0.92rem; color: var(--gray-800); display: flex; align-items: center; gap: 5px; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--blue); background: rgba(26,86,219,0.07); }
.nav-links > li > a .fa-chevron-down { font-size: 0.65rem; }

.dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 240px; padding: 8px; border: 1px solid var(--gray-200); z-index: 999; animation: fadeDown 0.2s ease; }
.dropdown-menu.open { display: block; }
@keyframes fadeDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 8px; font-size: 0.88rem; color: var(--gray-800); font-weight: 600; }
.dropdown-menu a:hover { background: rgba(26,86,219,0.08); color: var(--blue); }
.dropdown-menu a i { width: 16px; color: var(--blue); }
.dropdown-divider { height: 1px; background: var(--gray-200); margin: 6px 0; }
.dropdown-all { color: var(--blue) !important; font-weight: 700 !important; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-cart { position: relative; width: 40px; height: 40px; border-radius: 10px; background: var(--gray-100); display: flex; align-items: center; justify-content: center; color: var(--gray-800); font-size: 1.1rem; }
.btn-cart:hover { background: var(--blue); color: white; }
.cart-badge { position: absolute; top: -5px; right: -5px; background: var(--danger); color: white; font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.btn-outline-nav { padding: 8px 18px; border: 2px solid var(--blue); border-radius: 8px; color: var(--blue); font-weight: 700; font-size: 0.88rem; }
.btn-outline-nav:hover { background: var(--blue); color: white; }
.btn-primary-nav { padding: 8px 18px; background: var(--blue); border-radius: 8px; color: white; font-weight: 700; font-size: 0.88rem; }
.btn-primary-nav:hover { background: var(--navy2); }

.user-menu { position: relative; }
.btn-user { background: var(--gray-100); border: none; padding: 8px 14px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gray-800); font-size: 0.88rem; }
.btn-user:hover { background: var(--blue); color: white; }
.user-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 200px; padding: 8px; border: 1px solid var(--gray-200); z-index: 999; }
.user-dropdown.open { display: block; animation: fadeDown 0.2s ease; }
.user-dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 8px; font-size: 0.88rem; font-weight: 600; }
.user-dropdown a:hover { background: var(--gray-100); }
.user-dropdown .text-danger { color: var(--danger); }
.burger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--gray-800); }

/* ============ FLASH ============ */
.flash { position: fixed; top: 80px; right: 20px; z-index: 9999; padding: 14px 20px; border-radius: var(--radius); display: flex; align-items: center; gap: 12px; max-width: 420px; font-weight: 600; box-shadow: var(--shadow-lg); animation: slideIn 0.3s ease; }
@keyframes slideIn { from { transform: translateX(100%); opacity:0; } to { transform: translateX(0); opacity:1; } }
.flash-success { background: #dcfce7; color: var(--green2); border: 1px solid #bbf7d0; }
.flash-error { background: #fee2e2; color: var(--danger); border: 1px solid #fecaca; }
.flash-info { background: #dbeafe; color: var(--blue); border: 1px solid #bfdbfe; }
.flash button { background: none; border: none; cursor: pointer; font-size: 1.1rem; margin-left: auto; opacity: 0.6; }

/* ============ HERO ============ */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #0f3460 100%); color: white; padding: 0px 20px 0px; position: relative; overflow: visible; min-height: 70vh; display: flex; align-items: flex-start; }
.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='%231a56db' fill-opacity='0.08'%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 { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; position: relative; z-index: 1; padding-top: 0px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(26,86,219,0.2); border: 1px solid rgba(26,86,219,0.4); padding: 6px 16px; border-radius: 30px; font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue-light); margin-bottom: 10px; }
.hero h1 { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; line-height: 1.15; margin-bottom: 10px; }
.hero h1 span { color: var(--blue-light); }
.hero h1 .accent { color: var(--green); }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); margin-bottom: 36px; line-height: 1.8; max-width: 500px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: nowrap; align-items: center; }
.btn-hero-primary { padding: 11px 18px; background: var(--blue); border-radius: var(--radius); color: white; font-weight: 700; font-size: 0.82rem; display: inline-flex; align-items: center; gap: 6px; transition: var(--transition); white-space: nowrap; }
.btn-hero-primary:hover { background: #1342b0; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,86,219,0.4); }
.btn-hero-outline { padding: 11px 18px; border: 2px solid rgba(255,255,255,0.3); border-radius: var(--radius); color: white; font-weight: 700; font-size: 0.82rem; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn-hero-outline:hover { border-color: var(--green); color: var(--green); }
.hero-stats { display: flex; gap: 30px; margin-top: 40px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--green); }
.hero-stat .lbl { font-size: 0.78rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1px; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-logo-big { width: 320px; height: 320px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(26,86,219,0.4); box-shadow: 0 0 80px rgba(26,86,219,0.3); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-rings { position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(26,86,219,0.15); animation: spin 20s linear infinite; }
.hero-rings::after { content:''; position:absolute; inset:20px; border-radius:50%; border: 1px dashed rgba(34,197,94,0.2); }

/* ============ SECTIONS ============ */
.section { padding: 80px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag { display: inline-block; padding: 4px 14px; background: rgba(26,86,219,0.1); border-radius: 20px; font-size: 0.78rem; font-weight: 700; color: var(--blue); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.section-title span { color: var(--blue); }
.section-sub { color: var(--gray-600); font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ============ SERVICES GRID ============ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: white; border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--gray-200); transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background: linear-gradient(90deg, var(--blue), var(--green)); opacity:0; transition: var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.service-card:hover::before { opacity:1; }
.service-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; margin-bottom: 10px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.7; }

/* ============ CARDS FORMATIONS / PRODUITS ============ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; height: 200px; object-fit: cover; background: linear-gradient(135deg, var(--navy), var(--blue)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.2); font-size: 4rem; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; }
.card-tag { display: inline-block; padding: 3px 10px; background: rgba(26,86,219,0.1); border-radius: 20px; font-size: 0.75rem; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.card-tag.green { background: rgba(34,197,94,0.1); color: var(--green2); }
.card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.card p { color: var(--gray-600); font-size: 0.85rem; line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.card-meta span { font-size: 0.78rem; color: var(--gray-600); display: flex; align-items: center; gap: 4px; }
.card-meta i { color: var(--blue); }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--gray-200); }
.card-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.card-price .old { font-size: 0.85rem; color: var(--gray-400); text-decoration: line-through; margin-left: 6px; }
.btn-card { padding: 8px 18px; background: var(--blue); color: white; border-radius: 8px; font-size: 0.85rem; font-weight: 700; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.btn-card:hover { background: var(--navy2); }
.btn-card-outline { padding: 8px 18px; border: 2px solid var(--blue); color: var(--blue); border-radius: 8px; font-size: 0.85rem; font-weight: 700; background: none; cursor: pointer; }
.btn-card-outline:hover { background: var(--blue); color: white; }

/* ============ PRODUIT BADGE ============ */
.badge-promo { position: absolute; top: 12px; left: 12px; background: var(--danger); color: white; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.badge-new { position: absolute; top: 12px; left: 12px; background: var(--green); color: white; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.card-img-wrap { position: relative; overflow: hidden; }

/* ============ TÉMOIGNAGES ============ */
.temoignages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.temoignage-card { background: white; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--gray-200); position: relative; }
.temoignage-card::before { content: '"'; position: absolute; top: 16px; right: 20px; font-size: 4rem; font-family: Georgia, serif; color: var(--blue); opacity: 0.15; line-height: 1; }
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 14px; }
.temoignage-card p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.temoignage-author { display: flex; align-items: center; gap: 12px; }
.temoignage-author .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1.1rem; }
.temoignage-author .info strong { display: block; font-size: 0.9rem; color: var(--navy); }
.temoignage-author .info span { font-size: 0.78rem; color: var(--gray-400); }

/* ============ STATS BANNER ============ */
.stats-banner { background: linear-gradient(135deg, var(--navy), var(--navy2)); color: white; padding: 60px 20px; }
.stats-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--green); }
.stat-item .plus { color: var(--gold); }
.stat-item p { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ============ CTA BANNER ============ */
.cta-banner { background: linear-gradient(135deg, var(--blue), #1342b0); padding: 70px 20px; text-align: center; color: white; }
.cta-banner h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; margin-bottom: 14px; }
.cta-banner p { opacity: 0.85; margin-bottom: 30px; font-size: 1.05rem; }
.cta-banner .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta-white { padding: 14px 32px; background: white; color: var(--blue); border-radius: var(--radius); font-weight: 700; font-size: 0.95rem; }
.btn-cta-white:hover { background: var(--gray-100); }
.btn-cta-outline { padding: 14px 32px; border: 2px solid rgba(255,255,255,0.5); border-radius: var(--radius); color: white; font-weight: 700; font-size: 0.95rem; }
.btn-cta-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ============ FORMS ============ */
.form-group { margin-bottom: 10px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: 10px; font-size: 0.92rem; background: white; transition: var(--transition); color: var(--gray-800); }
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,0.1); }
.form-control.error { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 4px; }
.form-hint { color: var(--gray-400); font-size: 0.8rem; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============ BUTTONS ============ */
.btn { padding: 12px 24px; border-radius: 10px; font-weight: 700; font-size: 0.92rem; cursor: pointer; border: none; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: #1342b0; transform: translateY(-1px); }
.btn-success { background: var(--green); color: white; }
.btn-success:hover { background: var(--green2); }
.btn-danger { background: var(--danger); color: white; }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); background: none; }
.btn-outline:hover { background: var(--blue); color: white; }
.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ============ PAYMENT METHODS ============ */
.payment-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0; }
.payment-method { border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 14px; text-align: center; cursor: pointer; transition: var(--transition); background: white; }
.payment-method:hover, .payment-method.selected { border-color: var(--blue); background: rgba(26,86,219,0.04); }
.payment-method.selected { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,0.1); }
.payment-method i { font-size: 1.8rem; margin-bottom: 6px; display: block; }
.payment-method .visa i { color: #1a1f71; }
.payment-method .paypal i { color: #003087; }
.payment-method .mobile i { color: var(--green2); }
.payment-method span { font-size: 0.8rem; font-weight: 700; color: var(--gray-800); }
.phone-input-group { display: flex; gap: 10px; align-items: center; }
.country-select { width: 140px; }

/* ============ PAGE HEADER ============ */
.page-header { background: linear-gradient(135deg, var(--navy), var(--navy2)); color: white; padding: 60px 20px 50px; text-align: center; }
.page-header h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.65); font-size: 1rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--green); }

/* ============ FILTERS ============ */
.filter-bar { background: white; border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 28px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid var(--gray-200); }
.filter-label { font-weight: 700; font-size: 0.88rem; color: var(--navy); white-space: nowrap; }
.filter-btn { padding: 7px 16px; border: 2px solid var(--gray-200); border-radius: 20px; font-size: 0.82rem; font-weight: 600; cursor: pointer; background: none; color: var(--gray-600); transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { border-color: var(--blue); color: var(--blue); background: rgba(26,86,219,0.06); }
.filter-search { flex: 1; min-width: 200px; position: relative; }
.filter-search input { padding-left: 38px; }
.filter-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-400); }

/* ============ CART ============ */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gray-200); }
.cart-item-img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; background: var(--gray-100); flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cart-item-info p { font-size: 0.82rem; color: var(--gray-400); }
.qty-control { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { width: 28px; height: 28px; border: 2px solid var(--gray-200); border-radius: 6px; background: none; cursor: pointer; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { border-color: var(--blue); color: var(--blue); }
.cart-item-price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.order-summary { background: white; border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--gray-200); position: sticky; top: 90px; }
.order-summary h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-200); }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 10px; }
.summary-row.total { font-weight: 700; font-size: 1.1rem; padding-top: 12px; border-top: 2px solid var(--gray-200); margin-top: 12px; }

/* ============ FOOTER ============ */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 60px 20px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { max-width: 300px; }
.footer-brand > div { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(26,86,219,0.5); }
.footer-brand h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: white; }
.footer-brand h3 span { color: var(--blue-light); }
.footer-brand > div p { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-desc { font-size: 0.85rem; line-height: 1.7; margin-bottom: 10px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.footer-social a:hover { background: var(--blue); color: white; }
.footer-col h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: white; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid rgba(26,86,219,0.3); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.85rem; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); }
.footer-col ul li a:hover { color: var(--green); }
.footer-col ul li a i { font-size: 0.7rem; color: var(--blue-light); }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; margin-bottom: 10px; }
.footer-contact li i { color: var(--green); width: 14px; }
.footer-payment-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer-payment-icons span { padding: 4px 10px; background: rgba(255,255,255,0.08); border-radius: 6px; font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 4px; }
.footer-payment-icons i { font-size: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); max-width: 1200px; margin: 0 auto; padding: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom div { display: flex; gap: 16px; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--green); }

/* ============ AUTH PAGES ============ */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--navy2)); padding: 20px; }
.auth-card { background: white; border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 460px; box-shadow: var(--shadow-lg); }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { width: 70px; border-radius: 50%; margin: 0 auto 12px; }
.auth-logo h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.auth-logo p { color: var(--gray-400); font-size: 0.88rem; }
.auth-divider { text-align: center; position: relative; margin: 20px 0; }
.auth-divider::before { content:''; position:absolute; inset:50% 0 auto; border-top: 1px solid var(--gray-200); }
.auth-divider span { position: relative; background: white; padding: 0 12px; font-size: 0.82rem; color: var(--gray-400); }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--gray-600); }
.auth-switch a { color: var(--blue); font-weight: 700; }

/* ============ SECTION DARK ============ */
.section-dark { background: var(--gray-800); }
.section-dark .section-title { color: white; }
.section-dark .section-sub { color: var(--gray-400); }

/* ============ UTILS ============ */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.text-navy { color: var(--navy); }
.text-danger { color: var(--danger) !important; }
.fw-700 { font-weight: 700; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 10px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bg-white { background: white; }
.rounded-box { background: white; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--gray-200); box-shadow: var(--shadow); }
.divider { height: 1px; background: var(--gray-200); margin: 20px 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar-left span:not(:first-child) { display: none; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 80px 24px 24px; z-index: 99; gap: 0; overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 14px 0; font-size: 1.1rem; color: white; border-bottom: 1px solid rgba(255,255,255,0.08); width: 100%; }
  .dropdown-menu { position: static; display: none; box-shadow: none; background: rgba(255,255,255,0.05); padding: 0 0 0 16px; }
  .dropdown-menu.open { display: block; }
  .dropdown-menu a { color: rgba(255,255,255,0.7); padding: 10px; }
  .burger { display: block; }
  .btn-outline-nav, .btn-primary-nav { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.7rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-col { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 70px 20px 60px; }
  .section { padding: 50px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .payment-methods { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE MOBILE COMPLET — BK TECH
   Optimisé pour smartphones (320px → 768px)
============================================================ */

/* ── Topbar mobile ── */
@media (max-width: 768px) {
  .topbar { padding: 5px 14px; }
  .topbar-left { gap: 10px; font-size: 11px; }
  .topbar-left span:first-child { font-size: 11px; }
  .topbar-right a { width: 22px; height: 22px; font-size: 11px; }

  /* ── Navbar mobile ── */
  .navbar { height: auto !important; min-height: 70px !important; padding: 8px 14px !important; }
  .nav-inner { height: auto !important; min-height: 70px !important; padding: 8px 14px !important; gap: 10px; }
  .nav-logo img { width: 52px !important; height: 52px !important; }
  .logo-text .brand-name, .logo-main { font-size: 1.2rem !important; }
  .logo-text .tagline, .logo-sub { font-size: 0.6rem !important; letter-spacing: 1px !important; }
  .burger { display: flex !important; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; background: #f0f4ff; color: #0a3d7a; border: none; cursor: pointer; font-size: 1.1rem; }
  .btn-outline-nav, .btn-primary-nav { display: none !important; }
  .btn-cart { font-size: 1.2rem; }

  /* Menu mobile ouvert */
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #0a1128; flex-direction: column; align-items: flex-start; padding: 80px 24px 24px; z-index: 9999; gap: 0; overflow-y: auto; }
  .nav-links.open { display: flex !important; }
  .nav-links > li > a { padding: 15px 0; font-size: 1.1rem; color: white !important; border-bottom: 1px solid rgba(255,255,255,0.08); width: 100%; display: flex; justify-content: space-between; }
  .nav-links > li > a:hover { color: #7dd3fc !important; background: transparent; }
  .dropdown-menu { position: static !important; display: none; box-shadow: none; background: rgba(255,255,255,0.05); padding: 0 0 0 16px; border: none; border-radius: 0; animation: none; }
  .dropdown-menu.open { display: block; }
  .dropdown-menu a { color: rgba(255,255,255,0.75) !important; padding: 10px 14px; border-radius: 0; font-size: 0.92rem; }

  /* ── Hero mobile ── */
  .hero { padding: 24px 16px 24px !important; min-height: auto !important; }
  .hero-inner { grid-template-columns: 1fr !important; text-align: left; gap: 20px; padding-top: 0 !important; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 1.9rem !important; line-height: 1.2; margin-bottom: 12px; }
  .hero p { font-size: 0.92rem !important; margin-bottom: 20px; max-width: 100%; }
  .hero-badge { font-size: 0.75rem; padding: 5px 12px; margin-bottom: 14px; }
  .hero-btns { flex-direction: column; gap: 10px; align-items: flex-start; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; padding: 12px 20px; font-size: 0.9rem; }
  .hero-stats { flex-wrap: wrap; gap: 16px; margin-top: 24px; justify-content: flex-start; }
  .hero-stat .num { font-size: 1.6rem; }
  .hero-stat .lbl { font-size: 0.72rem; }

  /* ── Sections ── */
  .section { padding: 36px 16px; }
  .section-header { margin-bottom: 24px; }
  .section-title { font-size: 1.5rem !important; }
  .section-sub { font-size: 0.88rem; }

  /* ── Cards grille ── */
  .cards-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .card { border-radius: 12px; }
  .card-body { padding: 16px; }
  .card h3 { font-size: 1rem; }

  /* ── Stats banner ── */
  .stats-banner { padding: 28px 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 20px; }
  .stat-item .num { font-size: 1.8rem; }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .service-card { padding: 22px; }

  /* ── Témoignages ── */
  .temoignages-grid { grid-template-columns: 1fr !important; }

  /* ── CTA banner ── */
  .cta-banner { padding: 40px 16px; text-align: center; }
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner .btns { flex-direction: column; align-items: center; gap: 10px; }
  .btn-cta-white, .btn-cta-outline { width: 100%; max-width: 280px; justify-content: center; }

  /* ── Footer ── */
  .footer-top { grid-template-columns: 1fr !important; gap: 20px; padding: 28px 16px 20px !important; }
  .footer-brand { text-align: center; align-items: center; }
  .footer-social { justify-content: center; }
  .footer-col { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; }
  .footer-col h4 { font-size: 1rem; margin-bottom: 10px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; padding: 16px; }
  .footer-payment-icons { flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
  .footer-signature p { font-size: 0.72rem; }

  /* ── Bouton WhatsApp flottant ── */
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 20px; right: 16px; }

  /* ── Formulaires auth ── */
  .auth-container, .reg-container, .login-container { grid-template-columns: 1fr !important; }
  .auth-left, .reg-left, .login-left { display: none !important; }
  .auth-right, .reg-right, .login-right { padding: 28px 20px !important; max-height: none !important; }
  .reg-row { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .reg-submit, .login-submit, .btn-auth { font-size: 0.9rem; padding: 13px; }

  /* ── Flash message ── */
  .flash { top: 70px; right: 10px; left: 10px; max-width: 100%; font-size: 0.85rem; }

  /* ── Boutique / Filtres ── */
  .filter-bar { flex-direction: column; gap: 10px; }
  .filter-search { width: 100%; }
  .boutique-layout { grid-template-columns: 1fr !important; }
  .sidebar { display: none; }
}

/* ── Très petits écrans (iPhone SE, etc.) ── */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.6rem !important; }
  .nav-logo img { width: 44px !important; height: 44px !important; }
  .logo-main, .brand-name { font-size: 1rem !important; }
  .logo-sub, .tagline { display: none !important; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .hero-btns { gap: 8px; }
  .btn-hero-primary, .btn-hero-outline { font-size: 0.82rem; padding: 10px 14px; }
}

/* ── Tablettes (768px → 1024px) ── */
@media (min-width: 768px) and (max-width: 1024px) {
  .navbar { padding: 0 16px !important; }
  .nav-links a { padding: 8px 8px !important; font-size: 0.82rem !important; }
  .cards-grid { grid-template-columns: 1fr 1fr !important; }
  .services-grid { grid-template-columns: 1fr 1fr !important; }
  .hero h1 { font-size: 2.4rem !important; }
  .hero-inner { gap: 30px; }
  .hero-logo-big { width: 240px !important; height: 240px !important; }
  .footer-top { grid-template-columns: 1fr 1fr !important; }
  .reg-row, .form-row { grid-template-columns: 1fr 1fr; }
}
