/* Paleta de tienda: negro y grafito, con el azul reservado para la marca. */
:root {
  --ink: #050505;
  --ink-soft: #181818;
  --muted: #9b9b9b;
  --rose: #f4f4f4;
  --rose-dark: #d6d6d6;
  --blush: #121212;
  --cream: #080808;
  --sage: #1b1b1b;
  --peach: #161616;
  --line: rgba(255, 255, 255, .15);
}

.card.product-poster-card.is-sold-out .card-image img {
  filter: grayscale(.85) brightness(.65);
}

.card.product-poster-card.is-sold-out .card-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 42%;
  right: 16px;
  left: 16px;
  z-index: 4;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 4px;
  background: rgba(8,8,8,.94);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
  transform: translateY(-50%);
  pointer-events: none;
}

.card.product-poster-card.is-sold-out .price-row > span:last-child {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* Precio promocional visible en tarjetas, ficha y carrito. */
.card-sale-badge {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 13px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: #075bdc;
  color: #fff;
  box-shadow: 0 7px 18px rgba(0, 72, 196, .32);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .03em;
}

.product-price-display {
  display: inline-flex !important;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  color: #f7f7f7;
  line-height: 1.15;
}

.product-price-display del {
  color: #8f9baa;
  font-size: .62em;
  font-weight: 600;
  text-decoration-thickness: 1.5px;
}

.product-price-display strong {
  color: inherit;
  font-size: inherit;
}

.product-price-display.is-discounted strong {
  color: #69a0ff;
}

.product-price-display em {
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(7, 91, 220, .22);
  color: #8bbcff;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.card.product-poster-card .price-row .product-price-display {
  flex-wrap: wrap;
  gap: 3px 7px;
  font-size: 20px;
}

.card.product-poster-card .price-row .product-price-display del {
  width: 100%;
  font-size: 10px;
}

.big-price .product-price-display {
  flex-wrap: wrap;
  font-size: 33px;
}

.big-price .product-price-display del {
  font-size: 18px;
}

.big-price .product-price-display em {
  font-size: 11px;
}

.cart-unit-price {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
}

.cart-unit-price .product-price-display {
  font-size: 14px;
}

.cart-unit-price > small {
  margin: 0 !important;
  color: #929aa5 !important;
  font-size: 11px !important;
}

@media (max-width: 650px) {
  .card-sale-badge { top: 12px; right: 12px; }
  .card.product-poster-card .card-body {
    padding: 30px 10px 10px;
    background: linear-gradient(transparent, rgba(5, 5, 5, .82) 32%, #050505 72%);
  }
  .card.product-poster-card .card-body > small {
    font-size: 8px;
    letter-spacing: .35px;
  }
  .card.product-poster-card h3,
  .card.product-card-link .product-card-title {
    margin: 3px 0 7px;
    font-size: 14px;
    line-height: 1.15;
  }
  .card.product-poster-card .price-row {
    gap: 4px;
    margin: 0;
  }
  .card.product-poster-card .price-row strong,
  .card.product-poster-card .price-row .product-price-display {
    font-size: 16px;
    line-height: 1.15;
  }
  .card.product-poster-card .price-row span {
    font-size: 8px;
  }
  .card.product-poster-card .card-tag {
    padding: 4px 6px;
    font-size: 7px;
    letter-spacing: .45px;
  }
  .big-price .product-price-display { font-size: 29px; }
}

/* Recomendaciones automáticas en la ficha del producto. */
.product-recommendations {
  width: min(1180px, calc(100% - 48px));
  margin: -48px auto 110px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.product-recommendations > header {
  margin-bottom: 24px;
}

.product-recommendations > header h2 {
  margin: 5px 0 0;
  color: #f7f7f7;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.product-recommendations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-recommendations-grid .product-poster-card {
  height: clamp(340px, 36vw, 410px);
}

@media (max-width: 800px) {
  .product-recommendations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .product-recommendations {
    width: 100%;
    margin: -38px auto 72px;
    padding: 28px 0 0;
  }

  .product-recommendations > header {
    padding: 0 18px;
    margin-bottom: 18px;
  }

  .product-recommendations > header h2 {
    font-size: 38px;
  }

  .product-recommendations-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100vw - 48px) / 2);
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding: 0 18px 12px;
    scroll-padding-left: 18px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-recommendations-grid::-webkit-scrollbar {
    display: none;
  }

  .product-recommendations-grid .product-poster-card {
    height: clamp(260px, 72vw, 330px);
    scroll-snap-align: start;
  }
}

body {
  background: #080808;
}

.catalog-entry body.home-page,
.catalog-entry body.home-page > main {
  background-color: #080808;
}

.top,
.site-footer {
  background: #000;
}

.top {
  border-bottom-color: rgba(255, 255, 255, .14);
}

.cart-link {
  border: 1px solid rgba(255, 255, 255, .2);
  background: #171717 !important;
  box-shadow: none;
}

.cart-link:hover {
  border-color: rgba(255, 255, 255, .42);
  background: #252525 !important;
}

.cart-link b {
  background: #f5f5f5;
  color: #080808;
}

.eyebrow,
.hero h1 em,
.card small,
.card.product-poster-card .card-body > small,
.text-link span,
.whatsapp-help,
.payment-proof-link,
.shop-back-link {
  color: #d4d4d4;
}

.hero-immersive h1 em::after,
.hero-scroll-cue-line::after,
.home-scene-progress-line::after {
  background: #f2f2f2;
}

.hero-models::before {
  background: radial-gradient(circle, rgba(255, 255, 255, .07), transparent 68%);
}

.hero-line-two {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
}

.product-fixed-background {
  background: #080808;
}

.home-page main > .products-section:not(.collection-catalog-view) {
  background-color: transparent;
}

.button,
.hero-immersive .hero-actions .button,
.coupon-form button,
.search button {
  border-color: #f4f4f4;
  background: #f4f4f4;
  color: #080808;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
}

.button:hover,
.hero-immersive .hero-actions .button:hover,
.coupon-form button:hover,
.search button:hover {
  border-color: #d3d3d3;
  background: #d3d3d3;
  color: #000;
}

.button.secondary,
.checkout-actions .button.secondary,
.checkout-coupon .button.secondary {
  border: 1px solid rgba(255, 255, 255, .2) !important;
  background: #181818 !important;
  color: #f4f4f4 !important;
}

.button.secondary:hover,
.checkout-actions .button.secondary:hover,
.checkout-coupon .button.secondary:hover {
  border-color: rgba(255, 255, 255, .42) !important;
  background: #242424 !important;
}

.search,
.search input,
.form input,
.form textarea,
.form select,
.buy-form select,
.buy-form input,
.coupon-form input,
.checkout-form,
.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.order-box,
.cart-summary,
.same-address,
#delivery-address,
.quantity-stepper,
.payment-proof-form textarea,
.payment-proof-form input {
  border-color: rgba(255, 255, 255, .16) !important;
  background: #121212 !important;
  color: #f7f7f7 !important;
}

.form input:focus,
.form textarea:focus,
.form select:focus,
.buy-form select:focus,
.buy-form input:focus,
.cart-item input:focus,
.coupon-form input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus,
.payment-proof-form textarea:focus,
.payment-proof-form input:focus {
  border-color: #a8a8a8 !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .1) !important;
}

.benefits,
.steps article,
.product-assurance p,
.empty.soft,
.mobile-menu-toggle,
.mobile-menu-links,
.delivery-card,
.cart-add-toast {
  border-color: rgba(255, 255, 255, .14);
  background: #121212;
}

.steps-section,
.about-hero {
  background: #0b0b0b;
}

.cta-section,
.gym-promo-cta {
  background: linear-gradient(120deg, #050505, #1a1a1a);
}

.benefit-icon,
.floating-card > span,
.hero-badge,
.empty-cart-icon {
  border-color: rgba(255, 255, 255, .3);
  background: linear-gradient(145deg, #292929, #0d0d0d);
  box-shadow: 0 9px 24px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.card,
.card.product-poster-card {
  border-color: rgba(255, 255, 255, .22);
  background: #090909;
}

.card.product-poster-card .card-image {
  background: #090909;
}

.card.product-poster-card .card-body {
  background: linear-gradient(transparent, rgba(5, 5, 5, .86) 26%, #050505);
}

.card.product-poster-card .card-body > small {
  display: none;
}

.card.product-card-link:focus-visible,
.home-carousel-controls button:focus-visible,
.home-scene-navigation button:focus-visible {
  outline-color: #f4f4f4;
}

.home-catalog .catalog-filters a {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(8, 8, 8, .58);
}

.home-catalog .catalog-filters a:hover,
.home-catalog .catalog-filters a.active,
.filters a:hover,
.filters a.active {
  border-color: #f4f4f4;
  background: #f4f4f4;
  color: #080808;
}

@media (min-width: 981px) {
  .hero-catalog-intro .catalog-filters::before,
  .hero-catalog-intro .catalog-filters::after {
    display: none;
    content: none;
  }

  .hero-catalog-intro .catalog-filters button {
    min-height: 36px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(8, 8, 8, .58);
    color: #fafafa;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }

  .hero-catalog-intro .catalog-filters button:hover,
  .hero-catalog-intro .catalog-filters button.active {
    border-color: #f4f4f4;
    background: #f4f4f4;
    color: #080808;
  }

  .hero-catalog-intro .search input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .hero-catalog-intro .search button {
    flex: 0 0 auto;
    min-width: 88px;
    border-color: #1769f2;
    background: #0054df;
    color: #fff;
  }

  .hero-catalog-intro .search button:hover {
    border-color: #337bfa;
    background: #1769f2;
    color: #fff;
  }
}

.shop-open-collection {
  border-color: rgba(255, 255, 255, .28);
}

.shop-open-collection:hover {
  border-color: #f4f4f4;
  background: rgba(255, 255, 255, .1);
}

.shop-open-collection span,
.quantity-stepper button,
.delivery-card a {
  color: #d8d8d8;
}

.home-carousel-arrow,
.home-carousel-rotation {
  border-color: #393939;
  background: rgba(10, 10, 10, .94);
}

.home-carousel-arrow:hover {
  border-color: #f4f4f4;
  background: #f4f4f4;
  color: #080808;
}

.home-scene-navigation button[aria-current] > span,
.home-carousel-dots button[aria-pressed="true"]::after {
  background: #f4f4f4;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .12);
}

.delivery-card:has(input:checked) {
  border-color: #bdbdbd;
  background: #1a1a1a;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .08);
}

.delivery-card input,
.same-address input {
  accent-color: #f4f4f4;
}

.checkout-progress li {
  background: #101010;
}

.checkout-progress li.active {
  border-color: #f4f4f4;
  background: #f4f4f4;
  color: #080808;
  box-shadow: none;
}

.order-box .total b {
  color: #f4f4f4;
}

.cart-empty {
  border-color: rgba(255, 255, 255, .18);
  background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, .08), transparent 48%), #111 !important;
}

.cart-flyer {
  background: #171717;
}

.cart-add-toast {
  border-color: rgba(255, 255, 255, .3);
}

.site-footer .footer-column a:hover,
.site-footer .footer-column a:active,
.site-footer .footer-column a:focus-visible,
.site-footer .footer-bottom a:hover,
.site-footer .footer-bottom a:active,
.site-footer .footer-bottom a:focus-visible {
  color: #69a0ff;
}

@keyframes cart-received {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.13); box-shadow: 0 0 0 9px rgba(255, 255, 255, .12); }
}

/* Acentos azules de marca solicitados para el hero y la navegación. */
.cart-link {
  border-color: #1769f2;
  background: #0048c4 !important;
}

.cart-link:hover {
  border-color: #3980ff;
  background: #033994 !important;
}

.hero-immersive .hero-actions .button {
  border-color: #1b61d8;
  background: #0048c4;
  color: #fafafa;
  box-shadow: 0 8px 28px rgba(0, 72, 196, .28);
}

.hero-immersive .hero-actions .button:hover {
  border-color: #1769f2;
  background: #033994;
  color: #fafafa;
}

.hero-immersive .hero-copy > .eyebrow {
  color: #69a0ff;
}

.hero-immersive h1 em::after {
  background: #0048c4;
}

/* En móvil el fondo debe continuar detrás de toda la colección. Antes se
   dibujaba a 100% de ancho y terminaba apenas debajo del encabezado. */
@media (max-width: 980px) {
  .hero-fixed-background {
    background-color: #080808;
    background-image:
      linear-gradient(to bottom, rgba(0, 0, 0, .16), rgba(0, 0, 0, .3)),
      var(--background-image);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
  }

}

/* Páginas informativas propias de la tienda. */
.information-page-body main {
  min-height: calc(100dvh - 84px);
  background:
    radial-gradient(circle at 90% 0, rgba(0, 72, 196, .12), transparent 34%),
    #080808;
}

.information-page {
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: 72px 0 96px;
}

.information-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.information-hero h1 {
  margin: 12px 0 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(52px, 7vw, 86px);
  line-height: .95;
  letter-spacing: -1.8px;
  text-transform: uppercase;
}

.information-hero p {
  max-width: 660px;
  margin: 0;
  color: #b8b8b8;
  font-size: 15px;
  line-height: 1.7;
}

.information-back {
  flex: 0 0 auto;
  padding-bottom: 7px;
  color: #d7d7d7;
  font-size: 12px;
  font-weight: 700;
}

.information-back:hover,
.information-content a:hover {
  color: #fff;
}

.information-content {
  width: min(100%, 860px);
  margin-top: 52px;
}

.information-content h2 {
  margin: 54px 0 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.3px;
  text-transform: uppercase;
}

.information-content h2:first-child {
  margin-top: 0;
}

.information-content a {
  color: #8fb8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-content details {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.faq-content h2 + details {
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.faq-content summary {
  position: relative;
  padding: 22px 46px 22px 0;
  color: #f4f4f4;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq-content summary::after {
  position: absolute;
  top: 14px;
  right: 4px;
  color: #8fb8ff;
  font-size: 26px;
  font-weight: 400;
  content: '+';
}

.faq-content details[open] summary::after {
  content: '−';
}

.faq-content details p,
.privacy-content section p {
  max-width: 780px;
  margin: 0;
  padding: 0 46px 22px 0;
  color: #aaa;
  font-size: 14px;
  line-height: 1.75;
}

.policy-updated {
  margin: 0 0 44px;
  color: #858585;
  font-size: 12px;
}

.privacy-content section {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.privacy-content section:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.privacy-content section h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

.privacy-content section p {
  padding-bottom: 0;
}

@media (max-width: 650px) {
  .information-page-body main {
    min-height: calc(100dvh - 74px);
  }

  .information-page {
    width: calc(100% - 40px);
    padding: 46px 0 64px;
  }

  .information-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding-bottom: 30px;
  }

  .information-hero h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .information-hero p {
    font-size: 14px;
  }

  .information-content {
    margin-top: 38px;
  }

  .information-content h2 {
    margin-top: 44px;
    font-size: 26px;
  }

  .faq-content summary {
    padding: 20px 38px 20px 0;
    font-size: 14px;
  }

  .faq-content details p,
  .privacy-content section p {
    padding-right: 0;
    font-size: 13px;
  }
}

/* Miniaturas visibles para la galería de cada producto. */
.product-gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 14px;
  padding: 2px 2px 5px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #353535 transparent;
}

.product-gallery-thumbnails button,
.product-gallery-thumbnails button.active {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  background: #111;
  opacity: .62;
  cursor: pointer;
  transition: opacity .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-gallery-thumbnails button:hover {
  opacity: .88;
  transform: translateY(-2px);
}

.product-gallery-thumbnails button.active {
  border-color: #1769f2;
  background: #111;
  box-shadow: 0 0 0 2px rgba(23, 105, 242, .28);
  opacity: 1;
}

.product-photo .product-gallery-thumbnails img {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: cover;
  transform: none;
}

.product-photo.has-gallery-thumbnails > span {
  bottom: 100px;
}

@media (max-width: 650px) {
  .product-gallery-thumbnails {
    justify-content: flex-start;
    gap: 8px;
    margin-top: 11px;
  }

  .product-gallery-thumbnails button,
  .product-gallery-thumbnails button.active {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    border-radius: 9px;
  }

  .product-photo.has-gallery-thumbnails > span {
    bottom: 87px;
  }
}

/* La fotografía se muestra completa y puede abrirse a tamaño de pantalla. */
.product-gallery-stage {
  background: #f2f2f0;
}

.product-gallery-stage > .product-gallery-open,
.product-gallery-stage > .product-gallery-overlay {
  object-fit: contain !important;
  background: #f2f2f0;
}

.product-gallery-open {
  cursor: zoom-in;
}

.product-gallery-open:focus-visible {
  outline: 3px solid #147cf1;
  outline-offset: -4px;
}

body.image-lightbox-open {
  overflow: hidden;
}

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

.product-image-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  gap: 18px;
  padding: 34px;
  background: rgba(0, 0, 0, .95);
  backdrop-filter: blur(8px);
}

.product-lightbox-frame {
  position: relative;
  display: grid;
  width: 100%;
  height: calc(100dvh - 68px);
  place-items: center;
}

.product-lightbox-frame img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, .45);
}

.product-lightbox-frame span {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  font-size: 12px;
}

.product-lightbox-close,
.product-lightbox-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: rgba(15, 15, 15, .82);
  color: #fff;
  cursor: pointer;
}

.product-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 30px;
  line-height: 1;
}

.product-lightbox-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 36px;
  line-height: 1;
  transform: translateY(-50%);
}

.product-lightbox-nav.previous {
  left: 22px;
}

.product-lightbox-nav.next {
  right: 22px;
}

.product-lightbox-close:hover,
.product-lightbox-nav:hover {
  border-color: #147cf1;
  background: #147cf1;
}

@media (max-width: 650px) {
  .product-image-lightbox {
    grid-template-columns: minmax(0, 1fr);
    padding: 72px 8px 22px;
  }

  .product-lightbox-frame {
    height: calc(100dvh - 94px);
  }

  .product-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 29px;
  }

  .product-lightbox-nav.previous {
    left: 8px;
  }

  .product-lightbox-nav.next {
    right: 8px;
  }

  .product-lightbox-close {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

.card.product-poster-card .card-body {
  padding: 30px 16px 13px;
  background: linear-gradient(transparent, rgba(5, 5, 5, .84) 39%, #050505 83%);
}

.product-mobile-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 0 0 14px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(8, 8, 8, .74);
  color: #f7f7f7;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.product-mobile-back:hover {
  border-color: rgba(255, 255, 255, .52);
  background: #1b1b1b;
  transform: translateX(-2px);
}

@media (max-width: 650px) {
  .card.product-poster-card .card-body {
    padding: 25px 15px 11px;
    background: linear-gradient(transparent, rgba(5, 5, 5, .84) 40%, #050505 82%);
  }

  .product-mobile-back:active {
    background: #1b1b1b;
  }
}

/* Identificación visible dentro de una colección completa. */
.catalog-entry .collection-catalog-view .eyebrow,
.catalog-entry .collection-catalog-view .shop-back-link {
  color: #5da1ff;
}

.catalog-entry .collection-catalog-view .shop-back-link:hover {
  color: #8bbcff;
}

/* El fondo de una colección se calcula contra la pantalla, no contra la
   altura total del listado, para evitar que se amplíe hasta desaparecer. */
html.catalog-entry body.home-page main > .collection-catalog-view::before {
  position: fixed;
  inset: 84px 0 0;
  width: auto;
  background-position: center top;
  background-size: cover;
  pointer-events: none;
  transform: none;
}

@media (max-width: 650px) {
  html.catalog-entry body.home-page main > .collection-catalog-view::before {
    inset: 74px 0 0;
  }
}

/* Navegación de colecciones en el encabezado. */
.top nav {
  gap: 22px;
}

.header-collections {
  position: relative;
  color: #f7f7f7;
}

.header-collections > summary {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 0;
  list-style: none;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .18s ease;
}

.header-collections > summary::-webkit-details-marker {
  display: none;
}

.header-collections > summary:hover,
.header-collections[open] > summary {
  color: #69a0ff;
}

.header-collections > summary svg,
.mobile-collections-dropdown > summary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

.header-collections[open] > summary svg,
.mobile-collections-dropdown[open] > summary svg {
  transform: rotate(180deg);
}

.header-collections-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 360px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 13px;
  background: rgba(8, 8, 8, .98);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .48);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.header-collections-panel > a {
  display: block;
  overflow: hidden;
  padding: 11px;
  border-radius: 8px;
  color: #f7f7f7;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-collections-panel > a:hover,
.header-collections-panel > a:focus-visible {
  background: #151515;
  color: #69a0ff;
}

.header-collections-empty {
  grid-column: 1/-1;
  padding: 12px 11px;
  color: #8c98a7;
  font-size: 12px;
}

@media (max-width: 650px) {
  .top {
    isolation: isolate;
  }

  .mobile-menu {
    display: block;
    position: relative;
    z-index: 3;
  }

  .top nav .header-collections {
    display: none;
  }

  html.mobile-navigation-open,
  body.mobile-navigation-open {
    overscroll-behavior: none;
  }

  .mobile-menu.is-open::before {
    content: '';
    position: fixed;
    z-index: 1;
    inset: 74px 0 0;
    background: rgba(0, 0, 0, .18);
    touch-action: none;
  }

  .mobile-menu-links {
    position: fixed;
    z-index: 101;
    top: 82px;
    right: 16px;
    bottom: auto;
    width: min(290px, calc(100vw - 32px));
    height: auto;
    max-height: calc(100vh - 84px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 84px - env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .32) transparent;
  }

  .mobile-menu-links::-webkit-scrollbar {
    width: 4px;
  }

  .mobile-menu-links::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, .32);
  }

  .mobile-menu-links > a:last-child {
    margin-bottom: max(4px, env(safe-area-inset-bottom));
  }

  .mobile-collections-dropdown {
    margin: 2px 0;
  }

  .mobile-collections-dropdown > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: 44px;
    padding: 11px 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #f7f7f7;
    font-size: 14px;
    font-weight: 700;
    list-style: none !important;
  }

  .mobile-collections-dropdown > summary::marker,
  .mobile-collections-dropdown > summary::-webkit-details-marker {
    content: '';
    display: none;
  }

  .mobile-collections-dropdown[open] > summary {
    background: #111;
    color: #69a0ff;
  }

  .mobile-collection-links {
    display: grid;
    gap: 2px;
    padding: 3px 6px 8px 15px;
    border-left: 1px solid rgba(105, 160, 255, .35);
    margin-left: 14px;
  }

  .mobile-menu-links .mobile-collection-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 11px;
    color: #c8d2df;
    font-size: 13px;
  }

  .mobile-collection-links > span {
    padding: 10px 11px;
    color: #8794a4;
    font-size: 12px;
  }
}
