﻿:root {
  --bg: #090909;
  --bg-soft: #121212;
  --panel: #171717;
  --line: #2a2a2a;
  --text: #f3f3f3;
  --muted: #b5b5b5;
  --gold: #d4af37;
  --gold-strong: #bc9624;
  --wa: #25d366;
  --danger: #ef4444;
  --ok: #22c55e;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 9px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  --container: min(1200px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background:
    url("assets/patron-la-h-shop.png") center top / 920px 520px repeat,
    radial-gradient(1200px 460px at 15% -10%, rgba(212, 175, 55, 0.2), transparent),
    radial-gradient(980px 420px at 110% -20%, rgba(212, 175, 55, 0.12), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

@media (max-width: 760px) {
  body {
    background-size: 680px 384px, auto, auto;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.01em;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: 2rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-copy {
  color: var(--muted);
  margin-top: 0;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 9, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.23);
}

.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: #111;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(212, 175, 55, 0.17);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px;
  height: 40px;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  margin-top: 1.4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #000;
  background-image:
    linear-gradient(110deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.06)),
    url("assets/portada-principal.webp");
  background-position: center, center;
  background-size: cover, contain;
  background-repeat: no-repeat;
  min-height: 62vh;
  display: grid;
  align-items: center;
  box-shadow: var(--shadow);
}

.hero-content {
  max-width: 640px;
  padding: clamp(1.2rem, 4vw, 3rem);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.04;
  margin: 0;
}

.hero-copy {
  color: #ddd;
  margin: 1rem 0 1.5rem;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.68rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: #111;
}

.btn-gold:hover {
  background: var(--gold-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.btn-outline {
  background: #252525;
  color: var(--text);
  border-color: #353535;
}

.btn-outline:hover,
.btn-outline.is-active {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.55);
}

.btn-favorite {
  width: 2.4rem;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  font-size: 1.15rem;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid #353535;
  background: #252525;
  color: #f1f1f1;
}

.btn-favorite:hover,
.btn-favorite.is-active {
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(212, 175, 55, 0.18);
  color: #ffd76a;
}

.favorite-toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(10px);
  background: #111;
  color: var(--text);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  z-index: 120;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.favorite-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.btn-whatsapp {
  background: var(--wa);
  color: #081107;
}

.text-link {
  color: var(--gold);
}

.category-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, 1fr);
}

.category-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 220px;
  border: 1px solid var(--line);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(5deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1));
}

.category-card span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-weight: 700;
}

.category-card:hover img {
  transform: scale(1.07);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

 .product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.product-image-link img {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta {
  margin: 0;
  text-transform: capitalize;
  color: var(--muted);
  font-size: 0.82rem;
}

.product-card h3 {
  margin: 0.25rem 0;
  font-size: 1.12rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  margin: 0 0 0.7rem;
  font-weight: 700;
  color: var(--gold);
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.product-sequence-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-sequence-link {
  min-width: 0;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.product-sequence-link--next {
  justify-content: flex-end;
  text-align: right;
}

.product-sequence-link:hover,
.product-sequence-link:focus-visible {
  border-color: rgba(212, 175, 55, 0.78);
  background: rgba(212, 175, 55, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.product-sequence-arrow {
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #d4af37;
  color: #090909;
  font-size: 1.35rem;
  font-weight: 800;
}

.product-sequence-copy {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.product-sequence-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-sequence-copy strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-sequence-position {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.product-close {
  position: fixed;
  z-index: 40;
  top: 5.25rem;
  right: max(1rem, calc((100vw - 1180px) / 2));
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.72);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.92);
  color: #f4df97;
  font: 300 2rem/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
}

.product-close:hover,
.product-close:focus-visible {
  color: #090909;
  background: #d4af37;
  outline: none;
  transform: scale(1.05);
}

.main-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.thumb-grid {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(5, 1fr);
}

.thumb-btn {
  border: 2px solid transparent;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.thumb-btn img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.thumb-btn.is-active {
  border-color: var(--gold);
}

.price {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 700;
}

.input-group {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

input,
select {
  width: 100%;
  border: 1px solid #363636;
  background: #101010;
  color: var(--text);
  border-radius: 10px;
  padding: 0.65rem;
}

.product-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.filters-panel {
  display: block;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 1rem;
}

.filters-summary {
  display: none;
}

.filters-content {
  display: grid;
  gap: 0.9rem;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.auth-wrap {
  max-width: 760px;
}

.auth-panel {
  margin-inline: auto;
}

.form-grid {
  display: grid;
  gap: 0.7rem;
}

.check-line {
  color: var(--muted);
  font-size: 0.95rem;
}

.check-line input {
  width: auto;
  margin-right: 0.4rem;
}

.form-message {
  margin: 0;
  font-weight: 600;
}

.form-message.is-error {
  color: var(--danger);
}

.form-message.is-success {
  color: var(--ok);
}

.promo-panel {
  margin-bottom: 2rem;
  background: linear-gradient(130deg, #1a1a1a, #0d0d0d);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.slider-shell {
  overflow: hidden;
}

.product-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0;
  scrollbar-width: none;
}

.product-slider-track::-webkit-scrollbar {
  display: none;
}

.slider-item {
  min-width: 260px;
}

.slider-controls {
  display: flex;
  gap: 0.45rem;
}

.slider-btn {
  border: 1px solid var(--line);
  background: #1d1d1d;
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
}

.slider-btn:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.empty-state {
  grid-column: 1 / -1;
  color: var(--muted);
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: #111;
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-actions {
  display: flex;
  gap: 0.4rem;
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 5.2rem;
  z-index: 60;
  background: var(--wa);
  color: #072a16;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  background: #0a0a0a;
  padding-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.footer-grid h4,
.footer-grid h3 {
  margin: 0 0 0.6rem;
}

.footer-grid a {
  color: var(--muted);
  display: block;
  margin-bottom: 0.45rem;
}

.copy {
  color: #8b8b8b;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding: 0.8rem 0 1rem;
  font-size: 0.86rem;
}

@media (max-width: 1024px) {
  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .product-sequence-nav {
    gap: 0.5rem;
  }

  .product-sequence-link {
    min-height: 3.25rem;
    padding: 0.45rem 0.58rem;
  }

  .product-sequence-arrow {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.2rem;
  }

  .product-sequence-copy strong {
    display: none;
  }

  .product-sequence-copy small {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .product-sequence-position {
    font-size: 0.72rem;
  }

  .product-close {
    top: 4.7rem;
    right: 0.75rem;
    width: 2.55rem;
    height: 2.55rem;
    font-size: 1.8rem;
  }

  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #000;
  }

  .hero::after {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    flex: 0 0 auto;
    background-image: url("assets/portada-principal-mobile.webp");
    background-position: 88% bottom;
    background-size: 170% auto;
    background-repeat: no-repeat;
  }

  .hero-content {
    max-width: none;
    padding: 1.2rem 1.05rem 1rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
  }

  .hero-copy {
    margin: 0.7rem 0 1rem;
    font-size: 0.9rem;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-height: 46px;
    padding: 0.6rem 0.75rem;
    font-size: 0.88rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #0d0d0d;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .filters-panel {
    padding: 0.8rem;
  }

  .filters-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .filters-summary::-webkit-details-marker {
    display: none;
  }

  .filters-summary::after {
    content: "+";
    color: var(--gold);
    font-size: 1.1rem;
    line-height: 1;
  }

  .filters-panel[open] .filters-summary {
    margin-bottom: 0.75rem;
  }

  .filters-panel[open] .filters-summary::after {
    content: "-";
  }

  .filters-grid {
    grid-template-columns: 1fr;
  }

  .promo-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .category-card {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .product-slider-track {
    grid-auto-columns: calc((100% - 1rem) / 3);
    gap: 0.5rem;
  }

  .slider-item {
    min-width: 0;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    line-height: 1;
  }

  #product-grid.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  #product-grid .product-card-body {
    padding: 0.55rem;
  }

  #product-grid .product-card h3 {
    font-size: 0.9rem;
    line-height: 1.18;
  }

  #product-grid .product-price {
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
  }

  #product-grid .product-meta,
  #product-grid .product-color-chip {
    font-size: 0.72rem;
  
  white-space: nowrap;
}

  #product-grid .product-actions {
    gap: 0.35rem;
  }

  #product-grid .btn {
    padding: 0.45rem 0.6rem;
    font-size: 0.74rem;
  }

  #product-grid .btn-favorite {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    font-size: 1rem;
    padding: 0;
  }
}

@media (max-width: 640px) {
  .category-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-slider-track {
    grid-auto-columns: calc((100% - 0.5rem) / 2);
  }

  #product-grid.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thumb-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  #product-grid.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Imagenes de producto: mostrar completas y zoom de detalle */
.product-image-link {
  display: block;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 0.35rem;
}

.product-image-link img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.main-image-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.main-image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  transition: transform 0.16s ease-out;
  transform-origin: 50% 50%;
}

.main-image-frame.is-zoomed {
  cursor: zoom-out;
}

.main-image-frame.is-zoomed .main-image {
  transform: scale(2.15);
}

.zoom-hint {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (hover: none) {
  .main-image-frame {
    cursor: default;
  }
}
.product-color-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.12);
  color: #f4df97;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 0.55rem;

  white-space: nowrap;
}

.product-color-detail {
  margin: 0 0 0.45rem;
  color: #f4df97;
  font-size: 0.94rem;
}

.product-color-detail .product-color-label {
  margin-right: 0.35rem;
}

.product-color-detail .product-color-chip {
  margin: 0 0.35rem 0.25rem 0;
}

.product-brand {
  margin: 0.2rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.product-brand-detail {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.12);
  color: #f4df97;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 0.55rem;

  white-space: nowrap;
}

.product-color-swatch {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--swatch, #999);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.product-color-detail {
  margin: 0 0 0.45rem;
  color: #f4df97;
  font-size: 0.94rem;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

@media (max-width: 1200px) {
  .filters-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .filters-grid {
    grid-template-columns: 1fr;
  }
}

.price-range-group {
  display: grid;
  gap: 0.35rem;
}

.price-range-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.btn-whatsapp.is-disabled,
.btn-whatsapp[aria-disabled="true"] {
  opacity: 0.55;
  cursor: pointer;
  filter: saturate(0.35);
}

.input-group.is-attention select {
  border-color: #e4bd43;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
  animation: size-attention 0.55s ease both;
}

@keyframes size-attention {
  0%, 100% { transform: translateX(0); }
  28% { transform: translateX(-5px); }
  56% { transform: translateX(5px); }
}

body.has-open-dialog {
  overflow: hidden;
}

.size-warning-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
  animation: modal-fade-in 0.18s ease both;
}

.size-warning-modal[hidden] {
  display: none;
}

.size-warning-dialog {
  position: relative;
  width: min(100%, 430px);
  padding: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.58);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 175, 55, 0.14), transparent 36%),
    #111111;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
  text-align: center;
  animation: modal-rise-in 0.24s ease both;
}

.size-warning-dialog:focus {
  outline: none;
}

.size-warning-dialog h2 {
  margin: 0.25rem 0 0.7rem;
  font-size: clamp(1.55rem, 5vw, 2rem);
}

.size-warning-dialog p:not(.eyebrow) {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.6;
}

.size-warning-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border: 1px solid rgba(212, 175, 55, 0.75);
  border-radius: 999px;
  color: #f4df97;
  background: rgba(212, 175, 55, 0.1);
  font-size: 1.7rem;
  font-weight: 700;
}

.size-warning-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 300 1.65rem/1 Arial, sans-serif;
  cursor: pointer;
}

.size-warning-close:hover,
.size-warning-close:focus-visible {
  color: var(--gold);
  outline: none;
}

.size-warning-action {
  width: 100%;
  margin-top: 1.35rem;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-rise-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .size-warning-modal,
  .size-warning-dialog,
  .input-group.is-attention select {
    animation: none;
  }
}

@media (max-width: 760px) {
  .price-range-inputs {
    grid-template-columns: 1fr;
  }
}




.product-color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}


.product-card .product-image-link {
  display: block;
  aspect-ratio: 4 / 5;
  background: #ffffff;
  padding: 0.35rem;
}

.product-card .product-image-link img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.btn-favorite-overlay {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 3;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

/* Overrides finales de tarjetas */
.product-card {
  position: relative;
}

.product-color-list {
  flex-wrap: nowrap;
  min-height: 1.35rem;
  max-height: 1.35rem;
  overflow: hidden;
}

.product-color-chip {
  white-space: nowrap;
}
