:root {
  --ink: #0e1220;
  --ink-2: #161b2e;
  --ink-3: #232a44;
  --bg: #f5f6fa;
  --card: #ffffff;
  --line: #e3e6ee;
  --text: #141826;
  --muted: #5e6578;
  --accent: #6a1bff;
  --accent-2: #b324f0;
  --accent-ink: #5410d6;
  --ok: #12925a;
  --warn: #c56a00;
  --danger: #c93a3a;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14,18,32,.05), 0 6px 20px rgba(14,18,32,.06);
  --head: Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.5 Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -.01em; margin: 0; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--accent) url("img/header.png") center / cover no-repeat; color: #fff; }
.header-top { display: flex; align-items: center; gap: 18px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 46px; width: auto; }
.logo-mark { font: 700 20px/1 var(--head); padding: 9px 10px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.logo-text { font: 700 17px/1 var(--head); letter-spacing: .04em; display: flex; flex-direction: column; gap: 4px; }
.logo-text small { font: 500 9.5px/1 Roboto, sans-serif; letter-spacing: .22em; color: #9aa3c0; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px; padding: 0 14px; height: 42px; max-width: 520px; }
.search svg { width: 18px; height: 18px; fill: none; stroke: #6b7186; stroke-width: 2; flex-shrink: 0; }
.search input { border: 0; outline: 0; flex: 1; font: inherit; color: var(--text); background: none; min-width: 0; }
.cart-btn { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--ink-3); border-radius: 10px; font-weight: 600; font-size: 14px; position: relative; }
.cart-btn:hover { background: var(--ink-2); }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.cart-btn b { background: var(--accent-2); color: var(--ink); font-size: 11px; border-radius: 99px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; }
.currency { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 13px; }
.currency-label { color: #c4c9da; font-weight: 600; }
.toggle { display: flex; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 9px; padding: 3px; }
.toggle button { border: 0; background: none; color: #c4c9da; font-weight: 700; font-size: 12px; padding: 6px 10px; border-radius: 6px; }
.toggle button.on { background: var(--accent); color: #fff; }
.rate { color: #9aa3c0; white-space: nowrap; }
.main-nav { display: flex; gap: 6px; border-top: 1px solid rgba(255,255,255,.22); overflow-x: auto; scrollbar-width: none; }
.main-nav a { padding: 12px 10px; font-weight: 600; font-size: 14px; color: #c4c9da; border-bottom: 3px solid transparent; white-space: nowrap; }
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #fff; border-bottom-color: var(--accent-2); }

.site-header .cart-btn { border-color: rgba(255,255,255,.35); }
.site-header .cart-btn:hover { background: rgba(255,255,255,.14); }
.site-header .cart-btn b { background: #fff; color: var(--accent-ink); }
.site-header .currency-label, .site-header .rate { color: rgba(255,255,255,.85); }
.site-header .toggle { background: rgba(0,0,0,.22); border-color: rgba(255,255,255,.25); }
.site-header .toggle button { color: rgba(255,255,255,.85); }
.site-header .toggle button.on { background: #fff; color: var(--accent-ink); }
.site-header .main-nav a { color: rgba(255,255,255,.85); }
.site-header .main-nav a:hover { color: #fff; }
.site-header .main-nav a.active { color: #fff; border-bottom-color: #fff; }

/* ---------- Buttons / chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 14px; transition: .15s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-wa { background: var(--wa); color: #06361b; }
.btn-wa:hover { filter: brightness(.95); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: #c5cad8; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 18px; }
.icon-btn:hover { border-color: #b9bfd0; }

.badge { font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.st-stock { color: var(--ok); }
.st-ultimas, .st-ultima { color: var(--warn); }
.st-24h { color: var(--accent); }
.st-preventa { color: #8a4dd6; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s; min-height: 380px; display: flex; align-items: center; }
.slide.on { opacity: 1; visibility: visible; }
.slide-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 48px 0 64px; }
.slide .eyebrow { display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: .16em; color: var(--accent-2); margin-bottom: 14px; }
.slide h2 { font-size: clamp(36px, 6vw, 68px); line-height: .98; font-weight: 700; text-transform: uppercase; }
.slide h2 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide p { color: #c4c9da; font-size: 17px; max-width: 460px; margin: 16px 0 26px; }
.slide-art { display: flex; justify-content: center; align-items: flex-end; gap: 0; height: 300px; }
.slide-inner.wide { grid-template-columns: .85fr 1.15fr; }
.slide-inner { position: relative; z-index: 1; }
.slide-art.tiles { height: auto; align-items: stretch; gap: 10px; }
.tile { flex: 1 1 0; min-width: 0; background: #fff; color: var(--text); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 14px 30px rgba(0,0,0,.3); transition: transform .2s; }
.tile:hover { transform: translateY(-4px); }
.tile-media { height: 200px; position: relative; display: grid; place-items: center; }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.slide-art .tile-media svg { height: 100%; width: auto; filter: none; margin: 0; }
.tile span { font-weight: 700; font-size: 12.5px; line-height: 1.25; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide-art svg { height: 100%; width: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); }
.slide-art svg + svg { margin-left: -40px; height: 88%; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 50%, rgba(106,27,255,.35), transparent 70%), radial-gradient(400px 260px at 95% 10%, rgba(179,36,240,.2), transparent 70%); pointer-events: none; }
.dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 6px; background: rgba(255,255,255,.08); padding: 6px 8px; border-radius: 99px; }
.dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: rgba(255,255,255,.4); padding: 0; transition: .2s; }
.dots button.on { width: 26px; background: var(--accent-2); }

/* ---------- Ticker ---------- */
.ticker { background: linear-gradient(90deg, var(--accent-ink), var(--accent)); color: #fff; overflow: hidden; }
.ticker-track { display: flex; gap: 48px; padding: 12px 0; width: max-content; animation: tick 40s linear infinite; }
.ticker-track span { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.ticker-track span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent-2); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.tinted { background: #eceef5; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.section-actions { display: flex; gap: 8px; flex-shrink: 0; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
.rail > * { scroll-snap-align: start; }

/* ---------- Product card ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 1 / 1; display: grid; place-items: center; background: linear-gradient(180deg, #f7f8fc, #eef0f7); padding: 22px; position: relative; }
.card-media svg, .card-media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.card-off { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-brand { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.card h3 { font-size: 16px; line-height: 1.25; }
.card-sub { font-size: 13px; color: var(--muted); }
.swatches { display: flex; gap: 5px; margin: 2px 0; }
.swatch { width: 14px; height: 14px; border-radius: 99px; border: 1px solid rgba(0,0,0,.15); }
.card-price { margin-top: auto; padding-top: 8px; }
.price-main { font: 700 20px/1.1 var(--head); }
.price-alt { font-size: 12.5px; color: var(--muted); }
.card-actions { display: flex; gap: 8px; margin-top: 10px; }
.card-actions .btn { flex: 1; height: 38px; }
.card-actions .icon-btn { width: 38px; height: 38px; flex-shrink: 0; }
.icon-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; isolation: isolate; }
.cat-art { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; padding: 18% 18% 38%; transition: transform .35s; }
.cat-art svg { height: 100%; width: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.35)); }
.cat:hover .cat-art { transform: scale(1.06) rotate(-3deg); }
.cat h3 { font-size: 22px; line-height: 1; text-transform: uppercase; }
.cat p { margin: 6px 0 0; font-size: 12.5px; opacity: .85; }
.cat-count { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; opacity: .9; }

/* ---------- Reviews ---------- */
.reviews .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.review-head { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 99px; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--accent); }
.review-name { font-weight: 700; font-size: 14px; }
.review-date { font-size: 12px; color: var(--muted); }
.stars { color: #f4b400; letter-spacing: 2px; }
.review p { margin: 0; font-size: 14px; color: #333a4d; }
.sample-tag { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--warn); background: #fff4e5; padding: 3px 8px; border-radius: 6px; }

/* ---------- Bands ---------- */
.band { background: var(--ink); color: #fff; border-radius: 20px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(179,36,240,.4), transparent 70%); }
.band h2 { font-size: clamp(24px, 3vw, 34px); }
.band p { color: #c4c9da; margin: 8px 0 0; }
.band .btn { position: relative; z-index: 1; flex-shrink: 0; }
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta a { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; padding: 18%; transition: .2s; }
.insta a:hover { transform: scale(1.03); }
.insta svg { height: 100%; width: auto; }

/* ---------- Breadcrumb / page ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--text); }
.page-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.page-title h1 { font-size: clamp(26px, 3.5vw, 36px); }
.page-title span { color: var(--muted); font-size: 14px; }

/* ---------- Catalog ---------- */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding-bottom: 60px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 130px; }
.filters h2 { font-size: 16px; margin-bottom: 12px; }
.filters label.lbl { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.filters select, .field input, .field select, .field textarea { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; font: inherit; background: #fff; color: var(--text); }
.field textarea { height: 90px; padding: 10px; resize: vertical; }
details.fgroup { border-top: 1px solid var(--line); padding: 10px 0; }
details.fgroup:first-of-type { margin-top: 14px; }
details.fgroup summary { font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
details.fgroup summary::after { content: "›"; transition: .2s; }
details.fgroup[open] summary::after { transform: rotate(90deg); }
.fopts { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; }
.fopts label { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.fopts input { accent-color: var(--accent); }
.fopts .n { margin-left: auto; color: var(--muted); font-size: 12px; }
.price-range { display: flex; gap: 8px; padding-top: 10px; }
.price-range input { width: 100%; height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font: inherit; }
.filters-toggle { display: none; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.empty { background: #fff; border: 1px dashed #c5cad8; border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; padding-bottom: 20px; }
.gallery-main { background: linear-gradient(180deg, #fff, #eef0f7); border: 1px solid var(--line); border-radius: 18px; aspect-ratio: 1; display: grid; place-items: center; padding: 50px; position: relative; }
.gallery-main svg, .gallery-main img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery-nav.prev { left: 14px; } .gallery-nav.next { right: 14px; }
.gallery-count { position: absolute; bottom: 14px; right: 14px; background: #fff; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; font-weight: 600; padding: 4px 10px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 8px; display: grid; place-items: center; }
.thumbs button.on { border-color: var(--accent); }
.thumbs svg { height: 100%; width: auto; }
.pdp-info h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.pdp-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pdp-head .badge { padding: 5px 10px; border-radius: 8px; background: #eaf7f0; }
.pdp-sub { color: var(--muted); margin: 6px 0 18px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.box-label { font-size: 11.5px; letter-spacing: .1em; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.box .big { font: 700 34px/1.1 var(--head); margin: 6px 0; }
.box .save { color: var(--ok); font-size: 13.5px; }
.box .save b { font-weight: 700; }
.box-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.box .mid { font: 700 20px/1.2 var(--head); margin: 4px 0; }
.small { font-size: 13px; color: var(--muted); }
.color-pick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.color-pick button { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px 6px 6px; font-size: 13px; font-weight: 500; }
.color-pick button.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.color-pick .swatch { width: 20px; height: 20px; }
.buy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.perk { display: flex; gap: 10px; font-size: 13px; }
.perk-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; background: #e9edff; color: var(--accent); display: grid; place-items: center; }
.perk-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.perk b { display: block; font-size: 13.5px; }
.perk span { color: var(--muted); }
.specs { margin: 30px 0 10px; }
.specs h2 { font-size: 24px; margin-bottom: 14px; }
.spec-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
.spec-row:first-child { border-top: 0; }
.spec-row > * { padding: 12px 18px; font-size: 14px; }
.spec-row dt { font-weight: 600; background: #f8f9fc; }
.spec-row dd { margin: 0; }

/* ---------- Comparator ---------- */
.cmp-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.cmp-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 60px; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.cmp-table thead th { border-top: 0; }
.cmp-table tbody th { background: #f8f9fc; font-weight: 600; width: 180px; }
.cmp-head { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cmp-head svg { height: 110px; width: auto; }
.cmp-head b { font: 700 16px/1.2 var(--head); }

/* ---------- Cart ---------- */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; padding-bottom: 60px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.cart-item .thumb { height: 84px; display: grid; place-items: center; background: #f2f4f9; border-radius: 10px; padding: 8px; }
.cart-item .thumb svg { height: 100%; width: auto; }
.cart-item h3 { font-size: 15px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; margin-top: 8px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 16px; }
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.link-btn { border: 0; background: none; color: var(--danger); font-size: 13px; padding: 0; margin-left: 12px; }
.summary { position: sticky; top: 130px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font: 700 18px var(--head); }
.radio-row { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; }
.radio-row label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.radio-row input { accent-color: var(--accent); margin-top: 3px; }

/* ---------- Plan canje ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 6px 0 30px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { font: 700 28px var(--head); color: var(--accent); }
.step h3 { margin: 6px 0; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field.full { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4c9da; margin-top: 0; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; padding: 48px 0 36px; }
.site-footer h4 { color: #fff; font: 700 13px var(--head); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.foot-contact p { margin: 0 0 10px; font-size: 14px; }
.foot-contact b { color: #fff; display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--ink-3); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.pay-strip { border-top: 1px solid var(--ink-3); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; font-size: 13px; font-weight: 600; }
.pay-strip span { display: flex; align-items: center; gap: 8px; }
.pay-strip span::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--accent-2); }
.foot-bottom { border-top: 1px solid var(--ink-3); padding: 18px 0 26px; font-size: 12.5px; text-align: center; color: #8890a8; }
.foot-bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }

/* ---------- Floating / modal / toast ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 99px; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 60; transition: .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.modal { position: fixed; inset: 0; background: rgba(14,18,32,.55); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-card { background: #fff; border-radius: 18px; padding: 26px; width: min(480px, 100%); max-height: 90vh; overflow: auto; position: relative; }
.modal-card h3 { font-size: 20px; margin-bottom: 4px; }
.modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); }
.cuotas { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.cuotas td { padding: 10px 6px; border-top: 1px solid var(--line); }
.cuotas td:last-child { text-align: right; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; font-weight: 500; z-index: 110; box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cat { aspect-ratio: 4 / 3; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .currency-label { display: none; }
}
@media (max-width: 860px) {
  .header-top { flex-wrap: wrap; gap: 10px 12px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .rate { display: none; }
  .cart-btn span { display: none; }
  .slide-inner, .slide-inner.wide { grid-template-columns: 1fr; padding: 34px 0 60px; }
  .slide-art { height: 200px; order: -1; }
  .slide-art.tiles { height: auto; flex-wrap: wrap; }
  .tile { flex: 1 1 28%; }
  .tile-media { height: 110px; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters-toggle { display: inline-flex; margin-bottom: 12px; }
  .filters.collapsed { display: none; }
  .pdp { grid-template-columns: 1fr; }
  .cart { grid-template-columns: 1fr; }
  .summary { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .reviews .rail { grid-auto-columns: 80%; }
  .insta { grid-template-columns: repeat(3, 1fr); }
  .band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .steps { grid-template-columns: 1fr; }
  .cmp-pick { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .logo-text small { display: none; }
  .logo-text { font-size: 14px; }
  .rail { grid-auto-columns: 72%; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 12px; }
  .card h3 { font-size: 14px; }
  .price-main { font-size: 17px; }
  .card-actions .icon-btn { display: none; }
  .section { padding: 40px 0; }
  .perks { grid-template-columns: 1fr; }
  .buy-row { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-row dt { padding-bottom: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item > :last-child { grid-column: 2; }
  .cart-item .thumb { height: 64px; }
}

/* Contenedores de ilustraciones: flex para que height:100% del SVG resuelva */
.card-media, .cat-art, .gallery-main, .insta a, .thumbs button, .cart-item .thumb { display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 0; }
.card-media > svg, .cat-art > svg, .gallery-main > svg, .insta a > svg, .thumbs button > svg, .cart-item .thumb > svg { height: 100%; width: auto; max-width: 100%; flex-shrink: 0; }
@media (max-width: 560px) {
  .header-top { gap: 8px; padding: 10px 0; }
  .logo { gap: 7px; }
  .logo-mark { font-size: 16px; padding: 8px; }
  .logo-img { height: 38px; }
  .cart-btn { margin-left: auto; padding: 0 10px; height: 38px; }
  .currency { margin-left: 0; }
  .toggle button { padding: 6px 8px; }
  .search { height: 40px; }
}
