/* ============================================================
   Miggy Technology — Modern Stylesheet v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary:       #f68b1e;
  --primary-dark:  #d97706;
  --primary-light: #fff7ed;
  --accent:        #e63946;
  --success:       #16a34a;
  --danger:        #dc2626;
  --warning:       #f59e0b;
  --info:          #2563eb;
  --dark:          #111827;
  --gray-900:      #1f2937;
  --gray-700:      #374151;
  --gray-500:      #6b7280;
  --gray-400:      #9ca3af;
  --gray-300:      #d1d5db;
  --gray-200:      #e5e7eb;
  --gray-100:      #f3f4f6;
  --gray-50:       #f9fafb;
  --white:         #ffffff;
  --pos-bg:        #0f172a;
  --pos-card:      #1e293b;
  --pos-accent:    #0f3460;
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:        0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:     0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl:     0 20px 60px rgba(0,0,0,0.15);
  --transition:    0.18s cubic-bezier(0.4,0,0.2,1);
  --font:          'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: 14px; color: var(--gray-900); background: var(--gray-50); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; color: var(--dark); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--gray-200); font-size: 13px; }
th { background: var(--gray-50); font-weight: 600; color: var(--gray-700); font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--gray-50); }

/* ── Utility ────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; } .text-right { text-align: right; }
.text-muted { color: var(--gray-500); } .text-sm { font-size: 12px; } .text-lg { font-size: 16px; }
.font-bold { font-weight: 700; } .w-full { width: 100%; } .hidden { display: none !important; }
.bg-white { background: #fff; }
.badge {
  display: inline-flex; align-items: center; padding: 3px 9px;
  border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.2px;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #dbeafe; color: #1e40af; }
.badge-primary { background: var(--primary-light); color: var(--primary-dark); }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; border: none;
  transition: all var(--transition); cursor: pointer; white-space: nowrap; letter-spacing: 0.1px;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent  { background: var(--accent); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger  { background: var(--danger); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--gray-700); border: 1.5px solid var(--gray-200); }
.btn-ghost:hover { background: var(--gray-100); border-color: var(--gray-300); }
.btn-sm { padding: 5px 13px; font-size: 12px; }
.btn-lg { padding: 13px 30px; font-size: 15px; font-weight: 700; border-radius: var(--radius-sm); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 13px 30px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; cursor: pointer; transition: all var(--transition); letter-spacing: 0.1px;
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.28); text-decoration: none; color: #fff; }

/* ── Forms ──────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; color: var(--gray-700); }
.form-control {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 13px; background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition); color: var(--gray-900);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(246,139,30,0.12); }
.form-control-sm { padding: 6px 11px; font-size: 12px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Card ───────────────────────────────────────────── */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; border: 1px solid var(--gray-200); }

/* ── Alerts ─────────────────────────────────────────── */
.alert { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 13px; font-weight: 500; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger  { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* ══════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
══════════════════════════════════════════════════════ */
.announcement-bar {
  background: #111827; color: rgba(255,255,255,0.78);
  text-align: center; padding: 8px 16px; font-size: 11.5px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.announcement-bar .ann-sep { opacity: 0.35; }
.announcement-bar a { color: var(--primary); font-weight: 700; }
.announcement-bar a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════
   SITE HEADER
══════════════════════════════════════════════════════ */
.site-header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  padding: 13px 0; min-height: 70px;
}

/* ── Logo ── */
.site-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; background: #fff;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 900; color: var(--primary); flex-shrink: 0;
  letter-spacing: -1px; line-height: 1;
}
.logo-wordmark { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; line-height: 1; }
.logo-wordmark span { color: rgba(255,255,255,0.65); font-weight: 500; }
.site-logo:hover { text-decoration: none; }

/* ── Search ── */
.header-search { flex: 1; max-width: 580px; }
.search-wrap {
  position: relative; display: flex;
  border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.search-wrap input {
  flex: 1; padding: 12px 18px; border: none;
  font-size: 14px; outline: none; background: #fff; color: var(--gray-900);
  font-family: inherit;
}
.search-wrap input::placeholder { color: var(--gray-400); }
.search-btn {
  padding: 0 22px; background: var(--dark); color: #fff;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); flex-shrink: 0;
}
.search-btn:hover { background: #1f2937; }
.search-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); z-index: 400;
  box-shadow: var(--shadow-xl); max-height: 380px; overflow-y: auto;
}
.search-dropdown-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 16px;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition); text-decoration: none; color: var(--gray-900);
}
.search-dropdown-item:last-child { border-bottom: none; }
.search-dropdown-item:hover { background: var(--gray-50); text-decoration: none; }
.search-dropdown-item img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }

/* ── Header Actions ── */
.header-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; margin-left: auto; }
.hdr-action-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 7px 12px; color: #fff; background: none; border: none; font-family: inherit;
  border-radius: var(--radius-sm); cursor: pointer; text-decoration: none;
  transition: background var(--transition); min-width: 54px;
}
.hdr-action-btn:hover { background: rgba(255,255,255,0.15); color: #fff; text-decoration: none; }
.hdr-action-icon {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
}
.hdr-action-label { font-size: 10px; font-weight: 600; white-space: nowrap; opacity: 0.92; line-height: 1; }
.hdr-cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: -5px; right: -9px;
  background: var(--accent); color: #fff;
  border-radius: 999px; font-size: 9px; font-weight: 800;
  min-width: 17px; height: 17px; display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 2px solid var(--primary); line-height: 1;
}
.mobile-menu-btn {
  display: none; background: rgba(255,255,255,0.15); border: none;
  color: #fff; padding: 8px 9px; border-radius: var(--radius-sm);
  cursor: pointer; align-items: center; justify-content: center;
}

/* ── Dropdown ── */
.dropdown-wrapper { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-xl);
  min-width: 220px; z-index: 1100; overflow: hidden;
}
.dropdown-header {
  padding: 14px 18px 12px; border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.dropdown-user-name { font-size: 13px; font-weight: 700; color: var(--gray-900); }
.dropdown-user-email { font-size: 11px; color: var(--gray-500); margin-top: 2px; }
.dropdown-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 18px;
  color: var(--gray-700); font-size: 13px; cursor: pointer;
  transition: background var(--transition); background: none; border: none;
  width: 100%; text-align: left; font-weight: 500; font-family: inherit;
  text-decoration: none;
}
.dropdown-item:hover { background: var(--gray-50); text-decoration: none; color: var(--gray-900); }
.dropdown-item-danger { color: #dc2626; }
.dropdown-item-danger:hover { background: #fef2f2; color: #b91c1c; }
.dropdown-divider { border: none; border-top: 1px solid var(--gray-100); margin: 4px 0; }

/* ── Mobile Nav ── */
.mobile-nav { display: none; border-top: 1px solid rgba(255,255,255,0.12); }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07); text-decoration: none;
  transition: background var(--transition);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.mobile-cart-count {
  background: var(--accent); color: #fff; border-radius: 999px;
  font-size: 10px; font-weight: 700; padding: 1px 7px;
}

/* ── Category Nav Bar ── */
.cat-nav {
  background: #fff; border-top: 1px solid rgba(255,255,255,0.1);
  overflow-x: auto; scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav .container {
  display: flex; gap: 0; padding-top: 0; padding-bottom: 0;
  max-width: none; min-width: max-content; flex-wrap: nowrap;
}
.cat-nav a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; font-size: 12.5px; font-weight: 600;
  color: var(--gray-600); white-space: nowrap;
  border-bottom: 2px solid transparent; transition: all var(--transition);
  text-decoration: none;
}
.cat-nav a:hover, .cat-nav a.active { color: var(--primary); border-bottom-color: var(--primary); text-decoration: none; }
.cat-nav-all {
  color: var(--gray-900) !important; font-weight: 700 !important;
  border-right: 1px solid var(--gray-100);
}

/* ══════════════════════════════════════════════════════
   HERO SECTION — Modern Split Banner
══════════════════════════════════════════════════════ */
.hero-section {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 45%, #0d2847 100%);
  overflow: hidden; position: relative;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 75% 50%, rgba(246,139,30,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 400px 300px at 10% 80%, rgba(246,139,30,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 420px;
  min-height: 380px; width: 100%; position: relative; align-items: center; gap: 32px;
  padding: 48px 0;
}
.hero-left { display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(246,139,30,0.15); color: var(--primary);
  padding: 5px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  margin-bottom: 20px; letter-spacing: 0.4px; text-transform: uppercase;
  border: 1px solid rgba(246,139,30,0.28); width: fit-content;
}
.hero-left h1 {
  font-size: 42px; font-weight: 900; color: #fff; line-height: 1.12;
  margin-bottom: 18px; letter-spacing: -1px;
}
.hero-left h1 span { color: var(--primary); }
.hero-left > p { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 30px; max-width: 440px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border: 2px solid rgba(255,255,255,0.35); color: #fff;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all var(--transition); background: transparent;
  cursor: pointer;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: #fff; text-decoration: none; }
.hero-stats {
  display: flex; gap: 28px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat { display: flex; flex-direction: column; gap: 3px; }
.hero-stat-num { font-size: 24px; font-weight: 900; color: #fff; line-height: 1; }
.hero-stat-lbl { font-size: 10.5px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.6px; }

/* Hero right — product showcase */
.hero-right {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  padding: 20px; gap: 12px; position: relative; overflow: hidden;
  backdrop-filter: blur(10px);
}
.hero-right::after {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,139,30,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-right-label {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.hero-product-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-showcase-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column;
  align-items: center; gap: 6px; transition: all 0.2s; text-decoration: none;
}
.hero-showcase-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-2px); text-decoration: none; }
.hero-showcase-card img { width: 68px; height: 68px; object-fit: contain; border-radius: var(--radius-sm); }
.hero-sc-placeholder { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; font-size: 28px; background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); }
.hero-showcase-card .sc-name { font-size: 10.5px; color: rgba(255,255,255,0.82); font-weight: 600; text-align: center; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-showcase-card .sc-price { font-size: 12px; color: var(--primary); font-weight: 800; }
.hero-showcase-card .sc-old { font-size: 10px; color: rgba(255,255,255,0.35); text-decoration: line-through; }

/* ══════════════════════════════════════════════════════
   TRUST BADGES
══════════════════════════════════════════════════════ */
.trust-bar {
  background: #fff; border-bottom: 1px solid var(--gray-200);
  padding: 0;
}
.trust-bar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--gray-200);
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-right: 1px solid var(--gray-200);
}
.trust-icon { font-size: 26px; flex-shrink: 0; }
.trust-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--dark); }
.trust-text span { font-size: 11px; color: var(--gray-500); }

/* ══════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════ */
.section { padding: 32px 0; }
.section-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-size: 18px; font-weight: 800; color: var(--dark); letter-spacing: -0.3px;
  display: flex; align-items: center; gap: 10px;
}
.section-title::before {
  content: ''; width: 4px; height: 20px; background: var(--primary);
  border-radius: 2px; display: inline-block; flex-shrink: 0;
}
.section-link {
  font-size: 13px; color: var(--primary); font-weight: 600;
  display: flex; align-items: center; gap: 4px;
}
.section-link:hover { text-decoration: none; color: var(--primary-dark); }

/* Flash Deal Header */
.flash-hd {
  background: linear-gradient(90deg, #c0392b 0%, var(--accent) 50%, var(--primary) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 12px 20px; display: flex; align-items: center; gap: 20px; margin-bottom: 0;
}
.flash-hd h2 { color: #fff; font-size: 16px; font-weight: 800; letter-spacing: -0.2px; }
.flash-wrap { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.flash-products { padding: 16px; display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.flash-products::-webkit-scrollbar { display: none; }
.flash-products .product-card { flex: 0 0 190px; min-width: 190px; }

/* Countdown Timer */
.countdown-timer { display: flex; gap: 6px; align-items: center; }
.countdown-block { background: rgba(0,0,0,0.25); padding: 4px 10px; border-radius: 5px; text-align: center; }
.countdown-block .num { color: #fff; font-size: 16px; font-weight: 800; display: block; line-height: 1.2; }
.countdown-block .lbl { color: rgba(255,255,255,0.7); font-size: 8px; text-transform: uppercase; letter-spacing: 0.5px; display: block; }
.countdown-sep { color: rgba(255,255,255,0.6); font-size: 16px; font-weight: 800; }

/* ══════════════════════════════════════════════════════
   PROMO BANNERS
══════════════════════════════════════════════════════ */
.promo-banners { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.promo-card {
  border-radius: var(--radius); padding: 24px; display: flex; align-items: center;
  justify-content: space-between; overflow: hidden; position: relative; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none; min-height: 120px;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.promo-card-text {}
.promo-card-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; margin-bottom: 5px; display: block; }
.promo-card-title { font-size: 19px; font-weight: 900; line-height: 1.15; margin-bottom: 8px; }
.promo-card-sub { font-size: 12px; opacity: 0.8; }
.promo-card-icon { font-size: 52px; flex-shrink: 0; margin-left: 10px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)); }
.promo-card-1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; }
.promo-card-1 .promo-card-label { color: var(--primary); }
.promo-card-2 { background: linear-gradient(135deg, var(--primary) 0%, #e67e00 100%); color: #fff; }
.promo-card-3 { background: linear-gradient(135deg, #065f46 0%, #047857 100%); color: #fff; }

/* ══════════════════════════════════════════════════════
   CATEGORY GRID
══════════════════════════════════════════════════════ */
.cat-cards-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-card {
  background: #fff; border-radius: var(--radius); padding: 22px 10px;
  text-align: center; transition: all var(--transition);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--gray-900);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); text-decoration: none; color: var(--primary); }
.cat-card-icon-wrap {
  width: 54px; height: 54px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 26px;
}
.cat-card:nth-child(1) .cat-card-icon-wrap { background: #fff3e0; }
.cat-card:nth-child(2) .cat-card-icon-wrap { background: #e0f2fe; }
.cat-card:nth-child(3) .cat-card-icon-wrap { background: #f0fdf4; }
.cat-card:nth-child(4) .cat-card-icon-wrap { background: #fdf4ff; }
.cat-card:nth-child(5) .cat-card-icon-wrap { background: #fff0f3; }
.cat-card:nth-child(6) .cat-card-icon-wrap { background: #ecfeff; }
.cat-card:nth-child(7) .cat-card-icon-wrap { background: #fffbeb; }
.cat-card:nth-child(8) .cat-card-icon-wrap { background: #f0fff4; }
.cat-card-icon { font-size: 26px; }
.cat-card-name { font-size: 12px; font-weight: 700; line-height: 1.3; }

/* ══════════════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════════════ */
.products-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.products-grid-4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--gray-200); overflow: hidden;
  transition: all var(--transition); display: flex; flex-direction: column; position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gray-300); transform: translateY(-3px); }

.product-card-img-wrap {
  display: block; position: relative; padding-top: 100%;
  background: var(--gray-50); overflow: hidden;
}
.product-card-img-wrap img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.35s ease;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.06); }
.product-card-placeholder {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--gray-300);
}
.product-badge-discount {
  position: absolute; top: 8px; left: 8px;
  background: var(--accent); color: #fff;
  padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700;
}
.product-badge-oos {
  position: absolute; top: 8px; right: 8px;
  background: rgba(17,24,39,0.7); color: #fff;
  padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600;
  backdrop-filter: blur(4px);
}

.product-card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.product-card-shop { font-size: 10px; color: var(--primary); font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.4px; }
.product-card-name {
  font-size: 13px; font-weight: 500; color: var(--gray-800, #1f2937); margin-bottom: 8px;
  flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5;
}
.product-card-name a { color: inherit; }
.product-card-name a:hover { color: var(--primary); text-decoration: none; }
.product-card-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.price-main { font-size: 16px; font-weight: 800; color: var(--dark); }
.price-old  { font-size: 11px; color: var(--gray-400); text-decoration: line-through; }
.btn-add-cart { font-size: 12px; padding: 8px 12px; border-radius: var(--radius-sm); font-weight: 600; }

/* ══════════════════════════════════════════════════════
   SELL CTA
══════════════════════════════════════════════════════ */
.sell-cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #1e293b 60%, #0f3460 100%);
  padding: 60px 0; margin-top: 16px; position: relative; overflow: hidden;
}
.sell-cta-section::before {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,139,30,0.12), transparent 70%);
}
.sell-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap; position: relative;
}
.sell-cta-inner h2 { color: #fff; font-size: 28px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.5px; }
.sell-cta-inner p { color: rgba(255,255,255,0.7); font-size: 15px; }
.sell-cta-steps { display: flex; gap: 28px; margin-top: 20px; }
.sell-step { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 13px; }
.sell-step-num { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   SHOP / PRODUCT LISTING PAGE
══════════════════════════════════════════════════════ */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.shop-sidebar { position: sticky; top: 80px; }
.filter-panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 18px; box-shadow: var(--shadow-sm); }
.filter-title { font-size: 12px; font-weight: 700; color: var(--gray-700); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-list { list-style: none; }
.filter-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; font-size: 13px; color: var(--gray-700);
  border-radius: var(--radius-sm); transition: all var(--transition); cursor: pointer;
}
.filter-link:hover, .filter-link.active { background: var(--primary-light); color: var(--primary); text-decoration: none; }
.filter-count { font-size: 11px; color: var(--gray-400); }
.price-range-inputs { display: flex; align-items: center; gap: 8px; }
.price-range-inputs input { width: 80px; }
.shop-toolbar { background: #fff; border: 1px solid var(--gray-200); padding: 11px 16px; border-radius: var(--radius-sm); margin-bottom: 14px; }

/* ── Breadcrumb ─ */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-500); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Product Detail ─ */
.product-detail-layout {
  display: grid; grid-template-columns: 460px 1fr; gap: 28px;
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
}
.gallery-main { aspect-ratio: 1; background: var(--gray-50); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; border: 1px solid var(--gray-200); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb { width: 64px; height: 64px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; transition: border-color var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info-shop { font-size: 11px; color: var(--primary); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.product-info-name { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 16px; line-height: 1.3; }
.product-info-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.price-main-lg { font-size: 30px; font-weight: 900; color: var(--dark); }
.price-old-lg { font-size: 15px; color: var(--gray-400); text-decoration: line-through; }
.product-info-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; font-size: 12px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-shop-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px; background: var(--gray-50); }
.product-shop-card-inner { display: flex; align-items: flex-start; gap: 12px; }
.product-shop-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* New stock IMEI entry row */
.new-stock-row { padding: 0 !important; background: #fffbf0; border-bottom: 2px solid var(--primary); }
.new-stock-box { padding: 14px 20px; }
.new-stock-label { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--gray-700); margin-bottom: 10px; }
.new-stock-entry { display: flex; gap: 8px; align-items: center; }
.new-stock-input { font-family: monospace; font-size: 14px; letter-spacing: 0.5px; }
.new-stock-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

/* Image upload */
.img-upload-area { border: 2px dashed var(--gray-200); border-radius: var(--radius); background: var(--gray-50); transition: border-color var(--transition); }
.img-upload-area.drag-over { border-color: var(--primary); background: var(--primary-light); }
.img-upload-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 24px; cursor: pointer; text-align: center; }
.img-upload-placeholder:hover { background: var(--primary-light); border-radius: var(--radius); }
.img-preview-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 12px 12px; }
.img-preview-item { position: relative; width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--gray-200); background: var(--gray-100); }
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-preview-item.loading { display: flex; align-items: center; justify-content: center; }
.img-upload-spinner { font-size: 22px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.img-preview-remove { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,0.65); color: #fff; border: none; border-radius: 50%; width: 18px; height: 18px; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; }
.img-preview-remove:hover { background: var(--danger); }

/* Barcode */
.barcode-box { display: inline-block; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px 20px; text-align: center; }
.barcode-box svg { display: block; }
@media print { .barcode-box { border: none; padding: 0; } }

/* Trust badges */
.product-trust-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trust-badge { display: flex; align-items: center; gap: 8px; background: var(--primary-light); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; font-weight: 600; color: var(--gray-700); border: 1px solid #fde8c0; }

/* Share widget */
.product-share { display: flex; align-items: center; gap: 10px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--gray-300); background: var(--white); font-size: 13px; font-weight: 500; cursor: pointer; color: var(--gray-700); transition: all .15s; }
.share-btn:hover { background: var(--gray-100); border-color: var(--gray-400); }

/* Product nav widgets */
.product-nav-widgets { display: flex; flex-direction: column; gap: 8px; }
.product-nav-widget { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--gray-200); background: var(--white); color: var(--dark); text-decoration: none; transition: all .15s; }
.product-nav-widget:hover { background: var(--primary-light); border-color: var(--primary); }
.product-nav-widget svg:first-child { color: var(--primary); flex-shrink: 0; }

/* Sticky add-to-cart bar */
.sticky-buy-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 2px solid var(--primary); padding: 12px 16px; z-index: 200; box-shadow: 0 -4px 20px rgba(0,0,0,.1); transform: translateY(100%); transition: transform .3s ease; }
.sticky-buy-bar.visible { transform: translateY(0); }
.sticky-buy-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; margin: 0 auto; }

/* btn-outline */
.btn-outline { border: 1px solid var(--gray-300); background: transparent; color: var(--gray-700); }
.btn-outline:hover { background: var(--gray-100); }

/* Footer social icons */
.footer-social { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; transition: background .15s; }
.footer-social a:hover { background: var(--primary); }

/* Announcement phone (right-aligned on desktop) */
.ann-phone { margin-left: auto; }
@media (max-width: 640px) { .ann-phone, .ann-phone-sep { display: none; } }
.product-tabs { margin-top: 24px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.tab-buttons { display: flex; border-bottom: 1px solid var(--gray-200); }
.tab-btn { padding: 12px 22px; font-size: 13px; font-weight: 600; border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--gray-500); transition: all var(--transition); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { padding: 22px; display: none; line-height: 1.8; }
.tab-content.active { display: block; }

/* ── Cart ─ */
.page-title { font-size: 22px; font-weight: 800; margin-bottom: 22px; color: var(--dark); letter-spacing: -0.3px; }
.cart-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.cart-items { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--gray-100); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { flex-shrink: 0; width: 80px; height: 80px; overflow: hidden; border-radius: var(--radius-sm); background: var(--gray-50); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-qty { display: flex; align-items: center; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.qty-btn { padding: 6px 13px; border: none; background: var(--gray-50); cursor: pointer; font-size: 16px; font-weight: 700; transition: background var(--transition); color: var(--gray-700); }
.qty-btn:hover { background: var(--gray-200); }
.qty-input { width: 44px; text-align: center; border: none; padding: 6px 4px; font-size: 14px; font-weight: 600; outline: none; }
.cart-item-price { font-size: 16px; font-weight: 800; white-space: nowrap; color: var(--dark); }
.cart-remove { background: none; border: none; color: var(--gray-400); cursor: pointer; padding: 5px; font-size: 18px; border-radius: 50%; transition: all var(--transition); }
.cart-remove:hover { color: var(--danger); background: #fee2e2; }
.cart-summary { position: sticky; top: 80px; }
.empty-cart { text-align: center; padding: 70px 20px; }
.empty-cart .icon { font-size: 72px; margin-bottom: 16px; opacity: 0.4; }

/* ── Checkout ─ */
.checkout-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.payment-option { border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 14px; cursor: pointer; transition: all var(--transition); display: flex; align-items: center; gap: 10px; }
.payment-option.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-icon { font-size: 22px; }
.checkout-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.checkout-item:last-child { border-bottom: none; }
.checkout-summary { position: sticky; top: 80px; }
.order-confirm-box { background: var(--gray-50); border-radius: var(--radius-sm); padding: 18px; border: 1px solid var(--gray-200); }

/* ── Auth Pages ─ */
/* Auth pages — shared */
.auth-isolated { margin: 0; background: var(--gray-50); }
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 48px 16px; background: var(--gray-50);
}
.auth-page-admin { background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%); }
.auth-page-store  { background: linear-gradient(135deg, #0d2847 0%, #1a3a5c 100%); }
.auth-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  padding: 44px; width: 100%; max-width: 420px; border: 1px solid var(--gray-200);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo h2 { font-size: 24px; font-weight: 800; margin-top: 12px; color: var(--dark); }
.auth-role-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 18px; border-radius: 999px; font-size: 11px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
}
.auth-role-admin    { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.auth-role-store    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.auth-role-customer { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ══════════════════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════════════════ */
.dash-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.dash-sidebar { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; position: sticky; top: 80px; box-shadow: var(--shadow-sm); }
.dash-user-card { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 20px; display: flex; align-items: center; gap: 14px; }
.dash-avatar { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: #fff; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.3); }
.dash-user-card .font-bold { color: #fff; }
.dash-user-card .text-sm { color: rgba(255,255,255,0.75); }
.dash-nav { padding: 8px 0; }
.dash-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 18px;
  font-size: 13px; font-weight: 500; color: var(--gray-700);
  border-left: 3px solid transparent; transition: all var(--transition);
  text-decoration: none; cursor: pointer;
  background: none; border-top: none; border-right: none; border-bottom: none; width: 100%; text-align: left;
}
.dash-nav-item:hover, .dash-nav-item.active { background: var(--primary-light); color: var(--primary); border-left-color: var(--primary); text-decoration: none; }
.dash-main {}
.dash-title { font-size: 20px; font-weight: 800; margin-bottom: 22px; color: var(--dark); letter-spacing: -0.3px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.stat-icon { font-size: 28px; margin-bottom: 10px; }
.stat-value { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 3px; }
.stat-label { font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.empty-state { text-align: center; padding: 64px 24px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.empty-icon { font-size: 56px; margin-bottom: 16px; opacity: 0.5; }

/* Pagination */
.pagination { display: flex; gap: 5px; justify-content: center; padding: 24px 0; }
.page-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--transition); background: #fff; text-decoration: none; color: var(--gray-700); }
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }

/* ══════════════════════════════════════════════════════
   POS TERMINAL
══════════════════════════════════════════════════════ */
.pos-shell { background: var(--pos-bg); min-height: 100vh; color: #fff; display: flex; flex-direction: column; }
.pos-header { background: var(--pos-card); padding: 12px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
.pos-shop-name { font-size: 16px; font-weight: 700; }
.pos-body { display: grid; grid-template-columns: 1fr 360px; flex: 1; overflow: hidden; height: calc(100vh - 55px); }
.pos-products-panel { padding: 14px; overflow-y: auto; }
.pos-search-bar { display: flex; gap: 10px; margin-bottom: 14px; }
.pos-search-input { flex: 1; padding: 11px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-size: 13px; outline: none; }
.pos-search-input::placeholder { color: rgba(255,255,255,0.4); }
.pos-search-input:focus { border-color: var(--primary); background: rgba(255,255,255,0.12); }
.pos-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pos-product-card { background: rgba(255,255,255,0.06); border-radius: var(--radius-sm); padding: 12px; cursor: pointer; transition: all var(--transition); border: 1.5px solid rgba(255,255,255,0.06); }
.pos-product-card:hover { border-color: var(--primary); background: rgba(246,139,30,0.12); }
.pos-product-oos { opacity: 0.5; cursor: not-allowed; position: relative; }
.pos-product-oos:hover { border-color: rgba(255,255,255,0.1) !important; background: rgba(255,255,255,0.03) !important; }
.pos-oos-badge { background: var(--danger); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 5px; border-radius: 3px; letter-spacing: 0.5px; display: inline-block; margin-bottom: 4px; }
.pos-product-card .name { font-size: 12px; font-weight: 600; margin-bottom: 4px; line-height: 1.35; color: #fff; }
.pos-product-card .sku { font-size: 10px; color: rgba(255,255,255,0.45); margin-bottom: 6px; }
.pos-product-card .price { font-size: 14px; font-weight: 800; color: var(--primary); }
.pos-product-card .stock { font-size: 10px; color: rgba(255,255,255,0.5); }
.pos-cart-panel { background: var(--pos-card); border-left: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; overflow: hidden; }
.pos-cart-header { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 14px; font-weight: 700; }
.pos-cart-items { flex: 1; overflow-y: auto; padding: 8px; }
.pos-cart-item { background: rgba(255,255,255,0.04); border-radius: var(--radius-sm); padding: 9px 10px; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.pos-cart-item .name { flex: 1; font-size: 11px; font-weight: 600; color: #fff; }
.pos-cart-item .price { font-size: 12px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.pos-cart-item .qty-ctrl { display: flex; align-items: center; gap: 3px; }
.pos-cart-item .qty-ctrl button { background: rgba(255,255,255,0.12); border: none; color: #fff; width: 22px; height: 22px; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 700; }
.pos-cart-item .qty-ctrl span { font-size: 12px; font-weight: 600; min-width: 18px; text-align: center; color: #fff; }
.pos-cart-item .remove { background: none; border: none; color: rgba(255,255,255,0.35); cursor: pointer; font-size: 15px; }
.pos-cart-item .remove:hover { color: var(--danger); }
.pos-totals { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.pos-numpad { padding: 8px 14px; }
.pos-cash-display { background: rgba(0,0,0,0.25); border-radius: var(--radius-sm); padding: 9px 13px; font-size: 18px; font-weight: 800; color: var(--primary); text-align: right; margin-bottom: 8px; min-height: 42px; }
.numpad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.numpad-btn { background: rgba(255,255,255,0.08); border: none; color: #fff; padding: 12px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer; transition: background var(--transition); }
.numpad-btn:hover { background: rgba(255,255,255,0.16); }
.numpad-dot { grid-column: span 2; }
.pos-pay-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 14px 14px; }
.pos-session-bar { background: rgba(22,163,74,0.18); border: 1px solid var(--success); border-radius: var(--radius-sm); padding: 5px 11px; font-size: 11px; color: #4ade80; font-weight: 600; }
.pos-no-session { background: rgba(220,38,38,0.18); border: 1px solid var(--danger); border-radius: var(--radius-sm); padding: 5px 11px; font-size: 11px; color: #f87171; font-weight: 600; }

/* ══════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(3px); }
.modal-card { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-xl); animation: modalIn 0.22s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.92) translateY(-20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--gray-200); }
.modal-header h3 { font-size: 16px; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--gray-400); padding: 4px 8px; border-radius: var(--radius-sm); transition: all var(--transition); }
.modal-close:hover { background: var(--gray-100); color: var(--gray-700); }
.modal-body { padding: 22px; }
.modal-footer { padding: 16px 22px; border-top: 1px solid var(--gray-200); display: flex; gap: 10px; justify-content: flex-end; }
/* ── POS Thermal Receipt ── */
.pos-receipt {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12.5px; color: #111; width: 100%; max-width: 300px; margin: 0 auto;
}
.pos-rct-header { text-align: center; padding: 4px 0 12px; }
.pos-rct-logo {
  width: 44px; height: 44px; border-radius: 12px;
  background: #f68b1e; color: #fff; font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
}
.pos-rct-store { font-size: 16px; font-weight: 900; letter-spacing: -.3px; margin-bottom: 2px; }
.pos-rct-branch { font-size: 11.5px; color: #555; margin-bottom: 3px; }
.pos-rct-meta-line { font-size: 11px; color: #666; }
.pos-rct-divider-dot {
  border: none; margin: 10px 0;
  border-top: 2px dashed #ccc;
}
.pos-rct-divider-solid { border: none; border-top: 1px solid #ddd; margin: 10px 0; }
.pos-rct-section-label {
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  color: #999; text-align: center; margin-bottom: 8px;
}
.pos-rct-info { margin-bottom: 4px; }
.pos-rct-info-row { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 11.5px; }
.pos-rct-info-row strong { font-weight: 700; }
.pos-rct-items { margin-bottom: 4px; }
.pos-rct-item { margin-bottom: 8px; }
.pos-rct-item-name { font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-rct-item-detail { display: flex; justify-content: space-between; color: #555; font-size: 11px; margin-top: 2px; }
.pos-rct-totals { margin-bottom: 4px; }
.pos-rct-total-row { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 12px; }
.pos-rct-grand {
  display: flex; justify-content: space-between;
  font-size: 16px; font-weight: 900; margin-top: 8px;
  border-top: 2px solid #111; padding-top: 6px;
}
.pos-rct-payment { margin-bottom: 4px; }
.pos-rct-change { font-weight: 700; }
.pos-rct-barcode-wrap { text-align: center; margin: 4px 0; }
.pos-rct-barcode-wrap svg { max-width: 100%; }
.pos-rct-barcode-num { font-size: 9px; letter-spacing: 2px; color: #888; margin-top: 2px; font-family: monospace; }
.pos-rct-footer { text-align: center; margin-top: 12px; padding-top: 8px; }
.pos-rct-footer-dots { display: flex; justify-content: center; gap: 5px; margin-bottom: 8px; }
.pos-rct-footer-dots span { width: 5px; height: 5px; border-radius: 50%; background: #ddd; display: inline-block; }
.pos-rct-thanks { font-size: 13px; font-weight: 800; margin-bottom: 3px; }
.pos-rct-footer-sub { font-size: 10px; color: #999; line-height: 1.6; }

/* ── Print rules ── */
@media print {
  body > *:not(.modal-backdrop) { display: none !important; }
  .modal-backdrop { position: static !important; background: none !important; display: block !important; }
  .modal-card { box-shadow: none !important; border-radius: 0 !important; max-width: 80mm !important; margin: 0 !important; }
  .modal-header, .modal-footer { display: none !important; }
  .modal-body { padding: 8px !important; }
  .pos-receipt { max-width: 72mm; }
  .pos-rct-logo { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ══════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════ */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 280px; max-width: 380px; animation: toastIn 0.3s ease; font-size: 13px; font-weight: 500; }
@keyframes toastIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(100%); } }
.toast.success { background: var(--success); color: #fff; }
.toast.error   { background: var(--danger);  color: #fff; }
.toast.info    { background: var(--info);    color: #fff; }
.toast.warning { background: var(--warning); color: var(--dark); }
.toast-icon { font-size: 16px; }
.toast-close { background: none; border: none; color: inherit; cursor: pointer; margin-left: auto; font-size: 16px; opacity: 0.7; }

/* ── Spinner ─ */
.spinner { display: inline-block; width: 18px; height: 18px; border: 2.5px solid rgba(0,0,0,0.1); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.7s linear infinite; }
.spinner-white { border-color: rgba(255,255,255,0.25); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer { background: #111827; color: rgba(255,255,255,0.7); margin-top: 48px; }

/* Trust bar */
.footer-trust-bar { background: #1f2937; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 20px 0; }
.footer-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-trust-item { display: flex; align-items: center; gap: 12px; }
.footer-trust-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(var(--primary-rgb,246,139,30),0.12); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-trust-title { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.footer-trust-sub { font-size: 11.5px; color: rgba(255,255,255,0.45); }

/* Main footer */
.footer-main { padding: 52px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 40px; }

/* Brand column */
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }
.footer-logo .logo-wordmark { font-size: 18px; color: #fff; }
.footer-logo .logo-wordmark span { color: var(--primary); }
.footer-logo .logo-mark { background: var(--primary); color: #fff; }
.footer-brand-desc { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.5); max-width: 240px; }

/* Social icons */
.footer-social { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.footer-social-link { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.6); transition: background .15s, color .15s; }
.footer-social-link:hover { background: var(--primary); color: #fff; }

/* Column links */
.footer-col { }
.footer-col-title { color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col-links { list-style: none; padding: 0; margin: 0; }
.footer-col-links li { margin-bottom: 10px; }
.footer-col-links a { color: rgba(255,255,255,0.55); font-size: 13.5px; transition: color .15s, padding-left .15s; display: inline-block; }
.footer-col-links a:hover { color: var(--primary); padding-left: 4px; text-decoration: none; }

/* Contact list */
.footer-contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-contact-list a { color: rgba(255,255,255,0.55); transition: color .15s; }
.footer-contact-list a:hover { color: var(--primary); text-decoration: none; }
.footer-contact-icon { flex-shrink: 0; margin-top: 1px; color: var(--primary); }

/* Payment badges */
.footer-payment { margin-top: 6px; }
.footer-payment-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: rgba(255,255,255,0.35); margin-bottom: 8px; }
.footer-payment-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-pay-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 5px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,0.7); letter-spacing: 0.3px; }

/* Bottom bar */
.footer-bottom-bar { background: #0d1117; border-top: 1px solid rgba(255,255,255,0.06); padding: 16px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.3); gap: 12px; flex-wrap: wrap; }
.footer-bottom-links { display: flex; align-items: center; gap: 10px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); transition: color .15s; }
.footer-bottom-links a:hover { color: var(--primary); text-decoration: none; }
.footer-bottom-sep { color: rgba(255,255,255,0.15); }

/* Dashboard quick actions */
.dash-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.dash-qa-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 8px; background: #fff; border: 1px solid var(--gray-200); color: var(--gray-700); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.dash-qa-btn:hover { background: var(--gray-50,#f9fafb); border-color: var(--gray-300); box-shadow: 0 1px 4px rgba(0,0,0,.08); text-decoration: none; color: var(--dark); }
.dash-qa-btn svg { flex-shrink: 0; }
.dash-qa-btn.dash-qa-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.dash-qa-btn.dash-qa-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-cards-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-left h1 { font-size: 36px; }
  .promo-banners { grid-template-columns: 1fr 1fr; }
  .promo-card-3 { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; padding: 36px 0 32px; }
  .hero-right { display: none; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-search { display: none; }
  .mobile-menu-btn { display: flex; }
  .hdr-action-label { display: none; }
  .hdr-action-btn { min-width: 40px; padding: 8px; }
  .announcement-bar { font-size: 10.5px; gap: 6px; }
  .ann-sep { display: none; }
  .products-grid, .products-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
  .payment-options { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-trust-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 6px; }
  .sell-cta-inner { flex-direction: column; }
  .hero-left h1 { font-size: 30px; }
  .hero-stats { gap: 20px; }
  .promo-banners { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .sell-cta-steps { flex-direction: column; gap: 12px; }
  .pos-body { grid-template-columns: 1fr; }
  .pos-cart-panel { display: none; }
}
@media (max-width: 480px) {
  .products-grid, .products-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr; }
  .pos-products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   WordPress Page Content (.miggy-wp-content)
   ============================================================ */
.miggy-wp-content {
  padding: 48px 0 64px;
  min-height: 60vh;
}
.miggy-wp-content .entry-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.miggy-wp-content .entry-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  max-width: 860px;
}
.miggy-wp-content .entry-body h2 { font-size: 24px; font-weight: 700; margin: 32px 0 12px; color: var(--dark); }
.miggy-wp-content .entry-body h3 { font-size: 20px; font-weight: 600; margin: 28px 0 10px; color: var(--dark); }
.miggy-wp-content .entry-body h4 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; color: var(--dark); }
.miggy-wp-content .entry-body p  { margin: 0 0 16px; }
.miggy-wp-content .entry-body ul,
.miggy-wp-content .entry-body ol { margin: 0 0 16px; padding-left: 24px; }
.miggy-wp-content .entry-body li { margin-bottom: 6px; }
.miggy-wp-content .entry-body a  { color: var(--primary); text-decoration: underline; }
.miggy-wp-content .entry-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.miggy-wp-content .entry-body blockquote {
  border-left: 4px solid var(--primary);
  margin: 20px 0;
  padding: 12px 20px;
  background: var(--primary-light, #fff8f0);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--text-muted);
}
.miggy-wp-content .entry-body table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.miggy-wp-content .entry-body th,
.miggy-wp-content .entry-body td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.miggy-wp-content .entry-body th { background: var(--bg); font-weight: 600; }
/* Gutenberg block styles */
.miggy-wp-content .wp-block-image img { border-radius: 8px; }
.miggy-wp-content .wp-block-buttons .wp-block-button__link {
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  padding: 10px 22px;
  font-weight: 600;
  text-decoration: none;
}
.miggy-wp-content .wp-block-separator { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
@media (max-width: 600px) {
  .miggy-wp-content { padding: 32px 0 48px; }
  .miggy-wp-content .entry-title { font-size: 24px; }
}

/* ============================================================
   FAQ Section
   ============================================================ */
.faq-section {
  padding: 72px 0 80px;
  background: linear-gradient(160deg, var(--gray-50) 0%, #fff 60%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.faq-section::before {
  content: 'FAQ';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 220px;
  font-weight: 900;
  color: rgba(246,139,30,0.045);
  letter-spacing: -8px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Top label row */
.faq-top-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.faq-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  flex-shrink: 0;
}
.faq-top-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--primary), transparent);
  opacity: .3;
}

/* Two-column layout */
.faq-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

/* ---- Sidebar ---- */
.faq-sidebar { position: sticky; top: 90px; }

.faq-main-heading {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.faq-main-heading span { color: var(--primary); }

.faq-subtext {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.faq-subtext strong { color: var(--dark); }

/* Stats row */
.faq-sidebar-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.faq-stat { display: flex; flex-direction: column; gap: 2px; }
.faq-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.faq-stat-lbl {
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* Contact card */
.faq-contact-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.faq-contact-card::before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(246,139,30,.25) 0%, transparent 70%);
  top: -30px; right: -30px;
  border-radius: 50%;
}
.faq-contact-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.faq-contact-avatar {
  width: 40px; height: 40px;
  background: rgba(246,139,30,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.faq-contact-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.faq-contact-sub {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.4;
}
.faq-contact-actions { display: flex; gap: 8px; }
.faq-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.faq-contact-btn:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }
.faq-btn-whatsapp { background: #25D366; color: #fff; }
.faq-btn-call     { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.15); }

/* ---- Accordion list ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover { border-color: var(--gray-300); box-shadow: var(--shadow); }
.faq-item--open {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(246,139,30,.08), var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  transition: color var(--transition);
}
.faq-question:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; border-radius: var(--radius-lg); }
.faq-item--open .faq-question { color: var(--primary); }

.faq-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--gray-100);
  color: var(--gray-500);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .5px;
  transition: background var(--transition), color var(--transition);
}
.faq-item--open .faq-num {
  background: var(--primary-light);
  color: var(--primary);
}

.faq-q-text { flex: 1; line-height: 1.4; }

.faq-chevron-icon {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform var(--transition), color var(--transition);
}
.faq-item--open .faq-chevron-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Animated body */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .27s cubic-bezier(0.4,0,0.2,1);
}
.faq-body:not([hidden]) { max-height: none; }

.faq-body-inner {
  padding: 0 20px 20px 64px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-500);
}

/* Mobile */
@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .faq-sidebar { position: static; }
  .faq-main-heading { font-size: 26px; }
  .faq-section::before { display: none; }
}
@media (max-width: 600px) {
  .faq-section { padding: 48px 0 56px; }
  .faq-body-inner { padding-left: 20px; }
  .faq-num { display: none; }
}
