/* Dab'z — negro / blanco / grises */

:root {
  --bg: #000000;
  --surface: #101010;
  --border: #333333;
  --text: #f5f5f5;
  --muted: #a8a8a8;
  --accent: #ffffff;
  --accent-dim: #737373;
  --accent-glow: rgba(255, 255, 255, 0.07);
  --danger: #e57373;
  --radius: 12px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --touch-min: 44px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -25%, var(--accent-glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(255, 255, 255, 0.04), transparent 50%),
    radial-gradient(ellipse 45% 35% at 0% 80%, rgba(255, 255, 255, 0.03), transparent 45%);
  color: var(--text);
  line-height: 1.55;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  z-index: 500;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.container.narrow {
  width: min(560px, 100% - 2rem);
}

.site-header {
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: var(--safe-top);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  min-height: calc(var(--touch-min) + 0.25rem);
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
}

.logo {
  font-weight: 700;
  font-size: clamp(1.1rem, 4vw, 1.25rem);
  color: var(--text);
  text-decoration: none;
  padding: 0.35rem 0;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.15);
}
.logo:hover {
  color: var(--text);
  text-decoration: none;
  opacity: 0.92;
}

.logo-img {
  height: 46px;
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  animation: logo-glow 4.8s ease-in-out infinite;
}

.logo-text {
  letter-spacing: -0.02em;
}

@keyframes logo-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 transparent);
    transform: translateY(0);
  }
  45% {
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.35));
  }
  50% {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-img {
    animation: none;
  }
  .nav a,
  .nav-link {
    transition: none;
  }
  .product-card {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }
  .product-card:hover {
    transform: none;
  }
  .btn {
    transition: none;
  }
  .btn:active {
    transform: none;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 38px;
    max-width: min(168px, 56vw);
  }
}

.nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-shrink: 0;
}
.nav a,
.nav-link {
  color: var(--text);
  font-weight: 500;
  padding: 0.45rem 0.65rem;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 8px;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.nav a:hover,
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
.nav a:active,
.nav-link:active {
  background: rgba(255, 255, 255, 0.1);
}
.nav-link.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
}

/* Iconos inline (SVG) */
.icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  display: block;
}
.icon--lg {
  width: 1.85rem;
  height: 1.85rem;
}
.icon--btn {
  width: 1.1rem;
  height: 1.1rem;
}
.icon--inline {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  display: inline-block;
}
.icon--footer {
  width: 1rem;
  height: 1rem;
  vertical-align: -0.12em;
  margin-right: 0.25rem;
}

.btn .icon--btn {
  margin-right: 0.15rem;
}

/* Páginas legales (privacidad, términos, etc.) */
.legal-doc {
  padding-bottom: 2.5rem;
}
.legal-page-wrap {
  width: min(720px, 100% - 2rem);
  margin: 0 auto;
  padding-top: 0.5rem;
}
.legal-page {
  padding-bottom: 2rem;
}
.legal-page-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.legal-page-meta {
  margin: 0 0 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.legal-page-body h2 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.legal-page-body h2:first-child {
  margin-top: 0;
}
.legal-page-body p {
  margin: 0 0 0.85rem;
  color: rgba(245, 245, 245, 0.92);
  line-height: 1.6;
  font-size: 0.95rem;
}
.legal-page-body a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page-body code {
  font-size: 0.88em;
  padding: 0.12em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
}
.legal-page-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: rgba(245, 245, 245, 0.92);
  line-height: 1.55;
  font-size: 0.95rem;
}
.legal-page-list li + li {
  margin-top: 0.35rem;
}
.legal-page-back {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}

/* Página contacto */
.contact-page-wrap {
  width: min(960px, 100% - 2rem);
}
.contact-page {
  padding-bottom: 3rem;
}
.contact-page-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.contact-page-title-icon {
  color: var(--muted);
}
.contact-page-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 1.75rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.contact-card--wide {
  grid-column: 1 / -1;
}
@media (min-width: 720px) {
  .contact-card--wide {
    grid-column: span 2;
  }
}
.contact-card-icon {
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.contact-card-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.contact-card-title {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
}
.contact-card-text {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
}
.contact-card-text.muted {
  color: var(--muted);
  font-size: 0.92rem;
}
.contact-card-note {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.contact-card-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-map-section {
  margin-bottom: 2.25rem;
  padding: 1.35rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-map-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.contact-map-heading-icon {
  color: var(--muted);
}
.contact-map-lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.45;
}
.contact-map-frame {
  position: relative;
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
  aspect-ratio: 16 / 10;
  min-height: 220px;
}
.contact-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-map-actions {
  margin: 1rem 0 0;
}

.contact-back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-weight: 500;
}

.contact-open-row {
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}
.contact-open-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.contact-open-badge--open {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.45);
}
.contact-open-badge--closed {
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.35);
}
.contact-open-hint {
  font-size: 0.82rem;
  color: var(--muted);
}
.contact-hours-list {
  margin: 0 0 0.65rem;
  padding-left: 1.2rem;
  color: var(--text);
  line-height: 1.55;
}
.contact-hours-list li + li {
  margin-top: 0.25rem;
}

.contact-form-section {
  position: relative;
  margin-bottom: 2.25rem;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.35rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
  background:
    linear-gradient(165deg, rgba(28, 28, 28, 0.98) 0%, rgba(12, 12, 12, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--radius) + 6px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.contact-form-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.contact-form-title-icon {
  color: var(--muted);
}
.contact-form-lead {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.5;
}
.contact-form-grid {
  display: grid;
  gap: 0 1.15rem;
  grid-template-columns: 1fr 1fr;
}
.contact-form-grid-span {
  grid-column: 1 / -1;
}
.contact-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form .field {
  margin-bottom: 1.15rem;
}
.contact-form .field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.55);
  margin-bottom: 0.45rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  padding: 0.8rem 1rem;
  min-height: 2.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.contact-form input::placeholder {
  color: rgba(168, 168, 168, 0.65);
}
.contact-form input:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.contact-form input:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.55);
}
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  min-height: 9rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.contact-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.contact-form textarea:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.55);
}
.contact-form .optional {
  font-weight: 500;
  color: rgba(168, 168, 168, 0.85);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: none;
}
.contact-form-privacy {
  margin: 0.5rem 0 1.15rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  color: rgba(168, 168, 168, 0.95);
  line-height: 1.45;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-form .btn.btn-primary {
  min-width: min(100%, 14rem);
  padding: 0.75rem 1.35rem;
  font-weight: 600;
}
@media (max-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form .btn.btn-primary {
    width: 100%;
    justify-content: center;
  }
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: #000000;
  font-size: 0.75rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
}

#main.main:focus {
  outline: none;
}

#main.main:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 4px;
}

.main {
  min-height: 50vh;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98) 0%, var(--surface) 100%);
  padding: 2rem 0 calc(2rem + var(--safe-bottom));
  margin-top: auto;
}

.footer-inner {
  width: min(720px, 100% - 2rem);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  text-decoration: none;
}
.footer-logo-link:hover {
  text-decoration: none;
  opacity: 0.92;
}
.footer-logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.footer-logo {
  width: auto;
  max-width: 132px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

.footer-brand-text {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 36ch;
}

.footer-nav {
  width: 100%;
  padding: 0.85rem 0 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.1rem;
  row-gap: 0.65rem;
}

.footer-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  opacity: 0.88;
}
.footer-nav-list a:hover {
  opacity: 1;
  color: var(--accent);
  text-decoration: underline;
}
.footer-nav-list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-copy {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-inner .footer-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.45;
}

.footer-dev {
  margin: 0 !important;
  padding-top: 0.15rem;
  font-size: 0.82rem !important;
}

.footer-dev a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-dev a:hover {
  color: var(--text);
}

.footer-nav-list .icon--footer {
  margin-right: 0;
}

/* Botón flotante WhatsApp (sitio público; no admin) */
.wa-float {
  position: fixed;
  right: max(1rem, var(--safe-right));
  bottom: max(1rem, var(--safe-bottom));
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}
.wa-float:hover {
  text-decoration: none;
  transform: scale(1.06);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 0, 0, 0.1);
}
.wa-float:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}
.wa-float-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.wa-float-icon {
  display: block;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-top: 0;
}

h2,
h3 {
  margin-top: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.main.home {
  position: relative;
}

/* ——— Carrusel principal (inicio, autoplay) ——— */
.hero-carousel {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  min-height: 280px;
  max-height: min(62vh, 520px);
}

@media (min-width: 721px) {
  .hero-carousel-viewport {
    aspect-ratio: 2 / 1;
    min-height: 320px;
    max-height: min(72vh, 680px);
  }
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.85s linear;
  z-index: 0;
}

.hero-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}

.hero-carousel-slide:not(.is-active) {
  pointer-events: none;
}

.hero-carousel-slide--solid[data-theme="1"] {
  background:
    radial-gradient(ellipse 90% 70% at 20% 30%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(255, 255, 255, 0.05), transparent 50%),
    linear-gradient(155deg, #0a0a0a 0%, #141414 45%, #050505 100%);
}

.hero-carousel-slide--solid[data-theme="2"] {
  background:
    radial-gradient(ellipse 85% 65% at 75% 25%, rgba(255, 255, 255, 0.07), transparent 50%),
    linear-gradient(165deg, #080808 0%, #121212 50%, #000000 100%);
}

.hero-carousel-slide--solid[data-theme="3"] {
  background:
    radial-gradient(ellipse 70% 60% at 15% 75%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(145deg, #0d0d0d 0%, #0a0a0a 40%, #000000 100%);
}

.hero-carousel-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-carousel-img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}

.hero-carousel-slide.is-active .hero-carousel-img {
  transform: scale(1);
}

.hero-carousel-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.45) 42%,
    rgba(0, 0, 0, 0.28) 100%
  );
  pointer-events: none;
}

.hero-carousel-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(0, min(1100px, calc(100% - 2rem))) 1fr;
  align-items: end;
  box-sizing: border-box;
  padding: clamp(1.5rem, 5vw, 3rem) max(1rem, env(safe-area-inset-right))
    clamp(2.25rem, 5vw, 3.5rem) max(1rem, env(safe-area-inset-left));
  pointer-events: none;
}

.hero-carousel-copy {
  grid-column: 2;
  justify-self: start;
  box-sizing: border-box;
  width: 100%;
  max-width: min(34rem, 100%);
  padding-bottom: 0.25rem;
  pointer-events: auto;
}

.hero-carousel-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 4.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero-carousel-sub {
  margin: 0 0 1.15rem;
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  color: rgba(245, 245, 245, 0.85);
  line-height: 1.45;
  max-width: 38ch;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.hero-carousel-cta {
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.12);
}

.hero-carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-carousel-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #525252, #fafafa);
}

@keyframes dabz-carousel-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-carousel-nav {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(0.25rem, env(safe-area-inset-left)) 0 max(0.25rem, env(safe-area-inset-right));
  pointer-events: none;
}

.hero-carousel-nav-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 0.15rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.42);
  color: #fafafa;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hero-carousel-nav-btn:hover {
  background: rgba(0, 0, 0, 0.62);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-carousel-nav-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero-carousel-nav-btn:active {
  transform: scale(0.94);
}

.hero-carousel-nav-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.hero-carousel-dots {
  position: absolute;
  bottom: max(0.65rem, env(safe-area-inset-bottom));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem;
  max-width: calc(100% - 7rem);
  pointer-events: none;
}

.hero-carousel-dot {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hero-carousel-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.hero-carousel-dot.is-active::before {
  background: var(--accent);
  transform: scale(1.28);
}

.hero-carousel-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide {
    transition-duration: 0.35s;
  }

  .hero-carousel-img {
    transition: none;
    transform: none !important;
  }
}

/* Carrusel: transición más corta cuando el JS marca preferencia reducida (sigue rotando) */
.hero-carousel.hero-carousel--reduce-motion .hero-carousel-slide {
  transition-duration: 0.22s;
}

.grid-section {
  margin-top: 2.5rem;
}

.category-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: var(--touch-min);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
}
.chip:hover {
  border-color: #737373;
  text-decoration: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.product-card:hover {
  border-color: #525252;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}
.product-card a {
  display: block;
  padding: 0 0 1rem;
  color: inherit;
  text-decoration: none;
}
.product-card h2,
.product-card h3 {
  font-size: 1rem;
  margin: 0.5rem 1rem 0.25rem;
  line-height: 1.3;
}
.product-card .meta {
  margin: 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.product-card .price {
  margin: 0.25rem 1rem 0;
  font-weight: 600;
  color: var(--accent);
}

.product-card-img {
  height: clamp(140px, 38vw, 180px);
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  position: relative;
  overflow: hidden;
}

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

.price.big {
  font-size: 1.35rem;
}

.product-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.product-visual {
  min-height: 240px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #141414, #080808);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-visual img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  align-items: center;
  line-height: 1.4;
}

.prose {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  min-height: var(--touch-min);
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.15);
  transition:
    filter 0.15s var(--ease-out),
    border-color 0.15s var(--ease-out),
    background-color 0.15s var(--ease-out),
    transform 0.12s var(--ease-out);
}
.btn:hover {
  text-decoration: none;
  filter: brightness(1.06);
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #000000;
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-whatsapp {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-whatsapp:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  text-decoration: none;
}

/* Ficha de producto: CTA WhatsApp con verde de marca oficial */
.product-buy-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.35rem;
  align-items: stretch;
  max-width: 22rem;
}
.product-buy-actions .btn {
  justify-content: center;
  width: 100%;
  max-width: 100%;
}
.btn-product-wa {
  background: #25d366;
  color: #ffffff;
  border-color: #128c7e;
  font-weight: 600;
}
.btn-product-wa:hover {
  background: #20bd5a;
  color: #ffffff;
  border-color: #0f7a6e;
  text-decoration: none;
}
.btn-product-wa .icon {
  color: inherit;
}
.product-buy-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}
.product-buy-note code {
  font-size: 0.85em;
}

.product-cta-card .product-buy-actions {
  max-width: none;
  margin-top: 0;
}

.btn-small {
  font-size: 0.875rem;
  padding: 0.35rem 0.75rem;
}

.field {
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  min-height: var(--touch-min);
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0a0a0a;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

input[type="text"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="email"]:focus-visible,
input[type="number"]:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: #555555;
}

.input-qty {
  width: 5rem;
  max-width: 100%;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.cart-table th,
.cart-table td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.cart-table th {
  color: var(--muted);
  font-weight: 500;
}

.cart-total {
  font-size: 1.15rem;
  margin-top: 1rem;
}

.cart-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.link-btn {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  padding: 0.35rem 0;
  min-height: var(--touch-min);
  text-align: left;
}

.link-btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--danger);
  text-decoration: none;
  font-weight: 600;
}

.link-btn-block:hover {
  border-color: var(--danger);
  text-decoration: none;
}

@media (min-width: 641px) {
  .cart-remove-cell .link-btn-block {
    display: inline;
    width: auto;
    min-height: unset;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    font-weight: inherit;
    justify-content: flex-start;
    color: var(--danger);
    text-decoration: underline;
  }

  .cart-remove-cell .link-btn-block:hover {
    border: none;
    text-decoration: underline;
  }
}

.empty-msg {
  color: var(--muted);
}

.lead {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 62ch;
}

.checkout-summary,
.order-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.summary-list {
  margin: 0;
  padding-left: 1.2rem;
}
.summary-list li {
  margin: 0.35rem 0;
}

.kv {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kv li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}
.kv span {
  color: var(--muted);
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.alert-warn {
  background: #2a1f14;
  border-color: #6b4a28;
}
.alert-success {
  background: #171717;
  border-color: #404040;
}

.catalog-toolbar {
  margin-bottom: 1.5rem;
}
.filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.filter-form select {
  width: auto;
  min-width: min(200px, 100%);
}

.pay-actions {
  margin-top: 1.5rem;
}
.pay-actions h2 {
  margin-top: 1.75rem;
}
.mt-2 {
  margin-top: 1.5rem;
}

.back-link {
  margin-top: 2rem;
}

code {
  font-size: 0.9em;
  background: #0a0a0a;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.add-form {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 1rem;
  align-items: end;
}

.add-form label {
  grid-column: 1 / -1;
}

@media (min-width: 521px) {
  .add-form .input-qty {
    grid-column: 1;
  }

  .add-form .btn-primary {
    grid-column: 2;
    justify-self: start;
    min-width: min(100%, 14rem);
  }
}

@media (max-width: 520px) {
  .add-form {
    grid-template-columns: 1fr;
  }

  .add-form .input-qty,
  .add-form .btn-primary {
    grid-column: 1;
    width: 100%;
  }

  .add-form .input-qty {
    max-width: none;
  }
}

/* Verificación de edad (smoke shop). El panel admin usa body.admin-body y debe poder hacer scroll. */
html:not(.age-verified) body:not(.admin-body) {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, var(--safe-top)) max(1rem, var(--safe-right))
    max(1rem, var(--safe-bottom)) max(1rem, var(--safe-left));
}

html.age-verified .age-gate {
  display: none !important;
}

.age-gate[hidden] {
  display: none !important;
}

.age-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
}

.age-gate-panel {
  position: relative;
  width: min(420px, 100%);
  max-height: min(560px, 85dvh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.age-gate-logo-wrap {
  margin: 0 0 1rem;
  text-align: center;
}

.age-gate-logo {
  max-width: min(200px, 70vw);
  height: auto;
  max-height: 52px;
  width: auto;
  object-fit: contain;
  object-position: center;
  display: inline-block;
  vertical-align: middle;
}

.age-gate-brand {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.age-gate-heading {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.age-gate-text {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.age-gate-legal {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.age-gate-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 48px;
}

.age-gate-noscript {
  margin: 1rem 0 0;
  padding: 0.75rem;
  font-size: 0.85rem;
  background: #0a0a0a;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ——— Mobile & touch ——— */
@media (max-width: 640px) {
  .container {
    padding-top: 1.15rem;
    padding-bottom: calc(2rem + var(--safe-bottom));
  }

  .category-chips {
    gap: 0.65rem;
  }

  .product-grid {
    gap: 1rem;
  }

  .filter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .filter-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
  }

  .filter-form select {
    width: 100%;
    min-width: 0;
  }

  .catalog-toolbar {
    margin-bottom: 1.25rem;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tbody tr.cart-row {
    display: block;
    margin-bottom: 1.15rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .cart-table tbody tr.cart-row td {
    display: grid;
    grid-template-columns: minmax(5.25rem, 34%) 1fr;
    gap: 0.5rem 0.75rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
  }

  .cart-table tbody tr.cart-row td:last-child {
    border-bottom: none;
    padding-top: 0.65rem;
    display: block;
  }

  .cart-table tbody tr.cart-row td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
  }

  .cart-table tbody tr.cart-row td:first-child {
    display: block;
    padding-bottom: 0.85rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid var(--border);
  }

  .cart-table tbody tr.cart-row td:first-child::before {
    display: none;
  }

  .cart-table tbody tr.cart-row td:first-child a {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
  }

  .cart-remove-cell::before {
    display: none !important;
  }

  .cart-table tbody tr.cart-row .cart-remove-cell {
    padding-top: 0.75rem;
  }

  .cart-actions-row {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.25rem;
  }

  .cart-actions-row .btn {
    width: 100%;
    justify-content: center;
  }

  .checkout-form .btn-primary {
    width: 100%;
    margin-top: 0.25rem;
  }

  .pay-actions .btn,
  .pay-actions .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .kv li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .product-visual {
    min-height: 200px;
  }
}

@media (max-width: 380px) {
  .nav {
    gap: 0;
  }

  .nav a,
  .nav-link {
    padding: 0.45rem 0.5rem;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .product-card {
    transition: none;
  }
}

/* ——— Home enriquecido (smoke shop) ——— */
.section-heading {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.section-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 52ch;
}

.section-lead--tight {
  margin-bottom: 1.15rem;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head-row .section-heading {
  margin-bottom: 0.35rem;
}

.section-head-row .section-lead {
  margin-bottom: 0;
}

.section-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.section-heading:has(.icon--section) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.icon--section {
  width: 1.45rem;
  height: 1.45rem;
  flex-shrink: 0;
  color: var(--muted);
}

.icon--chip {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.home-trust {
  margin: 0.5rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(8, 8, 8, 0.98));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.home-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem 1.25rem;
}

.home-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.home-trust-item strong {
  color: var(--text);
  font-weight: 600;
}

.home-trust-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.home-trust-icon--warn {
  color: #ffb74d;
  border-color: rgba(255, 183, 77, 0.35);
  background: rgba(255, 183, 77, 0.08);
}

.home-trust-icon .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.home-trust-icon--warn .icon {
  color: #ffb74d;
}

.home-feature-icon {
  margin-bottom: 0.65rem;
  color: var(--muted);
}

.home-feature-icon .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.home-feature-card {
  margin: 0;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

.home-feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.home-feature-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.home-category-showcase .section-head-row .section-head-actions {
  flex-shrink: 0;
  align-self: center;
}

.category-card-grid {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.category-card:hover {
  border-color: #525252;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  transform: translateY(-2px);
}

.category-card-visual {
  aspect-ratio: 4 / 3;
  background: #0a0a0a;
  overflow: hidden;
}

.category-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.category-card-visual--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 80% at 30% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(155deg, #141414, #050505);
}

.category-card-ph {
  font-size: clamp(2.5rem, 8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.22);
  user-select: none;
}

.category-card-body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.category-card-name {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.category-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--accent-dim);
  letter-spacing: 0.02em;
}

.category-chips--below {
  margin-top: 0.25rem;
}

.home-featured-block .section-heading {
  margin-bottom: 1.15rem;
}

.home-most-viewed-block .section-heading {
  margin-bottom: 0.35rem;
}

.home-most-viewed-block .section-lead--tight {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

.home-most-viewed-block {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.home-most-viewed-grid {
  margin-top: 0.25rem;
}

.home-how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: how;
}

@media (min-width: 720px) {
  .home-how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.home-how-steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15, 15, 15, 0.85);
}

.home-how-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.06);
}

.home-how-steps p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.home-cta-strip {
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(255, 255, 255, 0.07), transparent 55%),
    linear-gradient(165deg, #111111, #060606);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.home-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.home-cta-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  letter-spacing: -0.03em;
}

.home-cta-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 40ch;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.home-age-note {
  margin: 2rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid rgba(255, 183, 77, 0.45);
  background: rgba(255, 183, 77, 0.05);
  border-radius: 0 8px 8px 0;
}

.main.catalog-page {
  position: relative;
}

.catalog-wrap {
  padding-top: 1.25rem;
}

.catalog-hero {
  margin-bottom: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(255, 255, 255, 0.06), transparent 50%),
    linear-gradient(175deg, #101010 0%, #050505 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.catalog-hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.catalog-hero-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  background: linear-gradient(135deg, #ffffff 0%, #9ca3af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .catalog-hero-title {
    color: var(--text);
    background: none;
  }
}

.catalog-hero-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  max-width: 56ch;
  line-height: 1.55;
}

.catalog-hero-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.catalog-hero-count {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.catalog-count-num {
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.catalog-hero-filter {
  margin: 0;
}

/* Catálogo: layout lateral + gráficos de marca */
.catalog-shell {
  display: grid;
  gap: 1.75rem;
  padding-top: 1.25rem;
}

@media (min-width: 960px) {
  .catalog-shell {
    grid-template-columns: minmax(210px, 250px) 1fr;
    align-items: start;
  }
}

.catalog-main.catalog-wrap {
  padding-top: 0;
}

.catalog-aside {
  padding: 1.15rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #121212, #080808);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

@media (min-width: 960px) {
  .catalog-aside {
    position: sticky;
    top: calc(0.65rem + var(--safe-top));
    align-self: start;
  }
}

.catalog-aside-art {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 12px;
}

.catalog-aside-banner-wrap {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 5;
  background: #0a0a0a;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.catalog-aside-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.catalog-aside-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.catalog-aside-tagline {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.catalog-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.catalog-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.catalog-nav-link:hover {
  border-color: #525252;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.catalog-nav-link.is-active {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
}

.catalog-nav-link--nested {
  margin-left: 0.35rem;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  font-size: 0.94rem;
}

.catalog-nav-thumb {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border: 1px solid var(--border);
  color: var(--muted);
}

.catalog-nav-thumb--all {
  color: var(--accent);
}

.catalog-nav-thumb--all .icon,
.catalog-nav-thumb--all .icon--catalog-nav-all {
  width: 1.35rem;
  height: 1.35rem;
}

.catalog-nav-thumb--img {
  padding: 0;
  overflow: hidden;
}

.catalog-nav-thumb--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-nav-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.catalog-nav-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.catalog-nav-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.catalog-aside-foot {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.catalog-aside-back {
  font-size: 0.9rem;
  color: var(--muted);
}

.catalog-hero-grid {
  display: grid;
  gap: 1.25rem;
  align-items: end;
}

@media (min-width: 720px) {
  .catalog-hero-grid {
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
  }
}

.catalog-hero-copy .catalog-hero-lead {
  margin-bottom: 0;
}

.catalog-hero-visual {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.catalog-hero-brand-logo {
  display: block;
  max-width: min(200px, 42vw);
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.65rem;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

@media (max-width: 719px) {
  .catalog-hero-visual {
    justify-self: center;
    margin-top: 0.5rem;
  }

  .catalog-hero-brand-logo {
    max-width: min(220px, 70vw);
    max-height: 72px;
  }
}

.product-card-img--placeholder img {
  object-fit: cover;
}

.product-card .product-card-cta {
  display: block;
  margin: 0.35rem 1rem 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-dim);
  letter-spacing: 0.02em;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

.main.product-page {
  position: relative;
  overflow-x: hidden;
}

/* ——— Ficha de producto (layout premium) ——— */
.product-detail {
  padding-bottom: 2.5rem;
}

.product-breadcrumb {
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-breadcrumb-link {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.product-breadcrumb-link:hover {
  color: var(--accent);
  background: rgba(94, 234, 212, 0.08);
}

.product-breadcrumb-sep {
  color: #444;
  margin: 0 0.15rem;
  user-select: none;
}

.product-breadcrumb-current {
  color: var(--text);
  font-weight: 600;
  padding: 0.2rem 0;
}

.product-detail-hero {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .product-detail-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

.product-detail-gallery {
  position: relative;
}

@media (min-width: 900px) {
  .product-detail-gallery {
    position: sticky;
    top: 1rem;
  }
}

.product-detail-frame {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(94, 234, 212, 0.45) 0%,
    rgba(94, 234, 212, 0.08) 35%,
    rgba(129, 140, 248, 0.12) 70%,
    rgba(45, 212, 191, 0.25) 100%
  );
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.product-detail-frame--placeholder {
  background: linear-gradient(145deg, rgba(80, 80, 80, 0.35), rgba(30, 30, 30, 0.5));
}

.product-detail-frame-inner {
  border-radius: calc(var(--radius) + 5px);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(94, 234, 212, 0.07), transparent 55%),
    linear-gradient(165deg, #121212 0%, #0a0a0a 100%);
  overflow: hidden;
  min-height: min(52vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .product-detail-frame-inner {
    min-height: min(58vh, 520px);
  }
}

.product-detail-frame--placeholder .product-detail-frame-inner {
  min-height: 280px;
}

.product-detail-img {
  width: 100%;
  height: auto;
  max-height: min(56vh, 540px);
  object-fit: contain;
  display: block;
  padding: clamp(0.75rem, 3vw, 1.75rem);
}

.product-detail-frame--placeholder .product-detail-img {
  object-fit: cover;
  max-height: none;
  min-height: 260px;
  padding: 0;
}

.product-detail-placeholder-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid var(--border);
  border-radius: 999px;
  max-width: calc(100% - 2rem);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .product-detail-frame {
    animation: dabz-product-frame-in 0.7s var(--ease-out, ease) both;
  }
}

@keyframes dabz-product-frame-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-detail-main {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.product-detail-header {
  padding-top: 0.15rem;
}

.product-detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-bottom: 0.65rem;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dim);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 999px;
  text-decoration: none;
  background: rgba(94, 234, 212, 0.06);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.product-chip:hover {
  color: var(--accent);
  border-color: rgba(94, 234, 212, 0.55);
  background: rgba(94, 234, 212, 0.12);
}

.product-stock-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.product-stock-badge--ok {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(22, 101, 52, 0.25);
}

.product-stock-badge--low {
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(120, 53, 15, 0.28);
}

.product-detail-title {
  margin: 0;
  font-size: clamp(1.65rem, 4.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}

.product-price-card {
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(155deg, rgba(24, 24, 24, 0.98) 0%, rgba(12, 12, 12, 0.99) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.product-price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(129, 140, 248, 0.8), var(--accent-dim));
  opacity: 0.9;
}

.product-price-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.product-price-value {
  margin: 0;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.product-price-note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.product-detail-desc {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.product-detail-desc-heading {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.product-detail-desc-heading .icon--inline {
  color: var(--accent-dim);
}

.product-detail-prose {
  font-size: 0.98rem;
  line-height: 1.65;
}

.product-cta-card {
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(94, 234, 212, 0.22);
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(94, 234, 212, 0.12), transparent 50%),
    linear-gradient(168deg, #141818 0%, #0c0e10 100%);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.product-cta-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-cta-lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: rgba(245, 245, 245, 0.88);
  line-height: 1.45;
}

.product-cta-foot {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.4;
}

.product-cta-foot .icon--inline {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: rgba(252, 211, 77, 0.75);
}

.product-detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.product-detail-nav-btn {
  flex: 1 1 auto;
  min-width: min(100%, 200px);
  justify-content: center;
}

.related-block {
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}

.related-block--product {
  position: relative;
}

.related-block--product::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-bottom: 1.25rem;
}

.related-block-head {
  margin-bottom: 1.35rem;
}

.related-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.related-title .icon--section {
  color: var(--accent-dim);
}

.related-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
  line-height: 1.5;
}

.related-grid .product-card h3 {
  font-size: 1rem;
}

.related-block--product .related-grid {
  gap: 1.35rem;
}

.product-cta-card .btn-product-pay,
.product-cta-card .btn-product-wa {
  font-size: 1.02rem;
  padding: 0.82rem 1.3rem;
}

.empty-msg-secondary {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

@media (max-width: 959px) {
  .catalog-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-head-row {
    flex-direction: column;
    align-items: stretch;
  }

  .section-head-actions {
    width: 100%;
    flex-direction: column;
  }

  .section-head-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .home-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .home-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .catalog-hero-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-hero-filter {
    width: 100%;
  }

  .catalog-hero-filter select {
    width: 100%;
    min-width: 0;
  }
}
