/* Max Electronics - site stylesheet. Dark showroom palette sampled from the logo
   (charcoal facets, white M) with the electric blue of the wall lighting and the
   lime of "Customer" on the poster. */
:root {
  --bg: #0b0d11;
  --bg-2: #10131a;
  --panel: #151920;
  --panel-2: #1c212b;
  --line: #262c38;
  --text: #eef1f6;
  --muted: #9aa4b5;
  --accent: #62b3ff;
  --lime: #b9f542;
  --amazon: #ff9900;
  --amazon-dark: #e58a00;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
/* .btn sets display:inline-flex, which outranks the browser's own
   [hidden] { display: none } — the native Share button showed on every
   browser, including those with no share sheet to open. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: 3rem 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.kicker { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: #000; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; font-family: var(--font-body); }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-primary { background: #fff; color: #0b0d11; }
.btn-primary:hover { background: #e8eefc; box-shadow: 0 8px 30px rgba(98, 179, 255, .25); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); background: rgba(255, 255, 255, .04); }
.btn-lime { background: var(--lime); color: #101400; }
.btn-lime:hover { background: #c9ff5c; }
.btn-amazon { background: var(--amazon); color: #111; }
.btn-amazon:hover { background: #ffad33; box-shadow: 0 8px 26px rgba(255, 153, 0, .3); }
.btn-amazon::before { content: "a"; font-family: var(--font-head); font-weight: 800; background: #111; color: var(--amazon); border-radius: 6px; width: 1.25em; height: 1.25em; display: inline-grid; place-items: center; font-size: .85em; line-height: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 17, .86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
/* The bar carries more than the page column can hold — brand, eight nav
   items, search, share, picks, flag — so it gets its own wider track. Capping
   it at the body width made it spill past the right edge in a band around
   1750px, where the centring margins grow faster than the content shrinks. */
.site-header .wrap { width: min(1560px, calc(100% - 2rem)); }
.header-row { display: flex; align-items: center; gap: .8rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); flex: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 28px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(120, 190, 255, .55)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-text small { color: var(--muted); font-size: .68rem; letter-spacing: .04em; white-space: nowrap; }
.main-nav { flex: 1; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.main-nav > ul > li > a { display: block; padding: .6rem .6rem; color: var(--text); font-weight: 500; font-size: .92rem; border-radius: 10px; white-space: nowrap; }
.main-nav > ul > li > a:hover { background: rgba(255, 255, 255, .06); text-decoration: none; }
.chev { font-size: .7em; opacity: .6; }
/* Leaves the site: coloured so it reads as a different shop, not a shelf. */
.nav-external { color: #f9a8d4 !important; }
.nav-external span { font-size: .8em; opacity: .7; }
.site-footer .nav-external:hover { color: #ffc9e4; }
.has-menu { position: relative; }
.mega { position: absolute; top: 100%; left: 0; padding-top: .6rem; display: none; z-index: 60; }
.has-menu:hover .mega, .has-menu:focus-within .mega { display: block; }
.mega-inner { width: min(620px, 92vw); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem; }
.mega-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; margin-bottom: .7rem; }
.mega-head span { color: var(--muted); font-size: .85rem; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .15rem .8rem; }
.mega-list a { display: flex; align-items: center; gap: .5rem; padding: .4rem .5rem; border-radius: 8px; color: var(--text); font-size: .92rem; }
.mega-list a:hover { background: rgba(255, 255, 255, .06); text-decoration: none; }
.mega-list em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .8rem; }
.ico { width: 1.4em; text-align: center; }
.search { position: relative; display: flex; }
.search input { width: 210px; max-width: 40vw; padding: .6rem 2.4rem .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; font-size: .92rem; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(98, 179, 255, .2); }
.search button { position: absolute; right: .3rem; top: .25rem; width: 2rem; height: 2rem; border-radius: 50%; border: 0; background: transparent; color: var(--text); font-size: 1.2rem; cursor: pointer; }
.suggest { position: absolute; top: calc(100% + .4rem); left: 0; right: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; z-index: 70; }
.suggest a { display: block; padding: .45rem .6rem; border-radius: 8px; color: var(--text); font-size: .9rem; }
.suggest a small { color: var(--muted); margin-left: .4rem; }
.suggest a:hover { background: rgba(255, 255, 255, .06); text-decoration: none; }
.suggest .grp { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: .4rem .6rem .1rem; }
.picks-link { color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; font-weight: 600; font-size: .9rem; }
.picks-link:hover { border-color: #ff6b8a; color: #ff6b8a; text-decoration: none; }
/* Share menu */
.share { position: relative; }
.share summary { list-style: none; display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .85rem; font-weight: 600; font-size: .88rem; white-space: nowrap; color: var(--text); }
.share summary::-webkit-details-marker { display: none; }
.share summary:hover { border-color: var(--lime); color: var(--lime); }
.share-ico { font-size: 1.05em; line-height: 1; }
.share-pop { position: absolute; right: 0; top: calc(100% + .5rem); width: min(320px, 92vw); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 1rem; z-index: 70; }
.share-head { margin: 0 0 .7rem; font-size: .9rem; }
.share-head small { color: var(--muted); }
.share-native { width: 100%; margin-bottom: .7rem; }
.share-list { list-style: none; margin: 0 0 .7rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }
.share-list a { display: flex; align-items: center; gap: .5rem; padding: .45rem .5rem; border-radius: 9px; color: var(--text); font-size: .88rem; }
.share-list a:hover { background: rgba(255, 255, 255, .06); text-decoration: none; }
.share-list .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.share-copy { display: flex; gap: .4rem; }
.share-copy input { flex: 1; min-width: 0; padding: .45rem .6rem; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); font: inherit; font-size: .8rem; }
.share-copy .btn { padding: .45rem .8rem; font-size: .82rem; }
.share-note { margin: .6rem 0 0; font-size: .82rem; color: var(--lime); }
.flag { display: inline-block; vertical-align: middle; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.country { position: relative; }
.country summary { list-style: none; display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .8rem; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.country summary::-webkit-details-marker { display: none; }
.country summary:hover { border-color: var(--accent); }
.country-pop { position: absolute; right: 0; top: calc(100% + .5rem); width: min(340px, 92vw); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 1rem; z-index: 70; display: grid; gap: .7rem; }
.country-head { margin: 0; font-size: .9rem; }
.country-head small { color: var(--muted); }
.country-pop label { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .3rem; }
.country-pop select { width: 100%; padding: .55rem .7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: .9rem; }
.btn-locate { width: 100%; }
.country-note { margin: 0; font-size: .82rem; color: var(--muted); }
.country-note.bad { color: #ffb3c2; }
.market-pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; margin-bottom: 1rem; }
.market-pill strong { color: var(--text); }
.market-note { display: flex; gap: .6rem; align-items: flex-start; background: rgba(255, 201, 60, .1); border: 1px solid rgba(255, 201, 60, .35); border-radius: 12px; padding: .8rem 1rem; font-size: .9rem; margin-bottom: 1rem; }
.market-note .flag { flex: none; margin-top: .2rem; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); display: block; }
.flash { margin-top: 1rem; padding: .8rem 1.1rem; border-radius: 12px; font-weight: 500; }
.flash.ok { background: rgba(185, 245, 66, .12); border: 1px solid rgba(185, 245, 66, .4); color: #dfffa2; }
.flash.err { background: rgba(255, 107, 138, .12); border: 1px solid rgba(255, 107, 138, .4); color: #ffb3c2; }
.flash.note { background: rgba(98, 179, 255, .1); border: 1px solid rgba(98, 179, 255, .35); color: #cfe4ff; }
.country-note.soon { color: #cfe4ff; }
.country-pop optgroup { color: var(--muted); font-style: normal; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 4rem 0 3rem; background: radial-gradient(900px 500px at 75% 20%, rgba(98, 179, 255, .16), transparent 60%), radial-gradient(600px 400px at 10% 90%, rgba(185, 245, 66, .08), transparent 60%), var(--bg); }
.hero-facets { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, .025) 40%, rgba(255, 255, 255, .025) 55%, transparent 55%),
    linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, .02) 30%, rgba(255, 255, 255, .02) 48%, transparent 48%),
    linear-gradient(120deg, transparent 70%, rgba(0, 0, 0, .35) 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: .4em; background: linear-gradient(90deg, #fff, #cfe4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0; }
.hero-stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--lime); }
.hero-stats span { color: var(--muted); font-size: .85rem; }
.store-frame { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(98, 179, 255, .15), 0 0 80px rgba(98, 179, 255, .18); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); max-height: 640px; }
.store-frame img { width: 100%; height: 640px; object-fit: cover; object-position: 50% 42%; }
.store-caption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(11, 13, 17, .7); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: .4rem .9rem; font-size: .8rem; letter-spacing: .04em; }

/* Departments */
.departments { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: -1rem; position: relative; z-index: 2; }
.dept-card { display: flex; flex-direction: column; gap: .2rem; padding: 1.3rem 1.4rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: transform .2s, border-color .2s; }
.dept-card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--accent); }
.dept-icon { font-size: 1.8rem; }
.dept-card strong { font-family: var(--font-head); font-size: 1.2rem; }
.dept-card span:not(.dept-icon) { color: var(--muted); font-size: .92rem; }
.dept-card em { font-style: normal; font-size: .78rem; color: var(--accent); margin-top: .4rem; }

/* Offer tiles */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.offer-tile { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); color: var(--text); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: radial-gradient(500px 200px at 0% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--panel); transition: transform .2s, box-shadow .2s; }
.offer-tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, .4), 0 0 40px color-mix(in srgb, var(--accent) 25%, transparent); }
.offer-icon { font-size: 2.2rem; }
.offer-text { display: flex; flex-direction: column; flex: 1; }
.offer-text strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--accent); }
.offer-text em { font-style: normal; color: var(--muted); font-size: .9rem; }
.offer-count { font-weight: 600; white-space: nowrap; color: var(--accent); }
@media (max-width: 700px) { .offers { grid-template-columns: 1fr; } }

/* Chips */
.chip-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: .9rem; font-weight: 500; transition: border-color .15s, background .15s, transform .15s; }
.chip:hover { text-decoration: none; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--panel)); transform: translateY(-1px); }
.chip em { font-style: normal; color: var(--muted); font-size: .8rem; }

/* Showcase / beauty panels */
.showcase { padding: 3rem 0 1rem; }
.beauty { padding: 3rem 0; position: relative; }
.beauty:nth-child(even) { background: var(--bg-2); }
.beauty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.beauty.flip .beauty-art { order: 2; }
.beauty-art { position: relative; display: grid; place-items: center; }
.beauty-art::before { content: ""; position: absolute; inset: 10%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%); filter: blur(30px); }
.beauty-art img { position: relative; width: 100%; max-width: 560px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); transition: transform .5s; }
.beauty:hover .beauty-art img { transform: scale(1.03) translateY(-4px); }
.beauty-copy .kicker { color: var(--accent); }
.beauty-copy h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; }
.beauty-copy > p { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.beauty-picks { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .5rem; }
.beauty-picks a { display: flex; align-items: center; gap: .8rem; padding: .5rem .7rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--text); }
.beauty-picks a:hover { text-decoration: none; border-color: var(--accent); }
.beauty-picks img { width: 72px; height: 54px; object-fit: contain; background: color-mix(in srgb, var(--accent) 12%, var(--panel)); border-radius: 8px; }
.beauty-picks span { display: flex; flex-direction: column; line-height: 1.25; }
.beauty-picks strong { font-size: .92rem; font-weight: 600; }
.beauty-picks em { font-style: normal; font-size: .78rem; color: var(--muted); }
.beauty-cta { display: flex; gap: .7rem; flex-wrap: wrap; }

/* Power to customer */
.power { padding: 4rem 0; background: linear-gradient(180deg, var(--bg) 0%, #121a12 50%, var(--bg) 100%); }
.power-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: center; }
.power-visual img { border-radius: 24px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(185, 245, 66, .12); }
.power .kicker { color: var(--lime); }
.power h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
.power h2::after { content: ""; display: block; width: 80px; height: 5px; margin-top: .4em; background: var(--lime); border-radius: 3px; }
.pillars { list-style: none; margin: 1.6rem 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pillars li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.pillars span { font-size: 1.5rem; display: block; margin-bottom: .3rem; }
.pillars strong { display: block; font-family: var(--font-head); margin-bottom: .3rem; }
.pillars p { margin: 0; color: var(--muted); font-size: .9rem; }

.ai-remark { margin-top: 1.2rem; font-size: .82rem; color: var(--muted); border-left: 3px solid var(--lime); padding-left: .8rem; }

/* Founder */
.founder { padding: 4rem 0; background: radial-gradient(700px 500px at 80% 50%, rgba(167, 139, 250, .16), transparent 65%), var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founder-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.founder .kicker { color: #c4b5fd; }
.founder h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
.founder-title { color: #c4b5fd; font-weight: 600; margin-top: -.4rem; }
.founder-visual { display: grid; justify-items: center; }
.founder-visual img { max-width: 440px; width: 100%; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 70px rgba(167, 139, 250, .22); transform: rotate(2deg); transition: transform .4s; }
.founder-visual img:hover { transform: rotate(0) scale(1.02); }
.founder-card { margin: 0; position: relative; }
.founder-card img { border-radius: 20px; border: 1px solid var(--line); }
.founder-card figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(11, 13, 17, .75); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: .7rem 1rem; display: flex; flex-direction: column; }
.founder-card figcaption span { color: var(--muted); font-size: .85rem; }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.card-media { display: block; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 22%, var(--panel-2)), var(--panel-2) 75%); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media img[src^="/uploads"], .card-media img[src^="/products"] { object-fit: cover; }
.badge { position: absolute; top: .7rem; left: .7rem; background: var(--lime); color: #101400; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; }
.pick { position: absolute; top: .6rem; right: .6rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); background: rgba(11, 13, 17, .65); color: #fff; cursor: pointer; font-size: 1rem; transition: transform .15s, background .15s; }
.pick:hover { transform: scale(1.1); }
.pick.on { background: #ff4d73; border-color: #ff4d73; }
.card-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .78rem; }
.brand-name { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.tier { padding: .15rem .55rem; border-radius: 999px; font-weight: 600; font-size: .7rem; letter-spacing: .03em; }
.tier-value { background: rgba(74, 222, 128, .15); color: #8df0ae; }
.tier-popular { background: rgba(98, 179, 255, .15); color: #9fd0ff; }
.tier-premium { background: rgba(251, 191, 36, .16); color: #ffd97a; }
.card h3 { font-size: 1rem; margin: 0; font-weight: 600; }
.card h3 a { color: var(--text); }
.tagline { color: var(--muted); font-size: .88rem; margin: 0; flex: 1; }
.stars { color: #ffc93c; font-size: .85rem; letter-spacing: .05em; }
.stars small { color: var(--muted); letter-spacing: 0; }
.stars.big { font-size: 1.05rem; margin-bottom: 1rem; }
.card-actions { display: flex; gap: .5rem; margin-top: .5rem; }
.card-actions .btn { flex: 1; padding: .55rem .6rem; font-size: .85rem; }

/* Filters, pagination, empty */
.filters { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: end; margin-bottom: 1.4rem; padding: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.filters label { display: flex; flex-direction: column; gap: .3rem; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.filters select { min-width: 160px; padding: .55rem .7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: .9rem; }
.filters .count { margin-left: auto; color: var(--muted); font-size: .9rem; }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .5rem .9rem; border-radius: 10px; border: 1px solid var(--line); color: var(--text); }
.pagination a.current { background: #fff; color: #000; border-color: #fff; }
.pagination a:hover { text-decoration: none; border-color: var(--accent); }
.empty { text-align: center; padding: 3rem 1rem; }
.empty.tall { padding: 6rem 1rem; }
.empty p { color: var(--muted); }
.err-detail { text-align: left; background: var(--panel); padding: 1rem; border-radius: 12px; overflow: auto; font-size: .85rem; }

/* Page heads, category hero */
.page-head { padding: 2.5rem 0 1rem; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--text); }
.cat-hero { padding: 2.5rem 0 1rem; background: radial-gradient(700px 400px at 80% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%), var(--bg); }
.cat-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.cat-hero .kicker { color: var(--accent); }
.cat-art { position: relative; display: grid; place-items: center; }
.cat-art::before { content: ""; position: absolute; inset: 15%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 50%, transparent), transparent 65%); filter: blur(30px); }
.cat-art img { position: relative; width: 100%; max-width: 460px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.guide-box { background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.guide-box .kicker { color: var(--accent); }
.guide-box p:last-of-type { margin: 0; }

/* Product page */
.product { padding: 2rem 0 1rem; }
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: start; }
.product-media { position: relative; border-radius: 24px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 28%, var(--panel-2)), var(--panel-2) 75%); border: 1px solid var(--line); padding: 1rem; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.product-media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.product-media img[src^="/uploads"], .product-media img[src^="/products"] { object-fit: cover; border-radius: 16px; }
.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.highlights { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .5rem; }
.highlights li { padding-left: 1.6rem; position: relative; }
.highlights li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
.buy-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.buy-box .btn-amazon { flex: 1 1 220px; }
.buy-note { flex-basis: 100%; margin: .4rem 0 0; color: var(--muted); font-size: .85rem; }
.product-lower { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; margin: 3rem 0 2rem; }
.product-desc p { color: #cbd3df; }
.specs table { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .93rem; }
.specs th { color: var(--muted); font-weight: 500; width: 38%; }

/* About, contact, policy */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; padding: 1rem 0 3rem; }
.about-copy p { color: #cbd3df; }
.about-visual { display: grid; gap: 1rem; align-content: start; }
.about-visual img { border-radius: 20px; border: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; padding: 1rem 0 3rem; }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .85rem; color: var(--muted); }
.form input, .form textarea, .form select { padding: .75rem .9rem; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(98, 179, 255, .18); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .hp { position: absolute; left: -9999px; }
.store-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.store-card img { width: 100%; height: 260px; object-fit: cover; }
.store-card h2, .store-card p { padding: 0 1.4rem; }
.store-card h2 { margin-top: 1.2rem; }
.store-card p:last-child { padding-bottom: 1.4rem; }
.socials a { margin-right: 1rem; }
.prose { padding: 1rem 0 3rem; max-width: 76ch; }
.prose p, .prose li { color: #cbd3df; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6rem; }

/* Brands, newsletter, footer */
.brand-strip { display: flex; flex-wrap: wrap; gap: .5rem; }
.brand-strip a { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-weight: 600; font-family: var(--font-head); font-size: .85rem; letter-spacing: .04em; }
.brand-strip a:hover { color: var(--text); border-color: var(--accent); text-decoration: none; }
.newsletter { background: linear-gradient(90deg, #131a24, #101a12); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3rem 0; margin-top: 2rem; }
.newsletter-row { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.newsletter h2 { margin-bottom: .3rem; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter-form { display: flex; gap: .5rem; }
.newsletter-form input { min-width: 280px; padding: .8rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
.site-footer { padding: 3rem 0 2rem; color: var(--muted); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
.footer-brand img { width: 60px; margin-bottom: .6rem; }
.footer-brand strong { display: block; color: var(--text); font-family: var(--font-head); font-size: 1.1rem; margin-bottom: .5rem; }
.site-footer h4 { color: var(--text); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer ul a { color: var(--muted); }
.site-footer ul a:hover { color: var(--text); }
.footer-addr { margin-top: 1rem; font-size: .82rem; }
.footer-sales { font-size: .82rem; margin-top: .3rem; }
.sales-line { color: var(--lime); font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.footer-bottom a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.4rem; font-size: .82rem; }
.disclosure { max-width: 90ch; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .store-frame { transform: none; } }

/* Responsive */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .search input { width: 160px; }
  .brand-text small { display: none; }
  .country .country-name { display: none; }
}
/* Compact bar. Eight nav items, a search box, Share, the heart and the flag:
   at full size that measures about 1690px, so the full-size bar is kept only
   for windows above 1750 (a media query counts the scrollbar); below that the flag drops its country name and the nav
   and search tighten, which is what keeps a 1366 laptop on one row. */
@media (max-width: 1750px) {
  .country .country-name { display: none; }
  .share summary { padding: .45rem .7rem; }
  .main-nav > ul > li > a { padding: .6rem .4rem; }
  .search input { width: 130px; }
}

/* The header runs out of room long before the phone breakpoint - eight nav
   items, a search box, the heart and the flag - so the nav collapses into the
   toggle here and the search takes its own row, while the page layout below
   stays wide down to 900. */
@media (max-width: 1400px) {
  .share .share-label { display: none; }
}

@media (max-width: 1340px) {
  .header-row { flex-wrap: wrap; gap: .5rem .7rem; padding: .55rem 0; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; flex-basis: 100%; order: 10; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; }
  .mega { position: static; display: none; padding: 0 0 .5rem .5rem; }
  .has-menu.open .mega { display: block; }
  .has-menu:hover .mega { display: none; }
  .has-menu.open:hover .mega { display: block; }
  .mega-inner { width: 100%; box-shadow: none; }
  .search { order: 5; flex: 1 1 100%; }
  .search input { width: 100%; max-width: none; }
  /* The flag is the item pushed to the right edge, so the heart sits beside the
     brand and both still fit on the first row of a phone. */
  .country { margin-left: auto; }
  .country .country-name { display: none; }
}

@media (max-width: 900px) {
  .header-row { flex-wrap: wrap; gap: .6rem .8rem; padding: .6rem 0; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; flex-basis: 100%; order: 10; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; }
  .mega { position: static; display: none; padding: 0 0 .5rem .5rem; }
  .has-menu.open .mega { display: block; }
  .has-menu:hover .mega { display: none; }
  .has-menu.open:hover .mega { display: block; }
  .mega-inner { width: 100%; box-shadow: none; }
  .search { order: 5; flex: 1 1 100%; }
  .country-pop { right: auto; left: 0; }
  .search input { width: 100%; max-width: none; }
  .hero-grid, .beauty-grid, .power-grid, .founder-grid, .product-grid, .product-lower, .about-grid, .contact-grid, .cat-hero-grid { grid-template-columns: 1fr; }
  .beauty.flip .beauty-art { order: 0; }
  .store-frame { transform: none; }
  .store-frame img { height: 420px; }
  .departments { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-row { grid-template-columns: minmax(0, 1fr); }
  .newsletter-form { flex-wrap: wrap; }
  .newsletter-form input { min-width: 0; width: 100%; flex: 1 1 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .hero { padding-top: 2.5rem; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .card-actions { flex-direction: column; }
  /* Phone header: the M mark alone. A flex row wraps before it shrinks, so
     with the name in place the flag was pushed onto a row of its own; the
     wordmark is in the page title and the hero anyway. */
  .brand-text { display: none; }
  .brand img { width: 40px; }
  .header-row { gap: .4rem .45rem; }
  .picks-link { padding: .45rem .7rem; }
  .country summary { padding: .42rem .6rem; }
  .country summary .chev { display: none; }
  .hero-stats { gap: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
  .filters .count { margin-left: 0; }
}
