/* Sephora Argentina — clone visual sephora.com */
:root {
  --black: #000;
  --white: #fff;
  --red: #cf112c;
  --red-dark: #a80e24;
  --promo-red: #ed001f;
  --promo-h: 32px;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #9b9b9b;
  --gray-600: #666;
  --gray-800: #333;
  --near-white: #f6f6f8;
  --input-placeholder: #666;
  --container: 1280px;
  --header-h: 80px;
  --nav-h: 36px;
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* Promo bar — Sephora global banner (#ED001F), solo visible arriba del todo */
.promo-bar {
  background: var(--promo-red);
  color: var(--white);
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  min-height: var(--promo-h);
  max-height: var(--promo-h);
  padding: 0 16px;
  letter-spacing: 0;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: max-height .22s ease, min-height .22s ease, opacity .18s ease;
}
.promo-bar.is-collapsed {
  min-height: 0;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
.promo-bar a { color: inherit; text-decoration: none; }
.promo-bar strong {
  font-weight: 700;
  text-decoration: none;
}
.promo-bar .promo-cta::after {
  content: ' ▸';
  font-weight: 400;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  overflow: visible;
}
.header-main { border-bottom: none; }
.header-main .container.header-top {
  padding-left: 16px;
  padding-right: 16px;
}
.header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
  min-height: var(--header-h);
  width: 100%;
}
.header-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo {
  flex-shrink: 0;
  line-height: 0;
  display: block;
}
.logo img {
  display: block;
  width: 152px;
  height: 20px;
  max-width: none;
}
.search-wrap svg.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--black);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  pointer-events: none;
}
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.header-search-block {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 12px;
  margin-left: 0;
}
.search-wrap {
  flex: 0 1 300px;
  width: 300px;
  max-width: 300px;
  min-width: 0;
  position: relative;
  margin-left: 20px;
}
.header-util-cluster {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  margin-left: -20px;
  gap: 28px;
  justify-content: flex-end;
}
.search-wrap input {
  display: block;
  width: 100%;
  height: 38px;
  border: 1px solid var(--black);
  border-radius: 999px;
  padding: 0 14px 0 38px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  outline: none;
  background: var(--near-white);
  color: var(--black);
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}
.search-wrap input::placeholder {
  color: var(--input-placeholder);
  opacity: 1;
}
.search-wrap input:focus {
  border-color: var(--black);
  background: var(--near-white);
  box-shadow: none;
}
.search-wrap input::-webkit-search-cancel-button,
.search-wrap input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.header-actions {
  display: contents;
}
.header-icons-end {
  display: contents;
}
.header-icons-end .header-icon {
  padding: 6px 6px;
}
.util-icon-img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.header-util {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  text-align: left;
  border-radius: 0;
  color: var(--black);
  flex-shrink: 0;
}
.header-util:hover { opacity: 0.75; }
.header-util-ai {
  padding: 0;
  margin: 0;
  gap: 0;
  flex-shrink: 0;
  align-self: center;
}
.ai-beauty-chat-img {
  display: block;
  height: 72px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  transform: translateX(10px);
}
.util-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
  white-space: nowrap;
}
.util-line-bold {
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}
.util-line-sub {
  font-size: 11px;
  font-weight: 400;
  color: #666;
  line-height: 1.25;
}
.util-line-inline {
  display: flex;
  align-items: center;
  gap: 5px;
}
.util-truck {
  font-size: 12px;
  line-height: 1;
}
.header-icon-img {
  width: 22px;
  height: 22px;
  display: block;
}
.header-icon-svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}
#cartToggle .header-icon-img {
  width: 28px;
  height: 28px;
  display: block;
}
#cartToggle .cart-badge {
  top: 2px;
  right: 0;
}
.header-icon {
  margin-left: 0;
  padding: 6px 10px;
}
.icon-btn {
  position: relative;
  width: auto;
  height: auto;
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 0;
  color: var(--black);
}
.icon-btn:hover { opacity: 0.75; background: transparent; }
.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 3px;
}

/* Nav */
.nav-bar {
  background: var(--black);
  position: relative;
}
.nav-bar .container { padding: 0; max-width: 100%; }
.main-nav {
  display: flex;
  gap: 0;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 12px;
}
.main-nav::-webkit-scrollbar { display: none; }
.nav-item-wrap {
  position: relative;
  flex-shrink: 0;
}
.main-nav a {
  flex-shrink: 0;
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.main-nav a:hover,
.nav-item-wrap.is-mega-active > a {
  text-decoration: underline;
  border-bottom-color: transparent;
}
.nav-item-wrap.is-mega-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--white);
  z-index: 160;
  pointer-events: none;
}

/* Mega menu — dropdown estilo sephora.com */
.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  z-index: 150;
  padding: 18px 0 22px;
}
.mega-menu.is-open { display: block; }
.mega-menu-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.mega-menu-grid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}
.mega-col {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 168px;
}
.mega-section { margin-bottom: 14px; }
.mega-section:last-child { margin-bottom: 0; }
.mega-heading {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.35;
  text-decoration: none;
}
.mega-heading:hover { text-decoration: underline; }
.mega-heading-plain {
  font-weight: 700;
  margin-bottom: 8px;
}
.mega-chevron {
  font-weight: 400;
  margin-left: 1px;
}
.mega-link {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--black);
  padding: 3px 0;
  line-height: 1.4;
  text-decoration: none;
}
.mega-link:hover { text-decoration: underline; }
.mega-promo {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}
.mega-promo-head {
  background: var(--promo-red);
  color: var(--white);
  padding: 8px 10px 6px;
  font-size: 10px;
  line-height: 1.25;
  flex-shrink: 0;
}
.mega-promo-head strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}
.mega-promo-head p { margin: 0 0 4px; }
.mega-promo-cta {
  font-weight: 700;
  font-size: 10px;
}
.mega-promo-img {
  background: var(--gray-100);
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.mega-promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mega-promo-foot {
  background: var(--black);
  color: var(--white);
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 6px;
  flex-shrink: 0;
}
.mega-promo-row {
  display: flex;
  gap: 12px;
  margin-left: 8px;
  flex-shrink: 0;
  align-self: flex-start;
}
.mega-promo-tile {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  display: block;
  overflow: hidden;
  line-height: 0;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}
.mega-promo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Hero — 3 tarjetas visibles como sephora.com */
.hero-carousel { background: var(--white); padding: 12px 0 4px; }
.hero-container { position: relative; }
.hero-strip { position: relative; width: 100%; }
.hero-tiles {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 1px;
}
.hero-tiles::-webkit-scrollbar { display: none; }
.hero-banner {
  flex: 0 0 calc((100% - 8px) / 3);
  min-width: calc((100% - 8px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: inherit;
  line-height: 1.35;
  overflow: hidden;
}
.hero-banner-visual {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  line-height: 0;
}
.hero-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.hero-banner-foot {
  flex: 1;
  padding: 14px 16px 16px;
  min-height: 96px;
}
.hero-banner-foot strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}
.hero-banner-foot p {
  font-size: 11px;
  line-height: 1.45;
  margin: 0 0 10px;
  opacity: 0.95;
}
.hero-banner-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.hero-strip-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.82);
  color: var(--white);
  font-size: 18px;
  display: grid;
  place-items: center;
  z-index: 4;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.hero-strip-nav:disabled { opacity: 0 !important; pointer-events: none; }
.hero-strip-prev { left: 4px; display: none; }
.hero-strip-next { right: 4px; }
.hero-dots { display: none; }
.home-loading {
  padding: 24px 16px;
  text-align: center;
  color: var(--gray-600);
  min-height: 120px;
}
.hero-skeleton {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 4px;
}
.hero-skeleton-card {
  flex: 0 0 calc((100% - 8px) / 3);
  aspect-ratio: 3 / 2;
  background: var(--gray-100);
  border-radius: 2px;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
#viewHome.active { min-height: 60vh; }

/* Sections */
.section { padding: 32px 0; }
.section-alt { background: var(--gray-50); }
.section-home-offers,
.section-editorials,
.section-catalog-full { display: none; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.section-head h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.section-head h2.serif-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}
.section-head a { font-size: 12px; font-weight: 600; text-decoration: underline; }
.home-carousel-section { padding-top: 8px; }

/* Product grid */
.products-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: none;
  overflow: visible;
  position: relative;
}
.product-card.compact {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
}
.product-card.compact:hover {
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
}
.product-img-wrap {
  position: relative;
  background: var(--white);
}
.product-card.compact .product-img-wrap {
  border-bottom: none;
}
.product-quicklook {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 8px;
  border: 0;
  background: rgba(0, 0, 0, 0.78);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.product-card.compact:hover .product-quicklook {
  opacity: 1;
  transform: translateY(0);
}
.product-card.compact .love-btn {
  opacity: 0;
  transition: opacity 0.18s ease;
}
.product-card.compact:hover .love-btn {
  opacity: 1;
}
.love-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--gray-400);
  display: grid;
  place-items: center;
}
.love-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.love-btn.active svg { fill: var(--red); stroke: var(--red); }
.love-btn.large {
  position: static;
  width: 40px;
  height: 40px;
  font-size: 20px;
}
.product-card:hover .product-name { text-decoration: underline; }
.product-img {
  aspect-ratio: 1;
  background: var(--white);
  display: grid;
  place-items: center;
  position: relative;
  padding: 8px;
}
.product-card.compact .product-img {
  padding: 16px 16px 8px;
  background: var(--white);
}
.product-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 11px;
}
.product-stars .stars { color: var(--black); letter-spacing: -1px; font-size: 12px; }
.product-stars .review-count { color: var(--gray-600); font-size: 11px; font-weight: 400; }
.product-img .brand-initial,
.product-detail-img .brand-initial {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.1;
}
.brand-initial-lg { font-size: 64px; }
.product-detail-img img { width: 100%; height: 100%; object-fit: contain; }
.product-img .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
}
.product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.badge {
  font-size: 9px;
  font-weight: 800;
  padding: 3px 6px;
  letter-spacing: .04em;
  border-radius: 2px;
}
.badge-new { background: var(--black); color: var(--white); }
.badge-sale { background: var(--red); color: var(--white); }
.badge-limited { background: var(--white); color: var(--black); border: 1px solid var(--black); }
.badge-limited-ed {
  background: var(--black);
  color: var(--white);
  font-size: 8px;
  font-weight: 800;
  padding: 4px 6px;
  letter-spacing: 0.06em;
  border-radius: 0;
  line-height: 1;
}
.badge-rewards { background: #d4af37; color: var(--black); }
.badge-online { background: var(--gray-800); color: var(--white); }
.product-body { padding: 8px 4px 12px; flex: 1; display: flex; flex-direction: column; }
.product-card.compact .product-body {
  padding: 0 16px 16px;
  gap: 0;
}
.product-brand { font-size: 11px; font-weight: 700; color: var(--black); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .02em; }
.product-card.compact .product-brand {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
}
.product-name {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 4px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--black);
}
.product-card.compact .product-name {
  font-size: 12px;
  line-height: 1.35;
  margin-bottom: 10px;
  min-height: 32px;
  flex: 0;
}
.product-price { font-size: 14px; font-weight: 700; line-height: 1.3; }
.product-card.compact .product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 13px;
  margin-bottom: 8px;
}
.product-price .price-current { font-weight: 700; color: var(--black); }
.product-price .price-sale { color: #cf1124; font-weight: 700; line-height: 1.25; }
.product-price .price-was { line-height: 1.2; }
.product-price .price-was s {
  color: var(--black);
  font-weight: 400;
  font-size: 12px;
  text-decoration: line-through;
}
.product-price s { color: var(--black); font-weight: 400; font-size: 12px; text-decoration: line-through; margin-left: 0; }
.product-rating { font-size: 11px; color: var(--gray-400); margin-top: 4px; }
.product-actions { display: flex; gap: 8px; margin-top: 10px; }
.btn-sm {
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  padding: 8px;
  text-align: center;
  border: 1px solid var(--black);
  letter-spacing: .04em;
}
.btn-sm.primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-sm.primary:hover { background: var(--gray-800); }
.btn-sm:hover { background: var(--gray-100); }

/* Offers */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.offer-card {
  border: 1px solid var(--gray-200);
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
}
.offer-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.offer-card p { font-size: 13px; color: var(--gray-600); margin-bottom: 8px; }
.offer-code {
  display: inline-block;
  background: var(--gray-100);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border: 1px dashed var(--gray-400);
}
.offer-ends { font-size: 11px; color: var(--red); margin-top: 8px; font-weight: 600; }

/* Editorial banners */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.editorial-card {
  min-height: 200px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  border-radius: var(--radius);
}
.editorial-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.editorial-card p { font-size: 14px; opacity: .9; margin-bottom: 16px; }
.editorial-card a { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-decoration: underline; }
.editorial-clean { background: linear-gradient(135deg, #2d5a3d, #1a3d28); }
.editorial-mufe { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.editorial-exclusive { background: linear-gradient(135deg, #4a1942, #7b2d5e); }
.editorial-pride { background: linear-gradient(135deg, #e40303, #ff8c00, #ffed00, #008026, #004dff, #750787); }
.editorial-grad { background: linear-gradient(135deg, #2c3e50, #4ca1af); }

/* Product page */
.product-page { padding: 32px 0 64px; }
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-detail-img {
  aspect-ratio: 1;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 800;
  color: var(--gray-400);
}
.product-detail-info h1 { font-size: 28px; font-weight: 800; margin: 8px 0 16px; }
.product-detail-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-detail-brand { font-size: 14px; font-weight: 700; color: var(--gray-600); }
.product-detail-price { font-size: 24px; font-weight: 800; margin: 16px 0; }
.product-detail-price s { font-size: 18px; color: var(--gray-400); font-weight: 400; margin-left: 8px; }
.variant-group { margin: 20px 0; }
.variant-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.swatch-row, .size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background-size: cover;
  background-position: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-600);
}
.swatch-btn.active { border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.swatch-btn.oos { opacity: .45; position: relative; }
.size-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.size-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }
.size-btn.oos { opacity: .5; text-decoration: line-through; }
.qty-row { display: flex; align-items: center; gap: 16px; margin: 20px 0; }
.qty-row label { font-size: 13px; font-weight: 600; }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-control button {
  width: 36px;
  height: 36px;
  font-size: 18px;
  font-weight: 600;
}
.qty-control button:hover { background: var(--gray-100); }
.qty-control span {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  padding: 0 8px;
}
.qty-control.small button { width: 28px; height: 28px; font-size: 14px; }
.qty-control.small span { min-width: 28px; font-size: 13px; }
.product-actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.product-actions-row .btn-lg.outline { margin-left: 0; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-variant { font-size: 11px; color: var(--gray-600); margin-top: 2px; }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.cart-remove { font-size: 11px; margin-top: 6px; text-decoration: underline; color: var(--gray-600); }
.modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--white);
  width: min(420px, 100%);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  position: relative;
}
.modal-box h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.modal-sub { font-size: 14px; color: var(--gray-600); margin-bottom: 20px; }
.modal-note { font-size: 11px; color: var(--gray-400); margin-top: 16px; text-align: center; }
.modal-box label { display: block; font-size: 13px; font-weight: 600; }
.modal-box input {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
}
.modal-close { position: absolute; top: 12px; right: 12px; }
.loves-drawer { z-index: 201; }
.product-detail-desc { font-size: 15px; color: var(--gray-600); line-height: 1.6; margin-bottom: 24px; }
.product-detail-meta { font-size: 13px; color: var(--gray-400); margin-bottom: 24px; }
.product-detail-meta a { color: var(--red); text-decoration: underline; }
.btn-lg {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 32px;
  letter-spacing: .06em;
  border: none;
  cursor: pointer;
}
.btn-lg:hover { background: var(--gray-800); }
.btn-lg.outline { background: transparent; color: var(--black); border: 1px solid var(--black); margin-left: 12px; }
.back-link { font-size: 13px; font-weight: 600; margin-bottom: 24px; display: inline-block; }
.back-link:hover { text-decoration: underline; }

/* Catalog page */
.catalog-header { padding: 32px 0 16px; }
.catalog-header h1 { font-size: 28px; font-weight: 800; }
.catalog-count { color: var(--gray-600); font-size: 14px; margin-top: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.filter-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
}
.filter-btn.active,
.filter-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100vw);
  height: 100vh;
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .3s;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.drawer-head h3 { font-size: 18px; font-weight: 800; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}
.cart-item-thumb {
  width: 64px;
  height: 64px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-400);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 600; }
.cart-item-brand { font-size: 11px; color: var(--gray-600); }
.cart-item-price { font-size: 13px; font-weight: 700; margin-top: 4px; }
.cart-empty { text-align: center; padding: 48px 16px; color: var(--gray-600); }
.drawer-foot {
  padding: 20px;
  border-top: 1px solid var(--gray-200);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

/* Footer — estilo sephora.com */
.site-footer {
  background: var(--black);
  color: var(--white);
  margin-top: 48px;
}
.footer-feedback {
  background: #ececec;
  color: var(--black);
  text-align: center;
  padding: 10px 16px;
  font-size: 12px;
}
.footer-feedback a { color: inherit; text-decoration: none; }
.footer-feedback a:hover { text-decoration: underline; }
.footer-services {
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-services-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 16px;
}
.footer-service {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.footer-service:hover strong { text-decoration: underline; }
.footer-service-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}
.footer-service span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.footer-service strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}
.footer-service small {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.78);
  line-height: 1.25;
}
.footer-main {
  padding: 36px 0 28px;
}
.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.footer-col a {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,.92);
  margin-bottom: 8px;
  text-decoration: none;
}
.footer-col a:hover { text-decoration: underline; }
.footer-region-list {
  list-style: none;
}
.footer-region-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 8px;
  color: rgba(255,255,255,.92);
}
.footer-region-list li.is-active::after {
  content: '✓';
  margin-left: auto;
  font-size: 12px;
}
.footer-flag { font-size: 14px; line-height: 1; }
.footer-signup { padding-top: 4px; }
.footer-tagline {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.footer-signup-form { margin-bottom: 22px; }
.footer-signup-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-signup-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-signup-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border: none;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 12px;
  color: var(--black);
  background: var(--white);
}
.footer-signup-row input::placeholder { color: #666; }
.footer-signup-btn {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.footer-signup-btn:hover { background: rgba(255,255,255,.08); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0 28px;
}
.footer-legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.footer-copy,
.footer-phone,
.footer-fine {
  font-size: 11px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 8px 0;
}
.footer-legal-links a {
  font-size: 11px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
}
.footer-legal-links a:hover { text-decoration: underline; }
.footer-privacy-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.privacy-icon {
  width: 28px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #36c 0 45%, #ccc 45% 55%, #36c 55% 100%);
  display: inline-block;
  flex-shrink: 0;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.footer-social a {
  color: var(--white);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--black);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 300;
  transition: transform .3s;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* Hidden views */
.view { display: none; }
.view.active { display: block; }

/* Mobile */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--black); }

@media (max-width: 1200px) {
  .search-wrap {
    flex-basis: 220px;
    width: 220px;
    max-width: 220px;
  }
  .header-util { padding: 4px 6px; }
  .util-line-sub { display: none; }
}

@media (max-width: 768px) {
  .header-top {
    display: flex;
    gap: 8px;
    height: 56px;
  }
  .header-brand { flex: 0 0 auto; }
  .logo img { width: 120px; height: auto; }
  .header-search-block {
    flex: 1;
    margin-left: 0;
    gap: 8px;
    min-width: 0;
  }
  .header-util-cluster { flex: 1; min-width: 0; margin-left: 0; gap: 0; justify-content: flex-end; }
  .search-wrap {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    margin-left: 0;
  }
  .header-actions { display: none; }
  .header-icons-end {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .header-util.hide-mobile { display: none; }
  .header-util-ai { display: none; }
  .hamburger { display: flex; }
  .search-wrap { min-width: 0; }
  .search-wrap input {
    height: 36px;
    font-size: 13px;
    padding: 0 12px 0 36px;
  }
  .search-wrap svg.search-icon {
    left: 11px;
    width: 15px;
    height: 15px;
  }
  .hero-banner {
    flex: 0 0 calc(85% - 4px);
    min-width: calc(85% - 4px);
  }
  .hero-strip-prev { display: grid; }
  .hero-strip-next { right: 2px; }
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .product-detail-info h1 { font-size: 22px; }
  .products-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-name { font-size: 12px; }
  .product-body { padding: 6px 2px 10px; }
  .product-actions { flex-direction: column; }
  .nav-bar { height: 0; overflow: visible; background: transparent; }
  .nav-bar .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--black);
    z-index: 99;
    max-height: 70vh;
    overflow-y: auto;
    padding: 0;
  }
  .main-nav.open a { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--white); }
  .nav-dropdown { display: none !important; }
  .carousel-row .product-card { min-width: 150px; max-width: 170px; }
  .section { padding: 24px 0; }
  .section-head h2.serif-title { font-size: 22px; }
  .section-head h2 { font-size: 18px; }
  .offers-grid { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-card { min-height: 160px; padding: 24px; }
  .catalog-header h1 { font-size: 22px; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .sort-wrap, .price-filter { width: 100%; flex-wrap: wrap; }
  .price-filter input { flex: 1; min-width: 60px; }
  .filters { margin: 12px 0; }
  .promo-bar { font-size: 10px; padding: 0 12px; --promo-h: 30px; }
  .footer-services-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .footer-main-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-tagline { font-size: 24px; }
  .footer-legal-inner { flex-direction: column; align-items: flex-start; }
  .footer-social { flex-wrap: wrap; }
  .btn-lg { width: 100%; text-align: center; }
  .product-actions-row { flex-direction: column; }
  .product-actions-row .btn-lg.outline { margin-left: 0; }
  .pagination { font-size: 12px; }
  .pagination .btn-sm { flex: 0 0 auto; min-width: 88px; }
}

@media (max-width: 380px) {
  .products-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .logo { font-size: 20px; }
  .carousel-row .product-card { min-width: 130px; }
}

.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product-card.compact .product-actions { display: none; }
.carousel-row {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
  padding: 10px 8px 18px;
  scroll-padding-inline: 8px;
  scrollbar-width: none;
}
.carousel-row::-webkit-scrollbar { display: none; }
.carousel-row .product-card { min-width: 168px; max-width: 168px; flex-shrink: 0; scroll-snap-align: start; }
.carousel-row .product-card.compact { margin: 0; }
.carousel-wrap {
  position: relative;
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 44px;
}
.carousel-next {
  position: absolute;
  right: 0;
  top: calc(50% - 18px);
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.18s ease;
}
.carousel-next:hover { background: rgba(0, 0, 0, 0.72); }
.carousel-next svg { width: 18px; height: 18px; }
.home-carousel-section { padding-top: 0; overflow: visible; }
.home-carousel-section .container { overflow: visible; }
.home-carousel-section .section-head { margin-bottom: 16px; }
.home-carousel-section .section-head h2.serif-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
@media (max-width: 768px) {
  .mega-menu { display: none !important; }
}
.catalog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 16px 0; }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.sort-wrap select { padding: 8px 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 13px; }
.static-page { padding: 32px 0 64px; max-width: 720px; }
.static-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.page-body { font-size: 15px; line-height: 1.7; color: var(--gray-800); }
.page-body ul { margin: 16px 0 16px 0; padding-left: 20px; }
.page-body a { color: var(--red); text-decoration: underline; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 24px; }
.brand-chip { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.brand-chip:hover { box-shadow: var(--shadow); }
.brand-chip span { font-size: 12px; color: var(--gray-600); margin-top: 4px; }
.related-section, .reviews-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.related-section h2, .reviews-section h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.reviews-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.reviews-summary .stars { color: #f5a623; font-size: 18px; }
.reviews-list { display: grid; gap: 16px; }
.review-card { border: 1px solid var(--gray-200); padding: 16px; border-radius: var(--radius); }
.review-card .stars { color: #f5a623; font-size: 14px; margin-bottom: 6px; }
.shipping-info { font-size: 13px; color: var(--gray-600); margin: 16px 0; padding: 12px; background: var(--gray-50); border-radius: var(--radius); }
.product-rating-link { font-size: 13px; color: var(--gray-600); margin-bottom: 8px; }
.product-rating-link a { text-decoration: underline; }
.track-form label { display: block; margin: 16px 0; font-weight: 600; }
.track-form input { width: 100%; padding: 12px; margin-top: 6px; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.track-result { margin-top: 16px; font-weight: 600; color: var(--red); }
.pagination { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.nav-dropdown a { display: block; font-size: 12px; padding: 8px 0; color: var(--black); font-weight: 600; }
.nav-dropdown a:hover { color: var(--red); }
.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 200;
  max-height: 360px;
  overflow-y: auto;
}
.search-suggestions:empty {
  display: none;
}
.suggest-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--gray-100); font-size: 12px; }
.suggest-item:hover { background: var(--gray-50); }
.suggest-thumb {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.suggest-thumb img { width: 100%; height: 100%; object-fit: contain; }
.suggest-thumb .brand-initial { font-size: 14px; }
.price-filter { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.price-filter input { width: 72px; padding: 8px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 13px; }
.promo-row { display: flex; gap: 8px; margin-bottom: 8px; }
.promo-row input { flex: 1; padding: 10px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 13px; }
.promo-msg { font-size: 11px; color: var(--red); margin-bottom: 8px; min-height: 16px; }
.store-list { display: grid; gap: 8px; }
.store-option {
  display: flex; flex-direction: column; align-items: flex-start; padding: 14px;
  border: 1px solid var(--gray-200); border-radius: var(--radius); text-align: left; width: 100%;
}
.store-option.active { border-color: var(--black); background: var(--gray-50); }
.store-option span { font-size: 12px; color: var(--gray-600); margin-top: 2px; }
