:root {
  --anark-black: #050505;
  --anark-black-2: #111111;
  --anark-dark: #1A1A1A;
  --anark-red: #E50914;
  --anark-red-hot: #FF1010;
  --anark-white: #FFFFFF;
  --anark-muted: #BDBDBD;
  --anark-line: #2A2A2A;
  --header-h: 84px;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.anark-body {
  margin: 0;
  min-height: 100%;
  font-family: var(--body);
  background: var(--anark-black);
  color: var(--anark-white);
  padding-top: var(--header-h);
  line-height: 1.5;
  overflow-x: hidden;
}
main { transition: opacity 0.12s linear; }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.anark-header {
  height: var(--header-h);
  background: rgba(5, 5, 5, 0.94);
  border-bottom: 1px solid var(--anark-line);
  backdrop-filter: blur(12px);
}

.anark-header .container-xl {
  height: var(--header-h);
}

.brand-logo {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.anark-nav .nav-link {
  color: var(--anark-white) !important;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 8px 10px !important;
  text-transform: uppercase;
}

.anark-nav .nav-link:hover,
.anark-nav .nav-link.active {
  color: var(--anark-red) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--anark-white);
  background: transparent;
  border: 0;
  position: relative;
}

.icon-btn:hover { color: var(--anark-red); }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--anark-red);
  color: var(--anark-white);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.search-panel {
  display: none;
  position: absolute;
  top: var(--header-h);
  right: 12px;
  width: min(420px, calc(100vw - 24px));
  background: var(--anark-black-2);
  border: 1px solid var(--anark-line);
  padding: 12px;
  z-index: 30;
}

.search-panel.is-open { display: block; }

.search-panel input {
  width: 100%;
  background: var(--anark-dark);
  border: 1px solid var(--anark-line);
  color: var(--anark-white);
  padding: 10px 12px;
}

.search-panel input:focus {
  outline: none;
  border-color: var(--anark-red);
}

.navbar-toggler {
  border: 1px solid var(--anark-line);
  color: var(--anark-white);
}

.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991px) {
  .navbar-collapse {
    background: #050505;
    border-top: 1px solid var(--anark-line);
    margin-top: 10px;
    padding: 12px 0 16px;
  }
}

.messages-wrap { padding-top: 18px; }

.flash {
  background: var(--anark-black-2);
  border: 1px solid var(--anark-line);
  padding: 12px 16px;
  margin-bottom: 8px;
}

.flash.success { border-color: #2ecc71; }
.flash.error { border-color: var(--anark-red); }

.hero-anark {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  height: 68vh;
  max-height: 720px;
  display: flex;
  align-items: center;
  background-color: #000;
  background-image:
    radial-gradient(ellipse 50% 75% at 78% 48%, rgba(229, 9, 20, 0.34), transparent 64%),
    radial-gradient(ellipse 36% 50% at 90% 72%, rgba(255, 16, 16, 0.16), transparent 70%),
    linear-gradient(90deg, #050505 0%, #070707 42%, #0a0002 100%);
}

.hero-anark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.48) 38%,
    rgba(0, 0, 0, 0.08) 68%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.hero-anark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0) 0%, var(--anark-black) 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  align-items: center;
  gap: 16px 32px;
  width: 100%;
}

.hero-copy {
  max-width: 34rem;
}

.hero-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-emblem img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(94%, 676px);
  max-height: min(55vw, 546px);
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0 36px rgba(229, 9, 20, 0.28));
}

.hero-anark h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 0.94;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero-anark h1 span {
  display: block;
  color: var(--anark-white);
}

.hero-anark h1 .accent {
  color: var(--anark-red);
  text-shadow: 0 0 28px rgba(229, 9, 20, 0.35);
}

.hero-anark .lead {
  color: #e8e8e8;
  max-width: 36ch;
  font-size: 18px;
  line-height: 1.45;
}

.section-anark { padding: 72px 0; }

.section-title {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.btn-anark,
.anark-body .btn-anark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--anark-red);
  color: var(--anark-white);
  border: 1px solid var(--anark-red);
  padding: 12px 22px;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  transition: 0.2s ease;
}

.btn-anark:hover {
  background: var(--anark-red-hot);
  color: var(--anark-white);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.28);
}

.btn-anark-ghost {
  background: transparent;
  color: var(--anark-white);
  border: 1px solid var(--anark-red);
}

.btn-anark-ghost:hover {
  background: rgba(229, 9, 20, 0.12);
  color: var(--anark-white);
}

.cat-card {
  display: block;
  background: var(--anark-black-2);
  border: 1px solid #222;
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cat-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.cat-card span {
  display: block;
  padding: 14px 16px 16px;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 15px;
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--anark-red);
  box-shadow: 0 10px 28px rgba(229, 9, 20, 0.12);
}

.product-card {
  background: var(--anark-black-2);
  border: 1px solid #1f1f1f;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #3a3a3a;
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.12);
}

.product-photo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #0b0b0b;
}
.product-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 480px;
}
.product-photo {
  height: 220px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(229, 9, 20, 0.12), transparent 55%),
    #0b0b0b;
  color: var(--anark-red);
  font-family: var(--display);
  font-size: 64px;
  letter-spacing: 0.04em;
}
.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  min-height: 0;
}
.product-card-cart {
  padding: 0 16px 16px;
}

.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 16px; margin: 0; min-height: 42px; }
.product-meta { color: var(--anark-muted); font-size: 13px; }
.price-now { font-family: var(--display); font-size: 22px; letter-spacing: 0.04em; }
.price-old { color: var(--anark-muted); text-decoration: line-through; margin-right: 8px; font-size: 14px; }
.stock-ok { color: #d0d0d0; font-size: 12px; }
.stock-no { color: var(--anark-red); font-size: 12px; }

.mayorista-band {
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(229, 9, 20, 0.2), transparent 60%),
    var(--anark-black-2);
  border-top: 1px solid var(--anark-line);
  border-bottom: 1px solid var(--anark-line);
}

.mayorista-band li { margin-bottom: 8px; }
.mayorista-band li::marker { color: var(--anark-red); }

.minimo-box {
  border: 1px solid var(--anark-red);
  padding: 22px;
  text-align: center;
}

.minimo-box b {
  display: block;
  font-family: var(--display);
  font-size: 36px;
  color: var(--anark-red);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--anark-red);
  color: var(--anark-white);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.benefit-item h3 {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-block {
  background: var(--anark-black-2);
  border: 1px solid var(--anark-line);
  padding: 28px;
}

.anark-footer {
  background: var(--anark-black);
  border-top: 1px solid var(--anark-line);
  padding: 48px 0 24px;
  color: var(--anark-muted);
}

.anark-footer a:hover { color: var(--anark-white); }
.anark-footer .brand-logo { height: 58px; margin-bottom: 12px; }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  background: #25D366;
  color: #052e12;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.wa-float small { font-size: 13px; font-weight: 800; }

.form-shell {
  max-width: 520px;
  margin: 48px auto;
  background: var(--anark-black-2);
  border: 1px solid var(--anark-line);
  padding: 32px;
}

.anark-body form p { margin-bottom: 14px; }
.anark-body label { display: block; color: var(--anark-muted); font-size: 13px; margin-bottom: 6px; }
.anark-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.anark-body select,
.anark-body textarea {
  width: 100%;
  background: #141414;
  color: var(--anark-white);
  border: 1px solid #333;
  padding: 11px 12px;
}

.anark-body input:focus,
.anark-body select:focus,
.anark-body textarea:focus {
  outline: none;
  border-color: var(--anark-red);
}

.anark-body .errorlist { color: var(--anark-red); list-style: none; padding: 0; font-size: 13px; }
.helptext { color: var(--anark-muted); font-size: 12px; }

.table-anark {
  width: 100%;
  border-collapse: collapse;
}

.table-anark th,
.table-anark td {
  border-bottom: 1px solid var(--anark-line);
  padding: 14px 10px;
  text-align: left;
  vertical-align: middle;
}

.total-highlight {
  font-family: var(--display);
  font-size: 32px;
  color: var(--anark-white);
}

.minimo-bar {
  background: var(--anark-dark);
  border: 1px solid var(--anark-line);
  padding: 14px 16px;
  margin: 18px 0;
}

.minimo-bar .track {
  height: 6px;
  background: #222;
  margin-top: 10px;
}

.minimo-bar .fill {
  height: 6px;
  background: var(--anark-red);
  max-width: 100%;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.summary-box {
  background: var(--anark-black-2);
  border: 1px solid var(--anark-line);
  padding: 22px;
  height: fit-content;
}

.admin-stat {
  background: var(--anark-black-2);
  border: 1px solid var(--anark-line);
  padding: 20px;
}

.admin-stat span {
  color: var(--anark-muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-stat b {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  margin-top: 8px;
}

.admin-stat.alert b { color: var(--anark-red); }

.admin-nav a {
  color: var(--anark-muted);
  margin-right: 16px;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

.admin-nav a:hover { color: var(--anark-red); }

.qty { max-width: 84px; }

.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--anark-line);
  background: #141414;
  max-width: 100%;
}
.qty-stepper .qty,
.qty-stepper input.qty,
.anark-body .qty-stepper input:not([type=checkbox]):not([type=radio]):not([type=hidden]) {
  width: 64px !important;
  max-width: 72px;
  min-width: 48px;
  height: 44px;
  text-align: center;
  border: 0 !important;
  padding: 0 4px;
  background: transparent;
}
.qty-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 0;
  background: #1a1a1a;
  color: var(--anark-white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.qty-btn:hover,
.qty-btn:focus {
  background: var(--anark-red);
  outline: none;
}
.qty-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.qty-remove {
  background: none;
  border: 0;
  color: var(--anark-muted);
  font-size: 13px;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
.qty-remove:hover { color: var(--anark-red); }
.product-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  max-width: 100%;
}
.product-buy-qty {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-subtotal {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0;
}
.product-buy .btn-anark {
  min-height: 48px;
  padding-left: 22px;
  padding-right: 22px;
}

.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--anark-line);
  background: #141414;
  max-width: 100%;
}
.qty-stepper input.qty,
.qty-stepper .qty {
  width: 64px !important;
  max-width: 72px;
  height: 44px;
  text-align: center;
  border: 0 !important;
  padding: 0 4px;
  margin: 0;
}
.qty-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 0;
  background: #1a1a1a;
  color: var(--anark-white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.qty-btn:hover,
.qty-btn:focus {
  background: var(--anark-red);
  color: var(--anark-white);
}
.qty-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.qty-remove {
  background: none;
  border: 0;
  color: var(--anark-muted);
  font-size: 13px;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
.qty-remove:hover { color: var(--anark-red); }
.product-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 420px;
}
.product-buy-qty {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-subtotal {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0;
}
.product-buy .btn-anark {
  min-height: 48px;
  padding-left: 22px;
  padding-right: 22px;
}

.product-detail-photo {
  min-height: 420px;
  display: grid;
  place-items: center;
  background: #0b0b0b;
  border: 1px solid var(--anark-line);
  font-family: var(--display);
  font-size: 120px;
  color: var(--anark-red);
}

.account-menu {
  min-width: 220px;
  background: var(--anark-black-2);
  border: 1px solid var(--anark-line);
}

.account-menu .dropdown-item { color: var(--anark-white); }
.account-menu .dropdown-item:hover { background: #1A1A1A; color: var(--anark-red); }

.filters a {
  display: inline-block;
  border: 1px solid var(--anark-line);
  color: var(--anark-muted);
  padding: 6px 12px;
  margin: 0 6px 8px 0;
  font-size: 13px;
}

.filters a.on,
.filters a:hover {
  border-color: var(--anark-red);
  color: var(--anark-white);
}

.catalog-filters {
  margin: 0 0 20px;
  border: 1px solid var(--anark-line);
  background: var(--anark-black-2);
  padding: 12px 14px;
}
.catalog-filters summary {
  cursor: pointer;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.catalog-filters-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 12px;
  align-items: end;
}
.catalog-filters-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--anark-muted);
  font-size: 12px;
}
.catalog-filters-form input,
.catalog-filters-form select {
  background: #0b0b0b;
  color: var(--anark-white);
  border: 1px solid var(--anark-line);
  padding: 8px 10px;
}
.catalog-filters-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
@media (min-width: 768px) {
  .catalog-filters summary { display: none; }
  .catalog-filters-form { display: grid !important; margin-top: 0; }
}

.badge-anark {
  display: inline-block;
  border: 1px solid var(--anark-line);
  padding: 2px 8px;
  font-size: 12px;
}

@media (max-width: 1199px) {
  .hero-layout { grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); }
  .hero-emblem img { max-width: min(100%, 572px); max-height: 468px; }
}

@media (max-width: 991px) {
  :root { --header-h: 72px; }
  .brand-logo { height: 52px; }
  .anark-header { height: auto; }
  .anark-header .container-xl { height: auto; padding-top: 10px; padding-bottom: 10px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .hero-anark {
    min-height: 560px;
    height: auto;
    max-height: none;
    padding: 56px 0 88px;
  }
  .hero-layout { grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr); }
  .hero-emblem img { max-width: 100%; max-height: 364px; }
  .search-panel { right: 8px; }
}

@media (max-width: 767px) {
  .hero-layout {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .hero-emblem {
    justify-content: center;
    width: 100%;
    order: 2;
  }
  .hero-copy { max-width: 100%; }
  .hero-emblem img { max-width: 94%; max-height: 325px; }
}

@media (max-width: 575px) {
  .qty-btn { width: 48px; min-width: 48px; height: 48px; }
  .qty-stepper .qty,
  .qty-stepper input.qty,
  .anark-body .qty-stepper input:not([type=checkbox]):not([type=radio]):not([type=hidden]) {
    height: 48px;
    width: 72px !important;
  }
  .product-buy .btn-anark { width: 100%; }
  .wa-float { right: 12px; bottom: 12px; padding: 8px 10px; }
  .hero-anark {
    min-height: 520px;
    padding: 40px 0 96px;
  }
  .hero-anark h1 { font-size: clamp(34px, 11vw, 52px); }
  .hero-emblem img { max-width: 100%; max-height: 286px; }
}

.product-photo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #0b0b0b;
}
.product-detail-photo img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--anark-line);
  background: rgba(5,5,5,.72);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.heart-btn.on { color: var(--anark-red); border-color: var(--anark-red); }
.product-card { position: relative; }
.suggest-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  max-height: 260px;
  overflow: auto;
}
.suggest-list a {
  display: block;
  padding: 8px 10px;
  color: #fff;
  border-bottom: 1px solid var(--anark-line);
}
.suggest-list a:hover { color: var(--anark-red); }
.pay-result {
  min-height: 52vh;
  display: flex;
  align-items: center;
}
.pay-card {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--anark-line);
  background: var(--anark-black-2);
  padding: 40px 28px;
  text-align: center;
}
.pay-card .ok { color: #4ade80; font-size: 42px; }
.pay-card .warn { color: #fbbf24; font-size: 42px; }
.pay-card .bad { color: var(--anark-red); font-size: 42px; }
.comprobante-sheet {
  background: #fff;
  color: #111;
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
}
.comprobante-sheet h1, .comprobante-sheet h2 { color: #111; font-family: var(--display); }
.comprobante-sheet table { width: 100%; }
.comprobante-sheet td, .comprobante-sheet th { border-bottom: 1px solid #ddd; padding: 8px; color: #111; }
@media print {
  .anark-header, .anark-footer, .wa-float, .no-print, .messages-wrap { display: none !important; }
  body.anark-body { padding: 0; background: #fff; color: #000; }
}

.pay-options { display: grid; gap: 8px; margin-bottom: 12px; }
.pay-option {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--anark-line);
  padding: 12px;
  background: var(--anark-black-2);
}
.pay-box {
  border: 1px solid var(--anark-line);
  padding: 14px;
  margin-bottom: 16px;
  background: #0b0b0b;
}
.pay-ok { color: #4ade80; font-weight: 700; }
.pay-wait { color: #fbbf24; font-weight: 700; }
.pay-bad { color: #E50914; font-weight: 700; }


