:root {
  color-scheme: dark;
  --bg: #090913;
  --bg-alt: #141126;
  --panel: #171429;
  --panel-2: #201a35;
  --border: #3a3154;
  --text: #f6f2ff;
  --muted: #c7c0d6;
  --accent: #bfa7ff;
  --accent-2: #8b6df0;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(122, 90, 194, 0.16), transparent 28%),
    linear-gradient(180deg, #0b0b16, #07070f 45%, #090913 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1.2rem, 4vw, 4rem);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 9, 19, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #aea4c8;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
}
.brand small {
  display: block;
  color: var(--accent);
  font-size: 0.64rem;
  letter-spacing: 0.25em;
  margin-top: 0.12rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(191, 167, 255, 0.09);
  border: 1px solid rgba(191, 167, 255, 0.18);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.nav a {
  color: #d9d1ed;
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover,
.nav a:focus-visible {
  color: white;
}
.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 7vw, 6rem) 4rem;
}
.hero-copy h1,
.checkout-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.lead,
.section-copy {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}
.hero-copy .lead { max-width: 36rem; margin-top: 1.25rem; }
.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  padding: 0.92rem 1.15rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}
.button-primary {
  background: linear-gradient(135deg, var(--accent), #cfb9ff);
  color: #181226;
  box-shadow: 0 14px 34px rgba(177, 149, 255, 0.24);
}
.button-secondary {
  background: rgba(191, 167, 255, 0.08);
  color: var(--text);
  border-color: rgba(191, 167, 255, 0.28);
}
.full-width { width: 100%; }

.hero-visual {
  position: relative;
  min-height: 30rem;
  display: grid;
  place-items: center;
}
.hero-circle {
  position: absolute;
  inset: 8% 12%;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(123, 92, 214, 0.22), rgba(123, 92, 214, 0.03) 65%, transparent 72%);
  border: 1px solid rgba(160, 133, 226, 0.18);
}
.mushroom-silhouette {
  position: absolute;
  width: min(94%, 31rem);
  opacity: 0.9;
  filter: drop-shadow(0 22px 30px rgba(56, 34, 95, 0.3));
}
.logo-crop-frame {
  position: relative;
  width: min(76%, 24rem);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.hero-logo {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  object-position: center top;
}
.hero-logo-tag {
  position: absolute;
  bottom: 11%;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(20, 17, 38, 0.92);
  border: 1px solid rgba(191, 167, 255, 0.26);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.section {
  padding: 1rem clamp(1.2rem, 7vw, 6rem) 4rem;
}
.section-alt {
  background: linear-gradient(180deg, rgba(34,26,54,0.92), rgba(18,14,31,0.94));
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}
.narrow { max-width: 48rem; }

.product-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(29,24,46,0.92), rgba(20,16,33,0.98));
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-card-image {
  display: grid;
  place-items: center;
  min-height: 18rem;
  padding: 1rem 1rem 0;
  background: radial-gradient(circle at top, rgba(146, 116, 232, 0.16), transparent 56%), linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.product-card-image img {
  max-height: 16rem;
  object-fit: contain;
}
.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.1rem 1.1rem 1.2rem;
  height: 100%;
}
.product-card-title {
  margin: 0;
  font-size: 1.45rem;
}
.product-card-text,
.fine {
  color: var(--muted);
  line-height: 1.65;
}
.product-card-text {
  margin: 0;
  min-height: 4.2rem;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.2rem;
}
.product-price {
  font-size: 1.2rem;
  font-weight: 800;
}
.card-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}
.card-actions .button { flex: 1; }

.cart-button,
.icon-button {
  border: 1px solid rgba(191, 167, 255, 0.22);
  background: rgba(191, 167, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}
.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 999px;
  padding: 0.72rem 0.95rem;
}
.cart-count {
  min-width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #191228;
  font-size: 0.85rem;
  font-weight: 800;
}
.icon-button {
  border-radius: 0.75rem;
  padding: 0.55rem 0.7rem;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(3, 2, 7, 0.65);
  z-index: 60;
}
.cart-drawer.open { display: block; }
.cart-panel {
  margin-left: auto;
  width: min(30rem, 100%);
  height: 100%;
  background: #0f0e19;
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -10px 0 30px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
}
.cart-header,
.cart-summary {
  padding: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.cart-header h2,
.checkout-box h2 { margin: 0; }
.cart-items {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.2rem;
}
.cart-empty {
  color: var(--muted);
  padding-top: 2rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 0.9rem;
  background: rgba(191, 167, 255, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cart-item-thumb img {
  max-height: 68px;
  object-fit: contain;
}
.cart-item-title { margin: 0 0 0.2rem; font-size: 1rem; }
.cart-item-meta,
.cart-note {
  color: var(--muted);
  font-size: 0.92rem;
}
.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
}
.qty-controls button {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(191, 167, 255, 0.22);
  background: rgba(191, 167, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}
.remove-link {
  margin-left: 0.8rem;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.cart-summary {
  border-bottom: none;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}
.cart-actions { margin-top: 1rem; }
.cart-checkout { width: 100%; }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 1.2rem;
  background: rgba(4, 3, 8, 0.7);
  z-index: 70;
}
.modal.open { display: grid; }
.modal-card {
  position: relative;
  width: min(52rem, 100%);
  background: #120f21;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.3rem;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.modal-close { position: absolute; top: 1rem; right: 1rem; }
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}
.modal-art {
  display: grid;
  place-items: center;
  min-height: 22rem;
  padding: 1rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top, rgba(146, 116, 232, 0.15), transparent 54%), rgba(255,255,255,0.02);
}
.modal-art img { max-height: 20rem; object-fit: contain; }
.modal-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin: 0 0 1rem;
}
.qty-wrap { display: grid; gap: 0.5rem; margin: 1.2rem 0; }
.qty-wrap input {
  max-width: 7rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

.checkout-page {
  padding: 2rem clamp(1.2rem, 7vw, 6rem) 4rem;
}
.checkout-card {
  background: linear-gradient(180deg, rgba(25,20,41,0.95), rgba(16,13,28,0.98));
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2rem);
}
.checkout-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
}
.checkout-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 1.1rem;
}
.checkout-items .cart-item { grid-template-columns: 64px 1fr; }
.summary-table { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.07); }
.success-wrap { display: grid; place-items: center; min-height: 65vh; }
.success-card { max-width: 46rem; width: 100%; text-align: center; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 24rem; }
}
@media (max-width: 820px) {
  .checkout-grid,
  .modal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav { gap: 0.75rem; }
  .product-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.2rem; }
  .hero-logo-tag { font-size: 0.65rem; letter-spacing: 0.13em; }
  .site-header, .site-footer { padding-inline: 1rem; }
}

#checkout-form label{display:block;margin-top:16px} #checkout-form input:not([type=hidden]),textarea{box-sizing:border-box;width:100%;padding:12px;margin:8px 0 16px;border:1px solid #888;border-radius:8px;background:#fff;color:#222;font:inherit} #order-next{margin-top:28px} [hidden]{display:none!important} button:disabled{opacity:.5;cursor:not-allowed}
