/* ASWAQ additions: both text directions, header menus, listings, reviews, orders, account and help. */
[dir="ltr"] .drawer { transform: translateX(100%); }
[dir="ltr"] .drawer.open { transform: none; }
[dir="ltr"] .chev, [dir="ltr"] .see-all svg { transform: scaleX(-1); }
.chev-down { width: 14px; height: 14px; transform: rotate(-90deg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.link, .link-btn { color: var(--brand-ink); text-decoration: underline; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 2px; }
.link svg, .link-btn svg { width: 16px; height: 16px; }
.danger { color: var(--red); }
.page-title { font-size: 26px; margin: 4px 0 16px; font-weight: 900; }
.page-title small, .toolbar h1 small { color: var(--muted); font-size: 15px; font-weight: 600; }
.toolbar h1 { margin: 0; font-size: 26px; font-weight: 900; }
.section-title { font-size: 24px; font-weight: 900; margin: 0 0 12px; }
.narrow { max-width: 720px; margin-inline: auto; }
.btn-ghost { background: var(--soft); color: var(--ink); }
.btn-ghost:hover { background: #ececec; }
.btn.disabled { opacity: .5; }
.btn-wa { background: #0b6b39; color: #fff; margin-bottom: 12px; }
.btn-wa:hover { background: #08592f; }
.lang-btn { font-weight: 900; font-size: 15px; min-width: 40px; justify-content: center; border: 1.5px solid var(--line); }
.hbtn span small { font-weight: 600; color: var(--muted); }

/* Header nav and mega menu */
.main-links { align-items: center; }
.mega { position: relative; }
.mega > button { background: none; border: 0; font: inherit; font-weight: 700; display: flex; align-items: center; gap: 4px; padding: 6px 0; }
.mega > button:hover { color: var(--brand-ink); }
.mega-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-start: -16px; z-index: 40; background: #fff; border-radius: 12px;
  padding: 16px; width: 560px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,.16); /* taste-skill-ignore: dropdown menu */
}
.mega-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font-weight: 700; }
.mega-item:hover { background: var(--soft); }
.mega-item span { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; background: var(--soft); }
.mega-item img { width: 100%; height: 100%; object-fit: cover; }

/* Search suggestions */
.search { position: relative; }
.suggest {
  position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 40; background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.16); /* taste-skill-ignore: dropdown menu */ max-height: 70vh; overflow-y: auto;
}
.suggest-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 14px; margin: 4px 4px 8px; }
.suggest-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.suggest-chips .chip { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 6px; border-radius: 8px; font-size: 14px; }
.suggest-item:hover, .suggest-item:focus { background: var(--soft); }
.suggest-item img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.suggest-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-item b { color: var(--brand-ink); }
.suggest-empty { color: var(--muted); margin: 6px; }

/* Trust bar */
.trust { border: 2px solid var(--green); border-radius: 12px; margin-bottom: 16px; overflow: hidden; }
.trust-row { background: var(--green); color: #fff; display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 10px 16px; align-items: center; font-size: 15px; }
.trust-row span, .trust-row b { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 18px; height: 18px; }
.trust-alert { display: flex; align-items: center; gap: 8px; padding: 9px 16px; color: var(--green); font-weight: 700; font-size: 14px; }
.trust-alert svg { width: 18px; height: 18px; flex: none; }

/* Cards: rank badges, quick view, stock */
.rank-badge { margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--brand-ink); background: #fff1e5; border-radius: 4px; padding: 1px 6px; display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-top { color: var(--green); background: var(--green-bg); }
.meta-row { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.meta-row .left { color: var(--red); font-size: 13px; font-weight: 800; }
.quick-btn {
  position: absolute; inset-inline: 8px; bottom: 8px; border: 0; border-radius: 999px; background: rgba(255,255,255,.95);
  font-weight: 800; font-size: 14px; padding: 6px; display: flex; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; z-index: 2;
}
.quick-btn svg { width: 18px; height: 18px; }
.card:hover .quick-btn, .quick-btn:focus-visible { opacity: 1; transform: none; }
.card .urgent + .quick-btn { bottom: 34px; }
@media (hover: none) { .quick-btn { display: none; } }
.deal-card .thumb { position: relative; }
.deal-days { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; padding: 1px 8px; border-radius: 999px; }
.deal-card .card-title { font-size: 14px; }
.deal-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 3px; }
.deal-foot .stock-text { margin: 0; }
.deal-card .countdown { font-size: 13px; }
.deal-card .countdown span { background: var(--ink); color: #fff; padding: 0 4px; }
.rail-light { padding-bottom: 6px; }
.rail-light .card { flex: 0 0 200px; }
.recent { margin-bottom: 28px; }
.circles { margin-bottom: 26px; }
.circle { color: inherit; }

/* Listing with filters */
.listing { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.filters { position: sticky; top: 90px; background: var(--soft); border-radius: 12px; padding: 16px; display: grid; gap: 14px; }
.filters h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 6px; }
.filters h2 svg { width: 18px; height: 18px; }
.f-group h3 { margin: 0 0 6px; font-size: 15px; }
.f-cats { display: grid; gap: 4px; }
.f-cats a { font-size: 14px; font-weight: 600; }
.f-cats a:hover { color: var(--brand-ink); text-decoration: underline; }
.f-price { display: flex; align-items: center; gap: 6px; }
.f-price input { width: 100%; min-width: 0; border: 1.5px solid #d4d4d4; border-radius: 8px; padding: 7px 9px; font: inherit; }
.f-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.f-check input { accent-color: var(--brand-strong); width: 18px; height: 18px; flex: none; }
.stars.small svg { width: 12px; height: 12px; }
.sort-select { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.sort-select select, .inline-select { font: inherit; font-weight: 700; border: 1.5px solid var(--line); border-radius: 8px; padding: 5px 8px; background: #fff; }

/* Product page additions */
.pdp-info .rank-badge { margin: 0 0 8px; }
.brand-line { font-size: 14px; margin-bottom: 10px; color: var(--muted); }
.brand-line b { color: var(--ink); }
.pdp-actions .buy-now { flex: 0 1 auto; }
.pdp-info .rating .link { font-weight: 600; }
.assure label { cursor: pointer; }
.inline-select { margin-inline-start: 6px; padding: 2px 6px; }
.details-box { margin-top: 32px; }
.details-box h2, .reviews h2, .related h2 { font-size: 22px; margin: 0 0 12px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0 0 12px; background: var(--soft); padding: 14px 18px; border-radius: 10px; }
.specs dt { color: var(--muted); font-weight: 700; }
.specs dd { margin: 0; font-weight: 600; }
.desc { font-size: 16px; line-height: 1.7; max-width: 70ch; }
.review-summary { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; background: var(--soft); border-radius: 12px; padding: 16px 20px; margin-bottom: 14px; }
.big-rating { display: grid; justify-items: start; gap: 2px; }
.big-rating b { font-size: 44px; line-height: 1; font-weight: 900; }
.big-rating span { color: var(--muted); font-size: 14px; }
.stars.big svg { width: 20px; height: 20px; }
.dist { display: grid; gap: 4px; }
.dist-row { display: grid; grid-template-columns: 56px 1fr 40px; gap: 8px; align-items: center; background: none; border: 0; padding: 2px 4px; border-radius: 6px; font: inherit; font-size: 14px; font-weight: 700; }
.dist-row:hover, .dist-row.active { background: #ececec; }
.dist-row span:first-child { display: flex; align-items: center; gap: 2px; }
.dist-row svg { width: 13px; height: 13px; }
.dist-bar { height: 8px; background: #e2e2e2; border-radius: 4px; overflow: hidden; }
.dist-bar i { display: block; height: 100%; background: var(--ink); }
.review-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0; font-weight: 700; }
.review time { color: var(--muted); font-weight: 600; font-size: 13px; margin-inline-start: auto; }
.review .variant { color: var(--muted); font-size: 13px; }
.review p { margin: 6px 0 0; }
.verified { color: var(--green); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 2px; }
.verified svg { width: 15px; height: 15px; }
.review-head { flex-wrap: wrap; }
.review-form { background: #fff4ec; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; display: grid; gap: 10px; }
.review-form h3 { margin: 0; }
.review-form textarea, .sheet-form textarea, .contact-form textarea { width: 100%; border: 1.5px solid #d4d4d4; border-radius: 8px; padding: 10px; font: inherit; resize: vertical; }
/* Star picker: stars fill up to the chosen one, in reading order for both directions. */
.star-pick { border: 0; padding: 0; margin: 0; display: flex; gap: 2px; }
.star-pick legend { font-weight: 700; margin-bottom: 4px; padding: 0; }
.star-pick label { cursor: pointer; position: relative; }
.star-pick input { position: absolute; opacity: 0; inset: 0; }
.star-pick svg { width: 30px; height: 30px; color: var(--ink); }
.star-pick label:has(input:checked) ~ label svg { color: #d0d0d0; }
.star-pick input:focus-visible + span svg { outline: 2px solid var(--brand-strong); border-radius: 4px; }

/* Dialog sheet (quick view, return, review) */
.sheet { border: 0; border-radius: 16px; padding: 22px; width: min(480px, calc(100% - 24px)); max-height: calc(100vh - 32px); }
.sheet-wide { width: min(860px, calc(100% - 24px)); }
.sheet::backdrop { background: rgba(0,0,0,.5); }
.sheet-close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; }
.sheet h2 { margin: 0 0 12px; font-size: 20px; padding-inline-end: 34px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quick-img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--soft); }
.quick-img img { width: 100%; height: 100%; object-fit: cover; }
.quick-info { display: grid; gap: 8px; align-content: start; }
.quick-info .rank-badge { justify-self: start; }
.eta-mini { display: flex; align-items: center; gap: 6px; color: var(--green); font-weight: 700; font-size: 14px; margin: 8px 0; }
.eta-mini svg { width: 18px; height: 18px; flex: none; }
.sheet-form { display: grid; gap: 12px; }
.radio-list { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.radio-list legend { font-weight: 800; margin-bottom: 6px; padding: 0; }
.sheet-form .field span { font-weight: 800; font-size: 14px; }

/* Cart selection */
.select-all { display: flex; align-items: center; gap: 8px; font-weight: 800; margin: 4px 0 8px; cursor: pointer; }
.select-all input, .line-check { accent-color: var(--brand-strong); width: 18px; height: 18px; flex: none; }
.line { align-items: flex-start; }
.line-check { margin-top: 32px; }
.warn-line { color: var(--red); font-size: 13px; font-weight: 700; }

/* Checkout */
.checkout h2 { display: flex; align-items: center; gap: 8px; }
.checkout h2 svg { width: 22px; height: 22px; color: var(--brand-ink); }
.addr-pick { display: grid; gap: 8px; margin-bottom: 14px; }
.addr-opt span { font-weight: 600; line-height: 1.5; }
.pay-opt.disabled { opacity: .55; cursor: not-allowed; }
.pay-opt small { color: var(--muted); font-weight: 600; }
.summary { position: sticky; top: 90px; }
.mini-line small { color: var(--muted); }
.mini-end { display: grid; justify-items: end; gap: 2px; }
.success-actions { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.field select { width: 100%; }
.f-check.full { grid-column: 1 / -1; }

/* Order page and timeline */
.order { display: block; color: inherit; transition: background .15s; }
.order:hover { background: #efefef; }
.order-page { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.order-page h1 { margin: 0; font-size: 22px; }
.order-page h2 { margin: 0 0 12px; font-size: 18px; }
.order-page h3 { margin: 16px 0 4px; font-size: 16px; }
.timeline { list-style: none; padding: 0; margin: 18px 0; display: grid; }
.timeline li { position: relative; padding-inline-start: 30px; padding-bottom: 18px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #d0d0d0; }
.timeline li::after { content: ""; position: absolute; inset-inline-start: 11px; top: 20px; bottom: 0; width: 2px; background: #e0e0e0; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before, .timeline li.done::after { background: var(--green); }
.timeline li.current::before { box-shadow: 0 0 0 4px var(--green-bg); }
.timeline li.cancelled::before { background: var(--muted); }
.timeline b { display: block; }
.timeline time, .timeline small { display: block; font-size: 13px; color: var(--muted); }
.order-actions, .row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.notice { background: #fff4ec; border-radius: 8px; padding: 10px 12px; font-weight: 700; display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.notice svg { width: 18px; height: 18px; flex: none; }
.status-processing { background: #fff1e5; color: var(--brand-ink); }
.status-shipped, .status-out_for_delivery { background: #e6f0fb; color: #144d8a; }
.status-return { background: #f3e8ff; color: #5b21b6; }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-bottom: 16px; }

/* Account pages */
.account-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.account-forms form { display: grid; gap: 12px; align-content: start; }
.account-forms h2 { margin: 0; font-size: 18px; }
.account-forms .btn { justify-self: start; }
.addr-list { display: grid; gap: 10px; margin-top: 14px; }
.addr { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; line-height: 1.6; }
#addrForm { margin-bottom: 14px; display: grid; gap: 12px; }
.coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.coupon-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; background: #fff4ec; border-radius: 14px; padding: 16px; border-inline-start: 6px solid var(--brand); }
.coupon-off { font-size: 34px; font-weight: 900; color: var(--brand-ink); grid-row: span 2; direction: ltr; }
.coupon-info { display: grid; gap: 2px; font-size: 14px; }
.coupon-info span { color: var(--muted); }
.coupon-code { grid-column: 1 / -1; justify-content: center; letter-spacing: .04em; }
.coupon-code svg { width: 18px; height: 18px; }
.msg { margin-bottom: 12px; }
.msg time { color: var(--muted); font-size: 13px; }
.reply { background: #fff; border-radius: 8px; padding: 10px 12px; border-inline-start: 4px solid var(--brand); }
.reply p { margin: 4px 0 0; }

/* Help center & pages */
.help { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.help h2 { margin: 0 0 12px; }
.faq { border-radius: 10px; background: #fff; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 12px 14px; }
.faq p { margin: 0; padding: 0 14px 14px; line-height: 1.7; }
.help-links { margin-top: 14px; font-weight: 700; }
.help-links a { color: var(--brand-ink); text-decoration: underline; }
.contact-form { display: grid; gap: 12px; }
.contact-form .btn { justify-self: start; }
.prose h1 { font-size: 28px; margin-top: 0; }
.prose p { font-size: 16px; line-height: 1.8; max-width: 70ch; }

/* Footer additions */
.pay-chip { display: flex; align-items: center; gap: 6px; }
.pay-chip svg { width: 18px; height: 18px; color: var(--brand); }
.pay-chip.muted { color: #bdbdbd; }
.footer .link-btn { color: #fff; margin-top: 8px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: #d0d0d0; margin-top: 14px; }
.footer-legal a:hover { color: var(--brand); }

/* Floating help */
.floaters { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 36; display: grid; gap: 10px; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; outline: 2px solid var(--line); }
.float-btn:hover { background: var(--soft); }
.float-btn svg { width: 26px; height: 26px; }
.float-wa { background: #0b6b39; color: #fff; outline-color: #0b6b39; }
.float-wa:hover { background: #08592f; }

@media (max-width: 1000px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: start; }
  .filters h2 { grid-column: 1 / -1; }
  .f-cats { grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 14px; }
}
@media (max-width: 860px) {
  .order-page, .help, .account-forms, .quick, .review-summary { grid-template-columns: 1fr; }
  .summary { position: static; }
  .track-form { grid-template-columns: 1fr; }
  .mega-menu { width: min(560px, 90vw); }
}
@media (max-width: 640px) {
  .floaters { bottom: 80px; inset-inline-end: 16px; }
  .float-btn { width: 44px; height: 44px; }
  .trust-row { font-size: 13px; gap: 6px 14px; }
  .trust-row span:nth-child(n+3) { display: none; }
  .trust-alert { font-size: 13px; }
  .rail-light .card { flex-basis: 160px; }
  .lang-btn { min-width: 34px; padding: 6px; }
  .pdp-actions .buy-now { display: none; }
  .filters { grid-template-columns: 1fr 1fr; padding: 12px; }
  .f-group:first-of-type { grid-column: 1 / -1; }
  .sort-select { width: 100%; justify-content: space-between; }
  .coupon-grid { grid-template-columns: 1fr; }
  [data-page="product"] .floaters, [data-page="checkout"] .floaters { display: none; }
}
.notify-opts { grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; }
.notify-opts svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .notify-opts { grid-template-columns: 1fr; } }

/* Product photo: full width, opens full screen */
.gallery-main { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; position: relative; }
.zoom-hint { position: absolute; bottom: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.zoom-hint svg { width: 20px; height: 20px; }
.quick-img { padding: 0; border: 0; cursor: zoom-in; width: 100%; }
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
#lightboxBox { width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 16px 16px; }
#lightboxBox img { max-width: 100%; max-height: calc(100vh - 72px); object-fit: contain; border-radius: 8px; }
.lightbox-close { position: fixed; top: 12px; inset-inline-end: 12px; background: #fff; width: 44px; height: 44px; z-index: 2; }

/* Homepage slider */
.slider { position: relative; margin-bottom: 20px; border-radius: 12px; overflow: hidden; }
.slides { display: flex; transition: transform .55s cubic-bezier(.3,.7,.2,1); touch-action: pan-y; }
.slide {
  flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch;
  background: var(--slide-bg); min-height: min(520px, calc(100vh - 180px));
}
.slide-copy { padding: 40px 48px 64px; display: flex; flex-direction: column; justify-content: center; }
.slide-copy h1, .slide-copy h2 { margin: 0 0 16px; font-size: clamp(36px, 5.6vw, 84px); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; }
.slide-copy p { margin: 0 0 26px; font-size: 20px; font-weight: 600; max-width: 26em; }
.slide-img { display: block; margin: 14px; border-radius: 10px; overflow: hidden; background: #fff; }
.slide-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ink-dark { color: #111; }
.ink-dark .slide-btn { background: #111; color: #fff; }
.ink-dark .slide-btn:hover { background: #333; }
.ink-light { color: #fff; }
.ink-light .slide-btn { background: #fff; color: #111; }
.ink-light .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); display: grid; place-items: center; z-index: 2;
}
.slide-nav:hover { background: #fff; }
.slide-nav svg { width: 22px; height: 22px; }
.slide-prev { inset-inline-start: 12px; }
.slide-next { inset-inline-end: 12px; }
[dir="rtl"] .slide-prev svg { transform: scaleX(-1); }
[dir="ltr"] .slide-prev svg { transform: none; }
.slide-dots { position: absolute; bottom: 16px; inset-inline-start: 48px; display: flex; gap: 8px; z-index: 2; }
.slide-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(0,0,0,.25); transition: width .2s, background .2s; }
.slide-dots button[aria-current] { width: 28px; background: #111; }
.ink-light ~ .slide-dots button[aria-current] { background: #fff; }
@media (max-width: 860px) {
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide-img { height: 220px; margin: 0 14px 14px; order: 2; }
  .slide-copy { padding: 26px 22px 18px; }
  .slide-copy p { font-size: 17px; margin-bottom: 18px; }
  .slide-nav { display: none; }
  .slide-dots { bottom: 24px; inset-inline-start: 50%; transform: translateX(-50%); }
  [dir="rtl"] .slide-dots { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) { .slides { transition: none; } }

/* Language switch: round flags, the active language ringed */
.lang-switch { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--soft); }
.lang-switch button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; padding: 2px; background: none; display: grid; place-items: center; transition: border-color .15s, opacity .15s; opacity: .55; }
.lang-switch button svg { width: 26px; height: 26px; display: block; clip-path: circle(50%); }
.lang-switch button:hover { opacity: 1; }
.lang-switch button[aria-pressed="true"] { border-color: var(--ink); opacity: 1; }
@media (max-width: 640px) { .lang-switch button { width: 30px; height: 30px; } .lang-switch button svg { width: 22px; height: 22px; } }

.slide img { user-select: none; -webkit-user-drag: none; }
