:root {
  --bg: #0a0a0a;
  --bg-soft: #141414;
  --surface: #1c1c1c;
  --surface-2: #242424;
  --text: #ffffff;
  --muted: #aaaaaa;
  --primary: #db1103;
  --primary-dark: #b00e02;
  --accent: #f5cc28;
  --accent-dark: #d4a017;
  --success: #87e617;
  --danger: #ff0000;
  --border: #333333;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  --radius: 10px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #000 url("../images/bg.jpg") repeat top center fixed;
  background-size: cover;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 17, 3, 0.55);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-img {
  height: 58px;
  width: auto;
  display: block;
}
.logo-text { display: none; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35rem;
}
.main-nav > a,
.nav-dropdown > a {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: #eee;
  font-weight: 600;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.main-nav > a:hover,
.nav-dropdown > a:hover,
.main-nav > a.is-active,
.nav-dropdown > a.is-active {
  background: var(--primary);
  color: #fff;
}
.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-drop-trigger .chevron {
  transition: transform .2s ease;
}
.nav-dropdown:hover .nav-drop-trigger .chevron,
.nav-dropdown.open .nav-drop-trigger .chevron {
  transform: rotate(180deg);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.header-cart {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #ff3b2e);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 18px rgba(219, 17, 3, 0.28);
  transition: transform .2s ease, filter .2s ease;
}
.header-cart:hover,
.header-cart.is-active {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.header-cart em {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  border: 1px solid var(--primary);
}

.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 720px);
  max-height: 420px;
  overflow: auto;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--primary);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.55);
  padding: 0.85rem;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}
.dropdown-grid-1 { grid-template-columns: 1fr; }
.dropdown-menu-sm {
  width: min(92vw, 380px);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #eee;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  border: 1px solid transparent;
}
.dropdown-menu a img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #333;
  background: #000;
  flex-shrink: 0;
}
.dropdown-menu a:hover {
  background: rgba(219, 17, 3, 0.15);
  border-color: rgba(219, 17, 3, 0.45);
  color: #fff;
}

.header-search {
  display: flex;
  gap: 0;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
  padding: 0.15rem 0.15rem 0.15rem 0.85rem;
}
.header-search input {
  width: 150px;
  border: 0;
  border-radius: 0;
  padding: 0.55rem 0.4rem;
  background: transparent;
  color: #fff;
  outline: none;
}
.header-search input::placeholder { color: #888; }
.header-search button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.btn:hover, .header-search button:hover { background: var(--primary-dark); }
.btn-primary { background: #333; color: #fff; }
.btn-primary:hover { background: #111; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: #fff;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.75rem; }
.section-head .btn-sm,
.carousel-actions .btn-sm {
  padding: 0.38rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  line-height: 1.2;
  min-height: auto;
  height: auto;
  align-self: center;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-main { min-height: 60vh; }

.hero {
  position: relative;
  color: #fff;
  padding: 0;
  background: #000;
  border-bottom: 3px solid var(--primary);
  overflow: hidden;
}
.hero-banner {
  min-height: clamp(220px, 42vw, 420px);
  position: relative;
}
.hero-banner-img {
  width: 100%;
  height: clamp(220px, 42vw, 420px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-slides {
  position: relative;
}
.hero-slide {
  display: none;
}
.hero-slide.is-active {
  display: block;
  animation: heroFade 0.6s ease;
}
@keyframes heroFade {
  from { opacity: 0.35; }
  to { opacity: 1; }
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
}
.hero-dot.is-active {
  background: var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
.hero p { color: #ccc; font-size: 1.05rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-card {
  background: rgba(0,0,0,0.72);
  border: 1px solid #333;
  border-top: 3px solid var(--primary);
  border-radius: 0;
  padding: 1.5rem;
}
.hero-card h3 { margin-top: 0; color: var(--accent); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.hero-stats div {
  background: #111;
  border: 1px solid #333;
  border-radius: 0;
  padding: 0.85rem;
  text-align: center;
}
.hero-stats strong { display: block; font-size: 1.25rem; color: var(--primary); }

.section { padding: 3.2rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.75rem;
}
.section-head h2 {
  margin: 0;
  font-size: 1.7rem;
  text-transform: uppercase;
  color: #fff;
}
.section-head p { margin: 0.35rem 0 0; color: var(--muted); }

.category-grid,
.product-grid,
.feature-grid {
  display: grid;
  gap: 1rem;
}
.category-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.category-filter-tabs a {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid #333;
  background: #111;
  color: #eee;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.category-filter-tabs a:hover,
.category-filter-tabs a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.categories-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.accessories-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.accessories-grid .cat-name {
  font-size: 0.72rem;
  line-height: 1.25;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.4rem;
}
@media (min-width: 700px) {
  .categories-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .accessories-grid .cat-name {
    font-size: 0.88rem;
  }
}
@media (min-width: 1000px) {
  .categories-page-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
  .accessories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
    gap: 1rem;
  }
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.feature-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.carousel-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background .2s ease, border-color .2s ease;
}
.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.category-carousel {
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  cursor: grab;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.category-carousel:active { cursor: grabbing; }
.category-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
  width: max-content;
}
.category-carousel .category-card {
  flex: 0 0 clamp(150px, 18vw, 200px);
}

.category-card,
.product-card,
.feature-card,
.content-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: none;
}

.category-card {
  padding: 0;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  border: 1px solid #333;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(219, 17, 3, 0.18);
}
.category-card .cat-thumb {
  aspect-ratio: 1;
  background: #111;
  overflow: hidden;
}
.category-card .cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.category-card:hover .cat-thumb img { transform: scale(1.06); }
.category-card .cat-name {
  display: block;
  padding: 0.75rem 0.8rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  background: #111;
  border-top: 2px solid var(--primary);
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}
.product-card .thumb {
  aspect-ratio: 1;
  background: #111;
  overflow: hidden;
  border-bottom: 2px solid var(--primary);
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.product-card .meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.35rem; }
.product-card h3 { margin: 0 0 0.5rem; font-size: 1.02rem; color: #fff; }
.product-card .actions { margin-top: auto; display: flex; gap: 0.5rem; flex-wrap: wrap; }

.feature-card { padding: 1.4rem; border-top: 3px solid var(--primary); }
.feature-card h3 { margin-top: 0; color: var(--accent); }

.why-section { padding-top: 0; }
.why-intro {
  margin-bottom: 1.25rem;
  border-top: 3px solid var(--primary);
}
.why-intro p {
  color: #ccc;
  margin: 0 0 0.85rem;
}
.why-intro p:last-child { margin-bottom: 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.why-card {
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 14px;
  padding: 1.25rem 1.3rem 1.4rem;
  border-top: 3px solid var(--primary);
}
.why-num {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}
.why-card h3 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: 1.05rem;
}
.why-card p {
  margin: 0;
  color: #bbb;
  font-size: 0.95rem;
}
.why-cta {
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 3px solid var(--primary);
}
.why-cta h3 {
  margin: 0 0 0.4rem;
  color: var(--accent);
}
.why-cta p {
  margin: 0;
  color: #ccc;
  max-width: 40rem;
}
.why-cta-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-banner,
  .hero-banner-img {
    height: clamp(180px, 48vw, 280px);
    min-height: clamp(180px, 48vw, 280px);
  }
}

.page-banner {
  background: linear-gradient(135deg, #050505 0%, #1a0505 45%, #111 100%);
  color: #fff;
  padding: 1.75rem 0 2rem;
  border-bottom: 3px solid var(--primary);
  position: relative;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at right top, rgba(219, 17, 3, 0.22), transparent 45%);
  pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  margin: 0.55rem 0 0.35rem;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.page-banner p { margin: 0; color: #ccc; }

.breadcrumb {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #aaa;
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: #777;
  font-weight: 700;
  margin-left: 0.15rem;
}
.breadcrumb a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.breadcrumb a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.breadcrumb .current {
  color: var(--accent);
  font-weight: 700;
}

.alert {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0;
  font-weight: 500;
}
.alert-success { background: #12300a; color: var(--success); border: 1px solid #2f5a14; }
.alert-error { background: #3a0a0a; color: #ff8a80; border: 1px solid #7a1f1f; }

.layout-2 {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  padding: 2rem 0 3rem;
}
.sidebar .panel { padding: 1.1rem; position: sticky; top: 90px; background: #111; }
.sidebar h3 {
  margin: 0 0 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.45rem;
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.55rem;
  border-radius: 0;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid #222;
  color: #eee;
}
.sidebar a img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  background: #000;
  border: 1px solid #333;
  flex-shrink: 0;
}
.sidebar a:hover,
.sidebar a.active {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.content-card { padding: 1.5rem; background: #1c1c1c; }
.prose p { color: #ccc; }
.prose h2, .prose h3 { margin-top: 1.5rem; color: #fff; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem 0 3rem;
}
.gallery-main {
  border-radius: 0;
  overflow: hidden;
  background: #111;
  aspect-ratio: 1;
  border: 1px solid #333;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.gallery-thumbs button {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid #333;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}
.gallery-thumbs button.active,
.gallery-thumbs button:hover { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-panel {
  background: #1c1c1c;
  border: 1px solid #333;
  border-top: 3px solid var(--primary);
  border-radius: 0;
  padding: 1.5rem;
}
.detail-panel .art { color: var(--muted); margin-bottom: 0.5rem; }
.qty-row { display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0; }
.qty-row input {
  width: 90px;
  padding: 0.65rem;
  border: 1px solid #555;
  border-radius: 0;
  background: #111;
  color: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 700; font-size: 0.92rem; color: #eee; }
.form-group input,
.form-group textarea,
.form-group select {
  border: 1px solid #555;
  border-radius: 0;
  padding: 0.75rem 0.9rem;
  background: #111;
  color: #fff;
}
.form-group textarea { min-height: 120px; resize: vertical; }

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #1c1c1c;
}
th, td {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid #2f2f2f;
  text-align: left;
  vertical-align: middle;
}
th { background: #111; font-size: 0.9rem; color: var(--accent); }
.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 0;
  object-fit: cover;
  background: #111;
  border: 1px solid #333;
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.factory-tile {
  min-height: 180px;
  border-radius: 0;
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid #333;
  border-top: 3px solid var(--primary);
}
.factory-tile:nth-child(2n) { background: linear-gradient(135deg, #1a0505, #3a0a0a); }
.factory-tile strong { color: var(--accent); }

.site-footer {
  background: #1c1c1c;
  color: #ccc;
  margin-top: 2rem;
  border-top: 3px solid var(--primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
  padding: 3rem 0 2rem;
}
.site-footer h3, .site-footer h4 { color: #fff; margin-top: 0; }
.social-links {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  background: #111;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.social-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}
.social-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); border-color: transparent; }
.social-linkedin { background: #0a66c2; border-color: transparent; }
.social-facebook { background: #1877f2; border-color: transparent; }
.social-btn.is-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.footer-links a, .footer-contact a { color: #ccc; }
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-links li, .footer-contact li { margin-bottom: 0.45rem; }
.footer-bottom {
  border-top: 1px solid #222;
  padding: 1rem 0;
  font-size: 0.9rem;
  background: #111;
}

.float-whatsapp,
.float-top {
  position: fixed;
  right: 18px;
  z-index: 90;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.float-whatsapp {
  bottom: 84px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
}
.float-top {
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  display: none;
}
.float-top.show { display: grid; place-items: center; }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.pagination {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.pagination a,
.pagination span {
  padding: 0.45rem 0.8rem;
  border-radius: 0;
  border: 1px solid #333;
  background: #1c1c1c;
  color: #fff;
}
.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .header-search { display: none; }
  .nav-toggle { display: inline-flex; }
  .logo-img { height: 48px; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 120;
    max-height: min(75vh, calc(100dvh - 80px));
    background: rgba(8, 8, 8, 0.98);
    border: 0;
    border-bottom: 2px solid rgba(219, 17, 3, 0.55);
    border-radius: 0;
    padding: 0.75rem 0.85rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav > a,
  .nav-dropdown,
  .nav-dropdown > a {
    display: block;
    width: 100%;
    border-radius: 12px;
    flex-shrink: 0;
  }
  .nav-dropdown > a.nav-drop-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  body.menu-open {
    overflow: hidden;
    height: 100%;
  }
  body.menu-open .site-header {
    z-index: 130;
  }
  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 1px solid #333;
    max-height: none;
    overflow: visible;
    display: none;
    margin-top: 0.4rem;
    padding: 0.5rem;
  }
  .nav-dropdown.open .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu { display: block; }
  /* Disable sticky hover open on touch/mobile — click controls it */
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open:hover .dropdown-menu { display: block; }
  .dropdown-grid { grid-template-columns: 1fr; }
  .hero-grid,
  .layout-2 {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none !important;
  }
  .product-detail,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .category-carousel .category-card {
    flex-basis: clamp(140px, 42vw, 180px);
  }
  .product-card .body {
    padding: 0.7rem;
  }
  .product-card h3 {
    font-size: 0.86rem;
    line-height: 1.3;
  }
  .product-card .meta {
    font-size: 0.72rem;
  }
  .product-card .actions {
    gap: 0.3rem;
  }
  .product-card .actions .btn-sm {
    padding: 0.35rem 0.5rem;
    font-size: 0.68rem;
  }
}
