:root {
  --ink: #211d19;
  --muted: #72685e;
  --line: #dfd2c2;
  --champagne: #f4eadc;
  --ivory: #fffaf3;
  --gold: #b78a35;
  --rose: #c69582;
  --teal: #1aa2ad;
  --blue: #24456a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(61, 45, 28, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

.is-hidden {
  display: none !important;
}

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

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(183, 138, 53, .22);
  background: rgba(255, 250, 243, .92);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  min-width: 190px;
}

.brand-lockup img {
  width: 178px;
  height: auto;
  object-fit: contain;
}

.menu-wrap {
  position: relative;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(183, 138, 53, .42);
  background: rgba(255,255,255,.68);
}

.lang-button {
  min-width: 38px;
  min-height: 42px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(183, 138, 53, .24);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}

.lang-button:last-child {
  border-right: 0;
}

.lang-button.active {
  color: var(--white);
  background: var(--gold);
}

.menu-toggle {
  min-height: 42px;
  padding: 0 18px;
  color: var(--gold);
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(183, 138, 53, .42);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle::after {
  content: "?";
  margin-left: 10px;
  font-size: 14px;
}

.site-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 25;
  display: none;
  width: 230px;
  padding: 10px;
  background: rgba(255, 250, 243, .98);
  border: 1px solid rgba(223, 210, 194, .92);
  box-shadow: 0 20px 44px rgba(61, 45, 28, .14);
}

.menu-wrap.is-open .site-menu {
  display: grid;
}

.site-menu a {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-menu a:hover {
  color: var(--gold);
  background: rgba(255,255,255,.72);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(520px, .86fr);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(28px, 4.2vw, 58px) clamp(20px, 5.6vw, 88px);
  background: #ead6bf;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 34%, rgba(255, 255, 255, .9), transparent 25%),
    radial-gradient(circle at 20% 54%, rgba(255, 255, 255, .16), transparent 34%),
    linear-gradient(90deg, rgba(34, 22, 12, .03) 0%, rgba(255,250,243,.04) 34%, rgba(255,250,243,.76) 58%, rgba(255,250,243,.98) 100%),
    linear-gradient(180deg, rgba(255,250,243,.02) 0%, rgba(86,55,31,.14) 100%),
    url("assets/luxury-skincare-hero-model.png") left center / cover no-repeat;
  transform: scale(1.015);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(183, 138, 53, .18) 48.2%, transparent 48.8%),
    radial-gradient(circle at 82% 82%, rgba(198, 149, 130, .18), transparent 30%);
  mix-blend-mode: multiply;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(20px, 7vw, 108px);
  bottom: clamp(28px, 5vw, 64px);
  width: min(360px, 34vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(183, 138, 53, .7), transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-left: auto;
  padding: clamp(18px, 3vw, 38px) 0 clamp(18px, 3vw, 38px) clamp(22px, 3vw, 42px);
  grid-column: 2;
  border-left: 1px solid rgba(183, 138, 53, .24);
}

.cover-logos {
  width: min(100%, 600px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(183, 138, 53, .52);
  border-bottom: 1px solid rgba(183, 138, 53, .52);
}

.cover-logo-card {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 9px;
  min-width: 0;
}

.cover-logo-card img {
  width: 100%;
  height: 46px;
  object-fit: contain;
}

.neopink-cover {
  flex: 1.08;
}

.miprimera-cover {
  flex: 1;
}

.cover-logo-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.neopink-cover span {
  color: var(--gold);
}

.miprimera-cover span {
  color: var(--teal);
}

.cover-logo-divider {
  flex: 0 0 1px;
  height: 62px;
  background: linear-gradient(180deg, transparent, rgba(183, 138, 53, .86), transparent);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: clamp(40px, 3.85vw, 54px);
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
}

h3 {
  font-size: 28px;
}

.subline {
  margin: 14px 0 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.intro {
  max-width: 500px;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.button.primary {
  color: var(--white);
  background: var(--gold);
  box-shadow: 0 18px 36px rgba(183, 138, 53, .22);
}

.button.secondary {
  color: var(--gold);
  background: rgba(255,255,255,.36);
}

.brand-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brand-panel {
  min-height: 320px;
  padding: clamp(32px, 5vw, 64px);
}

.brand-panel + .brand-panel {
  border-left: 1px solid var(--line);
}

.brand-panel img {
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 36px;
}

.brand-panel h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.brand-panel p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
}

.brand-panel span {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.miprimera-panel span {
  color: var(--teal);
}

.section,
.product-shell {
  scroll-margin-top: 92px;
  padding: clamp(42px, 6vw, 82px) clamp(18px, 6vw, 84px);
}

.package-section {
  scroll-margin-top: 92px;
  padding: clamp(42px, 6vw, 82px) clamp(18px, 6vw, 84px);
  background:
    radial-gradient(circle at 86% 18%, rgba(183, 138, 53, .16), transparent 34%),
    linear-gradient(180deg, #fffaf3 0%, #f5eadc 100%);
  border-bottom: 1px solid var(--line);
}

.product-shell .package-section {
  padding: 0;
  background: transparent;
  border-bottom: 0;
}

.product-shell .package-section > .section-heading {
  display: none;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading p:last-child {
  margin: 10px 0 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.package-card {
  position: relative;
  min-height: auto;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,250,243,.68)),
    radial-gradient(circle at 92% 8%, rgba(183, 138, 53, .18), transparent 34%);
  border: 1px solid rgba(223, 210, 194, .9);
  box-shadow: 0 22px 54px rgba(61, 45, 28, .08);
}

.package-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -74px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(183, 138, 53, .28);
  border-radius: 50%;
}

.package-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.package-card h3 {
  max-width: 500px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.08;
}

.package-card p {
  max-width: 540px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.routine-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.routine-flow div {
  min-height: 52px;
  padding: 9px 10px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(223, 210, 194, .82);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.routine-flow div:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.82);
  border-color: rgba(183, 138, 53, .56);
  box-shadow: 0 12px 28px rgba(61, 45, 28, .09);
}

.routine-flow strong,
.routine-flow span {
  display: block;
}

.routine-flow strong {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.routine-flow span {
  color: var(--ink);
  font-size: 11.5px;
  line-height: 1.25;
}

.spot-package .package-kicker,
.spot-package .routine-flow strong {
  color: var(--teal);
}

.spot-package .routine-flow div {
  border-color: rgba(26, 162, 173, .32);
}

.hydration-package,
.barrier-package {
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(246,239,230,.72)),
    radial-gradient(circle at 92% 8%, rgba(198, 149, 130, .16), transparent 34%);
}

.laser-package {
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(239,248,248,.68)),
    radial-gradient(circle at 90% 8%, rgba(26, 162, 173, .15), transparent 36%);
}

.clarity-package,
.pro-package {
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(238,248,248,.68)),
    radial-gradient(circle at 90% 8%, rgba(26, 162, 173, .14), transparent 36%);
}

.clarity-package .package-kicker,
.clarity-package .routine-flow strong,
.pro-package .package-kicker,
.pro-package .routine-flow strong {
  color: var(--teal);
}

.glow-package,
.eye-package {
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(250,240,230,.72)),
    radial-gradient(circle at 90% 8%, rgba(198, 149, 130, .2), transparent 36%);
}

.repair-package {
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(245,238,228,.72)),
    radial-gradient(circle at 90% 8%, rgba(183, 138, 53, .16), transparent 36%);
}

.body-package {
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(247,235,222,.72)),
    radial-gradient(circle at 90% 8%, rgba(183, 138, 53, .2), transparent 36%);
}

@media (max-width: 1300px) {
  .routine-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-filter-bar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 28px;
  padding: 12px 0 14px;
  overflow: visible;
  background: rgba(255, 250, 243, .96);
  border-bottom: 1px solid rgba(223, 210, 194, .7);
  backdrop-filter: blur(12px);
}

.product-filter {
  flex: 0 1 auto;
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(223, 210, 194, .86);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.product-filter.active {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}

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

.collection {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 104px;
  padding: 22px;
  text-align: left;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(246,235,220,.78)),
    radial-gradient(circle at 78% 18%, rgba(183, 138, 53, .16), transparent 42%);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(80, 57, 34, .08);
  cursor: pointer;
  aspect-ratio: 1.12 / 1;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.collection::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: .64;
  mix-blend-mode: multiply;
  transform: scale(1.02);
}

.collection strong,
.collection em,
.collection span {
  display: block;
}

.collection strong {
  position: relative;
  z-index: 3;
  max-width: 86%;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.collection em {
  position: relative;
  z-index: 3;
  max-width: 86%;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.collection-kicker {
  position: relative;
  z-index: 3;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.collection-line {
  position: relative;
  z-index: 3;
  width: 54px;
  height: 1px;
  margin-top: 18px;
  background: var(--gold);
}

.collection::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,250,243,.98) 0%, rgba(255,250,243,.9) 48%, rgba(255,250,243,.42) 100%),
    linear-gradient(180deg, rgba(255,255,255,.26), rgba(183,138,53,.1));
}

.collection-all::after {
  background-image: url("assets/category-serums.png");
  background-position: center;
}

.collection-clinical::after {
  background-image: url("assets/category-cabin.png");
}

.collection-daily::after {
  background-image: url("assets/category-masks.png");
}

.collection-homecare::after {
  background-image: url("assets/category-serums.png");
}

.collection-dermapen::after {
  background-image: url("assets/category-serums.png");
  background-position: right center;
}

.collection-laser::after {
  background-image: url("assets/category-neopink-skincare.png");
  background-position: 82% center;
  opacity: .36;
  filter: blur(3px) saturate(.92);
  transform: scale(1.08);
}

.collection-postlaser::after {
  background-image: url("assets/category-post-laser.png");
  background-position: 82% center;
  opacity: .36;
  filter: blur(3px) saturate(.92);
  transform: scale(1.08);
}

.collection-body::after {
  background-image: url("assets/category-body-care.png");
  background-position: 82% center;
  opacity: .36;
  filter: blur(3px) saturate(.92);
  transform: scale(1.08);
}

.collection:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 138, 53, .58);
  box-shadow: var(--shadow);
}

.collection.active {
  color: var(--ink);
  border-color: var(--gold);
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,226,196,.92)),
    radial-gradient(circle at 78% 18%, rgba(183, 138, 53, .28), transparent 46%);
  box-shadow: var(--shadow);
}

.collection.active em {
  color: var(--gold);
}

.collection.active .collection-line {
  width: 82px;
}

.collection-clinical .collection-kicker,
.collection-clinical.active em {
  color: var(--teal);
}

.collection-clinical .collection-line {
  background: var(--teal);
}

.collection-daily .collection-kicker {
  color: var(--rose);
}

.collection-daily .collection-line {
  background: var(--rose);
}

.collection-homecare .collection-kicker,
.collection-dermapen .collection-kicker {
  color: var(--teal);
}

.collection-laser .collection-kicker,
.collection-postlaser .collection-kicker,
.collection-body .collection-kicker {
  color: var(--gold);
}

.product-grid {
  scroll-margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,243,.96)),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(80, 57, 34, .1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(183, 138, 53, .12), transparent 32%);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(183, 138, 53, .55);
  box-shadow: var(--shadow);
}

.product-topline {
  position: absolute;
  top: 22px;
  left: 26px;
  right: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-topline span,
.product-topline em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: rgba(255, 250, 243, .78);
  border: 1px solid rgba(223, 210, 194, .72);
  backdrop-filter: blur(8px);
}

.product-topline em {
  color: var(--gold);
  font-style: normal;
}

.empty-category {
  grid-column: 1 / -1;
  padding: 34px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
}

.empty-category span,
.empty-category strong {
  display: block;
}

.empty-category strong {
  margin-top: 8px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  padding: 66px 26px 28px;
  background:
    radial-gradient(circle at 50% 76%, rgba(183, 138, 53, .2), transparent 50%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .88), transparent 42%),
    linear-gradient(180deg, #fff 0%, #f5ebdd 100%);
  overflow: hidden;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 22px 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 250, 243, .62)),
    radial-gradient(circle at 50% 80%, rgba(183, 138, 53, .12), transparent 54%);
  border: 1px solid rgba(223, 210, 194, .76);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .7),
    0 18px 42px rgba(80, 57, 34, .09);
}

.product-media img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 224px;
  object-fit: contain;
  object-position: center;
  border-radius: 2px;
  filter: drop-shadow(0 24px 28px rgba(48, 37, 25, .14));
  transition: transform .22s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.product-card[data-shape="cream"] .product-media img {
  max-width: 98%;
  max-height: 198px;
}

.product-card[data-shape="tube"] .product-media img {
  max-height: 244px;
}

.product-card[data-shape="set"] .product-media img {
  max-width: 98%;
  max-height: 226px;
}

.product-card[data-photo="true"] .product-media {
  padding: 66px 26px 28px;
  background:
    radial-gradient(circle at 50% 76%, rgba(183, 138, 53, .2), transparent 50%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .88), transparent 42%),
    linear-gradient(180deg, #fff 0%, #f5ebdd 100%);
}

.product-card[data-photo="true"] .product-media img {
  width: auto;
  max-width: 90%;
  height: auto;
  max-height: 224px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 24px 28px rgba(48, 37, 25, .14)) saturate(.96) contrast(1.02);
}

.product-card[data-photo="true"]:hover .product-media img {
  transform: scale(1.018);
}

.product-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(260px, 82%);
  aspect-ratio: 1 / 1.18;
  padding: 22px;
  color: var(--gold);
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.88), transparent 54%),
    linear-gradient(180deg, rgba(255,250,243,.9), rgba(244,234,220,.88));
  border: 1px solid rgba(183, 138, 53, .26);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
  text-align: center;
}

.product-placeholder span,
.product-placeholder strong,
.product-placeholder em {
  display: block;
}

.product-placeholder span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-placeholder strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  font-weight: 400;
  line-height: 1;
}

.product-placeholder em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.brand-tag {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card[data-brand="MiPrimera"] .brand-tag {
  color: var(--teal);
}

.product-body h3 {
  margin-top: 10px;
  min-height: 58px;
  font-size: 25px;
}

.product-body p {
  color: var(--muted);
  line-height: 1.65;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
}

.chips span {
  padding: 7px 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 12px;
  background: rgba(255,255,255,.58);
}

.product-link {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  margin-top: 18px;
  padding: 0 14px;
  color: var(--gold);
  background: transparent;
  border-top: 1px solid var(--line);
  border-right: 0;
  border-bottom: 1px solid var(--line);
  border-left: 0;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.product-link::after {
  content: "?";
  font-size: 18px;
}

.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vw, 20px);
}

.product-modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 29, 25, .56);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(360px, 1fr);
  width: min(1040px, 100%);
  height: min(700px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px);
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid rgba(223, 210, 194, .9);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: rgba(255, 250, 243, .86);
  border: 1px solid var(--line);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  height: 100%;
  padding: 54px 28px 28px;
  background:
    radial-gradient(circle at 50% 72%, rgba(183, 138, 53, .2), transparent 48%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .9), transparent 42%),
    linear-gradient(180deg, #fff, #f3e6d4);
}

.modal-media::before {
  content: "";
  position: absolute;
  inset: 48px 24px 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 250, 243, .62)),
    radial-gradient(circle at 50% 80%, rgba(183, 138, 53, .12), transparent 54%);
  border: 1px solid rgba(223, 210, 194, .78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .72),
    0 20px 48px rgba(80, 57, 34, .1);
}

.modal-media img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 92%;
  max-height: min(500px, calc(100dvh - 150px));
  object-fit: contain;
  border-radius: 2px;
  filter: drop-shadow(0 26px 30px rgba(48, 37, 25, .14));
}

.product-modal[data-photo="true"] .modal-media {
  padding: 50px 28px 28px;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 72%, rgba(183, 138, 53, .2), transparent 48%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .9), transparent 42%),
    linear-gradient(180deg, #fff, #f3e6d4);
}

.product-modal[data-photo="true"] .modal-media img {
  width: auto;
  max-width: 92%;
  height: auto;
  max-height: min(500px, calc(100dvh - 150px));
  object-fit: contain;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 26px 30px rgba(48, 37, 25, .14)) saturate(.96) contrast(1.02);
}

.product-modal[data-shape="set"] .modal-media img {
  max-width: 96%;
  max-height: min(470px, calc(100dvh - 170px));
}

.modal-copy {
  min-height: 0;
  overflow: auto;
  padding: clamp(26px, 3.6vw, 44px);
  padding-right: clamp(34px, 4.5vw, 58px);
}

.modal-copy h2 {
  margin-top: 10px;
  font-size: clamp(34px, 4.2vw, 58px);
}

.modal-copy p:not(.subline) {
  color: var(--muted);
  line-height: 1.58;
  font-size: 15px;
  white-space: pre-line;
}

.modal-info-block {
  margin-top: 12px;
  padding: 13px 16px;
  background: rgba(255,255,255,.5);
  border-left: 2px solid var(--gold);
}

.modal-info-block strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-info-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
  font-size: 14px;
}

.modal-return {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  color: var(--white);
  background: var(--gold);
  border: 1px solid var(--gold);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.modal-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.modal-navigation button {
  min-height: 42px;
  padding: 10px 12px;
  color: var(--gold);
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(183, 138, 53, .42);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.25;
  text-transform: uppercase;
  cursor: pointer;
}

.modal-navigation button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: .45;
}

.modal-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.modal-detail-grid div {
  padding: 16px;
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line);
}

.modal-detail-grid strong,
.modal-detail-grid span {
  display: block;
}

.modal-detail-grid strong {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
}

.modal-detail-grid span {
  color: var(--muted);
}

.routine {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 40px;
  padding: clamp(42px, 6vw, 82px) clamp(18px, 6vw, 84px);
  background: #f8efe5;
  border-top: 1px solid var(--line);
}

.routine p:not(.eyebrow):not(.subline) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.routine-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
}

.routine-products img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(55, 39, 24, .14));
}

footer {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 6vw, 84px);
  color: var(--muted);
  background:
    radial-gradient(circle at 88% 0%, rgba(183, 138, 53, .12), transparent 32%),
    var(--white);
  border-top: 1px solid var(--line);
}

footer img {
  width: 170px;
}

.footer-brand,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-brand {
  align-content: center;
  max-width: 360px;
}

.footer-brand strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.08;
}

.footer-brand span {
  font-size: 14px;
}

.footer-contact {
  min-width: min(100%, 520px);
  padding: 22px 26px;
  text-align: right;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(223, 210, 194, .9);
}

.footer-contact strong {
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.05;
}

.footer-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

footer a {
  justify-self: end;
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.footer-address {
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.footer-address:hover {
  color: var(--gold);
}

.home-float {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: rgba(183, 138, 53, .94);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 18px 42px rgba(61, 45, 28, .2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  backdrop-filter: blur(10px);
  transition: opacity .22s ease, transform .22s ease, background .18s ease;
}

.home-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.home-float:hover {
  background: rgba(26, 162, 173, .95);
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .topbar {
    align-items: center;
    flex-direction: row;
  }

  .hero,
  .routine {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    grid-column: 1;
  }

  .hero-copy {
    max-width: 600px;
    margin-left: 0;
    padding-top: 300px;
    padding-left: 0;
    border-left: 0;
  }

  .hero-bg {
    background:
      radial-gradient(circle at 72% 32%, rgba(255,255,255,.72), transparent 30%),
      linear-gradient(180deg, rgba(255,250,243,.02) 0%, rgba(255,250,243,.68) 46%, rgba(255,250,243,.98) 100%),
      url("assets/luxury-skincare-hero-model.png") top left / auto 560px no-repeat;
  }

  .cover-logos {
    width: min(100%, 540px);
    margin-bottom: 24px;
    padding: 16px 0;
  }

  .cover-logo-card img {
    height: 44px;
  }

  .cover-logo-divider {
    height: 60px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: clamp(38px, 6vw, 48px);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero .intro {
    max-width: 500px;
    font-size: 15px;
  }

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

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

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

  .modal-panel {
    width: min(920px, 100%);
    height: min(680px, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
  }

  .modal-media {
    padding: 50px 22px 24px;
  }

  .modal-media::before {
    inset: 46px 18px 22px;
  }

  .modal-media img,
  .product-modal[data-photo="true"] .modal-media img {
    max-height: min(420px, calc(100dvh - 160px));
  }

  .modal-copy {
    padding: 26px 44px 26px 30px;
  }

  .modal-copy h2 {
    font-size: clamp(31px, 5vw, 48px);
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    min-height: 78px;
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-lockup img {
    width: 142px;
  }

  .top-actions {
    gap: 6px;
    margin-left: auto;
  }

  .lang-button {
    min-width: 32px;
    min-height: 38px;
    padding: 0 8px;
    font-size: 10px;
  }

  .menu-wrap {
    margin-left: auto;
  }

  .menu-toggle {
    min-height: 38px;
    padding: 0 14px;
    font-size: 11px;
  }

  .site-menu {
    position: fixed;
    top: 78px;
    left: 14px;
    right: 14px;
    width: auto;
    padding: 8px;
  }

  .site-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 28px 24px 42px;
  }

  .hero-copy {
    padding-top: 210px;
  }

  .hero-bg {
    background:
      radial-gradient(circle at 68% 28%, rgba(255,255,255,.66), transparent 26%),
      linear-gradient(180deg, rgba(255,250,243,.06) 0%, rgba(255,250,243,.62) 38%, rgba(255,250,243,.98) 100%),
      url("assets/luxury-skincare-hero-model.png") 34% top / auto 440px no-repeat;
  }

  .cover-logos {
    align-items: flex-end;
    flex-direction: column;
    gap: 13px;
    width: min(62vw, 250px);
    margin-left: auto;
    margin-bottom: 28px;
    padding: 15px 0;
  }

  .cover-logo-card {
    justify-items: end;
    gap: 7px;
    text-align: right;
  }

  .cover-logo-card img {
    width: min(46vw, 185px);
    height: auto;
    max-height: 44px;
    object-position: right center;
  }

  .miprimera-cover img {
    width: min(42vw, 172px);
    max-height: 40px;
  }

  .cover-logo-card span {
    font-size: 10px;
    letter-spacing: .1em;
  }

  .cover-logo-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(183, 138, 53, .65));
  }

  .hero .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: .08em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(19px, 4.8vw, 30px);
    line-height: 1.15;
    white-space: nowrap;
  }

  .hero h1 span {
    display: inline;
    white-space: inherit;
  }

  .hero .subline {
    max-width: 330px;
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: .12em;
    line-height: 1.55;
  }

  .hero .intro {
    max-width: 340px;
    margin: 22px 0 28px;
    font-size: 15px;
    line-height: 1.65;
  }

  .brand-section,
  .package-grid,
  .product-grid,
  .collections-grid,
  .routine-products {
    grid-template-columns: 1fr;
  }

  .package-card {
    min-height: auto;
    padding: 18px;
  }

  .package-kicker {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: .1em;
  }

  .package-card h3 {
    max-width: 100%;
    font-size: 25px;
    line-height: 1.08;
  }

  .package-card p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .routine-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
  }

  .routine-flow div {
    min-height: 0;
    padding: 9px 10px;
  }

  .routine-flow strong {
    margin-bottom: 5px;
    font-size: 9px;
    letter-spacing: .07em;
  }

  .routine-flow span {
    font-size: 12px;
    line-height: 1.25;
  }

  .collection {
    aspect-ratio: auto;
    min-height: 220px;
  }

  .collection strong {
    max-width: 72%;
  }

  .brand-panel + .brand-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .product-media {
    height: 300px;
    padding: 62px 18px 24px;
  }

  .product-filter-bar {
    gap: 6px;
    margin: -4px 0 16px;
    padding: 8px 0 10px;
    overflow: visible;
  }

  .product-filter {
    flex: 1 1 calc(50% - 6px);
    min-height: 31px;
    padding: 0 9px;
    font-size: 10px;
    letter-spacing: .01em;
  }

  .product-media::before {
    inset: 20px 14px 18px;
  }

  .product-topline {
    left: 22px;
    right: 22px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-contact {
    min-width: 100%;
    padding: 18px;
    text-align: left;
  }

  footer a {
    justify-self: start;
  }

  .home-float {
    right: 12px;
    bottom: 12px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: .06em;
  }

  .product-modal {
    padding: 8px;
  }

  .modal-panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(210px, 34vh) minmax(0, 1fr);
    width: 100%;
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
  }

  .modal-media {
    min-height: 0;
    height: 100%;
    padding: 42px 18px 16px;
  }

  .modal-media::before {
    inset: 38px 14px 14px;
  }

  .modal-media img {
    max-height: min(250px, 27vh);
  }

  .product-modal[data-photo="true"] .modal-media {
    padding: 42px 18px 16px;
  }

  .product-modal[data-photo="true"] .modal-media img,
  .product-modal[data-shape="set"] .modal-media img {
    max-height: min(250px, 27vh);
  }

  .modal-copy {
    min-height: 0;
    padding: 22px 22px 30px;
    overflow: auto;
  }

  .modal-copy h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .modal-copy p:not(.subline) {
    font-size: 14px;
    line-height: 1.55;
  }

  .modal-info-block {
    padding: 12px 14px;
  }

  .modal-navigation {
    grid-template-columns: 1fr;
  }

  .modal-detail-grid {
    grid-template-columns: 1fr;
  }
}
