/* ==========================================================================
   U R B A N   L I N E   -   S T Y L E S
   Estética monocromática con acentos sutiles, bordes suaves y look premium.
   ========================================================================== */

/* ==========================================================================
   VARIABLES
   ========================================================================== */
:root {
  --color-black: #0e0f12;
  --color-ink: #171a21;
  --color-charcoal: #262a33;
  --color-gray-700: #4b5563;
  --color-gray-500: #6b7280;
  --color-gray-300: #d8dde6;
  --color-gray-200: #e8ebf1;
  --color-gray-100: #f3f5f9;
  --color-white: #ffffff;
  --color-cream: #fbfbfc;

  /* Acentos discretos para dar vida sin romper el logo */
  --color-accent: #c7a15a;   /* dorado suave */
  --color-accent-2: #6b8cff; /* azul elegante */
  --color-accent-3: #8f9aa7; /* gris azulado */

  --gradient-dark: linear-gradient(135deg, #0e0f12 0%, #1a1e27 55%, #232833 100%);
  --gradient-surface: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  --gradient-soft: linear-gradient(135deg, rgba(199,161,90,0.12) 0%, rgba(107,140,255,0.10) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, #b8944f 100%);

  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.75rem;
  --spacing-lg: 3.5rem;
  --spacing-xl: 5rem;

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-xs: 0 4px 12px rgba(14, 15, 18, 0.04);
  --shadow-sm: 0 10px 24px rgba(14, 15, 18, 0.08);
  --shadow-md: 0 18px 40px rgba(14, 15, 18, 0.12);
  --shadow-lg: 0 28px 60px rgba(14, 15, 18, 0.18);

  --border-soft: 1px solid rgba(14, 15, 18, 0.08);
  --border-accent: 1px solid rgba(199, 161, 90, 0.26);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
  font-family: var(--font-primary);
  color: var(--color-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at top left, rgba(107, 140, 255, 0.10), transparent 24%),
    radial-gradient(circle at bottom right, rgba(199, 161, 90, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fafbfe 42%, #f4f6fa 100%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

summary {
  list-style: none;
}

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

::selection {
  background: rgba(199, 161, 90, 0.28);
  color: var(--color-black);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.main-content {
  width: 100%;
}

section {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
}

.section-title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--color-black);
}

.section-subtitle {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--color-gray-500);
}

.text-center {
  text-align: center;
}

.header__container,
.products,
.services,
.benefits,
.gallery,
.workshop,
.faq,
.contact,
.footer__container,
.footer__bottom {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    filter 0.22s ease;
  cursor: pointer;
  user-select: none;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid rgba(107, 140, 255, 0.28);
  outline-offset: 3px;
}

.btn--primary {
  color: var(--color-white);
  background: var(--gradient-dark);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 255, 255, 0.06);
}

.btn--primary:hover {
  box-shadow: var(--shadow-md);
  filter: brightness(1.04);
}

.btn--secondary {
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(14, 15, 18, 0.10);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  border-color: rgba(14, 15, 18, 0.16);
  box-shadow: var(--shadow-sm);
}

.btn--outline {
  color: var(--color-black);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,250,252,0.96));
  border-color: rgba(14, 15, 18, 0.12);
  box-shadow: var(--shadow-xs);
}

.btn--outline:hover {
  color: var(--color-white);
  background: var(--color-black);
  border-color: var(--color-black);
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: var(--border-soft);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
}

.header__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.header__logo-img {
  height: 42px;
  width: auto;
  filter: grayscale(100%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header__logo:hover .header__logo-img {
  transform: scale(1.02);
  opacity: 0.96;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(14, 15, 18, 0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.header__menu-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
}

.header__menu-btn:focus-visible {
  outline: 3px solid rgba(107, 140, 255, 0.28);
  outline-offset: 3px;
}

.header__menu-icon {
  position: relative;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-black);
  transition: transform 0.22s ease, background 0.22s ease;
}

.header__menu-icon::before,
.header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-black);
  transition: transform 0.22s ease, top 0.22s ease, opacity 0.22s ease;
}

.header__menu-icon::before { top: -7px; }
.header__menu-icon::after { top: 7px; }

.nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.96);
  border: var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.nav__list {
  display: flex;
  flex-direction: column;
  padding: 0.55rem;
  gap: 0.35rem;
}

.nav__link {
  display: block;
  padding: 0.95rem 1rem;
  color: var(--color-black);
  font-weight: 700;
  border-radius: 16px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav__link:hover {
  background: rgba(107, 140, 255, 0.09);
  transform: translateX(2px);
}

.nav__link--cta {
  background: var(--gradient-accent);
  color: var(--color-white);
  text-align: center;
  box-shadow: 0 12px 24px rgba(199, 161, 90, 0.18);
}

.nav__link--cta:hover {
  background: var(--gradient-accent);
  filter: brightness(1.03);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: none;
  padding: 0;
  align-items: stretch;
}

.hero__content {
  max-width: 640px;
  padding: clamp(3.2rem, 9vw, 5rem) 1.25rem;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--color-black);
}

.hero__subtitle {
  margin: 0 0 1.5rem;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--color-gray-500);
  max-width: 60ch;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.hero__image-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-wrapper::before {
  content: "";
  position: absolute;
  width: min(60%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 161, 90, 0.16), rgba(107, 140, 255, 0.08) 55%, transparent 75%);
  z-index: 0;
}

.hero__logo-placeholder {
  position: relative;
  z-index: 1;
  width: min(340px, 60%);
  height: auto;
  opacity: 0.95;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero__image-wrapper:hover .hero__image {
  transform: scale(1.02);
}

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.products {
  padding-top: clamp(3.2rem, 6vw, 5rem);
}

.products__header {
  text-align: center;
  margin-bottom: 2rem;
}

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

/* ---- Cards del catálogo ---- */
#productos .products__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0.9rem;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(14, 15, 18, 0.09);
  border-radius: 1.05rem;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(14, 15, 18, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 15, 18, 0.16);
  box-shadow: 0 18px 36px rgba(14, 15, 18, 0.12);
}

.catalog-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px;
  padding: 0;
  background: #f1f2f4;
}

.catalog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.catalog-card:hover .catalog-card__img {
  transform: scale(1.035);
}

.catalog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.85rem 0.9rem 0.9rem;
}

.catalog-card__category {
  margin: 0 0 0.25rem;
  color: var(--color-accent);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-card__title {
  margin: 0 0 0.35rem;
  color: var(--color-black);
  font-size: clamp(0.92rem, 2vw, 1.08rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.catalog-card__desc {
  display: -webkit-box;
  flex: 1;
  margin: 0 0 0.75rem;
  overflow: hidden;
  color: var(--color-gray-500);
  font-size: 0.79rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.45rem;
  margin-top: auto;
}

.catalog-card__price {
  max-width: 48%;
  color: var(--color-black);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
}

.catalog-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.35rem;
  min-height: 2.2rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--color-black);
  border-radius: 0.55rem;
  color: var(--color-white);
  background: var(--color-black);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.catalog-card__button:hover {
  color: var(--color-black);
  background: var(--color-white);
  transform: translateY(-1px);
}

.catalog-card__button:focus-visible {
  outline: 3px solid rgba(107, 140, 255, 0.28);
  outline-offset: 3px;
}

@media (max-width: 639px) {
  #productos .products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .catalog-card__media {
    height: 112px;
  }

  .catalog-card__body {
    padding: 0.72rem;
  }
}

/* ---- Carrusel para "Productos Destacados" en todos los tamaños ---- */
#featured-products-grid {
  display: flex;
  grid-template-columns: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding: 0.25rem max(0.1rem, calc((100% - 80%) / 2)) 0.75rem;
  padding-right: max(0.1rem, calc((100% - 80%) / 2));
  margin: -0.25rem -0.1rem 0;
  scrollbar-width: none;
  scroll-padding-inline: 50%;
}

#featured-products-grid.is-auto-scrolling {
  scroll-snap-type: none;
}

#featured-products-grid::-webkit-scrollbar {
  display: none;
}

#featured-products-grid > * {
  flex: 0 0 80%;
  scroll-snap-align: center;
  position: relative;
  opacity: 0;
  transform: translate3d(42px, 0, 0) scale(0.98);
  transform-origin: center center;
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.35s ease;
  z-index: 0;
}

#featured-products-grid.is-ready > * {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(0.98);
}

#featured-products-grid > *.is-centered {
  z-index: 1;
  box-shadow: var(--shadow-md);
}

#featured-products-grid > *:hover {
  transform: translate3d(0, 0, 0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  #featured-products-grid > *,
  #featured-products-grid.is-ready > *,
  #featured-products-grid.is-ready > *.is-centered {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 480px) {
  #featured-products-grid {
    padding-left: max(0.1rem, calc((100% - 62%) / 2));
    padding-right: max(0.1rem, calc((100% - 62%) / 2));
  }

  #featured-products-grid > * {
    flex-basis: 62%;
  }
}

@media (min-width: 640px) {
  #featured-products-grid {
    padding-left: max(0.1rem, calc((100% - 44%) / 2));
    padding-right: max(0.1rem, calc((100% - 44%) / 2));
  }

  #featured-products-grid > * {
    flex-basis: 44%;
  }
}

.products__scroll-hint {
  margin: 0.4rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-gray-500);
}

@media (min-width: 768px) {
  #featured-products-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: none;
    padding: 0.25rem 0.25rem 0.75rem;
    padding-right: 0.25rem;
    margin: -0.25rem -0.1rem 0;
    scroll-padding-inline: 0.25rem;
  }

  #featured-products-grid > * {
    flex: 0 0 clamp(240px, 28vw, 320px);
    scroll-snap-align: center;
  }

  .products__scroll-hint {
    display: none;
  }
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: var(--border-soft);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  max-width: 360px;
  margin: 0 auto;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 140, 255, 0.18);
}

.product-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.02);
}

.product-card__body {
  padding: 0.85rem 0.95rem 0.85rem;
}

.product-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-black);
}

.product-card__desc {
  margin: 0 0 1.2rem;
  color: var(--color-gray-500);
  font-size: 0.96rem;
}

.product-card__btn {
  width: 100%;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  border-radius: var(--radius-xl);
  margin: 0 auto;
  max-width: 920px;
  padding: clamp(1.8rem, 3vw, 3rem) 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(107,140,255,0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(199,161,90,0.13), transparent 26%),
    var(--gradient-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.05), transparent 28%),
    linear-gradient(300deg, rgba(255,255,255,0.03), transparent 30%);
  pointer-events: none;
}

.services__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.services .section-title {
  color: var(--color-white);
  font-size: clamp(1.9rem, 2.5vw, 2.2rem);
}

.services__text {
  margin: 0 auto 1.3rem;
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.8;
}

.services__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.services__list {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.7rem;
}

.services__item {
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.84);
}

.services__item strong {
  color: var(--color-white);
}

.services__highlight {
  margin: 0;
  padding: 1rem 1rem;
  border-radius: 18px;
  background: rgba(199, 161, 90, 0.14);
  border: 1px solid rgba(199, 161, 90, 0.18);
  color: var(--color-white);
  font-weight: 800;
}

/* ==========================================================================
   BENEFITS
   ========================================================================== */
.benefits {
  padding-top: clamp(3.2rem, 7vw, 5rem);
}

.benefits__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.benefit-item {
  padding: 1.4rem 1.2rem 1.35rem;
  text-align: center;
  border-radius: var(--radius-lg);
  border: var(--border-soft);
  background:
    radial-gradient(circle at top, rgba(107,140,255,0.08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(199, 161, 90, 0.22);
}

.benefit-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(199,161,90,0.16), rgba(107,140,255,0.14));
  box-shadow: var(--shadow-xs);
}

.benefit-item__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-black);
}

.benefit-item__desc {
  margin: 0;
  color: var(--color-gray-500);
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery {
  padding-top: clamp(3.2rem, 7vw, 5rem);
  overflow: hidden;
}

.gallery__intro {
  max-width: 720px;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.gallery__intro-text {
  margin: 0;
  color: var(--color-gray-600);
  line-height: 1.8;
  font-size: 1rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.gallery__item {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(14, 15, 18, 0.08);
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
  display: grid;
  gap: 0.75rem;
  cursor: pointer;
}

.gallery__item-title {
  margin: 0;
  padding: 1rem 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.gallery__item-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery__item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery__item:hover .gallery__item-media img {
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.03);
}

/* ==========================================================================
   GALERÍA POR SECCIONES + CARRUSEL
   ========================================================================== */
.gallery-sections {
  display: grid;
  min-width: 0;
  gap: clamp(1.35rem, 3vw, 2rem);
}

.gallery-sections > .gallery-section {
  padding: 0;
  margin: 0;
  min-width: 0;
}

.gallery-section__title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text);
}

.gallery-carousel {
  position: relative;
  display: flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 0.6rem;
}

.gallery-carousel__track {
  display: flex;
  flex: 1 1 auto;
  gap: 1rem;
  min-width: 0;
  width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.15rem 0.1rem 0.35rem;
  scrollbar-width: none;
}

.gallery-carousel__track::-webkit-scrollbar {
  display: none;
}

.gallery-carousel__item {
  flex: 0 0 auto;
  width: min(260px, 72vw);
  scroll-snap-align: start;
  cursor: pointer;
  display: grid;
  gap: 0.6rem;
}

.gallery-carousel__media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(14, 15, 18, 0.08);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

.gallery-carousel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-carousel__item:hover .gallery-carousel__media img {
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.03);
}

.gallery-carousel__expand {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(14, 15, 18, 0.55);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-carousel__item:hover .gallery-carousel__expand {
  opacity: 1;
  transform: scale(1);
}

.gallery-carousel__caption {
  margin: 0;
  padding: 0 0.15rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}

.gallery-carousel__nav {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(14, 15, 18, 0.1);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-carousel__nav:hover {
  background: var(--color-gray-100);
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .gallery-carousel__nav {
    display: flex;
  }
}

@media (max-width: 639px) {
  .gallery-carousel {
    gap: 0;
  }

  .gallery-carousel__track {
    gap: 0.75rem;
    padding-inline: 0.05rem 0.5rem;
    scroll-padding-inline: 0.05rem;
  }

  .gallery-carousel__item {
    width: min(220px, calc(100vw - 3rem));
    max-width: 100%;
  }

  .gallery-carousel__media {
    border-radius: 18px;
  }

  .gallery-carousel__caption {
    font-size: 0.86rem;
  }
}

.gallery__item-expand {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(14, 15, 18, 0.55);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.gallery__item:hover .gallery__item-expand {
  opacity: 1;
  transform: scale(1);
}

.gallery__message {
  color: var(--muted);
  padding: 1rem;
  text-align: center;
}

/* ==========================================================================
   DETRÁS DE CÁMARA / TALLER
   ========================================================================== */
.workshop {
  margin-top: 0;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}

.workshop__header {
  margin-bottom: 1.25rem;
}

.workshop__header .page-banner__eyebrow {
  display: inline-block;
  color: var(--color-accent);
  background: rgba(199, 161, 90, 0.12);
}

.workshop__header .section-title {
  margin-bottom: 0.45rem;
  text-align: left;
}

.workshop__header .section-subtitle {
  margin: 0;
  text-align: left;
}

.workshop-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.workshop-media {
  display: flex;
  gap: 1rem;
  min-width: 0;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.8rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.workshop-media::-webkit-scrollbar {
  display: none;
}

.workshop-carousel__nav {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-accent);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.workshop-carousel__nav:hover:not(:disabled),
.workshop-carousel__nav:focus-visible {
  background: var(--color-accent);
  color: var(--color-white);
}

.workshop-carousel__nav:disabled {
  cursor: default;
  opacity: 0.35;
}

@media (max-width: 767px) {
  .workshop-carousel {
    display: block;
  }

  .workshop-carousel__nav {
    display: none;
  }

  .workshop-media {
    padding-right: 0;
    padding-left: 0;
  }
}

.workshop-media__item {
  flex: 0 0 min(82vw, 360px);
  min-width: 0;
  overflow: hidden;
  border: var(--border-soft);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}

.workshop-media__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-gray-100);
}

.workshop-media__frame img,
.workshop-media__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-media__frame--video {
  background: var(--color-black);
}

.workshop-media__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(14, 15, 18, 0.78);
  color: var(--color-white);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 1;
}

.workshop-media__play:hover,
.workshop-media__play:focus-visible {
  background: var(--color-accent);
  transform: translate(-50%, -50%) scale(1.06);
}

.workshop-media__play-icon {
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-top: 0.65rem solid transparent;
  border-bottom: 0.65rem solid transparent;
  border-left: 0.95rem solid currentColor;
}

.workshop-media__frame--video.is-playing .workshop-media__play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.85);
}

.workshop-media__title {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-size: 0.98rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   LIGHTBOX (visor de imagen ampliada de la galería)
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 3000;
}

.lightbox-overlay[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 3001;
}

.lightbox[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__figure {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.03);
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
}

.lightbox__counter {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 600;
}

.lightbox__close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 3002;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 3002;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__nav--prev {
  left: 1.25rem;
}

.lightbox__nav--next {
  right: 1.25rem;
}

.lightbox__nav[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .lightbox__nav {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }

  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }

  .lightbox__close {
    top: 0.75rem;
    right: 0.75rem;
  }
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding-top: clamp(3.2rem, 7vw, 5rem);
  max-width: 900px;
}

.faq__container {
  margin-top: 2rem;
  display: grid;
  gap: 0.9rem;
}

.faq__item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: var(--border-soft);
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-xs);
}

.faq__item[open] {
  border-color: rgba(199, 161, 90, 0.24);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  padding: 1.2rem 1.25rem;
  font-weight: 900;
  color: var(--color-black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,252,0.98));
}

.faq__question::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(14,15,18,0.05);
  color: var(--color-gray-500);
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform 0.22s ease, background 0.22s ease;
}

.faq__item[open] .faq__question::after {
  content: "–";
  background: rgba(199, 161, 90, 0.18);
  color: var(--color-black);
}

.faq__answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--color-gray-500);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding-top: 0;
}

.contact__container {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.contact__info {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(107,140,255,0.10), transparent 26%),
    radial-gradient(circle at bottom right, rgba(199,161,90,0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  border: var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.contact__desc {
  margin: 0 0 1rem;
  color: var(--color-gray-500);
}

.contact__data {
  display: grid;
  gap: 0.75rem;
}

.contact__data-item {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(14,15,18,0.03);
  border: 1px solid rgba(14,15,18,0.05);
  color: var(--color-gray-700);
}

.contact__data-item strong {
  color: var(--color-black);
}

.contact-form {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.98);
  border: var(--border-soft);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-black);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(14, 15, 18, 0.10);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--color-charcoal);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(107, 140, 255, 0.22);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(107, 140, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(107, 140, 255, 0.12);
  transform: translateY(-1px);
  background: var(--color-white);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  width: 100%;
  margin-top: 0.25rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  margin-top: 2rem;
  padding: 2rem 1.25rem 1.3rem;
  background: linear-gradient(180deg, #0e0f12 0%, #171a21 100%);
  color: rgba(255,255,255,0.82);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__container {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.03em;
}

.footer__text {
  margin: 0;
  color: rgba(255,255,255,0.68);
  max-width: 42ch;
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 1.05rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer__social-link:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.footer__social-icon {
    display: block;
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.footer__social-link[aria-label="WhatsApp"] .footer__social-icon {
    transform: scale(1.35);
}

.footer__nav {
  display: grid;
  gap: 1.6rem;
}

.footer__col-title {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.footer__links {
  display: grid;
  gap: 0.6rem;
}

.footer__links a {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #25d366 0%, #1fb954 100%);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.26);
  border: 3px solid rgba(255,255,255,0.92);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 42px rgba(37, 211, 102, 0.34);
  filter: brightness(1.02);
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: left;
  }
}

@media (min-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr 1.4fr;
    text-align: left;
  }

  .footer__brand {
    align-items: flex-start;
  }
}

@media (min-width: 768px) {
  section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

  .services {
    margin: 0 auto;
  }

  .contact__container {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .header__menu-btn {
    display: none;
  }

  .nav {
    display: block;
    position: static;
    width: auto;
    left: auto;
    right: auto;
    top: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    overflow: visible;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
  }

  .nav__link {
    padding: 0.78rem 0.95rem;
    border-radius: 999px;
  }

  .nav__link:hover {
    transform: translateY(-1px);
  }

  .nav__link--cta {
    margin-left: 0.5rem;
    padding-inline: 1.1rem;
  }

  .hero {
    grid-template-columns: minmax(0, 620px) 1fr;
    gap: 0;
    min-height: 620px;
    padding-left: max(1.25rem, calc((100vw - var(--container)) / 2 + 1.25rem));
  }

  .hero__content {
    max-width: 580px;
    padding: 0 2.5rem 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .products__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #featured-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .services {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .contact__info,
  .contact-form {
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 1023px) {
  .hero__content {
    order: 1;
  }

  .hero__image-wrapper {
    order: 2;
  }
}

@media (max-width: 639px) {
  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

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

  .services {
    margin: 0 1rem;
  }

  .hero__content {
    padding: 2.4rem 1.25rem 1.5rem;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
    margin-bottom: 0.75rem;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .hero__actions {
    gap: 0.7rem;
  }

  .hero__image-wrapper {
    display: none;
  }

  .product-card {
    display: flex;
    flex-direction: column;
    height: 380px;
    max-width: 340px;
  }

  .product-card__img {
    height: 140px;
    object-fit: contain;
    background: var(--color-gray-100);
  }

  .product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 1rem;
  }

  .product-card__desc {
    flex: 1;
    margin-bottom: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card__btn {
    margin-top: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   NAV — ESTADO ACTIVO + ACCIONES DE HEADER (CARRITO)
   ========================================================================== */
.nav__link--active {
  color: var(--color-black);
  background: rgba(199, 161, 90, 0.14);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(14, 15, 18, 0.08);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-xs);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
}

.cart-btn__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gradient-accent);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: var(--shadow-xs);
}

.cart-btn__count[data-empty="true"] {
  display: none;
}

/* ==========================================================================
   PAGE BANNER (encabezado de páginas internas)
   ========================================================================== */
.page-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 8vw, 5.5rem) 1.25rem clamp(2.4rem, 6vw, 3.5rem);
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(107, 140, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(199, 161, 90, 0.16), transparent 32%),
    var(--gradient-dark);
  color: var(--color-white);
}

.page-banner__eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-banner__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--color-white);
}

.page-banner__subtitle {
  max-width: 60ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.page-banner__breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-banner__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.page-banner__breadcrumb a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SECCIÓN PUENTE (teasers en home hacia otras páginas)
   ========================================================================== */
.bridge {
  padding-top: clamp(3.2rem, 7vw, 5rem);
}

.bridge__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.bridge-card {
  position: relative;
  overflow: hidden;
  padding: 1.9rem 1.6rem;
  border-radius: var(--radius-xl);
  border: var(--border-soft);
  box-shadow: var(--shadow-sm);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bridge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 140, 255, 0.2);
}

.bridge-card--dark {
  color: var(--color-white);
  background:
    radial-gradient(circle at top right, rgba(199,161,90,0.18), transparent 26%),
    var(--gradient-dark);
  border-color: transparent;
}

.bridge-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(199,161,90,0.18), rgba(107,140,255,0.16));
}

.bridge-card--dark .bridge-card__icon {
  background: rgba(255, 255, 255, 0.1);
}

.bridge-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.bridge-card__desc {
  margin: 0 0 1.2rem;
  color: var(--color-gray-500);
}

.bridge-card--dark .bridge-card__desc {
  color: rgba(255, 255, 255, 0.78);
}

.bridge-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--color-black);
}

.bridge-card--dark .bridge-card__link {
  color: var(--color-white);
}

.bridge-card__link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.bridge-card__link:hover::after {
  transform: translateX(3px);
}

/* ==========================================================================
   EVENTOS Y LANZAMIENTOS
   ========================================================================== */
.events {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.events__header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.events__header .page-banner__eyebrow {
  display: inline-block;
  color: var(--color-accent);
  background: rgba(199, 161, 90, 0.12);
}

.events__list {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1.25rem;
  max-width: 1080px;
  padding: 0.25rem max(0.1rem, calc((100% - 80%) / 2)) 0.75rem;
  margin: 0 auto;
  scrollbar-width: none;
  scroll-padding-inline: 50%;
}

.events__list.is-auto-scrolling {
  scroll-snap-type: none;
}

.events__list::-webkit-scrollbar {
  display: none;
}

.events__list > * {
  position: relative;
  flex: 0 0 80%;
  scroll-snap-align: center;
  transition: box-shadow 0.35s ease;
}

.events__list > *.is-centered {
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.event-card {
  position: relative;
  display: flex;
  min-height: 205px;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  border: var(--border-soft);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), rgba(199, 161, 90, 0.25));
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-card__date {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(199, 161, 90, 0.12);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: capitalize;
}

.event-card__title,
.event-card__description {
  overflow-wrap: anywhere;
}

.event-card__title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

.event-card__description {
  margin: 0.4rem 0 0;
  color: var(--color-gray-500);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (min-width: 480px) {
  .events__list {
    padding-right: max(0.1rem, calc((100% - 62%) / 2));
    padding-left: max(0.1rem, calc((100% - 62%) / 2));
  }

  .events__list > * {
    flex-basis: 62%;
  }
}

@media (min-width: 640px) {
  .events__list {
    padding-right: max(0.1rem, calc((100% - 44%) / 2));
    padding-left: max(0.1rem, calc((100% - 44%) / 2));
  }

  .events__list > * {
    flex-basis: 44%;
  }
}

@media (min-width: 768px) {
  .events__list {
    overflow-x: auto;
    scroll-snap-type: none;
    padding: 0.25rem 0.25rem 0.75rem;
    margin: 0 auto;
    scroll-padding-inline: 0.25rem;
  }

  .events__list > * {
    flex-basis: clamp(280px, 28vw, 360px);
    scroll-snap-align: center;
  }
}

/* ==========================================================================
   TIENDA / SHOP
   ========================================================================== */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shop-filter {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 15, 18, 0.1);
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-gray-700);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.shop-filter:hover {
  transform: translateY(-1px);
}

.shop-filter[aria-pressed="true"] {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: stretch;
}

.shop-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: var(--border-soft);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  max-width: 340px;
  margin: 0 auto;
  width: 100%;
  height: 380px;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 140, 255, 0.18);
}

.shop-card__media {
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shop-card__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.shop-card:hover .shop-card__img {
  transform: scale(1.02);
}

.shop-card__tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.82);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.shop-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
  min-height: 0;
}

.shop-card__category {
  margin: 0 0 0.25rem;
  color: var(--color-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.shop-card__desc {
  margin: 0 0 0.9rem;
  color: var(--color-gray-500);
  font-size: 0.9rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
}

.shop-card__price {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--color-black);
}

.shop-card__price-range {
  color: var(--color-gray-500);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

/* ==========================================================================
   MODAL DE INFORMACIÓN DEL CATÁLOGO
   ========================================================================== */
.catalog-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(10, 10, 12, 0.64);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.catalog-modal-overlay[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.catalog-modal-overlay[hidden],
.catalog-modal[hidden] {
  display: none !important;
}

.catalog-modal {
  position: fixed !important;
  inset: 50% auto auto 50%;
  z-index: 2501;
  width: min(860px, 92vw);
  max-height: min(720px, calc(100vh - 2rem));
  margin: 0;
  padding: 0 !important;
  box-sizing: border-box;
  overflow-y: auto;
  border: var(--border-soft);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-xxl);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.catalog-modal[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.catalog-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(14, 15, 18, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-black);
  font-size: 1.1rem;
  cursor: pointer;
}

.catalog-modal__body {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.catalog-modal__media {
  min-height: 360px;
  background: linear-gradient(145deg, #f1f3f7, #e7ebf2);
}

.catalog-modal__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
}

.catalog-modal__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.catalog-modal__category {
  margin: 0 0 0.5rem;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-modal__title {
  margin: 0;
  color: var(--color-black);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.catalog-modal__description {
  margin: 1rem 0 0;
  color: var(--color-gray-500);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.catalog-modal__price {
  margin: 1.25rem 0 0;
  color: var(--color-black);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.4;
}

.catalog-modal__note {
  margin: 0.65rem 0 0;
  color: var(--color-gray-500);
  font-size: 0.83rem;
  line-height: 1.5;
}

.catalog-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

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

  .catalog-modal__media,
  .catalog-modal__media img {
    min-height: 220px;
    height: 220px;
  }

  .catalog-modal__content {
    padding: 1.35rem;
  }

  .catalog-modal__actions > * {
    flex: 1 1 100%;
    text-align: center;
  }
}

.shop-card__price-old {
  margin-right: 0.4rem;
  color: var(--color-gray-500);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: line-through;
}

.btn--add {
  padding: 0.72rem 1.1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn--add[data-added="true"] {
  background: var(--gradient-accent);
  color: var(--color-white);
}

/* ---- Carrito lateral (drawer) ---- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 15, 18, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2000;
}

.cart-overlay[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer[data-open="true"] {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: var(--border-soft);
}

.cart-drawer__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
}

.cart-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(14,15,18,0.08);
  background: var(--color-gray-100);
  font-size: 1.1rem;
  cursor: pointer;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.cart-drawer__empty {
  text-align: center;
  color: var(--color-gray-500);
  padding: 2.5rem 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed rgba(14,15,18,0.1);
}

.cart-item__img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.cart-item__name {
  margin: 0 0 0.25rem;
  font-weight: 800;
  font-size: 0.92rem;
}

.cart-item__variant {
  margin: 0 0 0.25rem;
  color: var(--color-gray-500);
  font-size: 0.78rem;
  font-weight: 700;
}

.cart-item__price {
  margin: 0;
  color: var(--color-gray-500);
  font-size: 0.84rem;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.cart-item__qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(14,15,18,0.12);
  background: var(--color-white);
  cursor: pointer;
  font-weight: 800;
}

.cart-item__remove {
  align-self: start;
  border: none;
  background: none;
  color: var(--color-gray-500);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.cart-drawer__footer {
  padding: 1.1rem 1.25rem 1.4rem;
  border-top: var(--border-soft);
  background: var(--color-gray-100);
}

.cart-drawer__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-weight: 900;
  font-size: 1.05rem;
}

.cart-drawer__checkout {
  width: 100%;
}

.cart-drawer__note {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: var(--color-gray-500);
  text-align: center;
}

/* ---- Toast de confirmación ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 3000;
}

.toast[data-show="true"] {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   RESPONSIVE — TIENDA / BRIDGE
   ========================================================================== */
@media (min-width: 640px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* ---- Tarjetas compactas cuando van 3 por fila en mobile ---- */
@media (max-width: 639px) {
  .shop-card {
    max-width: none;
    margin: 0;
    height: auto;
    border-radius: 14px;
  }

  .shop-card__media {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .shop-card__img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
  }

  .shop-card__tag {
    top: 0.4rem;
    left: 0.4rem;
    padding: 0.18rem 0.45rem;
    font-size: 0.58rem;
  }

  .shop-card__body {
    padding: 0.55rem;
    gap: 0.15rem;
  }

  .shop-card__category {
    display: none;
  }

  .shop-card__title {
    font-size: 0.74rem;
    font-weight: 800;
    margin: 0 0 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
  }

  .shop-card__desc {
    display: none;
  }

  .shop-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin-top: 0.3rem;
  }

  .shop-card__price {
    font-size: 0.8rem;
    text-align: center;
  }

  .shop-card .btn--add {
    width: 100%;
    padding: 0.4rem 0.4rem;
    font-size: 0.7rem;
  }
}

@media (min-width: 768px) {
  .bridge__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   MODAL DE PRODUCTO
   ========================================================================== */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 15, 18, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2500;
}

.product-modal-overlay[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(1040px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  transform: translate(-50%, -48%) scale(0.98);
  background: var(--color-white);
  border-radius: 28px;
  box-shadow: var(--shadow-xxl);
  z-index: 2501;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-modal[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.product-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(14, 15, 18, 0.1);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-xs);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 6;
  transition: transform 0.2s ease, background 0.2s ease;
}

.product-modal__close:hover {
  background: var(--color-white);
  transform: rotate(90deg);
}

/* ---- Estructura general: 2 columnas en desktop ---- */
.product-modal__body {
  display: grid;
  align-items: start;
  gap: 0;
}

/* ---- Columna de imagen (imagen + miniaturas, todo junto) ---- */
.product-modal__media-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem 1.25rem 1.5rem;
}

.product-modal__main-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-gray-100);
  aspect-ratio: 4 / 3;
}

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

.product-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.product-modal__nav:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.08);
}

.product-modal__nav--prev { left: 0.75rem; }
.product-modal__nav--next { right: 0.75rem; }

.product-modal__nav[hidden] {
  display: none;
}

.product-modal__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.82);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.product-modal__tag:empty {
  display: none;
}

.product-modal__counter {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.72);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-modal__counter:empty {
  display: none;
}

/* ---- Miniaturas: fila que se ajusta sola, sin estirarse nunca ---- */
.product-modal__thumbs {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.55rem;
}

.product-modal__thumbs:empty {
  display: none;
}

.product-modal__thumbs button {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-gray-100);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

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

.product-modal__thumbs button:hover {
  opacity: 0.85;
}

.product-modal__thumbs button.is-active {
  opacity: 1;
  border-color: var(--color-accent);
}

/* ---- Columna de información ---- */
.product-modal__content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.75rem;
  border-top: var(--border-soft);
}

.product-modal__scroll {
  display: grid;
  gap: 0.85rem;
}

.product-modal__category {
  margin: 0;
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(199, 161, 90, 0.12);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}

.product-modal__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.product-modal__desc {
  margin: 0;
  color: var(--color-gray-500);
  line-height: 1.75;
  white-space: pre-line;
}

/* ---- Selector de color (variantes del mismo producto) ---- */
.product-modal__colors[hidden] {
  display: none;
}

.product-modal__colors-label {
  margin: 0.2rem 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gray-700);
}

.product-modal__colors-label strong {
  color: var(--color-black);
}

.product-modal__colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.product-modal__color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 3px;
  cursor: pointer;
  background: var(--swatch-color, var(--color-gray-300));
  background-clip: content-box;
  box-shadow: 0 0 0 1px rgba(14, 15, 18, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-modal__color-swatch:hover {
  transform: translateY(-1px);
}

.product-modal__color-swatch.is-active {
  box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-black);
}

.product-modal__footer {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(14, 15, 18, 0.12);
}

.product-modal__pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.product-modal__price-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gray-500);
}

.product-modal__price {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-black);
}

.product-modal__qty-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 15, 18, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-gray-100);
  width: fit-content;
}

.product-modal__qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  color: var(--color-gray-900);
  background: transparent;
  font-size: 1.35rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.product-modal__qty-btn:hover {
  background: rgba(14, 15, 18, 0.06);
}

.product-modal__qty-input {
  width: 56px;
  min-width: 56px;
  padding: 0.7rem 0;
  border: none;
  border-left: 1px solid rgba(14, 15, 18, 0.1);
  border-right: 1px solid rgba(14, 15, 18, 0.1);
  text-align: center;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gray-900);
  -moz-appearance: textfield;
}

.product-modal__qty-input:focus {
  outline: none;
}

.product-modal__qty-input::-webkit-outer-spin-button,
.product-modal__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-modal__add {
  width: 100%;
  padding: 1.05rem 1.1rem;
  font-size: 1rem;
  font-weight: 800;
}

/* ---- Responsive: 2 columnas desde tablet/desktop ---- */
@media (min-width: 760px) {
  .product-modal__body {
    grid-template-columns: 1.05fr 1fr;
  }

  .product-modal__media-col {
    padding: 1.5rem 0 1.5rem 1.5rem;
  }

  .product-modal__main-image {
    aspect-ratio: auto;
    min-height: 420px;
  }

  .product-modal__content {
    padding: 1.9rem 1.75rem 1.9rem 1.5rem;
    border-top: none;
    border-left: var(--border-soft);
    min-height: 100%;
  }
}
