@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ================================================
   KOLDIS — style.css
   Global styles, variables, layout components
================================================ */

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

:root {
  --accent:       #FF5722;
  --accent-h:     #FF7043;
  --accent-bg:    rgba(255,87,34,0.08);
  --accent-bg2:   rgba(255,87,34,0.15);
  --green:        #22C55E;
  --purple:       #8B5CF6;
  --blue:         #3B82F6;
  --font-d: 'Syne', sans-serif;
  --font-b: 'DM Sans', sans-serif;
  --ease: 0.2s ease;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --max: 1160px;
}

[data-theme="dark"] {
  --bg:      #0C0C0C;
  --bg2:     #141414;
  --bg3:     #1E1E1E;
  --bg4:     #282828;
  --text:    #F0F0F0;
  --muted:   #888;
  --faint:   #444;
  --border:  rgba(255,255,255,0.07);
  --bh:      rgba(255,87,34,0.35);
  --nav-bg:  rgba(12,12,12,0.92);
  --shadow:  0 8px 32px rgba(0,0,0,0.5);
}

[data-theme="light"] {
  --bg:      #F6F4F1;
  --bg2:     #FFFFFF;
  --bg3:     #EEECE9;
  --bg4:     #E4E2DE;
  --text:    #111;
  --muted:   #666;
  --faint:   #BBB;
  --border:  rgba(0,0,0,0.08);
  --bh:      rgba(255,87,34,0.4);
  --nav-bg:  rgba(246,244,241,0.92);
  --shadow:  0 8px 32px rgba(0,0,0,0.1);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 14px;
  line-height: 1.55;
  transition: background var(--ease), color var(--ease);
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-b); }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ================================================
   SCROLLBAR
================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ================================================
   NAVIGATION
================================================ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -1.5px;
  color: var(--text);
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  padding: 7px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-links a.active { color: var(--accent); background: var(--accent-bg); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-wrap {
  position: relative;
}
.search-wrap .s-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
}

.search-bar {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 12px 8px 32px;
  color: var(--text);
  font-size: 13px;
  width: 200px;
  outline: none;
  transition: all var(--ease);
}
.search-bar::placeholder { color: var(--muted); }
.search-bar:focus { border-color: var(--accent); width: 240px; }

.icon-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all var(--ease);
}
.icon-btn:hover { border-color: var(--accent); }

.cart-btn {
  background: var(--accent);
  border: none;
  border-radius: var(--r-sm);
  padding: 9px 16px;
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background var(--ease), transform 0.1s;
}
.cart-btn:hover { background: var(--accent-h); transform: translateY(-1px); }

.cart-pill {
  background: white;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  border-radius: 10px;
  padding: 1px 6px;
  min-width: 18px;
  text-align: center;
}

/* ================================================
   PAGE SYSTEM (SPA)
================================================ */
.page { display: none; animation: fadeIn 0.25s ease; }
.page.active { display: block; }

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

/* ================================================
   SHARED COMPONENTS
================================================ */

/* Section wrapper */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 28px;
}
.section-sm { padding: 40px 28px; }

/* Section header */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
}
.sec-title {
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.sec-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.see-all {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  transition: opacity var(--ease);
}
.see-all:hover { opacity: 0.7; }

/* Tags */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
}
.tag-hot    { background: var(--accent); color: #fff; }
.tag-new    { background: var(--green);  color: #fff; }
.tag-sale   { background: var(--purple); color: #fff; }
.tag-blue   { background: var(--blue);   color: #fff; }

/* Buttons */
.btn {
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 26px;
  transition: all var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* Card */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
}
.card:hover { border-color: var(--bh); transform: translateY(-3px); }

/* Badge pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.badge-accent { background: var(--accent-bg); color: var(--accent); }
.badge-green  { background: rgba(34,197,94,0.1); color: var(--green); }

/* Stars */
.stars { color: #FFC107; font-size: 12px; letter-spacing: 1px; }

/* Price */
.price     { font-family: var(--font-d); font-size: 18px; font-weight: 800; color: var(--accent); }
.price-lg  { font-size: 28px; }
.price-old { font-size: 12px; color: var(--faint); text-decoration: line-through; margin-left: 4px; }

/* Divider */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* Page hero banner */
.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 48px 28px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-d);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}
.page-hero p { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 16px 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.breadcrumb span { color: var(--faint); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--text); }

/* ================================================
   PRODUCT CARD
================================================ */
.product-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--ease);
  position: relative;
}
.product-card:hover {
  border-color: var(--bh);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pc-img {
  background: var(--bg3);
  padding: 32px;
  text-align: center;
  font-size: 56px;
  position: relative;
  transition: background var(--ease);
}
.pc-img-tag { position: absolute; top: 12px; left: 12px; }

.pc-wish {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all var(--ease);
  color: var(--muted);
}
.pc-wish:hover, .pc-wish.on { border-color: var(--accent); color: var(--accent); }

.pc-info { padding: 16px; }
.pc-brand { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--faint); margin-bottom: 4px; }
.pc-name  { font-family: var(--font-d); font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; color: var(--text); }
.pc-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.pc-rating-n { font-size: 11px; color: var(--muted); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; }

.add-btn {
  background: var(--accent);
  border: none;
  border-radius: var(--r-sm);
  padding: 8px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: all var(--ease);
}
.add-btn:hover { background: var(--accent-h); }
.add-btn.added { background: var(--green); }

/* ================================================
   TOAST NOTIFICATION
================================================ */
#toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 14px 20px;
  font-size: 14px;
  box-shadow: var(--shadow);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}
#toast.show { transform: translateY(0); opacity: 1; }

/* ================================================
   FOOTER
================================================ */
#footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: 40px;
  transition: background var(--ease);
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 28px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo { margin-bottom: 14px; display: inline-block; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 240px; margin-bottom: 20px; }
.contact-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 9px; }
.contact-line a { color: var(--muted); transition: color var(--ease); }
.contact-line a:hover { color: var(--accent); }
.footer-col h4 { font-family: var(--font-d); font-size: 13px; font-weight: 700; margin-bottom: 18px; color: var(--text); }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: var(--muted); transition: color var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 12px; color: var(--faint); }
.footer-bottom .ac { color: var(--accent); font-weight: 600; }
.pay-icons { display: flex; gap: 8px; }
.pay-icon {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

/* ================================================
   HOME PAGE
================================================ */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px 28px 56px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-d);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 36px; max-width: 420px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-right { position: relative; }
.hero-glow {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,87,34,0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.hero-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px 28px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: background var(--ease);
}
.hero-card-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.hero-emoji { font-size: 82px; margin-bottom: 18px; display: block; }
.hero-card-name { font-family: var(--font-d); font-size: 17px; font-weight: 700; margin-bottom: 10px; }

/* Stats bar */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
}
.stat { flex: 1; padding: 22px 16px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-d); font-size: 24px; font-weight: 800; color: var(--accent); }
.stat-lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Category cards */
.cats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--ease);
}
.cat-card:hover { border-color: var(--accent); background: var(--accent-bg); transform: translateY(-2px); }
.cat-icon { font-size: 30px; margin-bottom: 10px; display: block; }
.cat-name { font-size: 12px; font-weight: 500; color: var(--muted); }

/* Products grid */
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

/* Tabs */
.tabs-bar {
  display: flex;
  gap: 4px;
  background: var(--bg3);
  border-radius: var(--r-sm);
  padding: 4px;
  width: fit-content;
  margin-bottom: 28px;
}
.tab {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  transition: all var(--ease);
}
.tab.on { background: var(--accent); color: #fff; font-weight: 600; }

/* Promo banner */
.promo-banner {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: background var(--ease);
}
.promo-glow {
  position: absolute;
  right: -60px; top: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,87,34,0.12), transparent 70%);
  pointer-events: none;
}
.promo-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.promo-banner h2 {
  font-family: var(--font-d);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.promo-banner p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.timer { display: flex; gap: 10px; }
.time-block {
  background: var(--accent-bg);
  border: 1px solid rgba(255,87,34,0.2);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  text-align: center;
  min-width: 62px;
}
.time-num { font-family: var(--font-d); font-size: 26px; font-weight: 800; color: var(--accent); display: block; }
.time-lbl { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-top: 2px; }
.promo-emoji { font-size: 110px; filter: drop-shadow(0 0 28px rgba(255,87,34,0.2)); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: background var(--ease);
}
.testi-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d);
  font-weight: 700; font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 14px; }
.testi-loc  { font-size: 12px; color: var(--muted); }
.testi-text { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ================================================
   PRODUCTS PAGE
================================================ */
.products-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }

.filter-sidebar {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  position: sticky;
  top: 78px;
  transition: background var(--ease);
}
.filter-group { margin-bottom: 26px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-title { font-family: var(--font-d); font-size: 13px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.filter-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  transition: all var(--ease);
  margin-bottom: 2px;
}
.filter-option:hover { background: var(--bg3); color: var(--text); }
.filter-option.on { background: var(--accent-bg); color: var(--accent); }
.filter-option input[type=checkbox] { accent-color: var(--accent); }

.products-main {}
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
  flex-wrap: wrap;
}
.results-count { font-size: 13px; color: var(--muted); }
.results-count b { color: var(--text); }
.sort-select {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text);
  outline: none;
  font-family: var(--font-b);
  transition: border-color var(--ease);
}
.sort-select:focus { border-color: var(--accent); }

.products-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pg-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg2);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.pg-btn:hover { border-color: var(--accent); color: var(--accent); }
.pg-btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ================================================
   BRANDS PAGE
================================================ */
.brands-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.brand-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--ease);
}
.brand-card:hover { border-color: var(--bh); transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-logo-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  background: var(--bg3);
}
.brand-name { font-family: var(--font-d); font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.brand-cat  { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.brand-count { font-size: 13px; font-weight: 600; color: var(--accent); }

/* ================================================
   OFFRES PAGE
================================================ */
.deals-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 52px 28px;
  text-align: center;
}
.deals-hero h1 { font-family: var(--font-d); font-size: 48px; font-weight: 800; letter-spacing: -2px; margin-bottom: 10px; }
.deals-hero h1 em { color: var(--accent); font-style: normal; }
.deals-hero p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

.deals-timer { display: flex; gap: 12px; justify-content: center; }

.flash-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

.deal-big {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all var(--ease);
}
.deal-big:hover { border-color: var(--bh); box-shadow: var(--shadow); }
.deal-big-img { background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 96px; padding: 40px; }
.deal-big-info { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.deal-big-info h3 { font-family: var(--font-d); font-size: 26px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
.deal-big-info p { color: var(--muted); font-size: 14px; margin-bottom: 20px; line-height: 1.7; }
.savings-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.1);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  width: fit-content;
}

/* ================================================
   SUPPORT PAGE
================================================ */
.support-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 52px; }
.support-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--ease);
  cursor: pointer;
}
.support-card:hover { border-color: var(--bh); transform: translateY(-3px); }
.support-icon { font-size: 36px; margin-bottom: 14px; }
.support-card h3 { font-family: var(--font-d); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.support-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--ease);
}
.faq-item.open { border-color: var(--accent); }
.faq-q {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: color var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-arrow { font-size: 18px; transition: transform var(--ease); color: var(--muted); }
.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 22px 18px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-form-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
}
.contact-form-card h3 { font-family: var(--font-d); font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-b);
  outline: none;
  transition: border-color var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 110px; }

.contact-info-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info-card h3 { font-family: var(--font-d); font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.ci-item:last-child { border-bottom: none; }
.ci-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.ci-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.ci-val { font-size: 15px; font-weight: 600; }
.ci-val a { color: var(--text); transition: color var(--ease); }
.ci-val a:hover { color: var(--accent); }
.ci-note { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Map placeholder */
.map-placeholder {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 32px;
  margin-top: 20px;
}
.map-placeholder p { font-size: 13px; }

/* ================================================
   MOBILE BOTTOM NAV BAR
================================================ */
#mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  transition: background var(--ease);
}
.mob-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--ease);
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-b);
  position: relative;
}
.mob-nav-item .mn-icon { font-size: 20px; line-height: 1; }
.mob-nav-item .mn-label { font-size: 10px; font-weight: 500; letter-spacing: 0.2px; }
.mob-nav-item.active { color: var(--accent); }
.mob-nav-item .mob-badge {
  position: absolute;
  top: 2px; right: 8px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 800;
  border-radius: 10px;
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
}

/* ================================================
   MOBILE SEARCH OVERLAY
================================================ */
#mobile-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
#mobile-search-overlay.open { display: flex; }
.mob-search-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px;
  width: calc(100% - 32px);
  max-width: 480px;
}
.mob-search-box input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 16px;
  font-size: 16px;
  color: var(--text);
  font-family: var(--font-b);
  outline: none;
  margin-bottom: 12px;
}
.mob-search-box input:focus { border-color: var(--accent); }
.mob-search-close {
  display: flex;
  justify-content: center;
}

/* ================================================
   MOBILE FILTER DRAWER
================================================ */
#filter-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 350;
}
#filter-drawer.open { display: block; }
.fd-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
}
.fd-panel {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 85%;
  max-width: 320px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: 24px 20px calc(24px + 80px);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
#filter-drawer.open .fd-panel { transform: translateX(0); }
.fd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.fd-header h3 { font-family: var(--font-d); font-size: 18px; font-weight: 700; }
.fd-close {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--muted);
}

/* ================================================
   RESPONSIVE — TABLET (≤ 900px)
================================================ */
@media (max-width: 900px) {

  /* Nav: hide links & search, show icons only */
  .nav-links { display: none; }
  .search-wrap { display: none; }
  .nav-inner { gap: 12px; }
  .cart-btn span:not(.cart-pill) { display: none; }
  .cart-btn { padding: 9px 12px; }

  /* Hero: stack vertically */
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 20px 36px;
    gap: 36px;
    text-align: center;
  }
  .hero h1 { font-size: 40px; letter-spacing: -1.5px; }
  .hero-sub { margin: 0 auto 28px; }
  .hero-ctas { justify-content: center; }
  .hero-right { justify-content: center; }

  /* Stats */
  .stats-inner { padding: 0 16px; flex-wrap: wrap; }
  .stat { min-width: 33%; border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(3), .stat:nth-child(5) { border-right: none; }

  /* Products grids */
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid-3 { grid-template-columns: repeat(2,1fr); }
  .flash-grid { grid-template-columns: repeat(2,1fr); }

  /* Categories */
  .cats-grid { grid-template-columns: repeat(3, 1fr); }

  /* Brands */
  .brands-grid { grid-template-columns: repeat(3,1fr); }

  /* Support */
  .support-grid { grid-template-columns: repeat(2,1fr); }

  /* Products layout: hide sidebar */
  .products-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }

  /* Deal big: stack */
  .deal-big { grid-template-columns: 1fr; }
  .deal-big-img { padding: 32px; font-size: 72px; }
  .deal-big-info { padding: 28px 24px; }
  .deal-big-info h3 { font-size: 20px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Promo banner */
  .promo-banner { padding: 36px 28px; flex-direction: column; gap: 28px; text-align: center; }
  .promo-banner h2 { font-size: 26px; }
  .promo-emoji { font-size: 72px; }
  .timer { justify-content: center; }

  /* Page hero */
  .page-hero h1 { font-size: 32px; }
  .page-hero { padding: 36px 20px; }

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

  /* Section padding */
  .section { padding: 40px 20px; }
  .sec-title { font-size: 22px; }

  /* Why KOLDIS */
  .why-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ================================================
   RESPONSIVE — MOBILE (≤ 600px)
================================================ */
@media (max-width: 600px) {

  /* Show mobile bottom nav */
  #mobile-nav { display: block; }

  /* Add bottom padding so content isn't behind bottom nav */
  body { padding-bottom: 80px; }

  /* Nav: minimal */
  .nav-inner { padding: 0 16px; gap: 8px; height: 56px; }
  .logo { font-size: 19px; }
  .icon-btn { width: 34px; height: 34px; font-size: 14px; }
  .cart-btn { padding: 8px 10px; gap: 4px; }

  /* Hero */
  .hero { padding: 28px 16px 24px; gap: 28px; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-sub { font-size: 14px; margin-bottom: 24px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-card { width: 100%; max-width: 300px; padding: 24px 20px 20px; }
  .hero-emoji { font-size: 60px; margin-bottom: 12px; }
  .hero-card-name { font-size: 14px; }
  .price-lg { font-size: 22px; }

  /* Stats */
  .stats-inner { flex-direction: column; }
  .stat { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 14px 16px; }
  .stat:last-child { border-bottom: none; }
  .stat-num { font-size: 20px; }

  /* Sections */
  .section { padding: 28px 16px; }
  .section-sm { padding: 20px 16px; }
  .sec-head { margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
  .sec-title { font-size: 20px; }

  /* Categories: 2x3 grid */
  .cats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat-card { padding: 14px 6px; border-radius: var(--r-md); }
  .cat-icon { font-size: 22px; margin-bottom: 6px; }
  .cat-name { font-size: 10px; }

  /* Products: 2 cols */
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .products-grid-3 { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .flash-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }

  .pc-img { padding: 20px; font-size: 44px; }
  .pc-info { padding: 12px; }
  .pc-name { font-size: 13px; }
  .price { font-size: 15px; }
  .add-btn { padding: 7px 10px; font-size: 11px; }

  /* Tabs */
  .tabs-bar { overflow-x: auto; width: 100%; scrollbar-width: none; }
  .tabs-bar::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; font-size: 12px; padding: 7px 14px; }

  /* Promo banner */
  .promo-banner { padding: 28px 20px; border-radius: var(--r-lg); }
  .promo-banner h2 { font-size: 22px; }
  .time-num { font-size: 20px; }
  .time-block { min-width: 50px; padding: 8px 10px; }
  .promo-emoji { font-size: 56px; }

  /* Testimonials: 1 col */
  .testimonials-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Brands: 2 col */
  .brands-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .brand-card { padding: 22px 16px; }
  .brand-logo-circle { width: 52px; height: 52px; font-size: 24px; }
  .brand-name { font-size: 15px; }

  /* Support: 1 col */
  .support-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
  .support-card { padding: 20px; }

  /* FAQ */
  .faq-q { font-size: 13px; padding: 14px 16px; }
  .faq-a { font-size: 13px; }
  .faq-item.open .faq-a { padding: 0 16px 14px; }

  /* Contact form */
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-form-card { padding: 22px 18px; border-radius: var(--r-lg); }
  .contact-info-card { padding: 22px 18px; border-radius: var(--r-lg); }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 16px 20px; }
  .footer-brand p { max-width: 100%; }

  /* Page hero */
  .page-hero { padding: 28px 16px; }
  .page-hero h1 { font-size: 26px; letter-spacing: -0.5px; }
  .page-hero p { font-size: 14px; }

  /* Deal big */
  .deal-big { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .deal-big-img { font-size: 56px; padding: 24px; }
  .deal-big-info { padding: 22px 20px; }
  .deal-big-info h3 { font-size: 18px; }
  .deal-big-info p { font-size: 13px; margin-bottom: 14px; }

  /* Promo codes: 1 col */
  .promo-codes-grid { grid-template-columns: 1fr !important; }

  /* Products toolbar */
  .products-toolbar { gap: 8px; }
  .sort-select { font-size: 12px; padding: 7px 10px; }

  /* Deals hero */
  .deals-hero { padding: 36px 16px; }
  .deals-hero h1 { font-size: 32px; letter-spacing: -1px; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }

  /* Toast */
  #toast { left: 16px; right: 16px; bottom: 90px; font-size: 13px; }

  /* Buttons */
  .btn { padding: 11px 20px; font-size: 13px; }
  .btn-sm { padding: 8px 14px; font-size: 12px; }
}
