/* StoreDeals — retail-catalog identity
   ink navy / paper / marigold price stickers / cobalt actions */
:root {
  --ink: #16213e;
  --paper: #fdfcf8;
  --line: #e4e1d6;
  --marigold: #ffb703;
  --cobalt: #2457e6;
  --cobalt-dark: #1a41ad;
  --muted: #6b7080;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  overflow-x: clip;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
a { color: var(--cobalt); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; }
img { max-width: 100%; display: block; }
code { background: #f0eee5; padding: 2px 6px; border-radius: 4px; font-size: .85em; }

/* header */
.site-header { background: var(--ink); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; flex-wrap: wrap; }
.logo {
  font-family: var(--display); font-weight: 800; font-size: 1.45rem;
  color: #fff; text-decoration: none; letter-spacing: -.03em;
  display: flex; align-items: center; gap: 9px; flex-shrink: 0;
  line-height: 1;
}
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; object-fit: contain; border-radius: 6px; }
.logo-icon-sm { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }
.logo-deals { color: var(--marigold); }

/* ── unified search bar ── */
.search {
  display: flex; flex: 1; max-width: 580px; height: 44px;
  border-radius: 8px; border: 2px solid transparent;
  transition: border-color .18s;
}
.search:focus-within { border-color: var(--marigold); }

/* left white section: category select + text input */
.search-cat-wrap {
  position: relative; display: flex; align-items: stretch; flex-shrink: 0;
  background: #fff; border-radius: 6px 0 0 6px; overflow: hidden;
}
.search-cat {
  appearance: none; -webkit-appearance: none;
  background: transparent; color: #222;
  border: 0; border-right: 1.5px solid #e0ddd5;
  padding: 0 28px 0 12px;
  font: inherit; font-size: .8rem; font-weight: 600;
  cursor: pointer; max-width: 115px; height: 100%;
}
.search-cat:focus { outline: none; }
.search-cat option { background: #fff; color: #222; }
.search-cat-caret {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: #888; font-size: .55rem; line-height: 1;
}

/* search button */
.search button {
  border: 0; background: var(--marigold); color: var(--ink);
  padding: 0 20px; border-radius: 0 6px 6px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-weight: 700; font-size: .88rem; letter-spacing: .01em;
  transition: background .15s;
}
.search button:hover { background: #e6a800; }

/* ── sale badges, prices & countdown ── */
.card-img-wrap { position: relative; }

.sale-ribbon {
  position: absolute; top: 12px; left: -4px; z-index: 2;
  background: #e02020; color: #fff;
  font-family: var(--display); font-size: .68rem; font-weight: 800;
  letter-spacing: .08em; padding: 4px 10px 4px 12px;
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%);
  box-shadow: 2px 2px 6px rgba(0,0,0,.25);
  text-transform: uppercase;
}

.price-block { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.price-original {
  display: inline-block; font-size: .78rem; color: var(--muted);
  text-decoration: line-through; font-weight: 500;
}
.price-tag.price-sale, .potw-price.price-sale {
  background: #e02020; color: #fff;
  box-shadow: 1.5px 1.5px 0 rgba(0,0,0,.2);
}

.sale-countdown-wrap {
  display: flex; align-items: center; gap: 4px;
  font-size: .72rem; font-weight: 600; color: #e02020;
  white-space: nowrap;
}
.sale-countdown-wrap.sale-expired { color: var(--muted); }

/* ── sale banner on product page ── */
.sale-banner {
  background: linear-gradient(135deg, #fff0f0 0%, #fff8f0 100%);
  border: 2px solid #e02020;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 12px 0 16px;
}
.sale-banner-top {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.sale-fire { font-size: 1.2rem; }
.sale-banner-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: #e02020;
}
.sale-banner-prices { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.sale-banner-original {
  font-size: 1.1rem; color: var(--muted); text-decoration: line-through; font-weight: 500;
}
.sale-banner-price {
  font-family: var(--display); font-size: 2rem; font-weight: 800; color: #e02020; line-height: 1;
}
.sale-banner-timer {
  display: flex; align-items: center; gap: 8px;
  background: rgba(224,32,32,.08); border-radius: 8px;
  padding: 8px 12px; font-size: .85rem;
}
.sale-timer-icon { font-size: 1rem; }
.sale-timer-label { color: #6b7080; font-weight: 500; }
.sale-banner-timer strong { color: #e02020; font-size: 1rem; font-family: var(--display); font-weight: 800; }

/* ── admin product form sale section ── */
.sale-panel {
  border: 2px dashed var(--line); border-radius: 12px; padding: 18px 20px;
  background: #fdfcf8;
}
.sale-panel-head { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.sale-master-toggle { gap: 8px !important; align-items: center !important; flex-direction: row !important; }
.sale-toggle-label { font-size: 1rem; font-weight: 700; }
.sale-panel-hint { font-size: .8rem; color: var(--muted); margin: 0; }
.sale-fields { margin-top: 14px; }
.sale-preview-note {
  margin-top: 10px; padding: 10px 14px;
  background: #fff4d6; border-radius: 8px; border-left: 3px solid var(--marigold);
  font-size: .82rem; color: #5a4a00; line-height: 1.5;
}

/* ── search autocomplete ── */
.search-wrap { position: relative; flex: 1; display: flex; background: #fff; }
.search-wrap input {
  flex: 1; min-width: 0; border: 0; padding: 0 14px; border-radius: 0; font: inherit;
  font-size: .9rem; color: #111; background: transparent;
}
.search-wrap input:focus { outline: none; }
.search-wrap input::placeholder { color: #aaa; }
.search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 48px rgba(22,33,62,.18); z-index: 500;
  overflow: hidden; max-height: 480px; overflow-y: auto;
}
.sd-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line);
  transition: background .1s;
}
.sd-item:last-of-type { border-bottom: none; }
.sd-item:hover, .sd-item.active { background: #f4f3ec; }
.sd-item.active .sd-title { color: var(--cobalt); }
.sd-thumb {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 9px;
  background: #f0eee5; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.sd-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; display: block; }
.sd-ph { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--line); }
.sd-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sd-title { font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-title mark { background: none; color: var(--cobalt); font-weight: 700; }
.sd-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sd-cat { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.sd-stars { font-size: .7rem; color: var(--marigold); letter-spacing: .02em; }
.sd-price { font-size: .72rem; font-weight: 700; background: var(--marigold); color: var(--ink); padding: 1px 7px; border-radius: 4px; }
.sd-arr { color: var(--muted); font-size: .9rem; flex-shrink: 0; opacity: 0; transition: opacity .1s, transform .1s; }
.sd-item:hover .sd-arr, .sd-item.active .sd-arr { opacity: 1; transform: translateX(3px); }
.sd-footer { padding: 9px 14px; font-size: .78rem; color: var(--muted); background: #faf9f4; border-top: 1px solid var(--line); }
.sd-footer strong { color: var(--ink); }

/* ── hero ── */
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--cobalt); margin: 0; }

.hero-shell {
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  background: linear-gradient(150deg, #0d1b36 0%, #16213e 50%, #1c2f58 100%);
  overflow: hidden;
}
.hero-shell::before {
  content: ''; position: absolute; top: -90px; right: 8%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,183,3,.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero-shell::after {
  content: ''; position: absolute; bottom: -50px; left: 5%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(36,87,230,.2) 0%, transparent 65%);
  pointer-events: none;
}
.hero { padding: 68px 0 56px; text-align: center; position: relative; z-index: 1; }
.hero-eyebrow { color: var(--marigold) !important; }
.hero-h1 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; color: #fff;
  margin: 10px auto 0; max-width: 22ch; line-height: 1.1;
}
.hero-sub {
  color: rgba(255,255,255,.6); font-size: 1.05rem; line-height: 1.65;
  margin: 16px auto 0; max-width: 46ch;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0; margin-top: 40px;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; padding: 0 32px; }
.hero-stat-n { font-family: var(--display); font-size: 1.6rem; font-weight: 800; color: var(--marigold); line-height: 1; }
.hero-stat-l { color: rgba(255,255,255,.5); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; margin-top: 5px; }
.hero-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,.14); }

/* categories */
.cats { display: flex; gap: 8px; flex-wrap: wrap; padding: 24px 0; }
.cat { text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; background: #fff; }
.cat span { color: var(--muted); font-size: .8em; }
.cat.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.results-note { color: var(--muted); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; padding-bottom: 56px; }
.card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(22,33,62,.10); }
.card.featured { border-color: var(--line); }
.card-link { text-decoration: none; color: inherit; flex: 1; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 4/3; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.placeholder { font-family: var(--display); font-size: 3rem; font-weight: 800; color: var(--line); }
.placeholder.big { aspect-ratio: 1; font-size: 6rem; border-radius: 14px; }
.card-body { padding: 14px 16px 4px; }
.card-cat { text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 600; color: var(--muted); margin: 0 0 4px; }
.card-body h2 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.stars { color: var(--marigold); margin: 6px 0 0; font-size: .95rem; letter-spacing: .05em; }
.stars span { color: var(--muted); font-size: .8rem; letter-spacing: 0; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 16px; }

/* the signature: price sticker */
.price-tag {
  display: inline-block; background: var(--marigold); color: var(--ink);
  font-weight: 700; font-size: .85rem; padding: 4px 10px;
  border-radius: 4px; transform: rotate(-2deg);
  box-shadow: 1.5px 1.5px 0 var(--ink);
}
.price-tag.large { font-size: 1.15rem; padding: 6px 14px; margin: 12px 0; }

/* actions */
.btn-go {
  display: inline-block; background: var(--cobalt); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 8px; border: 0; cursor: pointer;
  white-space: nowrap;
}
.btn-go:hover { background: var(--cobalt-dark); }
.btn-go.big { font-size: 1.05rem; padding: 14px 26px; margin-top: 16px; }

/* product page */
.crumbs { padding: 20px 0; font-size: .9rem; color: var(--muted); }
.product { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.product-media img { border: 1.5px solid var(--line); border-radius: 14px; background: #fff; padding: 20px; }
.product-info h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 4px 0 8px; }
.desc { color: #3a3f50; }
.desc-body { font-size: .97rem; line-height: 1.7; color: #3a3f50; }
.desc-body p { margin: .65rem 0; }
.desc-body ul, .desc-body ol { padding-left: 1.4rem; margin: .65rem 0; }
.desc-body li { margin: .35rem 0; }
.desc-body h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 700; color: #16213e; margin: 1.1rem 0 .4rem; }
.desc-body strong, .desc-body b { font-weight: 700; color: #16213e; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.pros, .cons { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.pros h3 { color: #1a7f3c; } .cons h3 { color: #b3471d; }
.pros h3, .cons h3 { margin: 0 0 8px; font-size: .95rem; }
.pros ul, .cons ul { margin: 0; padding-left: 18px; font-size: .92rem; }
.related { padding: 32px 0 16px; border-top: 1.5px solid var(--line); }
.empty { padding: 40px 0; color: var(--muted); }

/* ── products of the week carousel ── */
.potw-shell {
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  background: #1a2850;
  padding: 48px 0 44px;
}
.potw { position: relative; }
.potw-eyebrow { color: var(--marigold) !important; }
.potw-title {
  font-family: var(--display); font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 800; color: #fff; margin: 5px 0 0;
}
.potw-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.potw-controls { display: flex; gap: 10px; }
.potw-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}
.potw-btn:hover { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }

.potw-track-wrap { overflow: hidden; }
.potw-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding-bottom: 6px;
}
.potw-track::-webkit-scrollbar { display: none; }
.potw-slide { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }

.potw-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.potw-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,.38); }
.potw-card-link { text-decoration: none; color: inherit; flex: 1; display: flex; flex-direction: column; }

.potw-img-wrap {
  position: relative; aspect-ratio: 4/3;
  background: #fff; overflow: hidden;
}
.potw-img { width: 100%; height: 100%; object-fit: contain; padding: 12px; display: block; }
.potw-img-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 4rem; font-weight: 800; color: var(--line);
}
.potw-num {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: var(--marigold);
  font-family: var(--display); font-weight: 800; font-size: .78rem;
  padding: 4px 10px; border-radius: 6px; letter-spacing: .05em;
}

.potw-card-body { padding: 16px 18px 8px; flex: 1; }
.potw-cat { text-transform: uppercase; letter-spacing: .1em; font-size: .67rem; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.potw-card-title {
  font-size: 1rem; font-weight: 700; margin: 0; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.potw-stars { color: var(--marigold); margin: 7px 0 0; font-size: .9rem; letter-spacing: .04em; }
.potw-stars span { color: var(--muted); font-size: .78rem; letter-spacing: 0; }
.potw-desc { color: #5a5f6e; font-size: .82rem; line-height: 1.48; margin: 8px 0 0; }

.potw-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 18px 18px; border-top: 1px solid var(--line); margin-top: auto;
}
.potw-price {
  display: inline-block; background: var(--marigold); color: var(--ink);
  font-weight: 700; font-size: .88rem; padding: 4px 11px;
  border-radius: 5px; transform: rotate(-1.5deg);
  box-shadow: 1.5px 1.5px 0 rgba(22,33,62,.25); flex-shrink: 0;
}
.potw-cta {
  display: inline-block; background: var(--cobalt); color: #fff;
  text-decoration: none; font-weight: 600; font-size: .85rem;
  padding: 8px 14px; border-radius: 8px; white-space: nowrap;
  transition: background .15s;
}
.potw-cta:hover { background: var(--cobalt-dark); color: #fff; }

.potw-progress { display: flex; gap: 6px; justify-content: center; margin-top: 22px; }
.potw-dot {
  height: 4px; width: 22px; border-radius: 2px;
  background: rgba(255,255,255,.22); border: 0; cursor: pointer; padding: 0;
  transition: background .25s, width .25s ease;
}
.potw-dot.active { background: var(--marigold); width: 44px; }

@media (max-width: 900px) {
  .potw-slide { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 560px) {
  .potw-slide { flex: 0 0 82%; }
  .potw-header { flex-wrap: wrap; gap: 12px; align-items: flex-start; }
  .hero-stat { padding: 0 18px; }
  .hero-stats { gap: 8px 0; }
}

/* error pages */
.error-page { text-align: center; padding: 80px 20px; max-width: 520px; margin: 0 auto; }
.error-code { font-family: var(--display); font-size: clamp(4rem,14vw,7rem); font-weight: 800; color: var(--line); margin: 0; line-height: 1; }
.error-title { font-size: clamp(1.4rem, 4vw, 2rem); margin: 8px 0 12px; }
.error-msg { color: var(--muted); margin-bottom: 24px; font-size: 1rem; }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.error-actions .btn-go { text-decoration: none; }
.error-hint { color: var(--muted); font-size: .88rem; }
.error-hint a { color: var(--cobalt); }

/* login lockout */
.login-lockout { background: #fff0f0; border: 1.5px solid #e02020; border-radius: 10px; padding: 14px 18px; font-size: .92rem; color: #8b0000; line-height: 1.6; }

/* footer */
.site-footer { background: var(--ink); color: #cfd3e0; margin-top: 40px; padding: 28px 0; font-size: .88rem; }
.disclosure { color: #8b91a8; font-size: .8rem; max-width: 70ch; }

/* ---------- admin ---------- */
.admin-body { background: #f4f3ec; }
.admin-badge { background: var(--marigold); color: var(--ink); font-size: .65rem; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; vertical-align: middle; font-family: var(--body); }
.admin-nav { display: flex; align-items: center; gap: 18px; }
.admin-nav a { color: #fff; text-decoration: none; font-size: .92rem; }
.admin-nav .btn-go { background: var(--marigold); color: var(--ink); }
.warn { background: #fff4d6; border: 1.5px solid var(--marigold); border-radius: 10px; padding: 12px 16px; margin-top: 20px; font-size: .92rem; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px 0 8px; }
.stat { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.stat-n { display: block; font-family: var(--display); font-weight: 800; font-size: 2rem; }
.stat-l { color: var(--muted); font-size: .85rem; }

.panel { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 20px 24px; margin: 16px 0; }
.panel h2 { margin: 0 0 14px; font-size: 1.15rem; }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.bar { width: 100%; max-width: 48px; background: var(--cobalt); border-radius: 6px 6px 0 0; min-height: 4px; }
.bar-label { font-size: .7rem; color: var(--muted); margin-top: 4px; }

.top-list { margin: 0; padding-left: 20px; }
.top-list li { padding: 4px 0; }

.ptable { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ptable th { text-align: left; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding: 8px; border-bottom: 1.5px solid var(--line); }
.ptable td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.copy-link { cursor: pointer; }
.row-actions { display: flex; gap: 10px; align-items: center; }
.row-actions form { display: inline; }
.row-actions button { background: none; border: 0; color: #c0392b; cursor: pointer; font: inherit; padding: 0; }

/* forms */
.pform { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 28px; margin: 16px 0 56px; }
.pform label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
.pform small { color: var(--muted); font-weight: 400; }
.pform input, .pform textarea { font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); }
.pform input:focus, .pform textarea:focus { outline: 2px solid var(--cobalt); border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row:has(> :nth-child(3)) { grid-template-columns: 2fr 1fr 1fr; }
.checks { display: flex; }
.check { flex-direction: row !important; align-items: center; }

/* login */
.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-card { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 36px; width: min(380px, 90vw); display: flex; flex-direction: column; gap: 14px; text-align: center; }
.login-card h1 { margin: 0; }
.login-card p { margin: 0; color: var(--muted); }
.login-card input { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; }
.error { color: #c0392b; font-weight: 600; }

/* ── site nav (deals / guides) ── */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav-link { color: rgba(255,255,255,.75); text-decoration: none; font-size: .88rem; font-weight: 500; padding: 6px 12px; border-radius: 8px; transition: color .15s, background .15s; white-space: nowrap; }
.site-nav-link:hover, .site-nav-link.active { color: #fff; background: rgba(255,255,255,.12); }

/* ── footer ── */
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 40px; padding: 48px 20px 32px; }
.footer-brand { font-family: var(--display); font-size: 1.25rem; margin: 0 0 8px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links-title { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 6px; }
.footer-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-newsletter { }
.footer-nl-sub { font-size: .88rem; color: rgba(255,255,255,.65); margin: 0 0 12px; }
.footer-nl-form { display: flex; gap: 0; }
.footer-nl-form input { flex: 1; padding: 10px 12px; border: 0; border-radius: 8px 0 0 8px; font: inherit; font-size: .9rem; background: rgba(255,255,255,.12); color: #fff; }
.footer-nl-form input::placeholder { color: rgba(255,255,255,.4); }
.footer-nl-form input:focus { outline: 2px solid var(--marigold); }
.footer-nl-form .btn-go { border-radius: 0 8px 8px 0; white-space: nowrap; }
.footer-nl-success { color: var(--marigold); font-weight: 600; font-size: .9rem; margin: 0 0 8px; }
.footer-nl-error   { color: #f87171; font-weight: 600; font-size: .9rem; margin: 0 0 8px; }

/* ── page hero (deals / best / guides) ── */
.page-hero { background: var(--ink); color: #fff; padding: 48px 0 40px; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--marigold); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 8px; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(1.8rem,4vw,2.6rem); }
.page-hero .hero-sub { margin: 0; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.deals-hero { background: linear-gradient(135deg, #1a0a0a 0%, #3d0000 100%); }
.best-hero  { background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%); }
.guides-hero { background: linear-gradient(135deg, #0a1a0a 0%, #1a3a1a 100%); }

/* ── new this week ── */
.new-this-week { padding: 40px 0 8px; }
.ntw-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.ntw-header h2 { margin: 4px 0 0; }
.ntw-all { color: var(--cobalt); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.ntw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ntw-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 48px 12px 12px; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; position: relative; overflow: hidden; }
.ntw-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.ntw-img { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--line); }
.ntw-img img { width: 100%; height: 100%; object-fit: cover; }
.ntw-ph { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; color: var(--muted); }
.ntw-cat { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 3px; }
.ntw-title { font-weight: 600; font-size: .9rem; margin: 0 0 4px; line-height: 1.3; }
.ntw-price { font-size: .85rem; margin: 0; }
.ntw-new-badge { position: absolute; top: 8px; right: 8px; background: var(--cobalt); color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .08em; padding: 2px 7px; border-radius: 20px; }

/* ── guides teaser ── */
.guides-teaser { padding: 32px 0 8px; }
.guides-teaser-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.guides-teaser-header h2 { margin: 4px 0 0; }
.guides-teaser-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 24px; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.guide-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.guide-card-lg { padding: 28px; }
.guide-card-cat { font-size: .72rem; color: var(--cobalt); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.guide-card-title { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.guide-card-lg .guide-card-title { font-size: 1.2rem; }
.guide-card-intro { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.guide-card-arrow { margin-top: auto; color: var(--cobalt); font-size: .88rem; font-weight: 600; }
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* ── guide article ── */
.guide-article { max-width: 740px; margin: 0 auto; padding: 36px 20px 64px; }
.guide-article-header { margin-bottom: 32px; border-bottom: 1.5px solid var(--line); padding-bottom: 24px; }
.guide-meta-cat { font-size: .8rem; font-weight: 700; color: var(--cobalt); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.guide-article-intro { font-size: 1.15rem; color: var(--muted); margin: 12px 0 0; line-height: 1.6; }
.guide-meta-date { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.guide-content { line-height: 1.75; }
.guide-content h2 { margin-top: 2em; }
.guide-content h3 { margin-top: 1.5em; }
.guide-content p { margin: 0 0 1.2em; }
.guide-related { margin-top: 56px; border-top: 1.5px solid var(--line); padding-top: 36px; max-width: 1080px; }
.guide-related h2 { margin-bottom: 8px; }

/* ── comparison table ── */
.comparison-table-wrap { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.comparison-table th { text-align: left; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding: 10px 12px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.comparison-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ct-row-top { background: #fffbf0; }
.ct-row-top td:first-child { border-left: 3px solid var(--marigold); }
.ct-rank { width: 48px; text-align: center; }
.ct-medal { font-size: 1.4rem; }
.ct-medal.gold { filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); }
.ct-product { display: flex; align-items: center; gap: 12px; }
.ct-img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: var(--line); flex-shrink: 0; }
.ct-title { font-weight: 600; color: var(--ink); text-decoration: none; }
.ct-title:hover { color: var(--cobalt); }
.ct-cat { font-size: .78rem; color: var(--muted); margin: 2px 0 0; }
.ct-rating { white-space: nowrap; }
.ct-stars { color: var(--marigold); }
.ct-rating-n { font-size: .85rem; color: var(--muted); }
.ct-muted { color: var(--muted); }
.ct-price { white-space: nowrap; }
.ct-orig { color: var(--muted); font-size: .85rem; }
.ct-pros-list { margin: 0; padding-left: 16px; font-size: .85rem; color: var(--muted); }
.ct-pros-list li { padding: 2px 0; }
.ct-action { text-align: center; white-space: nowrap; }

/* ── vs / compare ── */
.vs-page { max-width: 900px; margin: 0 auto; padding: 28px 20px 64px; }
.vs-header { text-align: center; margin: 24px 0 36px; }
.vs-header h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 8px; }
.vs-vs { color: var(--muted); font-weight: 400; font-size: .7em; vertical-align: middle; padding: 0 6px; }
.vs-sub { color: var(--muted); margin: 0; }
.vs-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }
.vs-col { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 24px; position: relative; }
.vs-col-left { border-color: var(--marigold); box-shadow: 0 0 0 2px var(--marigold); }
.vs-badge-pick { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--marigold); color: var(--ink); font-size: .72rem; font-weight: 800; padding: 3px 12px; border-radius: 20px; white-space: nowrap; }
.vs-img-wrap { text-align: center; margin-bottom: 16px; height: 160px; display: flex; align-items: center; justify-content: center; }
.vs-img-wrap img { max-height: 160px; object-fit: contain; }
.vs-img-ph { width: 100px; height: 100px; background: var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: var(--muted); }
.vs-cat { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 6px; }
.vs-prod-title { font-size: 1rem; margin: 0 0 8px; }
.vs-price-block { margin: 8px 0; }
.vs-table-wrap { overflow-x: auto; margin-bottom: 36px; }
.vs-table { width: 100%; border-collapse: collapse; }
.vs-table th { padding: 10px 14px; background: var(--ink); color: #fff; font-size: .85rem; text-align: left; }
.vs-table th.vs-th-label { background: #fff; }
.vs-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .92rem; }
.vs-label { font-weight: 600; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; background: #fafaf7; width: 110px; }
.vs-win { background: #f0fff4; font-weight: 600; }
.vs-list { margin: 0; padding-left: 16px; font-size: .88rem; }
.vs-list li { padding: 2px 0; color: green; }
.vs-list-cons li { color: var(--muted); list-style: none; padding-left: 0; }
.vs-list-cons li::before { content: '—'; margin-right: 6px; }
.vs-verdict { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 24px; }
.vs-verdict h2 { margin-top: 0; }
.btn-outline { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; transition: background .15s; }
.btn-outline:hover { background: var(--ink); color: #fff; }


/* ── admin status pills ── */
.dash-status-pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.dash-pill-green { background: #d4edda; color: #155724; }
.dash-pill-gray  { background: #e9ecef; color: #495057; }

/* ── product page gallery (Amazon-style: thumbs left, main image right) ── */
.pg-gallery { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; }
.pg-thumbs {
  display: flex; flex-direction: column; gap: 8px;
  width: 74px; flex-shrink: 0;
}
.pg-main-wrap {
  flex: 1; aspect-ratio: 1; max-height: 500px;
  background: #fff; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line);
}
.pg-main-img {
  width: 100%; height: 100%; object-fit: contain;
  transition: opacity .18s ease;
}
.pg-thumb {
  width: 68px; height: 68px; border-radius: 8px; overflow: hidden; cursor: pointer;
  border: 2px solid var(--line); background: #f5f4f0; padding: 0; flex-shrink: 0;
  transition: border-color .15s, box-shadow .15s;
}
.pg-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pg-thumb:hover { border-color: var(--cobalt); }
.pg-thumb--active,
.pg-thumb.active { border-color: var(--cobalt); box-shadow: 0 0 0 2px rgba(36,87,230,.4); }

/* ── admin gallery manager ── */
.gallery-manager { display: flex; flex-direction: column; gap: 12px; }
.gallery-manager-head { display: flex; flex-direction: column; gap: 3px; }
.gallery-manager-title { font-weight: 700; font-size: .9rem; }
.gallery-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery-slot {
  display: flex; flex-direction: column; gap: 6px;
  background: #fafaf7; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px;
  position: relative; cursor: grab;
  transition: box-shadow .15s;
}
.gallery-slot:active { cursor: grabbing; }
.gallery-slot.dragging { opacity: .4; }
.gallery-slot.drag-over { border-color: var(--cobalt); box-shadow: 0 0 0 2px var(--cobalt); }
.gallery-slot-thumb {
  width: 100%; aspect-ratio: 1; border-radius: 7px; overflow: hidden;
  background: #ebe9e0; display: flex; align-items: center; justify-content: center;
}
.gallery-slot-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-slot-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1.5rem; }
.gallery-primary-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--cobalt); color: #fff; font-size: .65rem; font-weight: 700;
  padding: 2px 7px; border-radius: 20px; pointer-events: none;
}
.gallery-url-input {
  font: inherit; font-size: .78rem; padding: 6px 8px;
  border: 1.5px solid var(--line); border-radius: 6px; background: #fff;
  width: 100%;
}
.gallery-url-input:focus { outline: 2px solid var(--cobalt); border-color: transparent; }
.gallery-remove-btn {
  position: absolute; top: 6px; right: 6px;
  background: rgba(0,0,0,.45); color: #fff; border: 0; border-radius: 50%;
  width: 22px; height: 22px; cursor: pointer; font-size: .7rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.gallery-remove-btn:hover { background: #c0392b; }
.gallery-add-btn {
  align-self: flex-start; background: none; border: 1.5px dashed var(--line);
  border-radius: 8px; color: var(--cobalt); cursor: pointer; font: inherit;
  font-weight: 600; font-size: .88rem; padding: 8px 16px;
  transition: border-color .15s, background .15s;
}
.gallery-add-btn:hover { border-color: var(--cobalt); background: #f0f4ff; }

/* ── customer nav ── */
.customer-nav { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cust-link { color: rgba(255,255,255,.75); text-decoration: none; font-size: .88rem; font-weight: 500; padding: 6px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.cust-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.cust-link-primary { background: var(--marigold); color: var(--ink) !important; font-weight: 600; }
.cust-link-primary:hover { background: #ffc929; }
.cust-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--marigold); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; text-decoration: none; flex-shrink: 0; }
.cust-wishlist-link { color: rgba(255,255,255,.8); text-decoration: none; display: flex; align-items: center; gap: 5px; font-size: .88rem; font-weight: 500; padding: 6px 10px; border-radius: 8px; transition: color .15s, background .15s; }
.cust-wishlist-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.cust-heart { font-size: 1.1rem; color: var(--marigold); transition: transform .2s; }
.cust-heart.has-items { color: #e02020; }

/* ── wishlist heart buttons ── */
.card-foot-actions { display: flex; align-items: center; gap: 8px; }
.wish-btn {
  background: none; border: 1.5px solid var(--line); border-radius: 8px;
  color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1;
  padding: 7px 10px; transition: color .15s, border-color .15s, background .15s, transform .15s;
  flex-shrink: 0;
}
.wish-btn:hover { color: #e02020; border-color: #e02020; background: #fff0f0; transform: scale(1.1); }
.wish-btn.active { color: #e02020; border-color: #e02020; background: #fff0f0; }
.wish-btn-lg {
  background: #fff0f0; border: 1.5px solid #e02020; border-radius: 10px;
  color: #e02020; cursor: pointer; font-size: 1rem; font-weight: 600;
  padding: 12px 20px; transition: background .15s, transform .15s;
  white-space: nowrap;
}
.wish-btn-lg:hover { background: #ffe0e0; transform: scale(1.02); }
.wish-btn-lg.active { background: #e02020; color: #fff; border-color: #e02020; }
.product-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 8px 0; }

/* ── account / wishlist page ── */
.acct-page { padding: 32px 0 64px; }
.acct-header { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1.5px solid var(--line); flex-wrap: wrap; }
.acct-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--cobalt); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.8rem; font-weight: 800; flex-shrink: 0; }
.acct-name { margin: 0; font-size: 1.6rem; }
.acct-email { margin: 4px 0 0; color: var(--muted); }
.acct-logout { margin-left: auto; color: var(--muted); font-size: .88rem; text-decoration: none; border: 1.5px solid var(--line); padding: 7px 14px; border-radius: 8px; }
.acct-logout:hover { color: var(--ink); border-color: var(--ink); }
.acct-section { margin-bottom: 48px; }
.acct-section-title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin-bottom: 20px; }
.wish-count-badge { background: var(--cobalt); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 20px; padding: 2px 9px; }
.acct-empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.acct-empty-icon { font-size: 3rem; margin: 0 0 12px; }
.acct-empty p { margin: 0 0 16px; font-size: 1.1rem; }
.acct-back { display: block; color: var(--cobalt); text-decoration: none; font-size: .88rem; margin-bottom: 4px; align-self: flex-start; }

/* account auth forms */
.login-card .acct-switch { margin: 0; font-size: .9rem; }
.login-card .acct-switch a { color: var(--cobalt); font-weight: 600; }

/* responsive */
@media (max-width: 760px) {
  .product, .pros-cons, .form-row, .form-row:has(> :nth-child(3)) { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .search { max-width: none; width: 100%; order: 3; }
  .customer-nav { order: 4; }
  .cust-label { display: none; }
  .site-nav { order: 5; }
  .product-actions { flex-direction: column; align-items: stretch; }
  .product-actions .btn-go { display: block; width: 100%; text-align: center; }
  .wish-btn-lg { text-align: center; }
  .vs-hero-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .pg-gallery { flex-direction: column-reverse; }
  .pg-thumbs { flex-direction: row; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .pg-thumb { width: 56px; height: 56px; flex-shrink: 0; }
  .pg-main-wrap { max-height: 300px; width: 100%; }
  .gallery-slots { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .footer-nl-form { flex-direction: column; }
  .footer-nl-form input, .footer-nl-form .btn-go { border-radius: 8px; }
  .ntw-grid { grid-template-columns: 1fr 1fr; }
  .comparison-table th.ct-pros, .comparison-table td.ct-pros { display: none; }
  .alert-set-form { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .potw-card, .potw-btn, .potw-dot, .potw-cta { transition: none; animation: none !important; }
  .potw-track { scroll-behavior: auto; }
  .hero-cta { transition: none; }
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }

/* ── sticky header ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 2px 28px rgba(0,0,0,.45); }

/* ── hero CTA button ── */
.hero-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 28px;
  background: var(--marigold); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  padding: 13px 30px; border-radius: 999px;
  text-decoration: none; letter-spacing: .01em;
  box-shadow: 0 4px 20px rgba(255,183,3,.4);
  transition: transform .2s ease, box-shadow .2s ease, color .15s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,183,3,.55); color: var(--ink); }

/* ── card description snippet ── */
.card-desc {
  font-size: .8rem; color: var(--muted); line-height: 1.5;
  margin: 5px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── card grid fade-in ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.grid .card {
  animation: fadeInUp .42s ease both;
  animation-play-state: paused;
}

/* ── legal pages ── */
.legal-page { max-width: 720px; margin: 48px auto; padding: 0 20px 60px; }
.legal-page h1 { font-family: var(--display); font-size: 2rem; margin: 0 0 4px; }
.legal-date { color: var(--muted); font-size: .88rem; margin: 0 0 36px; }
.legal-page h2 { font-size: 1.1rem; margin: 32px 0 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.legal-page p, .legal-page li { color: #374151; line-height: 1.7; margin: 0 0 12px; }
.legal-page ul { padding-left: 20px; margin: 0 0 12px; }
.legal-page a { color: var(--cobalt); }
.legal-page a:hover { text-decoration: underline; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: .9rem; }
.legal-table th { background: var(--ink); color: #fff; text-align: left; padding: 10px 14px; }
.legal-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: none; }
.legal-table code { background: #f0ede4; padding: 1px 5px; border-radius: 4px; font-size: .85rem; }

/* ── contact page ── */
.contact-page { max-width: 1040px; margin: 0 auto; padding: 48px 20px 72px; }
.contact-hero { text-align: center; margin-bottom: 48px; }
.contact-hero h1 { font-family: var(--display); font-size: 2.4rem; margin: 0 0 12px; }
.contact-hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }

/* form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.cf-row { display: flex; gap: 16px; }
.cf-row-2 > * { flex: 1; min-width: 0; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-label { font-size: .82rem; font-weight: 600; color: #374151; letter-spacing: .02em; }
.cf-req { color: #ef4444; }
.cf-input {
  border: 1.5px solid var(--line); border-radius: 8px;
  padding: 10px 14px; font: inherit; font-size: .9rem; color: var(--ink);
  background: #fff; transition: border-color .15s;
  width: 100%;
}
.cf-input:focus { outline: none; border-color: var(--marigold); }
.cf-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7080' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.cf-textarea { resize: vertical; min-height: 140px; }
/* file upload */
.cf-opt { font-weight: 400; color: var(--muted); }
.cf-file-label {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px dashed var(--line); border-radius: 8px;
  padding: 12px 16px; cursor: pointer;
  background: #fdfcf8; transition: border-color .15s, background .15s;
}
.cf-file-label:hover { border-color: var(--marigold); background: #fffbf0; }
.cf-file-input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.cf-file-icon { font-size: 1.1rem; flex-shrink: 0; }
.cf-file-text { font-size: .88rem; color: var(--muted); }
.cf-file-hint { font-size: .75rem; color: #94a3b8; margin: 4px 0 0; }

.cf-submit {
  align-self: flex-start;
  background: var(--ink); color: #fff;
  border: 0; border-radius: 10px; padding: 12px 28px;
  font: inherit; font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: background .15s;
}
.cf-submit:hover { background: #1e2f5a; }

/* success & error */
.contact-success {
  display: flex; align-items: flex-start; gap: 16px;
  background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 12px;
  padding: 24px;
}
.contact-success-icon {
  width: 36px; height: 36px; border-radius: 50%; background: #22c55e; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
}
.contact-success strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.contact-success p { color: #374151; margin: 0; }
.contact-error { background: #fff1f2; border: 1.5px solid #fca5a5; border-radius: 10px; padding: 14px 18px; color: #b91c1c; font-size: .9rem; margin: 0 0 4px; }

/* info cards */
.contact-info-col { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 18px 20px;
}
.contact-card-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; }
.contact-card-title { font-weight: 700; font-size: .88rem; color: var(--ink); margin: 0 0 4px; }
.contact-card-body { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.5; }

@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
  .cf-row-2 { flex-direction: column; }
  .contact-hero h1 { font-size: 1.9rem; }
}

/* ── careers page ── */
.careers-page { max-width: 860px; margin: 0 auto; padding: 48px 20px 80px; }

/* hero */
.careers-hero { text-align: center; margin-bottom: 56px; }
.careers-eyebrow {
  display: inline-block; background: var(--marigold); color: var(--ink);
  font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 14px;
}
.careers-hero h1 { font-family: var(--display); font-size: 2.6rem; margin: 0 0 16px; }
.careers-hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto; line-height: 1.65; }

/* values strip */
.careers-values {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 56px;
}
.cv-item {
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 22px 18px; text-align: center;
}
.cv-icon { font-size: 1.7rem; display: block; margin-bottom: 10px; }
.cv-title { font-family: var(--display); font-weight: 700; font-size: .92rem; margin: 0 0 6px; }
.cv-body { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* section heading */
.careers-section-title { font-family: var(--display); font-size: 1.5rem; margin: 0 0 24px; }

/* job cards */
.careers-roles { margin-bottom: 56px; display: flex; flex-direction: column; gap: 20px; }
.job-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 28px 30px; transition: border-color .15s, box-shadow .15s;
}
.job-card:hover { border-color: var(--marigold); box-shadow: 0 4px 20px rgba(22,33,62,.07); }
.job-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.job-title { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin: 0 0 8px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  background: #f0eee5; color: #374151;
  padding: 3px 10px; border-radius: 20px;
}
.job-apply-btn {
  display: inline-block; white-space: nowrap;
  background: var(--ink); color: #fff;
  text-decoration: none; font-weight: 700; font-size: .85rem;
  padding: 9px 18px; border-radius: 9px;
  transition: background .15s; flex-shrink: 0;
}
.job-apply-btn:hover { background: var(--cobalt); color: #fff; }
.job-desc { color: #374151; font-size: .9rem; line-height: 1.65; margin: 0 0 14px; }
.job-req { padding-left: 20px; margin: 0; }
.job-req li { color: #374151; font-size: .87rem; line-height: 1.6; margin-bottom: 4px; }

/* bottom CTA */
.careers-cta {
  background: var(--ink); color: #fff;
  border-radius: 18px; padding: 40px 36px; text-align: center;
}
.careers-cta-title { font-family: var(--display); font-size: 1.4rem; font-weight: 800; margin: 0 0 10px; }
.careers-cta-sub { color: #a8b3cc; font-size: .93rem; margin: 0 0 24px; }
.careers-cta-btn {
  display: inline-block;
  background: var(--marigold); color: var(--ink);
  text-decoration: none; font-weight: 800; font-size: .95rem;
  padding: 13px 28px; border-radius: 10px;
  transition: opacity .15s;
}
.careers-cta-btn:hover { opacity: .88; }

@media (max-width: 700px) {
  .careers-values { grid-template-columns: repeat(2, 1fr); }
  .careers-hero h1 { font-size: 2rem; }
  .job-header { flex-direction: column; }
  .job-apply-btn { align-self: flex-start; }
}
@media (max-width: 420px) {
  .careers-values { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM SaaS UPGRADE — Glassmorphism · Mesh · Shimmer · Micro-anim
   ══════════════════════════════════════════════════════════════ */

/* ── Keyframes ── */
@keyframes shimmerSlide {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0)   scale(1);    }
  50%     { transform: translateY(-28px) scale(1.04); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translateY(0)   scale(1);    }
  50%     { transform: translateY(22px)  scale(.97); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(36,87,230,.25); }
  50%     { box-shadow: 0 0 0 8px rgba(36,87,230,.0);  }
}

/* ── Glassmorphism Header ── */
.site-header {
  background: rgba(16,21,46,.9) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 4px 30px rgba(0,0,0,.28);
  position: sticky; top: 0; z-index: 100;
  transition: background .3s;
}

/* ── Mesh Gradient Hero ── */
.hero-shell {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 25%, rgba(99,102,241,.22) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 88% 65%, rgba(251,191,36,.18) 0%, transparent 50%),
    radial-gradient(ellipse 45% 55% at 50% 100%, rgba(16,185,129,.1) 0%, transparent 45%),
    linear-gradient(155deg, #06081a 0%, #0c1530 45%, #0f1d3d 100%) !important;
}
/* Floating aurora orbs */
.hero-shell::before,
.hero-shell::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(70px);
}
.hero-shell::before {
  width: 520px; height: 520px; left: -120px; top: -80px;
  background: radial-gradient(circle, rgba(99,102,241,.35) 0%, transparent 70%);
  animation: orbFloat 9s ease-in-out infinite;
}
.hero-shell::after {
  width: 400px; height: 400px; right: -60px; bottom: -60px;
  background: radial-gradient(circle, rgba(251,191,36,.25) 0%, transparent 70%);
  animation: orbFloat2 11s ease-in-out infinite;
}
.hero-shell .wrap { position: relative; z-index: 1; }

/* ── Gradient Glow Buttons ── */
.btn-go {
  background: linear-gradient(135deg, var(--cobalt) 0%, #6366f1 60%, #4f46e5 100%) !important;
  background-size: 200% auto !important;
  box-shadow: 0 4px 18px rgba(36,87,230,.38), 0 1px 3px rgba(0,0,0,.18) !important;
  border: none !important;
  transition: background-position .4s, box-shadow .2s, transform .15s !important;
  animation: none;
}
.btn-go:hover {
  background-position: right center !important;
  box-shadow: 0 6px 28px rgba(36,87,230,.55), 0 2px 6px rgba(0,0,0,.2) !important;
  transform: translateY(-2px) !important;
}
.btn-go:active { transform: translateY(0) !important; }

/* ── Shimmer Border + Glow on Product Cards ── */
.card {
  position: relative;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s !important;
}
.card::before {
  content: '';
  position: absolute; inset: -1px; border-radius: inherit; z-index: 0;
  background: linear-gradient(135deg, #6366f1 0%, #f59e0b 50%, #6366f1 100%);
  background-size: 200% auto;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.card:hover::before {
  opacity: 1;
  animation: shimmerSlide 2s linear infinite;
}
.card:hover {
  transform: translateY(-6px) scale(1.012) !important;
  box-shadow: 0 16px 40px rgba(22,33,62,.13), 0 4px 12px rgba(99,102,241,.12) !important;
}

/* ── Staggered Card Entrance ── */
.product-grid .card,
.deals-grid .card,
.grid-4 .card {
  opacity: 0;
  animation: cardEntrance .55s cubic-bezier(.34,1.1,.64,1) forwards;
}
.product-grid .card:nth-child(1),  .deals-grid .card:nth-child(1),  .grid-4 .card:nth-child(1)  { animation-delay: .04s; }
.product-grid .card:nth-child(2),  .deals-grid .card:nth-child(2),  .grid-4 .card:nth-child(2)  { animation-delay: .1s;  }
.product-grid .card:nth-child(3),  .deals-grid .card:nth-child(3),  .grid-4 .card:nth-child(3)  { animation-delay: .16s; }
.product-grid .card:nth-child(4),  .deals-grid .card:nth-child(4),  .grid-4 .card:nth-child(4)  { animation-delay: .22s; }
.product-grid .card:nth-child(5),  .grid-4 .card:nth-child(5)  { animation-delay: .28s; }
.product-grid .card:nth-child(6),  .grid-4 .card:nth-child(6)  { animation-delay: .34s; }
.product-grid .card:nth-child(7),  .grid-4 .card:nth-child(7)  { animation-delay: .40s; }
.product-grid .card:nth-child(8),  .grid-4 .card:nth-child(8)  { animation-delay: .46s; }
.product-grid .card:nth-child(n+9) { animation-delay: .52s; }

/* ── Premium Search Bar ── */
.search {
  border-radius: 10px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.18) !important;
  border: 1.5px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
}
.search:focus-within {
  border-color: var(--marigold) !important;
  box-shadow: 0 0 0 3px rgba(255,183,3,.2), 0 2px 12px rgba(0,0,0,.2) !important;
}
.search-input {
  background: rgba(255,255,255,.92) !important;
}

/* ── Premium Category Pills ── */
.cat-pill {
  transition: all .18s cubic-bezier(.34,1.4,.64,1) !important;
}
.cat-pill:hover, .cat-pill.active {
  background: linear-gradient(135deg, var(--cobalt), #6366f1) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(36,87,230,.3) !important;
  transform: translateY(-2px);
}

/* ── Glowing Price Badge ── */
.price-now {
  position: relative;
}

/* ── Section headings micro-enhancement ── */
.section-head h2 {
  background: linear-gradient(135deg, var(--ink) 0%, #2457e6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Footer mesh gradient ── */
.site-footer {
  background:
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(36,87,230,.08) 0%, transparent 60%),
    var(--ink) !important;
}

/* ── Global smooth scrolling ── */
html { scroll-behavior: smooth; }

/* ── Subtle grain texture overlay on hero ── */
.hero-shell::before {
  /* orb already defined above; grain uses body pseudo via JS if needed */
}

/* ══════════════════════════════════════════════════════════════
   SOCIAL SHARE BAR — product pages
   ══════════════════════════════════════════════════════════════ */
.share-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 20px; padding-top: 18px;
  border-top: 1.5px solid var(--line);
}
.share-label {
  font-size: .78rem; font-weight: 700; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase;
  margin-right: 4px;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 8px;
  font-size: .8rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  color: #fff; white-space: nowrap;
}
.share-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.18); opacity: .92; }

.share-wa   { background: #25d366; }
.share-fb   { background: #1877f2; }
.share-x    { background: #000; }
.share-tg   { background: #2aabee; }
.share-pin  { background: #e60023; }
.share-copy { background: var(--ink); }

/* ══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — comprehensive fixes
   ══════════════════════════════════════════════════════════════ */

/* ── Header: stack on small screens ── */
@media (max-width: 640px) {
  .header-row {
    gap: 10px;
    padding: 10px 14px;
  }
  .logo { font-size: 1.2rem; }
  .search {
    order: 3; width: 100%; max-width: none;
    flex: none;
  }
  .search-cat { max-width: 85px; font-size: .75rem; padding: 0 22px 0 8px; }
  .site-nav { order: 4; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .site-nav a { white-space: nowrap; font-size: .82rem; padding: 6px 10px; }
  .customer-nav { order: 2; }
}

/* ── Product grid: 1-col on very small phones ── */
@media (max-width: 400px) {
  .grid { grid-template-columns: 1fr; }
  .card { border-radius: 10px; }
}

/* ── Contact layout: collapse sidebar earlier ── */
@media (max-width: 640px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { order: -1; }
}

/* ── Product detail page: 540px ── */
@media (max-width: 540px) {
  .product { gap: 20px; }
  .pg-main-wrap { max-height: 220px; }
  .product-media img { padding: 10px; }
  .crumbs { font-size: .82rem; padding: 12px 0; }
  .desc { padding: 16px !important; }
  .sale-banner-prices { flex-wrap: wrap; row-gap: 6px; }
}

/* ── Comparison / VS page ── */
@media (max-width: 540px) {
  .vs-label { width: 80px; font-size: .75rem; }
  .vs-val { font-size: .85rem; }
}

/* ── Careers ── */
@media (max-width: 540px) {
  .job-card { padding: 18px 16px; }
  .careers-hero { padding: 40px 16px 28px; }
  .careers-cta { padding: 32px 16px; }
}

/* ── Footer newsletter ── */
@media (max-width: 480px) {
  .footer-nl-form { gap: 8px; }
  .footer-nl-form input { font-size: .9rem; }
}

/* ── Hero section ── */
@media (max-width: 540px) {
  .hero-shell { padding: 44px 16px 36px; }
  .hero-shell h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero-cta { padding: 11px 22px; font-size: .92rem; }
  .hero-stats { gap: 16px; }
  .hero-stat-n { font-size: 1.4rem; }
}

/* ── Buying guide ── */
@media (max-width: 540px) {
  .guide-header { padding: 28px 16px 20px; }
  .guide-body { padding: 0 16px 32px; }
  .ntw-grid { grid-template-columns: 1fr; }
}

/* ── Share bar wraps nicely ── */
@media (max-width: 480px) {
  .share-btn { padding: 6px 10px; font-size: .75rem; }
  .share-btn svg { width: 13px; height: 13px; }
}

/* ── General touch targets ── */
@media (max-width: 768px) {
  a, button { min-height: 40px; }
  .btn-go { padding: 12px 24px; }
  .search button { min-height: 0; padding: 0 16px; }
}

/* ══════════════════════════════════════════════════════════════
   FRONTEND MOBILE DEEP FIX
   ══════════════════════════════════════════════════════════════ */

/* ── iOS: prevent zoom on input focus (16px minimum) ── */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea {
  font-size: 16px;
}
@media (min-width: 769px) {
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="url"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  select,
  textarea { font-size: inherit; }
}

/* ── Header: smarter stacking ── */
@media (max-width: 600px) {
  .header-row  { padding: 8px 12px; gap: 8px; }
  .logo        { font-size: 1.15rem; }
  .site-nav    { gap: 2px; }
  .site-nav-link { padding: 6px 8px; font-size: .8rem; min-height: 36px; display: inline-flex; align-items: center; }
  .cust-link   { font-size: .8rem; padding: 6px 10px; min-height: 36px; display: inline-flex; align-items: center; }
  .search-cat  { max-width: 70px; font-size: .75rem; }
}
@media (max-width: 400px) {
  .site-nav { display: none; }
}

/* ── Hero stat dividers: hide on mobile ── */
@media (max-width: 540px) {
  .hero-stat-div { display: none; }
  .hero-stats    { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .hero-stat     { min-width: 80px; text-align: center; }
}

/* ── Product cards: comfortable on phone ── */
@media (max-width: 480px) {
  .card              { border-radius: 10px; }
  .card-title        { font-size: .88rem; }
  .card-price        { font-size: 1rem; }
  .card-actions      { flex-direction: column; gap: 6px; }
  .card-actions .btn-go { text-align: center; }
}

/* ── Product detail: all key elements ── */
@media (max-width: 480px) {
  .pg-main-wrap     { max-height: 200px; }
  .pg-thumbs        { gap: 6px; }
  .pg-thumb         { width: 48px; height: 48px; }
  .sale-banner      { flex-direction: column; gap: 8px; padding: 12px 14px; }
  .price-tag.large  { font-size: 1.05rem; }
  .crumbs           { font-size: .8rem; padding: 10px 0; }
}

/* ── Share bar: larger touch targets ── */
.share-btn {
  min-height: 40px;
  padding: 9px 14px;
}
@media (max-width: 480px) {
  .share-bar   { gap: 6px; }
  .share-btn   { padding: 8px 10px; font-size: .75rem; border-radius: 7px; }
  .share-label { display: none; }
}

/* ── Contact form ── */
@media (max-width: 600px) {
  .cf-row.cf-row-2 { grid-template-columns: 1fr; }
  .cf-field        { margin-bottom: 14px; }
  .cf-submit       { width: 100%; text-align: center; min-height: 48px; }
  .contact-info-card { padding: 16px 14px; }
}

/* ── Careers: job cards ── */
@media (max-width: 600px) {
  .job-card      { padding: 18px 14px; border-radius: 12px; }
  .job-title     { font-size: 1rem; }
  .job-apply-btn { width: 100%; text-align: center; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .job-req li    { font-size: .88rem; }
}

/* ── Guides / buying guide ── */
@media (max-width: 540px) {
  .guide-title   { font-size: 1.4rem; }
  .guide-meta    { flex-wrap: wrap; gap: 6px; }
}

/* ── Footer: better mobile layout ── */
@media (max-width: 480px) {
  .footer-inner  { gap: 20px; }
  .footer-heading { font-size: .8rem; }
  .footer-links  { gap: 6px; }
  .footer-links a { font-size: .82rem; min-height: 36px; display: inline-flex; align-items: center; }
  .footer-nl-form { gap: 6px; }
  .footer-nl-form input  { min-height: 44px; }
  .footer-nl-form .btn-go { min-height: 44px; }
}

/* ── Carousel / POTW on mobile ── */
@media (max-width: 480px) {
  .potw-controls { gap: 8px; }
  .potw-btn      { width: 36px; height: 36px; }
  .potw-dot      { width: 6px; height: 6px; }
}

/* ── Search dropdown on mobile ── */
@media (max-width: 640px) {
  .search-dropdown { max-height: 60vh; overflow-y: auto; }
}

/* ── Global: no horizontal overflow ── */
html, body { overflow-x: hidden; max-width: 100vw; }
