/* Shoptrics — blue / silver / yellow, mobile-first */
:root {
  --blue: #0b5fff;
  --blue-dark: #0843b8;
  --navy: #0a1b3d;
  --navy-2: #10254f;
  --silver: #c7ceda;
  --silver-light: #eef2f8;
  --silver-mid: #dfe5ef;
  --yellow: #ffc400;
  --yellow-dark: #e0a800;
  --ink: #101828;
  --muted: #5b6472;
  --white: #ffffff;
  --danger: #d92d20;
  --green: #12805c;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(10, 27, 61, 0.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--silver-light);
  color: var(--ink);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
button { font-family: inherit; cursor: pointer; }

/* ---------- header ---------- */
.site-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #12306e 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-logo { border-radius: 10px; display: block; box-shadow: 0 2px 10px rgba(0,0,0,.45); }
.brand-name {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 1px;
}
.brand-name .bolt { color: var(--yellow); }
.brand-tag { font-size: 11px; color: var(--silver); letter-spacing: .5px; }
.brand-disclosure { font-size: 10.5px; color: var(--silver); letter-spacing: .2px; opacity: .85; }
.header-spacer { flex: 1; }
.nav-link {
  color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 8px 10px; border-radius: 8px;
}
.nav-link:hover { background: rgba(255,255,255,.12); }
.cart-btn {
  position: relative;
  background: var(--yellow);
  color: var(--navy);
  border: none;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  padding: 10px 18px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
.cart-btn:active { transform: scale(.97); }
.cart-count {
  background: var(--navy); color: #fff;
  border-radius: 999px; min-width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; padding: 0 6px;
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--blue) 0%, #2f7bff 55%, #0843b8 100%);
  color: #fff;
  padding: 44px 16px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,196,0,.28), transparent 45%);
  pointer-events: none;
}
.hero h1 { margin: 0 0 8px; font-size: 34px; font-weight: 900; letter-spacing: .5px; }
.hero h1 .bolt { color: var(--yellow); }
.hero p { margin: 0 auto 20px; max-width: 520px; font-size: 16px; color: #e8eefc; }
.hero-cta {
  display: inline-block;
  background: var(--yellow); color: var(--navy);
  font-weight: 900; font-size: 18px;
  padding: 14px 34px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.hero-cta:active { transform: scale(.97); }
.hero-badges { margin-top: 18px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
}

/* ---------- hero starburst sticker (added 2026-10-23, Kelo; corner placement restored + shifted inward per Kelo 18:11) ---------- */
.hero-sticker {
  position: absolute; top: 44px; left: 90px; z-index: 3;
  width: 132px; height: 132px;
  background: var(--navy); border-radius: 50%;
  transform: rotate(-12deg);
  filter: drop-shadow(0 5px 10px rgba(10,27,61,.45));
  pointer-events: none;
}
.hero-sticker::before,
.hero-sticker::after {
  content: ""; position: absolute; inset: 6px;
  background: var(--navy); border-radius: 20px; z-index: -1;
}
.hero-sticker::before { transform: rotate(30deg); }
.hero-sticker::after { transform: rotate(60deg); }
.hero-sticker .stk-text {
  position: absolute; inset: 11px;
  border: 2px dashed rgba(255,255,255,.55); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6px;
}
.hero-sticker .stk-l1 {
  display: block; color: var(--yellow);
  font-size: 15.5px; font-weight: 900; line-height: 1.15; letter-spacing: .4px;
}
.hero-sticker .stk-l2 {
  display: block; color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: 1.6px;
  margin-top: 5px; padding-top: 4px; border-top: 2px solid var(--yellow);
}
@media (max-width: 640px) {
  .hero { padding-top: 136px; } /* reserves the sticker's own band so it never covers the headline */
  .hero-sticker { width: 86px; height: 86px; top: 36px; left: 28px; }
  .hero-sticker .stk-text { inset: 7px; padding: 3px; }
  .hero-sticker .stk-l1 { font-size: 10.5px; }
  .hero-sticker .stk-l2 { font-size: 8px; letter-spacing: 1px; margin-top: 3px; padding-top: 2px; }
}

/* ---------- layout ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.section { padding: 28px 0 8px; }
.section-title {
  font-size: 24px; font-weight: 900; margin: 0 0 4px;
  display: flex; align-items: center; gap: 10px;
}
.section-title .accent { color: var(--blue); }
.section-sub { color: var(--muted); margin: 0 0 18px; font-size: 15px; }

/* ---------- category filter ---------- */
/* One row, never wraps, never scrolls sideways (Kelo, 2026-10-23): five
   primary tabs + a More dropdown. Chips may shrink (min-width: 0 +
   ellipsis) so the row always fits the screen instead of wrapping. */
.filters { display: flex; flex-wrap: nowrap; gap: 8px; padding: 4px 2px 14px; align-items: center; }
.filter-chip {
  flex: 0 0 auto;
  white-space: nowrap;
  border: 2px solid var(--silver-mid);
  background: #fff;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800; font-size: 13px; color: var(--ink);
  cursor: pointer;
}
.filter-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-more-wrap { position: relative; flex: 0 0 auto; }
.filter-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  display: flex; flex-direction: column;
  min-width: 190px; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid var(--silver-mid); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(10,27,61,.28);
  padding: 6px;
}
.filter-menu[hidden] { display: none; }
.filter-menu-item {
  border: 0; background: none; cursor: pointer;
  text-align: left; font: inherit; font-weight: 700; color: var(--ink);
  padding: 10px 12px; border-radius: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.filter-menu-item:hover, .filter-menu-item:active { background: #eef3fb; }
.filter-menu-item.active { background: var(--navy); color: #fff; }
@media (max-width: 480px) {
  .filters { gap: 4px; }
  .filter-chip { font-size: 10.5px; padding: 5px 6px; border-width: 1.5px; }
}
/* Desktop tab fit (Kelo, 2026-10-25): tab labels were truncating to dots
   because chips could shrink with an ellipsis. Chips no longer shrink or
   clip; instead the row steps down in size on narrower windows, and in
   the small-laptop/tablet band it may wrap. Full labels, always. */
@media (min-width: 901px) and (max-width: 1150px) {
  .filters { gap: 6px; }
  .filter-chip { font-size: 12px; padding: 7px 10px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .filters { flex-wrap: wrap; gap: 6px; }
  .filter-chip { font-size: 12px; padding: 7px 10px; }
}

/* ---------- search bar ---------- */
.search-bar { display: flex; gap: 8px; align-items: center; padding: 2px 2px 12px; }
.search-bar input {
  flex: 1; min-width: 0;
  border: 2px solid var(--silver-mid); border-radius: 999px;
  padding: 10px 16px; font-size: 16px; color: var(--ink); background: #fff;
}
.search-bar input:focus { outline: none; border-color: var(--blue); }
#search-btn {
  border: 2px solid var(--navy); background: var(--navy); color: #fff;
  border-radius: 999px; padding: 9px 18px;
  font-weight: 800; font-size: 14px; cursor: pointer;
}
#search-clear { border: none; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 4px 2px; }

/* ---------- product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-bottom: 8px;
}
@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .hero h1 { font-size: 46px; }
}
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border: 1px solid var(--silver-mid);
}
.card-img { aspect-ratio: 1; background: var(--silver-mid); position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.sample-flag {
  position: absolute; top: 8px; left: 8px;
  background: var(--yellow); color: var(--navy);
  font-size: 11px; font-weight: 900; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 999px;
}
.digital-flag {
  position: absolute; top: 8px; right: 8px;
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 900; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 999px;
}
.sold-out-flag {
  position: absolute; top: 8px; left: 8px;
  background: #c8102e; color: #fff;
  font-size: 11px; font-weight: 900; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 999px;
}
.sold-out-btn { background: var(--silver-mid); color: #5b6672; cursor: not-allowed; }
/* ---------- digital delivery (success page) ---------- */
.digital-box {
  max-width: 560px; margin: 24px auto; padding: 20px;
  background: #fff; border: 2px solid var(--blue); border-radius: 16px;
  box-shadow: var(--shadow); text-align: left;
}
.digital-box h3 { margin: 0 0 12px; font-size: 17px; }
.digital-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--silver-mid); font-size: 14px; font-weight: 600;
}
.digital-btn {
  display: inline-block; background: var(--yellow); color: var(--navy);
  font-weight: 900; font-size: 14px; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; white-space: nowrap;
}
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--blue); text-transform: uppercase; }
.card-name { font-weight: 800; font-size: 15px; line-height: 1.3; }
.card-price { font-weight: 900; font-size: 19px; color: var(--navy); margin-top: auto; }
.card-price .was { color: var(--muted); font-weight: 600; font-size: 13px; text-decoration: line-through; margin-left: 6px; }
.add-btn {
  margin-top: 8px;
  background: var(--blue); color: #fff; border: none;
  border-radius: 10px; padding: 12px;
  font-weight: 900; font-size: 15px;
}
.add-btn:active { transform: scale(.98); background: var(--blue-dark); }
.add-btn.added { background: var(--green); }

/* ---------- product detail ---------- */
.pd-layout { display: grid; gap: 20px; padding: 20px 0 40px; }
@media (min-width: 800px) { .pd-layout { grid-template-columns: 1fr 1fr; gap: 36px; } }
.pd-gallery { display: flex; flex-direction: column; gap: 10px; }
.pd-main-img { border-radius: var(--radius); overflow: hidden; background: var(--silver-mid); aspect-ratio: 1; box-shadow: var(--shadow); }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; }
.pd-thumbs img.sel { border-color: var(--blue); }
.pd-info h1 { margin: 0 0 6px; font-size: 26px; font-weight: 900; }
.pd-price { font-size: 30px; font-weight: 900; color: var(--navy); margin: 8px 0 14px; }
.pd-desc { color: var(--muted); font-size: 15px; margin: 0 0 18px; white-space: pre-line; line-height: 1.55; }
.opt-label { font-weight: 800; font-size: 14px; margin: 14px 0 8px; }
.opt-row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-chip {
  border: 2px solid var(--silver-mid); background: #fff; border-radius: 10px;
  padding: 10px 16px; font-weight: 700; font-size: 15px;
}
.opt-chip.sel { border-color: var(--blue); background: #e8f0ff; color: var(--blue-dark); }
.qty-row { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.qty-ctrl { display: flex; align-items: center; border: 2px solid var(--silver-mid); border-radius: 12px; overflow: hidden; background: #fff; }
.qty-ctrl button { border: none; background: none; font-size: 22px; font-weight: 900; padding: 8px 16px; color: var(--blue); }
.qty-ctrl span { min-width: 36px; text-align: center; font-weight: 900; font-size: 17px; }
.stock-note { font-size: 13px; color: var(--muted); }
.stock-note.low { color: var(--danger); font-weight: 700; }
.big-add {
  width: 100%; background: var(--yellow); color: var(--navy); border: none;
  border-radius: 14px; padding: 18px; font-size: 19px; font-weight: 900;
  box-shadow: 0 6px 18px rgba(255,196,0,.4); margin-top: 6px;
}
.big-add:active { transform: scale(.98); }
.add-btn.affiliate-btn, .big-add.affiliate-btn {
  display: block; text-align: center; text-decoration: none; box-sizing: border-box;
}
.big-add.affiliate-btn { width: 100%; }

/* ---------- cart drawer ---------- */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(10,27,61,.55);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90;
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 94vw);
  background: #fff; z-index: 95;
  transform: translateX(105%); transition: transform .28s ease;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,.25);
}
.drawer.open { transform: none; }
.drawer-head {
  background: var(--navy); color: #fff; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-head h2 { margin: 0; font-size: 19px; font-weight: 900; }
.drawer-close { background: none; border: none; color: #fff; font-size: 26px; line-height: 1; }
.drawer-items { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.drawer-empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.ci { display: flex; gap: 12px; background: var(--silver-light); border-radius: 12px; padding: 10px; }
.ci img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-weight: 800; font-size: 14px; }
.ci-variant { font-size: 12px; color: var(--muted); }
.ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ci-qty { display: flex; align-items: center; gap: 10px; }
.ci-qty button { border: 1px solid var(--silver-mid); background: #fff; border-radius: 8px; width: 30px; height: 30px; font-weight: 900; font-size: 16px; }
.ci-price { font-weight: 900; }
.ci-remove { background: none; border: none; color: var(--danger); font-size: 13px; font-weight: 700; padding: 4px 0; }
.drawer-foot { border-top: 1px solid var(--silver-mid); padding: 16px 18px 20px; background: #fff; }
.subtotal-row { display: flex; justify-content: space-between; font-weight: 900; font-size: 18px; margin-bottom: 12px; }
.checkout-btn {
  display: block; width: 100%; text-align: center;
  background: var(--yellow); color: var(--navy); border: none;
  border-radius: 12px; padding: 16px; font-size: 18px; font-weight: 900; text-decoration: none;
}
.continue-link { display: block; text-align: center; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ---------- forms / checkout ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 18px; margin: 20px 0; border: 1px solid var(--silver-mid); }
.form-card h2 { margin: 0 0 14px; font-size: 20px; font-weight: 900; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 2px solid var(--silver-mid); border-radius: 10px;
  padding: 13px 14px; font-size: 16px; font-family: inherit; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.submit-btn {
  width: 100%; background: var(--blue); color: #fff; border: none;
  border-radius: 12px; padding: 17px; font-size: 18px; font-weight: 900; margin-top: 6px;
}
.submit-btn:disabled { background: var(--silver); cursor: wait; }
.form-error {
  display: none; background: #fdecec; color: var(--danger);
  border: 1px solid #f5c6c6; border-radius: 10px; padding: 12px 14px;
  font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.form-error.show { display: block; }
.order-summary { background: var(--silver-light); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.order-summary .row { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.order-summary .total { font-weight: 900; font-size: 17px; border-top: 1px solid var(--silver-mid); margin-top: 8px; padding-top: 8px; }

/* ---------- success ---------- */
.success-wrap { text-align: center; padding: 50px 16px 60px; }
.success-check {
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 44px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.success-wrap h1 { margin: 0 0 8px; font-size: 28px; font-weight: 900; }
.order-num {
  display: inline-block; background: var(--navy); color: var(--yellow);
  font-weight: 900; font-size: 20px; letter-spacing: 1px;
  padding: 10px 26px; border-radius: 999px; margin: 10px 0 16px;
}
.processing-note { background: #fff8e1; border: 1px solid #ffe082; border-radius: 10px; padding: 12px 16px; max-width: 480px; margin: 0 auto 20px; font-size: 14px; }

/* ---------- instagram section ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: 10px; }
@media (min-width: 700px) { .ig-grid { grid-template-columns: repeat(6, 1fr); } }
.ig-card { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 1; background: var(--silver-mid); display: block; }
.ig-card img { width: 100%; height: 100%; object-fit: cover; }
.ig-fallback { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; text-align: center; padding: 8px; height: 100%; }
.ig-cta { text-align: center; margin: 14px 0 6px; }
.ig-cta a {
  display: inline-block; background: var(--navy); color: #fff; font-weight: 800;
  padding: 12px 28px; border-radius: 999px; text-decoration: none;
}

/* ---------- admin ---------- */
.admin-wrap { max-width: 860px; margin: 0 auto; padding: 24px 16px 60px; }
.login-card { max-width: 380px; margin: 60px auto; }
.tabs { display: flex; gap: 8px; margin: 18px 0; }
.tab-btn { flex: 1; border: 2px solid var(--silver-mid); background: #fff; border-radius: 10px; padding: 12px; font-weight: 900; font-size: 15px; }
.tab-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--silver-mid); vertical-align: top; }
.admin-table th { background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.pill.paid { background: #d7f5e6; color: var(--green); }
.pill.pending { background: #fff3cd; color: #8a6d00; }
.pill.failed { background: #fdecec; color: var(--danger); }
.pill.new { background: #e8f0ff; color: var(--blue-dark); }
.pill.fulfilled { background: #d7f5e6; color: var(--green); }
.mini-btn { border: 1px solid var(--silver-mid); background: #fff; border-radius: 8px; padding: 7px 12px; font-weight: 800; font-size: 13px; margin-right: 6px; }
.mini-btn.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.mini-btn.warn { background: var(--yellow); color: var(--navy); border-color: var(--yellow-dark); }
.mini-btn.danger { color: var(--danger); border-color: #f5c6c6; }
.upload-note { background: #fff8e1; border: 1px solid #ffe082; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin: 8px 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--silver); margin-top: 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 28px 16px; display: flex; flex-direction: column; gap: 10px; }
.footer-inner a { color: #fff; }
.footer-brand { font-weight: 900; color: #fff; font-size: 18px; }
.footer-brand .bolt { color: var(--yellow); }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--navy); color: #fff; font-weight: 800; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; z-index: 120;
  transition: transform .3s; box-shadow: 0 8px 24px rgba(0,0,0,.3);
  max-width: 92vw; text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- misc ---------- */
.notice {
  background: #e8f0ff; border: 1px solid #bcd0ff; color: var(--blue-dark);
  border-radius: 12px; padding: 14px 16px; font-size: 14px; margin: 16px 0;
}
.notice strong { font-weight: 900; }
.breadcrumb { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 700; }
.empty-state { text-align: center; padding: 50px 16px; color: var(--muted); }
.loading { text-align: center; padding: 40px; color: var(--muted); }

/* ---------- articles (2026-11-07) ----------
   Public article index cards + the single-article reading page.
   Colours and type come from the shared variables above. */
.article-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px; margin: 0 0 16px;
}
.article-card-title { margin: 4px 0 6px; font-size: 20px; line-height: 1.3; }
.article-card-title a { color: var(--navy); text-decoration: none; }
.article-card-title a:hover { color: var(--blue); text-decoration: underline; }
.article-card-desc { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.article-read { font-weight: 700; text-decoration: none; }
.article-read:hover { text-decoration: underline; }
.article-wrap { max-width: 760px; margin: 0 auto; padding-bottom: 32px; }
.article-wrap .card-cat { margin-top: 14px; }
.article-title { color: var(--navy); font-size: 30px; line-height: 1.25; margin: 6px 0 4px; }
.article-date { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.article-body { font-size: 16.5px; line-height: 1.65; }
.article-body p { margin: 0 0 16px; }
.article-body h2 { color: var(--navy); font-size: 22px; line-height: 1.3; margin: 26px 0 10px; }
.article-body h3 { color: var(--navy); font-size: 18px; margin: 22px 0 8px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: var(--radius); margin: 12px 0; }
.article-product {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 18px; margin: 26px 0 8px;
}
.article-product-label {
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  color: var(--blue); text-transform: uppercase; margin-bottom: 10px;
}
.article-product-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.article-product-card img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; flex: none; }
.article-product-info { display: flex; flex-direction: column; gap: 4px; }
.article-product-name { font-weight: 800; font-size: 16px; color: var(--navy); line-height: 1.3; }
.article-product-cta { font-weight: 700; color: var(--blue); font-size: 14px; }

/* ---------- More dropdown on-screen rule (2026-10-30, Kelo) ----------
   At phone/tablet widths the tab row wraps, so the More button can land
   at the left edge of a wrapped line; its dropdown was anchored to the
   button and spilled off the left side of the screen, items unreadable.
   Fix: the menu anchors to the filter ROW instead of the button — the
   wrap gives up its positioning, the row takes it, and the menu's right
   edge aligns with the row's right edge, always inside the screen.
   Desktop (>900px, single row, button at the right end) is untouched. */
@media (max-width: 900px) {
  .filters { position: relative; }
  .filter-more-wrap { position: static; }
  .filter-menu { right: 0; left: auto; max-height: min(60vh, 420px); overflow-y: auto; }
}

/* ---------- mobile pass (2026-10-24, Kelo) ----------
   Phone widths only (<=700px); desktop rendering is untouched.
   Compliance holds on both: the disclosure line keeps its full size,
   prices stay "See price on Amazon", product images are not altered. */
@media (max-width: 700px) {
  /* Category tabs wrap onto full-label rows — every tab readable.
     (Reverses the one-row squeeze on phones only; Kelo 2026-10-24.) */
  .filters { flex-wrap: wrap; gap: 6px; }
  .filter-chip { font-size: 13px; padding: 7px 12px; overflow: visible; text-overflow: clip; }
  /* Even cards: names clamp to two lines so rows stay level and the
     price line and button line up. Full titles live on product pages. */
  .card-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 2.6em; font-size: 14px;
  }
  .card-body { padding: 10px 12px 12px; }
  .ci-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Kelo 2026-10-24: on phones, affiliate cards drop the "See price on
     Amazon" line (it is the .card-price-aff variant only) so the card
     stack is image, category, name, Shop Now. Our own products keep
     their real prices — only the affiliate line is hidden. */
  .card-price-aff { display: none; }
  /* Header breathing room — everything shrinks except the disclosure,
     which stays at its full 10.5px so it remains clear on phones. */
  .header-inner { gap: 8px; padding: 8px 12px; flex-wrap: wrap; }
  .brand { min-width: 0; }
  .brand > span { min-width: 0; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 18px; }
  .brand-tag { font-size: 10px; }
  .nav-link { font-size: 13px; padding: 6px 6px; }
  .cart-btn { font-size: 13px; padding: 8px 12px; }
  /* Sections tighten */
  .container { padding: 0 12px; }
  .section-title { font-size: 21px; }
}
