/* All Around Gifts — storefront */
:root {
  --navy: #16284f;
  --navy-2: #1f3466;
  --gold: #d4a017;
  --gold-2: #b98a0f;
  --cyan: #29a8e0;
  --ink: #1d2433;
  --muted: #667089;
  --line: #e3e6ee;
  --bg: #f7f5f0;
  --card: #ffffff;
  --ok: #1f8a57;
  --warn: #b7791f;
  --err: #c0392b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22,40,79,.06), 0 6px 20px rgba(22,40,79,.06);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Nunito Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--cyan); }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.page { padding-top: 28px; padding-bottom: 56px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.tiny { font-size: 13px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }

/* Header */
.topbar { background: var(--navy); color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: 7px 16px; letter-spacing: .02em; }
.topbar::before { content: '✦ '; color: var(--gold); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.head-row { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo img { height: 64px; width: auto; max-width: 260px; object-fit: contain; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 20px; }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--navy); }
.search { flex: 1; display: flex; max-width: 520px; margin-left: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search input { flex: 1; border: 0; background: transparent; padding: 11px 18px; font: inherit; min-width: 0; outline: none; }
.search button { border: 0; background: transparent; padding: 0 16px; color: var(--navy); cursor: pointer; }
.search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41,168,224,.15); }
.head-links { display: flex; gap: 6px; }
.head-links a { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--navy); position: relative; }
.head-links a:hover { background: var(--bg); color: var(--navy); }
.count { background: var(--gold); color: var(--navy); font-size: 12px; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }
.cat-nav { border-top: 1px solid var(--line); }
.cat-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.cat-nav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted); padding: 7px 14px; border-radius: 999px; }
.cat-nav a:hover { color: var(--navy); background: var(--bg); }
.cat-nav a.on { color: #fff; background: var(--navy); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; font-size: 15px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .1s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e2ae25; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; padding: 6px 8px; border-radius: 8px; }
.link-btn:hover { color: var(--err); background: #fbeceb; }

/* Hero */
.hero { background: radial-gradient(ellipse at 85% 20%, rgba(41,168,224,.35), transparent 55%), var(--navy); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.hero p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 520px; }
.eyebrow { display: inline-block; color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin-bottom: 14px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { max-width: 320px; justify-self: center; width: 100%; }

/* Sections + grid */
.section { margin-top: 48px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.section-head a { font-weight: 700; text-decoration: none; }
.section-title { font-size: 28px; }
.page-title { font-size: 34px; margin-bottom: 4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(22,40,79,.12); color: inherit; }
.card-img { position: relative; aspect-ratio: 1; background: #eef0f5; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 18px; }
.card-cat { font-size: 12px; font-weight: 800; color: var(--cyan); text-transform: uppercase; letter-spacing: .08em; }
.card-title { font-family: var(--body); font-size: 16px; font-weight: 700; color: var(--ink); margin: 4px 0 8px; }
.price-now { font-weight: 800; font-size: 18px; color: var(--navy); }
.price-was { color: var(--muted); font-size: 14px; }
.badge { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.badge.inline { position: static; margin-left: 6px; vertical-align: middle; }
.badge-sale { background: var(--gold); color: var(--navy); }
.badge-out { background: var(--ink); color: #fff; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; border-left: 5px solid var(--cyan); transition: border-color .15s, transform .15s; }
.cat-tile:nth-child(3n+2) { border-left-color: var(--gold); }
.cat-tile:nth-child(3n) { border-left-color: var(--navy); }
.cat-tile strong { font-size: 17px; color: var(--navy); }
.cat-tile span { color: var(--muted); font-size: 14px; }
.cat-tile:hover { transform: translateY(-2px); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 56px 0 8px; }
.perks div { background: #fff; border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; border-top: 4px solid var(--gold); }
.perks strong { color: var(--navy); }
.perks span { color: var(--muted); font-size: 14px; }
.empty { text-align: center; padding: 64px 20px; background: #fff; border-radius: var(--radius); margin-top: 32px; }

/* Listing */
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sort-form label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
select, input, textarea { font: inherit; color: inherit; }
.sort-form select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fff; text-decoration: none; font-weight: 700; border: 1px solid var(--line); }
.pager a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Product page */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.gallery-main { background: #fff; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 74px; height: 74px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #fff; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--gold); }
.buybox h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 6px 0 12px; }
.pd-price .price-now { font-size: 30px; }
.lead { font-size: 17px; color: #3a4257; }
.stock { font-weight: 800; color: var(--ok); margin: 18px 0 12px; }
.stock::before { content: '● '; }
.stock.low { color: var(--warn); }
.stock.out { color: var(--err); }
.add-form { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.qty { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding-left: 16px; font-weight: 700; font-size: 14px; color: var(--muted); }
.qty input { width: 64px; border: 0; padding: 12px; background: transparent; text-align: center; font-weight: 800; outline: none; }
.assure { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.assure li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.desc .prose { background: #fff; padding: 24px 28px; border-radius: var(--radius); max-width: 820px; }

/* Panels / forms */
.panel { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 18px; }
.panel h2 { font-size: 22px; }
.two-col { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sticky { position: sticky; top: 140px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 5px; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: 11px 14px; border: 1px solid #cfd4e0; border-radius: 10px; background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41,168,224,.15); }
.field input:disabled { background: var(--bg); color: var(--muted); }
.field em, .err-text { display: block; color: var(--err); font-style: normal; font-size: 13px; margin-top: 4px; }
.has-err input { border-color: var(--err); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 700; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
#pw { margin-top: 14px; }
.pay-opt { display: flex; gap: 14px; padding: 16px; border: 2px solid var(--line); border-radius: 12px; margin-bottom: 10px; cursor: pointer; align-items: flex-start; }
.pay-opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); }
.pay-opt span { display: flex; flex-direction: column; }
.pay-opt small { color: var(--muted); }
.pay-opt:has(input:checked) { border-color: var(--navy); background: #f4f6fb; }
.auth { max-width: 520px; }
.auth h1 { font-size: 30px; }

/* Basket */
.line { display: grid; grid-template-columns: 72px 1fr 80px 90px 36px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #eef0f5; }
.line-info { display: flex; flex-direction: column; }
.line-info a { font-weight: 700; text-decoration: none; }
.line-qty { width: 100%; padding: 9px; border: 1px solid #cfd4e0; border-radius: 10px; text-align: center; }
.line-total { text-align: right; }
.line-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 10px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 16px 0; }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.panel dl:not(.kv) { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 16px 0 0; }
.panel dl:not(.kv) dd { margin: 0; text-align: right; font-weight: 700; }
dt.total, dd.total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 19px; font-weight: 800; color: var(--navy); }
.mini-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.nudge { background: #fdf6e3; color: #7a5a06; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }

/* Order page */
.thanks { text-align: center; padding: 20px 0 12px; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 32px; display: grid; place-items: center; margin: 0 auto 14px; }
.tracker { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 24px 0; counter-reset: s; }
.tracker li { text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); position: relative; }
.tracker li span { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--line); margin: 0 auto 8px; position: relative; z-index: 1; }
.tracker li:not(:first-child)::before { content: ''; position: absolute; top: 8px; right: 50%; width: 100%; height: 3px; background: var(--line); }
.tracker li.done { color: var(--navy); }
.tracker li.done span, .tracker li.done::before { background: var(--gold); }
.bankbox { border: 2px solid var(--gold); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; margin: 0 0 12px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #eef0f5; color: var(--ink); }
.pill-ok, .pill-completed { background: #e3f4ea; color: var(--ok); }
.pill-warn, .pill-awaiting_payment { background: #fdf3dc; color: #8a5d00; }
.pill-processing { background: #e2f3fb; color: #0f6f99; }
.pill-shipped { background: #e6e9f5; color: var(--navy); }
.pill-cancelled, .pill-refunded { background: #fbe9e7; color: var(--err); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); }

/* Flash */
.flash { padding: 12px 16px; border-radius: 12px; margin: 16px 0 0; font-weight: 600; font-size: 15px; }
.flash-ok { background: #e3f4ea; color: #145c3a; }
.flash-info { background: #e2f3fb; color: #0b5778; }
.flash-err { background: #fbe9e7; color: #922b1f; }
.panel .flash { margin: 0 0 14px; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); margin-top: 40px; padding-top: 48px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 32px; }
.foot-brand { font-family: var(--display); font-size: 24px; color: #fff; font-weight: 700; }
.site-footer h4 { color: var(--gold); margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { display: block; color: rgba(255,255,255,.85); text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: var(--cyan); }
.site-footer p { margin: 6px 0; }
.foot-base { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 22px; font-size: 13px; flex-wrap: wrap; }
.pay-icons { display: flex; gap: 8px; }
.pay-icons span { border: 1px solid rgba(255,255,255,.3); padding: 2px 10px; border-radius: 6px; }

/* Responsive */
@media (max-width: 900px) {
  .product, .two-col { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 44px; }
  .hero-art { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .head-row { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .head-links { margin-left: auto; }
  .head-links span { display: none; }
  .logo-text { font-size: 19px; }
  .logo img { height: 48px; max-width: 180px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 10px 12px 14px; }
  .card-title { font-size: 14px; }
  .perks, .two-up, .row2 { grid-template-columns: 1fr; }
  .line { grid-template-columns: 56px 1fr 64px 32px; }
  .line img { width: 56px; height: 56px; }
  .line-total { display: none; }
  .kv { grid-template-columns: 1fr; gap: 0 0; }
  .kv dd { margin-bottom: 8px; }
  .page-title { font-size: 28px; }
}
.pd-cats a { color: inherit; text-decoration: none; }
.pd-cats a:hover { text-decoration: underline; }

/* Info pages */
.legal { padding: 28px 32px; font-size: 16px; }
.legal h2 { font-size: 22px; margin: 30px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--body); font-size: 16px; font-weight: 800; color: var(--navy); margin: 20px 0 8px; }
.legal p, .legal li { color: #3a4257; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--gold); }
.legal .info-box { background: #e9f6fc; border-left: 5px solid var(--cyan); border-radius: 10px; padding: 14px 18px; margin: 0 0 18px; color: var(--navy); font-weight: 600; }
.contact-card { margin-top: 26px; padding: 28px 30px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--navy) 0%, #1f4f8a 55%, var(--cyan) 100%); box-shadow: var(--shadow); }
.contact-card h2 { color: #fff; margin-bottom: 6px; }
.contact-card p { color: rgba(255,255,255,.85); margin: 0 0 14px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-row a { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; text-decoration: none; padding: 9px 16px; border-radius: 999px; font-weight: 700; }
.contact-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.contact-addr { margin-top: 14px !important; font-size: 14px; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.legal-links a { font-weight: 700; text-decoration: none; }
@media (max-width: 640px) { .legal { padding: 20px 18px; } }
.nf-search { max-width: 460px; margin: 18px auto 20px; }
#card-container { min-height: 90px; margin-bottom: 14px; }
.secure-note { margin-top: 14px; }
