:root {
  color-scheme: dark;
  --page-width: 720px;
  --page-bg: #050506;
  --button-bg: #111319;
  --button-border: rgba(255, 255, 255, 0.26);
  --whatsapp: #25d366;
}

@font-face {
  font-family: "Prestige Condensed";
  src: url("RobotoCondensed-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Prestige Condensed";
  src: url("RobotoCondensed-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #fff;
  background: var(--page-bg);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.catalog-page {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 0 0 calc(82px + env(safe-area-inset-bottom));
  line-height: 0;
  background: #000;
}

.catalog-page img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

.catalog-slice {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.thankyou-slice {
  background: #000;
}

.thankyou-rewrite {
  position: absolute;
  top: 74%;
  left: 0;
  display: flex;
  width: 100%;
  height: 10%;
  align-items: center;
  justify-content: center;
  color: #f6f4f7;
  background: #000;
  font-family: "Prestige Condensed", Arial, Helvetica, sans-serif;
  line-height: 1;
  pointer-events: none;
}

.thankyou-rewrite span {
  display: flex;
  width: fit-content;
  max-width: calc(100% - 36px);
  flex-direction: column;
  align-items: stretch;
  font-size: clamp(21px, 4.8vw, 34px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}

.thankyou-rewrite span::after {
  width: 100%;
  height: 1px;
  margin-top: clamp(6px, 1.2vw, 9px);
  background: rgba(255, 255, 255, 0.9);
  content: "";
}

.molecule-glint {
  position: absolute;
  top: 55.24%;
  left: 10.46%;
  width: 42.48%;
  aspect-ratio: 650 / 430;
  background: url("../catalog-assets/common/molecule-glint.jpg") center / 100% 100% no-repeat;
  mix-blend-mode: screen;
  opacity: 0.3;
  pointer-events: none;
  filter: brightness(1.34) contrast(1.1) drop-shadow(0 0 9px rgba(255, 255, 255, 0.24));
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translate3d(-4px, 3px, 0) scale(1.01) rotate(-0.3deg);
  transform-origin: 52% 52%;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 42%, transparent 79%);
  mask-image: radial-gradient(ellipse at center, #000 42%, transparent 79%);
  animation: molecule-float 6.2s cubic-bezier(0.42, 0, 0.24, 1) infinite;
}

.catalog-quick-nav {
  position: absolute;
  z-index: 3;
  top: 56.8%;
  right: 4.15%;
  display: grid;
  width: 43.2%;
  height: 22.8%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(5px, 1.15vw, 9px);
  padding: clamp(5px, 1.25vw, 10px);
  color: #f6f4f7;
  background: #000;
  font-family: "Prestige Condensed", Arial, Helvetica, sans-serif;
  line-height: 1;
}

.catalog-quick-link {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: clamp(3px, 0.7vw, 6px);
  padding: 0 clamp(5px, 1.15vw, 9px);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: clamp(3px, 0.55vw, 5px);
  color: #f6f4f7;
  background: #0d0d11;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-size: clamp(7px, 1.45vw, 11px);
  font-weight: 700;
  letter-spacing: 0.055em;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.catalog-quick-link:hover,
.catalog-quick-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(23, 23, 28, 0.98);
  outline: none;
  transform: translateY(-1px);
}

.catalog-quick-link:active {
  transform: translateY(0);
}

.catalog-quick-arrow {
  width: clamp(4px, 0.75vw, 6px);
  height: clamp(4px, 0.75vw, 6px);
  flex: 0 0 clamp(4px, 0.75vw, 6px);
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  border-right: 1px solid rgba(255, 255, 255, 0.72);
  transform: rotate(45deg);
  transition: border-color 180ms ease, transform 180ms ease;
}

.catalog-quick-link:hover .catalog-quick-arrow,
.catalog-quick-link:focus-visible .catalog-quick-arrow {
  border-color: #fff;
  transform: translateX(2px) rotate(45deg);
}

.catalog-image-section,
.catalog-anchor-slice {
  position: relative;
  width: 100%;
  background: #000;
  line-height: 0;
}

#catalog-products-es,
#catalog-products-en,
#catalog-reviews-es,
#catalog-reviews-en,
#catalog-shipping-es,
#catalog-shipping-en,
.catalog-inline-anchor {
  scroll-margin-top: clamp(12px, 3vw, 22px);
}

.catalog-inline-anchor {
  position: absolute;
  top: 36.3%;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

@keyframes molecule-float {
  0%, 100% {
    opacity: 0.24;
    transform: translate3d(-4px, 3px, 0) scale(1.01) rotate(-0.3deg);
  }
  28% {
    opacity: 0.52;
    transform: translate3d(4px, -4px, 0) scale(1.032) rotate(0.12deg);
  }
  56% {
    opacity: 0.78;
    transform: translate3d(14px, -12px, 0) scale(1.06) rotate(0.48deg);
  }
  78% {
    opacity: 0.4;
    transform: translate3d(3px, -15px, 0) scale(1.038) rotate(-0.18deg);
  }
}

.product-categories,
.product-category,
.category-panel,
.category-panel-inner {
  width: 100%;
  background: #000;
}

.product-categories {
  line-height: 0;
}

.category-toggle {
  --category-accent: #f22b32;
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: #000;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: filter 180ms ease;
}

.product-category:nth-child(2) .category-toggle {
  --category-accent: #8d29e8;
}

.product-category:nth-child(3) .category-toggle {
  --category-accent: #1989ff;
}

.product-category:nth-child(4) .category-toggle {
  --category-accent: #e8c426;
}

/* Align the Aesthetic title and yellow rule with the other category strips. */
.product-category:nth-child(4) .category-toggle img {
  transform: translateY(19.5%);
}

.product-category:nth-child(5) .category-toggle {
  --category-accent: #2dc667;
}

.category-toggle::after {
  position: absolute;
  top: 86.8%;
  left: 6.5%;
  width: 13%;
  height: clamp(3px, 0.65vw, 5px);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, #fff 0 7%, var(--category-accent) 32%, transparent 72%);
  box-shadow: 0 0 7px var(--category-accent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%) scaleX(0.72);
  will-change: transform, opacity;
  animation: category-line-glint 7.8s ease-in-out infinite;
}

.product-category:nth-child(2) .category-toggle::after {
  animation-delay: 1.1s;
}

.product-category:nth-child(3) .category-toggle::after {
  animation-delay: 2.2s;
}

.product-category:nth-child(4) .category-toggle::after {
  animation-delay: 3.3s;
}

.product-category:nth-child(5) .category-toggle::after {
  animation-delay: 4.4s;
}

@keyframes category-line-glint {
  0%, 12%, 72%, 100% {
    opacity: 0;
    transform: translateX(-120%) scaleX(0.72);
  }
  20% {
    opacity: 0.9;
  }
  55% {
    opacity: 0.82;
    transform: translateX(570%) scaleX(1);
  }
  66% {
    opacity: 0;
    transform: translateX(650%) scaleX(0.72);
  }
}

.category-toggle img {
  pointer-events: none;
  user-select: none;
}

.category-toggle:hover {
  filter: brightness(1.08);
}

.category-toggle:focus-visible {
  z-index: 2;
  outline: 2px solid rgba(255, 255, 255, 0.94);
  outline-offset: -4px;
}

.category-icon {
  position: absolute;
  top: 50%;
  right: 3.2%;
  width: clamp(28px, 5.8vw, 42px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  background: rgba(7, 7, 9, 0.92);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.34);
  transform: translateY(-50%);
  transition: background 220ms ease, border-color 220ms ease;
}

.category-icon::before,
.category-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease, transform 220ms ease;
}

.category-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.category-toggle[aria-expanded="true"] .category-icon {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(24, 24, 28, 0.96);
}

.category-toggle[aria-expanded="true"] .category-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.category-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 680ms cubic-bezier(0.22, 0.75, 0.25, 1),
    opacity 320ms ease;
}

.category-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.category-panel-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0.76;
  transform: translateY(-7px) scale(0.998);
  transform-origin: top center;
  transition: opacity 440ms ease 80ms, transform 620ms cubic-bezier(0.22, 0.75, 0.25, 1);
}

.category-panel.is-open .category-panel-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reviews-section {
  width: 100%;
  padding: clamp(16px, 3.4vw, 24px) clamp(15px, 3.8vw, 28px) clamp(18px, 3.8vw, 28px);
  overflow: hidden;
  color: #f6f4f7;
  background: #050506;
  font-family: "Prestige Condensed", Arial, Helvetica, sans-serif;
  line-height: 1.25;
}

.reviews-heading {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.reviews-heading h2 {
  margin: 0;
  font-size: clamp(14px, 3.4vw, 24px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.reviews-heading > span {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: clamp(4px, 0.9vw, 7px);
  background: rgba(255, 255, 255, 0.9);
}

.reviews-viewport {
  width: 100%;
  margin-top: clamp(16px, 3vw, 22px);
  overflow: hidden;
  touch-action: pan-y;
}

.reviews-track {
  display: flex;
  gap: 16px;
  width: 100%;
  transition: transform 780ms cubic-bezier(0.22, 0.75, 0.25, 1);
  will-change: transform;
}

.review-card {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(108px, 32%) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #34323b;
  border-radius: clamp(14px, 2.5vw, 18px);
  background: #101015;
}

.review-photo {
  min-height: clamp(224px, 38vw, 276px);
  margin: 0;
  overflow: hidden;
  background: #0b0b0e;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.review-photo--verified img {
  object-fit: contain;
  object-position: 50% 50%;
}

.review-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(14px, 2.8vw, 20px);
}

.review-label {
  margin: 0;
  color: #9a97a1;
  font-size: clamp(10px, 1.7vw, 12px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.review-stars {
  width: clamp(82px, 18vw, 104px);
  height: auto;
  margin: clamp(10px, 2vw, 14px) 0;
  fill: #f5f3f6;
}

.review-copy blockquote {
  margin: 0;
  color: #f6f4f7;
  font-size: clamp(13px, 2.25vw, 16px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.review-copy footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: clamp(11px, 2.2vw, 16px);
  border-top: 1px solid #34323b;
}

.review-copy footer strong {
  color: #f6f4f7;
  font-size: clamp(14px, 2.4vw, 17px);
  line-height: 1;
}

.review-copy footer span {
  color: #85818c;
  font-size: clamp(9px, 1.55vw, 11px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.reviews-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 14px;
  margin-top: clamp(12px, 2.4vw, 18px);
  color: #77737e;
  font-size: clamp(9px, 1.55vw, 11px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.reviews-status [hidden] {
  display: none;
}

.reviews-status[hidden] {
  display: none;
}

.reviews-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #77737e;
  border-radius: 50%;
  background: transparent;
}

.reviews-dot.is-active {
  border-color: #f5f3f6;
  background: #f5f3f6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.whatsapp-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 16px));
  z-index: 50;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--button-border);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #20232a, var(--button-bg));
  box-shadow:
    0 15px 38px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(37, 211, 102, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.whatsapp-fab::before {
  position: absolute;
  inset: 5px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background: radial-gradient(
    circle at 38% 32%,
    rgba(37, 211, 102, 0.34),
    rgba(37, 211, 102, 0.08) 62%,
    transparent 64%
  );
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.72);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.62),
    0 0 0 4px rgba(37, 211, 102, 0.11);
  outline: none;
}

.whatsapp-fab:active {
  transform: scale(0.96);
}

.whatsapp-fab svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.38));
}

.whatsapp-label {
  position: absolute;
  right: 69px;
  width: max-content;
  max-width: calc(100vw - 110px);
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  color: #e9e9ed;
  background: rgba(12, 14, 19, 0.95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  pointer-events: none;
  opacity: 0;
  transform: translateX(5px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.whatsapp-fab:hover .whatsapp-label,
.whatsapp-fab:focus-visible .whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 721px) {
  .catalog-page {
    border-inline: 1px solid rgba(255, 255, 255, 0.08);
  }
}

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

  .whatsapp-fab,
  .whatsapp-label,
  .catalog-quick-link,
  .catalog-quick-arrow {
    transition: none;
  }

  .molecule-glint {
    animation: none;
  }

  .category-toggle::after {
    display: none;
    animation: none;
  }

  .reviews-track {
    transition: none;
  }

  .category-toggle,
  .category-icon,
  .category-icon::before,
  .category-icon::after,
  .category-panel {
    transition: none;
  }

  .category-panel-inner {
    transition: none;
  }
}

@media print {
  .whatsapp-fab,
  .catalog-quick-nav {
    display: none;
  }

  .category-icon {
    display: none;
  }

  .category-panel {
    grid-template-rows: 1fr !important;
    opacity: 1 !important;
  }
}
