/* Modern homepage theme (Admin › Settings › Homepage design). Loaded only by index.php; everything is scoped to body.hm. */
@font-face { font-family: 'Plus Jakarta Sans'; src: url('fonts/plus-jakarta-sans.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

body.hm {
  --hm-navy: #0a1f5c; --hm-blue: #1340b8; --hm-blue-2: #2563eb; --hm-sky: #eaf1ff; --hm-yellow: #ffc933; --hm-yellow-2: #ffb703;
  --hm-ink: #0f172a; --hm-muted: #5b6477; --hm-line: #e4e9f2; --hm-bg: #f5f7fb; --hm-r: 18px;
  --hm-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 20px rgba(15, 23, 42, .06);
  --hm-shadow-up: 0 2px 4px rgba(15, 23, 42, .06), 0 18px 40px rgba(19, 64, 184, .14);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--hm-bg); color: var(--hm-ink); -webkit-font-smoothing: antialiased;
}
.hm a { color: var(--hm-blue); }
.hm :focus-visible { outline: 3px solid var(--hm-yellow); outline-offset: 2px; border-radius: 8px; }
html:has(body.hm) { scroll-behavior: smooth; scroll-padding-top: 130px; }
@media (prefers-reduced-motion: reduce) { html:has(body.hm) { scroll-behavior: auto; } }

/* Header */
.hm .site-top { background: var(--hm-navy); border-bottom: 0; box-shadow: 0 6px 24px rgba(10, 31, 92, .18); }
.hm .bar { height: 68px; gap: 22px; }
.hm .logo { color: #fff; font-weight: 800; letter-spacing: -.4px; }
.hm .top-links { display: flex; gap: 4px; }
.hm .top-links a { color: #dbe5ff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 7px 12px; border-radius: 10px; transition: background .15s, color .15s; }
.hm .top-links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hm .search { max-width: 400px; }
.hm .search input { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235b6477' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m12.5 12.5 4 4'/%3E%3C/svg%3E") no-repeat 15px 50%;
  border: 2px solid transparent; padding: 10px 16px 10px 42px; font: inherit; font-size: 15px; color: var(--hm-ink); transition: border-color .15s, box-shadow .15s; }
.hm .search input:focus { outline: none; border-color: var(--hm-yellow); box-shadow: 0 0 0 4px rgba(255, 201, 51, .25); }
.hm .cats { padding: 2px 18px 12px; gap: 8px; }
.hm .cats a { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #dbe5ff; font-weight: 600; font-size: 13.5px; padding: 6px 14px; transition: background .15s; }
.hm .cats a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hm .cats a.on { background: var(--hm-yellow); border-color: var(--hm-yellow); color: var(--hm-navy); }

/* Hero */
.hm-hero { position: relative; overflow: hidden; margin: 26px 0 8px; border-radius: 28px; padding: 56px 52px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center;
  color: #fff; background: radial-gradient(120% 140% at 100% 0%, #3b6cf0 0%, rgba(59, 108, 240, 0) 55%), linear-gradient(135deg, var(--hm-navy) 0%, var(--hm-blue) 100%);
  box-shadow: 0 24px 60px rgba(10, 31, 92, .25); }
.hm-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hm-hero-text { position: relative; z-index: 1; }
.hm-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--hm-navy); background: var(--hm-yellow); padding: 6px 14px; border-radius: 999px; }
.hm-hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -1.6px; margin: 18px 0 14px; font-weight: 800; }
.hm-hero p { font-size: clamp(16px, 1.6vw, 19px); color: #d6e1ff; margin: 0; max-width: 500px; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; text-decoration: none; padding: 14px 24px; border-radius: 14px; transition: transform .15s, box-shadow .15s, background .15s; }
.hm .hm-btn-yellow { background: var(--hm-yellow); color: var(--hm-navy); box-shadow: 0 8px 22px rgba(255, 183, 3, .35); }
.hm .hm-btn-yellow:hover { background: var(--hm-yellow-2); transform: translateY(-2px); }
.hm .hm-btn-ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .35); }
.hm .hm-btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.hm-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 30px 0 0; font-size: 14px; color: #c3d2ff; }
.hm-facts strong { color: #fff; font-size: 18px; margin-right: 4px; }

.hm-hero-art { position: relative; min-height: 360px; z-index: 1; }
.hm-blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.hm-blob-1 { width: 300px; height: 300px; right: 6%; top: 8%; background: radial-gradient(circle at 30% 30%, rgba(255, 201, 51, .55), rgba(255, 201, 51, 0) 70%); }
.hm-blob-2 { width: 200px; height: 200px; left: 4%; bottom: 0; background: radial-gradient(circle, rgba(125, 165, 255, .5), rgba(125, 165, 255, 0) 70%); }
.hm-float { position: absolute; background: #fff; border-radius: 22px; padding: 10px; box-shadow: 0 20px 45px rgba(5, 16, 50, .35); animation: hm-float 6s ease-in-out infinite; }
.hm-float img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; background: var(--hm-sky); }
.hm-float-1 { width: 58%; aspect-ratio: 1; left: 22%; top: 4%; z-index: 2; }
.hm-float-2 { width: 38%; aspect-ratio: 1; left: 0; bottom: 2%; z-index: 3; animation-delay: -2s; transform: rotate(-5deg); }
.hm-float-3 { width: 36%; aspect-ratio: 1; right: 0; bottom: 8%; z-index: 1; animation-delay: -4s; }
.hm-float-empty { display: grid; place-items: center; font-size: 90px; }
.hm-tag { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); white-space: nowrap; background: var(--hm-yellow); color: var(--hm-navy); font-weight: 800; font-size: 14px; padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 14px rgba(0, 0, 0, .2); }
@keyframes hm-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .hm-float { animation: none; } }

/* Title band for category, search and later pages */
.hm-band { margin: 26px 0 0; padding: 30px 34px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, var(--hm-navy), var(--hm-blue)); }
.hm-band h1 { margin: 0; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.8px; }
.hm-band p { margin: 4px 0 0; color: #c3d2ff; }

/* Sections */
.hm-section { margin-top: 54px; }
.hm-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 20px; }
.hm-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.6px; font-weight: 800; color: var(--hm-ink); }
.hm-head p { margin: 0; color: var(--hm-muted); font-size: 15px; }
.hm-empty { text-align: center; padding: 60px 0; color: var(--hm-muted); background: #fff; border-radius: var(--hm-r); }
.hm-reveal.hm-wait { opacity: 0; transform: translateY(18px); }
.hm-reveal.hm-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

/* Category shortcuts */
.hm-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.hm .hm-catcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 12px 18px; background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-r);
  text-decoration: none; color: var(--hm-ink); box-shadow: var(--hm-shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.hm .hm-catcard:hover { transform: translateY(-3px); box-shadow: var(--hm-shadow-up); border-color: #c9d7fb; }
.hm-caticon { width: 58px; height: 58px; display: grid; place-items: center; font-size: 28px; border-radius: 18px; background: linear-gradient(135deg, var(--hm-sky), #fff6d9); transition: transform .18s; }
.hm-catcard:hover .hm-caticon { transform: scale(1.08) rotate(-4deg); }
.hm-catname { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.hm-catn { font-size: 12.5px; color: var(--hm-muted); }

/* Product cards */
.hm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.hm-grid-4 { grid-template-columns: repeat(4, 1fr); }
.hm-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-r); overflow: hidden; box-shadow: var(--hm-shadow); transition: transform .2s, box-shadow .2s; }
.hm-card:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow-up); }
.hm-img { position: relative; display: block; aspect-ratio: 1; background: #f1f4fa; overflow: hidden; }
.hm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hm-card:hover .hm-img img { transform: scale(1.05); }
.hm-store { position: absolute; left: 10px; top: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .2px; color: #fff; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.hm-store-shopee { background: #ee4d2d; } .hm-store-lazada { background: #0f146d; }
.hm-rank { position: absolute; right: 10px; top: 10px; background: var(--hm-yellow); color: var(--hm-navy); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.hm-video { position: absolute; left: 10px; bottom: 10px; background: rgba(10, 31, 92, .8); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.hm-body { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px 16px; flex: 1; }
.hm-cat { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--hm-blue-2); }
.hm-body h3 { margin: 0; font-size: 15.5px; line-height: 1.38; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm .hm-body h3 a { color: var(--hm-ink); text-decoration: none; }
.hm .hm-body h3 a::after { content: ''; position: absolute; inset: 0; } /* whole card opens the product page */
.hm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--hm-muted); }
.hm-rating { font-weight: 700; color: var(--hm-ink); }
.hm-stars { color: #f5a300; letter-spacing: 1px; font-size: 12.5px; }
.hm-sold { background: #fff4d6; color: #8a5a00; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.hm-best { margin: 0; font-size: 13px; color: #1e3a8a; background: var(--hm-sky); padding: 6px 10px; border-radius: 10px; line-height: 1.4; }
.hm-best strong { font-weight: 800; }
.hm-foot { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 10px; }
.hm-price { font-size: 19px; font-weight: 800; color: var(--hm-navy); letter-spacing: -.3px; }
.hm .hm-buy { position: relative; z-index: 1; text-align: center; background: var(--hm-yellow); color: var(--hm-navy); font-weight: 800; font-size: 14.5px; text-decoration: none; padding: 11px 14px; border-radius: 12px; transition: background .15s, transform .15s; }
.hm .hm-buy:hover { background: var(--hm-yellow-2); transform: translateY(-1px); }

/* Trending rail */
.hm-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 18px; overflow-x: auto; padding: 4px 4px 16px; margin: 0 -4px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.hm-rail .hm-card { scroll-snap-align: start; }
@media (min-width: 1100px) { .hm-rail { grid-auto-columns: calc((100% - 54px) / 4); } }

/* Smart Picks */
.hm-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-pick { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hm-line); border-radius: 22px; overflow: hidden; box-shadow: var(--hm-shadow); transition: transform .2s, box-shadow .2s; }
.hm-pick:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow-up); }
.hm-pick-img { display: block; aspect-ratio: 16 / 10; background: #f1f4fa; overflow: hidden; }
.hm-pick-img img { width: 100%; height: 100%; object-fit: cover; }
.hm-pick-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.hm-kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; color: var(--hm-blue-2); }
.hm-pick h3 { margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: -.3px; }
.hm .hm-pick h3 a { color: var(--hm-ink); text-decoration: none; }
.hm .hm-pick h3 a::after { content: ''; position: absolute; inset: 0; }
.hm-pick p { margin: 0; font-size: 14.5px; color: var(--hm-muted); line-height: 1.55; }
.hm-pick-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hm .hm-more { font-weight: 700; font-size: 14px; text-decoration: none; }

/* Why us */
.hm-trust { margin-top: 64px; padding: 44px 40px; border-radius: 28px; background: linear-gradient(180deg, #fff, var(--hm-sky)); border: 1px solid var(--hm-line); text-align: center; }
.hm-trust h2 { margin: 0 0 26px; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.6px; }
.hm-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.hm-trust-grid > div { background: #fff; border-radius: var(--hm-r); padding: 22px; box-shadow: var(--hm-shadow); }
.hm-trust-grid span { display: grid; place-items: center; width: 48px; height: 48px; font-size: 24px; border-radius: 14px; background: var(--hm-navy); }
.hm-trust-grid h3 { margin: 14px 0 6px; font-size: 16.5px; }
.hm-trust-grid p { margin: 0; font-size: 14px; color: var(--hm-muted); line-height: 1.55; }

/* Pager */
.hm-pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 34px 0 0; color: var(--hm-muted); font-weight: 600; }
.hm .hm-pager a { background: #fff; border: 1px solid var(--hm-line); padding: 9px 18px; border-radius: 12px; text-decoration: none; font-weight: 700; box-shadow: var(--hm-shadow); }
.hm .hm-pager a:hover { border-color: var(--hm-blue-2); }

/* Footer */
.hm .site-foot { margin-top: 70px; padding: 40px 0 48px; border-top: 0; background: var(--hm-navy); color: #b9c7ee; font-size: 14px; }
.hm .site-foot a { color: var(--hm-yellow); }
.hm .site-foot .disclosure { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dbe5ff; border-radius: 14px; padding: 14px 18px; }
.hm .site-foot .muted { color: #93a5d8; }

/* Tablet and phone */
@media (max-width: 1000px) {
  .hm-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hm-picks { grid-template-columns: 1fr 1fr; }
  .hm-trust-grid { grid-template-columns: 1fr 1fr; }
  .hm .top-links { display: none; }
}
@media (max-width: 820px) {
  .hm-hero { grid-template-columns: 1fr; padding: 34px 24px 28px; border-radius: 24px; }
  .hm-hero-art { min-height: 250px; max-width: 380px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hm .bar { height: 60px; gap: 12px; }
  .hm .logo span { font-size: 17px; }
  .hm .search input { padding: 9px 12px 9px 38px; background-position: 12px 50%; }
  .hm-hero { margin-top: 16px; }
  .hm-hero h1 { letter-spacing: -1px; }
  .hm-eyebrow { font-size: 12px; padding: 5px 12px; }
  .hm-blob { display: none; }
  .hm-hero-art { min-height: 220px; max-width: 320px; }
  .hm-facts { margin-top: 22px; }
  .hm-btn { flex: 1 1 auto; padding: 13px 18px; }
  .hm-section { margin-top: 40px; }
  .hm-cats { display: flex; overflow-x: auto; gap: 10px; padding: 2px 2px 10px; margin: 0 -2px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hm .hm-catcard { flex: 0 0 116px; padding: 14px 8px; scroll-snap-align: start; }
  .hm-caticon { width: 48px; height: 48px; font-size: 24px; border-radius: 15px; }
  .hm-catname { font-size: 13px; }
  .hm-grid, .hm-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hm-body { padding: 11px 11px 12px; gap: 5px; }
  .hm-body h3 { font-size: 14px; }
  .hm-best { display: none; }
  .hm-price { font-size: 16px; }
  .hm .hm-buy { font-size: 13px; padding: 9px 8px; border-radius: 10px; }
  .hm-store { font-size: 10.5px; padding: 3px 8px; left: 8px; top: 8px; }
  .hm-rail { grid-auto-columns: 62%; gap: 12px; }
  .hm-picks, .hm-trust-grid { grid-template-columns: 1fr; }
  .hm-trust { padding: 30px 18px; border-radius: 22px; }
  .hm-band { padding: 22px 20px; }
}

/* ---------------------------------------------------------------- Editorial theme (body.hm.hm-ed) */
body.hm-ed { --hm-bg: #fbf9f4; --hm-line: #ebe6da; }
.hm-ed .hm-section { margin-top: 46px; }
.hm-ed .hm-head { flex-direction: column; gap: 2px; padding-left: 16px; border-left: 4px solid var(--hm-yellow); }
.hm-ed .hm-head h2 { font-size: clamp(22px, 2.4vw, 27px); }
.hm-ed .hm-head p { font-size: 14.5px; }

/* Compact hero: products show sooner */
.hm-ed .hm-hero { padding: 34px 44px; margin-top: 22px; border-radius: 24px; grid-template-columns: 1fr auto; gap: 24px;
  background: linear-gradient(120deg, var(--hm-navy) 0%, #14348f 70%, #1d4fd6 100%); box-shadow: 0 14px 40px rgba(10, 31, 92, .2); }
.hm-ed .hm-hero::after { display: none; }
.hm-ed .hm-hero h1 { font-size: clamp(28px, 3.6vw, 42px); margin: 12px 0 8px; letter-spacing: -1px; }
.hm-ed .hm-hero p { font-size: 16.5px; }
.hm-ed .hm-cta { margin-top: 20px; }
.hm-ed .hm-btn { padding: 12px 22px; font-size: 15px; }
.hm-ed .hm-facts { margin-top: 18px; }
.hm-ed .hm-hero-art { min-height: 0; width: 320px; height: 220px; }
.hm-ed .hm-blob { display: none; }
.hm-ed .hm-float { padding: 7px; border-radius: 18px; animation-duration: 8s; }
.hm-ed .hm-float img { border-radius: 12px; }
.hm-ed .hm-float-1 { width: 170px; left: 70px; top: 0; }
.hm-ed .hm-float-2 { width: 120px; left: 0; bottom: 0; top: auto; }
.hm-ed .hm-float-3 { width: 120px; right: 0; bottom: 6px; }
.hm-ed .hm-tag { font-size: 12.5px; padding: 4px 10px; bottom: -10px; }

/* Categories: top ones plus "More" */
.hm-ed .hm-cats { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.hm-ed .hm-catcard { padding: 16px 10px 14px; border-radius: 16px; box-shadow: none; }
.hm-ed .hm-caticon { width: 50px; height: 50px; font-size: 25px; border-radius: 50%; background: #fff4d1; }
.hm-cats.is-collapsed .hm-cat-extra { display: none; }
.hm .hm-catmore { font: inherit; cursor: pointer; border-style: dashed; border-color: #cfc6b0; background: transparent; }
.hm .hm-catmore .hm-caticon { background: var(--hm-navy); color: var(--hm-yellow); font-size: 22px; font-weight: 800; }

/* Spotlight */
.hm-spot { position: relative; display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); align-items: stretch; background: #fff; border: 1px solid var(--hm-line); border-radius: 24px; overflow: hidden;
  box-shadow: var(--hm-shadow); margin-bottom: 20px; }
.hm-spot-img { position: relative; display: block; background: #f1f4fa; aspect-ratio: 1; }
.hm-spot-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-spot-body { display: flex; flex-direction: column; gap: 10px; padding: 32px 36px; justify-content: center; }
.hm-spot h3 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.6px; }
.hm .hm-spot h3 a { color: var(--hm-ink); text-decoration: none; }
.hm-spot-text { margin: 0; color: var(--hm-muted); font-size: 15.5px; line-height: 1.6; }
.hm-spot .hm-best { align-self: flex-start; }
.hm-spot-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.hm-spot-foot .hm-price { font-size: 26px; }
.hm-spot-foot .hm-buy { padding: 12px 26px; }
.hm-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cards: calmer, magazine-like */
.hm-ed .hm-card { border-radius: 16px; }
.hm-ed .hm-best { background: #fff8e1; color: #5c4400; border-left: 3px solid var(--hm-yellow); border-radius: 6px; }
.hm-ed .hm-sold { background: #eef2fb; color: #1e3a8a; }
.hm-ed .hm-buy { background: var(--hm-navy); color: #fff; }
.hm-ed .hm-buy:hover { background: var(--hm-blue); }
.hm-ed .hm-trust { background: #fff; }

/* Footer: affiliate transparency */
.hm-ed .site-foot .disclosure::before { content: 'Affiliate transparency'; display: block; font-weight: 800; color: var(--hm-yellow); font-size: 13px; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 4px; }

@media (max-width: 1000px) {
  .hm-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hm-ed .hm-hero-art { width: 260px; height: 190px; }
  .hm-ed .hm-float-1 { width: 140px; left: 60px; }
  .hm-ed .hm-float-2, .hm-ed .hm-float-3 { width: 100px; }
}
@media (max-width: 820px) {
  .hm-ed .hm-hero { grid-template-columns: 1fr; padding: 26px 22px; }
  .hm-ed .hm-hero-art { display: none; }
  .hm-spot { grid-template-columns: 1fr; }
  .hm-spot-img { aspect-ratio: 1; max-height: 420px; width: 100%; }
  .hm-spot-body { padding: 20px 20px 22px; }
}
@media (max-width: 640px) {
  .hm-ed .hm-hero { margin-top: 14px; padding: 22px 18px; border-radius: 20px; }
  .hm-ed .hm-eyebrow { display: none; }
  .hm-ed .hm-hero h1 { margin-top: 0; }
  .hm-ed .hm-cta { margin-top: 16px; }
  .hm-ed .hm-btn-ghost { display: none; }
  .hm-ed .hm-facts { margin-top: 14px; font-size: 13px; gap: 6px 18px; }
  .hm-ed .hm-facts strong { font-size: 16px; }
  .hm-ed .hm-cats { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 8px; }
  .hm-ed .hm-catcard { flex: none; padding: 10px 4px; border-radius: 14px; }
  .hm-ed .hm-caticon { width: 40px; height: 40px; font-size: 20px; }
  .hm-ed .hm-catname { font-size: 11.5px; }
  .hm-ed .hm-catn { display: none; }
  .hm-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hm-spot-foot .hm-buy { flex: 1 1 auto; text-align: center; }
  .hm-ed .hm-best { display: block; }
  .hm-ed .hm-card .hm-best { display: none; }
}
