/* Swan Jewellry — storefront
   Handmade signet rings. Warm cream paper, ink text, antique-gold accent.
   Mobile-first; breakpoints at 640 / 900 / 1200. SVG icons only, no emoji. */

:root {
  --paper:    #FBF8F3;
  --paper-2:  #F3EDE3;
  --card:     #FFFFFF;
  --ink:      #131A26;
  --ink-2:    #41506B;
  --muted:    #6E7B92;
  --line:     #E3DED4;

  /* Brand navy, sampled from the Swan logo artwork itself. */
  --gold:     #0A2454;   /* primary accent — name kept so every existing rule follows */
  --gold-2:   #17407F;   /* lighter navy for hovers and fills */
  --gold-soft:#E9EEF7;   /* navy tint for callout backgrounds */
  --navy-deep:#061735;

  /* Rating stars stay gold — that is what a 5-star rating reads as. */
  --star:     #E4A93C;
  --star-off: #D9D2C6;

  --green:    #2F6B4F;
  --red:      #A5382F;

  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;

  --shadow:    0 1px 2px rgba(16,28,51,.05), 0 4px 16px rgba(16,28,51,.07);
  --shadow-lg: 0 8px 40px rgba(16,28,51,.16);

  --serif: ui-serif, Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --header-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p  { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 24px); } }

.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;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1; text-align: center;
  transition: transform .12s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #24314a; box-shadow: var(--shadow); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-2); box-shadow: var(--shadow); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------------------------------------------------------------- header */

.announce {
  background: var(--navy-deep); color: #D5DEEE; text-align: center;
  font-size: .8rem; letter-spacing: .02em; padding: 7px 12px;
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,248,243,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex; align-items: center; gap: 14px;
  height: var(--header-h);
}
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 38px; width: auto; }
/* Shown only when the logo image request fails — see the onerror in header.php. */
.logo-text { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
@media (min-width: 900px) { .logo img { height: 44px; } }
@media (max-width: 380px) { .logo img { height: 32px; } }

.nav-main { display: none; gap: 22px; margin-left: 18px; flex: 1; }
.nav-main a { font-size: .9rem; color: var(--ink-2); padding: 6px 0; position: relative; }
.nav-main a:hover, .nav-main a.on { color: var(--ink); }
.nav-main a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; position: relative;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 21px; height: 21px; stroke: var(--ink); fill: none; stroke-width: 1.7; }
.badge-count {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--gold); color: #fff;
  font-size: .66rem; font-weight: 700; display: grid; place-items: center; line-height: 1;
}

@media (min-width: 900px) {
  .nav-main { display: flex; }
  .menu-toggle { display: none; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); z-index: 90;
  background: var(--paper); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 18px; overflow-y: auto;
}
.drawer.open { transform: none; }
.drawer a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.scrim {
  position: fixed; inset: 0; background: rgba(6,23,53,.45); z-index: 80;
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.scrim.on { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------- hero */

.hero {
  display: grid; gap: 26px; align-items: center;
  padding: 34px 0 12px;
}
.hero-copy .eyebrow {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 12px;
}
.hero-copy p.lede { font-size: 1.05rem; color: var(--ink-2); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 1fr; gap: 54px; padding: 56px 0 26px; }
}

/* seller card — mirrors the Etsy "Made by" badge */
.seller-card {
  display: flex; align-items: center; gap: 13px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 18px 9px 9px; margin-top: 24px; width: fit-content;
  box-shadow: var(--shadow);
}
.seller-card img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.seller-card .who { font-weight: 700; font-size: .92rem; }
.seller-card .role { font-size: .78rem; color: var(--muted); }
.seller-rating { display: flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 600; }
.star-seller {
  font-size: .68rem; font-weight: 700; color: #7B2E80; background: #F7E9F8;
  border: 1px solid #E9CDEB; border-radius: 999px; padding: 2px 9px; white-space: nowrap;
}

/* ---------------------------------------------------------------- trust strip */

.trust {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; margin: 30px 0;
}
.trust div { background: var(--paper); padding: 16px 14px; text-align: center; }
.trust svg { width: 22px; height: 22px; margin: 0 auto 7px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.trust b { display: block; font-size: .86rem; }
.trust span { font-size: .74rem; color: var(--muted); }
@media (min-width: 700px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------------------------------------------------- sections */

.section { padding: 42px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head p { color: var(--muted); margin: 4px 0 0; font-size: .93rem; }
.section-head a { font-size: .88rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
.section-alt { background: var(--paper-2); }

/* ---------------------------------------------------------------- product grid */

.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #D8CBB4; }
.card-media { position: relative; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .alt-img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.card:hover .card-media .alt-img { opacity: 1; }

.card-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--gold); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.card-body { padding: 13px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: .93rem; font-weight: 600; line-height: 1.36; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.card-price { margin-top: auto; font-weight: 700; font-size: 1.02rem; }
.card-price .from { font-weight: 400; font-size: .76rem; color: var(--muted); }
.card-price del { color: var(--muted); font-weight: 400; font-size: .84rem; margin-left: 6px; }

/* stars */
.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars .star { fill: var(--star-off); }
.stars .star.on { fill: var(--star); }

/* ---------------------------------------------------------------- product page */

.product { display: grid; gap: 28px; padding: 24px 0 40px; }
@media (min-width: 950px) { .product { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; } }

/* gallery layout now lives in components.css (Etsy left-rail) */

@media (min-width: 950px) { .gallery-col { position: sticky; top: calc(var(--header-h) + 16px); } }

.p-title { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 10px; }
.p-rating { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-2); margin-bottom: 14px; }
.p-rating a { color: var(--gold); font-weight: 600; }
.p-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.p-price .now { font-size: 1.75rem; font-weight: 700; font-family: var(--serif); }
.p-price del { color: var(--muted); font-size: 1rem; }
.p-price .save { background: var(--gold-soft); color: #8A6A26; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.p-ship { font-size: .84rem; color: var(--green); font-weight: 600; margin-bottom: 20px; }

.opt { margin-bottom: 18px; }
.opt > label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.opt select, .opt input[type=text], .opt textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--card); font-size: .95rem;
}
.opt select:focus, .opt input:focus, .opt textarea:focus { outline: 2px solid var(--gold-2); outline-offset: -1px; border-color: var(--gold); }
.opt .hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); font-size: .87rem; transition: .14s;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.buy-stack { display: grid; gap: 10px; margin: 22px 0 14px; }

/* "Message Eray Dinçel" — sits directly under Buy Now / Add to Cart */
/* Compact: one line, no wrapping subtitle eating vertical space. */
.msg-seller {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); text-align: left; transition: .16s; min-height: 0;
}
.msg-seller:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.msg-seller img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.msg-seller .t { font-size: .87rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-seller .s { display: none; }
.msg-seller svg { width: 17px; height: 17px; margin-left: auto; stroke: var(--muted); fill: none; stroke-width: 1.8; flex: none; }

/* the review section once it has been lifted into the product column on phones */
.product .section-inline { padding: 4px 0 0; }
.product .section-inline > .wrap { width: 100%; }
.product .section-inline .section-head { margin-bottom: 16px; }
.product .section-inline h2 { font-size: 1.25rem; }
.product .section-inline .panel { padding: 4px 16px; }

.p-accordion { border-top: 1px solid var(--line); margin-top: 22px; }
.p-accordion details { border-bottom: 1px solid var(--line); }
.p-accordion summary {
  padding: 15px 2px; font-weight: 600; font-size: .95rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.p-accordion summary::-webkit-details-marker { display: none; }
.p-accordion summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); font-weight: 400; }
.p-accordion details[open] summary::after { content: "\2013"; }
.p-accordion .acc-body { padding: 0 2px 18px; color: var(--ink-2); font-size: .93rem; }
.p-accordion .acc-body :where(p, ul, ol) { margin-top: 0; }

/* ---------------------------------------------------------------- reviews */

.review-summary {
  display: grid; gap: 18px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
}
@media (min-width: 760px) { .review-summary { grid-template-columns: auto 1fr; gap: 34px; } }
.rs-score { text-align: center; }
.rs-score b { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; }
.rs-score span { font-size: .82rem; color: var(--muted); }

.review { border-bottom: 1px solid var(--line); padding: 20px 0; }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--gold-soft); color: var(--gold);
  display: grid; place-items: center; font-weight: 700; font-size: .9rem; flex: none;
}
.review-who b { font-size: .9rem; }
.review-who span { font-size: .76rem; color: var(--muted); display: block; }
.review p { margin: 8px 0 0; color: var(--ink-2); font-size: .94rem; }
.review-verified { font-size: .72rem; color: var(--green); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* customer photo wall */
.photo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 700px)  { .photo-wall { grid-template-columns: repeat(5, 1fr); gap: 10px; } }
@media (min-width: 1100px) { .photo-wall { grid-template-columns: repeat(10, 1fr); } }
.photo-wall img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); width: 100%; cursor: zoom-in; }

/* ---------------------------------------------------------------- cart / checkout / forms */

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.panel + .panel { margin-top: 16px; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--paper); font-size: .95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold-2); outline-offset: -1px; background: var(--card);
}
.field .err { color: var(--red); font-size: .78rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field.invalid .err { display: block; }
.row-2 { display: grid; gap: 0 14px; }
@media (min-width: 620px) { .row-2 { grid-template-columns: 1fr 1fr; } }

.line-item { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item img { width: 78px; height: 78px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.line-item .li-name { font-size: .92rem; font-weight: 600; line-height: 1.35; }
.line-item .li-opt { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.line-item .li-price { margin-left: auto; font-weight: 700; white-space: nowrap; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 32px; height: 32px; background: var(--card); border: 0; font-size: 1.1rem; line-height: 1; }
.qty button:hover { background: var(--paper-2); }
.qty span { min-width: 32px; text-align: center; font-size: .9rem; font-weight: 600; }

.totals { font-size: .93rem; }
.totals div { display: flex; justify-content: space-between; padding: 7px 0; }
.totals .grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 13px; font-size: 1.15rem; font-weight: 700; }

.checkout-grid { display: grid; gap: 20px; padding: 24px 0 46px; }
@media (min-width: 950px) { .checkout-grid { grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: start; }
  .checkout-side { position: sticky; top: calc(var(--header-h) + 16px); } }

/* ------------------------------------------------- checkout autofill prompt
   Sits bottom-left so it never covers the sticky order summary or the Place
   order button on a phone. */
.af-pop {
  position: fixed; left: 18px; bottom: 18px; z-index: 118;
  width: min(92vw, 372px);
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 40px 14px 14px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(14px); transition: opacity .26s, transform .26s;
}
/* display:flex would otherwise beat the [hidden] attribute and leave it on screen */
.af-pop[hidden], .af-actions[hidden], .af-bar[hidden] { display: none; }
.af-pop.in { opacity: 1; transform: none; }
.af-pop.done { border-color: var(--gold); }
.af-ic {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold-soft);
}
.af-ic svg { width: 19px; height: 19px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.af-pop:not(.done) .af-ic svg { animation: afSpin 1s linear infinite; }
@keyframes afSpin { to { transform: rotate(360deg); } }
.af-body { flex: 1; min-width: 0; }
.af-title { font-weight: 700; font-size: .94rem; }
.af-sub { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.af-bar { height: 3px; border-radius: 99px; background: var(--line); margin-top: 9px; overflow: hidden; }
.af-bar i { display: block; height: 100%; width: 40%; background: var(--gold); border-radius: 99px; animation: afBar 1.1s ease-in-out infinite; }
@keyframes afBar { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
.af-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.af-btn {
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  font: inherit; font-size: .8rem; padding: 6px 11px; border-radius: 99px; cursor: pointer;
}
.af-btn:hover { border-color: var(--ink-2); color: var(--ink); }
.af-btn-main { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.af-btn-main:hover { color: #fff; opacity: .9; }
.af-x {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px;
  border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: 50%;
}
.af-x svg { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; }
.af-x:hover { background: var(--paper-2); }
.af-x:hover svg { stroke: var(--ink); }
/* A field the autofill just wrote — a brief flash, so the shopper can see what
   changed rather than finding a mysteriously full form. */
.af-lit { background: var(--gold-soft) !important; transition: background .9s ease-out; }
@media (max-width: 600px) { .af-pop { left: 10px; right: 10px; width: auto; bottom: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .af-pop { transition: none; }
  .af-pop:not(.done) .af-ic svg, .af-bar i { animation: none; }
}

/* ---------------------------------------------------------------- toast / notification */

.toast-host {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 120;
  display: flex; flex-direction: column; gap: 10px; width: min(94vw, 420px);
}
.toast {
  display: flex; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; box-shadow: var(--shadow-lg);
  animation: toastIn .32s cubic-bezier(.2,.8,.3,1);
}
.toast img { width: 46px; height: 46px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.toast .tt { font-size: .88rem; font-weight: 700; }
.toast .ts { font-size: .79rem; color: var(--muted); }
.toast .tx { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 1.2rem; padding: 0 4px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* social proof ticker — drops in from the top of every page, the way a phone
   notification arrives, so a fresh order reads as news rather than as an ad
   parked in the corner. */
.sp-pop {
  /* Clears the sticky header even at the top of the page, where the announcement
     bar is still pushing it down. */
  position: fixed; top: calc(var(--header-h) + 44px); left: 50%; z-index: 78;
  display: flex; gap: 11px; align-items: center; width: min(94vw, 360px);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 34px 9px 9px; box-shadow: var(--shadow-lg);
  transform: translate(-50%, calc(-100% - 200px));
  transition: transform .45s cubic-bezier(.2,.8,.3,1), opacity .3s ease;
  opacity: 0; will-change: transform;
}
.sp-pop.on { transform: translate(-50%, 0); opacity: 1; }
.sp-pop img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.sp-pop .sp-t { font-size: .8rem; line-height: 1.32; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-pop .sp-t b { font-weight: 700; }
.sp-pop .sp-p { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.sp-pop .sp-x {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  background: none; border: 0; color: var(--muted); font-size: 1.05rem; line-height: 1; padding: 4px 6px;
}
@media (max-width: 640px) { .sp-pop { top: calc(var(--header-h) + 40px); width: calc(100% - 20px); } }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--navy-deep); color: #CFC6B8; margin-top: 50px; padding: 44px 0 26px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 700px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-footer a { color: #CFC6B8; font-size: .88rem; display: block; padding: 5px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-logo { height: 46px; width: auto; margin-bottom: 14px; }
.site-footer .about { font-size: .87rem; line-height: 1.65; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; padding: 11px 13px; border-radius: var(--r-sm);
  border: 1px solid #3B352E; background: #241F1A; color: #fff; font-size: .88rem; }
.newsletter button { padding: 11px 16px; border-radius: var(--r-sm); border: 0; background: var(--gold); color: #fff; font-weight: 600; font-size: .88rem; }
.footer-bottom { border-top: 1px solid #322C25; margin-top: 32px; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .8rem; color: #8E857A; }

/* ---------------------------------------------------------------- misc */

.breadcrumb { font-size: .8rem; color: var(--muted); padding: 14px 0 0; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 54px; height: 54px; stroke: var(--line); fill: none; stroke-width: 1.4; margin: 0 auto 16px; }

.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: var(--r); margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--paper-2); font-weight: 600; }

.pagination { display: flex; gap: 6px; justify-content: center; margin: 34px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); font-size: .88rem;
}
.pagination .on { background: var(--ink); color: #fff; border-color: var(--ink); }

.filters { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.filters select { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .87rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Load sentinel. Read back by the watchdog in includes/header.php to confirm this
   file arrived COMPLETE. Keep it as the last rule in the file. */
:root { --swan-main-ok: 1; }
