/* AnyKeys — navy, white & electric blue */
:root {
  --bg: #ffffff;
  --bg-alt: #f3f6fc;
  --ink: #0b1220;
  --muted: #586379;
  --line: #e2e8f2;
  --navy: #0a1128;
  --navy-2: #111c3d;
  --blue: #1f6bff;
  --blue-dark: #1553d6;
  --blue-soft: #e8f0ff;
  --cyan: #38bdf8;
  --success: #0f7a3d;
  --wa: #11823b;
  --wa-dark: #0e6b31;
  --danger: #dc2626;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(10, 17, 40, .05), 0 10px 30px rgba(10, 17, 40, .07);
  --shadow-lg: 0 24px 60px rgba(10, 17, 40, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
/* Links inside text are underlined, not only colored (WCAG 1.4.1). */
main p a:not(.btn), main li a:not(.btn), .footer-bottom a, .review figcaption a { text-decoration: underline; text-underline-offset: 2px; }
main p.post-cat a, main p.eyebrow a { text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
code { background: var(--bg-alt); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.prose-wide { max-width: 900px; }
.center { text-align: center; }
.center-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lead { font-size: 1.15rem; color: var(--muted); }
.small { font-size: .92rem; }
.eyebrow { text-transform: uppercase; font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: var(--blue-dark); margin-bottom: .6rem; }
.note { background: #fff7ed; border: 1px solid #fed7aa; padding: 12px 14px; border-radius: 10px; font-size: .95rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer; text-decoration: none !important; transition: background .2s var(--ease), border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(31, 107, 255, .28); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 10px 24px rgba(31, 107, 255, .35); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-dark); }
.btn-lg { padding: 14px 24px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* Header */
.topbar { background: var(--navy); color: #c7d2fe; text-align: center; font-size: .84rem; padding: 8px 16px; }
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none !important; flex: none; }
.logo-mark { flex: none; }
.logo-light { color: #fff; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a { display: block; white-space: nowrap; padding: 9px 12px; color: var(--ink); font-weight: 600; font-size: .95rem; border-radius: 10px; transition: background .2s, color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); text-decoration: none; }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search { display: flex; width: 240px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-alt); overflow: hidden; transition: border-color .2s, box-shadow .2s, width .3s var(--ease); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font: inherit; font-size: .95rem; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,107,255,.12); width: 280px; }
.search button { border: 0; background: transparent; padding: 0 14px; color: var(--muted); cursor: pointer; }
.cart-link { position: relative; color: var(--ink); padding: 9px; border-radius: 12px; }
.cart-link:hover { background: var(--bg-alt); }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 800; min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; box-shadow: 0 0 0 2px #fff; }
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); padding: 8px; cursor: pointer; border-radius: 10px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 84px 0 92px; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(700px 420px at 85% 10%, rgba(31,107,255,.45), transparent 60%),
  radial-gradient(500px 380px at 10% 110%, rgba(56,189,248,.22), transparent 60%),
  linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 44px 44px; mask-image: linear-gradient(#000 70%, transparent); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { max-width: 620px; }
.hero .lead { color: #c3cde3; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; color: #c3cde3; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--cyan); }
.hero-visual { position: relative; height: 460px; }
.hero-tile { position: absolute; display: block; width: 58%; background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08); transition: transform .4s var(--ease), box-shadow .4s; text-decoration: none !important; }
.hero-tile .art { border-radius: 14px; }
.hero-tile:hover { transform: translateY(-6px) rotate(0deg) !important; z-index: 5; }
.hero-tile-1 { left: 0; top: 70px; width: 50%; transform: rotate(-7deg); animation: float 7s ease-in-out infinite; }
.hero-tile-2 { left: 21%; top: 0; z-index: 3; width: 60%; animation: float 7s ease-in-out -2s infinite; }
.hero-tile-3 { right: 0; top: 110px; width: 50%; transform: rotate(7deg); animation: float 7s ease-in-out -4s infinite; }
.hero-tile-1 .hero-chip, .hero-tile-3 .hero-chip { display: none; }
.hero-tile:hover .hero-chip { display: flex; }
.hero-chip { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 6px 14px; font-size: .8rem; white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.hero-chip strong { font-size: .78rem; color: var(--cyan); font-weight: 700; }
@keyframes float { 50% { translate: 0 -10px; } }

/* Sections */
.section { padding: 80px 0; }
.section-sm { padding: 36px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .eyebrow { color: var(--cyan); }
.section-dark .section-head a { color: var(--cyan); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.section-head h2 { margin: 0; }
.section-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.center-head { justify-content: center; text-align: center; }
.page-head { margin: 8px 0 32px; }
.byline { color: var(--muted); font-size: .9rem; }

/* Reveal animation (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, opacity .6s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,17,40,.13); border-color: #cddbf5; }
.card-media { display: block; padding: 12px 12px 0; }
.card-media .art { transition: transform .5s var(--ease); }
.card:hover .card-media .art { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-title { font-size: 1.02rem; margin: 2px 0 0; line-height: 1.3; }
.card-title a { color: var(--ink); }
.card-meta { font-size: .85rem; color: var(--muted); margin: 0; }
.card-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: auto; }
.card-actions .btn { padding: 10px 14px; font-size: .92rem; }
.lic { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avail-in { background: #e7f8ee; color: var(--success); }
.avail-out { background: #fdecec; color: var(--danger); }
.price { margin: 4px 0 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price .now { font-size: 1.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price .was { color: var(--muted); font-size: .92rem; }
.off { background: var(--blue-soft); color: var(--blue-dark); font-weight: 800; font-size: .78rem; padding: 2px 8px; border-radius: 999px; }
.price-lg .now { font-size: 2.4rem; }
.art { width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; background: #f3f3f3; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cat-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; min-height: 170px; padding: 22px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); text-decoration: none !important; transition: transform .3s var(--ease), box-shadow .3s, opacity .6s var(--ease); }
.cat-tile::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.08); transition: transform .5s var(--ease); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,17,40,.25); }
.cat-tile:hover::after { transform: scale(1.3); }
.cat-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.16); margin-bottom: 10px; }
.cat-tile strong { font-size: 1.2rem; }
.cat-tile span { opacity: .85; font-size: .92rem; }
.cat-tile em { margin-top: auto; padding-top: 12px; font-style: normal; font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }

/* Benefits */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.benefits li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; transition: transform .3s var(--ease), box-shadow .3s, opacity .6s var(--ease); }
.benefits li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefits h3 { font-size: 1.02rem; }
.benefits p { color: var(--muted); font-size: .93rem; margin: 0; }
.benefit-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 16px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.section-dark .steps li { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.steps p { color: var(--muted); margin: 0; }
.section-dark .steps p { color: #aab6d3; }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), #4f8dff); color: #fff; font-weight: 800; margin-bottom: 14px; }
.prose .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c9d8f6; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 18px 50px 18px 20px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Breadcrumbs & chips */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 24px 0 14px; font-size: .88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .9rem; background: #fff; transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.group { padding: 18px 0 30px; }

/* Product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin: 12px 0 48px; }
.product-media { position: sticky; top: 96px; background: var(--bg-alt); padding: 18px; border-radius: 24px; }
.product-info h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.price-block { padding: 18px 0; margin: 8px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-block .price { margin: 0 0 6px; }
.stock { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; color: var(--muted); font-size: .92rem; }
.spec-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; }
.spec-chips li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: .88rem; font-weight: 600; }
.buy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.license-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; background: var(--blue-soft); border-radius: 14px; color: #1e3a6e; font-size: .93rem; }
.license-note svg { flex: none; color: var(--blue); margin-top: 2px; }
.license-note p { margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks svg { color: var(--success); flex: none; }
.plain { padding-left: 1.25em; margin: 0 0 1em; }
.plain li { margin-bottom: 7px; }
.spec-section { margin: 0 0 32px; }
.spec-table, .prose table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td, .prose th, .prose td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td, .prose tr:last-child th, .prose tr:last-child td { border-bottom: 0; }
.spec-table th, .prose tbody th { width: 32%; background: var(--bg-alt); font-weight: 700; }
.prose thead th { background: var(--navy); color: #fff; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.product-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-details section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.product-details h3 { font-size: 1rem; margin-top: .8em; }

/* States */
.state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: var(--bg-alt); }
.state-loading { flex-direction: row; }
.state h2 { color: var(--ink); margin: 0; font-size: 1.3rem; }
.state p { margin: 0; }
.state-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; font-size: 1.6rem; font-weight: 800; }
.state-empty .state-icon { background: var(--blue-soft); color: var(--blue); }
.state-error .state-icon { background: #fdecec; color: var(--danger); }
.state-success { border-style: solid; border-color: #bfe9cf; background: #effaf3; }
.state-success .state-icon { background: #d6f3e1; color: var(--success); }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Cart */
.cart-line { display: grid; grid-template-columns: 64px 1fr auto auto auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; border-radius: 10px; background: #f3f3f3; }
.cart-line a { font-weight: 700; color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; }
.qty button { border: 0; background: transparent; width: 34px; height: 34px; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.qty button:hover { color: var(--blue); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }
.remove { border: 0; background: transparent; color: var(--muted); cursor: pointer; text-decoration: underline; font: inherit; font-size: .9rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 800; margin: 22px 0; }
.cart-help { color: var(--muted); font-size: .9rem; text-align: center; margin-top: 10px; }
#cart .btn-block + .btn-block { margin-top: 10px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); z-index: 200; }
.toast::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--success); font-size: .8rem; font-weight: 800; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; transition: transform .3s var(--ease), box-shadow .3s, opacity .6s var(--ease); }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,17,40,.12); }
.guide-icon { color: var(--blue); }
.guide-card strong { font-size: 1.08rem; line-height: 1.3; }
.guide-card span { color: var(--muted); font-size: .94rem; }
.guide-card em { color: var(--blue-dark); font-style: normal; font-weight: 700; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
.quick-answer { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.quick-answer p { margin: 6px 0 0; }
.prose h2 { margin-top: 1.6em; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; font-size: .9em; background: var(--bg-alt); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 0 0 16px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.review blockquote { margin: 10px 0 12px; color: var(--ink); }
.review figcaption { font-size: .88rem; color: var(--muted); }
.stars { color: #f5a524; letter-spacing: 2px; }
.rating-link { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.review-cta { color: var(--muted); }
.prose pre { background: var(--navy); color: #e2e8f0; padding: 16px 18px; border-radius: 12px; overflow-x: auto; font-size: .88rem; line-height: 1.5; }
.prose pre code { background: none; padding: 0; color: inherit; }

/* Language & currency switcher */
.lang-switch { position: relative; }
.lang-switch summary { display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; padding: 8px 10px; border-radius: 12px; font-weight: 700; font-size: .85rem; color: var(--ink); white-space: nowrap; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: var(--bg-alt); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.lang-switch a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-size: .93rem; text-decoration: none; }
.lang-switch a:hover { background: var(--bg-alt); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
.lang-switch a span { color: var(--muted); font-size: .82rem; }
.vat { font-size: .85rem; font-weight: 600; color: var(--muted); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s, opacity .6s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,17,40,.12); }
.post-cat { margin: 0; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.post-title { font-size: 1.12rem; margin: 2px 0; line-height: 1.3; }
.post-title a { color: var(--ink); }
.post-excerpt { color: var(--muted); font-size: .95rem; margin: 0; }
.post-meta { margin: auto 0 0; padding-top: 8px; font-size: .85rem; color: var(--muted); }
.chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 24px 0; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.author-box .logo-mark { flex: none; width: 48px; height: 48px; }
.author-box strong { display: block; }
.author-box span { display: block; color: var(--muted); font-size: .9rem; }
.author-box p { margin: 8px 0 0; font-size: .95rem; }
.article-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.article-links li { display: flex; flex-direction: column; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.article-links a { font-weight: 700; }
.article-links span { font-size: .85rem; color: var(--muted); }

/* Cookie consent (only rendered when Google Analytics is configured) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; }
.consent p { margin: 0 0 12px; font-size: .95rem; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: #aab6d3; cursor: pointer; }
.link-button:hover { color: #fff; text-decoration: underline; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow); overflow-wrap: anywhere; transition: transform .3s var(--ease); }
.contact-card:hover { transform: translateY(-3px); }
.contact-card svg { color: var(--blue); }
.contact-card span:not(.btn) { color: var(--muted); }
.contact-card .btn { margin-top: 8px; }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #fff; font-weight: 700; padding: 12px 16px; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.22); text-decoration: none !important; transition: transform .2s var(--ease), background .2s; }
.wa-float:hover { background: var(--wa-dark); transform: translateY(-2px); }

/* Footer */
.site-footer { background: var(--navy); color: #aab6d3; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h2 { color: #fff; font-size: .95rem; letter-spacing: .02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #aab6d3; }
.site-footer a:hover { color: #fff; }
.footer-brand p { max-width: 340px; margin-top: 14px; }
.contact-lines { display: flex; flex-direction: column; gap: 6px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 20px; padding-bottom: 22px; font-size: .82rem; color: #7f8bab; }
.footer-bottom span:last-child { max-width: 640px; }

/* Sticky buy bar (phones only) */
.buy-bar { display: none; }

/* Touch devices: no sticky hover lifts, bigger tap targets */
@media (hover: none) {
  .card:hover, .cat-tile:hover, .benefits li:hover, .guide-card:hover, .contact-card:hover, .btn:hover, .hero-tile:hover { transform: none; }
  .card:hover .card-media .art { transform: none; }
  .hero-tile-1:hover { transform: rotate(-7deg) !important; }
  .hero-tile-3:hover { transform: rotate(7deg) !important; }
  .qty button { width: 42px; height: 42px; }
}

/* Responsive */
@media (max-width: 1180px) {
  .search { width: 170px; }
  .search:focus-within { width: 200px; }
  .main-nav a { padding: 9px 8px; }
  .header-inner { gap: 14px; }
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tablet (landscape and portrait) */
@media (max-width: 1020px) {
  .header-inner { flex-wrap: wrap; column-gap: 12px; row-gap: 10px; padding-top: 10px; padding-bottom: 12px; min-height: 0; }
  .header-tools { display: contents; }
  .lang-switch { margin-left: auto; }
  .menu-toggle { display: block; }
  .search, .search:focus-within { order: 3; flex-basis: 100%; width: auto; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(10,17,40,.1); max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
  .main-nav.open { max-height: 480px; }
  .main-nav ul { flex-direction: column; padding: 10px 20px 18px; }
  .main-nav a { padding: 13px 14px; font-size: 1.02rem; }
  html { scroll-padding-top: 140px; }

  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { height: 380px; max-width: 540px; width: 100%; margin: 0 auto; }
  .section { padding: 64px 0; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product { gap: 32px; }
  .product-media { top: 150px; padding: 12px; }
  .product-details { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
}

/* Small tablet / large phone */
@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; }
  .product-media { position: static; max-width: 440px; width: 100%; margin: 0 auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .center-head { align-items: center; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .prose .steps, .contact-cards { grid-template-columns: 1fr; }
  .spec-table th, .spec-table td { padding: 11px 12px; }
  .spec-table th { width: 40%; }
  .cart-line { grid-template-columns: 56px 1fr auto; grid-template-areas: "img name name" "img qty price" ". remove remove"; row-gap: 8px; }
  .cart-line img { grid-area: img; width: 56px; height: 56px; }
  .cart-line > a { grid-area: name; }
  .cart-line .qty { grid-area: qty; justify-self: start; }
  .cart-line > strong { grid-area: price; }
  .cart-line .remove { grid-area: remove; justify-self: end; }

  /* Floating WhatsApp: icon only, clear of page content, respects the iPhone home bar */
  body { padding-bottom: 84px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }

  /* Sticky add-to-cart bar on product pages */
  .buy-bar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(10,17,40,.1); transform: translateY(110%); transition: transform .3s var(--ease); }
  .buy-bar.show { transform: none; }
  .buy-bar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .buy-bar-info strong { font-size: 1.15rem; }
  .buy-bar-info span { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar .btn { flex: none; padding: 12px 18px; }
  .buy-bar-on .wa-float { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 78px); }
}

/* Phones */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .topbar { font-size: .76rem; padding: 7px 12px; }
  .logo { font-size: 1.25rem; }
  .search input { font-size: 16px; } /* 16px stops iOS from zooming on focus */
  .lang-switch .ls-cur { display: none; }
  .lang-switch summary { padding: 8px 6px; }
  .lang-switch ul { right: -60px; }
  .header-inner { column-gap: 6px; }
  .hero { padding: 40px 0 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-points { flex-direction: column; gap: 8px; }
  .hero-visual { height: 300px; }
  .section { padding: 52px 0; }
  .section-sm { padding: 28px 0; }
  .cat-grid, .steps, .footer-grid, .benefits { grid-template-columns: 1fr; }
  .cat-tile { min-height: 0; }
  .footer-bottom { flex-direction: column; }

  /* Two compact product cards per row */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 14px; }
  .card-media { padding: 8px 8px 0; }
  .card-body { padding: 10px 10px 12px; gap: 5px; }
  .card-title { font-size: .9rem; }
  .card-meta { font-size: .76rem; }
  .card-tags .lic, .card-tags .avail { font-size: .68rem; padding: 2px 7px; }
  .price { gap: 4px 6px; margin: 2px 0 6px; }
  .price .now { font-size: 1.12rem; }
  .price .was { font-size: .8rem; }
  .card-actions { grid-template-columns: 1fr; }
  .card-actions .btn-outline { display: none; }
  .card-actions .btn { padding: 10px 8px; font-size: .88rem; }

  .price-lg .now { font-size: 2rem; }
  .buy-row { grid-template-columns: 1fr; }
  .product-details section { padding: 20px; }
  .faq summary { padding: 16px 44px 16px 16px; }
  .faq details p { padding: 0 16px 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .chips a { flex: none; }
  .state { padding: 36px 16px; }
}

/* Very small phones */
@media (max-width: 359px) {
  .grid { grid-template-columns: 1fr; }
  .card-actions .btn-outline { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
