/* ==========================================================
   StayClean — minimal Korean-style storefront
   ========================================================== */

:root {
  --bg: #F6F4EF;
  --surface: #EEEBE4;
  --card: #FBFAF7;
  --ink: #2A2B2A;
  --ink-soft: #55575A;
  --muted: #8A8B8D;
  --line: #E3DFD7;
  --teal: #3B8676;
  --teal-deep: #2F6E61;
  --teal-soft: #DDE9E4;
  --grey: #808184;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.lead { color: var(--ink-soft); font-size: 17px; font-weight: 300; max-width: 460px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 28px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--teal); }
.btn--line { border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

.link-arrow { font-size: 13px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }

/* Topbar */
.topbar {
  background: var(--teal);
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 9px 16px;
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 244, 239, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo img { height: 28px; width: auto; }

.nav { display: flex; gap: 34px; }
.nav a { font-size: 14px; color: var(--ink-soft); position: relative; transition: color .25s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .25s; }
.icon-btn:hover { background: var(--surface); }
.cart-count {
  position: absolute; top: 4px; right: 3px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--teal); color: #fff;
  font-size: 10px; font-weight: 600; line-height: 17px; text-align: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

.menu-btn { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-btn span { display: block; width: 20px; height: 1.4px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.7px) rotate(-45deg); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(50px, 7vw, 92px); font-weight: 300; letter-spacing: -0.055em; line-height: 0.98; margin-bottom: 28px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 0.92;
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 70% 20%, #F3EFE7 0%, transparent 60%),
    linear-gradient(160deg, #EAE5DB 0%, #E1DDD3 100%);
  overflow: hidden;
}
.hero__visual::after { /* soft "shelf" shadow line */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 17%; height: 1px; background: rgba(0,0,0,.06);
}
.hero__visual svg { position: absolute; bottom: 17%; filter: drop-shadow(0 18px 18px rgba(60, 50, 35, .10)); }
.hero__visual .float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Hero with an uploaded banner: photo fills the section, text centred in its empty middle */
.hero--banner { position: relative; padding: 0; overflow: hidden; }
.hero__banner { position: absolute; inset: 0; background: #F4F2EE; }
.hero__banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero__banner::after { /* soft veil behind the text so leaf shadows never fight the headline */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(34% 62% at 47% 50%, rgba(246, 244, 239, .78) 0%, rgba(246, 244, 239, 0) 100%);
}
.hero--banner .hero__inner { position: relative; display: flex; justify-content: center; align-items: center; min-height: clamp(460px, 33.3vw, 680px); padding-top: 48px; padding-bottom: 48px; }
.hero--banner .hero__text { max-width: 470px; text-align: center; transform: translateX(-3%); }
.hero--banner h1 { font-size: clamp(40px, 4.4vw, 66px); margin-bottom: 20px; }
.hero--banner .lead { margin: 0 auto; font-size: 16px; max-width: 420px; }
.hero--banner .hero__cta { justify-content: center; margin-top: 30px; }

@media (max-width: 1100px) {
  /* not wide enough to keep products clear of the text: banner on top, text below */
  .hero--banner .hero__banner { position: relative; aspect-ratio: 3 / 1; }
  .hero--banner .hero__banner::after { display: none; }
  .hero--banner .hero__inner { min-height: 0; padding-top: 40px; padding-bottom: 64px; }
  .hero--banner .hero__text { transform: none; max-width: 560px; }
}

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 0 28px; position: relative; }
.marquee span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); opacity: .5; transform: translateY(-50%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 120px 0; }
.section__head { margin-bottom: 56px; }
.section__head h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 300; }
.section__head--center { text-align: center; }
.section__head--center .lead { margin: 22px auto 0; }

/* Ranges */
.ranges__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.range-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.range-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(40, 40, 30, .25); }
.range-card:hover .link-arrow::after { transform: translateX(4px); }
.range-card__art { aspect-ratio: 16 / 10; position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 2%; padding-bottom: 10%; }
.range-card--hotel .range-card__art { background: linear-gradient(170deg, #E7EEEA, #D9E4DF); }
.range-card--home .range-card__art { background: linear-gradient(170deg, #F0EAE1, #E6DED2); }
.range-card__art svg { height: 70%; width: auto; filter: drop-shadow(0 12px 14px rgba(60, 50, 35, .10)); }
.range-card__body { padding: 32px 34px 36px; }
.range-card__no { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.range-card h3 { font-size: 28px; font-weight: 400; margin: 6px 0 12px; }
.range-card p { color: var(--ink-soft); font-weight: 300; margin-bottom: 22px; max-width: 420px; }

/* Shop */
.shop { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.shop__head .section__head { margin-bottom: 0; }
.tabs { display: inline-flex; padding: 4px; background: var(--surface); border-radius: 999px; }
.tab { height: 38px; padding: 0 22px; border-radius: 999px; font-size: 13px; color: var(--ink-soft); transition: background .3s var(--ease), color .3s var(--ease); }
.tab.is-active { background: var(--ink); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 22px; }
.product { display: flex; flex-direction: column; animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.product__art {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius);
  display: grid; place-items: center; overflow: hidden; margin-bottom: 18px;
}
.product__art svg { width: 78%; height: auto; transition: transform .7s var(--ease); filter: drop-shadow(0 14px 14px rgba(60, 50, 35, .10)); }
.product:hover .product__art svg { transform: scale(1.05) translateY(-4px); }
.product__tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.7); padding: 5px 10px; border-radius: 999px; color: var(--ink-soft);
}
.product__add {
  position: absolute; right: 14px; bottom: 14px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s;
}
.product__add:hover { background: var(--teal); }
.product:hover .product__add, .product__add:focus-visible { opacity: 1; transform: none; }
.product__name { font-size: 15.5px; font-weight: 500; letter-spacing: -0.02em; }
.product__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.product__price { font-size: 14px; margin-top: 8px; }
.product__price small { color: var(--muted); font-size: 12px; }
.product__bulk { font-size: 12px; color: var(--teal); margin-top: 3px; }
.product__tag--stock { background: var(--ink); color: #fff; }
.pd__buy .btn:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.pd.is-unavailable .pd__buy .qty { display: none; }
.product__art[data-open] { cursor: pointer; }
.product__art[data-open]:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.product__art.has-photo img { transition: transform .8s var(--ease); }
.product:hover .product__art.has-photo img { transform: scale(1.04); }
.product__name a:hover { color: var(--teal); }
.line__deal { display: block; font-size: 11px; color: var(--teal); }

/* Product details */
.pd { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 32px; visibility: hidden; }
.pd__scrim { position: absolute; inset: 0; background: rgba(30, 30, 28, .34); opacity: 0; transition: opacity .4s var(--ease); }
.pd__panel {
  position: relative; width: min(1040px, 100%); max-height: 100%; overflow-y: auto;
  background: var(--bg); border-radius: 24px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 28px 40px 28px 28px;
  opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .4s var(--ease), transform .45s var(--ease);
}
body.pd-open { overflow: hidden; }
body.pd-open .pd { visibility: visible; }
body.pd-open .pd__scrim { opacity: 1; }
body.pd-open .pd__panel { opacity: 1; transform: none; }
.pd__close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--bg); }
.pd__main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.pd__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd__main svg { width: 74%; height: auto; filter: drop-shadow(0 14px 14px rgba(60, 50, 35, .10)); }
.pd__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd__thumbs button { width: 64px; height: 80px; border-radius: 10px; overflow: hidden; opacity: .55; outline: 1px solid var(--line); transition: opacity .25s; }
.pd__thumbs button.is-on, .pd__thumbs button:hover { opacity: 1; outline: 1.5px solid var(--ink); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__info { padding: 28px 0 8px; display: flex; flex-direction: column; }
.pd__name { font-size: clamp(30px, 3.2vw, 42px); font-weight: 300; letter-spacing: -0.045em; line-height: 1.05; }
.pd__meta { color: var(--muted); font-size: 14px; margin-top: 8px; }
.pd__price { font-size: 22px; margin-top: 20px; letter-spacing: -0.02em; }
.pd__price small { font-size: 13px; color: var(--muted); }
.pd__about { color: var(--ink-soft); font-weight: 300; font-size: 15px; line-height: 1.7; margin-top: 18px; white-space: pre-line; }
.pd__about:empty { display: none; }
.pd__bulk:empty { display: none; }
.pd__bulk { margin-top: 26px; }
.pd__bulk-title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.pd__tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.pd__tier { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; text-align: left; background: var(--card); transition: border-color .25s, background .25s; }
.pd__tier span { font-size: 12.5px; color: var(--ink-soft); }
.pd__tier small { color: var(--muted); }
.pd__tier strong { font-size: 15px; font-weight: 600; }
.pd__tier em { font-style: normal; font-size: 11.5px; color: var(--teal); }
.pd__tier:hover { border-color: var(--ink-soft); }
.pd__tier.is-on { border-color: var(--teal); background: var(--teal-soft); }
.pd__buy { display: flex; gap: 12px; margin-top: 28px; }
.qty--lg { margin-top: 0; height: 52px; }
.qty--lg button { width: 44px; height: 50px; font-size: 18px; }
.qty--lg input { width: 56px; border: 0; background: transparent; text-align: center; font: inherit; font-size: 15px; -moz-appearance: textfield; }
.qty--lg input::-webkit-inner-spin-button, .qty--lg input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pd__buy .btn { flex: 1; height: 52px; }
.pd__line { font-size: 13.5px; color: var(--ink-soft); margin-top: 12px; }
.pd__saved { color: var(--teal); }
.pd__ask { align-self: flex-start; margin-top: 22px; font-size: 13.5px; color: var(--teal-deep); text-decoration: underline; text-underline-offset: 4px; text-align: left; }

@media (max-width: 860px) {
  .pd { padding: 0; place-items: end stretch; }
  .pd__panel { grid-template-columns: 1fr; gap: 0; padding: 0 0 28px; border-radius: 22px 22px 0 0; max-height: 94vh; max-height: 94dvh; transform: translateY(40px); }
  .pd__gallery { padding: 12px 12px 0; }
  .pd__main { aspect-ratio: 1 / 1; }
  .pd__info { padding: 22px 20px 0; }
  .pd__buy { position: sticky; bottom: -28px; background: var(--bg); padding: 12px 0 14px; margin-top: 18px; }
}

/* Matte */
.matte__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.matte__visual {
  aspect-ratio: 1; border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #E9EEEB 0%, #DCE4E0 100%);
  display: flex; align-items: flex-end; justify-content: center; gap: 3%; padding-bottom: 16%;
}
.matte__visual svg { height: 52%; width: auto; filter: drop-shadow(0 16px 16px rgba(40, 50, 45, .12)); }
.matte__text h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 300; margin-bottom: 22px; }
.points { list-style: none; margin: 44px 0 0; padding: 0; }
.points li { display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points span { font-size: 12px; color: var(--teal); padding-top: 3px; letter-spacing: .08em; }
.points strong { font-weight: 500; display: block; margin-bottom: 4px; }
.points p { color: var(--ink-soft); font-weight: 300; font-size: 15px; }

/* Hotels */
.hotels { background: var(--teal); color: #fff; border-radius: 36px; margin: 0 16px; }
.hotels .eyebrow { color: #BFDCD3; }
.hotels .lead { color: rgba(255,255,255,.78); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.16); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--teal); padding: 38px 30px 42px; }
.feature svg { width: 40px; height: 40px; margin-bottom: 26px; color: #CFE5DE; }
.feature h4 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.feature p { font-size: 14.5px; font-weight: 300; color: rgba(255,255,255,.75); }

/* Contact */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact__text h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 300; margin-bottom: 22px; }
.contact__info { margin: 44px 0 0; }
.contact__info div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.contact__info div:last-child { border-bottom: 1px solid var(--line); }
.contact__info dt { color: var(--muted); }
.contact__info dd { margin: 0; }
.contact__info a:hover { color: var(--teal); }

.form { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: grid; gap: 8px; font-size: 12.5px; color: var(--ink-soft); letter-spacing: .02em; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 13px 15px; outline: none; width: 100%;
  transition: border-color .25s, background .25s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); background: #fff; }
.form button { margin-top: 6px; }

/* Footer */
.footer { padding: 90px 0 36px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 64px; }
.footer__logo { height: 32px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: 14px; font-weight: 300; }
.footer__cols { display: flex; gap: 80px; flex-wrap: wrap; }
.footer__cols h5 { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer__cols a { display: block; font-size: 14px; margin-bottom: 10px; color: var(--ink-soft); transition: color .2s; }
.footer__cols a:hover { color: var(--teal); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* Drawer */
.overlay { position: fixed; inset: 0; background: rgba(30, 30, 28, .28); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); z-index: 90; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(420px, 100%); background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease);
}
body.cart-open .overlay { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
body.cart-open { overflow: hidden; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 18px; font-weight: 500; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 80px 0; font-size: 14px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__art { width: 72px; height: 84px; border-radius: 12px; display: grid; place-items: center; }
.line__art svg { width: 82%; }
.line__name { font-size: 14px; font-weight: 500; }
.line__meta { font-size: 12px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { width: 28px; height: 28px; font-size: 15px; color: var(--ink-soft); }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.line__price { font-size: 14px; text-align: right; }
.line__remove { display: block; font-size: 11.5px; color: var(--muted); margin-top: 8px; margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
.drawer__foot { padding: 22px 24px 26px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 8px; }
.drawer__total strong { font-weight: 600; }
.drawer__note { font-size: 12px; color: var(--muted); margin-bottom: 18px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  background: var(--ink); color: #fff; font-size: 13.5px;
  padding: 13px 22px; border-radius: 999px;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .matte__inner, .contact__inner { gap: 48px; }
}

@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    flex-direction: column; gap: 0; padding: 24px;
    background: var(--bg);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .nav a { font-size: 26px; font-weight: 300; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  body.menu-open .nav { opacity: 1; pointer-events: auto; transform: none; }
  body.menu-open { overflow: hidden; }

  .hero { padding: 40px 0 72px; }
  .hero__inner, .matte__inner, .contact__inner, .ranges__grid { grid-template-columns: 1fr; }
  .hero__inner { gap: 44px; }
  .section { padding: 88px 0; }
  .matte__visual { order: 2; }
  .shop__head { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
  .product__add { opacity: 1; transform: none; height: 34px; padding: 0 14px; right: 10px; bottom: 10px; }
  .hotels { margin: 0 8px; border-radius: 28px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .logo img { height: 23px; }
  .features { grid-template-columns: 1fr; }
  .form { padding: 26px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .range-card__body { padding: 26px 24px 30px; }
  .footer__cols { gap: 44px; }
  .product__tag { top: 10px; left: 10px; font-size: 9.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

.footer__slogan { color: var(--teal) !important; font-size: 18px !important; font-weight: 400 !important; letter-spacing: -0.02em; margin-bottom: 6px; }

/* Uploaded photos (set in the admin) replace the illustrated packs */
.has-photo { padding: 0 !important; }
.has-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.range-card__art.has-photo, .matte__visual.has-photo, .product__art.has-photo, .line__art.has-photo { position: relative; overflow: hidden; }
.product:hover .product__art > img { transform: scale(1.04); }
.product__art > img { transition: transform .7s var(--ease); }
.product__tag, .product__add { z-index: 1; }
.grid__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Mobile polish ---------- */
@media (max-width: 860px) {
  .header__inner { height: 64px; }
  .nav {
    top: var(--nav-top, 64px); bottom: auto; z-index: 49; height: calc(100dvh - var(--nav-top, 64px)); overflow-y: auto;
    padding: 12px 24px 40px;
  }
  .nav a { font-size: 24px; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; }
  .nav a::before { content: "→"; order: 2; font-size: 18px; color: var(--teal); }
  body.menu-open .header { border-bottom-color: var(--line); }
  body.menu-open .header::before { background: var(--bg); }
}

@media (max-width: 600px) {
  .topbar { font-size: 11px; padding: 8px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .hero { padding: 16px 0 56px; }
  .hero__inner { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 28px; }
  .hero__visual { width: 100%; }
  .hero__visual { aspect-ratio: 1 / 0.92; border-radius: 22px; }
  .hero h1 { font-size: 48px; margin-bottom: 18px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .lead { font-size: 15.5px; }
  .hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .hero__cta .btn { padding: 0 12px; height: 48px; font-size: 13.5px; }
  .hero.hero--banner { padding: 0; }
  .hero--banner .hero__inner { padding-top: 28px; padding-bottom: 52px; }
  .hero--banner h1 { font-size: 42px; }

  .marquee { padding: 14px 0; }
  .marquee span { font-size: 11.5px; padding: 0 20px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .shop__head { margin-bottom: 32px; gap: 18px; }
  .tabs { width: 100%; }
  .tab { flex: 1; }
  .range-card__art { aspect-ratio: 4 / 3; }
  .range-card h3 { font-size: 24px; }
  .matte__inner, .contact__inner { gap: 36px; }
  .points { margin-top: 28px; }
  .feature { padding: 28px 24px 30px; }
  .feature svg { margin-bottom: 16px; }
  .footer { padding: 64px 0 28px; }
  .footer__inner { padding-bottom: 40px; }
  .footer__cols { gap: 32px 48px; }
}

@media (max-width: 600px) {
  .product__add { width: 38px; height: 38px; padding: 0; font-size: 0; border-radius: 50%; display: grid; place-items: center; }
  .product__add::before { content: "+"; font-size: 22px; font-weight: 300; line-height: 1; }
}
.pd__panel:focus { outline: none; }
.pd.is-unavailable .pd__line { display: none; }

/* Packaging switch: StayClean brand / with your logo */
.product__logo { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.product__logo::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: 6px; vertical-align: 1px; }
.pd__opts:empty { display: none; }
.pd__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.pd__opt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-align: left; transition: border-color .25s, background .25s; }
.pd__opt strong { font-size: 14px; font-weight: 600; }
.pd__opt span { font-size: 12px; color: var(--muted); }
.pd__opt:hover { border-color: var(--ink-soft); }
.pd__opt.is-on { border-color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--ink); }
.pd__opts + .pd__bulk { margin-top: 18px; }
.pd__note { font-size: 13px; line-height: 1.6; color: var(--ink-soft); background: var(--teal-soft); border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
.pd__note:empty { display: none; }
.line__logo { color: var(--teal); font-weight: 500; }
.qty input { width: 52px; border: 0; background: transparent; text-align: center; font: inherit; font-size: 13px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 600px) {
  .qty input { font-size: 16px; } /* 16px stops iPhones zooming into the field */
  .pd__opt { padding: 11px 12px; }
}
