/* 89CNX — white + orange. Bento hero, floating nav, soft depth. */
:root {
  --bg: #ffffff;
  --surface: #f6f4f1;      /* warm off-white tiles */
  --surface-2: #efece7;
  --line: #e9e5df;
  --ink: #17191d;
  --soft: #4a4e55;
  --muted: #686d75;        /* 5.2:1 on white */
  --orange: #ff5a1f;
  --orange-2: #ff8a3d;
  --deep: #c2410c;         /* orange for small text and small labels, 5.2:1 on white */
  --tint: #fff1e8;         /* orange wash */
  --grad: linear-gradient(135deg, #f4691c 0%, #d3410a 100%);
  --display: "Prompt", "Anuphan", system-ui, sans-serif;
  --body: "Anuphan", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(14px, 3.4vw, 48px);
  --nav-h: 64px;
  --r-xl: 36px; --r-lg: 26px; --r-md: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-sm: 0 1px 2px rgba(23, 25, 29, .04), 0 6px 18px -10px rgba(23, 25, 29, .14);
  --shadow-lg: 0 2px 4px rgba(23, 25, 29, .04), 0 26px 50px -24px rgba(23, 25, 29, .28);
  --glow: 0 12px 28px -10px rgba(255, 90, 31, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 36px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 12px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }
h2 { font: 600 clamp(24px, 3vw, 38px)/1.2 var(--display); letter-spacing: -.01em; }

/* ---------- floating nav ---------- */
.nav {
  position: sticky; top: 12px; z-index: 30; min-height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(10px, 2vw, 24px);
  margin: 12px var(--pad) 0; padding: 8px 10px 8px 18px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(23, 25, 29, .07); border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.logo { font: 600 23px/1 var(--display); display: inline-flex; align-items: center; flex: none; }
.logo__n { background: var(--grad); color: #fff; padding: 7px 9px; border-radius: 12px; box-shadow: var(--glow); }
.logo__c { padding-left: 7px; }
.search {
  flex: 1; max-width: 520px; display: flex; align-items: center; height: 48px; padding: 4px 4px 4px 16px;
  background: var(--surface); border: 1.5px solid transparent; border-radius: 999px;
  transition: border-color .25s var(--ease), background-color .25s, box-shadow .25s var(--ease);
}
.search > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search:focus-within { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 5px rgba(255, 90, 31, .12); }
.search input { flex: 1; min-width: 0; padding: 0 12px; background: none; border: 0; outline: 0; }
.search input::placeholder { color: var(--muted); }
.search button { height: 100%; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; transition: background-color .2s; }
.search button:hover { background: var(--orange); }
.nav__links { display: flex; gap: 2px; margin-left: auto; font-weight: 500; white-space: nowrap; }
.nav__links a { padding: 9px 14px; border-radius: 999px; color: var(--soft); transition: background-color .2s, color .2s; }
.nav__links a:hover { background: var(--surface); color: var(--ink); }

/* ---------- hero bento ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 16px; padding: 20px var(--pad) 0; }
.hero__main {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 5vw, 72px) clamp(22px, 4vw, 60px); border-radius: var(--r-xl);
  background: radial-gradient(70% 90% at 0% 0%, var(--tint), transparent 62%), var(--surface);
  min-height: min(72vh, 620px);
}
.hero__main > * { animation: rise .9s var(--ease) both; }
.hero__main > :nth-child(2) { animation-delay: .08s; }
.hero__main > :nth-child(3) { animation-delay: .16s; }
.hero__main > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.hero__h { font: 600 clamp(36px, 5.4vw, 76px)/1.16 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.hero__p { margin-top: 20px; max-width: 42ch; font-size: clamp(16px, 1.4vw, 19px); color: var(--soft); }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 600; border: 1.5px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--main { background: linear-gradient(135deg, #e6520f 0%, #c23a05 100%); color: #fff; box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--main:hover { box-shadow: 0 18px 36px -10px rgba(255, 90, 31, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--ghost { background: #fff; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.hot { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hot__label { color: var(--muted); font-size: 14.5px; margin-right: 4px; }
.hot button { height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; transition: border-color .2s, color .2s, background-color .2s; }
.hot button:hover { border-color: var(--orange); color: var(--deep); background: var(--tint); }

.hero__art {
  position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: 380px;
  background:
    radial-gradient(60% 60% at 30% 22%, rgba(255, 255, 255, .5), transparent 70%),
    radial-gradient(70% 70% at 80% 90%, #ff4a12, transparent 70%),
    linear-gradient(140deg, #ffa55c 0%, #ff6a26 55%, #ff5216 100%);
  box-shadow: 0 30px 60px -30px rgba(255, 90, 31, .6);
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.float {
  position: absolute; display: grid; padding: 12px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 16px 34px -16px rgba(120, 40, 0, .5);
  animation: bob 6s ease-in-out infinite;
}
.float b { font: 600 26px/1.15 var(--display); color: var(--deep); }
.float span { font-size: 13.5px; color: var(--soft); }
.float--a { left: 20px; bottom: 20px; }
.float--b { right: 20px; top: 20px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- category tiles ---------- */
.cats { padding: 64px var(--pad) 0; }
.cats__grid { margin-top: 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: left;
  border-radius: var(--r-md); background: var(--surface); border: 1.5px solid transparent;
  transition: transform .3s var(--ease), background-color .25s, border-color .25s, box-shadow .3s var(--ease);
}
.cat__ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--orange); box-shadow: var(--shadow-sm); transition: background-color .25s, color .25s; }
.cat__ic svg { width: 22px; height: 22px; }
.cat__t { display: grid; min-width: 0; }
.cat__t b { font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat__t span { font-size: 13.5px; color: var(--muted); }
.cat:hover { transform: translateY(-3px); background: #fff; border-color: var(--orange); box-shadow: var(--shadow-lg); }
.cat:hover .cat__ic { background: var(--grad); color: #fff; }

/* ---------- flash ---------- */
.flash { padding: 64px var(--pad) 0; }
.flash__in { border-radius: var(--r-xl); padding: 30px 0 22px; background: radial-gradient(60% 120% at 100% 0%, #ffe3d0, transparent 60%), var(--tint); }
.flash__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 0 clamp(18px, 3vw, 36px); }
.flash__head h2 { display: flex; align-items: center; gap: 12px; }
.flash__head h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255, 90, 31, .18); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 14px rgba(255, 90, 31, 0); } }
.clock { display: flex; align-items: center; gap: 5px; font-family: var(--display); }
.clock__label { font: 400 15px var(--body); color: var(--soft); margin-right: 6px; }
.clock__d { min-width: 46px; padding: 9px 0 8px; text-align: center; border-radius: 13px; background: var(--ink); color: #fff; font-weight: 600; font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.clock i { font-style: normal; color: var(--ink); font-weight: 600; }
.rail__nav { margin-left: auto; display: flex; gap: 8px; }
.rail__nav button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.rail__nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail__nav button:active { transform: scale(.94); }
.rail__nav svg { width: 20px; height: 20px; }
.rail {
  margin-top: 20px; padding: 6px clamp(18px, 3vw, 36px) 18px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 232px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: clamp(18px, 3vw, 36px); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ---------- deals ---------- */
.deals { padding: 64px var(--pad) 80px; }
.deals__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.deals__count { color: var(--muted); }
.filters {
  position: sticky; top: calc(var(--nav-h) + 30px); z-index: 20;
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(23, 25, 29, .07); box-shadow: var(--shadow-sm);
}
.chips { display: flex; gap: 4px; overflow-x: auto; flex: 1; scrollbar-width: none; border-radius: 999px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--soft); white-space: nowrap; transition: background-color .25s var(--ease), color .25s; }
.chip svg { width: 17px; height: 17px; }
.chip:hover { background: var(--surface); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 600; }
.filters__sel { flex: none; display: flex; gap: 6px; }
.sel select {
  height: 42px; padding: 0 36px 0 16px; border-radius: 999px; background-color: var(--surface); border: 1.5px solid transparent; font-weight: 500;
  appearance: none; cursor: pointer; transition: border-color .2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2317191d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.sel select:hover { border-color: var(--line); }
.sample { margin-top: 16px; padding: 11px 18px; border-radius: 16px; background: var(--tint); color: #8a3a10; font-size: 14.5px; }
.grid { margin-top: 18px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(204px, 1fr)); }
.empty { margin-top: 40px; display: grid; gap: 16px; justify-items: start; color: var(--soft); }

/* ---------- deal card ---------- */
.deal {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; padding: 8px;
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.deal.is-tilt { will-change: transform; transition: transform .08s linear, box-shadow .4s var(--ease), border-color .3s; }
.deal:hover { border-color: #ffc9ad; box-shadow: 0 2px 4px rgba(23, 25, 29, .04), 0 30px 50px -26px rgba(255, 90, 31, .45); }
.deal__shot {
  position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 19px;
  background: radial-gradient(70% 70% at 50% 62%, #ffe2cf, transparent 72%), var(--surface);
}
.deal__shot svg { width: 36%; height: 36%; stroke-width: 1.1; color: #c96a3c; transition: transform .6s var(--ease); }
.deal__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.deal:hover .deal__shot svg, .deal:hover .deal__shot img { transform: scale(1.08); }
.deal__off { position: absolute; left: 8px; top: 8px; padding: 5px 11px; border-radius: 999px; background: linear-gradient(135deg, #dd4a0c, #b93a08); color: #fff; font: 600 14px/1.25 var(--display); font-variant-numeric: tabular-nums; box-shadow: 0 6px 14px -6px rgba(194, 65, 12, .7); }
.deal__body { display: flex; flex-direction: column; gap: 8px; padding: 12px 8px 8px; flex: 1; }
.deal__name { font: 400 14.5px/1.5 var(--body); color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.deal__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.deal__price { display: grid; }
.deal__price b { font: 600 25px/1.15 var(--display); color: #e8470d; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.deal__price s { color: var(--muted); font-size: 13.5px; line-height: 1.3; }
.deal__go { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--ink); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.deal__go svg { width: 19px; height: 19px; }
.deal:hover .deal__go { background: var(--grad); color: #fff; transform: rotate(45deg); }
.deal__stock { position: relative; height: 20px; border-radius: 999px; background: #ffe0cc; overflow: hidden; }
.deal__stock span { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 999px; background: linear-gradient(90deg, #ff5a1f, #ffa55c); }
.deal__stock em { position: relative; display: block; text-align: center; font: 600 12px/20px var(--body); font-style: normal; color: #fff; text-shadow: 0 1px 2px rgba(140, 50, 0, .55); }
.deal__meta { margin-top: auto; padding-top: 4px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.deal__meta .star { color: #ffab2e; }
.deal__shop { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- footer / toast ---------- */
.foot { margin: 0 var(--pad) 24px; padding: 30px clamp(20px, 3vw, 40px); border-radius: var(--r-xl); background: var(--ink); color: #fff; display: grid; gap: 16px; }
.foot p { max-width: 78ch; color: #b9bcc2; font-size: 14.5px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 40; transform: translate(-50%, 20px); max-width: calc(100vw - 32px); padding: 13px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  :root { --nav-h: 116px; --r-xl: 28px; --r-lg: 20px; }
  .nav { flex-wrap: wrap; border-radius: 28px; padding: 10px; gap: 8px 10px; top: 8px; margin-top: 8px; }
  .logo { padding-left: 6px; }
  .search { order: 3; flex: 1 0 100%; max-width: none; }
  .nav__links a { padding: 7px 9px; font-size: 14.5px; }
  .nav__links a:first-child { display: none; }
  .float { padding: 9px 14px; border-radius: 16px; }
  .float b { font-size: 20px; }
  .float span { font-size: 12.5px; }
  .float--a { left: 12px; bottom: 12px; }
  .float--b { right: 12px; top: 12px; }
  .hero { grid-template-columns: 1fr; gap: 12px; padding-top: 14px; }
  .hero__art { order: -1; min-height: 300px; }
  .hero__main { min-height: 0; }
  .cats, .flash { padding-top: 44px; }
  .cats__grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 172px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding: 4px var(--pad) 12px; }
  .cats__grid::-webkit-scrollbar { display: none; }
  .rail__nav { display: none; }
  .deals { padding-top: 44px; }
  .filters { flex-direction: column; align-items: stretch; border-radius: 24px; top: calc(var(--nav-h) + 22px); }
  .filters__sel { display: grid; grid-template-columns: 1fr 1fr; }
  .sel select { width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .deal { padding: 6px; }
  .deal__shot { border-radius: 15px; }
  .deal__body { padding: 10px 6px 6px; }
  .deal__price b { font-size: 21px; }
  .deal__go { width: 34px; height: 34px; }
  .deal__meta { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- generated pages: category, price band, about ---------- */
.pagehead { margin: 20px var(--pad) 0; padding: clamp(24px, 4vw, 52px) clamp(22px, 4vw, 60px); border-radius: var(--r-xl); background: radial-gradient(70% 140% at 100% 0%, #ffe3d0, transparent 62%), var(--tint); }
.pagehead > * { animation: rise .9s var(--ease) both; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--muted); }
.crumbs a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--deep); }
.pagehead__h { margin-top: 14px; font: 600 clamp(30px, 4.2vw, 56px)/1.2 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.pagehead__p { margin-top: 14px; max-width: 68ch; font-size: clamp(16px, 1.3vw, 18px); color: var(--soft); }
.pagehead__note { margin-top: 10px; max-width: 68ch; font-size: 15px; color: #8a3a10; }
.pagehead + .flash, .pagehead + .deals { padding-top: 44px; }
.prose { padding: 44px var(--pad) 80px; max-width: calc(72ch + var(--pad) * 2); display: grid; gap: 12px; }
.prose h2 { font-size: clamp(20px, 2vw, 26px); margin-top: 18px; }
.prose p { color: var(--soft); }
a.chip { text-decoration: none; }
.chip[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 600; }
.cat { color: inherit; text-decoration: none; }
.cat[aria-current="page"] { background: #fff; border-color: var(--orange); }
.foot__nav { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 26px 32px; font-size: 14.5px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot__nav a { color: #e4e6ea; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .28); text-underline-offset: 3px; }
.foot__nav a:hover { color: #fff; text-decoration-color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .pagehead > * { animation: none; } }
.more { margin: 28px auto 0; display: flex; }

/* ---------- articles ---------- */
.pagehead__link { margin-top: 12px; }
.pagehead__link a, .deals__lead a, .disclose a { color: #c2410c; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.disclose { font-size: 14px; color: var(--muted); max-width: 72ch; }
.pagehead .disclose { margin-top: 14px; }
.article { max-width: calc(880px + var(--pad) * 2); gap: 14px; }
.article h2 { margin-top: 30px; font-family: var(--display); }
.awards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.awards li { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); }
.awards span { font-size: 13.5px; color: var(--muted); }
.awards a { font-weight: 600; line-height: 1.45; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.awards a:hover { text-decoration-color: var(--orange); }
.awards b { color: #c2410c; font-family: var(--display); }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.tbl table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td:nth-child(2) { white-space: normal; min-width: 220px; }
.tbl th { background: var(--surface); font-weight: 600; font-size: 13.5px; color: var(--soft); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.tbl td a:hover { text-decoration-color: var(--orange); }
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pick { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; scroll-margin-top: calc(var(--nav-h) + 24px); }
.pick:target { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 90, 31, .12); }
.pick__shot { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.pick__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick__rank { position: absolute; top: 10px; left: 10px; min-width: 34px; height: 34px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; background: var(--ink); color: #fff; font: 600 16px/1 var(--display); }
.pick:first-child .pick__rank { background: var(--grad); }
.pick__body { display: grid; gap: 10px; align-content: start; }
.pick__body h3 { font: 600 18px/1.45 var(--display); }
.pick__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.pick__price b { font: 600 26px/1.1 var(--display); color: #c2410c; }
.pick__price s { color: var(--muted); }
.pick__price em { font-style: normal; font-weight: 600; font-size: 13.5px; padding: 3px 9px; border-radius: 999px; background: var(--tint); color: #c2410c; }
.pick__body p { font-size: 15.5px; }
.pick__note { display: block; margin-top: 6px; padding-left: 14px; position: relative; color: var(--ink); }
.pick__note::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.pick__body .btn { justify-self: start; }
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 18px; background: #fff; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; }
.faq details p { padding-bottom: 16px; }
.article__more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.guides a { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.guides a:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.guides svg, .guides i { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 13px; background: var(--tint); color: var(--orange); }
.guides b { font-weight: 600; line-height: 1.4; }
.guides span { font-size: 14px; color: var(--muted); }
.deals--tight { padding-top: 40px; padding-bottom: 8px; }
.deals--tight h2 { font: 600 clamp(22px, 2.4vw, 30px)/1.25 var(--display); }
.deals__lead { margin-top: 6px; color: var(--soft); max-width: 72ch; }
.deals--tight + .prose { padding-top: 36px; }
@media (max-width: 620px) {
  .pick { grid-template-columns: 104px 1fr; gap: 14px; padding: 14px; }
  .pick__body h3 { font-size: 16px; }
  .pick__price b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .guides a { transition: none; } }

/* ---------- polish pass: browser surfaces, numerals, footer, home guides ---------- */
html { accent-color: var(--orange); caret-color: var(--orange); scrollbar-color: #d5cfc6 transparent; -webkit-tap-highlight-color: rgba(255, 90, 31, .14); }
::selection { background: #ffd9c2; color: var(--ink); }
a, button, select, summary { touch-action: manipulation; }
h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.tbl table, .deal__price, .deal__meta, .pick__price, .awards b, .cat__t span, .deals__count, .guides span, .clock { font-variant-numeric: tabular-nums; }
.search input { font-size: 16px; }
.foot__col { display: grid; gap: 7px; align-content: start; }
.foot__col--wide { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.foot__col--wide .foot__h { grid-column: 1 / -1; }
.foot .foot__h { margin-bottom: 4px; color: #fff; font: 600 15px/1.4 var(--display); }
.foot__nav a { text-decoration-color: transparent; transition: color .2s, text-decoration-color .2s; }
.foot__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 40px; }
.foot__copy { font-size: 13.5px; color: #9a9ea6; }
.homeguides { padding: 0 var(--pad) 80px; }
.homeguides .guides { margin-top: 20px; }
.homeguides__lead { margin-top: 8px; color: var(--soft); max-width: 68ch; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--soft); border-bottom: 2px solid var(--soft); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details:hover { border-color: #d9d3ca; }
.tbl tbody tr:hover td { background: #fffaf6; }
.pick { transition: border-color .25s, box-shadow .3s var(--ease); }
.pick:hover { border-color: #ffc9ad; box-shadow: var(--shadow-sm); }
.pick__shot img { transition: transform .6s var(--ease); }
.pick:hover .pick__shot img { transform: scale(1.04); }
.pick:first-child .pick__rank { background: linear-gradient(135deg, #dd4a0c, #b93a08); }
@media (max-width: 860px) {
  .foot__nav { grid-template-columns: 1fr 1fr; }
  .foot__col--wide { grid-column: 1 / -1; }
  .homeguides { padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) { .pick__shot img, .faq summary::after { transition: none; } }

/* ---------- dense list: sort tabs, small cards, page numbers ---------- */
.tabs { margin-top: 14px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--soft); font-weight: 600; white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease); }
.tab svg { width: 18px; height: 18px; }
.tab:hover { border-color: #ffc9ad; color: var(--ink); }
.tab:active { transform: scale(.97); }
.tab[aria-pressed="true"] { background: var(--tint); border-color: var(--orange); color: var(--deep); }
.grid { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
.grid .deal { padding: 5px; border-radius: 16px; }
.grid .deal__shot { border-radius: 12px; }
.grid .deal__off { left: 5px; top: 5px; padding: 3px 8px; font-size: 12.5px; }
.grid .deal__body { gap: 4px; padding: 8px 5px 5px; }
.grid .deal__name { font-size: 13px; line-height: 1.45; min-height: 2.9em; }
.grid .deal__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.grid .deal__price b { font-size: 18px; }
.grid .deal__price s { font-size: 12px; }
.grid .deal__go, .grid .deal__shop { display: none; }
.grid .deal__meta { padding-top: 2px; font-size: 12px; flex-wrap: wrap; gap: 0 6px; }
.rail { grid-auto-columns: minmax(150px, 176px); gap: 10px; }
.rail .deal__price b { font-size: 20px; }
.rail .deal__name { font-size: 13.5px; }
.rail .deal__go { width: 34px; height: 34px; }
.pager { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.pager__b { min-width: 44px; height: 44px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s, color .2s; }
.pager__b svg { width: 18px; height: 18px; }
.pager__b:hover:not(:disabled) { border-color: var(--ink); }
.pager__b[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__b:disabled { opacity: .4; cursor: default; }
.pager__gap { width: 20px; text-align: center; color: var(--muted); }
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .grid .deal { padding: 4px; border-radius: 13px; }
  .grid .deal__shot { border-radius: 10px; }
  .grid .deal__name { font-size: 12.5px; }
  .grid .deal__price b { font-size: 16px; }
  .grid .deal__off { font-size: 11.5px; padding: 2px 6px; }
  .tab { height: 42px; padding: 0 14px; }
}
@media (max-width: 340px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- single product page ---------- */
.pagehead--prod { background: var(--surface); }
.prod { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 48px); align-items: start; }
.prod__media { display: grid; gap: 10px; }
.prod__main { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.prod__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.prod__thumbs img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #fff; }
.prod__info { display: grid; gap: 12px; align-content: start; }
.prod__h { font: 600 clamp(20px, 2.2vw, 28px)/1.4 var(--display); text-wrap: balance; overflow-wrap: anywhere; }
.prod__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; }
.prod__price b { font: 600 clamp(34px, 4vw, 46px)/1.05 var(--display); color: #e8470d; letter-spacing: -.02em; }
.prod__price s { color: var(--muted); font-size: 18px; }
.prod__price em { font-style: normal; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: linear-gradient(135deg, #dd4a0c, #b93a08); color: #fff; }
.prod__save { color: var(--deep); font-weight: 600; }
.prod__chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.prod__chips > span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.prod__chips .star { color: #c97a00; }
.prod__shop { color: var(--soft); }
.prod__buy { min-height: 58px; padding: 0 34px; font-size: 17px; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.facts li { padding: 13px 18px; border-radius: var(--r-md); background: var(--surface); color: var(--ink); }
.chart { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.chart__axis { stroke: var(--line); stroke-width: 1; }
.chart__line { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart__dot { fill: #fff; stroke: var(--orange); stroke-width: 3; }
.chart__t { font: 500 12px var(--body); fill: var(--muted); }
.spec { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; overflow-wrap: anywhere; }
.prod__desc { display: grid; gap: 8px; }
.prod__desc p { overflow-wrap: anywhere; }
.rel { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rel a { display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; row-gap: 2px; align-content: center; height: 100%; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .25s var(--ease); }
.rel a:hover { border-color: #ffc9ad; box-shadow: var(--shadow-sm); }
.rel img { grid-row: span 2; width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--surface); }
.rel b { font-weight: 500; font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel span { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pick__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pick__more { color: var(--deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.plist { padding: 0 var(--pad) 56px; }
.plist ul { margin: 18px 0 0; padding: 0; list-style: none; columns: 3 300px; column-gap: 28px; font-size: 14.5px; }
.plist li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.plist a { color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plist a:hover { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.plist span { flex: none; color: var(--deep); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .prod { grid-template-columns: 1fr; }
  .prod__buy { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .rel a { transition: none; } }
