/* StarrCart styles. Colors from the owner's app, adjusted for WCAG 2.2 AA (AAA text contrast). */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --cream: #FFF8F1;
  --white: #FFFFFF;
  --ink: #1B1B2F;        /* all text: 16.6:1 on cream */
  --navy: #1F2A5A;       /* dark accent with white text: 13.9:1 */
  --amber: #E8A317;      /* buttons/pills with ink text: 8.6:1 */
  --amber-soft: #FBE3B0;
  --line: #1B1B2F;
  --focus: #1B1B2F;
  --focus-halo: #FFC93C;
  --radius: 18px;
  --shadow: 0 2px 10px rgba(27, 27, 47, .12);
  --base: 1.125rem;      /* 18px */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
}
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
html.text-large { font-size: 118.75%; }   /* 19px root -> ~21px body */
html.text-larger { font-size: 137.5%; }   /* 22px root -> ~25px body */
html.high-contrast {
  --cream: #FFFFFF; --white: #FFFFFF; --ink: #000000; --navy: #000000; --amber: #FFD34D; --amber-soft: #FFFFFF;
  --line: #000000; --shadow: none;
}
html.high-contrast .card, html.high-contrast .kit, html.high-contrast dialog, html.high-contrast .panel { border: 3px solid #000; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: var(--base); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 70ch; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 4px; }

/* Focus: thick dark ring + bright halo, visible on cream, white, amber and navy */
:focus-visible { outline: 4px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 8px var(--focus-halo); border-radius: 6px; }
.on-dark :focus-visible, .btn-dark:focus-visible { outline-color: var(--focus-halo); box-shadow: 0 0 0 8px var(--ink); }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1200px, 100% - 2rem); margin-inline: auto; }

/* Preview banner */
.preview-banner { background: var(--ink); color: #fff; padding: .75rem 0; font-weight: 700; }
.preview-banner p { margin: 0; max-width: none; }
.preview-banner a { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 2px solid var(--line); }
.header-row { display: flex; align-items: center; gap: .75rem 1rem; flex-wrap: wrap; padding: .6rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--serif); font-size: 1.75rem; font-weight: 900; color: var(--ink); margin-right: auto; }
.brand svg { width: 48px; height: 48px; flex: none; }
.header-nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.header-nav a, .icon-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: .4rem .9rem; border-radius: 999px; font-weight: 700; color: var(--ink); text-decoration: none; background: transparent; border: 2px solid transparent; font: inherit; font-weight: 700; cursor: pointer; }
.header-nav a:hover, .icon-btn:hover { border-color: var(--line); }
.icon-btn svg { width: 24px; height: 24px; }
.count { display: inline-grid; place-items: center; min-width: 1.75rem; height: 1.75rem; padding: 0 .35rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: 1rem; }
.settings { display: flex; gap: .5rem; flex-wrap: wrap; }
.toggle { min-height: 44px; padding: .3rem .8rem; border-radius: 10px; border: 2px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; }
.toggle[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Category pills */
.pills { display: flex; gap: .5rem; overflow-x: auto; padding: .5rem 0 .75rem; scrollbar-width: thin; }
.pill { flex: none; min-height: 48px; padding: .45rem 1.15rem; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.pill[aria-pressed="true"] { background: var(--amber); }
.pill[aria-pressed="true"]::before { content: "✓ "; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .7rem 1.5rem; border-radius: 999px; border: 2px solid var(--line); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: var(--white); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { background: #E9E4DD; color: var(--ink); border-style: dashed; cursor: not-allowed; }
html.high-contrast .btn[disabled] { background: #fff; }

/* Hero */
.hero { padding: 2.5rem 0 2rem; }
.hero-card { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(1.5rem, 5vw, 3.5rem); display: grid; gap: 1rem; }
.hero-card h1, .hero-card p { color: #fff; }
.hero-card .tagline { font-size: 1.35rem; font-weight: 700; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-actions .btn-light { border-color: #fff; }

/* Trending strip */
.trending { background: var(--amber); border: 2px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; gap: .5rem 1.5rem; flex-wrap: wrap; align-items: center; margin: 1.5rem 0; }
.trending h2 { font-size: 1.4rem; margin: 0; }
.timer { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.trending .note { margin: 0; font-weight: 700; }

section { padding: 1.5rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head p { margin: 0; }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 2px solid transparent; }
.card-img { position: relative; background: var(--cream); aspect-ratio: 1 / 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: .75rem; left: .75rem; background: var(--ink); color: #fff; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; font-size: 1rem; }
.card-body { padding: 1rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card h3 { font-size: 1.2rem; margin: 0; }
.card h3 button { all: unset; cursor: pointer; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card h3 button:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 8px var(--focus-halo); }
.price-bar { display: inline-block; align-self: flex-start; background: var(--ink); color: #fff; font-weight: 700; font-size: 1.25rem; padding: .25rem .8rem; border-radius: 10px; }
.delivery { font-weight: 700; margin: 0; }
.sample-tag { display: inline-block; align-self: flex-start; border: 2px dashed var(--ink); padding: .1rem .6rem; border-radius: 8px; font-weight: 700; font-size: 1rem; background: var(--amber-soft); }
.card-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; }
.card-actions .btn { min-height: 48px; padding: .5rem 1rem; flex: 1; }
.save-btn[aria-pressed="true"] { background: var(--amber); }

/* Toolbar */
.toolbar { display: flex; gap: 1rem; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; }
.field { display: flex; flex-direction: column; gap: .25rem; }
.field label, legend { font-weight: 700; }
input[type="search"], select, input[type="number"], input[type="email"] { font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 10px; min-height: 48px; padding: .4rem .75rem; }
input[type="search"] { width: min(28rem, 80vw); }
.result-count { font-weight: 700; }

/* Kits */
.kits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.kit { background: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .6rem; }
.kit ul { margin: 0; padding-left: 1.25rem; }

/* Lookbook */
.look-cat { margin-bottom: 1.5rem; }
.look-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(45%, 160px), 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.look-grid button { all: unset; display: block; cursor: pointer; border-radius: 14px; overflow: hidden; background: var(--white); border: 2px solid var(--line); }
.look-grid button:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 8px var(--focus-halo); }
.look-grid span { display: block; padding: .4rem .6rem; font-weight: 700; }

/* Panels, dialogs */
.panel { background: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
dialog { border: 3px solid var(--line); border-radius: 22px; padding: 0; color: var(--ink); background: var(--white); width: min(760px, 100% - 1.5rem); max-height: calc(100% - 1.5rem); }
dialog::backdrop { background: rgba(27, 27, 47, .65); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 2px solid var(--line); position: sticky; top: 0; background: var(--white); z-index: 1; }
.dialog-head h2 { margin: 0; font-size: 1.6rem; }
.dialog-body { padding: 1.25rem; display: grid; gap: 1rem; }
.close-btn { min-height: 48px; min-width: 48px; }
.sheet-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .sheet-grid { grid-template-columns: 1fr 1fr; } }
fieldset { border: 2px solid var(--line); border-radius: 14px; padding: .75rem 1rem 1rem; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; min-width: 56px; justify-content: center; padding: .3rem .9rem; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; cursor: pointer; background: var(--white); }
.choice input:checked + span { background: var(--ink); color: #fff; }
.choice input:checked + span::before { content: "✓ "; }
.choice input:focus-visible + span { outline: 4px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 8px var(--focus-halo); }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.cart-line { display: grid; grid-template-columns: 80px 1fr; gap: .75rem; border-bottom: 2px solid var(--line); padding-bottom: 1rem; }
.qty { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.qty button { min-width: 48px; min-height: 48px; }
.totals { display: grid; gap: .25rem; font-size: 1.15rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; }
.totals .grand { font-weight: 700; font-size: 1.35rem; border-top: 2px solid var(--line); padding-top: .5rem; }
.notice { border: 3px solid var(--ink); background: var(--amber-soft); border-radius: 14px; padding: .75rem 1rem; font-weight: 700; }
.notice p { margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; margin-top: 2rem; padding: 2rem 0; }
.site-footer a, .site-footer p, .site-footer h2 { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.footer-links a { display: inline-block; padding: .4rem 0; font-weight: 700; }

/* Content pages */
.page { padding: 2rem 0; }
.page .panel { max-width: 860px; }
table { border-collapse: collapse; width: 100%; background: var(--white); }
th, td { border: 2px solid var(--line); padding: .5rem .75rem; text-align: left; }
th { background: var(--cream); }
.table-scroll { overflow-x: auto; }
.edit-me { background: var(--amber-soft); border: 2px dashed var(--ink); padding: 0 .3rem; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .pill, .card { transition: transform .15s ease, background-color .15s ease; }
  .btn:hover { transform: translateY(-1px); }
}
@media (max-width: 640px) {
  .brand { font-size: 1.4rem; }
  .brand svg { width: 40px; height: 40px; }
  .header-nav a, .icon-btn { padding: .3rem .6rem; }
}
@media (forced-colors: active) {
  .pill[aria-pressed="true"], .toggle[aria-pressed="true"], .choice input:checked + span { outline: 3px solid CanvasText; }
  .price-bar, .badge { border: 2px solid CanvasText; }
}

/* Sticky header only where there is room; on phones, short screens and 200%+ zoom it scrolls away
   so it never covers half the screen or hides the focused item (WCAG 2.4.11, 1.4.10). */
@media (min-width: 900px) and (min-height: 640px) {
  html { scroll-padding-top: 11rem; }
  html.text-large { scroll-padding-top: 13rem; }
  html.text-larger { scroll-padding-top: 15rem; }
}
@media (max-width: 899.98px), (max-height: 639.98px) {
  .site-header { position: static; }
}
@media (max-width: 640px) {
  .header-row { gap: .25rem .5rem; }
  .header-nav { width: 100%; }
}
.search-form { display: flex; gap: .5rem; align-items: end; flex-wrap: wrap; }

/* Track your order + order number */
input[type="text"] { font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 10px; min-height: 48px; padding: .4rem .75rem; width: min(28rem, 80vw); }
input[type="email"] { width: min(28rem, 80vw); }
.track-form { display: flex; flex-direction: column; gap: 1rem; margin: 1rem 0 1.5rem; }
.order-number { font-size: 1.6em; font-weight: 700; letter-spacing: .05em; margin: .25rem 0; }
.track-result:empty { display: none; }
.track-result { margin-top: 1rem; }
#order-number-box { margin: 1rem 0 1.25rem; }
a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }

/* Search: no-results help with department buttons */
.search-help { margin-top: 1rem; }
.search-help h3 { margin-top: 0; }
.dept-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }

/* Shop by department: big, high-contrast buttons near the top (one tap per department) */
.departments { padding: 1rem 0 .5rem; }
.dept-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: .75rem; }
.dept-tile { display: flex; flex-direction: column; justify-content: center; gap: .15rem; min-height: 88px; padding: .85rem 1rem; border-radius: var(--radius); border: 3px solid var(--line); background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; }
.dept-tile:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.dept-name { font-size: 1.35rem; line-height: 1.2; }
.dept-count { font-size: 1.05rem; font-weight: 400; }
.dept-tile[aria-current="true"] { background: var(--amber); color: var(--ink); }
.dept-tile[aria-current="true"] .dept-name::before { content: "✓ "; }
.dept-all { background: var(--white); color: var(--ink); }
.dept-tile:focus-visible { outline: 4px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 8px var(--focus-halo); }
.look-count { font-family: var(--sans); font-size: 1rem; font-weight: 400; }
@media (forced-colors: active) { .dept-tile { border: 3px solid CanvasText; } .dept-tile[aria-current="true"] { outline: 3px solid CanvasText; } }

/* Last Chance label on cards and product sheets: dark text on a light amber box, bold. */
.stock-note { margin: .35rem 0; }
.stock-note strong { display: inline-block; padding: .15rem .5rem; border: 2px solid var(--ink); border-radius: 6px; background: #fff3c4; color: var(--ink); }
.dept-note p { font-size: 1.1rem; font-weight: 700; }

/* Item pages (/item/<id>): breadcrumb, photos, share box */
.breadcrumb ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-weight: 700; }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; color: var(--ink); }
.breadcrumb a { display: inline-block; padding: .35rem 0; }
.item-page .panel.item-panel { max-width: 1100px; }
.item-page h1 { margin-top: 0; }
.item-photos { display: grid; gap: .75rem; align-content: start; }
.item-page fieldset { margin-bottom: 1rem; }
.item-photos img { width: 100%; height: auto; border-radius: 14px; border: 2px solid var(--line); background: var(--cream); }
.share-box { border-top: 2px solid var(--line); margin-top: 1.5rem; padding-bottom: .5rem; }
.share-url { font-weight: 700; overflow-wrap: anywhere; word-break: break-word; }
.share-status { font-weight: 700; margin: .5rem 0 0; }
.share-status:empty { display: none; }
.item-link { margin: 0; }
.item-link a { display: inline-block; padding: .4rem 0; font-weight: 700; }
.more-links h2 { margin-top: 1rem; }
.more-links a.pill { display: inline-flex; align-items: center; text-decoration: none; }
.dept-links a.pill { display: inline-flex; align-items: center; text-decoration: none; }

/* About page: owner intro */
.about-intro { font-size: 1.25em; line-height: 1.6; max-width: 46rem; }

/* Favorites button: the label stays "Save to favorites"; when saved, the heart fills in and the button turns amber
   with a thick border. Screen readers hear "toggle button, pressed" from aria-pressed. */
.fav-btn { display: inline-flex; align-items: center; gap: .45rem; }
.fav-btn .heart { width: 1.35em; height: 1.35em; flex: none; }
.fav-btn .heart path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.fav-btn[aria-pressed="true"] { background: var(--amber); border-color: var(--ink); border-width: 3px; }
.fav-btn[aria-pressed="true"] .heart path { fill: currentColor; }
@media (forced-colors: active) {
  .fav-btn[aria-pressed="true"] { outline: 3px solid CanvasText; }
  .fav-btn .heart path { stroke: ButtonText; }
  .fav-btn[aria-pressed="true"] .heart path { fill: ButtonText; }
}
.fav-list, .gone-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.fav-item { display: flex; gap: 1rem; align-items: flex-start; border: 2px solid var(--line); border-radius: var(--radius); padding: .75rem; background: var(--white); }
.fav-item img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; flex: none; }
.fav-item h3 { margin: 0 0 .25rem; font-size: 1.2rem; }
.gone-list li { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
#saved-gone { margin-top: 1rem; }

/* "Get the daily drop" sign-up (footer) and the unsubscribe page */
.drop-signup { border-bottom: 2px solid #fff; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.signup-form { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; margin: .5rem 0; }
.signup-form input[type="email"] { width: min(24rem, 85vw); }
.site-footer .field label { color: #fff; }
.signup-msg { font-weight: 700; min-height: 1.5em; }
.signup-msg.is-error { border-left: 6px solid currentColor; padding-left: .6rem; }
/* Honeypot box: kept off screen; people never see or reach it, simple bots fill it in. */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.fav-item { flex-wrap: wrap; }
.fav-item > div { flex: 1 1 12rem; min-width: 0; }
.fav-item h3, .gone-list span { overflow-wrap: anywhere; }
.fav-list .btn, .gone-list .btn { white-space: normal; max-width: 100%; }

/* Store upgrades (2026-10-26): free US shipping note, Senior Discount, trust box, gift sections, "You may also like" */
.hero-card .hero-ship-note, .on-dark .hero-ship-note, .on-dark .hero-ship-note strong, .hero-card .hero-ship-note a { color: var(--ink); }
.hero-card .hero-ship-note a { text-decoration: underline; }
.hero-ship-note { background: var(--amber-soft); color: var(--ink); border: 2px solid var(--ink); border-radius: 12px; padding: .65rem .95rem; margin: 0; }
.free-ship-note { border: 2px solid var(--ink); background: var(--amber-soft); border-radius: 12px; padding: .6rem .9rem; font-weight: 700; margin: 1rem 0; }
.senior-box { border: 2px solid var(--line); border-radius: 14px; padding: .9rem 1.1rem; margin: 1rem 0; background: var(--white); }
.senior-box h3 { margin: 0 0 .35rem; }
.senior-box p { margin: .35rem 0; }
.senior-toggle[aria-pressed="true"] { background: var(--amber); }
.senior-toggle[aria-pressed="true"]::before { content: "✓ "; }
.code-form { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: flex-end; margin-top: .75rem; }
.code-form .field { margin: 0; }
.discount-msg { font-weight: 700; min-height: 1.5em; }
.senior-note { border-left: 6px solid var(--amber); padding: .35rem .75rem; background: var(--cream); }
.cart-line .was s { text-decoration-thickness: 2px; }
.not-eligible { font-style: italic; }
.trust-box { background: var(--cream); color: var(--ink); border: 2px solid var(--line); border-radius: 14px; padding: .9rem 1.1rem; margin-top: 1rem; }
.trust-heading { margin: 0 0 .45rem; font-size: 1.15rem; font-family: var(--sans); }
.trust-list { margin: 0; padding-left: 1.25rem; }
.trust-list li { margin: .35rem 0; }
.related-section { margin-top: 2rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.related-card a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: .5rem; border: 2px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; }
.related-card a:hover .related-name, .related-card a:focus-visible .related-name { text-decoration: underline; }
.related-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: var(--cream); }
.related-name { font-weight: 700; }
.related-price { font-weight: 700; }
.gift-section { margin: 2rem 0; }

/* ---------- giveaway (2026-10-26; banner upgraded 2026-10-27) ---------- */
.giveaway-banner { margin: 1rem 0 0; background: var(--navy); color: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 1.1rem 1.25rem; }
.giveaway-banner-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.giveaway-banner-title { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; color: #fff; max-width: none; }
.giveaway-banner-lead { margin: 0; font-size: 1.2rem; font-weight: 700; color: #fff; max-width: none; flex: 1 1 14rem; }
.giveaway-banner-fine { margin: 0; font-size: 1rem; color: #fff; max-width: none; opacity: .95; flex: 1 1 100%; }
.giveaway-banner-btn { flex: none; text-decoration: none; }
.giveaway-banner-btn:hover, .giveaway-banner-btn:focus-visible { text-decoration: underline; text-decoration-thickness: 3px; }
html.high-contrast .giveaway-banner { background: #000; border-color: #000; }
html.high-contrast .giveaway-banner-title,
html.high-contrast .giveaway-banner-lead,
html.high-contrast .giveaway-banner-fine { color: #fff; }
.giveaway-lead { font-size: 1.2rem; }
.giveaway-facts li { margin: .35rem 0; }
.giveaway-entry { border: 3px solid var(--ink); border-radius: 14px; padding: 1rem 1.25rem; margin: 1.5rem 0; background: var(--white); }
.giveaway-form .field { margin: 0 0 1rem; display: flex; flex-direction: column; gap: .35rem; }
.giveaway-form input[type="email"], .giveaway-form input[type="text"], .giveaway-form input[type="password"] { width: 100%; max-width: 26rem; box-sizing: border-box; }
.giveaway-form .check, .redraw .check { display: flex; gap: .75rem; align-items: flex-start; margin: 0 0 1rem; }
.giveaway-form .check input, .redraw .check input { width: 28px; height: 28px; flex: none; margin: .15rem 0 0; accent-color: var(--ink); }
.field-help, .form-note { margin: 0; font-size: 1rem; }
.giveaway-closed { font-size: 1.2rem; }
.rules-caps { font-size: 1.05rem; }
.wheel-area { margin: 1.5rem 0; }
.wheel-box { position: relative; width: 100%; max-width: 420px; box-sizing: border-box; margin: 0 auto 1rem; }
.wheel { width: 100%; height: auto; display: block; overflow: hidden; }
.wheel-pointer { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 30px solid var(--ink); z-index: 1; }
#wheel-spin { transform-origin: 0 0; }
.wheel-result { font-size: 1.4rem; font-weight: 700; margin: 1rem 0; }
.wheel-record { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: .25rem 1rem; }
.wheel-record dt { font-weight: 700; }
.wheel-record dd { margin: 0; overflow-wrap: anywhere; }
.redraw { margin-top: 1.5rem; }
.redraw .field { display: flex; flex-direction: column; gap: .35rem; margin: .75rem 0; }
@media (prefers-reduced-motion: reduce) { #wheel-spin { transition: none !important; } }
.private-record { margin: 1rem 0; }

.giveaway-entry { min-width: 0; overflow-wrap: anywhere; }
.url-link { overflow-wrap: anywhere; word-break: break-word; }
#wheel-key { width: 100%; max-width: 26rem; box-sizing: border-box; }
.long-words, .long-words h1, .long-words p, .long-words dd { overflow-wrap: break-word; word-break: break-word; }
