@import url("reset.css");

@import url("https://fonts.googleapis.com/css?family=Inter:regular,500,600,700&display=swap");

/* Global CSS Variables */
:root {
  --mediaW: clamp(520px, 48vw, 760px);
  --mediaGapY: 120px;
}

/* ************COMMON************ */

.logo {
  font-weight: 700;
  font-size: 2.25rem;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: #303a4d;
}

[class*="__container"] {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
}

.title {
  font-size: 3.5rem;
  font-weight: 600;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

.wrapper > main {
  flex: 1 0 auto;
}

/* ************HEADER************ */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.75rem;
  flex-wrap: wrap;
  max-width: 74.624rem;
}

.header__logo {
  position: relative;
  z-index: 2;
}

.header__navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__link {
  font-weight: 600;
  position: relative;
}

.actions-header {
  display: flex;
  align-items: center;
  gap: 0.624rem;
}

.icon-menu {
  display: none;
}

.actions-header__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #303a4d;
  border-radius: 30px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 160px;
}

/* *****************HOME**************** */

.main {
  position: relative;
  min-height: 130vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1500ms ease-in-out;
  z-index: 0;
}

.hero-bg--a {
  opacity: 1;
  z-index: 1;
}

.hero-bg--b {
  opacity: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25));
  z-index: 2;
  pointer-events: none;
}

.main__container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 12rem;
}

.main__caption {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #fff;
}

.main__title {
  font-size: 5.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #fff;
}

.main__text {
  margin-bottom: 3.5rem;
  max-width: 33.375rem;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #fff;
}

.main__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.main__button {
  font-weight: 600;
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  line-height: 110%;
  text-decoration: none;
}

.main__button:hover {
  background-color: #1e2635;
  transform: translateY(-1px);
}

.main__link {
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.3s;
  letter-spacing: 0.02em;
}

.main__link:hover {
  text-decoration-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    transition: none;
  }
}

.outro_home {
  background: url("../img/home/CTA.jpg") center / cover no-repeat;
}

/* ************ABOUT**************** */

.main_about {
  background: url("../img/about/About-Hero.jpg") center / cover no-repeat;
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.about__image {
  position: relative;
  max-width: 552px;
  height: 614px;
}

.about__image img {
  border-radius: 16px;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__title {
  margin-bottom: 1.5rem;
}

.about__text {
  max-width: 30rem;
  letter-spacing: 0.02em;
  line-height: 150%;
  margin-bottom: 3.5rem;
}

.about__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.outro_about {
  background: url("../img/about/CTA.jpg") center / cover no-repeat;
  position: relative;
  isolation: isolate;
}

.outro_about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 20, 33, 0.38) 0%, rgba(26, 15, 28, 0.52) 100%);
  z-index: 0;
}

.outro_about .outro__container {
  position: relative;
  z-index: 1;
}

.outro_about .outro__title {
  color: #f6eff4;
  text-shadow: 0 2px 10px rgba(18, 10, 16, 0.35);
}

.outro_about .outro__text {
  color: #f0e6ee;
  text-shadow: 0 1px 8px rgba(18, 10, 16, 0.28);
}

.outro_about .outro__button {
  background-color: #6e1f45;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.outro_about .outro__button:hover {
  background-color: #842a52;
  transform: translateY(-1px);
}

/* **************SERVICES**************** */

.main_services {
  background: url("../img/services/Services-Hero.jpg") center / cover no-repeat;
}

.services {
  background-color: #D92CFC;
}

.services__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.services__title {
  text-align: center;
  margin-bottom: 5rem;
}

.services__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.services__row .product-card {
  height: 100%;
}

/* Products grid for category pages (Zara-like) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 4rem;
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
  }
  
  .services__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Ensure products grid works when applied to services__row */
.services__row[data-products] {
  padding-top: 4rem;
}

@media (min-width: 769px) and (max-width: 1199px) {
  .services__row[data-products] {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .services__row[data-products] {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tienda-error {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  color: #856404;
}

.tienda-products-root .tienda-category-section {
  margin-top: clamp(4.8rem, 8vw, 7rem);
  padding-top: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.tienda-products-root .tienda-category-section:first-of-type {
  margin-top: clamp(2.6rem, 5vw, 4rem);
}

.tienda-category-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: clamp(1.35rem, 3vw, 2.15rem);
}

.tienda-category-section__eyebrow {
  margin: 0 0 0.45rem;
  color: #8a8a8a;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tienda-category-section__title {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #111;
}

.tienda-category-section__title-link,
.tienda-category-section__view-all {
  color: inherit;
  text-decoration: none;
}

.tienda-category-section__view-all {
  flex: 0 0 auto;
  padding-bottom: 0.34rem;
  border-bottom: 1px solid #111;
  color: #111;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tienda-category-grid.services__row {
  padding-top: 0;
}

@media (max-width: 768px) {
  .tienda-category-section__header {
    display: block;
  }

  .tienda-category-section__view-all {
    display: inline-block;
    margin-top: 0.9rem;
  }
}

.item-services {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 100%;
}

/* Ensure product cards work in item-services structure */
.services__column .product-card {
  width: 100%;
}

.item-services__image {
  margin-bottom: 2rem;
  max-width: 360px;
  height: 421px;
}

.item-services__image img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.item-services__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.item-services__text {
  max-width: 21.5rem;
  line-height: 150%;
  margin-bottom: 2rem;
  flex-grow: 1;
  letter-spacing: 0.02em;
}

.item-services__button {
  background-color: inherit;
  border: 2px solid #303a4d;
  color: #303a4d;
}

.outro_services {
  background: url("../img/services/CTA.jpg") center / cover no-repeat;
}

/* ************TESTIMONIAL**************** */

.testimonial__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.testiomonial__caption {
  margin-bottom: 4rem;
  font-weight: 600;
  text-transform: uppercase;
}

.testimonial__title {
  margin-bottom: 4rem;
  font-size: 2rem;
  max-width: 40.75rem;
  line-height: 136%;
  font-weight: 500;
}

.item-testimonial__image {
  max-width: 64px;
  margin: 0 auto;
  margin-bottom: 1.063rem;
  height: 64px;
}

.item-testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.item-testimonial__title {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.item-testimonial__caption {
  font-size: 0.938rem;
}

/* ****************OUTRO**************** */

.outro__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.outro__title {
  margin-bottom: 1.25rem;
}

.outro__text {
  max-width: 33.625rem;
  line-height: 150%;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.outro__button {
  padding: 1.25rem 3rem;
}

/* ===== FOOTER PREMIUM ===== */

.footer {
  background: #1a1f2e;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* Brand column */
.footer__col--brand .footer__logo {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.footer__social {
  display: flex;
  gap: 1.25rem;
}

.footer__social-link {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.22s;
}

.footer__social-link:hover {
  color: #fff;
}

.footer__logo:focus-visible,
.footer__social-link:focus-visible,
.footer__link:focus-visible,
.footer__legal-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Nav columns */
.footer__col-title {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin: 0 0 1.2rem;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.22s;
}

.footer__link:hover {
  color: #fff;
}

.footer__contact-note {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.65;
}

/* Divider */
.footer__divider {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
}

.footer__copyright {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__legal-link {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 0.22s;
}

.footer__legal-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer__legal-sep {
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.77rem;
}

/* Footer responsive */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }
}

@media (max-width: 540px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  max-width: 37.5rem;
}

.main__container_pages {
  padding-top: 300px;
}

.main_pages {
  min-height: 676px !important;
}

/* ****************SERVICES PAGE**************** */
.services-page__container {
  max-width: 1320px;
  padding: calc(var(--header-height) + clamp(1.2rem, 3vw, 2rem)) clamp(0.9rem, 2.8vw, 2.4rem) 0;
}

.shop-categories {
  padding-bottom: clamp(2.6rem, 6vw, 4.5rem);
}

.shop-categories__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: clamp(1.35rem, 3.2vw, 2.4rem);
  text-align: center;
}

.shop-categories__eyebrow {
  margin: 0;
  color: #8a8a8a;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.shop-categories__title {
  margin: 0;
  color: #111;
  font-size: clamp(2.15rem, 5.2vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.shop-categories__subtitle {
  margin: 0;
  max-width: 36rem;
  color: #555;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.5;
}

.shop-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.2vw, 0.9rem);
}

.shop-categories__tile .category-tile__label {
  font-size: clamp(0.68rem, 1vw, 0.82rem);
}

@media (min-width: 768px) {
  .shop-categories__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .shop-categories__tile {
    grid-column: span 2;
  }

  .shop-categories__tile:nth-child(n + 4) {
    grid-column: span 3;
  }

  .shop-categories__tile:nth-child(n + 4) .category-tile__image {
    aspect-ratio: 4 / 4.7;
  }
}

@media (max-width: 767px) {
  .shop-categories__tile:last-child {
    grid-column: 1 / -1;
  }

  .shop-categories__tile:last-child .category-tile__image {
    aspect-ratio: 4 / 4.7;
  }
}

.services-page__item {
  margin-bottom: 132px;
}

.services-page__item:not(:last-child) {
  padding-bottom: 132px;
  margin-bottom: 132px;
  border-bottom: 1px solid rgba(48, 58, 77, 0.4);
}

.services-page__column {
  display: flex;
  align-items: center;
  gap: 97px;
}

.services-page__title {
  margin-bottom: 24px;
}

.services-page__text {
  margin-bottom: 56px;
  max-width: 480px;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.services-page__text p:not(:last-child) {
  margin-bottom: 20px;
}

.services-page__img {
  max-width: 552px;
  height: 614px;
}

.services-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************RECOMMENDED SECTION****************/

.recommended {
  padding: 6rem 0;
  background: #f5f5f5;
}


/* ****************TIENDA CAROUSEL****************/

.tienda-carousel {
  width: 100%;
  margin: 0 auto;
}

.tienda-carousel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.tienda-carousel__title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #303a4d;
  margin: 0;
}

.tienda-carousel__controls {
  display: none;
  gap: 0.5rem;
}

@media (min-width: 769px) {
  .tienda-carousel__controls {
    display: flex;
  }
}

.tienda-carousel__btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(48, 58, 77, 0.2);
  background: white;
  color: #303a4d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}

.tienda-carousel__btn:hover:not(:disabled) {
  border-color: #303a4d;
  background: #303a4d;
  color: white;
}

.tienda-carousel__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.tienda-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 1rem 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.tienda-carousel__track::-webkit-scrollbar {
  display: none;
}

.tienda-carousel__track:focus {
  outline: 2px solid #303a4d;
  outline-offset: 4px;
}

.tienda-card {
  flex: 0 0 auto;
  width: 75vw;
  max-width: 380px;
  min-width: 320px;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.tienda-card:hover {
  transform: translateY(-2px);
}

.tienda-card__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #f5f5f5;
}

.tienda-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, opacity 0.3s;
}

.tienda-card:hover .tienda-card__img img {
  transform: scale(1.02);
  opacity: 0.95;
}

.tienda-card__meta {
  padding: 0 0.25rem;
}

.tienda-card__kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.5rem;
}

.tienda-card__name {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #303a4d;
  margin-bottom: 0.75rem;
}

.tienda-card__cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #303a4d;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.3s;
}

.tienda-card:hover .tienda-card__cta {
  text-decoration-color: #303a4d;
}

@media (min-width: 769px) {
  .tienda-card {
    width: calc((100% - 72px) / 3);
    min-width: 320px;
  }

  .tienda-carousel__track {
    padding: 1rem 0;
  }
}

@media (min-width: 1200px) {
  .tienda-card {
    width: calc((100% - 96px) / 4);
  }
}

/* ****************CONTACT PAGE****************/

.main_contact {
  background: #2a2324;
}

.contact-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact__title {
  margin-bottom: 48px;
  font-weight: 600;
  line-height: 110%;
  font-size: 40px;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e1e4eb;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.connect-contant__type {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
}

.connect-contact__label {
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__text {
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

iframe {
  width: 100vw;
  height: 482px;
  filter: grayscale(100%);
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  height: 36px;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.pricing__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing__caption {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 4%;
}

.pricing__title {
  font-weight: 600;
  font-size: 72px;
  margin-bottom: 24px;
}

.pricing__text {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 88px;
}

.pricing__row {
  display: flex;
  align-items: start;
  gap: 24px;
}

.pricing__column {
  border: 2px solid #e1e4eb;
  border-radius: 8px;
}

.pricing__item {
  padding: 40px;
  padding-bottom: 48px;
}

.item-pricing__info {
  padding-bottom: 32px;
  border-bottom: 1px solid #e1e4eb;
  margin-bottom: 32px;
}

.item-pricing__label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1%;
  margin-bottom: 16px;
}

.item-pricing__cost {
  font-size: 72px;
  font-weight: 600;
  margin-bottom: 16px;
}

.item-pricing__list {
  margin-bottom: 64px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-pricing__item::before {
  content: "";
  width: 16px;
  height: 18px;
}

.item-pricing__item:not(:last-child) {
  margin-bottom: 12px;
}

.item-pricing__button {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2%;
  font-weight: 600;
  color: #fff;
  padding: 20px 82px;
  background-color: #303a4d;
  border-radius: 64px;
}

.team {
  background-color: #e1e4eb;
}

.team__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team__title {
  text-align: center;
  margin-bottom: 96px;
  max-width: 483px;
}

.team__row {
  display: grid;
  column-gap: 24px;
  row-gap: 96px;
  grid-template-columns: repeat(3, 1fr);
}

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-team__img {
  max-width: 360px;
  height: 363px;
  margin-bottom: 40px;
}

.item-team__img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.item-team__name {
  max-width: 186px;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  margin-bottom: 12px;
}

.item-team__role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  letter-spacing: 2%;
}

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-team__role span::after {
  content: "";
  width: 12px;
  height: 12px;
}

.item-team__text {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 328px;
  margin-bottom: 20px;
}

.item-team__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* *************FAQ PAGE************** */
.faqs__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.faqs__title {
  text-align: center;
  margin-bottom: 80px;
}

.spollers-faq__item {
  width: 100%;
}

.spollers-faq__item:not(:last-child) {
  margin-bottom: 24px;
}

.spollers-faq__button {
  display: inline-block;
  border: 2px solid #e1e4eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
}

.spollers-faq__button span {
  padding-left: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 600;
}

.spollers-faq__button img {
  padding-right: 34.5px;
}

.spollers-faq__text {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  display: block;
}

.spollers-faq__item.active .spollers-faq__text {
  max-height: 1000px;
  max-height: calc(1000px + 16px);
}

.spollers-faq__item.active .spollers-faq__button {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.spollers-faq__item.active .spollers-faq__button span {
  padding-bottom: 32px;
}

.spollers-faq__item.active .spollers-faq__button img {
  transform: translate(-34px, 0px) rotate(180deg);
}

.spollers-faq__inner {
  padding-top: 20px;
  padding-left: 40px;
  border: 2px solid #e1e4eb;
  border-radius: 0px 0px 8px 8px;
  line-height: 150%;
  padding-bottom: 20px;
  border-top: none;
  padding-right: 100px;
}

/* ****************TEAM PAGE**************** */
.director__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.director__title {
  margin-bottom: 16px;
}

.director__role {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 40px;
}

.director__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 480px;
}

.director__text p:not(:last-child) {
  margin-bottom: 20px;
}

.director__img {
  max-width: 552px;
  height: 614px;
}

.director__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************GALLERY**************** */
.gallery__container {
  padding-bottom: 140px;
  padding-top: 140px;
}

.gallery__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  margin-bottom: 96px;
  justify-items: center;
}

.gallery__item {
  max-width: 360px;
  height: 407px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery__paggination {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  gap: 42px;
}

.gallery__paggination button:first-child {
  transform: translate(0px, 5px);
}

.gallery__paggination button:last-child {
  transform: rotate(-180deg) translate(0px, 5px);
}

.gallery_active {
  color: #fff;
  padding: 10px 15px;
  background-color: #303a4d;
  border-radius: 100px;
  display: inline-block;
}

/* ****************RESOURCES**************** */
.resources__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  justify-items: center;
}

.resources__img {
  max-width: 360px;
  height: 330px;
  margin-bottom: 32px;
}

.resources__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.resources__title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
}

.resources__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 243px;
  margin-bottom: 32px;
}

.resources__button {
  background-color: #fff;
  color: #303a4d;
  font-weight: 600;
  letter-spacing: 2%;
  border: 2px solid #303a4d;
  border-radius: 64px;
}

/* ****************ADAPTIVE**************** */

@media (max-width: 992px) {
  .services__row {
    grid-template-columns: 1fr;
    gap: 6rem;
    justify-items: center;
  }

  .item-services {
    text-align: center;
    align-items: center;
  }

  .page__main {
    padding-bottom: 80px;
  }
}

@media (min-width: 47.999rem) {
  .menu__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 995px) {
  .item-pricing__button {
    font-size: 19px;
  }
}

@media (max-width: 62.6875rem) {
  .resources__container {
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__paggination {
    gap: 27px;
  }

  .gallery__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .director__container {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 10px;
    text-align: center;
  }

  .item-pricing {
    padding: 20px;
    padding-bottom: 30px;
  }

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

  .item-pricing__button {
    padding: 16px 42px;
  }

  .services-page__column {
    gap: 30px;
    font-size: 15px;
  }

  .services-page__title {
    font-size: 29px;
  }

  .reviews__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 10px;
  }

  .reviews__item {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: inline-block;
  }

  .item-reviews__text {
    font-size: 16px;
  }

  .item-reviews__author {
    font-size: 16px;
  }
}

@media (max-width: 47.999rem) {
  .spollers-faq__item.active .spollers-faq__button img {
    transform: translate(-10px, -10px) rotate(180deg);
  }

  .spollers-faq__button span {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
  }

  .spollers-faq__button img {
    padding-right: 10px;
  }

  .spollers-faq__inner {
    font-size: 16px;
    padding-left: 10px;
    line-height: 130%;
  }

  .pricing__container {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pricing__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .item-pricing__button {
    font-size: 17px;
    padding: 15px 32px;
  }

  .reviews__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.875rem;
    flex: 0 0 1.875rem;
    width: 1.875rem;
    height: 1.125rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: #000;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .contact__container {
    flex-direction: column;
    padding-top: 80px;
    gap: 50px;
    padding-bottom: 80px;
  }

  .icon-menu span {
    top: calc(50% - 0.0625rem);
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 0.0625rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.0625rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu__body {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    padding: 9.375rem 0.938rem 1.875rem 0.938rem;
    overflow: auto;
    flex-direction: column;
    row-gap: 5rem;
  }

  .menu__body::before {
    content: "";
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    min-height: 5.75rem;
    background-color: #fff;
    border-bottom: 1px solid #000;
    z-index: 2;
  }

  .menu-open .menu__body {
    left: 0;
  }

  .menu-open .menu__body::before {
    left: 0;
  }

  .menu__item {
    text-align: center;
  }

  .menu__item:not(:last-child) {
    margin-bottom: 1.563rem;
  }

  .menu__link {
    font-size: 2rem;
  }

  .actions-header__button {
    padding: 0.75rem;
  }

  .main__container {
    padding-top: 8rem;
  }

  .main__container_pages {
    padding-top: 290px;
  }

  .main__title {
    font-size: 3rem;
  }

  .title {
    font-size: 2rem;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about__container {
    flex-direction: column;
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
    gap: 4rem;
  }

  .services__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .testimonial__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .testiomonial__caption {
    margin-bottom: 2rem;
  }

  .outro__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .logo {
    font-size: 1rem;
  }

  .services-page__column {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    gap: 4rem;
  }
}

@media (max-width: 61.936rem) {
  .logo {
    font-size: 2rem;
  }
}

@media (max-width: 530px) {
  .reviews__row {
    grid-template-columns: 1fr;
  }

  .team__row {
    grid-template-columns: 1fr;
  }

  .gallery__row {
    grid-template-columns: 1fr;
  }

  .resources__container {
    grid-template-columns: 1fr;
  }
}

/* ****************PRODUCT CARDS & CAROUSEL**************** */

/* Button modifier classes for dual actions */
.button--primary {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
  font-weight: 600;
}

.button--primary:hover:not(:disabled) {
  background-color: #1e2635;
  transform: translateY(-1px);
}

.button--secondary {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border: 2px solid #303a4d;
  cursor: pointer;
  transition: all 0.3s;
  color: #303a4d;
  background-color: transparent;
  font-weight: 600;
  border-radius: 30px;
}

.button--secondary:hover:not(:disabled) {
  background-color: #303a4d;
  color: #fff;
}

.button--primary:disabled,
.button--secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}


/* Products warning banner (shown when fetch fails, e.g., file:// protocol) */
.products-warning-banner {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.products-warning-banner__content {
  color: #856404;
}

.products-warning-banner__content strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #856404;
}

.products-warning-banner__content p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.products-warning-banner__content ul {
  margin: 0.75rem 0 0 1.5rem;
  padding: 0;
  list-style-type: disc;
}

.products-warning-banner__content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.products-warning-banner__content code {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .products-warning-banner {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .products-warning-banner__content strong {
    font-size: 1rem;
  }
  
  .products-warning-banner__content ul {
    margin-left: 1.25rem;
  }
}

/* Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  margin: 2rem 0;
}

/* Reserva de altura mientras products.js llena el carrusel (fix CLS portada).
   Altura = imagen de tarjeta (ancho 360px capado por viewport, proporcion 5/7
   de .product-card__image) + ~150px de contenido (titulo 2 lineas, precio,
   nota de despacho, boton 42px). El div en el HTML ya trae la clase
   carousel-container para que este placeholder y el margin apliquen antes
   del primer render. */
.carousel-container:empty {
  min-height: calc(min(360px, 100vw - 3.2rem) * 7 / 5 + 150px);
}

.carousel__track {
  overflow: hidden;
  position: relative;
}

.carousel__list {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.carousel__list::-webkit-scrollbar {
  display: none;
}

.carousel__list:active {
  cursor: grabbing;
}

.carousel__item {
  flex: 0 0 auto;
  width: 360px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #303a4d;
  background: #fff;
  color: #303a4d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel__btn:hover:not(:disabled) {
  background: #303a4d;
  color: #fff;
}

.carousel__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel__btn--prev {
  left: -24px;
}

.carousel__btn--next {
  right: -24px;
}

@media (max-width: 768px) {
  .carousel__item {
    width: min(360px, calc(100% - 0.5rem));
    max-width: 100%;
  }
  
  .carousel__btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel__btn--prev {
    left: 0.5rem;
  }
  
  .carousel__btn--next {
    right: 0.5rem;
  }
}

/* ****************CART BUTTON & DRAWER**************** */

.cart-button {
  position: relative;
  background: none;
  border: 2px solid #303a4d;
  border-radius: 30px;
  padding: 0.625rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #303a4d;
  transition: all 0.3s;
}

.cart-button:hover {
  background: #303a4d;
  color: #fff;
}

.cart-button svg {
  width: 24px;
  height: 24px;
}

.cart-button__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #D92CFC;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.cart-drawer--open {
  pointer-events: all;
  opacity: 1;
}

.cart-drawer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.cart-drawer__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}

.cart-drawer--open .cart-drawer__content {
  transform: translateX(0);
}

.cart-drawer__header {
  padding: 1.5rem;
  border-bottom: 1px solid #e1e4eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer__header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #303a4d;
}

.cart-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #303a4d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.cart-drawer__close:hover {
  color: #D92CFC;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-drawer__items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-drawer__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
  display: none;
}

.cart-drawer__footer {
  padding: 1.5rem;
  border-top: 1px solid #e1e4eb;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-drawer__error {
  padding: 0.75rem 1rem;
  background: #fdeaea;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  color: #721c24;
  font-size: 0.875rem;
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  padding: 0.5rem 0;
}

.cart-drawer__subtotal span {
  color: #666;
}

.cart-drawer__total {
  font-size: 1.5rem;
  color: #303a4d;
}

.cart-drawer__checkout {
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
}

/* Cart Item */
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e1e4eb;
  border-radius: 12px;
  background: #fff;
}

.cart-item__image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-item__title {
  font-size: 0.938rem;
  font-weight: 600;
  margin: 0;
  color: #303a4d;
}

.cart-item__price {
  font-size: 0.875rem;
  color: #666;
}

.cart-item__meta {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.cart-item__qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #e1e4eb;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #303a4d;
  transition: all 0.2s;
}

.cart-item__qty-btn:hover:not(:disabled) {
  background: #303a4d;
  color: #fff;
  border-color: #303a4d;
}

.cart-item__qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f5f5;
  color: #999;
}

.cart-item__qty {
  min-width: 32px;
  text-align: center;
  font-weight: 600;
}

.cart-item__remove {
  margin-left: auto;
  padding: 0.375rem 0.75rem;
  border: 1px solid #e1e4eb;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: #666;
  transition: all 0.2s;
}

.cart-item__remove:hover {
  background: #f5f5f5;
  color: #303a4d;
  border-color: #303a4d;
}

/* ****************PRODUCT GALLERY**************** */

.product-gallery {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  position: relative;
}

.product-gallery__main {
  width: 100%;
  max-width: var(--mediaW);
  overflow: hidden;
  background: #fff;
  position: relative;
  z-index: 1;
}

.product-gallery__main-img {
  width: 100%;
  max-width: var(--mediaW);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

.product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-gallery__thumb {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.product-gallery__thumb:hover {
  transform: translateY(-2px);
}

.product-gallery__thumb-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid transparent;
  display: block;
  transition: all 0.3s;
}

.product-gallery__thumb:hover .product-gallery__thumb-img {
  border-color: #e1e4eb;
}

.product-gallery__thumb.is-active .product-gallery__thumb-img {
  border-color: #303a4d;
}

@media (max-width: 768px) {
  .cart-drawer__content {
    max-width: 100%;
  }
  
  .carousel-container {
    margin: 1rem 0;
  }
  
  .product-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .product-gallery__thumbs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .product-gallery__thumb {
    width: calc(25% - 0.75rem);
  }
}

/* Zara product layout (jeans.html) */

.product-page {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
}

.product-page__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.product-page__layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
  margin-bottom: 6rem;
}

/* Product Info Panel */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0;
}

.product-info__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #303a4d;
  margin-bottom: 0.5rem;
}

.product-info__title {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  margin: 0 0 1rem 0;
  letter-spacing: 0.01em;
}

.product-info__price {
  font-size: 1rem;
  font-weight: 400;
  color: #000;
  margin-bottom: 1.5rem;
}

.product-info__price--base,
.product-info__price--original,
.product-info__price--offer,
.product-info__price--2x {
  display: block;
}

.product-info__price--original {
  color: #5f5f5f;
  font-size: 0.9em;
  text-decoration: line-through;
}

.product-info__price--offer {
  margin-top: 0.2rem;
  color: #111;
  font-size: 1.25em;
  font-weight: 600;
}

/* Tag "Oferta" bajo el precio en product.html — tono de la card ribbon. */
.product-info__price-offer-tag {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.32rem 0.7rem;
  background: rgba(200, 16, 46, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 2px;
  line-height: 1;
}

.product-info__price--2x {
  margin-top: 0.45rem;
  color: #1f3b2f;
  background: #eef8f1;
  border: 1px solid #cce8d5;
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  width: fit-content;
  font-size: 0.84em;
  font-weight: 600;
}

.product-info__divider {
  width: 100%;
  height: 1px;
  background-color: #e1e4eb;
  margin: 0.5rem 0 1rem 0;
}

.product-info__color {
  font-size: 0.875rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Size selector + purchase buttons */

.product-info__size {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
}

.product-info__size-selector {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid #e1e4eb;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s;
  font-family: inherit;
  font-size: 0.875rem;
  color: #000;
  text-align: left;
}

.product-info__size-selector:hover {
  border-color: #303a4d;
}

.product-info__size-selector[aria-expanded="true"] {
  border-color: #303a4d;
}

.product-info__size-selector[aria-invalid="true"] {
  border-color: #d32f2f;
}

.product-info__size-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: #666;
}

.product-info__size-selector[aria-expanded="true"] .product-info__size-label,
.product-info__size-option.is-selected ~ * .product-info__size-label {
  color: #000;
}

.product-info__size-arrow {
  font-size: 0.75rem;
  color: #666;
  transition: transform 0.3s;
  margin-left: 0.5rem;
}

.product-info__size-selector[aria-expanded="true"] .product-info__size-arrow {
  transform: rotate(180deg);
}

.product-info__size-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e1e4eb;
  border-top: none;
  margin-top: -1px;
  display: none;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-info__size-dropdown.is-open {
  display: block;
}

.product-info__size-option {
  width: 100%;
  display: block;
  padding: 0.875rem 1rem;
  border: none;
  background: #fff;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 400;
  color: #000;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: inherit;
}

.product-info__size-option:hover:not(.is-disabled) {
  background-color: #f5f5f5;
}

.product-info__size-option.is-selected {
  background-color: #f5f5f5;
  font-weight: 500;
}

.product-info__size-option.is-disabled,
.product-info__size-option[aria-disabled="true"] {
  color: #999;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.6;
}

.product-info__size-option.is-disabled:hover,
.product-info__size-option[aria-disabled="true"]:hover {
  background-color: #fff;
}

.product-info__size-error {
  margin-top: 0.5rem;
  font-size: 0.813rem;
  color: #d32f2f;
  min-height: 1.25rem;
  display: none;
}

.product-info__size-error.is-visible {
  display: block;
}

.product-info__product-error {
  margin-bottom: 0.75rem;
  font-size: 0.813rem;
  color: #d32f2f;
  min-height: 1.25rem;
  display: none;
}

.product-info__product-error.is-visible {
  display: block;
}

.product-info__product-error a,
.product-info__back-link {
  color: inherit;
  text-decoration: underline;
}

.product-info__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-info__button {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid #303a4d;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
  color: #303a4d;
  border-radius: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-info__button:focus {
  outline: 2px solid #303a4d;
  outline-offset: 2px;
}

.product-info__button--primary {
  background: #303a4d;
  color: #fff;
  border-color: #303a4d;
}

.product-info__button--primary:hover:not(:disabled) {
  background: #1e2635;
  border-color: #1e2635;
}

.product-info__button--primary:focus {
  outline-color: #1e2635;
}

.product-info__button--secondary {
  background: transparent;
  color: #303a4d;
  border-color: #303a4d;
}

.product-info__button--secondary:hover:not(:disabled) {
  background: #303a4d;
  color: #fff;
}

.product-info__button--secondary:focus {
  outline-color: #303a4d;
}

.product-info__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Size Picker Modal */
.size-picker-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.size-picker-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.size-picker-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.size-picker-modal__content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.size-picker-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e1e4eb;
}

.size-picker-modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #303a4d;
  margin: 0;
}

.size-picker-modal__close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  padding: 0;
  line-height: 1;
}

.size-picker-modal__close:hover {
  color: #000;
}

.size-picker-modal__body {
  padding: 1.5rem;
}

.size-picker-modal__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.size-picker-modal__option {
  padding: 1rem;
  border: 1px solid #e1e4eb;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  border-radius: 4px;
}

.size-picker-modal__option:hover:not(.is-disabled):not([aria-disabled="true"]) {
  border-color: #303a4d;
  background: #f5f5f5;
}

.size-picker-modal__option[aria-selected="true"],
.size-picker-modal__option.is-selected {
  background: #303a4d;
  color: #fff;
  border-color: #303a4d;
}

.size-picker-modal__option.is-disabled,
.size-picker-modal__option[aria-disabled="true"] {
  color: #999;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.6;
}

.size-picker-modal__option.is-disabled:hover,
.size-picker-modal__option[aria-disabled="true"]:hover {
  background: #fff;
  border-color: #e1e4eb;
}

@media (max-width: 768px) {
  .size-picker-modal__content {
    width: 95%;
    max-height: 85vh;
  }
  
  .size-picker-modal__options {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-info__descriptor {
  font-size: 0.813rem;
  font-weight: 400;
  line-height: 1.5;
  color: #666;
  margin-top: 0.5rem;
}

/* Mobile: Stack layout */
@media (max-width: 768px) {
  .product-page {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 2rem;
  }

  .product-page__container {
    padding: 0 0.938rem;
  }

  .product-page__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  .product-info__title {
    font-size: 1.25rem;
  }

  .product-info__actions {
    gap: 0.75rem;
  }

  .product-info__button {
    padding: 0.875rem 1.25rem;
  }
}

/* ===============================================
   UNIFIED ZARA-STYLE HEADER (all pages)
   =============================================== */

:root {
  --header-height: 65px; /* CSS fallback; JS sets the real value after injection */
}

/* NO reservar espacio en el flujo para #site-header: el header inyectado
   (.zara-header) es position:fixed y no ocupa flujo. Reservar altura aqui
   provocaba un salto de 65px hacia arriba al inyectarse (CLS). Las paginas ya
   compensan el header fijo con sus propios padding-top. */
#site-header:empty {
  min-height: 0;
}

/* Zara Header */
.zara-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.zara-header__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.zara-header__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.zara-header__hamburger {
  width: 20px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.2s ease;
}

.zara-header__hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: #111;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.zara-header__hamburger:hover {
  opacity: 0.7;
}

.zara-header__hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.zara-header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.zara-header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.zara-header__logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.zara-header__logo:hover {
  opacity: 0.72;
}

.zara-header__logo-img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.zara-header__desktop-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.zara-header__desktop-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zara-header__desktop-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #222;
  text-decoration: none;
  position: relative;
  padding: 20px 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.zara-header__desktop-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 100%;
  height: 1px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.zara-header__desktop-link:hover {
  color: #000;
}

.zara-header__desktop-link:hover::after,
.zara-header__desktop-link:focus-visible::after {
  transform: scaleX(1);
}

.zara-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.zara-header__link,
.zara-header__cart {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 8px 10px;
  font-family: inherit;
  border-radius: 999px;
}

.zara-header__link:hover,
.zara-header__cart:hover {
  color: #000;
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(17, 17, 17, 0.03);
}

.zara-header__cart {
  display: flex;
  align-items: center;
  gap: 6px;
  border-color: rgba(17, 17, 17, 0.16);
}

.zara-header__cart-count {
  font-size: 0.75rem;
}

/* Mobile Nav — visibility prevents keyboard focus when collapsed */
.zara-header__nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.28s ease, visibility 0s 0.28s;
}

.zara-header__nav.is-open {
  max-height: 360px;
  visibility: visible;
  transition: max-height 0.28s ease, visibility 0s 0s;
}

.zara-header__nav-list {
  list-style: none;
  margin: 0;
  padding: 18px 24px 22px;
}

.zara-header__nav-list li {
  margin-bottom: 0;
}

.zara-header__nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  transition: opacity 0.2s ease;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.zara-header__nav-link:hover {
  opacity: 0.68;
}

/* Hero Editorial */
.zara-hero {
  margin-top: var(--header-height);
  background: #f6f4f1;
  padding: 0;
}

.zara-hero__container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.hero-editorial {
  min-height: min(88vh, 760px);
  display: flex;
  align-items: stretch;
}

.hero-editorial__media {
  position: absolute;
  inset: 0;
  background: #ece8e2;
}

.hero-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-editorial__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 10, 10, 0.62) 0%, rgba(10, 10, 10, 0.36) 45%, rgba(10, 10, 10, 0.14) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.18) 0%, rgba(10, 10, 10, 0.38) 100%);
}

.hero-editorial__content {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  padding: clamp(2.75rem, 5.6vw, 5rem) clamp(1.4rem, 4vw, 4.2rem);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
}

.hero-editorial__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.92;
}

.hero-editorial__title {
  margin: 0;
  font-size: clamp(2rem, 5.2vw, 4.35rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  font-weight: 500;
  max-width: 16ch;
  text-wrap: balance;
}

.hero-editorial__subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  line-height: 1.4;
  max-width: 37ch;
  color: rgba(255, 255, 255, 0.94);
}

.hero-editorial__support {
  margin: 0;
  font-size: clamp(0.86rem, 1.2vw, 0.98rem);
  line-height: 1.5;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.85);
}

.hero-editorial__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.hero-editorial__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 500;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-editorial__cta:hover {
  transform: translateY(-1px);
}

.hero-editorial__cta--primary {
  background: #fff;
  border: 1px solid #fff;
  color: #111;
}

.hero-editorial__cta--primary:hover {
  background: #f2f2f2;
}

.hero-editorial__cta--secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #fff;
}

.hero-editorial__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Responsive: Zara Header */
@media (max-width: 768px) {
  .zara-header {
    background: rgba(255, 255, 255, 0.98);
  }

  .zara-header__container {
    min-height: 56px;
    padding: 0 14px;
    gap: 10px;
  }

  .zara-header__desktop-nav {
    display: none;
  }

  .zara-header__logo {
    font-size: 1rem;
    letter-spacing: 0.15em;
  }

  .zara-header__right {
    gap: 8px;
  }

  .zara-header__link,
  .zara-header__cart {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 6px 8px;
  }

  .zara-header__nav-list {
    padding: 14px 16px 18px;
  }
}

@media (min-width: 769px) {
  .zara-header__hamburger,
  .zara-header__nav {
    display: none;
  }
}

/* Responsive: Hero Editorial */
@media (max-width: 900px) {
  .hero-editorial {
    min-height: min(80vh, 680px);
  }

  .hero-editorial__content {
    width: 100%;
    justify-content: flex-end;
    padding: clamp(2rem, 6vw, 3rem) 1.2rem 1.4rem;
    gap: 0.8rem;
  }

  .hero-editorial__subtitle,
  .hero-editorial__support {
    max-width: 32ch;
  }
}

@media (max-width: 600px) {
  .hero-editorial {
    min-height: 72vh;
  }

  .hero-editorial__content {
    padding: 1.6rem 1rem 1.15rem;
  }

  .hero-editorial__kicker {
    font-size: 0.64rem;
  }

  .hero-editorial__actions {
    gap: 0.5rem;
  }

  .hero-editorial__cta {
    min-height: 42px;
    width: 100%;
  }
}

/* Update existing sections for homepage cohesion */
.page__categories {
  background: #fff;
}

.page__recommended {
  background: #f8f8f6;
}

.page__categories {
  padding: clamp(3.2rem, 8vw, 6.2rem) 0 clamp(2.6rem, 6vw, 4.6rem);
}

.page__recommended {
  padding: clamp(2.8rem, 7vw, 5.6rem) 0;
}

.section-heading {
  margin-bottom: clamp(1.6rem, 4vw, 2.7rem);
}

.section-heading--center {
  text-align: center;
}

.section-heading__eyebrow {
  margin: 0 0 10px;
  font-size: 0.67rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #999;
}

.section-heading__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}

.section-heading__subtitle {
  margin-top: 10px;
  max-width: 52ch;
  color: #666;
  line-height: 1.5;
  font-size: 0.9rem;
}

.section-heading--center .section-heading__subtitle {
  margin-inline: auto;
}

.section-heading--with-chip .section-heading__chip {
  margin: 0.55rem auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.72rem;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  color: #2f3a4d;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
  background: rgba(255, 255, 255, 0.75);
}

.home-confidence-strip {
  background: #f4f3f0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.home-confidence-strip__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(0.92rem, 2.2vw, 1.25rem) clamp(0.9rem, 2.8vw, 2.4rem);
  text-align: center;
}

.home-confidence-strip__text {
  margin: 0;
  color: #161616;
  font-size: clamp(0.84rem, 1.25vw, 0.98rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.page__home-discovery {
  padding: clamp(2.2rem, 6vw, 4.2rem) 0 clamp(3rem, 7vw, 5rem);
  background: #f8f8f6;
}

@supports (content-visibility: auto) {
  .page__categories,
  .page__home-discovery,
  .services-page,
  .footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }
}

.home-discovery__grid {
  padding-top: 0;
}

.recommended__container,
.categories__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(0.9rem, 2.8vw, 2.4rem);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.2vw, 0.9rem);
}

.category-tile {
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  display: block;
  background: #f3f3f1;
  isolation: isolate;
}

.category-tile:hover {
  opacity: 0.98;
}

.category-tile__image {
  width: 100%;
  aspect-ratio: 4 / 5.35;
  overflow: hidden;
  background: #f3f3f3;
}

.category-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.category-tile:hover .category-tile__image img {
  transform: scale(1.025);
  filter: contrast(1.02);
}

.category-tile:nth-child(1) .category-tile__image img {
  object-position: center 48%;
}

.category-tile:nth-child(2) .category-tile__image img {
  object-position: center 42%;
}

.category-tile:nth-child(3) .category-tile__image img {
  object-position: center 44%;
}

.category-tile:nth-child(4) .category-tile__image img {
  object-position: center 52%;
}

.category-tile:nth-child(5) .category-tile__image img {
  object-position: center 50%;
}

.category-tile__label {
  position: absolute;
  left: clamp(0.8rem, 2vw, 1.35rem);
  right: clamp(0.8rem, 2vw, 1.35rem);
  bottom: clamp(0.8rem, 2vw, 1.25rem);
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 1.6rem);
  padding: 0.54rem 0.72rem;
  background: rgba(255, 255, 255, 0.88);
  color: #111;
  font-size: clamp(0.66rem, 1vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: left;
  overflow-wrap: anywhere;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
  opacity: 0.65;
  pointer-events: none;
}

.home-editorial {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.home-editorial__container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.home-editorial__media {
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background: #efefef;
}

.home-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-editorial__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 3rem 2rem;
}

.home-editorial__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
}

.home-editorial__title {
  margin: 0 0 0.9rem 0;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
}

.home-editorial__text {
  margin: 0 0 1.2rem 0;
  color: #666;
  line-height: 1.5;
}

.home-editorial__cta {
  display: inline-block;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 400;
  color: #111;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.home-editorial__cta:hover {
  border-bottom-color: #111;
  opacity: 0.75;
}

.home-trust {
  width: 100%;
  background: #f2f2f0;
  padding: 22px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.home-trust__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  flex-wrap: nowrap;
}

.home-trust__item {
  flex: 1;
  text-align: center;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #555;
  position: relative;
}

.home-trust__item + .home-trust__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1rem;
  width: 1px;
  background: rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .categories__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .category-tile {
    grid-column: span 2;
  }

  .category-tile:nth-child(n + 4) {
    grid-column: span 3;
  }

  .category-tile:nth-child(n + 4) .category-tile__image {
    aspect-ratio: 4 / 4.7;
  }
}

@media (min-width: 1100px) {
  .category-tile__image {
    aspect-ratio: 4 / 5.2;
  }
}

@media (max-width: 960px) {
  .home-editorial__container {
    grid-template-columns: 1fr;
  }

  .home-editorial__media {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .home-editorial__content {
    padding: 3rem 2rem;
  }
}

@media (max-width: 767px) {
  .category-tile:last-child {
    grid-column: 1 / -1;
  }

  .category-tile:last-child .category-tile__image {
    aspect-ratio: 4 / 4.7;
  }

  .home-trust__container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
  }
  .home-trust__item {
    flex: 0 1 calc(50% - 1rem);
  }
  .home-trust__item + .home-trust__item::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .home-trust__container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
  }

  .home-trust__item {
    flex: initial;
  }
}

/* Legacy .header is no longer used; all pages use .zara-header via js/header.js. */

/* ===============================================
   END UNIFIED HEADER
   =============================================== */

/* Zara-like scroll gallery */

.product-scroll-gallery {
  width: 100%;
  background: #fff;
  padding: 64px 0;
}

.product-scroll-gallery__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Default alignment */
  gap: var(--mediaGapY);
}

.gallery-row {
  width: 100%;
  max-width: var(--mediaW);
  min-width: min(var(--mediaW), 100%);
}

/* Zig-zag alignment using align-self */
/* First image: RIGHT aligned */
.gallery-row.is-right {
  align-self: flex-end;
}

/* Second image: LEFT aligned */
.gallery-row.is-left {
  align-self: flex-start;
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Mobile: Stack to single column, centered, no zig-zag */
@media (max-width: 900px) {
  .product-scroll-gallery {
    padding: 40px 0;
  }
  
  .product-scroll-gallery__container {
    padding: 0 16px;
    gap: 48px;
    align-items: center;
  }
  
  .gallery-row {
    width: 100%;
    max-width: 100%;
    align-self: center !important; /* Override zig-zag on mobile */
  }
  
  .gallery-img {
    border-radius: 0;
  }
}

/* ===============================================
   SEARCH OVERLAY (Zara-style)
   =============================================== */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s 0.25s;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s 0s;
}

.search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.search-overlay__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-12px);
  transition: transform 0.25s ease;
}

.search-overlay.is-open .search-overlay__panel {
  transform: translateY(0);
}

.search-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}

.search-overlay__label {
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #999;
}

.search-overlay__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.search-overlay__close:hover {
  opacity: 0.5;
}

.search-overlay__field {
  padding: 12px 24px 16px;
  border-bottom: 1px solid #e5e5e5;
}

.search-overlay__input {
  width: 100%;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #000;
  background: transparent;
  padding: 0;
}

.search-overlay__input::placeholder {
  color: #bbb;
  font-weight: 300;
}

.search-overlay__results {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

.search-overlay__item {
  border-bottom: 1px solid #f0f0f0;
}

.search-overlay__item.is-active,
.search-overlay__item:hover {
  background: #fafafa;
}

.search-overlay__item-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.search-overlay__item-img {
  width: 52px;
  height: 65px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f5f5f5;
}

.search-overlay__item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.search-overlay__item-name {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-overlay__item-name mark {
  background: none;
  font-weight: 600;
  color: #000;
}

.search-overlay__item-meta {
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.search-overlay__item-price {
  font-weight: 500;
  color: #000;
}

/* Empty state */
.search-overlay__empty {
  padding: 32px 24px;
}

.search-overlay__no-results {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.search-overlay__cats-label {
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #999;
  margin-bottom: 16px;
}

.search-overlay__cats-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-overlay__cat-link {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #e5e5e5;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.search-overlay__cat-link:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .search-overlay__panel {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .search-overlay__input {
    font-size: 1rem;
  }

  .search-overlay__item-link {
    padding: 12px 16px;
    gap: 12px;
  }

  .search-overlay__item-img {
    width: 44px;
    height: 55px;
  }

  .search-overlay__header {
    padding: 16px 16px 0;
  }

  .search-overlay__field {
    padding: 10px 16px 14px;
  }

  .search-overlay__empty {
    padding: 24px 16px;
  }
}

/* ===============================================
   END SEARCH OVERLAY
   =============================================== */
/* ===== Premium catalog cards ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.2rem 1.35rem;
}
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.9rem 1.05rem; }
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 0.82rem; }
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card__link,
.product-card__title-link {
  text-decoration: none;
  color: inherit;
}
.product-card__media {
  position: relative;
  overflow: hidden;
  background: #f4f4f4;
}
.product-card__image {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 7;
  background: #f6f6f6;
}
.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.45s ease;
}
.product-card__img--secondary {
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -24px rgba(0, 0, 0, 0.38); }
  .product-card:hover .product-card__img--secondary { opacity: 1; }
  .product-card:hover .product-card__img--primary { opacity: 0; }
  .product-card:hover .product-card__img { transform: scale(1.03); }
}
.product-card__badge,
.product-card__overlay {
  position: absolute;
  z-index: 2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.6875rem;
}
.product-card__badge {
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.4rem 0.55rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
}
.product-card__badge--soldout { color: #111; }
.product-card__badge--preorder { color: #825f1e; background: #fff8ea; border-color: #ead8aa; }

/* =========================================================================
   Offer badge — sale marker
   Variantes intercambiables desde products.js (OFFER_BADGE_STYLE).
     C) .product-card__offer--ribbon  → cinta diagonal fina, glass rojo [default]
     B) .product-card__offer--chip    → chip minimal rectangular (Zara/H&M)
   Custom props permiten ajustar color/opacidad sin tocar el bloque entero.
   ========================================================================= */
.product-card__offer {
  --offer-red: 200, 16, 46;          /* #C8102E — rojo retail suave */
  --offer-bg-alpha: 0.82;
  --offer-text-alpha: 0.96;
  position: absolute;
  z-index: 3;
  pointer-events: none;
  color: rgba(255, 255, 255, var(--offer-text-alpha));
  text-transform: uppercase;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.product-card__offer-text {
  display: inline-block;
}

/* --- Variante C: ribbon diagonal fino (default) --- */
.product-card__offer--ribbon {
  top: 14px;
  left: -44px;
  width: 148px;
  padding: 5px 0;
  text-align: center;
  transform: rotate(-45deg);
  transform-origin: center;
  background: rgba(var(--offer-red), var(--offer-bg-alpha));
  -webkit-backdrop-filter: blur(4px) saturate(1.1);
  backdrop-filter: blur(4px) saturate(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 10px;
  letter-spacing: 0.26em;
}
.product-card__offer--ribbon .product-card__offer-text {
  text-indent: 0.26em;                /* compensa letter-spacing para centrar óptico */
}

/* --- Variante B: chip minimal (para probar sin tocar JS, añadir clase extra en products.js) --- */
.product-card__offer--chip {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: rgba(var(--offer-red), 0.92);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.product-card__overlay {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.6);
  color: #111;
}
.product-card__content {
  padding: 0.88rem 0.18rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.product-card__title,
.product-card__price,
.product-card__meta-note {
  font-size: 0.89rem;
}
.product-card__title {
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  min-height: 2.56em;
  color: #111;
}
.product-card__price {
  margin-top: 0.16rem;
  color: #111;
  font-weight: 500;
}
.product-card__price-original {
  text-decoration: line-through;
  color: #999;
  font-weight: 400;
  margin-right: 0.35em;
  font-size: 0.9em;
}
.product-card__price-offer {
  color: #111;
  font-weight: 500;
}

.product-card__offer-2x {
  margin-top: 0.28rem;
  color: #1f3b2f;
  background: #eef8f1;
  border: 1px solid #cce8d5;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  width: fit-content;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.product-card__meta-note {
  color: #7b6a3d;
  margin-top: 0.12rem;
  font-size: 0.77rem;
  letter-spacing: 0.02em;
}

.product-card__shipping-note {
  margin-top: 0.14rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #495567;
}

.product-card__button,
.product-card__actions--two .button {
  margin-top: 0.62rem;
  min-height: 42px;
  border-radius: 999px;
  width: 100%;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.product-card__actions--two {
  display: grid;
  gap: 0.54rem;
  margin-top: 0.62rem;
}

.product-card__actions--two .button--secondary {
  background: #fff;
  color: #111;
  border: 1px solid rgba(17, 17, 17, 0.25);
}

.product-card__actions--two .button--secondary:hover:not(:disabled) {
  border-color: #111;
  background: #f8f8f8;
}

.product-card__title-link:hover .product-card__title {
  color: #111;
}

.product-card__link:focus-visible,
.product-card__title-link:focus-visible,
.product-card__button:focus-visible,
.product-card__actions--two .button:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .product-card__content {
    padding: 0.76rem 0.1rem 0;
  }

  .product-card__title,
  .product-card__price {
    font-size: 0.84rem;
  }

  .product-card__button,
  .product-card__actions--two .button {
    min-height: 40px;
    font-size: 0.68rem;
  }
}

/* ===== Product detail ===== */
.product-page {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 6rem;
}
.product-page__container {
  max-width: 1280px;
  padding: 0 1.25rem;
}
.product-page__breadcrumbs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-page__breadcrumbs a { color: #666; }
.product-page__layout {
  gap: 2.5rem;
}
.product-gallery--premium {
  grid-template-columns: 96px 1fr;
  gap: 1rem;
}
.product-gallery--premium .product-gallery__thumbs {
  order: -1;
}
.product-gallery__viewport {
  background: #f6f6f6;
  border-radius: 1rem;
  overflow: hidden;
}
.product-gallery__main-img {
  border-radius: 1rem;
}
.product-info--premium {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}
.product-info__eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #777;
}
.product-info__status {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #111;
}
.product-info__note {
  color: #7b6a3d;
  font-size: 0.92rem;
}
.variant-selector { margin-bottom: 0.35rem; }
.variant-selector__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.variant-selector__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.variant-chip {
  min-width: 56px;
  padding: 0.68rem 0.9rem;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
}
.variant-chip.is-selected {
  background: #111;
  color: #fff;
  border-color: #111;
}
.variant-chip.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}
.variant-chip[data-tooltip] {
  position: relative;
}
@media (hover: hover) and (pointer: fine) {
  .variant-chip[data-tooltip]:hover::after,
  .variant-chip[data-tooltip]:focus-visible::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    background: rgba(17, 17, 17, 0.94);
    color: #fff;
    border-radius: 999px;
    padding: 0.32rem 0.64rem;
    font-size: 0.68rem;
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  }
}
.product-info__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.75rem 0 0.5rem;
}
.product-info__cta { width: 100%; }
.product-info__offer-hint {
  margin: 0.1rem 0 0.65rem;
  color: #5f6b7a;
  font-size: 0.8rem;
  line-height: 1.45;
}
.product-page__message {
  min-height: 1.25rem;
  font-size: 0.9rem;
}
.product-page__message.is-error { color: #b42318; }
.product-page__message.is-success { color: #027a48; }
.product-page__message.is-muted { color: #7b6a3d; }
.trust-strip--product {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0.5rem;
  padding: 1rem;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 1rem;
}
.trust-strip__item { font-size: 0.9rem; }
.product-accordion {
  margin-top: 0.75rem;
  border-top: 1px solid #eee;
}
.product-accordion__item {
  border-bottom: 1px solid #eee;
  padding: 0.9rem 0;
}
.product-accordion__item summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-accordion__item summary::-webkit-details-marker { display: none; }
.product-accordion__item div { padding-top: 0.75rem; color: #555; }
.measurements-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.measurements-table th,
.measurements-table td {
  padding: 0.4rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.measurements-table thead th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #303a4d;
  border-bottom: 2px solid #303a4d;
}
.measurements-table tbody tr:last-child td { border-bottom: none; }
.product-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,0,0,0.08);
  z-index: 40;
}
.product-sticky-bar__price {
  font-weight: 600;
  font-size: 1rem;
}
.product-sticky-bar__button { flex: 1; }
.product-page__not-found {
  max-width: 520px;
  margin: 5rem auto;
  text-align: center;
}
.related-products {
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}
.related-products[hidden] {
  display: none !important;
}
.related-products__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.related-products__title {
  margin: 0 0 1.15rem;
  color: #111;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.related-products__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.9rem;
  scrollbar-color: rgba(17, 17, 17, 0.28) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.related-products__scroller::-webkit-scrollbar {
  height: 4px;
}
.related-products__scroller::-webkit-scrollbar-track {
  background: transparent;
}
.related-products__scroller::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.24);
  border-radius: 999px;
}
.related-products__track {
  display: grid;
  grid-auto-columns: clamp(180px, 18vw, 240px);
  grid-auto-flow: column;
  gap: clamp(0.9rem, 2vw, 1.35rem);
}
.related-products .product-card {
  min-width: 0;
}
@media (max-width: 900px) {
  .product-page__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .product-gallery--premium {
    grid-template-columns: 1fr;
  }
  .product-gallery--premium .product-gallery__thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
  }
  .product-gallery--premium .product-gallery__thumb { width: 72px; min-width: 72px; }
  .product-info--premium {
    position: static;
  }
}
@media (max-width: 768px) {
  .related-products {
    margin-top: 3.5rem;
  }
  .related-products__track {
    grid-auto-columns: clamp(160px, 58vw, 220px);
  }
  .product-sticky-bar { display: flex; }
}

/* ===== Footer legacy (other pages) =====
   Pages other than index.html use the old 3-item footer markup
   (.footer__container / __policy / __copyright). These styles keep
   them functional without requiring per-page HTML changes. */
.footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  max-width: 74.624rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.footer__policy {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__policy:hover {
  color: #fff;
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.02em;
}

/* Logo link in legacy footer pages */
.footer__container .footer__logo {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 680px) {
  .footer__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }
}

/* ===== WhatsApp float button ===== */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 41;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 0.9rem 1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .whatsapp-float { bottom: 5.25rem; }
}

/* ===== Auth modal ===== */
.zara-header__right .bw-auth-header {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-width: 0;
}

.bw-auth-header__trigger,
.bw-auth-header__logout {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #111;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bw-auth-header__trigger:hover,
.bw-auth-header__logout:hover {
  color: #000;
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(17, 17, 17, 0.03);
}

.bw-auth-header__name {
  max-width: 11rem;
  overflow: hidden;
  color: #111;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.bw-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(17, 24, 39, 0.52);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0s 0.22s;
}

.bw-auth-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.22s ease, visibility 0s;
}

.bw-auth-modal {
  position: relative;
  width: min(100%, 430px);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  padding: 2rem;
  background: #fff;
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(10px);
  transition: transform 0.22s ease;
}

.bw-auth-overlay.is-open .bw-auth-modal {
  transform: translateY(0);
}

.bw-auth-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.bw-auth-modal__close:hover {
  color: #111827;
}

.bw-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0 2rem 1.25rem 0;
  padding: 0.25rem;
  background: #f3f4f6;
  border-radius: 999px;
}

.bw-auth-tab {
  min-height: 2.45rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4b5563;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.bw-auth-tab.is-active {
  background: #fff;
  color: #111827;
  box-shadow: 0 3px 12px rgba(17, 24, 39, 0.08);
}

.bw-auth-form {
  display: grid;
}

.bw-auth-field {
  margin-bottom: 0.9rem;
}

.bw-auth-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #374151;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bw-auth-input {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-family: inherit;
  font-size: 1rem;
}

.bw-auth-input:focus {
  outline: 2px solid rgba(48, 58, 77, 0.22);
  border-color: #303a4d;
}

.bw-auth-hint {
  display: block;
  margin-top: 0.35rem;
  color: #6b7280;
  font-size: 0.78rem;
  line-height: 1.35;
}

.bw-auth-subtitle {
  margin: 0 0 1rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.5;
}

.bw-auth-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.1rem 0 1rem;
  color: #4b5563;
  font-size: 0.86rem;
  line-height: 1.4;
}

.bw-auth-check input {
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.bw-auth-msg {
  min-height: 1.15rem;
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  line-height: 1.35;
}

.bw-auth-msg--error {
  color: #b42318;
}

.bw-auth-msg--ok {
  color: #027a48;
}

.bw-auth-submit {
  width: 100%;
  min-height: 2.9rem;
  border: 0;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.bw-auth-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.bw-auth-link {
  justify-self: center;
  margin-top: 0.9rem;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-family: inherit;
  font-size: 0.86rem;
  line-height: 1.35;
  cursor: pointer;
}

.bw-auth-link:hover {
  color: #111827;
}

.bw-welcome-banner {
  position: fixed;
  top: calc(var(--header-height, 72px) + 1rem);
  right: 1rem;
  z-index: 10040;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: min(30rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  background: #111827;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.bw-welcome-banner.bw-welcome-visible {
  opacity: 1;
  transform: translateY(0);
}

.bw-welcome-banner span {
  font-size: 0.9rem;
  line-height: 1.4;
}

.bw-welcome-banner button {
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.bw-welcome-banner button:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .bw-auth-header__trigger,
  .bw-auth-header__logout {
    padding: 6px 8px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .bw-auth-header__name {
    max-width: 7rem;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 520px) {
  .bw-auth-overlay {
    align-items: flex-end;
    padding: 0.85rem;
  }

  .bw-auth-modal {
    padding: 1.5rem;
  }

  .bw-auth-tabs {
    margin-right: 2rem;
  }

  .bw-welcome-banner {
    left: 0.85rem;
    right: 0.85rem;
    max-width: none;
  }
}

/* ===== Email capture popup ===== */
#bw-email-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(17, 24, 39, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0s 0.22s;
}

#bw-email-overlay.bw-email-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0s;
}

#bw-email-modal {
  position: relative;
  width: min(100%, 420px);
  padding: 2rem;
  background: #fff;
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(10px);
  transition: transform 0.22s ease;
}

#bw-email-overlay.bw-email-visible #bw-email-modal {
  transform: translateY(0);
}

.bw-email-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.bw-email-close:hover {
  color: #111827;
}

.bw-email-title {
  margin: 0 2rem 0.65rem 0;
  font-family: var(--font-display, inherit);
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
}

.bw-email-subtitle {
  margin: 0 0 1.25rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.5;
}

.bw-email-field {
  margin-bottom: 0.8rem;
}

.bw-email-input {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-size: 1rem;
}

.bw-email-input:focus {
  outline: 2px solid rgba(48, 58, 77, 0.22);
  border-color: #303a4d;
}

.bw-email-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.25rem 0 1rem;
  color: #4b5563;
  font-size: 0.82rem;
  line-height: 1.4;
}

.bw-email-consent input {
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.bw-email-submit {
  width: 100%;
  min-height: 2.9rem;
  border: 0;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.bw-email-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.bw-email-dismiss {
  display: block;
  margin: 0.9rem auto 0;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 0.85rem;
  cursor: pointer;
}

.bw-email-dismiss:hover {
  color: #111827;
}

.bw-email-error {
  min-height: 1.15rem;
  margin: 0.35rem 0 0;
  color: #b42318;
  font-size: 0.78rem;
  line-height: 1.35;
}

.bw-email-success {
  margin: 0.5rem 0 0;
  color: #027a48;
  font-size: 1rem;
  line-height: 1.45;
}

@media (max-width: 520px) {
  #bw-email-overlay {
    align-items: flex-end;
    padding: 0.85rem;
  }

  #bw-email-modal {
    padding: 1.5rem;
  }

  .bw-email-title {
    font-size: 1.35rem;
  }
}
