:root {
  --ink: #1b1022;
  --plum: #3a103f;
  --magenta: #e21878;
  --hot: #ff3d7f;
  --orange: #ff7a18;
  --amber: #ffb020;
  --paper: #f6f1ec;
  --white: #ffffff;
  --muted: #64596c;
  --line: rgba(27, 16, 34, 0.1);
  --shadow: 0 18px 50px rgba(58, 16, 63, 0.08);
  --radius: 22px;
  --header: 92px;
  --font: "Outfit", sans-serif;
  --display: "Syne", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(900px 420px at -10% -10%, rgba(226, 24, 120, 0.12), transparent 55%),
    radial-gradient(800px 380px at 110% -20%, rgba(255, 122, 24, 0.16), transparent 50%),
    var(--paper);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }

.sr, .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  z-index: 20;
  background: white;
  padding: 8px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-nav > a, .mega > a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav > a:hover, .mega > a:hover { color: var(--magenta); }
.search input {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  width: 220px;
}
.search input:focus { outline: 2px solid rgba(226, 24, 120, 0.35); border-color: transparent; }
.cart-link, .wa-link {
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
}
.cart-link { background: #f4eaf2; }
.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 1.4em;
  height: 1.4em;
  margin-left: 4px;
  border-radius: 99px;
  background: var(--plum);
  color: white;
  font-size: 0.75rem;
}
.wa-link {
  background: linear-gradient(90deg, var(--magenta), var(--orange));
  color: white;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  position: relative;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 8px;
  background: var(--ink);
}
.mega { position: relative; }
.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-40%);
  width: min(760px, 80vw);
  max-height: 70vh;
  overflow: auto;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  border: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
}
.mega:hover .mega-panel, .mega:focus-within .mega-panel { display: grid; }
.mega-panel section h3 { font-size: 0.95rem; margin-bottom: 6px; }
.mega-panel a { text-decoration: none; }
.mega-panel ul { list-style: none; margin: 0 0 12px; padding: 0; }
.mega-panel li a { display: block; padding: 4px 0; color: var(--muted); font-size: 0.92rem; }
.mega-panel li a:hover { color: var(--magenta); }

main { max-width: 1180px; margin: 0 auto; padding: 20px 20px 72px; min-height: 60vh; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 20px 0 10px;
}
.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--magenta);
}
.kicker i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--orange);
  display: inline-block;
}
.hero h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); max-width: 12ch; }
.gradient {
  background: linear-gradient(100deg, #4a1258 0%, #e21878 52%, #ff7a18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { margin-top: 16px; font-size: 1.12rem; color: var(--muted); max-width: 46ch; }
.hero-mail { margin: 16px 0 0; font-weight: 700; }
.hero-mail a { color: var(--magenta); text-decoration: none; }
.hero-mail a:hover { text-decoration: underline; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  background: var(--ink);
  color: white;
}
.btn.primary { background: linear-gradient(90deg, var(--magenta), var(--orange)); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 2px;
}

.marks {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}
.marks strong { display: block; color: var(--ink); font-size: 1rem; }

.ticket {
  background: white;
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.ticket::before {
  content: "";
  display: block;
  height: 12px;
  margin: -18px -18px 14px;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 12px 12px, var(--paper) 7px, transparent 8px) left top / 22px 12px repeat-x,
    linear-gradient(90deg, var(--plum), var(--magenta) 55%, var(--orange));
}
.ticket-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ticket-top span { color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.live {
  color: var(--magenta);
  font-weight: 800;
  font-size: 0.82rem;
}
.live::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 99px;
  background: #22a06b;
  box-shadow: 0 0 0 0 rgba(34, 160, 107, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(34, 160, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 160, 107, 0); }
}
.ticket h2 { font-size: 1.45rem; margin: 4px 0 12px; }
.ticket-preview { padding: 18px 18px 16px; }
.ticket-preview::before { margin-bottom: 16px; }
.ticket-preview h2 { font-size: 1.55rem; margin: 2px 0 14px; }
.ticket-preview .btn { width: 100%; }
.preview-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 14px;
}
.preview-total .total { font-size: 2.2rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field span, .field label { font-size: 0.82rem; font-weight: 700; color: var(--muted); }
select, .qty-input, textarea, .text-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .seg {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
}
.chip.is-on, .seg.is-on {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.total-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 8px; }
.total {
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: -0.04em;
}
.total.flash { animation: pop 0.35s ease; }
@keyframes pop { from { transform: translateY(4px); color: var(--magenta); } }
.unit { color: var(--muted); font-size: 0.92rem; }
.note { min-height: 1.3em; color: var(--muted); font-size: 0.88rem; margin: 6px 0 12px; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rate-wrap { overflow: auto; margin-top: 14px; }
.rate { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.rate th, .rate td { text-align: right; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rate th:first-child, .rate td:first-child { text-align: left; }
.rate th button { border: 0; background: transparent; font-weight: 700; cursor: pointer; }
.rate td button { border: 0; background: transparent; cursor: pointer; font-weight: 600; width: 100%; text-align: right; }
.rate .is-on { background: #fff1e8; color: var(--plum); }
.rate tr.is-active td { background: #fff6f1; }

.section { margin-top: 54px; }
.section-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 16px; }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section a.more { font-weight: 700; color: var(--magenta); text-decoration: none; }

.groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.group-card {
  display: block;
  text-decoration: none;
  background: white;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  min-height: 104px;
}
.group-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.group-card small { color: var(--muted); }
.group-card strong { display: block; font-family: var(--display); font-size: 1.15rem; margin-top: 8px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .media {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(160deg, rgba(226, 24, 120, 0.16), rgba(255, 122, 24, 0.12)),
    #f3e7ee;
}
.card img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .meta { color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.card h3 { font-size: 1.05rem; }
.price-from { margin-top: auto; padding-top: 8px; font-weight: 800; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: white; border-radius: 20px; padding: 18px; border: 1px solid var(--line); }
.step em { font-style: normal; font-family: var(--display); font-size: 1.4rem; color: var(--magenta); }
.step h3 { margin: 8px 0; font-size: 1.3rem; }
.step p { color: var(--muted); }

.band {
  margin-top: 54px;
  border-radius: 28px;
  padding: 28px;
  color: white;
  background: linear-gradient(120deg, #2a0a33 0%, #7a1458 48%, #ff7a18 140%);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.band p { max-width: 52ch; color: rgba(255,255,255,.86); margin-top: 8px; }
.band .btn { background: white; color: var(--plum); }

.shop { display: grid; grid-template-columns: 240px 1fr; gap: 22px; }
.filters { position: sticky; top: 110px; align-self: start; }
.filters h2 { font-size: 1.2rem; margin-bottom: 10px; }
.filters a, .filters button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 7px 0;
  text-decoration: none;
  color: var(--muted);
  cursor: pointer;
}
.filters a.cat-link { color: var(--ink); font-weight: 800; margin-top: 12px; }
.filters a.group-link { padding-left: 12px; }
.filters a.is-on, .filters button.is-on, .filters a:hover { color: var(--ink); font-weight: 700; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.toolbar select { width: auto; }

.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}
.photo-wrap {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: sticky;
  top: 110px;
}
.photo-wrap img, .photo-fallback { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-fallback {
  background: linear-gradient(160deg, #4a1258, #e21878 55%, #ff7a18);
}
.crumbs { color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.product-copy h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.product-copy .summary { margin: 12px 0; color: var(--muted); }
.specs { display: grid; gap: 8px; margin: 14px 0 18px; }
.specs div { background: white; border-radius: 14px; padding: 10px 12px; border: 1px solid var(--line); }
.specs strong { display: block; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--magenta); }

.page h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 12px; }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 12px; color: #3c3344; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 22px; margin-top: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-link { margin-top: 14px; color: var(--muted); }
.quote-link a { color: var(--magenta); font-weight: 700; }
.panel { background: white; border-radius: 24px; padding: 18px; border: 1px solid var(--line); }
.panel label { display: block; font-weight: 700; margin: 10px 0 6px; }
.cart-line {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 12px;
  background: white;
  border-radius: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.cart-line img, .thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  background: #f3e7ee;
}
.cart-line h3 { font-size: 1.1rem; }
.cart-line p { color: var(--muted); font-size: 0.92rem; }
.line-total { font-weight: 800; text-align: right; }
.linkish { background: none; border: 0; color: var(--magenta); cursor: pointer; padding: 0; font-weight: 700; }
.summary-box { position: sticky; top: 110px; }
.grand { font-family: var(--display); font-size: 2rem; }

.empty { padding: 28px; background: white; border-radius: 20px; border: 1px dashed var(--line); }

.site-footer { background: #1b1022; color: #f6efe8; padding: 36px 20px 20px; }
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 12px; background: #fff; border-radius: 10px; padding: 8px 12px; }
.site-footer a { color: white; }
.site-footer h2 { font-size: 1rem; margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; color: rgba(255,255,255,.8); }
.legal { max-width: 1180px; margin: 22px auto 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6); font-size: 0.85rem; }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1faa59;
  color: white;
  box-shadow: 0 10px 24px rgba(20, 90, 40, 0.28);
  z-index: 25;
}
.wa-float svg { width: 30px; height: 30px; }
.noscript { max-width: 720px; margin: 20px auto; padding: 0 20px; }

@media (max-width: 980px) {
  .hero, .product, .shop, .contact-grid, .footer-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .groups, .grid { grid-template-columns: repeat(2, 1fr); }
  .photo-wrap, .filters, .summary-box { position: static; }
  .band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .site-nav { display: flex; }
  .search input, .wa-link, .cart-link { width: 100%; }
  .mega-panel { position: static; transform: none; width: auto; display: none; box-shadow: none; padding: 8px 0; }
  body.nav-open .mega.is-open .mega-panel { display: block; max-height: 240px; }
  .brand img { height: 42px; }
  .groups, .grid { grid-template-columns: 1fr; }
  .marks { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
