/* Heer Jewels — design tokens and site styles. Mobile first. */
:root {
  --parchment: #F4EAD8;
  --ivory: #FBF6EC;
  --paper: #FFFDF8;
  --satin: #E9DCC6;
  --line: #D9C7A8;
  --gold: #B08A4A;
  --gold-deep: #7E5F2C;
  --gold-on-dark: #C9A867;
  --ink: #3A2A1E;
  --ink-soft: #5E4A3A;
  --muted: #6B5643;
  --blue: #1F3F8F;
  --blue-dark: #152C66;
  --blue-tint: #E6EBF6;
  --rose: #D9A3A0;
  --box: #2B1F16;
  --box-2: #3A2A1E;
  --danger: #9B2C1F;
  --ok: #3F6B3A;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --caps: 'Marcellus SC', 'Cormorant Garamond', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-card: 12px;
  --r-pill: 999px;
  --gutter: 16px;
  --section: 56px;
  --max: 1312px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section: 80px; } }
@media (min-width: 1200px) { :root { --gutter: 64px; --section: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--parchment); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(36px, 6vw, 56px); }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: 24px; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-tight { padding-top: 24px; }
.section-top-0 { padding-top: 0; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-family: var(--caps); font-size: 12px; letter-spacing: 0.26em; text-transform: none; color: var(--gold-deep); text-decoration: none; display: inline-block; }
.eyebrow-gold { color: var(--gold-on-dark); }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 60ch; }
.laurel { color: var(--gold); width: 200px; height: auto; }
.display { font-weight: 500; font-size: clamp(46px, 7.4vw, 92px); line-height: 0.98; }
.empty-note { color: var(--muted); padding: 24px 0; }
.signature { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-deep); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--r-pill); border: 1px solid transparent; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: var(--ivory); }
.btn-primary:hover { background: var(--blue-dark); color: var(--ivory); }
.btn-primary:disabled { background: #8A94AE; cursor: not-allowed; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ivory); color: var(--ink); }
.btn-outline-gold { border-color: var(--gold); color: var(--ink); background: transparent; }
.btn-outline-gold:hover { background: var(--ivory); color: var(--ink); }
.btn-ghost-dark { border-color: var(--gold); color: var(--parchment); background: transparent; }
.btn-ghost-dark:hover { background: var(--box-2); color: #fff; }
.btn-danger { border-color: var(--danger); color: var(--danger); background: transparent; }
.btn-danger:hover { background: #F7E6E2; color: var(--danger); }
.btn-block { width: 100%; }
.btn-lg { min-height: 58px; font-size: 17px; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-text { background: none; border: none; padding: 8px 0; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: 15px; min-height: 44px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 4px; }
.link-gold { color: var(--gold-on-dark); }
.link-gold:hover { color: #E3C98F; }
.icon-btn { width: 44px; height: 44px; border: none; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; }
.icon-btn.round { border: 1px solid var(--line); }

/* Badges, chips */
.badge { font-family: var(--caps); font-size: 11px; letter-spacing: 0.16em; padding: 5px 11px; border-radius: var(--r-pill); white-space: nowrap; }
.badge-one { background: var(--blue); color: var(--ivory); }
.badge-made { background: var(--ivory); color: var(--gold-deep); border: 1px solid var(--gold-deep); }
.badge-new { background: var(--parchment); color: var(--ink); border: 1px solid var(--gold); }
.badge-sold { background: var(--ink); color: var(--parchment); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--gold); color: var(--ink); text-decoration: none; font-size: 14px; background: transparent; }
.chip:hover { background: var(--ivory); color: var(--ink); }
.chip.is-on { background: var(--blue-tint); border: 1.5px solid var(--blue); color: var(--blue); font-weight: 500; }
.pill { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: var(--r-pill); font-weight: 500; }
.pill-blue { background: var(--blue-tint); color: var(--blue); }
.pill-green { background: #E3EEDC; color: var(--ok); }
.pill-gold { background: #F3E7CC; color: var(--gold-deep); }
.pill-grey { background: #ECE6DC; color: var(--muted); }

/* Announcement + header */
.announce { background: var(--box); color: var(--parchment); font-family: var(--caps); font-size: 11px; letter-spacing: 0.18em; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 9px 16px; text-align: center; flex-wrap: wrap; }
.announce span:nth-child(n+4) { display: none; }
.announce-dot { color: var(--gold); }
@media (min-width: 768px) { .announce { font-size: 12px; gap: 24px; } .announce span:nth-child(n+4) { display: inline; } }

/* No backdrop-filter here: it would make the header the containing block for the fixed mobile menu. */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--parchment); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 6px 8px; min-height: 64px; }
.logo-link { grid-column: 2; display: flex; align-items: center; justify-content: center; gap: 16px; min-width: 56px; min-height: 52px; padding: 0 8px; }
.logo-emblem { width: auto; height: 50px; }
.logo-wordmark { display: none; width: auto; height: 40px; }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; }
.menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
.bag-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border: none; background: transparent; border-radius: var(--r-pill); cursor: pointer; font-size: 14px; }
.bag-label { display: none; }
.bag-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--blue); color: var(--ivory); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; position: absolute; top: 4px; right: 0; }
.site-nav { display: none; }
.site-nav.is-open { display: flex; flex-direction: column; position: fixed; top: var(--menu-top, 100px); left: 0; right: 0; bottom: 0; background: var(--parchment); padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom)); gap: 4px; overflow-y: auto; overscroll-behavior: contain; z-index: 39; border-top: 1px solid var(--line); }
.site-nav.is-open .nav-link { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 0; }
.site-nav.is-open .nav-sub { display: flex; flex-direction: column; padding: 0 0 12px 4px; gap: 2px; }
.site-nav.is-open .nav-sub a { color: var(--ink-soft); text-decoration: none; padding: 8px 0; font-size: 17px; }
.nav-sub { display: none; }
@media (min-width: 1024px) {
  .site-header { padding: 8px var(--gutter); min-height: 96px; }
  .logo-emblem { height: 68px; }
  .logo-wordmark { display: block; height: 46px; }
  .menu-toggle { display: none; }
  .site-nav { display: flex; align-items: center; grid-column: 1; grid-row: 1; gap: 26px; font-family: var(--caps); font-size: 13px; letter-spacing: 0.16em; white-space: nowrap; }
  .nav-group { display: flex; align-items: center; }
  .site-nav .nav-link { color: var(--ink); text-decoration: none; padding: 12px 0; }
  .site-nav .nav-link:hover { color: var(--blue); }
  .nav-mobile-only { display: none; }
  .nav-group { position: relative; }
  .nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: flex; }
  .nav-sub { position: absolute; top: 100%; left: -16px; flex-direction: column; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px; min-width: 230px; box-shadow: 0 12px 30px rgba(43, 31, 22, 0.1); font-family: var(--sans); letter-spacing: 0; font-size: 15px; }
  .nav-sub a { color: var(--ink); text-decoration: none; padding: 9px 12px; border-radius: 8px; }
  .nav-sub a:hover { background: var(--parchment); }
  .bag-btn { border: 1px solid var(--ink); padding: 0 18px; }
  .bag-label { display: inline; }
  .bag-count { position: static; }
}
body.menu-open { overflow: hidden; }

/* Frames and placeholders */
.img-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--satin); color: var(--gold-deep); font-family: var(--caps); font-size: 11px; letter-spacing: 0.2em; text-align: center; padding: 16px; width: 100%; height: 100%; aspect-ratio: 1 / 1; }
.img-placeholder .laurel { width: 60%; max-width: 160px; }
.frame { display: block; padding: 8px; border: 1px solid var(--gold); border-radius: 50%; background: var(--parchment); }
.frame-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50%; }
.frame-round .frame-img, .frame-small .frame-img { aspect-ratio: 1 / 1; }
.frame .img-placeholder { border-radius: 50%; aspect-ratio: 4 / 5; }
.frame-round .img-placeholder, .frame-small .img-placeholder { aspect-ratio: 1 / 1; }

/* Hero */
.hero { display: grid; gap: 28px; padding: 16px var(--gutter) 40px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.hero-art { position: relative; order: -1; width: min(100%, 360px); margin: 0 auto; aspect-ratio: 1 / 1.05; }
.hero-art .frame-main { position: absolute; left: 14%; top: 2%; width: 66%; }
.hero-art .frame-a { position: absolute; left: 0; top: 60%; width: 32%; padding: 5px; }
.hero-art .frame-b { position: absolute; right: 0; top: 0; width: 25%; padding: 4px; }
.spark { position: absolute; color: var(--gold); }
.spark-1 { right: 6%; top: 42%; font-size: 20px; }
.spark-2 { left: 6%; top: 20%; font-size: 14px; }
.hero-caption { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; text-align: right; }
.hero-caption em { font-family: var(--serif); font-size: 17px; }
.hero-caption small { font-family: var(--caps); font-size: 10px; letter-spacing: 0.22em; color: var(--gold-deep); }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero-text .btn-row .btn { flex: 1 1 220px; }
.trust-row { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; color: var(--ink-soft); }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row svg { color: var(--gold-deep); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: center; padding-top: 56px; padding-bottom: 56px; gap: 48px; }
  .hero-art { order: 0; width: 100%; max-width: 620px; }
  .hero-caption em { font-size: 20px; }
  .hero-text .btn-row .btn { flex: 0 0 auto; }
  .trust-row { font-size: 14px; }
}

/* Quick links (Instagram highlights) */
.quick-links { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 8px var(--gutter) 40px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.quick-links::-webkit-scrollbar { display: none; }
.quick-links a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 13px; }
.quick-links img, .ql-icon { width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px var(--parchment), 0 0 0 5px var(--gold); background: var(--ivory); object-fit: cover; }
.ql-icon { display: flex; align-items: center; justify-content: center; color: var(--gold-deep); transition: background 0.2s, color 0.2s; }
.ql-icon svg { width: 30px; height: 30px; }
.quick-links a:hover .ql-icon { background: var(--satin); color: var(--blue); }
@media (min-width: 768px) { .quick-links { justify-content: center; gap: 56px; } .quick-links img, .ql-icon { width: 104px; height: 104px; } .ql-icon svg { width: 40px; height: 40px; } .quick-links a { font-size: 14px; } }

/* Designed stand-ins while photos are on their way */
.frame-emblem { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 5; border-radius: 50%; background: radial-gradient(ellipse at 50% 45%, var(--ivory) 0%, var(--satin) 100%); }
.frame-emblem img { width: 34%; height: auto; }
.frame-small .frame-emblem, .frame-round .frame-emblem { aspect-ratio: 1 / 1; }
.coming-soon { display: grid; gap: 20px; justify-items: center; text-align: center; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); padding: 36px 20px; }
.coming-soon img { width: 48px; height: auto; }
.coming-soon h3 { font-size: 28px; margin-bottom: 8px; }
.coming-soon p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto; }
.coming-soon .btn-row { justify-content: center; }
@media (min-width: 900px) { .coming-soon { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; padding: 32px 40px; gap: 32px; align-items: center; } .coming-soon p { margin: 0; } }
.gift-solo { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 720px; }
.gift-solo .stack { align-items: center; }
.gift-solo .tick-list { text-align: left; }
.gift-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-deep); box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px var(--ivory), 0 0 0 6px var(--gold); }
.gift-icon svg { width: 32px; height: 32px; }
.studio-media .studio-emblem { width: 72px; height: auto; box-shadow: none; border-radius: 0; }
.studio-media .studio-photo { width: 100%; height: 100%; max-height: 340px; object-fit: cover; border-radius: 8px; box-shadow: none; }
@media (min-width: 900px) { .type-tiles-1, .type-tiles-2, .type-tiles-3 { display: flex; justify-content: center; } .type-tiles-1 .type-tile, .type-tiles-2 .type-tile, .type-tiles-3 .type-tile { width: 240px; } }

/* Bands */
.band { padding: var(--section) 0; }
.band-satin { background: var(--satin); }
.band-ivory { background: var(--ivory); border-top: 1px solid var(--line); }
.band-dark { background: var(--box); color: var(--parchment); }
.band-dark h2 { color: var(--parchment); }
.on-dark { color: var(--satin); }
.muted-dark { color: var(--line); }
.scallop { position: relative; padding-top: calc(var(--section) + 12px); }
.scallop::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; background-image: radial-gradient(circle at 12px 0, var(--parchment) 11.5px, transparent 12px); background-size: 24px 12px; background-repeat: repeat-x; }

.promises { display: grid; gap: 24px; }
.promise { display: flex; gap: 16px; }
.promise svg { color: var(--gold-deep); flex: none; }
.promise h3 { font-size: 26px; }
.promise p { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
@media (min-width: 768px) { .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .eyebrow { margin-bottom: 8px; }
h2.center { margin-bottom: 32px; }

/* Product cards */
.grid-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 768px) { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; } }
@media (min-width: 1100px) { .grid-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
.card:hover { color: var(--ink); }
.card-media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-card); overflow: hidden; background: var(--satin); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease, transform 0.6s ease; }
.card-img-alt { opacity: 0; }
.card:hover .card-img-alt, .card:focus-visible .card-img-alt { opacity: 1; }
.card:hover .card-img { transform: scale(1.02); }
.card .badge { position: absolute; top: 10px; left: 10px; font-size: 10px; }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.15; }
.card-price { font-size: 14px; color: var(--ink-soft); }
.card-link { font-size: 14px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.card.is-sold .card-img { filter: grayscale(0.35); opacity: 0.7; }
@media (min-width: 768px) { .card-title { font-size: 23px; } .card-price { font-size: 15px; } .card .badge { top: 12px; left: 12px; font-size: 11px; } }

.type-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 0 12px; }
@media (min-width: 900px) { .type-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding: 0 40px; } }
.type-tile { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.type-tile .frame { width: 100%; padding: 6px; }
.type-tile:hover .frame { border-color: var(--gold-deep); }
.type-name { font-family: var(--caps); letter-spacing: 0.2em; font-size: 13px; }
@media (min-width: 900px) { .type-tile .frame { padding: 10px; } .type-name { font-size: 15px; } }

/* Split layouts */
.split { display: grid; gap: 36px; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; } }
.custom-art { position: relative; height: 290px; max-width: 640px; color: var(--gold-deep); }
.inspo-card { position: absolute; left: 0; top: 30px; width: 42%; aspect-ratio: 4 / 5; border: 1.5px dashed var(--gold-deep); border-radius: var(--r-card); background: var(--ivory); transform: rotate(-4deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px; text-align: center; font-size: 13px; color: var(--ink-soft); }
.inspo-arrow { position: absolute; left: 41%; top: 42%; width: 14%; height: auto; }
.inspo-result { position: absolute; right: 2%; top: 4%; width: 42%; }
.inspo-caption { position: absolute; right: 0; bottom: 0; font-family: var(--serif); font-size: 17px; color: var(--ink); }
@media (min-width: 900px) { .custom-art { height: 460px; } .inspo-caption { font-size: 20px; } }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 16px; }
.steps p { font-size: 15px; color: var(--ink-soft); margin-top: 2px; }
.step-n { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--gold-deep); width: 26px; flex: none; }
.studio-media { min-height: 260px; border: 1px solid #5A4630; border-radius: var(--r-card); background: var(--box-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; }
.studio-media img { width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px var(--box-2), 0 0 0 7px var(--gold); }
@media (min-width: 900px) { .studio-media { min-height: 380px; } }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tick-list li::before { content: '✦ '; color: var(--gold); }
.tick-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 15px; }
.gift-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); border: 1px solid var(--line); }
div.gift-photo { display: flex; align-items: center; justify-content: center; }

/* Love notes */
.notes-row { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.notes-row::-webkit-scrollbar { display: none; }
.notes-row .note-card { flex: 0 0 min(78%, 360px); }
.notes-wall { columns: 2 180px; column-gap: 16px; }
.notes-wall .note-card { break-inside: avoid; margin-bottom: 16px; }
@media (min-width: 900px) { .notes-wall { columns: 3; column-gap: 24px; } }
.note-card { margin: 0; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.note-card img { border-radius: 8px; width: 100%; }
.note-card blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; }
.note-card figcaption { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.note-card figcaption em { font-family: var(--serif); font-size: 16px; color: var(--ink); }

/* Page head */
.page-head { text-align: center; padding: 48px var(--gutter) 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 900px; margin: 0 auto; }
.page-head .lede { margin: 0 auto; }
@media (min-width: 768px) { .page-head { padding-top: 72px; padding-bottom: 44px; } }

/* Shop */
.shop-bar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.field-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.field-inline select { min-height: 40px; border-radius: var(--r-pill); border: 1px solid var(--gold); background: var(--paper); padding: 0 12px; }
@media (min-width: 900px) { .shop-bar { flex-direction: row; justify-content: space-between; align-items: center; } }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 16px; text-align: center; color: var(--ink-soft); }
.archive-link { margin-top: 48px; font-size: 15px; }

/* Product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-soft); padding-top: 14px; padding-bottom: 14px; }
.crumbs a { color: var(--ink-soft); }
.pdp { display: grid; gap: 24px; padding-bottom: var(--section); }
@media (max-width: 767px) { .pdp { padding-left: 0; padding-right: 0; } .pdp-info { padding: 0 var(--gutter); } }
.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; background: var(--satin); overflow: hidden; touch-action: pan-y; }
.gallery-main .gallery-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s; }
.gallery-main .gallery-img.is-on { opacity: 1; }
.gallery-main.is-sold .gallery-img { filter: grayscale(0.25); }
.gallery-main .img-placeholder { position: absolute; inset: 0; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(251, 246, 236, 0.92); font-size: 13px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter); scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--ivory); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (min-width: 768px) {
  .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .gallery { flex-direction: row-reverse; position: sticky; top: 112px; }
  .gallery-main { flex: 1; border-radius: 14px; }
  .gallery-thumbs { flex-direction: column; padding: 2px; overflow: visible; }
  .thumb { width: 80px; height: 80px; }
}
.pdp-info { display: flex; flex-direction: column; gap: 18px; }
.pdp-title { font-size: clamp(38px, 5vw, 54px); line-height: 1.02; }
.pdp-price-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pdp-price { font-size: 22px; }
.pdp-summary { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--ink-soft); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pdp-form { display: flex; flex-direction: column; gap: 12px; }
.opt-group { border: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.opt-group legend { font-weight: 500; font-size: 15px; margin-bottom: 10px; padding: 0; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { position: relative; }
.opt-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--gold); font-size: 15px; cursor: pointer; background: transparent; }
.opt-chip input:checked + span { border: 1.5px solid var(--blue); background: var(--blue-tint); color: var(--blue); font-weight: 500; }
.opt-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hint { font-size: 13px; color: var(--muted); }
.sold-box { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.sold-box h2 { font-size: 27px; }
.sold-box p { color: var(--ink-soft); font-size: 15px; }
.assure { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.assure li { display: flex; gap: 12px; align-items: center; }
.assure svg { color: var(--gold-deep); flex: none; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; min-height: 56px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--caps); font-size: 13px; letter-spacing: 0.2em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-family: var(--sans); font-size: 22px; color: var(--gold-deep); }
.accordion details[open] summary::after { content: '−'; }
.accordion details > :not(summary) { margin-bottom: 18px; }
.accordion-lg summary { font-family: var(--serif); font-size: 22px; letter-spacing: 0; font-weight: 600; padding: 8px 0; }
.accordion-lg details p { color: var(--ink-soft); }
.spec { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin: 0; font-size: 15px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.story .frame { max-width: 460px; width: 80%; margin: 0 auto; }
.story p { font-size: 17px; color: var(--ink-soft); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--ivory); border-top: 1px solid var(--gold); box-shadow: 0 -6px 18px rgba(43, 31, 22, 0.12); }
.sticky-buy div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sticky-buy strong { font-family: var(--serif); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy span { font-size: 13px; color: var(--ink-soft); }
.sticky-buy .btn { min-height: 48px; padding: 0 22px; }
@media (min-width: 768px) { .sticky-buy { display: none !important; } }

/* Forms */
.card-panel { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; margin: 0; min-width: 0; }
@media (min-width: 768px) { .card-panel { padding: 28px; } }
fieldset.card-panel { display: flex; flex-direction: column; gap: 16px; }
/* A floated legend stops being drawn on the border and sits inside the panel like a heading. */
legend.panel-title, legend.step-title { float: left; width: 100%; }
.panel-title { font-family: var(--serif); font-weight: 600; font-size: 26px; padding: 0; margin-bottom: 4px; }
.panel-title small { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; flex: 1; min-width: 0; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 48px; border-radius: 10px; border: 1px solid var(--gold); background: var(--paper); padding: 10px 14px; font-size: 16px; font-weight: 400; width: 100%; }
.field textarea { min-height: 0; resize: vertical; }
.field input[type='file'] { padding: 10px; }
.field .hint { font-weight: 400; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #FDF3F1; }
.field-error { color: var(--danger); font-size: 13px; font-weight: 400; }
.field-row { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .field-row { flex-direction: row; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; min-height: 32px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form-error { background: #FDF3F1; border: 1px solid #E9B9B0; color: var(--danger); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.flash { background: #EEF3E8; border: 1px solid #C7D8BC; color: var(--ok); border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; }
.ok-note { color: var(--ok); font-weight: 500; }
.script-input { font-family: var(--serif) !important; font-style: italic; font-size: 20px !important; }

/* Checkout */
.checkout { display: grid; gap: 24px; padding-top: 24px; padding-bottom: var(--section); }
.checkout h1 { margin: 8px 0 20px; }
.checkout-form { display: flex; flex-direction: column; gap: 18px; }
.back-link { padding: 0; min-height: 0; font-size: 14px; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--gold); border-radius: 10px; padding: 14px; cursor: pointer; background: var(--paper); }
.pay-option input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.pay-option span { display: flex; flex-direction: column; }
.pay-option small { color: var(--muted); font-size: 13px; }
.pay-option:has(input:checked) { border: 1.5px solid var(--blue); background: var(--blue-tint); }
.pay-option.is-disabled { opacity: 0.5; cursor: not-allowed; }
@media (min-width: 640px) { .pay-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checkout-summary { display: flex; flex-direction: column; gap: 14px; align-self: start; }
@media (min-width: 960px) { .checkout { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; } .checkout-summary { position: sticky; top: 120px; margin-top: 88px; } }
.summary-items { display: flex; flex-direction: column; gap: 14px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; }
.line img, .line .thumb-ph { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.line b { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.2; display: block; }
.line small { display: block; color: var(--muted); font-size: 13px; }
.line .line-price { font-size: 15px; white-space: nowrap; }
.line.is-gone { opacity: 0.6; }
.line .warn { color: var(--danger); }
.line-actions { display: flex; gap: 10px; align-items: center; margin-top: 4px; font-size: 13px; }
.line-actions button { background: none; border: none; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font-size: 13px; min-height: 28px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); }
.qty button { width: 32px; height: 32px; text-decoration: none; font-size: 16px; color: var(--ink); }
.qty span { min-width: 18px; text-align: center; }
.thumb-ph { display: inline-block; background: var(--satin); }
.thumb-ph.big { width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.discount-row { display: flex; gap: 8px; }
.discount-row input { flex: 1; min-width: 0; min-height: 44px; border-radius: var(--r-pill); border: 1px solid var(--gold); background: var(--paper); padding: 0 16px; text-transform: uppercase; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0; font-size: 15px; border-top: 1px solid var(--line); padding-top: 14px; }
.totals dd { margin: 0; text-align: right; }
.totals .total { font-family: var(--serif); font-size: 24px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 10px; }
.policy-note { font-size: 13px; color: var(--muted); }

/* Bag drawer */
.bag-backdrop { position: fixed; inset: 0; background: rgba(43, 31, 22, 0.45); z-index: 60; }
.bag { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 86vh; background: var(--ivory); border-top: 1px solid var(--gold); border-radius: 18px 18px 0 0; display: flex; flex-direction: column; transform: translateY(105%); transition: transform 0.28s ease; visibility: hidden; }
.bag.is-open { transform: none; visibility: visible; }
@media (min-width: 768px) { .bag { left: auto; top: 0; width: 460px; max-height: none; border-radius: 0; border-top: none; border-left: 1px solid var(--gold); transform: translateX(105%); } }
.bag-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 20px 14px; border-bottom: 1px solid var(--line); }
.bag-title { font-size: 30px; }
.bag-body { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 18px; }
.bag-foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.bag-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 32px 0; color: var(--ink-soft); }
.bag-empty img { width: 96px; }

/* WhatsApp float */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 29; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--ivory); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(43, 31, 22, 0.25); }
.wa-float:hover { background: var(--blue-dark); color: var(--ivory); }
.wa-float svg { width: 26px; height: 26px; }
body.has-sticky .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
body.is-checkout .wa-float, body.admin .wa-float { display: none; }

/* Custom form */
.custom-wrap { display: grid; gap: 28px; padding-bottom: var(--section); }
@media (min-width: 960px) { .custom-wrap { grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; } .custom-aside { position: sticky; top: 120px; } }
.custom-aside { display: flex; flex-direction: column; gap: 24px; }
.custom-form { display: flex; flex-direction: column; gap: 20px; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-family: var(--caps); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); counter-reset: step; }
.stepper li { border-top: 3px solid var(--line); padding-top: 8px; }
.stepper li.is-on, .stepper li.is-done { border-color: var(--blue); color: var(--blue); }
.js .step { display: none; }
.js .step.is-on { display: flex; }
.step { border: none; padding: 0; margin: 0; flex-direction: column; gap: 16px; display: flex; min-width: 0; }
.step-title { font-family: var(--serif); font-size: 28px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 10px; border: 1px solid var(--gold); background: var(--paper); font-size: 15px; cursor: pointer; text-align: center; padding: 8px; }
.choice input:checked + span { border: 1.5px solid var(--blue); background: var(--blue-tint); color: var(--blue); font-weight: 500; }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; }
.step-nav .btn:last-child { margin-left: auto; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-previews img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.ref-piece { display: flex; gap: 14px; align-items: center; background: var(--parchment); border-radius: 10px; padding: 10px; }
.ref-piece .ref-img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; aspect-ratio: 1; }
.ref-piece b { display: block; font-family: var(--serif); font-size: 19px; }

/* Order / confirm */
.confirm { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 48px 0 32px; }
.confirm .lede { margin: 0 auto; }
.confirm-wrap { padding-bottom: var(--section); display: flex; flex-direction: column; gap: 20px; }
.timeline { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; font-size: 11px; text-align: center; color: var(--muted); }
.timeline li { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.timeline li::before { content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline .dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--parchment); position: relative; z-index: 1; }
.timeline li.done, .timeline li.now { color: var(--ink); }
.timeline li.done .dot { background: var(--blue); border-color: var(--blue); }
.timeline li.now .dot { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.timeline li.done::before, .timeline li.now::before { background: var(--blue); }
@media (min-width: 640px) { .timeline { font-size: 13px; } }
.pay-panel { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; border-color: var(--blue); }
.account { margin: 0; font-family: var(--sans); white-space: pre-wrap; background: var(--paper); border: 1px dashed var(--gold); border-radius: 10px; padding: 14px; width: 100%; font-size: 16px; }
.receipt-form { display: flex; flex-direction: column; gap: 12px; width: 100%; padding-top: 12px; border-top: 1px solid var(--line); }
.summary-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.summary-list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.summary-list img, .summary-list .thumb-ph { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.summary-list b { font-family: var(--serif); font-size: 18px; display: block; }
.summary-list small { display: block; color: var(--muted); }
.card-panel .spec { margin-top: 16px; }
.track-form { display: flex; flex-direction: column; gap: 16px; }

/* Content */
.prose { display: flex; flex-direction: column; gap: 18px; padding-bottom: var(--section); font-size: 17px; }
.prose h2 { font-size: 32px; margin-top: 16px; }
.prose p, .prose li { color: var(--ink-soft); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--ivory); border-radius: var(--r-card); overflow: hidden; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-family: var(--caps); font-size: 12px; letter-spacing: 0.18em; color: var(--gold-deep); font-weight: 400; }
.process { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.process li { display: flex; flex-direction: column; gap: 4px; }
.process b { font-family: var(--serif); font-size: 22px; }
.process p { font-size: 14px; color: var(--ink-soft); }
@media (min-width: 900px) { .process { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.feature svg { color: var(--gold-deep); width: 32px; height: 32px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* Footer */
.site-footer { background: var(--box); color: var(--satin); padding: 56px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; max-width: var(--max); margin: 0 auto; }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.footer-logo { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.footer-logo:hover { text-decoration: none !important; }
.footer-emblem { width: auto; height: 64px; }
.footer-wordmark { width: auto; height: 42px; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--parchment); }
.site-footer nav, .footer-brand { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer a { color: var(--satin); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-head { font-family: var(--caps); font-size: 12px; letter-spacing: 0.24em; color: var(--gold-on-dark); }
.footer-base { max-width: var(--max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #5A4630; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--line); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } .footer-base { flex-direction: row; justify-content: space-between; } }

/* Admin */
body.admin { background: #F7F1E6; }
.admin-header { background: var(--box); color: var(--parchment); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); }
.admin-brand { display: flex; align-items: center; gap: 10px; color: var(--parchment); text-decoration: none; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.admin-brand img { width: auto; height: 40px; }
.admin-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 15px; }
.admin-header nav a, .admin-header .btn-text { color: var(--satin); text-decoration: none; }
.admin-header nav a:hover { color: #fff; }
.admin-header form { margin: 0; }
.admin-main { max-width: 1240px; margin: 0 auto; padding: 24px var(--gutter) 80px; display: flex; flex-direction: column; gap: 20px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.admin-head h1 { font-size: 40px; }
.admin-cols { display: grid; gap: 20px; }
@media (min-width: 960px) { .admin-cols { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; } }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.admin-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.admin-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.admin-card-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.admin-card-body a { color: var(--ink); text-decoration: none; }
.admin-card-body small { color: var(--muted); }
.quick-status select { width: 100%; min-height: 40px; border-radius: 8px; border: 1px solid var(--gold); background: var(--paper); padding: 0 8px; }
.table-wrap { overflow-x: auto; border-radius: var(--r-card); border: 1px solid var(--line); }
.admin-table { min-width: 760px; }
.admin-table small { color: var(--muted); }
.warn-box { background: #FFF6DD; border: 1px solid #E8CF8A; border-radius: var(--r-card); padding: 14px 18px; font-size: 15px; }
.warn-box ul { margin: 6px 0 0; padding-left: 18px; }
.photo-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 14px 0; }
.photo-admin figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.photo-admin img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.photo-admin input { width: 100%; min-height: 36px; border-radius: 8px; border: 1px solid var(--line); padding: 0 8px; font-size: 13px; background: var(--paper); }
.photo-admin .w-sm { width: 56px; }
.upload-form { display: flex; flex-direction: column; gap: 10px; }
.msg-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.pre { white-space: pre-wrap; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.login-card { width: min(100%, 400px); display: flex; flex-direction: column; gap: 16px; align-items: stretch; text-align: center; }
.login-card img { margin: 0 auto; }
.login-card .login-wordmark { width: 190px; height: auto; margin-top: -12px; }

/* Turnstile bot check (only shown when its keys are configured) */
.bot-check { min-height: 65px; display: flex; justify-content: center; }
