/* ==========================================================================
   IronFuel Store — Main Stylesheet
   ========================================================================== */

:root {
  --bg: #0d0f12;
  --bg-alt: #14171c;
  --bg-card: #1a1e24;
  --bg-card-hover: #20252c;
  --border: #262b33;
  --text: #f2f4f7;
  --text-muted: #9aa1ab;
  --text-dim: #6b7280;
  /* Main theme colors — change these two to re-theme the whole site */
  --primary-color: #ff6a00;
  --secondary-color: #c6ff2c;

  --accent: var(--primary-color);
  --accent-dark: color-mix(in srgb, var(--primary-color) 80%, black);
  --accent-2: var(--secondary-color);
  --danger: #ff4757;
  --success: #2ed573;
  --star: #ffc107;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --container: 1220px;
  --font: 'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, textarea, select { font-family: inherit; }

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

section { padding: 64px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head .tag {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-head p {
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 520px;
}

.link-more {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}
.link-more:hover { gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,106,0,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,106,0,.4); }
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light {
  background: var(--text);
  color: var(--bg);
}
.btn-light:hover { background: var(--accent-2); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar-left { display: flex; gap: 22px; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 18px; }
.topbar-right a:hover { color: var(--accent-2); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13,15,18,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.header.scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.5px; flex-shrink: 0; }
.logo .mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #0d0f12; font-weight: 900;
}
.logo span.hl { color: var(--accent); }

.nav-main { display: flex; align-items: center; gap: 34px; }
.nav-main a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}
.nav-main a:hover, .nav-main a.active { color: var(--text); }
.nav-main a.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 18px;
  transition: all .2s ease;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn .badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--accent-2); color: #0d0f12;
  font-size: 10.5px; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.search-box {
  display: flex; align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  width: 300px;
  transition: border-color .2s ease;
}
.search-box:focus-within { border-color: var(--accent); }
.search-box input {
  flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 14px; padding: 8px 0;
}
.search-box input::placeholder { color: var(--text-dim); }
.search-box button {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.burger { display: none; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); align-items: center; justify-content: center; font-size: 20px; }

.mobile-nav {
  display: none;
  position: fixed; inset: 0 0 0 auto;
  width: 82%; max-width: 340px; height: 100vh;
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
  z-index: 400;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 390;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-nav-close { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-card); display: flex; align-items: center; justify-content: center; margin-left: auto; margin-bottom: 20px; font-size: 18px; }
.mobile-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); font-weight: 600; }
.mobile-nav a.active { color: var(--accent); }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb .sep { color: var(--text-dim); }
.breadcrumb .current { color: var(--text); }
.page-title-block { padding: 40px 0 30px; text-align: center; background: radial-gradient(ellipse at top, rgba(255,106,0,.12), transparent 60%); }
.page-title-block h1 { font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.page-title-block p { color: var(--text-muted); margin-top: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 15% 20%, rgba(255,106,0,.18), transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 80%, rgba(198,255,44,.10), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  padding-top: 70px;
  padding-bottom: 70px;
  min-height: 560px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,106,0,.12); border: 1px solid rgba(255,106,0,.35);
  color: var(--accent);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.12; letter-spacing: -1.5px; }
.hero h1 .hl { color: transparent; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; }
.hero p.lead { color: var(--text-muted); font-size: 17px; margin: 22px 0 32px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div strong { font-size: 26px; font-weight: 800; display: block; }
.hero-stats div span { font-size: 13px; color: var(--text-muted); }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual .ring {
  width: 420px; height: 420px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,106,0,.25), rgba(198,255,44,.15));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-visual img { width: 88%; border-radius: 50%; object-fit: cover; aspect-ratio: 1/1; border: 6px solid var(--bg-card); box-shadow: var(--shadow); }
.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow);
  font-size: 13px;
  animation: floaty 4s ease-in-out infinite;
}
.floating-card.f1 { top: 8%; left: -6%; }
.floating-card.f2 { bottom: 10%; right: -8%; animation-delay: 1.2s; }
.floating-card .ic { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.floating-card strong { display: block; font-size: 14px; }
.floating-card span { color: var(--text-muted); font-size: 12px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Brands strip ---------- */
.brands-strip { border-bottom: 1px solid var(--border); padding: 30px 0; }
.brands-strip .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; opacity: .7; }
.brands-strip span { font-weight: 800; font-size: 18px; letter-spacing: 1px; color: var(--text-dim); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.cat-card .ic {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,106,0,.18), rgba(198,255,44,.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
}
.cat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.cat-card span { color: var(--text-muted); font-size: 13px; }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,106,0,.4); box-shadow: var(--shadow); }
.product-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-alt); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-thumb img { transform: scale(1.08); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge-pill { font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px; letter-spacing: .3px; }
.badge-sale { background: var(--danger); color: #fff; }
.badge-new { background: var(--accent-2); color: #0d0f12; }
.badge-hot { background: var(--accent); color: #fff; }
.product-quick { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(8px); transition: all .25s ease; z-index: 2; }
.product-card:hover .product-quick { opacity: 1; transform: translateX(0); }
.product-quick button {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(13,15,18,.85); border: 1px solid var(--border); color: var(--text);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.product-quick button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--accent-2); font-weight: 700; }
.product-name { font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.product-name a:hover { color: var(--accent); }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); }
.stars { color: var(--star); letter-spacing: 1px; font-size: 13px; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price-now { font-size: 18px; font-weight: 800; color: var(--accent-2); }
.price-old { font-size: 13px; color: var(--text-dim); text-decoration: line-through; }
.product-foot { padding: 0 18px 18px; margin-top: auto; }
.add-cart-btn {
  width: 100%; padding: 11px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--border); font-weight: 700; font-size: 13.5px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .2s ease;
}
.add-cart-btn:hover { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); border-color: transparent; color: #fff; }

/* ---------- Filters / toolbar ---------- */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.filter-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px; }
.filter-box h4 { font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.filter-list li { padding: 9px 0; display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--text-muted); border-bottom: 1px dashed var(--border); }
.filter-list li:last-child { border-bottom: none; }
.filter-list label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.filter-list input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
.filter-list li:hover { color: var(--text); }
.filter-list .count { font-size: 12px; color: var(--text-dim); }
.price-range input[type=range] { width: 100%; accent-color: var(--accent); margin: 10px 0; }
.price-range-vals { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-muted); }
.tag-cloud a:hover { border-color: var(--accent); color: var(--accent); }

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 20px; margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.toolbar .result-count { font-size: 14px; color: var(--text-muted); }
.toolbar .result-count strong { color: var(--text); }
.toolbar-right { display: flex; align-items: center; gap: 14px; }
.toolbar select {
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--text);
  padding: 9px 14px; border-radius: 8px; font-size: 13.5px; outline: none;
}
.view-toggle { display: flex; gap: 6px; }
.view-toggle button { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.view-toggle button.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-muted);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); aspect-ratio: 1/1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery-thumbs button { width: 78px; height: 78px; border-radius: 10px; overflow: hidden; border: 2px solid var(--border); opacity: .7; }
.gallery-thumbs button.active { border-color: var(--accent); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-cat { color: var(--accent-2); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; }
.pd-title { font-size: 30px; font-weight: 800; margin: 10px 0 12px; line-height: 1.3; }
.pd-meta { display: flex; align-items: center; gap: 18px; font-size: 13.5px; color: var(--text-muted); margin-bottom: 18px; flex-wrap: wrap; }
.pd-meta .stars { font-size: 15px; }
.pd-price { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.pd-price .now { font-size: 30px; font-weight: 800; color: var(--accent-2); }
.pd-price .old { font-size: 16px; color: var(--text-dim); text-decoration: line-through; }
.pd-price .save { background: rgba(255,71,87,.15); color: var(--danger); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pd-desc { color: var(--text-muted); margin-bottom: 22px; }
.pd-list { margin: 0 0 24px; }
.pd-list li { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--text-muted); }
.pd-list li::before { content: '✓'; color: var(--accent-2); font-weight: 800; }

.pd-options { margin-bottom: 22px; }
.pd-options label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 10px; }
.option-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.option-pills button { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--bg-card); font-size: 13.5px; font-weight: 600; }
.option-pills button.active { border-color: var(--accent); background: rgba(255,106,0,.12); color: var(--accent); }

.pd-buy-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.qty-box { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty-box button { width: 42px; height: 46px; font-size: 18px; font-weight: 700; }
.qty-box button:hover { background: var(--bg-card); color: var(--accent); }
.qty-box input { width: 46px; text-align: center; background: none; border: none; outline: none; color: var(--text); font-size: 15px; font-weight: 700; }
.pd-buy-row .btn-primary { flex: 1; min-width: 200px; }
.wish-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.wish-btn:hover, .wish-btn.active { border-color: var(--danger); color: var(--danger); }

.pd-trust { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border); }
.pd-trust div { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-muted); }
.pd-trust .ic { font-size: 20px; }

.pd-tabs { margin-top: 60px; }
.tab-heads { display: flex; gap: 8px; border-bottom: 1px solid var(--border); margin-bottom: 28px; flex-wrap: wrap; }
.tab-heads button { padding: 14px 22px; font-weight: 700; font-size: 14.5px; color: var(--text-muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tab-heads button.active { color: var(--text); border-color: var(--accent); }
.tab-panel { display: none; color: var(--text-muted); }
.tab-panel.active { display: block; }
.tab-panel table { width: 100%; border-collapse: collapse; }
.tab-panel table td { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.tab-panel table td:first-child { color: var(--text); font-weight: 600; width: 220px; }

.review-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.review-item .avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #0d0f12; flex-shrink: 0; }
.review-item .rh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-item .rh strong { color: var(--text); font-size: 14.5px; }
.review-item .rh span { font-size: 12.5px; color: var(--text-dim); }
.review-item p { font-size: 14px; }

/* ---------- Related products ---------- */
.related { margin-top: 70px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s ease; }
.news-card:hover { transform: translateY(-6px); border-color: rgba(255,106,0,.4); box-shadow: var(--shadow); }
.news-thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-thumb img { transform: scale(1.08); }
.news-body { padding: 20px; }
.news-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-dim); margin-bottom: 10px; }
.news-meta span { display: flex; align-items: center; gap: 5px; }
.news-cat { color: var(--accent); font-weight: 700; }
.news-title { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.news-title a:hover { color: var(--accent); }
.news-excerpt { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.news-readmore { font-size: 13px; font-weight: 700; color: var(--accent-2); }

.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; }
.article-hero { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; aspect-ratio: 16/8; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-title { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.article-body { color: var(--text-muted); font-size: 16px; }
.article-body p { margin-bottom: 18px; }
.article-body h3 { color: var(--text); font-size: 21px; margin: 30px 0 14px; font-weight: 700; }
.article-body ul { margin: 0 0 18px 20px; list-style: disc; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { border-left: 3px solid var(--accent); padding: 6px 20px; margin: 24px 0; font-style: italic; color: var(--text); }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0; }
.article-tags a { font-size: 12.5px; padding: 6px 14px; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); }
.article-share { display: flex; align-items: center; gap: 12px; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.article-share span { font-weight: 700; font-size: 13.5px; }
.share-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.share-ic:hover { background: var(--accent); border-color: var(--accent); }

.author-box { display: flex; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 34px; }
.author-box .avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #0d0f12; font-size: 20px; }
.author-box strong { font-size: 15px; }
.author-box p { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

.comments-block { margin-top: 40px; }
.comment-item { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-item .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.comment-item .ch { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-item strong { font-size: 14px; }
.comment-item span { font-size: 12px; color: var(--text-dim); }
.comment-item p { font-size: 14px; color: var(--text-muted); }
.comment-item .reply-link { font-size: 12.5px; color: var(--accent-2); font-weight: 700; margin-top: 6px; display: inline-block; }
.comment-item.reply { margin-left: 58px; }

.comment-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-top: 20px; }
.comment-form h4 { margin-bottom: 18px; }

/* Sidebar */
.sidebar-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 22px; }
.sidebar-box h4 { font-size: 15.5px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.side-search { display: flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.side-search input { flex: 1; background: none; border: none; outline: none; color: var(--text); padding: 12px 16px; font-size: 13.5px; }
.side-search button { width: 44px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.side-post { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.side-post:last-child { border-bottom: none; }
.side-post img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.side-post h5 { font-size: 13.5px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.side-post span { font-size: 11.5px; color: var(--text-dim); }
.side-cats li { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; color: var(--text-muted); border-bottom: 1px dashed var(--border); }
.side-cats li:last-child { border-bottom: none; }
.side-cats li:hover { color: var(--text); }
.newsletter-box { background: linear-gradient(135deg, rgba(255,106,0,.15), rgba(198,255,44,.08)); border: 1px solid rgba(255,106,0,.3); }
.newsletter-box input { width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: var(--text); margin: 14px 0; font-size: 13.5px; outline: none; }
.newsletter-box input:focus { border-color: var(--accent); }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; }
.testi-track { display: flex; gap: 24px; overflow: hidden; }
.testi-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; min-width: calc(33.333% - 16px); flex-shrink: 0;
}
.testi-card .stars { margin-bottom: 14px; }
.testi-card p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 20px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-person strong { display: block; font-size: 14px; }
.testi-person span { font-size: 12.5px; color: var(--text-dim); }
.testi-nav { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.testi-nav button { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); }
.testi-nav button:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Stats / USP ---------- */
.usp-strip { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
.usp-item { display: flex; align-items: center; gap: 14px; }
.usp-item .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.usp-item strong { display: block; font-size: 14.5px; }
.usp-item span { font-size: 12.5px; color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, #ff6a00, #cc5500 60%, #14171c);
  border-radius: var(--radius-lg);
  padding: 54px 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: 30px; font-weight: 800; color: #fff; max-width: 480px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-top: 10px; }

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-hero img { border-radius: var(--radius-lg); aspect-ratio: 4/3.4; object-fit: cover; }
.about-hero .tag { color: var(--accent); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; }
.about-hero h2 { font-size: 34px; font-weight: 800; margin: 12px 0 18px; }
.about-hero p { color: var(--text-muted); margin-bottom: 14px; }

.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; text-align: center; }
.mission-card .ic { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(255,106,0,.2), rgba(198,255,44,.12)); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.mission-card h3 { font-size: 17px; margin-bottom: 10px; }
.mission-card p { color: var(--text-muted); font-size: 14px; }

.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-left: 64px; margin-bottom: 34px; }
.timeline-item::before { content: ''; position: absolute; left: 16px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 4px solid var(--bg); box-shadow: 0 0 0 2px var(--accent); }
.timeline-item strong { color: var(--accent-2); font-size: 13px; }
.timeline-item h4 { font-size: 17px; margin: 6px 0; }
.timeline-item p { color: var(--text-muted); font-size: 14px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-align: center; }
.team-card img { aspect-ratio: 1/1; object-fit: cover; }
.team-card .info { padding: 18px; }
.team-card h4 { font-size: 15.5px; }
.team-card span { font-size: 12.5px; color: var(--accent-2); }
.team-social { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.team-social a { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 12.5px; }
.team-social a:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; }
.contact-info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px; display: flex; gap: 16px; align-items: flex-start; }
.contact-info-card .ic { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,106,0,.2), rgba(198,255,44,.12)); display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; }
.contact-info-card h4 { font-size: 15px; margin-bottom: 6px; }
.contact-info-card p { color: var(--text-muted); font-size: 13.5px; }
.contact-social { display: flex; gap: 10px; margin-top: 6px; }
.contact-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.contact-social a:hover { background: var(--accent); border-color: var(--accent); }

.contact-form-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--text); outline: none; font-size: 14px;
  transition: border-color .2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12.5px; color: var(--text-dim); margin-top: 10px; }
.form-success { display: none; background: rgba(46,213,115,.12); border: 1px solid rgba(46,213,115,.4); color: var(--success); padding: 14px 18px; border-radius: 10px; font-size: 13.5px; margin-bottom: 18px; align-items: center; gap: 10px; }
.form-success.show { display: flex; }

.map-box { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/6; margin-top: 40px; }
.map-box iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; font-weight: 700; font-size: 15px; }
.faq-q .plus { font-size: 20px; color: var(--accent); transition: transform .25s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 22px 20px; color: var(--text-muted); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-about p { color: var(--text-muted); font-size: 13.5px; margin: 16px 0 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer h5 { font-size: 15px; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); font-size: 13.5px; }
.footer-links a:hover { color: var(--accent-2); }
.footer-contact li { display: flex; gap: 10px; color: var(--text-muted); font-size: 13.5px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--accent-2); }
.payment-icons { display: flex; gap: 8px; }
.payment-icons span { background: var(--bg-card); border: 1px solid var(--border); padding: 5px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--text-muted); }

.back-to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 300;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0d0f12; font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all .25s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.toast {
  position: fixed; top: 100px; right: 26px; z-index: 500;
  background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--accent-2);
  padding: 14px 20px; border-radius: 10px; box-shadow: var(--shadow);
  font-size: 13.5px; display: flex; align-items: center; gap: 10px;
  transform: translateX(120%); transition: transform .3s ease;
}
.toast.show { transform: translateX(0); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state .ic { font-size: 48px; margin-bottom: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-card { min-width: calc(50% - 12px); }
}
@media (max-width: 860px) {
  .nav-main, .search-box, .topbar { display: none; }
  .burger { display: flex; }
  .mobile-nav, .mobile-nav-overlay { display: block; }
  .hero h1 { font-size: 38px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header .container { height: 70px; }
  .logo { font-size: 18px; }
  .logo .mark { width: 36px; height: 36px; font-size: 16px; }
  section { padding: 44px 0; }
  .hero h1 { font-size: 30px; }
  .section-head h2 { font-size: 24px; }
  .product-grid, .cat-grid, .news-grid, .mission-grid, .team-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 34px 24px; flex-direction: column; text-align: center; }
  .cta-banner .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .testi-card { min-width: 100%; }
  .pd-buy-row { flex-direction: column; align-items: stretch; }
  .pd-buy-row .btn-primary { width: 100%; }
}
