:root {
  --bg: #0d0d0d;
  --bg-alt: #161616;
  --card: #1a1a1a;
  --card-border: #2a2a2a;
  --text: #f5f5f5;
  --text-dim: #a8a8a8;
  --accent: #ff6a00;
  --accent-dark: #cc5500;
  --success: #2ecc71;
  --radius: 10px;
  --max-width: 1280px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
}

.search-box {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 8px 16px;
  min-width: 180px;
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
}

.search-box input::placeholder { color: var(--text-dim); }

.whatsapp-btn {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.whatsapp-btn:hover { background: var(--accent-dark); }

.main-nav {
  border-top: 1px solid var(--card-border);
}

.main-nav .container {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 12px 24px;
}

.main-nav button {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.main-nav button:hover { color: var(--text); }
.main-nav button.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #2a1300 0, var(--bg) 60%);
  padding: 64px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text { flex: 1 1 380px; }

.hero-text h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero-text h1 .accent { color: var(--accent); }

.hero-text p {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 460px;
  margin: 0 0 28px;
}

.brand-strip-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 0 26px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 14px;
}

.hero-cta:hover { background: var(--accent); color: #fff; }

.hero-images {
  flex: 1 1 320px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hero-images img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  transition: opacity 1.2s ease-in-out;
}

.hero-images img.fade { opacity: 0; }

.hero-images img:first-child {
  grid-column: span 2;
  height: 200px;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  border-bottom: 1px solid var(--card-border);
  background: var(--bg-alt);
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 22px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.trust-item .icon {
  font-size: 22px;
  color: var(--accent);
}

.trust-item b { display: block; font-size: 13px; }
.trust-item span.desc { color: var(--text-dim); font-size: 12px; }

/* ---------- Categories ---------- */
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 48px 0 20px;
}

.section-title h2 {
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0;
}

.section-title h2 .accent { color: var(--accent); }
.section-title p { color: var(--text-dim); font-size: 13px; margin: 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.category-card .cat-label {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
}

.category-card .cat-label .accent { color: var(--accent); display: block; }
.category-card .cat-count { color: var(--text-dim); font-size: 12px; margin-top: 6px; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  padding-bottom: 60px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.product-card .thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-card .info { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }

.product-card .brand {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-card .name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
}

.product-card .sizes {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.product-card .buy-btn {
  margin-top: auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--success);
  color: #08260f;
  font-weight: 800;
  font-size: 13px;
  padding: 10px;
  border-radius: 6px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.product-card .buy-btn:hover { filter: brightness(1.08); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--card-border);
  background: var(--bg-alt);
  padding: 36px 24px 20px;
  color: var(--text-dim);
  font-size: 13px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer .brand-line {
  font-weight: 800;
  color: var(--text);
}

.site-footer .brand-line .accent { color: var(--accent); }

.site-footer .admin-link {
  color: var(--text-dim);
  font-size: 12px;
  opacity: 0.6;
}

.site-footer .admin-link:hover { opacity: 1; }

/* ---------- Responsive nav toggle ---------- */
@media (max-width: 640px) {
  .header-inner { padding: 12px 16px; }
  .search-box { order: 3; flex-basis: 100%; }
  .hero { padding: 40px 16px; }
  .container { padding: 0 16px; }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card .badge { font-size: 9px; padding: 3px 7px; top: 6px; left: 6px; }
  .product-card .info { padding: 8px 10px 10px; }
  .product-card .brand { font-size: 9px; margin-bottom: 2px; }
  .product-card .name { font-size: 12px; margin-bottom: 8px; }
  .product-card .sizes { font-size: 10px; margin-bottom: 6px; }
  .product-card .buy-btn { padding: 8px; font-size: 10px; }
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  cursor: zoom-out;
}

.lightbox-overlay.open { display: flex; }

.lightbox-overlay img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
