:root {
  --paper: #f4f0ea;
  --paper-2: #ebe4db;
  --white: #fbf8f4;
  --ice: #e4eef0;
  --ice-2: #d3e3e7;
  --blush: #f3e4e7;
  --blush-2: #e4cfd4;
  --ink: #1c282e;
  --muted: #667178;
  --rose: #a06b76;
  --rose-deep: #7c4e59;
  --line: rgba(28, 40, 46, 0.12);
  --shadow: 0 30px 70px rgba(48, 36, 38, 0.08);
  --serif: Nunito, "Segoe UI", sans-serif;
  --sans: Nunito, "Segoe UI", sans-serif;
  --header: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(227, 206, 210, 0.45), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(210, 228, 232, 0.55), transparent 55%),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--blush-2); }

.ice-fog {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.35'/></svg>");
  opacity: 0.035;
  z-index: 0;
}

.site-header, .view, .site-footer, .mega { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  background: rgba(244, 240, 234, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: 8px; }
.nav a, .nav-drop {
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav-drop:hover, .nav a.is-on, .nav-drop.is-on { border-bottom-color: var(--rose); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.phone { font-weight: 600; font-size: 14px; white-space: nowrap; }
.search input {
  width: 168px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  outline: none;
}
.search input:focus { border-bottom-color: var(--rose); }
.cart-link {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
}
.cart-link:hover { background: var(--blush); }
.cart-link svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: var(--rose-deep);
  color: #fbf6f4;
  font-size: 11px;
  font-weight: 700;
  padding: 0 5px;
}
.cart-count[hidden] { display: none; }
body.cart-open { overflow: hidden; }
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}
.cart-drawer.is-open { visibility: visible; pointer-events: auto; }
.cart-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(28, 40, 46, 0.32);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .35s ease;
}
.cart-drawer.is-open .cart-backdrop { opacity: 1; }
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: #fbf8f4;
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  transition: transform .42s cubic-bezier(.22, .9, .24, 1);
  box-shadow: -28px 0 70px rgba(28, 40, 46, 0.14);
}
.cart-drawer.is-open .cart-panel { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 14px;
}
.cart-head h2 {
  margin: 2px 0 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.cart-head .kicker { margin: 0; }
.cart-x {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  flex: none;
}
.cart-x:hover { background: var(--blush); }
.cart-x svg { width: 18px; height: 18px; }
.cart-scroll { flex: 1; overflow: auto; padding: 0 22px 12px; }
.cart-foot { padding: 14px 22px 22px; border-top: 1px solid var(--line); background: #fbf8f4; }
.bag-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.bag-row img, .bag-ph {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: #e7eef0;
  border-radius: 16px;
  padding: 8px;
}
.bag-row h3 { margin: 0 0 4px; font-size: 15px; line-height: 1.35; font-weight: 650; }
.bag-row h3 a:hover { color: var(--rose-deep); }
.bag-meta { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 10px; }
.bag-tools { display: flex; align-items: center; gap: 12px; }
.bag-remove { color: var(--muted); font-size: 13px; }
.bag-remove:hover { color: var(--rose-deep); }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.cart-qty button { width: 32px; height: 32px; }
.cart-qty input { width: 36px; border: 0; text-align: center; background: transparent; padding: 0; }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.cart-sum b { font-family: var(--serif); font-size: 32px; font-weight: 500; }
.cart-foot .btn { width: 100%; }
.cart-empty { padding: 28px 0 12px; }
.cart-empty p { color: var(--muted); margin: 0 0 18px; }
.cart-back { margin-bottom: 14px; color: var(--rose-deep); font-weight: 650; font-size: 14px; }
.cart-form label { margin-bottom: 10px; }
.cart-form textarea { min-height: 84px; }
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink);
}
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }

.mega {
  position: sticky;
  top: var(--header);
  z-index: 35;
  background: rgba(251, 248, 244, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  max-height: min(70vh, 640px);
  overflow: auto;
}
.mega-grid { display: grid; grid-template-columns: 280px 1fr; min-height: 320px; }
.mega-roots { border-right: 1px solid var(--line); padding: 18px 8px; }
.mega-roots button, .mega-roots a {
  display: flex; width: 100%; text-align: left;
  padding: 10px 18px; border-radius: 10px; font-size: 15px;
}
.mega-roots button.is-on, .mega-roots button:hover { background: var(--blush); }
.mega-children { padding: 28px 36px 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; align-content: start; }
.mega-children a { padding: 8px 0; color: var(--muted); }
.mega-children a:hover { color: var(--rose-deep); }
.mega-title { grid-column: 1 / -1; font-family: var(--serif); font-size: 32px; color: var(--ink); margin-bottom: 8px; }

.view { min-height: calc(100vh - 220px); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  padding: 18px 40px 20px;
  align-items: center;
  overflow: hidden;
}
.kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--rose);
  font-weight: 600;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.98;
  margin: 8px 0 12px;
  letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--rose-deep); }
.lede { max-width: 460px; font-size: 16px; color: var(--muted); margin: 0 0 16px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--rose-deep); color: #fbf6f4; font-weight: 600;
}
.btn:hover { background: #6a424c; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--rose); color: var(--rose-deep); }
.facts { display: flex; gap: 22px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); max-width: 520px; }
.facts b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 800; }
.facts span { color: var(--muted); font-size: 13px; }

.stage { position: relative; height: 460px; }
.sheet, .orb, .frame { position: absolute; will-change: transform; }
.sheet {
  width: 78%; height: 74%; right: 0; top: 12%;
  background: linear-gradient(160deg, rgba(255,255,255,.7), var(--ice));
  border-radius: 48px 48px 120px 48px;
  box-shadow: var(--shadow);
}
.orb {
  width: 280px; height: 280px; left: 4%; bottom: 6%;
  background: radial-gradient(circle at 40% 40%, #f7ecee, var(--blush-2));
  border-radius: 50%;
  filter: blur(0.2px);
}
.frame {
  width: 230px; background: var(--white);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.8);
}
.frame img, .frame .ph { width: 100%; height: 168px; object-fit: contain; background: #e7eef0; padding: 12px; }
.frame figcaption { padding: 12px 14px 14px; font-size: 13px; }
.frame figcaption b { display: block; font-weight: 600; }
.frame figcaption span { color: var(--muted); }
.frame.a { right: 8%; top: 18px; }
.frame.b { left: 8%; top: 180px; width: 200px; }
.frame.b img, .frame.b .ph { height: 140px; }
.frame.c { right: 18%; bottom: 18px; width: 210px; }
.frame.c img, .frame.c .ph { height: 132px; }
.frame.a { top: 8px; }
.frame.b { top: 120px; }
.frame.c { bottom: 8px; }

.section { padding: 8px 40px 28px; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  margin-bottom: 14px;
}
.section-head h2, .page-title {
  font-family: var(--serif); font-weight: 800; font-size: clamp(30px, 3vw, 42px);
  line-height: 1.02; margin: 0; letter-spacing: -0.03em;
}
.section-head p, .crumb { color: var(--muted); margin: 8px 0 0; }
.crumb a:hover { color: var(--rose-deep); }

.cat-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat-card {
  position: relative; min-height: 168px; border-radius: 18px; overflow: hidden;
  background: var(--ice); display: flex; align-items: flex-end; padding: 18px;
  isolation: isolate;
}
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  padding: 28px 28px 64px; transition: transform .6s ease; background: linear-gradient(#f7f3ee, #e7eef0);
}
.cat-card span {
  position: relative; z-index: 1; font-weight: 650; font-size: 18px;
  background: rgba(251,248,244,.88); padding: 8px 12px; border-radius: 999px;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card.wide { grid-column: span 2; min-height: 190px; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  background: rgba(251, 248, 244, 0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 100%;
}
.card-photo { position: relative; background: #f6f1eb; aspect-ratio: 1; }
.card-photo img, .card-photo .ph { width: 100%; height: 100%; object-fit: contain; padding: 18px; background: #e7eef0; transition: transform .5s ease; }
.card:hover .card-photo img { transform: scale(1.05); }
.badge {
  position: absolute; left: 12px; top: 12px;
  background: var(--blush); color: var(--rose-deep);
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 650;
}
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; }
.price { font-weight: 700; color: var(--ink); }
.stock { font-size: 12px; color: var(--muted); }
.add {
  margin-top: auto; align-self: flex-start;
  border-bottom: 1px solid var(--rose); color: var(--rose-deep);
  padding: 0 0 2px; font-weight: 650; font-size: 14px;
}

.band {
  margin: 10px 48px 72px;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 280px;
  background: linear-gradient(120deg, #f7f3ee 0%, var(--ice) 55%, var(--blush) 140%);
  position: relative;
}
.band-copy { padding: 32px 36px; position: relative; z-index: 1; align-self: center; }
.band-copy h2 { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.02; margin: 6px 0 10px; font-weight: 800; }
.band-visual { position: relative; }
.iceberg {
  position: absolute; right: 8%; bottom: -20px; width: min(420px, 80%);
  filter: drop-shadow(0 20px 30px rgba(80, 110, 120, 0.12));
}
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.method {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 22px 0; border-top: 1px solid var(--line); align-items: start;
}
.method b { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--rose); }
.method h3 { margin: 0 0 6px; font-size: 18px; }
.method p { margin: 0; color: var(--muted); }

.news-list { display: grid; gap: 0; }
.news-row {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: center;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.news-row time { color: var(--muted); font-size: 14px; }
.news-row h3 { margin: 0 0 6px; font-size: 22px; font-family: var(--serif); font-weight: 500; }
.news-row p { margin: 0; color: var(--muted); }

.page { padding: 22px 40px 48px; }
.layout { display: grid; grid-template-columns: 270px 1fr; gap: 36px; align-items: start; }
.side { position: sticky; top: calc(var(--header) + 16px); max-height: calc(100vh - var(--header) - 32px); overflow: auto; padding-right: 8px; }
.side a, .side button.tree-btn {
  display: block; width: 100%; text-align: left; padding: 7px 0; color: var(--muted); font-size: 14px;
}
.side a.is-on, .side a:hover { color: var(--ink); }
.side .child { padding-left: 14px; }
.side details summary { cursor: pointer; font-weight: 650; padding: 8px 0; list-style: none; }
.side details summary::-webkit-details-marker { display: none; }
.toolbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 8px 0 22px;
}
.toolbar select, .pager a, .chip {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 8px 14px; font-size: 14px;
}
.chip.is-on { background: var(--blush); border-color: transparent; color: var(--rose-deep); }
.colors { display: flex; flex-wrap: wrap; gap: 8px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.pager a.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.product {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start;
}
.gallery { background: var(--white); border-radius: 28px; border: 1px solid var(--line); padding: 24px; }
.gallery .main-photo { width: 100%; height: min(560px, 70vh); object-fit: contain; background: #f6f1eb; border-radius: 18px; }
.thumbs { display: flex; gap: 8px; margin-top: 12px; }
.thumbs button { width: 72px; height: 72px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; padding: 4px; background: #f6f1eb; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button.is-on { border-color: var(--rose); }
.product h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin: 8px 0 12px; }
.buy { display: flex; gap: 10px; align-items: center; margin: 18px 0; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 44px; }
.qty input { width: 48px; border: 0; text-align: center; background: transparent; }
.prose { color: var(--muted); white-space: pre-line; max-width: 62ch; }
.prints { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.swatches a { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: #f6f1eb; padding: 4px; }
.swatches a.is-on { border-color: var(--rose-deep); }
.swatches img { width: 100%; height: 100%; object-fit: contain; }

.article { max-width: 760px; }
.article h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; margin: 8px 0 12px; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; }
.panel {
  background: rgba(251,248,244,.8); border: 1px solid var(--line); border-radius: 24px; padding: 24px;
}
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select.field {
  width: 100%; margin-top: 6px; background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select.field:focus { border-color: var(--rose); }
.map { margin-top: 22px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); min-height: 360px; }
.map iframe { width: 100%; height: 420px; border: 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-line { display: flex; gap: 14px; align-items: center; }
.cart-line img { width: 72px; height: 72px; object-fit: contain; background: #f6f1eb; border-radius: 12px; }
.note { background: var(--ice); border-radius: 16px; padding: 14px 16px; color: var(--ink); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.shots img { width: 100%; height: 240px; object-fit: cover; border-radius: 18px; background: #e7eef0; }

.site-footer { padding: 48px 48px 28px; border-top: 1px solid var(--line); background: rgba(251,248,244,.55); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-logo { height: 36px; width: auto; margin-bottom: 12px; }
.footer-lead, .site-footer p { color: var(--muted); margin: 0 0 8px; }
.site-footer h2 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 12px; color: var(--rose); }
.site-footer a { display: block; padding: 4px 0; color: var(--ink); }
.site-footer a:hover { color: var(--rose-deep); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.empty { padding: 40px 0; color: var(--muted); }
.toast {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px;
  z-index: 70; font-size: 14px;
}

@media (max-width: 1100px) {
  .hero, .product, .band, .contact-grid, .layout, .footer-grid { grid-template-columns: 1fr; }
  .cat-rail, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { height: 380px; }
  .mega-grid, .mega-children { grid-template-columns: 1fr; }
  .side { position: static; max-height: none; }
  .news-row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 820px) {
  :root { --header: 68px; }
  .site-header, .section, .page, .site-footer { padding-left: 18px; padding-right: 18px; }
  .hero { padding: 12px 18px 20px; min-height: auto; }
  .band { margin-left: 18px; margin-right: 18px; }
  .band-copy { padding: 28px 22px; }
  .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .burger { display: block; }
  .phone { display: none; }
  .cart-panel { width: 100%; }
  .search input { width: 96px; }
  .cat-rail, .product-grid, .methods { grid-template-columns: 1fr; }
  .cat-card.wide { grid-column: auto; }
  .frame.b, .frame.c { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-photo img, .cat-card img, .cart-panel, .cart-backdrop { transition: none; }
}
