/* Chelwek Chela — design system
   Palette: plum = structure/type, pink = action only, coral = soft blocks,
   orange = badges, gold = crown/details. No gradients, no shadows. */

:root {
  --plum: #3E023E;
  --plum-deep: #2B012B;
  --pink: #F04078;
  --pink-dark: #C22258;
  --coral: #F88880;
  --orange: #F89020;
  --gold: #F8B51A;
  --paper: #FBF7F0;
  --white: #FFFFFF;
  --ink: #2A1428;
  --muted: #6E5560;
  --line: #E4D6CB;
  --line-strong: #C9B3A8;
  --pink-tint: #FBE3ED;
  --coral-tint: #FCEAE6;
  --gold-tint: #FCF2DA;
  --plum-tint: #F2E9F2;
  /* image slot aspect ratios — adjust each here when real photos arrive */
  --ar-hero: 4 / 3;
  --ar-square: 1 / 1;
  --ar-wide: 16 / 10;
  --ar-portrait: 3 / 4;
  --ar-orig: 4 / 3;
  /* corner radii scale with screen size: mobile 5/4/3, tablet 7/5/3, desktop 8/6/3 */
  --r-card: 5px;
  --r-btn: 4px;
  --r-chip: 3px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { color: var(--plum); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; max-width: 68ch; }

a { color: var(--pink-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--plum); }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: var(--r-btn); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.fineprint { font-size: .85rem; color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--ink); }
.lede-sm { font-size: 1.02rem; color: var(--muted); }
.story { font-size: 1.05rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--plum); color: var(--white); padding: 10px 16px;
  border-radius: var(--r-btn); transition: top .15s;
}
.skip-link:focus { top: 12px; color: var(--white); }

.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* ---------- signature mark ---------- */
.mark { width: 22px; height: 20px; fill: var(--pink); flex: none; }
.mark-gold { fill: var(--gold); }
.mark-lg { width: 40px; height: 36px; }

.eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--pink-dark); margin: 0 0 10px;
}
.eyebrow .mark { width: 20px; height: 18px; fill: var(--gold); }
.eyebrow-light { color: var(--gold); }

.ic { width: 22px; height: 22px; fill: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px; border-radius: var(--r-btn);
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-align: center;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--pink); color: var(--white); border-color: var(--pink); }
.btn-primary:hover { background: var(--pink-dark); border-color: var(--pink-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: var(--white); }
.btn-light { background: var(--white); color: var(--plum); border-color: var(--white); }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--plum); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-text { border: none; background: none; color: var(--pink-dark); min-height: 44px; padding: 6px 8px; }
.btn-text:hover { color: var(--plum); }
.text-link { font-weight: 700; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand-logo { display: block; width: auto; max-height: 44px; }
.footer-brand .brand-logo-footer {
  max-height: 64px; background: var(--paper);
  padding: 10px 16px; border-radius: var(--r-card); margin-bottom: 12px;
}
@media (max-width: 767px) {
  .brand-logo { max-height: 40px; }
  .footer-brand .brand-logo-footer { max-height: 52px; }
}
.main-nav { display: none; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 8px 10px; border-radius: var(--r-btn);
}
.main-nav a:hover { color: var(--pink-dark); }
.main-nav .nav-book { color: var(--white); margin-left: 8px; }
.main-nav .nav-book:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; border-radius: var(--r-btn); border: none;
  background: transparent; color: var(--plum); cursor: pointer; position: relative;
  text-decoration: none; font-weight: 700;
}
.icon-btn:hover { background: var(--plum-tint); }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px;
  background: var(--pink); color: var(--white); border-radius: var(--r-chip);
  font-size: .68rem; font-weight: 800; display: flex; align-items: center;
  justify-content: center; padding: 0 4px;
}
.header-book { display: none; }
.menu-toggle .ic-close { display: none; }
.menu-toggle[aria-expanded="true"] .ic-menu { display: none; }
.menu-toggle[aria-expanded="true"] .ic-close { display: block; }

.main-nav.open {
  display: flex; flex-direction: column; gap: 2px;
  position: absolute; top: 64px; left: 0; right: 0; z-index: 190;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
}
.main-nav.open a { padding: 12px 10px; font-size: 1.05rem; }
.main-nav.open .nav-book { margin: 8px 0 0; }

/* ---------- hero ---------- */
.hero { padding: 36px 0 0; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 28px; padding-bottom: 36px; }
.hero-copy h1 { margin-bottom: 16px; }
.hero-actions { margin: 22px 0 14px; }
.btn-pair { display: flex; gap: 10px; }
.btn-pair > .btn {
  flex: 1 1 0; min-width: 0; white-space: nowrap;
  min-height: 46px; padding: 10px 8px; font-size: .88rem;
}
.hero-note { color: var(--muted); font-size: .95rem; }
.hero-media { position: relative; }

/* image slots */
.card-img, .hero-media, .mural-hero-img, .product-img, .about-photo {
  background: var(--coral-tint); border: 1px solid var(--line);
  border-radius: var(--r-card); overflow: hidden; margin: 0;
}
.ratio-hero { aspect-ratio: var(--ar-hero); }
.ratio-square { aspect-ratio: var(--ar-square); }
.ratio-wide { aspect-ratio: var(--ar-wide); }
.ratio-portrait { aspect-ratio: var(--ar-portrait); }
.ratio-orig { aspect-ratio: var(--ar-orig); }
.card-img img, .hero-media img, .mural-hero-img img, .product-img img, .about-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
figcaption {
  font-size: .72rem; color: var(--muted); padding: 6px 10px;
  border-top: 1px solid var(--line); background: var(--paper);
}

/* ---------- proof strip ---------- */
.proof-strip { border-bottom: 1px solid var(--line); padding: 18px 0; background: var(--white); }
.proof-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.proof-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.proof-list li { font-weight: 800; color: var(--plum); font-size: 1.02rem; }

/* ---------- sections ---------- */
.section { padding: 48px 0; }
.section-block { background: var(--coral-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-news { background: var(--plum); color: var(--paper); }
.section-news h2 { color: var(--white); }
.section-news p { color: var(--paper); }
.section-ig { padding-top: 0; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 8px 20px; margin-bottom: 26px;
}
.section-head h2 { margin: 0; }

.page-head { padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.page-head-block { background: var(--plum); border-bottom: none; }
.page-head-block h1, .page-head-block .lede { color: var(--white); }
.page-head-block .eyebrow { color: var(--gold); }
.page-head-block .btn { margin-top: 10px; }

/* page hero with a real wall photo behind a plum scrim */
.page-head-photo {
  position: relative; border-bottom: none; padding: 64px 0 52px;
  background: var(--plum-deep); overflow: hidden;
}
.page-head-photo::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--ph); background-size: cover;
  background-position: var(--ph-pos, center 30%);
}
.page-head-photo::after { content: ""; position: absolute; inset: 0; background: rgba(43, 1, 43, .66); }
.page-head-photo > .wrap { position: relative; z-index: 1; }
.page-head-photo h1, .page-head-photo .lede { color: var(--white); }
.page-head-photo .eyebrow { color: var(--gold); }
.page-head-photo .btn { margin-top: 10px; }

/* community photo strip on the home page */
.photo-strip { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
.photo-strip .card-img { border: none; }

/* ---------- cards & grids ---------- */
.mural-card, .product-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border-radius: var(--r-card);
}
.mural-card:hover h2, .mural-card:hover h3, .product-card:hover h2, .product-card:hover h3 { color: var(--pink-dark); }
.card-body { padding: 14px 2px 0; }
.card-body h2, .card-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.card-body .muted { margin: 0; font-size: .9rem; }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: var(--r-chip);
  background: var(--plum); color: var(--white); font-size: .75rem; font-weight: 700;
}
.badge-orange { background: var(--orange); color: var(--plum-deep); }
.card-img .badge { position: absolute; top: 10px; left: 10px; }
.card-img { position: relative; }

.featured-grid { display: grid; gap: 22px; }
.mural-grid { display: grid; gap: 26px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.art-card { margin: 0; }
.status { font-size: .82rem; font-weight: 700; margin: 4px 0 0; }
.status-available { color: var(--pink-dark); }
.status-sold { color: var(--muted); }
.status-not_for_sale { color: var(--orange); }

.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* ---------- how it works ---------- */
.how-grid { display: grid; gap: 28px; }
.step-list {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  border-left: 1px solid var(--line);
}
.step-list li { padding: 0 0 22px 24px; position: relative; counter-increment: step; }
.step-list li::before {
  content: counter(step); position: absolute; left: -13px; top: 0;
  width: 25px; height: 25px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--plum);
  color: var(--plum); font-size: .78rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.section-block .step-list li::before { background: var(--coral-tint); }
.step-list li:last-child { padding-bottom: 0; }
.step-list h3 { margin: 0 0 4px; }
.step-list p { margin: 0; color: var(--muted); }

/* ---------- price table ---------- */
.price-table { border: 1px solid var(--line-strong); border-radius: var(--r-card); overflow: hidden; margin: 20px 0; background: var(--white); }
.price-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; border-top: 1px solid var(--line); }
.price-row:first-child { border-top: none; }
.price-head { background: var(--plum); color: var(--white); font-weight: 700; font-size: .85rem; display: none; }
.price-row small { display: block; color: var(--muted); font-weight: 400; }
.price-slot { font-weight: 700; color: var(--pink-dark); }
.factor-box { background: var(--gold-tint); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.factor-box h3 { margin-top: 0; }
.factor-box ul { margin: 0 0 12px; padding-left: 20px; }
.factor-box li { margin-bottom: 6px; }

/* ---------- forms ---------- */
.form-wrap { max-width: 760px; }
.form-card {
  background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--r-card); padding: 22px; margin-top: 20px;
}
.form-card h2 { font-size: 1.2rem; margin-top: 18px; }
.form-card h2:first-of-type { margin-top: 0; }
.field { margin-bottom: 16px; }
.field label, .field-label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--plum); }
.field em { color: var(--pink-dark); font-style: normal; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea,
.search-form input {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font-size: 16px; font-family: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-strong);
  border-radius: var(--r-btn);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .search-form input:focus {
  outline: none; border-color: var(--pink); background: var(--white);
}
.field input[type="file"] { padding: 10px; height: auto; }
.field input[type="number"] { max-width: 90px; }
.field-row { display: grid; gap: 0 16px; }
.field-error { color: var(--pink-dark); font-size: .85rem; font-weight: 600; margin: 6px 0 12px; }
.form-ok { color: var(--gold); font-weight: 700; margin: 10px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--pink); }
.check small { color: var(--muted); }
.check-light { color: var(--paper); }
.radio-row, .radio-col { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.radio-col { flex-direction: column; gap: 10px; }
.radio { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: .95rem; }
.radio input { width: 20px; height: 20px; accent-color: var(--pink); flex: none; }
.preview-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.preview-row img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--r-card); border: 1px solid var(--line-strong); }
.preview-row .preview-note { font-size: .75rem; color: var(--muted); align-self: center; }

/* ---------- filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  padding: 9px 16px; border-radius: var(--r-chip); border: 1.5px solid var(--line-strong);
  color: var(--plum); text-decoration: none; font-weight: 600; font-size: .88rem;
  background: var(--white); min-height: 44px; display: inline-flex; align-items: center;
}
.chip:hover { border-color: var(--plum); color: var(--plum); }
.chip-on { background: var(--plum); color: var(--white); border-color: var(--plum); }
.chip-on:hover { color: var(--white); }

/* ---------- mural detail ---------- */
.mural-hero { padding: 24px 0 0; }
.mural-hero-img { width: 100%; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.detail-grid { display: grid; gap: 32px; }
.symbol-note { margin: 26px 0; }
.symbol-note h2 { font-size: 1rem; margin-bottom: 4px; }
.symbol-note p { margin: 0; color: var(--muted); }
.gallery-grid { display: grid; gap: 18px; margin: 26px 0; }
.press-links ul { padding-left: 18px; margin: 8px 0 0; }
.press-links li { margin-bottom: 8px; }
.fact-box, .cta-box {
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--white); padding: 20px; margin-bottom: 20px;
}
.fact-box h2, .cta-box h2 { font-size: 1.1rem; }
.fact-box dl { margin: 0; }
.fact-box dl > div { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.fact-box dl > div:first-child { border-top: none; }
.fact-box dt { font-weight: 700; min-width: 110px; color: var(--plum); font-size: .9rem; }
.fact-box dd { margin: 0; font-size: .9rem; color: var(--muted); }
.cta-box .btn { margin-top: 10px; }
.cta-box .btn:first-of-type { margin-top: 0; }
.related-print {
  display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit;
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--white); padding: 12px; margin-bottom: 20px;
}
.related-print .card-img { width: 84px; flex: none; }
.related-print:hover .side-strong { color: var(--pink-dark); }
.side-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0; }
.side-strong { font-weight: 700; color: var(--plum); margin: 2px 0; }
.price { font-weight: 800; color: var(--plum); margin: 0; }
.price-lg { font-size: 1.5rem; margin-bottom: 14px; }

/* ---------- product page ---------- */
.product-grid-detail { display: grid; gap: 26px; }
.product-info h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.from-mural {
  background: var(--gold-tint); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 10px 14px; font-size: .9rem; margin: 14px 0;
}
.product-facts { margin: 18px 0; }
.product-facts > div { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.product-facts dt { font-weight: 700; min-width: 80px; color: var(--plum); }
.product-facts dd { margin: 0; color: var(--muted); }
.buy-row { display: flex; gap: 10px; align-items: stretch; margin: 18px 0 10px; }
.buy-row input { width: 76px; min-height: 52px; text-align: center; font-size: 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-btn); background: var(--paper); }
.buy-row .btn { flex: 1; }

/* ---------- cart & checkout ---------- */
.cart-list { display: grid; gap: 0; }
.cart-row {
  display: grid; grid-template-columns: 72px 1fr; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.cart-thumb { width: 72px; }
.cart-info h2 { font-size: 1rem; margin: 0 0 4px; }
.cart-info h2 a { color: var(--plum); text-decoration: none; }
.cart-info h2 a:hover { color: var(--pink-dark); }
.cart-qty { display: flex; gap: 8px; align-items: center; grid-column: 2; }
.cart-qty input { width: 64px; min-height: 44px; text-align: center; font-size: 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-btn); background: var(--white); }
.cart-line-total { font-weight: 800; color: var(--plum); grid-column: 2; margin: 0; }
.cart-row > form:last-child { grid-column: 2; justify-self: start; }
.cart-summary { border-top: 1px solid var(--line-strong); padding-top: 18px; margin-top: 8px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.cart-summary .btn { margin-top: 12px; }
.checkout-grid { display: grid; gap: 26px; }
.order-box {
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--white); padding: 20px; align-self: start;
}
.order-box h2 { font-size: 1.1rem; }
.sum-line { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.sum-line:first-of-type { border-top: none; }
.sum-total { border-top: 1px solid var(--line-strong); font-size: 1.05rem; }

/* ---------- confirm / empty ---------- */
.confirm-panel {
  background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--r-card); padding: 30px 22px; text-align: center;
}
.confirm-panel .mark { margin: 0 auto 14px; }
.order-ref { font-weight: 800; color: var(--pink-dark); letter-spacing: .04em; }
.next-steps { text-align: left; max-width: 460px; margin: 16px auto; padding-left: 22px; }
.next-steps li { margin-bottom: 10px; }
.order-lines { max-width: 460px; margin: 0 auto 20px; text-align: left; }
.empty-state {
  text-align: center; padding: 40px 20px; border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-card); background: var(--white);
}
.empty-state .mark { margin: 0 auto 12px; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0; }
.link-row > .btn { flex: 1 0 44%; font-size: .88rem; padding: 10px 6px; white-space: nowrap; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 26px; }
.contact-cards { display: grid; gap: 12px; align-content: start; }
.contact-card {
  display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit;
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--white); padding: 16px; min-height: 44px;
}
.contact-card .ic { width: 30px; height: 30px; fill: var(--pink-dark); flex: none; }
.contact-card strong { display: block; color: var(--plum); }
.contact-card:hover { border-color: var(--plum); }
.contact-card-wa { border-color: var(--pink); }

/* ---------- blog ---------- */
.blog-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.blog-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.blog-card:hover h2 { color: var(--pink-dark); }
.blog-card .card-img { border-radius: var(--r-card); overflow: hidden; }
.blog-card .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .card-body .badge { margin-bottom: 8px; }
.blog-card h2 { font-size: 1.1rem; }
.prose-head { max-width: 760px; }
.prose-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.prose-wrap { max-width: 760px; }
.article-hero { margin: 0 0 26px; }
.article-hero img { width: 100%; border-radius: var(--r-card); display: block; }
.prose { font-size: 1.02rem; line-height: 1.75; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--plum); margin: 1.6em 0 .5em; line-height: 1.3; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 24px; }
.prose li { margin-bottom: 6px; }
.prose blockquote {
  margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--pink);
  color: var(--plum); font-style: italic;
}
.prose a { color: var(--pink-dark); }
.prose img { max-width: 100%; border-radius: var(--r-card); }
.prose pre { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; overflow-x: auto; }
.article-back { margin-top: 30px; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 26px; }
.timeline { list-style: none; margin: 18px 0 0; padding: 0; border-left: 1px solid var(--line-strong); }
.timeline li { padding: 0 0 20px 20px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 8px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--pink);
}
.tl-year { display: inline-block; font-weight: 800; color: var(--plum); font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase; }
.timeline p { margin: 2px 0 0; }
.press-list { list-style: none; margin: 14px 0; padding: 0; }
.press-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.press-list .muted { display: block; font-size: .85rem; }
.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.cta-strip h2 { margin: 0 0 4px; }
.cta-strip p { margin: 0; color: var(--muted); }

/* ---------- legal ---------- */
.legal-block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.legal-block h2 { font-size: 1.15rem; }

/* ---------- search ---------- */
.search-form { display: flex; gap: 10px; margin-top: 16px; max-width: 520px; }
.search-form input { flex: 1; }
.search-h { margin: 30px 0 10px; font-size: 1.1rem; }
.result-list { display: grid; }
.result-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.result-row:hover strong { color: var(--pink-dark); }
.result-row strong { color: var(--plum); }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 10px; margin-top: 18px; }
.faq {
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--white); padding: 0;
}
.faq summary {
  cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--plum);
  min-height: 44px; list-style: none; position: relative; padding-right: 44px;
}
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 14px;
  font-size: 1.4rem; color: var(--pink); line-height: 1;
}
.faq[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* ---------- reviews marquee ---------- */
.section-reviews { padding-bottom: 0; overflow: hidden; }
.reviews-wrap { overflow: hidden; padding: 6px 0 8px; }
.reviews-track {
  display: flex; width: max-content;
  animation: reviews-scroll 60s linear infinite;
}
.reviews-wrap:hover .reviews-track,
.reviews-wrap:focus-within .reviews-track { animation-play-state: paused; }
@keyframes reviews-scroll { to { transform: translateX(-50%); } }
.review-card {
  width: 300px; flex: none; margin: 0 16px 0 0;
  background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--r-card); padding: 18px;
}
.stars { color: var(--gold); font-size: .95rem; letter-spacing: 3px; }
.star-off { color: var(--line-strong); }
.review-card blockquote { margin: 10px 0 14px; font-size: .95rem; max-width: none; }
.review-card figcaption {
  display: grid; gap: 1px; border-top: none; padding: 0;
  background: none; font-size: .82rem; color: var(--ink);
}
.review-card figcaption strong { color: var(--plum); }
.review-card figcaption span { color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .reviews-wrap { overflow-x: auto; }
  .reviews-track { animation: none; }
  .review-card[aria-hidden="true"] { display: none; }
}
@media (min-width: 768px) {
  .review-card { width: 340px; margin-right: 20px; }
}

/* ---------- newsletter ---------- */
.news-grid { display: grid; gap: 20px; }
.news-form { display: grid; gap: 10px; }
.news-form input[type="email"] {
  min-height: 48px; padding: 10px 14px; font-size: 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-btn); background: var(--paper);
}
.news-form-lg { max-width: 460px; }

/* ---------- floating contact ---------- */
.float-contact {
  position: fixed; right: 16px; z-index: 210;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; overflow: hidden;
}
.float-wa .ic { width: 52px; height: 52px; color: #25D366; }
.float-call { background: var(--plum); color: var(--white); }
.float-btn:hover { transform: none; }
.float-wa:hover { opacity: .82; }
.float-call:hover { background: var(--plum-deep); color: var(--white); }

/* ---------- footer ---------- */
.site-footer { background: var(--plum); color: var(--paper); padding: 44px 0 24px; }
.footer-grid { display: grid; gap: 30px; }
.footer-name { font-weight: 800; font-size: 1.2rem; color: var(--white); margin: 8px 0 6px; }
.footer-brand p { color: var(--paper); font-size: .92rem; }
.socials { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.icon-btn-light { border: 1.5px solid rgba(251,247,240,.4); color: var(--paper); }
.icon-btn-light:hover { background: var(--plum-deep); color: var(--white); }
.footer-col h2 { color: var(--gold); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer-col a { display: block; color: var(--paper); text-decoration: none; padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-news p { font-size: .9rem; }
.footer-news input { background: var(--plum-deep); border-color: rgba(251,247,240,.3); color: var(--white); }
.footer-news input::placeholder { color: rgba(251,247,240,.55); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  border-top: 1px solid rgba(251,247,240,.2); margin-top: 34px; padding-top: 18px;
  font-size: .85rem;
}
.footer-base p { margin: 0; }
.footer-base a { color: var(--gold); }

/* ---------- admin ---------- */
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
.stat {
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-card);
  padding: 16px; text-align: center;
}
.stat strong { display: block; font-size: 1.8rem; color: var(--plum); }
.stat span { color: var(--muted); font-size: .85rem; }
.admin-h { margin-top: 34px; font-size: 1.15rem; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--r-card); background: var(--white); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 720px; }
.admin-table th { text-align: left; background: var(--plum); color: var(--white); padding: 10px 12px; font-size: .8rem; }
.admin-table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.row-done { opacity: .55; }
.cell-wide { min-width: 220px; }
.admin-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-card); border: 1px solid var(--line); margin: 2px; }
.status-form select { min-height: 40px; border: 1.5px solid var(--line-strong); border-radius: var(--r-btn); padding: 4px 8px; font-size: .85rem; }
.sub-list { list-style: none; padding: 0; }
.sub-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.login-card { max-width: 420px; margin: 40px auto; text-align: center; }
.login-card .mark { margin: 0 auto 10px; }
.login-card .field { text-align: left; }

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .price-row { grid-template-columns: 1.4fr 1fr .8fr; align-items: center; }
  .price-head { display: grid; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .ig-grid { grid-template-columns: repeat(6, 1fr); }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  :root { --r-card: 7px; --r-btn: 5px; }
  .header-book { display: inline-flex; }
  .menu-toggle { display: none; }
  .btn-pair > .btn { padding: 12px 18px; font-size: .95rem; min-height: 48px; }
  .btn-pair > .btn-lg { min-height: 52px; padding: 14px 24px; font-size: 1rem; }
  .hero-actions > .btn { flex: none; }
  .link-row > .btn { flex: none; font-size: .95rem; padding: 10px 22px; }
  .main-nav {
    display: flex; align-items: center; margin: 0 auto;
    position: static; background: none; border: none; padding: 0;
  }
  .main-nav .nav-book { display: none; }
  .hero { padding: 56px 0 0; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 44px; padding-bottom: 56px; }
  .featured-grid { grid-template-columns: 1.3fr 1fr; }
  .mural-card-lg { grid-row: span 2; }
  .mural-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .art-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .how-grid { grid-template-columns: .9fr 1.1fr; gap: 44px; }
  .detail-grid { grid-template-columns: 1.5fr 1fr; gap: 44px; }
  .detail-side { position: sticky; top: 84px; align-self: start; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .product-grid-detail { grid-template-columns: 1fr 1fr; gap: 44px; }
  .checkout-grid { grid-template-columns: 1.4fr 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 34px; }
  .about-grid { grid-template-columns: 1fr 1.6fr; gap: 44px; }
  .cart-row { grid-template-columns: 72px 1fr auto auto auto; }
  .cart-qty, .cart-line-total, .cart-row > form:last-child { grid-column: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
  .section { padding: 64px 0; }
}

@media (min-width: 1280px) {
  :root { --r-card: 8px; --r-btn: 6px; }
  body { font-size: 17px; }
  .wrap { padding: 0 32px; }
  .mural-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- mobile spacing system (≤767px) ----------
   Card grids: 6px screen-edge padding, 6px gaps, 6px card padding —
   edge-to-card distance equals card-to-card gap.
   Single-column card layouts: 8px screen edge (6px container + 2px inset). */
@media (max-width: 767px) {
  /* container side padding — every page edge */
  .wrap { padding: 0 6px; }

  /* card grids → 2 per line, 6px gaps */
  .product-grid, .art-grid { gap: 6px; }
  .mural-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .featured-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .featured-grid > :first-child { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ig-grid { gap: 6px; }
  .photo-strip { gap: 6px; }
  .stat-row { gap: 6px; }

  /* card inner padding — 6px horizontal in all grid cards */
  .card-body { padding: 10px 6px 0; }
  .card-body h2, .card-body h3 { font-size: .95rem; }
  .card-body .muted { font-size: .8rem; }
  .review-card { padding: 14px 6px; }
  .stat { padding: 12px 6px; }
  .review-card { margin-right: 6px; }
  .reviews-wrap { padding: 6px 6px 8px; }
  figcaption { padding-inline: 6px; }

  /* single-column card layouts — 8px between screen edge and cards */
  .form-card, .contact-cards, .cart-list, .orig-list, .faq-list,
  .price-table, .factor-box, .confirm-panel, .empty-state, .order-box,
  .fact-box, .cta-box, .related-print, .admin-table-wrap, .hero-media,
  .mural-hero-img, .about-photo { margin-inline: 2px; }
  .login-card { margin-left: auto; margin-right: auto; }
}
