/* ismanieji.lt – dizaino maketas */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #0f1222;
  --ink-2: #4a4f66;
  --muted: #666b82;
  --line: #e6e8f0;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-soft: #eef0ff;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --ok: #10b981;
  --sale: #ef4444;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 18, 34, .04), 0 8px 24px rgba(15, 18, 34, .06);
  --shadow-lg: 0 12px 28px rgba(15, 18, 34, .18);
  --wrap: 1240px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 24px; font-weight: 700; font-size: 15px; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(15, 18, 34, .16); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #c9ccdb; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: center; gap: 28px; padding-top: 8px; padding-bottom: 8px; }
.topbar b { color: #fff; }
.topbar span:nth-child(n+2) { display: none; }
@media (min-width: 800px) { .topbar span:nth-child(n+2) { display: inline; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 2px 6px rgba(15, 18, 34, .18); }
.logo small { color: var(--brand); font-weight: 800; }
.nav { display: none; gap: 4px; margin-left: 20px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav a:hover, .nav a.active { background: var(--brand-soft); color: var(--brand); }
.site-search { display: none; flex: 1; max-width: 360px; margin-left: auto; position: relative; }
.site-search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); padding: 0 16px 0 42px; outline: none; transition: border .2s, background .2s; }
.site-search input:focus { border-color: var(--brand); background: #fff; }
.site-search svg { position: absolute; left: 14px; top: 11px; color: var(--muted); }
.header-actions { display: flex; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink); }
.icon-btn:hover { background: var(--brand-soft); color: var(--brand); }
.cart-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.menu-btn { display: grid; }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .site-search { display: block; }
  .header-actions { margin-left: 0; }
  .menu-btn { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(15, 18, 34, .45); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); background: #fff; transform: translateX(-100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); padding: 20px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a { padding: 14px 12px; border-radius: 12px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.drawer-panel a:hover { background: var(--brand-soft); color: var(--brand); }
.drawer-panel .site-search { display: block; max-width: none; margin: 8px 0 12px; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 12px; }
.hero-card { position: relative; overflow: hidden; border-radius: 28px; background: radial-gradient(1200px 500px at 100% 0%, #e9e5ff 0%, transparent 60%), radial-gradient(800px 400px at 0% 100%, #e0ecff 0%, transparent 60%), #fff; border: 1px solid var(--line); display: grid; gap: 24px; padding: 36px 24px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 18px; }
.hero-badge b { background: var(--grad); color: #fff; padding: 3px 9px; border-radius: 999px; font-size: 12px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-stats { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats div { font-size: 13px; color: var(--muted); font-weight: 600; }
.hero-stats b { display: block; font-size: 22px; color: var(--ink); font-weight: 800; }
.hero-visual { position: relative; min-height: 300px; display: grid; place-items: center; }
.hero-visual .blob { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); filter: blur(2px); opacity: .95; }
.hero-visual .ring { position: absolute; width: 96%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(79, 70, 229, .3); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual .device { position: relative; width: 62%; filter: drop-shadow(0 30px 40px rgba(15, 18, 34, .3)); }
.float-chip { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.float-chip i { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-style: normal; }
.float-chip small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; }
.chip-1 { top: 8%; left: 0; }
.chip-2 { bottom: 10%; right: 0; }
@media (min-width: 900px) {
  .hero-card { grid-template-columns: 1.1fr 1fr; padding: 64px 56px; align-items: center; }
  .hero-visual { min-height: 440px; }
}

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin: 0; }
.section-head p { color: var(--muted); margin: 6px 0 0; }
.link-more { font-weight: 700; color: var(--brand); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(7, 1fr); gap: 14px; } }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }
.cat h3 { font-size: 16px; margin: 0; }
.cat span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Promo banners */
.promos { display: grid; gap: 16px; }
@media (min-width: 800px) { .promos { grid-template-columns: 1fr 1fr; } }
.promo { position: relative; overflow: hidden; border-radius: 24px; padding: 32px; min-height: 220px; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.promo h3 { font-size: 26px; max-width: 280px; }
.promo p { opacity: .85; max-width: 280px; }
.promo .btn { align-self: flex-start; background: #fff; color: var(--ink); }
.promo-a { background: linear-gradient(135deg, #1e1b4b, #4f46e5); }
.promo-b { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.promo svg.art { position: absolute; right: -10px; bottom: -10px; width: 46%; opacity: .95; }

/* ---------- Product grid & card ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; position: relative; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.card-media svg { width: 64%; transition: transform .35s; }
.card:hover .card-media svg { transform: scale(1.06) rotate(-2deg); }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .06); z-index: 1; }
.badge.sale { background: var(--sale); color: #fff; }
.badge.new { background: var(--ink); color: #fff; }
.fav { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; color: var(--ink-2); box-shadow: 0 2px 6px rgba(0, 0, 0, .06); z-index: 1; }
.fav.on { color: var(--sale); }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.card-title { font-weight: 700; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.rating .stars { color: #f59e0b; letter-spacing: 1px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; gap: 8px; }
.price { font-weight: 800; font-size: 18px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; line-height: 1.2; }
.price s { color: var(--muted); font-weight: 600; font-size: 13px; }
.price.is-sale { color: var(--sale); }
.add { position: relative; z-index: 2; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; border: 0; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; transition: background .2s, color .2s, transform .15s; }
.add:hover { background: var(--grad); color: #fff; }
.add:active { transform: scale(.92); }
.add.done { background: var(--ok); color: #fff; }

/* ---------- Benefits ---------- */
.benefits { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .benefits { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.benefit i { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.benefit h3 { font-size: 16px; margin-bottom: 4px; }
.benefit p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* Brands strip */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 28px 0; color: #a5a9bd; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }

/* Newsletter */
.newsletter { border-radius: 28px; background: var(--grad); color: #fff; padding: 40px 24px; display: grid; gap: 20px; position: relative; overflow: hidden; }
.newsletter h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0; }
.newsletter p { opacity: .85; margin: 6px 0 0; }
.newsletter form { display: flex; gap: 8px; background: rgba(255, 255, 255, .15); padding: 6px; border-radius: 999px; }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 16px; outline: none; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .7); }
.newsletter .btn { background: #fff; color: var(--brand); }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; align-items: center; padding: 48px 56px; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b6b9cc; margin-top: 64px; padding: 56px 0 28px; font-size: 14px; }
.footer .logo { color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-grid > div:first-child { grid-column: auto; } }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #252a40; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #7f849c; font-size: 13px; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay span { background: #1b1f33; border: 1px solid #2a2f48; padding: 4px 10px; border-radius: 6px; font-weight: 700; color: #cfd2e2; font-size: 12px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; padding: 20px 0 8px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span::before { content: "/"; margin-right: 6px; color: #c8cbd8; }

/* ---------- Category page ---------- */
.cat-hero { border-radius: 24px; background: radial-gradient(600px 300px at 90% 0%, #e9e5ff, transparent 70%), #fff; border: 1px solid var(--line); padding: 28px 24px; margin-bottom: 20px; }
.cat-hero h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 6px; }
.cat-hero p { color: var(--ink-2); margin: 0; max-width: 620px; }
.subcats { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 2px; scrollbar-width: none; }
.subcats::-webkit-scrollbar { display: none; }
.pill { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.pill.active, .pill:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop { display: grid; gap: 24px; }
@media (min-width: 1000px) { .shop { grid-template-columns: 260px 1fr; } }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; align-self: start; }
.filters h3 { font-size: 15px; margin: 0 0 12px; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--ink-2); font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.check small { margin-left: auto; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.swatches button.on { box-shadow: 0 0 0 2px var(--brand); }
.range { width: 100%; accent-color: var(--brand); }
.range-vals { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 700; }
.filters-mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
@media (max-width: 999px) {
  .filters { position: fixed; inset: auto 0 0 0; z-index: 120; border-radius: 24px 24px 0 0; max-height: 82vh; overflow-y: auto; transform: translateY(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -20px 50px rgba(0, 0, 0, .15); }
  .filters.open { transform: none; }
}
@media (min-width: 1000px) { .filters-mobile-head .icon-btn, .filters-apply { display: none !important; } }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .count { font-weight: 700; color: var(--ink-2); font-size: 14px; margin-right: auto; }
.toolbar select { height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 0 12px; font-weight: 600; font-size: 14px; }
.filter-toggle { display: inline-flex; }
@media (min-width: 1000px) { .filter-toggle { display: none; } }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; background: #fff; border: 1px solid var(--line); }
.pager a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 28px; padding-top: 8px; }
@media (min-width: 950px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.gallery-main { border-radius: 24px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); position: relative; overflow: hidden; }
.gallery-main svg { width: 60%; filter: drop-shadow(0 30px 30px rgba(15, 18, 34, .18)); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button { aspect-ratio: 1; border-radius: 14px; border: 2px solid transparent; display: grid; place-items: center; padding: 0; overflow: hidden; }
.thumbs button svg { width: 60%; }
.thumbs button.on { border-color: var(--brand); }
@media (min-width: 950px) { .pdp-gallery { position: sticky; top: 90px; align-self: start; } }
.pdp-info h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 10px; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.stock { color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pdp-price .now { font-size: 34px; font-weight: 800; }
.pdp-price s { color: var(--muted); font-weight: 600; font-size: 18px; }
.pdp-price .save { background: #fee2e2; color: var(--sale); font-weight: 800; padding: 4px 10px; border-radius: 999px; font-size: 13px; }
.opt { margin-bottom: 20px; }
.opt-label { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.opt-label span { color: var(--muted); font-weight: 600; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-row .chip { padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; }
.opt-row .chip.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.opt-row .sw { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); }
.opt-row .sw.on { box-shadow: 0 0 0 2px var(--brand); }
.buy-row { display: flex; gap: 10px; margin: 24px 0 16px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 42px; height: 48px; border: 0; background: transparent; font-size: 20px; font-weight: 700; color: var(--ink-2); }
.qty input { width: 36px; text-align: center; border: 0; font-weight: 800; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; }
.perks { display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 8px; }
.perks div { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.perks i { color: var(--brand); display: grid; }
.tabs { margin-top: 48px; }
.tab-btns { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-btns button { border: 0; background: none; padding: 14px 18px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab-btns button.on { color: var(--ink); border-color: var(--brand); }
.tab-panel { display: none; padding: 24px 0; color: var(--ink-2); max-width: 820px; }
.tab-panel.on { display: block; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs td:first-child { color: var(--muted); font-weight: 600; width: 40%; }
.review { border-bottom: 1px solid var(--line); padding: 16px 0; }
.review b { color: var(--ink); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; transform: translateY(110%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-buy .price { font-size: 20px; }
.sticky-buy .btn { flex: 1; }
@media (min-width: 950px) { .sticky-buy { display: none; } }

/* ---------- Cart ---------- */
.cart-layout { display: grid; gap: 24px; align-items: start; }
.cart-layout > * { min-width: 0; }
.shop > * { min-width: 0; }
@media (min-width: 1000px) { .cart-layout { grid-template-columns: 1fr 380px; } }
.steps { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); margin: 8px 0 20px; flex-wrap: wrap; }
.steps b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink-2); margin-right: 6px; font-size: 12px; }
.steps .on { color: var(--ink); }
.steps .on b { background: var(--grad); color: #fff; }
.steps i { width: 24px; height: 1px; background: var(--line); }
.cart-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 18px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-media { width: 84px; height: 84px; border-radius: 14px; display: grid; place-items: center; }
.line-media svg { width: 64%; }
.line-top { display: flex; justify-content: space-between; gap: 10px; }
.line h3 { font-size: 15px; margin: 0 0 4px; }
.line .var { font-size: 13px; color: var(--muted); font-weight: 600; }
.line-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 10px; }
.line .qty button { width: 34px; height: 36px; font-size: 17px; }
.line .qty input { width: 28px; }
.rm { border: 0; background: none; color: var(--muted); padding: 4px; border-radius: 8px; height: fit-content; }
.rm:hover { color: var(--sale); background: #fee2e2; }
.summary { padding: 22px; position: sticky; top: 90px; }
.summary h2 { font-size: 20px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; color: var(--ink-2); font-weight: 600; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 20px; color: var(--ink); font-weight: 800; }
.ship-bar { background: var(--brand-soft); border-radius: 12px; padding: 12px 14px; font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 16px; }
.ship-bar .bar { height: 6px; background: #fff; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.ship-bar .bar i { display: block; height: 100%; background: var(--grad); border-radius: 3px; transition: width .3s; }
.coupon { display: flex; gap: 8px; margin: 14px 0; }
.coupon input { flex: 1; min-width: 0; height: 46px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; outline: none; }
.coupon input:focus { border-color: var(--brand); }
.trust { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--muted); font-weight: 700; }
.ship-opts { display: grid; gap: 8px; margin: 10px 0 4px; }
.ship-opt { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
.ship-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.ship-opt input { accent-color: var(--brand); }
.ship-opt span:last-child { margin-left: auto; font-weight: 800; }
.empty { text-align: center; padding: 60px 20px; }
.empty i { width: 80px; height: 80px; border-radius: 24px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 18px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transition: transform .3s cubic-bezier(.2, .8, .2, 1); white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: #a5b4fc; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Remonto dalys: būklė ---------- */
.cond { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.cond.new { background: #dcfce7; color: #166534; }
.cond.used { background: #fef3c7; color: #92400e; }
.cond-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.price small { font-size: 12px; font-weight: 700; color: var(--muted); }
.filter-hint { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.cond-choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.cond-choice { text-align: left; display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; }
.cond-choice b { font-size: 18px; }
.cond-choice small { color: var(--muted); font-weight: 600; font-size: 12px; }
.cond-choice.on { border-color: var(--brand); background: var(--brand-soft); }
.cond-note { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); }
.cond-note p { margin: 0; }
.health { margin-top: 10px; display: grid; grid-template-columns: 1fr auto; gap: 6px; font-weight: 700; font-size: 13px; }
.health .bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.health .bar i { display: block; height: 100%; background: var(--ok); }
.parts-band { display: grid; gap: 16px; }
.parts-intro { border-radius: 24px; padding: 28px; background: #1f2233; color: #e6e8f0; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 260px; }
.parts-intro h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); margin: 0; }
.parts-intro p { margin: 0; color: #b6b9cc; max-width: 320px; }
.parts-intro ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.parts-intro .btn { align-self: flex-start; background: #fff; color: var(--ink); margin-top: auto; }
.parts-intro .art { position: absolute; right: -24px; bottom: -24px; width: 140px; opacity: .9; }
@media (min-width: 1100px) { .parts-band { grid-template-columns: 300px 1fr; } .parts-band .grid { grid-template-columns: repeat(4, 1fr); } }
