/* Door To Door Mart — storefront + customer panel */

/* ---------- top strip + header */
.topbar { background: var(--brand-900); color: #CFE9DD; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.topbar a { color: #fff; }
.topbar .row { gap: 16px; }
.topbar .icon { width: 15px; height: 15px; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 1px 10px; color: #CFE9DD; font-weight: 600; }
.lang-switch a.active { background: #fff; color: var(--brand-900); }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-main { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-weight: 700; font-size: 19px; line-height: 1.05; letter-spacing: -.01em; }
.brand-name small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink-500); letter-spacing: .02em; }
.search { flex: 1; display: flex; max-width: 640px; margin: 0 auto; position: relative; }
.search .input { border-radius: 999px 0 0 999px; border-right: 0; padding-left: 18px; background: var(--surface-2); min-height: 46px; }
.search .input:focus { background: #fff; }
.search .btn { border-radius: 0 999px 999px 0; min-height: 46px; padding: 0 20px; }
.header-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.hdr-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; color: var(--ink-700); font-weight: 600; font-size: 14px; position: relative; }
.hdr-link:hover { background: var(--surface-2); color: var(--ink-900); }
.hdr-link .icon { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 2px; left: 26px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent-500); color: #2b1a02; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-count[data-count="0"] { display: none; }
.menu-btn { display: none; }

.catnav { background: var(--brand-700); }
.catnav .container { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catnav .container::-webkit-scrollbar { display: none; }
.catnav a { color: #E4F5EC; padding: 10px 14px; font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; }
.catnav a:hover, .catnav a.active { color: #fff; border-bottom-color: var(--accent-500); }

.demo-strip { background: #312E81; color: #fff; font-size: 13px; text-align: center; padding: 6px 16px; }

@media (max-width: 900px) {
  .header-main { flex-wrap: wrap; gap: 8px 12px; min-height: 0; padding: 10px 0; }
  .brand-name small { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .header-actions { margin-left: auto; }
  .hdr-link .lbl { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar .hide-sm { display: none; }
}

/* ---------- mobile bottom nav */
.bottom-nav { display: none; }
@media (max-width: 900px) {
  body.store { padding-bottom: 64px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11.5px; font-weight: 600; color: var(--ink-500); position: relative; }
  .bottom-nav a.active { color: var(--brand-700); }
  .bottom-nav .cart-count { left: calc(50% + 4px); top: 3px; }
}

/* ---------- drawer (mobile categories / filters) */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 15, .45); }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: #fff; overflow-y: auto; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.drawer-panel.right { left: auto; right: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.drawer-list a { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink-900); font-weight: 500; }

/* ---------- sections */
main.page { padding: var(--s6) 0 var(--s12); min-height: 60vh; }
.section { margin-top: var(--s10); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: var(--s4); }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; display: inline-flex; align-items: center; gap: 2px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--ink-500); margin-bottom: var(--s4); }
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--brand-700); }
.breadcrumbs .icon { width: 14px; height: 14px; }

/* ---------- hero */
.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s4); }
.hero-main { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: radial-gradient(120% 140% at 100% 0%, #1E9C70 0%, var(--brand-700) 45%, var(--brand-900) 100%); color: #fff; padding: clamp(24px, 4vw, 48px); min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.hero-main h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); max-width: 520px; margin-bottom: var(--s3); }
.hero-main p { color: #D4F0E3; max-width: 460px; font-size: 16px; margin-bottom: var(--s5); }
.hero-main .deco { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; border-radius: 50%; background: rgba(242, 165, 65, .9); opacity: .9; }
.hero-main .deco2 { position: absolute; right: 120px; top: -60px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255,255,255,.08); }
.hero-main > * { position: relative; }
.hero-side { display: grid; gap: var(--s4); }
.promo-tile { border-radius: var(--radius-lg); padding: var(--s5); display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 142px; color: var(--ink-900); }
.promo-tile.t1 { background: var(--accent-100); }
.promo-tile.t2 { background: #E7F0FF; }
.promo-tile strong { font-size: 18px; }
.promo-tile a { font-weight: 700; display: inline-flex; align-items: center; gap: 2px; }
.banner-img { border-radius: var(--radius-lg); overflow: hidden; display: block; background: var(--surface-2); position: relative; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; }
.banner-img .badge-demo { position: absolute; top: 10px; left: 10px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero-side { grid-template-columns: 1fr 1fr; } .hero-main { min-height: 240px; } }
@media (max-width: 520px) { .hero-side { grid-template-columns: 1fr; } .promo-tile { min-height: 0; } }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-top: var(--s5); }
.perk { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.perk .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.perk strong { display: block; font-size: 14.5px; }
.perk span { font-size: 13px; color: var(--ink-500); }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } }

/* ---------- category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: var(--s3); }
.cat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px; text-align: center; color: var(--ink-900); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-tile:hover { border-color: var(--brand-600); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink-900); }
.cat-tile img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; margin: 0 auto 8px; background: var(--brand-50); }
.cat-tile strong { display: block; font-size: 14px; line-height: 1.3; }
.cat-tile span { font-size: 12.5px; color: var(--ink-500); }
@media (max-width: 520px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .cat-tile { padding: 10px 6px; } .cat-tile img { width: 56px; height: 56px; } }

/* ---------- product grid + card */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s4); }
@media (max-width: 640px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.p-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; position: relative; }
.p-card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.p-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--surface-2); }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.p-flags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.p-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-name { font-weight: 600; color: var(--ink-900); font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.p-name:hover { color: var(--brand-700); }
.p-unit { font-size: 13px; color: var(--ink-500); }
.p-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.p-price .now { font-weight: 700; font-size: 17px; color: var(--ink-900); }
.p-price .was { font-size: 13.5px; color: var(--ink-400); text-decoration: line-through; }
.p-stock { font-size: 12.5px; font-weight: 600; }
.p-stock.low { color: var(--warn-700); }
.p-stock.out { color: var(--danger-700); }
.p-actions { padding: 0 12px 12px; }
.p-card.is-out .p-media img { opacity: .55; filter: grayscale(.4); }

/* quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--brand-600); border-radius: 10px; overflow: hidden; background: #fff; height: 42px; }
.qty button { width: 40px; height: 100%; border: 0; background: var(--brand-50); color: var(--brand-800); cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--brand-100); }
.qty button:disabled { opacity: .4; cursor: not-allowed; }
.qty input { width: 44px; height: 100%; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 15px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.qty-sm { height: 36px; } .qty.qty-sm button { width: 34px; } .qty.qty-sm input { width: 38px; font-size: 14px; }
.p-actions .qty { width: 100%; justify-content: space-between; }
.p-actions .qty input { flex: 1; }

/* ---------- listing */
.listing { display: grid; grid-template-columns: 250px 1fr; gap: var(--s6); align-items: start; }
.filters { position: sticky; top: 140px; }
.filters .card-body { display: grid; gap: var(--s5); }
.filter-group h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-500); margin-bottom: 8px; }
.filter-cats a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: var(--ink-700); font-size: 14.5px; }
.filter-cats a:hover { background: var(--surface-2); }
.filter-cats a.active { background: var(--brand-50); color: var(--brand-800); font-weight: 600; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.listing-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: var(--s4); flex-wrap: wrap; }
.listing-bar .select { width: auto; min-height: 40px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-800); font-size: 13px; font-weight: 600; }
.chip a { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--brand-800); }
.chip a:hover { background: var(--brand-100); }
.chip .icon { width: 14px; height: 14px; }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filter-toggle { display: inline-flex; }
}

/* ---------- product detail */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.pdp-media { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; position: relative; }
.pdp-media img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info h1 { margin-bottom: 6px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: var(--s4) 0; flex-wrap: wrap; }
.pdp-price .now { font-size: 30px; font-weight: 700; }
.pdp-price .was { font-size: 17px; color: var(--ink-400); text-decoration: line-through; }
.pdp-buy { display: flex; gap: var(--s3); flex-wrap: wrap; margin: var(--s5) 0; }
.pdp-buy .btn { flex: 1; min-width: 160px; }
.pdp-meta { display: grid; gap: 10px; padding: var(--s4); background: var(--surface-2); border-radius: var(--radius); font-size: 14.5px; }
.pdp-meta div { display: flex; gap: 10px; align-items: center; }
.pdp-meta .icon { color: var(--brand-700); }
.pdp-desc { white-space: pre-line; color: var(--ink-700); }
@media (max-width: 800px) { .pdp { grid-template-columns: 1fr; gap: var(--s5); } }

/* ---------- cart + checkout */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s6); align-items: start; }
.summary { position: sticky; top: 140px; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .summary { position: static; } }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.cart-line .name { font-weight: 600; color: var(--ink-900); line-height: 1.35; }
.cart-line .meta { font-size: 13px; color: var(--ink-500); }
.cart-line .line-total { font-weight: 700; text-align: right; }
.cart-line .controls { display: flex; gap: 10px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.cart-line.has-issue { background: var(--danger-50); margin: 0 -12px; padding: 14px 12px; border-radius: 10px; }
@media (max-width: 520px) { .cart-line { grid-template-columns: 64px 1fr; } .cart-line img { width: 64px; height: 64px; } .cart-line .line-total { grid-column: 2; text-align: left; } }
.mini-lines { display: grid; gap: 10px; max-height: 320px; overflow-y: auto; margin-bottom: var(--s4); }
.mini-line { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.mini-line img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.progress { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent-500); border-radius: 999px; }
.addr-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pay-detail { margin: 10px 0 0 30px; display: grid; gap: 12px; }

/* ---------- success + tracking */
.success-hero { text-align: center; padding: var(--s8) var(--s4); }
.success-hero .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-50); color: var(--ok-700); display: grid; place-items: center; margin: 0 auto var(--s4); }
.success-hero .ok .icon { width: 38px; height: 38px; }
.order-no { display: inline-block; font-size: 22px; font-weight: 700; letter-spacing: .04em; padding: 8px 18px; border: 2px dashed var(--brand-600); border-radius: 12px; color: var(--brand-800); background: var(--brand-50); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: var(--s4) 0; }
.tl-step { text-align: center; position: relative; font-size: 13px; color: var(--ink-500); font-weight: 600; }
.tl-step::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.tl-step:first-child::before { display: none; }
.tl-step .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); margin: 0 auto 6px; position: relative; z-index: 1; display: grid; place-items: center; }
.tl-step .dot .icon { width: 16px; height: 16px; color: #fff; }
.tl-step.done { color: var(--brand-800); }
.tl-step.done .dot { background: var(--brand-700); border-color: var(--brand-700); }
.tl-step.done::before { background: var(--brand-700); }
.tl-step.current .dot { box-shadow: 0 0 0 5px var(--brand-100); }
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .tl-step { display: flex; align-items: center; gap: 12px; text-align: left; padding: 6px 0; }
  .tl-step .dot { margin: 0; }
  .tl-step::before { left: 14px; right: auto; top: -50%; bottom: 50%; width: 3px; height: auto; }
}
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14.5px; }
.kv dt { color: var(--ink-500); }
.kv dd { margin: 0; font-weight: 500; }

/* ---------- account */
.acct { display: grid; grid-template-columns: 240px 1fr; gap: var(--s6); align-items: start; }
.acct-nav { position: sticky; top: 140px; padding: 8px; }
.acct-nav .who { padding: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acct-nav .who strong { display: block; }
.acct-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink-700); font-weight: 600; font-size: 14.5px; }
.acct-nav a:hover { background: var(--surface-2); color: var(--ink-900); }
.acct-nav a.active { background: var(--brand-50); color: var(--brand-800); }
.acct-nav form button { all: unset; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--danger-700); font-weight: 600; font-size: 14.5px; cursor: pointer; width: calc(100% - 24px); }
.acct-nav form button:hover { background: var(--danger-50); }
@media (max-width: 900px) {
  .acct { grid-template-columns: 1fr; }
  .acct-nav { position: static; display: flex; overflow-x: auto; padding: 6px; gap: 4px; }
  .acct-nav .who { display: none; }
  .acct-nav a, .acct-nav form button { white-space: nowrap; width: auto; }
}
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); }
.stat span { font-size: 13px; color: var(--ink-500); font-weight: 600; }
.stat strong { display: block; font-size: 24px; margin-top: 2px; }
@media (max-width: 640px) { .stat-grid { grid-template-columns: 1fr 1fr; } .stat-grid .stat:last-child { grid-column: 1 / -1; } }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.order-row:last-child { border-bottom: 0; }
.order-row .no { font-weight: 700; color: var(--ink-900); }
.addr-card { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.addr-card.default { border-color: var(--brand-600); }
.auth-wrap { max-width: 440px; margin: var(--s6) auto; }
.shortcut-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.shortcut { display: flex; flex-direction: column; gap: 8px; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink-900); font-weight: 600; }
.shortcut:hover { border-color: var(--brand-600); color: var(--brand-800); }
.shortcut .icon { color: var(--brand-700); width: 24px; height: 24px; }
@media (max-width: 640px) { .shortcut-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- static pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--s6); }
.prose p, .prose li { color: var(--ink-700); }

/* ---------- footer */
.site-footer { background: var(--brand-900); color: #BFDCCF; margin-top: var(--s12); font-size: 14.5px; }
.site-footer a { color: #E4F5EC; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s8); padding: var(--s10) 16px var(--s8); }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: var(--s3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name small { color: #9EC7B5; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; }
.pay-logos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pay-logos span { background: #fff; color: var(--ink-900); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: var(--s4) 16px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.acct > *, .two-col > *, .listing > *, .pdp > * { min-width: 0; }

/* ---------- home slider (Admin › Banners › Home slider) */
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-50); aspect-ratio: 1200 / 450; min-height: 160px; }
.slider-track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: block; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide .badge-demo { position: absolute; top: 10px; left: 10px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--ink-900); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; }
.slider:hover .slider-btn, .slider-btn:focus-visible { opacity: 1; }
.slider-btn.prev { left: 12px; } .slider-btn.next { right: 12px; }
.slider-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.65); cursor: pointer; transition: width .2s, background .2s; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.slider-dots button.is-active { width: 26px; background: #fff; }
@media (hover: none) { .slider-btn { display: none; } }
@media (max-width: 900px) { .slider { aspect-ratio: 1200 / 450; } }
@media (max-width: 520px) { .slider + .hero-side { display: none; } }
