/* =========================================================
   Storefront styles
   Colours --ink, --accent, --soft and --bg are set from the
   admin panel (Site content > Brand & colours).
   ========================================================= */
:root {
  --ink: #15171C;
  --accent: #B48A4E;
  --soft: #F2EBDF;
  --bg: #F8F6F1;
  --cream: #F5F1E8;
  --paper: #FFFFFF;
  --line: color-mix(in srgb, var(--ink) 13%, transparent);
  --muted: color-mix(in srgb, var(--ink) 68%, var(--paper));
  --accent-ink: color-mix(in srgb, var(--accent) 62%, #000);
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1260px;
  --r-sm: 6px;
  --r: 12px;
  --ease: cubic-bezier(.6, 0, .2, 1);
  --reg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='5.5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3Cpath d='M10 0v20M0 10h20' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 820px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -5000px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: .96;
  letter-spacing: -.035em;
  margin: 0 0 22px;
  font-variation-settings: "opsz" 96;
}
.display-md { font-size: clamp(34px, 4vw, 52px); line-height: 1; }
.display-sm { font-size: clamp(34px, 4.6vw, 58px); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 39px); line-height: 1.08; letter-spacing: -.025em; margin: 0; }
.h3 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 14px; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 58ch; margin: 0 0 28px; }
.lead p { margin: 0 0 .6em; }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1.1em; }
.prose h2, .prose h3 { font-family: var(--display); letter-spacing: -.015em; line-height: 1.2; margin: 1.6em 0 .5em; }
.prose a { color: var(--accent-ink); }
.text-link { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-gold { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-gold:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-ghost-light { border-color: color-mix(in srgb, var(--cream) 55%, transparent); color: var(--cream); }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; border-width: 1.5px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.announce { background: var(--ink); color: var(--paper); text-align: center; font-size: 14px; padding: 8px 20px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 96px; gap: 24px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); font-weight: 500; font-size: 17px; }
.nav-right { justify-content: flex-end; }
.nav a, .nav-drop-btn { white-space: nowrap; text-decoration: none; padding: 6px 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; position: relative; }
.nav a::after, .nav-drop-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a.is-active::after, .nav-drop-btn:hover::after, .nav-drop-btn.is-active::after { transform: scaleX(1); }
.nav-design svg { color: var(--accent); }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: -20px; min-width: 260px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--ink) 45%, transparent);
  padding: 10px; display: none;
}
.nav-drop.is-open .nav-drop-menu { display: grid; }
.nav-drop-menu a { padding: 10px 12px; border-radius: var(--r-sm); }
.nav-drop-menu a::after { display: none; }
.nav-drop-menu a:hover { background: var(--soft); }
.nav-drop-all { color: var(--accent-ink); font-weight: 600; border-top: 1px solid var(--line); margin-top: 6px; }
.nav-drop-btn svg { transition: transform .2s; }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }

.brand { text-decoration: none; display: block; text-align: center; }
.brand img { max-height: 74px; width: auto; margin-inline: auto; }
.brand-text {
  display: block; max-width: 8ch;
  font-family: var(--display); font-weight: 800; font-size: 34px; line-height: .86;
  letter-spacing: -.04em; font-stretch: 75%;
  font-variation-settings: "opsz" 96, "wdth" 75;
  position: relative;
}
.brand-text::after { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); right: -16px; bottom: 5px; animation: point-pulse 3.2s var(--ease) infinite; }
@keyframes point-pulse { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.45); } 90% { transform: scale(.9); } }

.burger { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; justify-self: end; padding: 11px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px 20px 20px; display: grid; }
.mobile-menu a, .mobile-menu summary { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 18px; cursor: pointer; }
.mobile-menu details a { display: block; padding-left: 16px; font-size: 16px; }

/* ---------- Notices ---------- */
.notice { margin: 20px 0 0; padding: 14px 18px; border-radius: var(--r-sm); border-left: 4px solid; background: var(--paper); }
.notice-success { border-color: #13895A; }
.notice-error { border-color: #C62828; }

/* ---------- Mockup ---------- */
.mock { position: relative; width: 100%; }
.mock-stage { position: relative; width: 100%; aspect-ratio: 400 / 440; transition: transform .35s var(--ease); }
.mock-cloth { position: absolute; inset: 0; isolation: isolate; filter: drop-shadow(0 14px 16px rgba(21, 23, 28, .16)); }
.mock-cloth span { position: absolute; inset: 0; }
.mock-tint {
  background: var(--garment, #fff);
  -webkit-mask: var(--shade) center / 100% 100% no-repeat;
          mask: var(--shade) center / 100% 100% no-repeat;
  transition: background-color .45s var(--ease);
}
.mock-shade { background: var(--shade) center / 100% 100% no-repeat; mix-blend-mode: multiply; }
.mock-light { background: var(--light) center / 100% 100% no-repeat; mix-blend-mode: screen; }
.mock-stage::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -3%; height: 5%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) 22%, transparent), transparent);
  z-index: -1;
}
.mock-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mock.has-photo .mock-cloth { display: none; }
.mock.has-photo .mock-stage::after { display: none; }
.mock-print { position: absolute; pointer-events: none; }
.mock-print img {
  width: 100%; height: auto; display: block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .55s var(--ease);
}
.mock-print::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 5px; border-radius: 3px;
  background: var(--ink); opacity: 0; pointer-events: none;
}
.is-printed .mock-print img { clip-path: inset(0 0 0 0); }
.mock-hero .mock-print img { transition-duration: .7s; }

/* ---------- Cards (category + product) ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 28px); }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

.card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; }
.card-frame {
  position: relative; display: block;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 14% 12% 12%;
  transition: background-color .3s, border-color .3s;
  isolation: isolate;
}
.card-frame::before {
  /* halftone dots that appear on hover */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 26%, transparent) 1.3px, transparent 1.7px);
  background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 55%, transparent 35%, #000 85%);
          mask-image: radial-gradient(ellipse at 50% 55%, transparent 35%, #000 85%);
  opacity: 0; transition: opacity .3s;
}
.card-frame::after {
  /* registration marks in the four corners */
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  background: var(--accent);
  -webkit-mask: var(--reg) top left / 16px no-repeat, var(--reg) top right / 16px no-repeat, var(--reg) bottom left / 16px no-repeat, var(--reg) bottom right / 16px no-repeat;
          mask: var(--reg) top left / 16px no-repeat, var(--reg) top right / 16px no-repeat, var(--reg) bottom left / 16px no-repeat, var(--reg) bottom right / 16px no-repeat;
  opacity: 0; transform: scale(1.04); transition: opacity .3s, transform .3s var(--ease);
}
.card:hover .card-frame, .card:focus-visible .card-frame { background-color: var(--soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.card:hover .card-frame::before, .card:focus-visible .card-frame::before,
.card:hover .card-frame::after, .card:focus-visible .card-frame::after { opacity: 1; transform: none; }
.card:hover .mock-stage, .card:focus-visible .mock-stage { transform: translateY(-5px); }
.card:hover .mock-print img, .card:focus-visible .mock-print img { clip-path: inset(0 0 0 0); }
.card:hover .mock-print::after, .card:focus-visible .mock-print::after { animation: squeegee .55s var(--ease) forwards; }
@keyframes squeegee {
  0%   { left: -2%; opacity: .9; }
  85%  { opacity: .9; }
  100% { left: 102%; opacity: 0; }
}
.card-body { display: grid; gap: 6px; text-align: center; justify-items: center; }
.card-title { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.card:hover .card-title { color: var(--accent-ink); }
.card-dots { display: flex; gap: 5px; align-items: center; }
.card-dots i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.card-dots em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 2px; }
.card-price { font-size: 15px; color: var(--muted); }

/* Touch screens have no hover, so prints are shown straight away */
@media (hover: none) {
  .card .mock-print img { clip-path: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 70% at 78% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    var(--ink);
  color: var(--cream); overflow: hidden; position: relative;
}
.hero .lead { color: color-mix(in srgb, var(--cream) 78%, transparent); }
.hero .display em { font-style: normal; color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero-copy .display { max-width: 12ch; }
.hero-visual { position: relative; display: grid; justify-items: center; gap: 18px; }
.hero-visual::before {
  content: ""; position: absolute; inset: -6% -18% 8% -6%; z-index: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 45%, transparent) 1.6px, transparent 2.2px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle at 55% 45%, #000 0, transparent 62%);
          mask-image: radial-gradient(circle at 55% 45%, #000 0, transparent 62%);
  animation: dots-drift 18s linear infinite;
}
@keyframes dots-drift { to { background-position: 160px 80px; } }
.mock-hero { width: min(100%, 470px); position: relative; z-index: 1; animation: float 6s ease-in-out infinite alternate; }
.mock-hero .mock-stage { transition: none; }
.mock-hero .mock-cloth { filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .45)); }
@keyframes float { from { transform: translateY(0) rotate(-.6deg); } to { transform: translateY(-14px) rotate(.6deg); } }
.mock-hero .mock-print img.is-swapping { clip-path: inset(0 100% 0 0); transition: none; }
.hero-swatches { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; position: relative; z-index: 1; }
.swatch-dot {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: var(--c); border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  box-shadow: 0 0 0 3px var(--ring, var(--paper));
  transition: box-shadow .2s, transform .2s;
}
.swatch-dot:hover { transform: translateY(-2px); }
.swatch-dot.is-on { box-shadow: 0 0 0 3px var(--ring, var(--paper)), 0 0 0 5px var(--ring-on, var(--ink)); }
.hero { --ring: var(--ink); --ring-on: var(--accent); }
.hero-note { margin: 0; font-size: 14px; color: color-mix(in srgb, var(--cream) 65%, transparent); position: relative; z-index: 1; }

/* ---------- Perks strip ---------- */
.perks { background: var(--bg); padding-block: 44px; border-bottom: 1px solid var(--line); }
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.perk { display: flex; gap: 18px; align-items: flex-start; }
.perk-icon { width: 64px; height: 64px; flex: none; color: var(--accent); }
.perk-title { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -.02em; line-height: 1.1; margin: 4px 0 6px; color: var(--accent-ink); }
.perk p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-tight { padding-top: 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 30px; margin-bottom: 34px; }
.section-head p { margin: 0; color: var(--muted); }

.page-head { padding-block: clamp(40px, 6vw, 72px) 24px; }
.page-head-compact { padding-bottom: 0; }
.page-head .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { text-decoration: none; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.count { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.empty { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r); padding: 34px; display: grid; gap: 16px; justify-items: start; }
.empty p { margin: 0; }

/* Steps: a real sequence, so numbered */
.section-steps { background: var(--paper); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); counter-reset: none; }
.step { position: relative; padding-top: 8px; }
.step-n {
  display: block; font-family: var(--display); font-weight: 800; font-size: 96px; line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--accent); margin-bottom: 18px;
}
.step h3 { font-family: var(--display); font-size: 24px; letter-spacing: -.015em; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }

/* Reviews */
.reviews-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.review { margin: 0; background: var(--paper); border-radius: var(--r); padding: 26px; border: 1px solid var(--line); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 17px; flex: 1; }
.review figcaption { font-weight: 600; }
.review figcaption span { font-weight: 400; color: var(--muted); }
.stars { color: #E9A100; letter-spacing: 2px; font-size: 18px; }
.stars-off { color: color-mix(in srgb, var(--ink) 18%, transparent); }

/* CTA band */
.cta { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 120% at 100% 50%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(44px, 6vw, 70px); }
.cta p { margin: 8px 0 0; opacity: .92; max-width: 56ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid color-mix(in srgb, var(--cream) 12%, transparent); background: var(--ink); color: color-mix(in srgb, var(--paper) 82%, transparent); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 40px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.brand-footer { text-align: left; color: var(--paper); margin-bottom: 18px; }
.brand-footer img { margin: 0; max-height: 60px; }
.footer-h { font-family: var(--display); font-size: 17px; color: var(--paper); margin: 0 0 14px; letter-spacing: -.01em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.hours { margin-top: 12px; }
.social { display: flex; gap: 16px; margin-top: 16px; font-weight: 600; color: var(--paper); }
.footer-base { border-top: 1px solid color-mix(in srgb, var(--paper) 16%, transparent); padding-block: 22px; font-size: 14px; }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); }

/* ---------- Product page ---------- */
.pickers { background: var(--soft); padding-block: 22px; }
.pickers-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.picker {
  position: relative; display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 20px;
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: var(--r);
  padding: 10px 18px 10px 10px;
}
.picker-thumb { background: var(--paper); border-radius: 8px; padding: 8px 10px; display: block; }
.picker-text { display: grid; gap: 2px; min-width: 0; }
.picker-label { font-size: 14px; color: var(--muted); }
.picker-value {
  font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.02em;
  text-decoration: underline dotted 2px; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, var(--ink) 55%, transparent);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
a.picker-value:hover { color: var(--accent-ink); }
.picker-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.picker-btn[aria-expanded="true"] { transform: rotate(180deg); }
.picker-menu {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; max-height: 340px; overflow: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 8px;
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--ink) 45%, transparent);
  display: grid;
}
.picker-menu a { padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; }
.picker-menu a:hover { background: var(--soft); }
.picker-menu a[aria-current] { font-weight: 700; color: var(--accent-ink); }

.product { padding-block: 34px 10px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.product-media { position: sticky; top: 120px; }
.product-frame {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 8% 14% 9%;
}
.mock-large .mock-stage { transition: none; }
.product-frame:hover .mock-print img, .product-frame.is-printed .mock-print img { clip-path: inset(0 0 0 0); }
.product-frame:hover .mock-print::after { animation: squeegee .55s var(--ease) forwards; }
.product-frame.is-printed:hover .mock-print::after { animation: none; }
.frame-hint { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 13px; color: var(--muted); transition: opacity .2s; }
.product-frame:hover .frame-hint, .product-frame.is-printed .frame-hint { opacity: 0; }
@media (hover: none) { .frame-hint { display: none; } .product-frame .mock-print img { clip-path: none; } }

.logo-try { margin-top: 18px; }
.logo-try-label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.logo-try-row { display: flex; flex-wrap: wrap; gap: 8px; }
.logo-chip {
  width: 58px; height: 58px; padding: 7px; border-radius: 10px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 600;
  display: grid; place-items: center; transition: border-color .2s, box-shadow .2s;
}
.logo-chip img { max-height: 100%; object-fit: contain; }
.logo-chip:hover { border-color: var(--ink); }
.logo-chip[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }

.product-info .display { margin-bottom: 10px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.product-price { margin: 0 0 10px; font-size: 18px; }
.product-price strong { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; }
.product-short { color: var(--muted); margin: 0 0 6px; }
.opt { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.opt-title { display: flex; align-items: baseline; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.015em; color: var(--accent-ink); margin-bottom: 14px; padding: 0; }
.opt-picked { font-family: var(--body); font-style: normal; font-weight: 500; font-size: 15px; color: var(--muted); letter-spacing: 0; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 14px 10px; }
.swatch { display: grid; justify-items: center; gap: 8px; cursor: pointer; text-align: center; }
.swatch input, .size input { position: absolute; opacity: 0; pointer-events: none; }
.swatch-chip {
  width: 62px; height: 62px; border-radius: 10px; background: var(--c);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  box-shadow: 0 0 0 3px var(--paper); transition: box-shadow .2s, transform .2s;
}
.swatch:hover .swatch-chip { transform: translateY(-2px); }
.swatch input:checked + .swatch-chip { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--accent); }
.swatch input:focus-visible + .swatch-chip { outline: 3px solid var(--accent); outline-offset: 6px; }
.swatch-name { font-size: 13px; line-height: 1.25; padding: 1px 5px; border-radius: 4px; }
.swatch input:checked ~ .swatch-name { background: var(--ink); color: var(--paper); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.size span { display: grid; place-items: center; min-width: 56px; height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; font-weight: 600; transition: border-color .2s, background .2s; }
.size:hover span { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.opt-qty { display: block; }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); overflow: hidden; }
.qty button { width: 48px; height: 48px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.qty button:hover { background: var(--soft); }
.qty input { width: 76px; border: 0; text-align: center; font-weight: 600; font-size: 18px; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-actions { margin: 34px 0 14px; }
.product-actions .btn { flex: 1 1 200px; }

.section-details { padding-top: 60px; }
.details-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 60px; }
.size-chart { grid-column: 1 / -1; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.table-scroll { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { font-weight: 700; background: var(--soft); }
tbody tr:last-child > * { border-bottom: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form-block { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); padding: clamp(18px, 3vw, 30px); margin: 0; display: grid; gap: 18px; min-width: 0; }
.form-block legend { font-family: var(--display); font-weight: 700; font-size: 22px; padding: 0 8px; margin-left: -8px; letter-spacing: -.015em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend { font-weight: 600; font-size: 15px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 4px; }
.field small { color: var(--muted); font-size: 13px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="number"], .field select, .field textarea, .input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="file"] { padding: 10px; border: 1.5px dashed var(--line); border-radius: 8px; background: var(--bg); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.has-error input, .has-error select, .has-error .size-grid { border-color: #C62828 !important; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; border: 1.5px solid transparent; border-radius: 8px; }
.size-box { display: grid; gap: 4px; text-align: center; font-weight: 600; font-size: 14px; }
.size-box input { width: 100%; height: 46px; text-align: center; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); }
.size-box input:focus { outline: none; border-color: var(--accent); }
.total { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; margin-top: 6px; }
.total input { width: 110px; height: 44px; text-align: center; border: 1.5px solid var(--line); border-radius: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--paper); }
.check:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.check input { accent-color: var(--accent); width: 17px; height: 17px; }
.sent { background: var(--paper); border-radius: var(--r); padding: 30px; border: 1px solid var(--line); }
.sent p { margin-top: 0; }

/* rating input */
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating-input legend { width: 100%; margin-bottom: 4px; font-weight: 600; font-size: 15px; float: left; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 30px; color: color-mix(in srgb, var(--ink) 20%, transparent); cursor: pointer; line-height: 1; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #E9A100; }
.rating-input input:focus-visible + label { outline: 2px solid var(--accent); }

/* ---------- About / reviews / blog ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }
.about-grid.no-img { grid-template-columns: 1fr; }
.about-img { border-radius: var(--r); width: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 50px 0 0; }
.facts div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column-reverse; gap: 4px; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -.03em; line-height: 1; color: var(--accent-ink); }
.facts dt { color: var(--muted); }
.reviews-page { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.reviews-list { display: grid; gap: 18px; }
.review-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; position: sticky; top: 120px; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 30px; }
.post-card { text-decoration: none; display: grid; gap: 8px; align-content: start; }
.post-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-img .mock { width: 52%; margin: 7% auto 0; }
.post-card:hover .post-img img { transform: scale(1.03); }
.post-date { font-size: 14px; color: var(--muted); margin-top: 8px; }
.post-title { font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.2; letter-spacing: -.015em; }
.post-card:hover .post-title { color: var(--accent-ink); }
.post-excerpt { color: var(--muted); font-size: 16px; }
.pager { display: flex; gap: 8px; margin-top: 40px; }
.pager a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); text-decoration: none; background: var(--paper); }
.pager a[aria-current] { background: var(--ink); color: var(--paper); }
.article-head { padding-block: 50px 20px; }
.article-img { border-radius: var(--r); width: 100%; margin-bottom: 30px; }
.article-body { font-size: 18px; line-height: 1.75; }
.more-posts { padding-left: 20px; display: grid; gap: 8px; }

/* ---------- Designer ---------- */
.designer { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.designer-stage { position: sticky; top: 120px; }
.designer-frame { touch-action: none; }
.d-area { position: absolute; border: 1.5px dashed color-mix(in srgb, var(--accent) 70%, transparent); border-radius: 4px; pointer-events: none; }
.d-art { position: absolute; cursor: move; outline: 1.5px solid var(--accent); outline-offset: 2px; touch-action: none; }
.d-art img { width: 100%; height: auto; display: block; pointer-events: none; user-select: none; }
.d-handle { position: absolute; right: -9px; bottom: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid var(--paper); cursor: nwse-resize; }
.d-empty { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; margin: 0; font-size: 14px; color: var(--muted); }
.d-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 16px; }
.d-range { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.d-range input { accent-color: var(--accent); width: 160px; }
.designer-panel { display: grid; gap: 14px; }
.d-step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 14px; }
.d-h { display: flex; align-items: baseline; gap: 12px; margin: 0; font-family: var(--display); font-size: 21px; letter-spacing: -.015em; }
.d-h > span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 15px; flex: none; transform: translateY(-2px); }
.d-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.d-swatches .swatch-dot { width: 38px; height: 38px; }
.upload { display: block; position: relative; cursor: pointer; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-box { display: grid; gap: 4px; text-align: center; padding: 22px; border: 2px dashed var(--line); border-radius: var(--r); background: var(--bg); color: var(--muted); font-size: 14px; }
.upload-box strong { color: var(--accent-ink); font-size: 17px; }
.upload:hover .upload-box, .upload input:focus-visible + .upload-box { border-color: var(--accent); }
.d-or { margin: 0; }
.size-grid-sm { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); }
.d-error { margin: 0; color: #C62828; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-row { grid-template-columns: auto 1fr; min-height: 76px; }
  .brand { text-align: left; }
  .brand img { margin: 0; max-height: 56px; }
  .brand-text { font-size: 28px; }
}
@media (min-width: 1101px) { .mobile-menu { display: none !important; } }
@media (max-width: 900px) {
  .hero-grid, .product-grid, .designer, .about-grid, .reviews-page, .details-grid { grid-template-columns: 1fr; }
  .product-media, .designer-stage, .review-form { position: static; }
  .perks-grid, .steps { grid-template-columns: 1fr; }
  .pickers-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .mock-hero { width: min(80%, 380px); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .grid-cats { grid-template-columns: 1fr 1fr; }
  .grid-products { grid-template-columns: 1fr 1fr; }
  .card-title { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
  .picker { grid-template-columns: 70px 1fr auto; gap: 12px; }
  .swatch-chip { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--accent); color: var(--ink); overflow: hidden; white-space: nowrap; border-block: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.marquee-track { display: inline-flex; gap: 0; padding-block: 14px; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; padding-inline: 22px; display: inline-flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: "✦"; font-size: 13px; opacity: .7; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Entrance and scroll animations ---------- */
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
.hero-visual { animation: fade-in 1.2s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.side-toggle-row { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.side-btn { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: 14px; cursor: pointer; }
.side-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* =========================================================
   Design studio
   ========================================================= */
.is-studio .announce { display: none; }
.studio { padding: 18px 0 0; background: var(--bg); }
.studio-steps { list-style: none; margin: 0 auto 18px; padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; }
.studio-steps button { border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); padding: 6px 0; }
.studio-steps button span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.studio-steps button[aria-current] { color: var(--ink); font-weight: 600; }
.studio-steps button[aria-current] span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.studio-steps button.is-done span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.studio-grid { display: grid; grid-template-columns: 74px minmax(0, 1fr) minmax(320px, 400px); gap: 22px; width: min(100% - 32px, 1420px); margin-inline: auto; align-items: start; }
.studio-rail { display: grid; gap: 6px; position: sticky; top: 112px; }
.studio-rail button { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; font-size: 11.5px; color: var(--ink); transition: border-color .2s, background .2s; }
.studio-rail button svg { width: 22px; height: 22px; }
.studio-rail button:hover:not(:disabled) { border-color: var(--ink); }
.studio-rail button:disabled { opacity: .35; cursor: default; }
.studio-rail button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.studio-center { min-width: 0; }
.studio-viewport {
  position: relative; overflow: hidden; border-radius: 16px;
  background: radial-gradient(70% 60% at 50% 45%, #fff, color-mix(in srgb, var(--soft) 70%, var(--bg)));
  border: 1px solid var(--line); padding: 18px 0;
}
.studio-stage { position: relative; width: min(100% - 24px, calc((100vh - 330px) * .909), 620px); min-width: 260px; margin-inline: auto; transition: transform .45s var(--ease); touch-action: none; }
.mock-studio .mock-stage { transition: none; }
.s-area { position: absolute; border: 1.5px dashed color-mix(in srgb, var(--accent) 85%, transparent); border-radius: 4px; pointer-events: none; transition: opacity .3s; }
.s-area::after { content: "Print area"; position: absolute; left: 0; bottom: 100%; margin-bottom: 4px; font-size: 11px; font-weight: 600; color: var(--accent-ink); background: color-mix(in srgb, var(--paper) 85%, transparent); padding: 1px 6px; border-radius: 4px; }
.has-items .s-area::after { display: none; }
.s-layer { position: absolute; inset: 0; }
.s-item { position: absolute; cursor: move; user-select: none; -webkit-user-select: none; touch-action: none; outline: none; }
.s-item img { width: 100%; height: auto; display: block; pointer-events: none; }
.s-item.is-sel { outline: 1.5px dashed var(--ink); outline-offset: 4px; }
.s-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.s-text { white-space: pre; line-height: 1.1; text-align: center; paint-order: stroke fill; -webkit-text-stroke-width: 0; }
.s-text-body.is-arc { position: relative; }
.s-text-body.is-arc span { position: absolute; white-space: pre; }
.h { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.2); -webkit-text-stroke: 0; }
.h-scale { right: -14px; bottom: -14px; cursor: nwse-resize; background: var(--accent); }
.h-rot { left: 50%; top: -38px; transform: translateX(-50%); cursor: grab; }
.h-rot::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 14px; background: var(--ink); }
.h-del { right: -14px; top: -14px; padding: 0; cursor: pointer; font: 700 14px/1 var(--body); color: var(--ink); display: grid; place-items: center; }
.s-side-label { text-align: center; margin: 12px 0 0; display: flex; gap: 12px; justify-content: center; align-items: baseline; }
.s-side-label .text-link { border: 0; background: none; cursor: pointer; font: inherit; padding: 0; }

.studio-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; position: sticky; top: 112px; max-height: calc(100vh - 220px); overflow: auto; }
.sp { display: grid; gap: 14px; animation: rise .45s var(--ease) both; }
.sp-title { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.sp-text { margin: 0; color: var(--muted); font-size: 15px; }
.sp-tip { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.sp-action { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; text-align: left; transition: border-color .2s, transform .2s, background .2s; }
.sp-action:hover { border-color: var(--ink); background: var(--paper); transform: translateX(3px); }
.sp-action svg { width: 28px; height: 28px; flex: none; color: var(--accent-ink); }
.sp-action span { display: grid; gap: 2px; }
.sp-action strong { font-size: 17px; }
.sp-action small { color: var(--muted); font-size: 13px; }
.sp-action::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-top: 2px solid var(--ink); transform: rotate(45deg); flex: none; }
.sp-action input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sp-back { justify-self: start; border: 0; background: none; padding: 0; cursor: pointer; font-weight: 600; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; }
.sp-back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.sp-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
.sp-field em { font-style: normal; font-weight: 400; color: var(--muted); }
.sp-field textarea, .sp-field select, .sp-field input[type=text], .sp-field input[type=email], .sp-field input[type=tel], .sp-field input[type=date] { width: 100%; padding: 10px 12px; min-height: 44px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); font-weight: 400; font-size: 16px; }
.sp-field textarea:focus, .sp-field select:focus, .sp-field input:focus { outline: none; border-color: var(--accent); }
.sp-field input[type=range] { accent-color: var(--ink); width: 100%; }
.sp-field input[type=color] { width: 48px; height: 36px; padding: 2px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); }
.sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.sp-toggles { grid-template-columns: repeat(3, 1fr); }
.tog { min-height: 40px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; font-size: 14px; }
.tog[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.t-colors { display: flex; flex-wrap: wrap; gap: 7px; }
.t-color { width: 30px; height: 30px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); background: var(--c); cursor: pointer; box-shadow: 0 0 0 2px var(--paper); position: relative; overflow: hidden; }
.t-color.is-on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.t-custom { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); }
.t-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.sp-thumb { background: repeating-conic-gradient(#efece6 0 25%, #fff 0 50%) 0 0 / 16px 16px; border-radius: 10px; padding: 14px; display: grid; place-items: center; }
.sp-thumb img { max-height: 110px; object-fit: contain; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.sp-actions button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 13px; font-size: 13.5px; cursor: pointer; }
.sp-actions button:hover { border-color: var(--ink); }
.sp-actions .danger { color: #B3261E; }
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.art-item { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 12px; cursor: pointer; transition: border-color .2s, transform .2s; }
.art-item:hover { border-color: var(--ink); transform: translateY(-2px); }
.art-item img { width: 100%; height: 100%; object-fit: contain; }
.prod-list { display: grid; gap: 6px; }
.prod-cat { margin: 10px 0 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
.prod-item { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; text-align: left; font-weight: 600; }
.prod-item small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.prod-item:hover, .prod-item.is-on { border-color: var(--ink); }
.prod-item.is-on { background: var(--soft); }
.prod-thumb { width: 54px; flex: none; }
.sp-total { margin: 0; font-size: 16px; }
.sp-summary { background: var(--bg); border-radius: 10px; padding: 14px 16px; font-size: 14.5px; }
.sp-summary p { margin: 0 0 4px; }
.s-error { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: #FCEBEA; color: #8C1D18; font-weight: 600; font-size: 14px; }

.studio-bar {
  position: sticky; bottom: 0; z-index: 30; margin-top: 22px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  padding: 12px max(16px, calc((100% - 1420px) / 2 + 16px)) calc(12px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.bar-product { display: flex; align-items: center; gap: 12px; border: 0; background: none; cursor: pointer; text-align: left; padding: 0; }
.bar-product strong { display: block; font-size: 16px; }
.bar-product small { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bar-thumb { width: 52px; height: 56px; border: 1px solid var(--line); border-radius: 8px; padding: 3px; background: var(--bg); display: block; }
.bar-colors { display: flex; align-items: center; gap: 14px; min-width: 0; overflow-x: auto; padding: 4px; }
.bar-label { font-size: 14px; font-weight: 600; white-space: nowrap; }
.bar-label em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 4px; }
.bar-colors .d-swatches { display: flex; gap: 9px; flex-wrap: nowrap; }
.bar-colors .swatch-dot { width: 30px; height: 30px; flex: none; }
.bar-nav { display: flex; gap: 10px; }
.bar-nav .btn { min-height: 48px; }

@media (max-width: 1100px) {
  .studio-grid { grid-template-columns: 64px minmax(0, 1fr); }
  .studio-panel { grid-column: 1 / -1; position: static; max-height: none; }
}
@media (max-width: 700px) {
  .studio-grid { grid-template-columns: 1fr; }
  .studio-rail { position: static; grid-auto-flow: column; grid-auto-columns: 1fr; order: 2; }
  .studio-center { order: 1; }
  .studio-panel { order: 3; padding: 18px; }
  .studio-stage { width: min(100% - 16px, 520px); }
  .studio-bar { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .bar-colors { grid-column: 1 / -1; grid-row: 1; }
  .studio-steps { gap: 4px 14px; }
  .studio-steps button { font-size: 13px; }
  .sp-row { grid-template-columns: 1fr; }
}
