@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@700;800&display=swap");

:root {
  --ink: #182142;
  --muted: #66708f;
  --paper: #fffdf8;
  --pink: #ff3e91;
  --purple: #7138ef;
  --cyan: #31d7df;
  --lime: #cfff47;
  --yellow: #ffd338;
  --line: rgba(24, 33, 66, 0.12);
  --shadow: 0 22px 60px rgba(64, 36, 123, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 6%, rgba(49, 215, 223, 0.2), transparent 22rem),
    radial-gradient(circle at 95% 11%, rgba(255, 62, 145, 0.16), transparent 23rem),
    var(--paper);
  font-family: "Manrope", sans-serif;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  width: min(1200px, calc(100% - 40px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 5;
}
.brand img, footer img { width: 160px; height: 62px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.site-header nav a:not(.nav-order):hover { color: var(--purple); }
.nav-order { padding: 12px 21px; border-radius: 999px; background: var(--ink); color: white; }
main, footer { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 36px;
  padding: 36px 0 72px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Unbounded", sans-serif; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
h1 span { display: inline-block; color: var(--pink); }
.hero-text { max-width: 610px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 38px; }
.button {
  min-height: 50px;
  padding: 0 23px;
  border: 0;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  box-shadow: 0 14px 30px rgba(113, 56, 239, 0.25);
}
.button-ghost { background: white; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.hero-facts { margin: 0; padding: 0; display: flex; gap: 36px; list-style: none; }
.hero-facts li { display: grid; gap: 2px; }
.hero-facts strong { font-size: 22px; font-weight: 800; }
.hero-facts span { color: var(--muted); font-size: 12px; }
.hero-visual { min-height: 590px; position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before {
  content: "";
  width: 88%;
  height: 88%;
  border-radius: 42% 58% 55% 45% / 48% 38% 62% 52%;
  position: absolute;
  z-index: -2;
  background: linear-gradient(145deg, var(--cyan), #a5f49f 46%, var(--lime));
  transform: rotate(-5deg);
}
.hero-visual img {
  width: 74%;
  max-height: 560px;
  border: 8px solid white;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}
.science-badge {
  width: 104px;
  height: 104px;
  border: 6px solid white;
  border-radius: 50%;
  position: absolute;
  right: 3%;
  top: 7%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--purple);
  font-family: "Unbounded", sans-serif;
  font-size: 22px;
  transform: rotate(10deg);
  box-shadow: var(--shadow);
}
.spark { position: absolute; color: white; font-size: 54px; }
.spark-one { left: 6%; top: 14%; }
.spark-two { right: 6%; bottom: 15%; font-size: 34px; }
.bubble { border: 3px solid rgba(255,255,255,.8); border-radius: 50%; position: absolute; }
.bubble-one { width: 54px; height: 54px; left: 3%; bottom: 22%; }
.bubble-two { width: 26px; height: 26px; right: 17%; bottom: 5%; }
.orbit { border: 2px dashed rgba(113,56,239,.22); border-radius: 50%; position: absolute; z-index: -3; }
.orbit-one { width: 100%; height: 64%; transform: rotate(22deg); }
.orbit-two { width: 74%; height: 92%; transform: rotate(-18deg); }

.catalog-section { padding: 88px 0 105px; }
.section-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 40px;
}
.section-heading h2, .wholesale h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.7; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 12px 36px rgba(71,53,113,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  padding: 0;
  overflow: hidden;
  border: 0;
  position: relative;
  display: block;
  background: linear-gradient(150deg,#e4fbff,#f8e4ff);
  cursor: pointer;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.025); }
.media-chip {
  padding: 9px 12px;
  border-radius: 999px;
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(24,33,66,.1);
}
.placeholder {
  width: 100%;
  height: 100%;
  padding: 42px;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.8) 0 4px, transparent 5px),
    linear-gradient(145deg,#42dbe3,#6e3ded 52%,#ff4a9b);
  color: white;
}
.placeholder span { font-size: 54px; }
.placeholder strong { margin-top: 16px; font-family: "Unbounded",sans-serif; font-size: 24px; line-height: 1.25; }
.placeholder small { margin-top: 10px; font-weight: 700; opacity: .82; }
.product-body { padding: 20px; }
.product-kicker {
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-card h3 { min-height: 52px; margin-bottom: 10px; font-size: 20px; line-height: 1.3; }
.product-description { min-height: 44px; margin-bottom: 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.price-row {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.old-price { color: #9a9fb2; font-size: 14px; text-decoration: line-through; }
.price { display: block; color: var(--pink); font-size: 27px; font-weight: 800; line-height: 1.1; }
.price-note { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.discount { padding: 8px 10px; border-radius: 10px; background: #efffd2; color: #497400; font-size: 12px; font-weight: 800; }
.product-actions { margin-top: 17px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.order-button { width: 100%; }
.market-links { display: flex; gap: 6px; }
.market-link {
  width: 48px;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: #f8f7fb;
  font-size: 11px;
  font-weight: 800;
}
.market-link:hover { border-color: var(--purple); }

.wholesale {
  margin-bottom: 105px;
  padding: 66px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 70px;
  background:
    radial-gradient(circle at 95% 10%, rgba(207,255,71,.25), transparent 18rem),
    var(--ink);
  color: white;
}
.wholesale .eyebrow { color: var(--cyan); }
.wholesale h2 { margin-bottom: 22px; }
.wholesale > div > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.68); line-height: 1.75; }
.wholesale .button { margin-top: 16px; }
.steps { margin: 0; padding: 0; display: grid; gap: 18px; list-style: none; }
.steps li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: flex; gap: 18px; }
.steps > li > span { color: var(--cyan); font-family: "Unbounded",sans-serif; font-size: 14px; }
.steps strong { font-size: 16px; }
.steps p { margin: 5px 0 0; color: rgba(255,255,255,.58); font-size: 13px; }

footer {
  padding: 36px 0 55px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
}
footer > div:first-child { display: flex; align-items: center; gap: 18px; }
footer > div:first-child p { max-width: 370px; margin: 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13px; font-weight: 700; text-decoration: none; }
.copyright { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }

dialog {
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  background: white;
  box-shadow: 0 30px 100px rgba(24,33,66,.32);
}
dialog::backdrop { background: rgba(18,16,39,.72); backdrop-filter: blur(8px); }
.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  background: rgba(255,255,255,.9);
  font-size: 27px;
  cursor: pointer;
}
.gallery-dialog { width: min(1050px, calc(100% - 32px)); max-height: calc(100vh - 32px); }
.gallery-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; }
.gallery-stage { min-height: 680px; overflow: hidden; position: relative; display: grid; place-items: center; background: #eef0f7; }
.gallery-stage img { width: 100%; height: 100%; max-height: calc(100vh - 32px); object-fit: contain; }
.gallery-arrow {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  z-index: 2;
  background: rgba(24,33,66,.75);
  color: white;
  font-size: 36px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-count {
  padding: 8px 12px;
  border-radius: 999px;
  position: absolute;
  bottom: 14px;
  left: 50%;
  background: rgba(24,33,66,.78);
  color: white;
  font-size: 12px;
  transform: translateX(-50%);
}
.gallery-info { padding: 70px 25px 28px; }
.gallery-info h2 { margin-bottom: 24px; font-size: 25px; line-height: 1.25; }
.gallery-thumbs { margin-bottom: 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: #eef0f7; cursor: pointer; }
.gallery-thumb.active { border-color: var(--pink); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-info .button { width: 100%; }

.order-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 38px; overflow-y: auto; }
.order-head h2 { margin-bottom: 12px; font-size: 31px; }
.order-head > p:last-child { margin-bottom: 24px; color: var(--muted); line-height: 1.55; }
form { display: grid; gap: 15px; }
label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #f8f8fb;
  color: var(--ink);
  font-size: 15px;
}
input, select { height: 48px; padding: 0 14px; }
textarea { padding: 13px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(113,56,239,.1); }
.form-row { display: grid; grid-template-columns: .56fr 1.44fr; gap: 12px; }
.consent { grid-template-columns: auto 1fr; align-items: start; color: var(--muted); font-weight: 600; line-height: 1.4; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; }
.submit-order { width: 100%; margin-top: 3px; }
.submit-order:disabled { opacity: .65; cursor: wait; }
.form-status { min-height: 20px; margin: 0; text-align: center; font-size: 13px; font-weight: 700; }
.form-status.success { color: #23834f; }
.form-status.error { color: #c6285d; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 540px; }
  .hero-visual img { width: 52%; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wholesale { grid-template-columns: 1fr; gap: 35px; }
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-stage { min-height: min(64vh,660px); }
  .gallery-stage img { max-height: 64vh; }
  .gallery-info { padding-top: 28px; }
  .gallery-thumbs { grid-template-columns: repeat(6,1fr); }
}
@media (max-width: 720px) {
  .site-header { height: 72px; }
  .brand img { width: 132px; }
  .site-header nav a:not(.nav-order) { display: none; }
  main, footer, .site-header { width: min(100% - 28px,1200px); }
  .hero { padding-top: 42px; }
  h1 { font-size: clamp(41px,14vw,64px); }
  .hero-text { font-size: 17px; }
  .hero-facts { gap: 18px; justify-content: space-between; }
  .hero-facts strong { font-size: 19px; }
  .hero-visual { min-height: 430px; }
  .hero-visual img { width: 70%; max-height: 410px; }
  .science-badge { width: 82px; height: 82px; font-size: 17px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .product-card h3, .product-description { min-height: 0; }
  .wholesale { padding: 36px 24px; }
  footer { grid-template-columns: 1fr; }
  footer > div:first-child { align-items: flex-start; flex-direction: column; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 12px; }
  .copyright { grid-column: auto; }
  .gallery-thumbs { grid-template-columns: repeat(3,1fr); }
  .order-dialog { padding: 32px 20px 24px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
