/* ==================================================================
   NEZIORA 2026 — modern storefront + studio surface
   Tokens are supplied by views.themeStyle so owners can re-skin the
   storefront and studio without touching this file.
   ================================================================== */
:root {
  --shadow-sm: 0 1px 2px rgba(18, 24, 28, .05), 0 8px 24px rgba(18, 24, 28, .045);
  --shadow-lg: 0 24px 70px rgba(18, 24, 28, .13), 0 4px 16px rgba(18, 24, 28, .06);
  --font-display: "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

body { background: var(--bg); }
.store-body { background: var(--bg); color: var(--ink); }
.store-body ::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }

.announce {
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 65%, var(--accent)));
  color: #fff; font-size: 10.5px; letter-spacing: .13em; padding: 8px 16px;
}
.store-head {
  position: sticky; top: 0; z-index: 35; background: var(--header-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}
.store-head-inner { padding-top: 15px; padding-bottom: 15px; gap: 24px; }
.store-word { font-size: 22px; letter-spacing: .16em; font-weight: 780; }
.store-sub { font-size: 11px; letter-spacing: .015em; }
.store-tab { border-bottom: 0; padding: 9px 12px; border-radius: 999px; font-weight: 600; }
.store-tab:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); }
.store-tab.is-active { color: var(--brand-strong); background: var(--brand-soft); }
.store-actions { gap: 12px; }
.cart-link {
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 13px;
  background: color-mix(in srgb, var(--card) 80%, transparent);
}
.cart-link:hover { border-color: var(--brand); }
.cart-count { background: var(--accent); color: #fff; }
.link-quiet { font-weight: 600; }

.btn { border-radius: 999px; padding: 10px 18px; font-weight: 650; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 72%, var(--accent)));
  color: var(--on-brand);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 24%, transparent);
}
.btn-primary:hover { color: var(--on-brand); filter: brightness(1.04); box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 30%, transparent); }
.btn-ghost { background: color-mix(in srgb, var(--card) 76%, transparent); border-color: var(--line-strong); color: var(--ink-2); }
.btn-ghost:hover { background: var(--card); border-color: var(--brand); color: var(--ink); }
.btn-soft { background: var(--brand-soft); color: var(--brand-strong); }
.btn-lg { padding: 13px 23px; font-size: 14.5px; }
.btn-sm { padding: 8px 14px; }

.card, .panel-card, .product-card, .mockup-card, .stat, .step-card, .feature { background: var(--card); border-color: var(--line); box-shadow: var(--shadow-sm); }
.card { border-radius: var(--radius); padding: 22px; }
.card-title { font-size: 15px; letter-spacing: -.01em; }
.field-label { font-weight: 650; }
.input, .select, .textarea {
  border-radius: var(--radius-sm); background: color-mix(in srgb, var(--card) 96%, var(--bg));
  color: var(--ink); border-color: var(--line-strong); padding: 10px 13px;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.check-row { border-radius: var(--radius-sm); background: color-mix(in srgb, var(--card) 88%, var(--bg)); }
.check-row:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.tag, .filter-chip, .pill { border-radius: 999px; }
.filter-chip { background: var(--card); }
.filter-chip.is-active { background: var(--brand); color: var(--on-brand); }

/* ---- hero ---- */
.hero, .hero-modern {
  position: relative; overflow: hidden;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: clamp(24px, 5vw, 64px); background: var(--hero-bg);
  border: 1px solid color-mix(in srgb, var(--line) 84%, transparent);
  border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 66px);
  margin-bottom: 22px; box-shadow: var(--shadow-lg);
}
.hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px;
  border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 68%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--brand-strong);
  background: color-mix(in srgb, var(--brand) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  border-radius: 999px; padding: 6px 12px; letter-spacing: .12em; margin-bottom: 14px;
}
.hero h1 { font-family: var(--font-display); font-size: clamp(38px, 5.3vw, 68px); line-height: .98; letter-spacing: -.055em; font-weight: 780; max-width: 12ch; margin: 4px 0 18px; }
.hero p { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.hero-actions { margin-top: 26px; gap: 10px; }
.hero-proof { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.hero-proof span { border-left: 1px solid var(--line-strong); padding-left: 8px; }
.hero-proof span:first-child { border-left: 0; padding-left: 0; }
.hero-photo-frame {
  position: relative; display: grid; place-items: center; width: 100%; min-height: 380px;
  border-radius: calc(var(--radius-lg) - 6px);
  background: radial-gradient(circle at 50% 28%, rgba(255,255,255,.9), transparent 48%),
    linear-gradient(150deg, color-mix(in srgb, var(--brand) 8%, var(--card)), color-mix(in srgb, var(--accent) 13%, var(--card)));
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent); overflow: hidden;
}
.hero-photo-frame .hero-garment { width: 100%; height: 100%; min-height: 380px; padding: 8px; background: transparent; }
.hero-photo-frame .hero-garment svg, .hero-photo-frame .hero-garment .mockup-cover { width: 100%; height: 100%; }
.hero-photo-frame .hero-image { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 0; }
.hero.hero-bg { min-height: 500px; align-items: end; }
.hero.hero-bg .hero-copy { max-width: 660px; }
.hero.hero-bg h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.18); }
.hero.hero-bg p { color: rgba(255,255,255,.82); }
.hero.hero-bg .hero-eyebrow { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); }
.hero.hero-bg .hero-proof { color: rgba(255,255,255,.68); }
.hero.hero-bg .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.32); color: #fff; }

/* ---- trust, sections, steps ---- */
.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 18px 0 0; }
.trust-item { display: flex; align-items: center; gap: 9px; padding: 14px 16px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--card); }
.trust-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-size: 11px; flex: 0 0 auto; }
.home-section { margin-top: clamp(48px, 7vw, 88px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head.centered { justify-content: center; text-align: center; }
.section-head.centered .display-title { margin-left: auto; margin-right: auto; }
.section-kicker { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 750; margin-bottom: 9px; }
.display-title { font-family: var(--font-display); font-size: clamp(28px, 3.7vw, 46px); line-height: 1.03; letter-spacing: -.045em; font-weight: 760; max-width: 18ch; }
.section-sub { max-width: 62ch; margin-top: 7px; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step-card { border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.step-number { font-size: 11px; font-weight: 800; letter-spacing: .15em; color: var(--accent); margin-bottom: 30px; }
.step-card h3 { font-size: 19px; letter-spacing: -.025em; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.story-section { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 5vw, 64px); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.story-media { border-radius: calc(var(--radius-lg) - 8px); overflow: hidden; min-height: 330px; background: var(--bg); }
.story-media .garment-wrap, .story-media .story-image { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.story-copy p { color: var(--ink-2); line-height: 1.7; margin: 16px 0 20px; max-width: 54ch; }
.reviews-section .grid-3 { gap: 14px; }
.reviews-section .feature, .reviews-section .review-card { background: var(--card); }
.custom-section { padding: clamp(24px, 4vw, 46px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(135deg, var(--card), color-mix(in srgb, var(--brand) 7%, var(--card))); }
.custom-section p { max-width: 70ch; color: var(--ink-2); margin: 14px 0 20px; }
.cta-panel { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 84px) clamp(22px, 5vw, 64px); border-radius: var(--radius-lg); background: radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 65%), linear-gradient(145deg, color-mix(in srgb, var(--brand) 88%, #111), color-mix(in srgb, var(--brand) 48%, #060809)); color: #fff; box-shadow: var(--shadow-lg); }
.cta-panel .section-kicker { color: color-mix(in srgb, var(--accent) 60%, #fff); }
.cta-panel .display-title { margin-left: auto; margin-right: auto; color: #fff; }
.cta-panel p { color: rgba(255,255,255,.72); max-width: 50ch; margin: 14px auto 24px; }
.cta-panel .btn-primary { background: #fff; color: #111; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.studio-note { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 56px 0 6px; color: var(--muted); font-size: 11px; letter-spacing: .045em; }
.studio-note strong { color: var(--ink-2); }
.modern-empty { background: var(--card); }
.home-shell { padding-bottom: 10px; }

/* ---- product cards ---- */
.product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.product-card { border-radius: var(--radius); box-shadow: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; background: var(--card); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 28%, var(--line)); }
.product-thumb-link { padding: 0; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--card) 72%, #fff), transparent 60%), linear-gradient(145deg, color-mix(in srgb, var(--brand) 6%, var(--bg)), color-mix(in srgb, var(--accent) 10%, var(--bg))); }
.product-thumb-link .garment-wrap { aspect-ratio: 4 / 4.7; border-radius: 0; }
.product-card-body { padding: 16px 18px 18px; gap: 7px; }
.product-card-body .eyebrow { color: var(--accent); }
.product-title { font-size: 16px; letter-spacing: -.02em; }
.product-meta { font-size: 12px; }
.product-actions .btn { flex: 1; }
.garment-wrap { background: radial-gradient(circle at 50% 28%, #fff 0%, transparent 48%), linear-gradient(145deg, color-mix(in srgb, var(--brand) 5%, var(--card)), color-mix(in srgb, var(--accent) 8%, var(--card))); }

/* ---- studio + customer pages ---- */
.studio-shell { grid-template-columns: minmax(0, 1fr) 390px; gap: 18px; }
.studio-stage-card, .panel-card { background: var(--card); border-color: var(--line); }
.studio-stage-card { box-shadow: var(--shadow-sm); }
.stage-zoom-wrap { background: color-mix(in srgb, var(--bg) 72%, var(--card)); border: 1px solid var(--line); }
.side-toggle, .stage-zoom { background: color-mix(in srgb, var(--bg) 76%, var(--card)); }
.side-toggle button.is-active { background: var(--card); color: var(--ink); }
.panel-title { color: var(--accent); letter-spacing: .14em; }
.layer-row { background: var(--card); }
.layer-row.is-active { border-color: var(--brand); background: var(--brand-soft); }
.tool-btn, .layer-icon, .size-chip, .swatch { background: var(--card); }
.studio-price-bar { border-color: var(--line); }
.studio-price-bar .price-lg { font-size: 24px; }
.detail-visual .garment-wrap { aspect-ratio: 5 / 4; }
.detail-visual { padding: 14px; }
.cart-line { padding: 18px 0; }
.cart-thumb { border-radius: var(--radius-sm); background: var(--bg); }
.totals-row.grand { font-size: 19px; }
.qty-form { border-radius: 999px; background: var(--card); }
.qty-form button { background: color-mix(in srgb, var(--bg) 70%, var(--card)); }
.timeline-dot { background: var(--accent); }
.msg { border-radius: var(--radius-sm); background: var(--card); }
.msg.staff { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 20%, var(--line)); }

/* footer / credits */
.store-foot { background: var(--card); border-top: 1px solid var(--line); color: var(--ink-2); margin-top: 70px; }
.store-foot .store-word, .store-foot .store-brand { color: var(--ink); }
.store-foot .store-logo { opacity: .95; }
.store-foot .muted, .store-foot p, .store-foot .store-sub { color: var(--muted); }
.store-foot a { color: var(--ink-2); }
.store-foot a:hover { color: var(--brand); }
.store-foot .foot-base { border-top-color: var(--line); color: var(--muted); }
.credit-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.credit-link:hover { color: var(--brand); }
.store-foot .credit-link:hover { color: var(--brand); }
.site-foot { border-top-color: var(--line); }
.site-foot a { color: var(--ink-2); }

/* no-code builder helpers */
.settings-jump { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 16px; }
.settings-jump a {
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink-2);
  border-radius: 999px; padding: 7px 13px; font-size: 12.5px; font-weight: 650;
}
.settings-jump a:hover { border-color: var(--brand); color: var(--brand); }
#theme, #homepage, #print-sizes, #branding { scroll-margin-top: 90px; }
#homepage .check-row { margin-bottom: 8px; }
#homepage .divider { margin: 18px 0; }

@media (max-width: 980px) {
  .hero, .hero-modern { grid-template-columns: 1fr; }
  .hero-photo-frame { min-height: 340px; }
  .story-section { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-shell { grid-template-columns: 1fr; }
  .display-title { max-width: 20ch; }
}
@media (max-width: 640px) {
  .hero, .hero-modern { padding: 26px 20px; border-radius: var(--radius); }
  .hero h1 { font-size: clamp(34px, 12vw, 48px); }
  .hero-photo-frame { min-height: 280px; }
  .hero-photo-frame .hero-garment { min-height: 280px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { padding: 12px 14px; }
  .home-section { margin-top: 48px; }
  .section-head { align-items: flex-start; gap: 12px; }
  .display-title { font-size: 30px; }
  .product-card-body { padding: 12px 13px 14px; }
  .store-head { position: relative; }
  .store-nav { gap: 4px; }
  .store-tab { padding: 7px 9px; }
  .store-actions { gap: 8px; }
  .cta-panel { padding: 38px 20px; }
  .story-section { padding: 14px; }
}
