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

:root {
  --bg: #000000;
  --surface: #0f0f0f;
  --border: #2e2e2e;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --accent: #ffffff;
  --accent-dim: #737373;
  --accent-glow: rgba(255, 255, 255, 0.06);
  --danger: #e57373;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --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;
}

.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: 100;
}

.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;
  }
}

@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 {
  color: var(--text);
  font-weight: 500;
  padding: 0.45rem 0.65rem;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
}
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav a:active {
  background: rgba(255, 255, 255, 0.1);
}

.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 {
  min-height: 50vh;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem 0 calc(1.5rem + var(--safe-bottom));
  margin-top: auto;
}

.footer-inner {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
}
.footer-inner p {
  margin: 0.25rem 0;
}
.footer-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-dev a {
  color: var(--muted);
  text-decoration: none;
}

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

h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-top: 0;
}

h2,
h3 {
  margin-top: 1.5rem;
}

.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;
  aspect-ratio: 21 / 9;
  min-height: 260px;
  max-height: min(52vh, 520px);
}

@media (max-width: 720px) {
  .hero-carousel-viewport {
    aspect-ratio: 16 / 11;
    min-height: 300px;
    max-height: min(62vh, 480px);
  }
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  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;
}

.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;
  overflow: hidden;
}

.hero-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  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: relative;
  z-index: 2;
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) 0;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  box-sizing: border-box;
}

.hero-carousel-copy {
  max-width: min(34rem, 100%);
  padding-bottom: 0.25rem;
}

.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);
}

.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-dots {
  position: absolute;
  bottom: 1rem;
  right: max(1rem, env(safe-area-inset-right));
  z-index: 6;
  display: flex;
  gap: 0.4rem;
}

.hero-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

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

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

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

.home-intro {
  padding: clamp(1.25rem, 5vw, 2rem) 0 0.5rem;
}

.home-intro-title {
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  background: linear-gradient(135deg, #ffffff 0%, #a3a3a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.home-intro-lead {
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.1rem);
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.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;
  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.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.product-card:hover {
  border-color: #525252;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.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;
  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);
}
.btn:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.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;
}

.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-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.05rem;
}

.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) */
html:not(.age-verified) 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-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 ——— */
.skip-link:focus {
  z-index: 10001;
}

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

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

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

  .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 {
    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;
}

.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-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 .btn {
  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 {
  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: 0.35rem;
}

.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-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-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 {
  font-size: 1.15rem;
  color: var(--accent);
}

.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;
  opacity: 0.95;
}

.catalog-hero-visual img {
  display: block;
  width: min(160px, 42vw);
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

@media (max-width: 719px) {
  .catalog-hero-visual {
    display: none;
  }
}

.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;
}

.product-page-accent-wrap {
  margin: 0 0 1.25rem;
  opacity: 0.85;
}

.product-page-accent {
  width: 100%;
  height: 36px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.product-layout--detail {
  gap: 2rem;
}

.product-visual--detail {
  min-height: 280px;
  position: relative;
}

.product-visual--placeholder {
  background: #0a0a0a;
}

.product-visual-img {
  width: 100%;
  height: auto;
  max-height: min(520px, 70vh);
  object-fit: contain;
}

.product-visual--placeholder .product-visual-img {
  object-fit: cover;
  max-height: none;
  min-height: 260px;
}

.product-visual-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--border);
  border-radius: 999px;
  max-width: 90%;
  text-align: center;
}

.product-info-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.product-info--detail h1 {
  margin-top: 0;
}

.product-detail-links {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.92rem;
}

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

.related-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  letter-spacing: -0.02em;
}

.related-sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.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-row .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;
  }
}
