/* Core Media Creative Studio: monochrome house style. Didot + Helvetica Neue. */
:root {
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --muted: #4C4C4E;
  --soft: #6B6B6E;
  --rule: #E5E5E5;
  --bg: #FFFFFF;
  --bg-soft: #F7F7F7;
  --warm: #F6F3EE;
  --ok: #0A0A0A;
  --flag: #8A1C1C;   /* compliance only, never decorative */
  --flag-bg: #FBF1F1;
  --serif: Didot, "Didot LT STD", "Bodoni Moda", "GFS Didot", "Bodoni 72", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 2px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans); letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow { font: 500 11px/1.2 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft); }
.muted { color: var(--soft); }
.small { font-size: 13px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brandmark { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brandmark img { height: 30px; width: auto; }
.brandmark .divider { width: 1px; height: 22px; background: var(--rule); }
.brandmark .product { font: 500 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.top nav { display: flex; gap: 28px; align-items: center; }
.top nav a { text-decoration: none; font-size: 13px; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.demo-pill { font: 500 10px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--ink); padding: 6px 9px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font: 500 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; border-radius: var(--radius); transition: background .15s, color .15s, opacity .15s;
}
.btn:hover { background: var(--ink-2); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.sm { height: 40px; padding: 0 18px; font-size: 11px; }
.btn[disabled] { opacity: 0.3; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; border-bottom: 1px solid var(--rule); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 92px); line-height: 1.0; letter-spacing: -0.01em; margin: 18px 0 26px; max-width: 12ch; }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 46ch; margin: 0 0 36px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero-reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-reel video { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: var(--bg-soft); }
.hero-reel video:nth-child(2) { transform: translateY(28px); }

.section { padding: 88px 0; border-bottom: 1px solid var(--rule); }
.section h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; margin: 12px 0 18px; }
.section .intro { color: var(--muted); max-width: 56ch; font-size: 17px; margin: 0 0 48px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); }
.compare > div { padding: 36px; }
.compare > div + div { border-left: 1px solid var(--rule); background: var(--bg-soft); }
.compare h3 { font: 500 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 22px; }
.compare ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.compare li { counter-increment: s; display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.compare li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); color: var(--soft); min-width: 22px; }
.compare .old li { color: var(--soft); }
.compare .old li span { text-decoration: line-through; text-decoration-color: #bbb; }

.steps3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.steps3 > div { padding: 26px 22px 0 0; }
.steps3 .n { font-family: var(--serif); font-size: 40px; line-height: 1; }
.steps3 h4 { margin: 14px 0 6px; font-weight: 500; font-size: 15px; }
.steps3 p { margin: 0; color: var(--soft); font-size: 14px; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.25fr; border: 1px solid var(--rule); }
.price-card { padding: 30px 26px; }
.price-card + .price-card { border-left: 1px solid var(--rule); }
.price-card .amt { font-family: var(--serif); font-size: 48px; line-height: 1; margin: 18px 0 6px; }
.price-card .per { font-size: 13px; color: var(--soft); }
.price-card p { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.price-card.plan { background: var(--ink); color: #fff; }
.price-card.plan .eyebrow, .price-card.plan .per, .price-card.plan p { color: #bdbdbd; }
.placeholder-tag { display: inline-block; margin-left: 8px; font: 500 9px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; border: 1px dashed currentColor; padding: 4px 6px; vertical-align: middle; opacity: 0.8; }
.fine { font-size: 13px; color: var(--soft); margin-top: 18px; }

/* ---------- order flow ---------- */
.flow { padding: 40px 0 56px; }
.progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 8px 0 44px; }
.progress button { background: none; border: 0; border-top: 2px solid var(--rule); padding: 12px 0 0; text-align: left; cursor: pointer; font: 500 10px/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); }
.progress button.done { border-color: var(--ink); color: var(--ink); }
.progress button.active { border-color: var(--ink); color: var(--ink); }
.progress button[disabled] { cursor: default; }
.step h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; margin: 0 0 10px; }
.step .sub { color: var(--muted); margin: 0 0 34px; max-width: 60ch; }

.grid { display: grid; gap: 16px; }
.grid.brands { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.grid.styles { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }

.card { position: relative; border: 1px solid var(--rule); background: #fff; cursor: pointer; text-align: left; padding: 0; transition: border-color .15s, box-shadow .15s; width: 100%; }
.card:hover { border-color: #b9b9b9; }
.card.sel { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.card .check { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border: 1px solid var(--rule); background: #fff; display: grid; place-items: center; z-index: 2; }
.card.sel .check { background: var(--ink); border-color: var(--ink); }
.card.sel .check::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.card .body { padding: 16px 18px 18px; }
.card h3 { margin: 0; font-weight: 500; font-size: 16px; }
.card .meta { font-size: 13px; color: var(--soft); margin-top: 4px; word-break: break-all; }

.brand-card { padding: 22px; min-height: 136px; display: flex; flex-direction: column; justify-content: space-between; }
.brand-card .thumbs { display: flex; gap: 6px; margin-top: 18px; }
.brand-card .thumbs img { width: 38px; height: 38px; object-fit: contain; border: 1px solid var(--rule); background: #fff; }
.brand-card.new { border-style: dashed; justify-content: center; align-items: flex-start; }
.brand-card.new .plus { font-family: var(--serif); font-size: 36px; line-height: 1; margin-bottom: 8px; }

.product-card .img { aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--rule); display: grid; place-items: center; overflow: hidden; }
.product-card .img img { width: 100%; height: 100%; object-fit: contain; }
.product-card .img .noimg { font-family: var(--serif); font-size: 42px; color: var(--soft); }
.product-card.add { border-style: dashed; display: grid; place-items: center; min-height: 240px; }

.format-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.format-card { padding: 0; }
.format-card .media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--bg-soft); }
.format-card .media video, .format-card .media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.format-card .body { padding: 24px 26px 26px; }
.format-card h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; }
.format-card .from { margin-top: 14px; font-size: 13px; color: var(--muted); }

.style-card .media { position: relative; aspect-ratio: 4/5; background: var(--bg-soft); overflow: hidden; }
.style-card .media video, .style-card .media img { width: 100%; height: 100%; object-fit: cover; }
.style-card .stat { position: absolute; left: 12px; bottom: 12px; background: var(--ink); color: #fff; font: 500 11px/1 var(--sans); letter-spacing: 0.08em; padding: 7px 9px; }
.style-card .ex-label { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,0.92); font-size: 11px; padding: 5px 8px; letter-spacing: 0.02em; max-width: calc(100% - 60px); }
.style-card .dots { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.style-card .dots span { width: 22px; height: 22px; display: grid; place-items: center; cursor: pointer; }
.style-card .dots span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.55); border: 1px solid rgba(0,0,0,0.25); }
.style-card .dots span.on::after { background: #fff; border-color: #fff; }
.style-card .why { font-size: 14px; color: var(--muted); margin: 8px 0 0; line-height: 1.45; }
.style-card .price { margin-top: 12px; font-size: 12px; letter-spacing: 0.06em; color: var(--soft); text-transform: uppercase; }
.proven { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.proven::before { content: ""; width: 18px; height: 1px; background: var(--ink); }

/* options */
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 56px; max-width: 980px; }
.field label.lbl { display: block; font: 500 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; }
.field .hint { font-size: 13px; color: var(--soft); margin-top: 8px; }
.input, textarea.input { width: 100%; border: 1px solid var(--rule); background: #fff; padding: 14px 16px; border-radius: var(--radius); font-size: 16px; outline: none; }
.input:focus { border-color: var(--ink); }
textarea.input { min-height: 96px; resize: vertical; }
.stepper { display: inline-flex; border: 1px solid var(--rule); }
.stepper button { width: 52px; height: 52px; border: 0; background: #fff; font-size: 22px; cursor: pointer; }
.stepper button:hover { background: var(--bg-soft); }
.stepper input { width: 70px; border: 0; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); text-align: center; font-size: 18px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { height: 48px; padding: 0 18px; border: 1px solid var(--rule); background: #fff; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; border-radius: var(--radius); }
.chip .shape { border: 1.5px solid currentColor; }
.chip.sel { background: var(--ink); color: #fff; border-color: var(--ink); }
.counter { font-size: 12px; color: var(--soft); text-align: right; margin-top: 6px; }

.flags { margin-top: 12px; border: 1px solid #E9CACA; background: var(--flag-bg); padding: 12px 14px; font-size: 13px; }
.flags.okay { border-color: var(--rule); background: var(--bg-soft); color: var(--muted); }
.flags strong { color: var(--flag); font-weight: 600; }
.flags ul { margin: 8px 0 0; padding-left: 18px; }
.flags li { margin: 3px 0; }
.flags .w { font-weight: 600; }
.flags .lvl { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid currentColor; padding: 2px 5px; margin-left: 6px; }
.flags .lvl.lvl-block { color: var(--flag); }
.flags .lvl.lvl-review { color: var(--muted); }

/* review */
.review { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.summary { border-top: 1px solid var(--ink); }
.summary .row { display: grid; grid-template-columns: 140px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.summary .row .k { font: 500 11px/1.6 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); }
.summary .row .edit { font-size: 13px; }
.summary .pthumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.summary .pthumbs span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rule); padding: 4px 10px 4px 4px; font-size: 13px; }
.summary .pthumbs img { width: 28px; height: 28px; object-fit: contain; }
.totalbox { border: 1px solid var(--ink); padding: 28px; position: sticky; top: 92px; }
.totalbox .line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 7px 0; color: var(--muted); }
.totalbox .line.disc { color: var(--ink); }
.totalbox .grand { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--rule); margin-top: 12px; padding-top: 18px; }
.totalbox .grand .amt { font-family: var(--serif); font-size: 46px; line-height: 1; }
.totalbox .eta { display: flex; align-items: center; gap: 10px; margin: 20px 0; font-size: 14px; }
.totalbox .eta b { font-weight: 500; }
.totalbox .btn { width: 100%; }
.testmode { margin-top: 12px; font-size: 12px; color: var(--soft); text-align: center; }
.testmode b { font-weight: 500; color: var(--ink); letter-spacing: 0.12em; text-transform: uppercase; font-size: 10px; border: 1px solid var(--ink); padding: 2px 5px; margin-right: 6px; }

/* sticky bar */
.bar { position: sticky; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--rule); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.bar .sum { font-size: 14px; color: var(--muted); }
.bar .sum b { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--ink); margin-right: 10px; vertical-align: -3px; }
.bar .actions { display: flex; gap: 10px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(10,10,10,0.5); display: grid; place-items: center; padding: 16px; }
.modal .panel { background: #fff; width: 100%; max-width: 480px; padding: 32px; max-height: 92vh; overflow: auto; }
.modal h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 6px; }
.modal .field { margin-top: 20px; }
.modal .row-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 28px; }
.err { color: var(--flag); font-size: 13px; margin-top: 10px; }

/* status page */
.status-hero { padding: 72px 0 40px; }
.status-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6vw, 72px); line-height: 1; margin: 14px 0 16px; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 36px 0 12px; }
.track .s { border-top: 2px solid var(--rule); padding-top: 14px; padding-right: 10px; }
.track .s.on { border-color: var(--ink); }
.track .s .t { font: 500 11px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); }
.track .s.on .t { color: var(--ink); }
.track .s .d { font-size: 13px; color: var(--soft); margin-top: 6px; min-height: 20px; }
.deliver { border: 1px solid var(--ink); padding: 28px; margin: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.deliver.wait { border-color: var(--rule); background: var(--bg-soft); }
.deliver h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; }
.confirm-banner { background: var(--ink); color: #fff; padding: 14px 0; font-size: 14px; }
.confirm-banner .wrap { display: flex; gap: 12px; align-items: center; }

/* admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; font: 500 10px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); padding: 12px 10px; border-bottom: 1px solid var(--ink); }
.admin-table td { padding: 16px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.admin-table .oid { font-weight: 500; white-space: nowrap; }
.admin-table select, .admin-table input { border: 1px solid var(--rule); padding: 9px 10px; background: #fff; font-size: 14px; width: 100%; }
.admin-table .act { display: grid; gap: 8px; min-width: 220px; }
.tag { display: inline-block; font: 500 10px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--ink); padding: 5px 7px; white-space: nowrap; }
.tag.delivered { background: var(--ink); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); margin: 28px 0 36px; }
.kpis div { padding: 20px 22px; }
.kpis div + div { border-left: 1px solid var(--rule); }
.kpis b { display: block; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.1; }

footer.foot { padding: 40px 0 120px; font-size: 13px; color: var(--soft); }
footer.foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.foot img { height: 22px; }

.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14px; z-index: 60; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .hero-grid, .review { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .hero-reel { order: -1; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-card + .price-card { border-left: 0; }
  .price-card { border-top: 1px solid var(--rule); }
  .price-card.plan { grid-column: 1 / -1; }
  .steps3 { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .opts { grid-template-columns: 1fr; gap: 34px; }
  .totalbox { position: static; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis div:nth-child(3) { border-left: 0; }
  .kpis div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top nav a:not(.keep) { display: none; }
  .brandmark img { height: 24px; }
  .brandmark .divider, .brandmark .product { display: none; }
  .compare, .format-row { grid-template-columns: 1fr; }
  .compare > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .compare > div { padding: 26px 20px; }
  .section { padding: 60px 0; }
  .progress { gap: 4px; margin-bottom: 30px; }
  .progress button { font-size: 0; padding-top: 0; }
  .grid.products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid.styles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .style-card .why { font-size: 12.5px; }
  .style-card .body { padding: 12px; }
  .style-card h3 { font-size: 14px; }
  .style-card .ex-label { display: none; }
  .style-card .stat { left: 8px; bottom: 8px; font-size: 10px; padding: 5px 6px; }
  .summary .row { grid-template-columns: 1fr auto; }
  .summary .row .k { grid-column: 1 / -1; }
  .bar .wrap { height: 76px; }
  .bar .sum b { font-size: 24px; }
  .bar .sum .units { display: none; }
  .bar .btn { padding: 0 18px; }
  .bar .btn.ghost { display: none; }
  .track { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table tr { border: 1px solid var(--rule); margin-bottom: 14px; }
  .admin-table td { border-bottom: 0; padding: 10px 14px; }
  .price-grid { grid-template-columns: 1fr; }
}

/* ================= v2: paths, gallery, builder, drawers, cart ================= */
.top nav a.on { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.cartbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--ink); background: #fff; cursor: pointer; font: 500 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.cartbtn b { background: var(--ink); color: #fff; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; font-size: 11px; letter-spacing: 0; padding: 0 6px; }
.cartbtn.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.12); } }
body.locked { overflow: hidden; }

.hero h1 { max-width: 16ch; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.path { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--rule); text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.path:hover { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.path-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--bg-soft); }
.path-media img, .path-media video { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.path-body { padding: 24px 26px 26px; }
.path-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; margin: 10px 0 8px; }
.path-body p { margin: 0 0 18px; color: var(--muted); }
.path-cta { font: 500 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.price-grid { grid-template-columns: 1fr 1fr; max-width: 760px; }

.pagehead { padding-top: 48px; padding-bottom: 28px; }
.pagehead h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 60px); line-height: 1.02; margin: 12px 0 10px; }
.pagehead .sub { color: var(--muted); margin: 0 0 22px; max-width: 64ch; }
.chips.filter .n { color: var(--soft); font-size: 12px; }
.chip.sel .n { color: #cfcfcf; }
.chip.dashed { border-style: dashed; }

.grid.live { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; padding-bottom: 80px; }
.live-card .media { position: relative; aspect-ratio: 4/5; background: var(--bg-soft); overflow: hidden; }
.live-card .media img { width: 100%; height: 100%; object-fit: cover; }
.live-card .kind { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,0.94); font-size: 11px; padding: 4px 7px; }
.live-card .ours { position: absolute; right: 10px; top: 10px; background: var(--ink); color: #fff; font: 500 10px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 7px; }
.live-card .body { padding: 14px 16px 16px; }
.live-card h3 { font-size: 14px; }
.live-card .txt { font-size: 13px; color: var(--muted); margin: 8px 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.live-card .go { font: 500 10px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.live-card:hover .go { text-decoration: underline; text-underline-offset: 4px; }

.builder { padding-bottom: 40px; }
.bsec { padding: 30px 0 34px; border-top: 1px solid var(--rule); }
.bsec-h { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.bsec-h h3 { margin: 0; font: 500 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.bsec-h .num { width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 15px; }
.bsec .chips { margin-bottom: 18px; }
.seg { display: inline-flex; border: 1px solid var(--ink); margin-left: auto; }
.seg button { height: 40px; padding: 0 18px; border: 0; background: #fff; cursor: pointer; font: 500 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.seg button.on { background: var(--ink); color: #fff; }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.product-card.add { min-height: 0; }
.product-card .body { padding: 10px 12px 12px; }
.product-card h3 { font-size: 14px; }
.opts .field.full { grid-column: 1 / -1; }
.opt { letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--soft); }
#view-build .bar .btn { min-width: 220px; }

.drawer-bg { position: fixed; inset: 0; background: rgba(10,10,10,0.42); z-index: 70; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: #fff; z-index: 71; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .22s ease; box-shadow: -12px 0 40px rgba(0,0,0,0.08); }
.drawer.open { transform: none; }
.drawer-h { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 24px 18px; border-bottom: 1px solid var(--rule); }
.drawer-h h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 6px 0 0; line-height: 1; }
.drawer .x { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 4px; }
.drawer-b { flex: 1; overflow: auto; padding: 20px 24px; }
.drawer-b .field { margin-top: 22px; }
.drawer-f { border-top: 1px solid var(--rule); padding: 18px 24px 22px; display: grid; gap: 10px; }
.btn.wide { width: 100%; }
.iter-ad { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.iter-ad img { width: 96px; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--rule); }
.iter-ad p { margin: 6px 0; color: var(--muted); }
.chips.big .chip { min-width: 72px; justify-content: center; font-size: 18px; font-family: var(--serif); }
.vary { display: flex; flex-wrap: wrap; gap: 10px; }

.ci { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.ci img { width: 60px; height: 72px; object-fit: cover; border: 1px solid var(--rule); background: #fff; }
.ci-t { font-weight: 500; font-size: 14px; }
.ci-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.ci-p { font-family: var(--serif); font-size: 20px; }
.stepper.sm button { width: 34px; height: 34px; font-size: 18px; }
.stepper.sm input { width: 44px; font-size: 15px; }
.drawer-f .line { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.drawer-f .grand { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.drawer-f .grand b { font-family: var(--serif); font-weight: 400; font-size: 38px; color: var(--ink); }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }
.empty .btn { margin: 6px 4px; }
.toast { display: flex; gap: 16px; align-items: center; bottom: 28px; z-index: 80; }
.toast button { background: none; border: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.items { border-top: 1px solid var(--ink); }
.items .it { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.items .it img { width: 56px; height: 68px; object-fit: cover; border: 1px solid var(--rule); background: #fff; }
.items .it .p { font-family: var(--serif); font-size: 18px; white-space: nowrap; }
.admin-table .li { font-size: 13px; padding: 6px 0; border-top: 1px dashed var(--rule); }
.admin-table .li:first-child { border-top: 0; padding-top: 0; }

@media (max-width: 900px) {
  .paths { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top nav a { display: none; }
  .cartbtn span { display: none; }
  .grid.live { grid-template-columns: 1fr 1fr; gap: 10px; }
  .live-card .body { padding: 10px 10px 12px; }
  .live-card .txt { display: none; }
  .grid.products { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .product-card h3 { font-size: 12px; }
  .seg { margin-left: 0; }
  #view-build .bar .btn { min-width: 0; }
  .pagehead { padding-top: 32px; }
  .drawer-h, .drawer-b, .drawer-f { padding-left: 16px; padding-right: 16px; }
}

.live-card .meta { word-break: normal; }

/* upload your own ad */
.upload-card .media { border: 1px dashed var(--ink); display: grid; place-items: center; }
.upload-card.over .media, .drop.over { background: var(--ink); color: #fff; }
.upload-card.over .muted, .drop.over .muted { color: rgba(255,255,255,0.7); }
.up-in, .drop { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 16px; }
.drop-icon { font-family: var(--serif); font-size: 44px; line-height: 1; }
.drop { border: 1px dashed var(--ink); padding: 34px 16px; cursor: pointer; position: relative; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.busy { opacity: 0.6; cursor: progress; }
.drop + .err { margin-top: 10px; }
