:root {
  --white: #ffffff;
  --ink: #111111;
  --grey: #666a70;
  --line: #e4e4e6;
  --tile: #f2f2f2;
  --red: #d7141d;
  --red-dark: #b00f17;
  --green: #137a43;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --head: "Anton", "Arial Narrow", Impact, sans-serif;
  --gutter: max(clamp(16px, 3.4vw, 48px), env(safe-area-inset-left), env(safe-area-inset-right));
  --max: 1440px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
#view:focus, .drawer:focus { outline: none; }
.i { display: inline-block; flex: none; width: 20px; height: 20px; vertical-align: -4px; }
.muted { color: var(--grey); }
.center { text-align: center; }

.skip { position: fixed; top: 8px; left: 8px; z-index: 60; padding: 8px 14px; background: var(--ink); color: var(--white); transform: translateY(-200%); }
.skip:focus { transform: none; }

.bar { padding: 8px 16px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; text-align: center; }

/* Header */
.nav { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 12px; max-width: var(--max); height: 68px; margin: 0 auto; padding: 0 var(--gutter); }
.logo img { width: auto; height: 34px; }
.nav-links { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; padding: 8px var(--gutter) 16px; background: var(--white); border-bottom: 1px solid var(--line); }
.nav-links.open { display: flex; }
.nav-links a { padding: 11px 0; font-size: 15px; font-weight: 600; }
.nav-links a.on { color: var(--red); }
.nav-tools { display: flex; gap: 2px; margin-left: auto; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 4px; background: none; transition: background 0.2s; }
.icon-btn:hover { background: var(--tile); }
.icon-btn .i { width: 23px; height: 23px; }
.menu-btn { margin-left: -9px; }
.badge { position: absolute; top: 2px; right: 1px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; line-height: 1; }
.badge[hidden] { display: none; }
.search-box { display: flex; align-items: center; gap: 10px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 12px; }
.search-box[hidden] { display: none; }
.search-box input { flex: 1; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 30px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { border-color: var(--red); background: var(--red); color: var(--white); }
.btn:disabled { border-color: var(--line); background: var(--line); color: var(--grey); cursor: not-allowed; }
.btn-ghost { background: var(--white); color: var(--ink); }
.btn-light { border-color: var(--white); background: var(--white); color: var(--ink); }
.wide { width: 100%; }

/* Home */
.hero { display: grid; background: var(--ink); color: var(--white); }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(40px, 7vw, 96px) var(--gutter); }
.hero small { margin-bottom: 12px; color: #c9c9cd; font-size: 13px; font-weight: 500; }
.hero h1 { margin-bottom: 14px; font-family: var(--head); font-size: clamp(56px, 8.4vw, 116px); font-weight: 400; line-height: 1.02; text-transform: uppercase; }
.hero p { max-width: 38ch; margin-bottom: 26px; color: #c9c9cd; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn-ghost { border-color: #55565a; background: transparent; color: var(--white); }
.hero-actions .btn-ghost:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.hero-images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; overflow: hidden; background: var(--ink); }
.hero-images img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }

.wrap { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 16px; margin-bottom: 22px; }
.head h2 { font-family: var(--head); font-size: clamp(30px, 3.6vw, 42px); font-weight: 400; line-height: 1.1; text-transform: uppercase; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.more:hover { color: var(--red); }
.more .i { width: 17px; height: 17px; }

.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--tile); }
.cat img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.7s var(--ease); }
.cat:hover img { transform: scale(1.03); }
.cat span { position: absolute; left: 12px; bottom: 12px; padding: 7px 14px; border-radius: 3px; background: var(--white); font-size: 14px; font-weight: 600; }

/* Products */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
.card { position: relative; min-width: 0; }
.card-link { display: block; }
.card-photo { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--tile); aspect-ratio: 4 / 5; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s, transform 0.7s var(--ease); }
.card-photo .alt { opacity: 0; }
.tag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 9px; border-radius: 3px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 600; }
.card-name { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.card-colour { display: block; color: var(--grey); font-size: 13px; }
.card-price { display: block; margin-top: 3px; font-size: 15px; font-weight: 700; }
.sold .card-photo img { opacity: 0.5; }
.quick { position: absolute; left: 8px; right: 8px; bottom: 86px; z-index: 2; display: none; gap: 4px; padding: 8px; border-radius: 4px; background: var(--white); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); opacity: 0; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s; }
.quick small { flex-basis: 100%; color: var(--grey); font-size: 12px; font-weight: 500; }
.quick button { flex: 1; min-width: 0; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 3px; background: none; font-size: 12px; font-weight: 600; }
.quick button:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* Shop page */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 14px; color: var(--grey); font-size: 13px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .i { width: 14px; height: 14px; }
.page-title { font-family: var(--head); font-size: clamp(34px, 4.4vw, 52px); font-weight: 400; line-height: 1.1; text-transform: uppercase; }
.shop-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0; padding: 10px 0; border-block: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 18px; background: none; font-size: 13px; font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip.on { border-color: var(--ink); background: var(--ink); color: var(--white); }
.swatch { width: 28px; height: 28px; padding: 0; border: 1px solid #c9c9cd; border-radius: 50%; }
.swatch.on { outline: 2px solid var(--ink); outline-offset: 2px; }
.shop-sort { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.shop-sort select { width: auto; margin: 0; padding: 8px 10px; font-size: 14px; }

/* Product page */
.pdp { display: grid; gap: 22px; }
.gallery-main { overflow: hidden; border-radius: 4px; background: var(--tile); }
.gallery-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { width: 72px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--tile); }
.thumbs button.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.buy h1 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.2; }
.buy-type { color: var(--grey); font-size: 13px; }
.buy-price { margin: 8px 0 4px; font-size: 24px; font-weight: 700; }
.opt { margin-top: 20px; }
.opt-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.opt-label span { color: var(--grey); font-weight: 400; }
.colours { display: flex; gap: 10px; }
.colours a { display: block; width: 32px; height: 32px; border: 1px solid #c9c9cd; border-radius: 50%; }
.colours a.on { outline: 2px solid var(--ink); outline-offset: 2px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { min-width: 56px; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: none; font-size: 14px; font-weight: 600; transition: border-color 0.15s; }
.sizes button:hover { border-color: var(--ink); }
.sizes button[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.error { margin-top: 8px; color: var(--red-dark); font-size: 14px; font-weight: 500; }
.error[hidden] { display: none; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; }
.qty button { display: grid; place-items: center; width: 40px; height: 44px; padding: 0; border: 0; background: none; }
.qty .i { width: 16px; height: 16px; }
.qty span { min-width: 26px; font-weight: 600; text-align: center; }
.small-qty button { width: 30px; height: 30px; }
.small-qty .i { width: 14px; height: 14px; }
.small-qty span { min-width: 20px; font-size: 13px; }
.buy-actions { display: grid; gap: 8px; margin-top: 20px; }
.perks { display: grid; gap: 8px; margin-top: 18px; padding: 14px; border-radius: 4px; background: var(--tile); font-size: 14px; }
.perks div { display: flex; gap: 10px; align-items: center; }
.acc { margin-top: 16px; }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; cursor: pointer; font-weight: 600; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; }
.acc details[open] summary::after { content: "−"; }
.acc details p { padding-bottom: 14px; color: var(--grey); }

/* Checkout */
.check { display: grid; gap: 24px; }
.check-form { display: flex; flex-direction: column; gap: 14px; }
.check-form h2, .summary h2 { font-size: 17px; font-weight: 700; }
.check-form label { display: block; font-size: 14px; font-weight: 500; }
.two { display: grid; gap: 14px; }
input, select, textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 12px;
  border: 1px solid #cfcfd3;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: 400 16px var(--sans);
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 1px solid var(--ink); }
input.bad, textarea.bad { border-color: var(--red); }
.pay { display: grid; gap: 8px; }
.pay label { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid #cfcfd3; border-radius: 4px; cursor: pointer; font-weight: 500; }
.pay label:has(:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pay input { width: auto; margin: 0; accent-color: var(--ink); }
.note { padding: 12px; border-radius: 4px; background: var(--tile); font-size: 14px; }
.note[hidden] { display: none; }
.note b { overflow-wrap: anywhere; }
.summary { align-self: start; padding: 18px; border-radius: 4px; background: var(--tile); }
.sum-line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum-line img { flex: none; width: 58px; height: 72px; border-radius: 3px; object-fit: cover; }
.sum-line div { flex: 1; min-width: 0; font-size: 14px; }
.sum-line small { display: block; color: var(--grey); }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; }
.row.total { margin-top: 6px; padding-top: 10px; border-top: 1px solid #d7d7da; font-size: 18px; font-weight: 700; }
.done { max-width: 520px; margin: 0 auto; padding: 32px 0; text-align: center; }
.tick { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; background: var(--ink); color: var(--white); }
.tick .i { width: 28px; height: 28px; }
.done h1 { margin-bottom: 6px; font-size: 26px; font-weight: 700; }
.done p { margin-bottom: 18px; color: var(--grey); }
.empty { padding: 56px 0; color: var(--grey); text-align: center; }
.empty .btn { margin-top: 16px; }

/* Trust and footer */
.trust { display: grid; gap: 14px; max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter); border-top: 1px solid var(--line); }
.trust div { display: flex; align-items: center; gap: 14px; }
.trust .i { width: 28px; height: 28px; }
.trust p { display: flex; flex-direction: column; line-height: 1.35; }
.trust b { font-size: 14px; font-weight: 600; }
.trust span { color: var(--grey); font-size: 13px; }

.footer { padding: 40px var(--gutter) 20px; background: var(--ink); color: var(--white); }
.foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; max-width: var(--max); margin: 0 auto; }
.foot-brand { grid-column: 1 / -1; color: #b5b5ba; font-size: 14px; }
.foot-brand img { width: auto; height: 36px; margin-bottom: 10px; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; color: #b5b5ba; font-size: 14px; }
.foot-col h2 { margin-bottom: 3px; color: var(--white); font-size: 14px; font-weight: 600; }
.foot-col a { display: inline-flex; align-items: center; gap: 8px; }
.foot-col a:hover { color: var(--white); }
.foot-col .i { width: 16px; height: 16px; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; max-width: var(--max); margin: 28px auto 0; padding-top: 14px; border-top: 1px solid #333338; color: #b5b5ba; font-size: 13px; }

/* Cart drawer */
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, 0.5); animation: fade 0.25s; }
@keyframes fade { from { opacity: 0; } }
.scrim[hidden], .drawer[hidden] { display: none; }
.drawer { position: fixed; inset: 0 0 0 auto; z-index: 40; display: flex; flex-direction: column; width: min(430px, 100%); background: var(--white); animation: slide 0.3s var(--ease); }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 17px; font-weight: 700; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 18px; }
.line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { flex: none; width: 74px; height: 92px; border-radius: 3px; object-fit: cover; }
.line-info { flex: 1; min-width: 0; font-size: 14px; }
.line-name { font-weight: 600; line-height: 1.3; }
.line-meta { color: var(--grey); font-size: 13px; }
.line-row { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; font-weight: 600; }
.drawer-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-foot[hidden] { display: none; }
.drawer-foot .row { font-size: 16px; font-weight: 700; }
.drawer-foot p { margin-bottom: 12px; font-size: 13px; }

.float-wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--white); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); transition: background 0.2s; }
.float-wa:hover { background: var(--red); }
.float-wa .i { width: 25px; height: 25px; }

.toast { position: fixed; top: 14px; left: 50%; z-index: 50; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 24px); padding: 11px 18px; border-radius: 4px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%, -10px); transition: opacity 0.25s, transform 0.25s; }
.toast.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.toast button { padding: 0; border: 0; background: none; color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.lost { display: grid; place-content: center; justify-items: center; gap: 16px; min-height: 100dvh; padding: 24px; text-align: center; }
.lost img { width: 200px; }
.lost h1 { font-size: 28px; }
.lost p { color: var(--grey); }

/* Animation */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes scale-in { from { opacity: 0; transform: scale(1.06); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes bump { 45% { transform: scale(1.45); } }
@keyframes pop { 45% { transform: scale(1.35); } }

#view.view-in { animation: fade-in 0.35s ease-out; }
.hero-text > * { animation: rise 0.7s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: 0.08s; }
.hero-text > :nth-child(3) { animation-delay: 0.18s; }
.hero-text > :nth-child(4) { animation-delay: 0.28s; }
.hero-images img { animation: scale-in 1s var(--ease) both; }
.hero-images img:nth-child(2) { animation-delay: 0.14s; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }

.card-photo, .cat { background: linear-gradient(100deg, var(--tile) 40%, #fafafa 50%, var(--tile) 60%) 0 0 / 200% 100%; animation: shimmer 1.5s linear infinite; }
.card:hover .card-photo, .cat:hover { animation-play-state: paused; }

.btn { transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s; }
.btn:active { transform: scale(0.98); }
.badge.bump { animation: bump 0.4s var(--ease); }
.nav { transition: box-shadow 0.25s; }
.nav.scrolled { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }
.line { animation: rise 0.4s var(--ease) both; }
.flying { position: fixed; z-index: 70; border-radius: 4px; object-fit: cover; pointer-events: none; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25); }

/* Wishlist */
.wish-icon { fill: none; }
.heart { position: absolute; top: 8px; right: 8px; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: transform 0.15s; }
.heart:hover { transform: scale(1.08); }
.heart .i { width: 19px; height: 19px; fill: none; transition: fill 0.15s, color 0.15s; }
.heart.on .i { color: var(--red); fill: var(--red); }
.heart.on { animation: pop 0.35s var(--ease); }
.buy-tools { display: flex; gap: 8px; margin-top: 8px; }
.buy-tools .btn { flex: 1; min-height: 44px; padding: 8px 12px; }
.buy-tools .i { fill: none; }
.buy-tools .on .i { color: var(--red); fill: var(--red); }
.buy-tools .btn:hover .i { color: inherit; }

/* Photo zoom */
.gallery-main { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.gallery-main img { transition: transform 0.25s ease-out; }
.gallery-main img.swap { animation: fade-in 0.35s ease-out; }
.gallery-hint { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); }
.gallery-hint .i { width: 17px; height: 17px; }
.zoom { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(255, 255, 255, 0.97); animation: fade-in 0.2s; }
.zoom[hidden] { display: none; }
.zoom img { max-width: 100%; max-height: 100%; object-fit: contain; animation: scale-in 0.3s var(--ease); }
.zoom-close { position: absolute; top: 12px; right: 12px; background: var(--tile); }

/* Cart additions */
.line-head { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.remove { display: grid; flex: none; place-items: center; width: 30px; height: 30px; margin: -5px -5px 0 0; padding: 0; border: 0; border-radius: 4px; background: none; color: var(--grey); }
.remove:hover { background: var(--tile); color: var(--red); }
.remove .i { width: 16px; height: 16px; }

/* Phone buy bar and back to top */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 24; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); transform: translateY(110%); transition: transform 0.3s var(--ease); }
.buy-bar.show { transform: none; }
.buy-bar b { display: block; font-size: 16px; }
.buy-bar small { color: var(--grey); }
.buy-bar .btn { min-height: 46px; }
.bar-on .float-wa { bottom: calc(84px + env(safe-area-inset-bottom)); }
.float-wa { transition: background 0.2s, bottom 0.3s var(--ease); }
.to-top { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 23; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 0.25s, transform 0.25s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.bar-on .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }

@media (max-width: 719px) {
  .buy-bar { display: flex; }
}

/* Top progress line */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 3px; background: var(--red); opacity: 0; pointer-events: none; transform: scaleX(0); transform-origin: left; }
.progress.run { opacity: 1; transform: scaleX(0.85); transition: transform 0.4s var(--ease); }
.progress.run.end { opacity: 0; transform: scaleX(1); transition: transform 0.2s, opacity 0.3s 0.15s; }

/* Button colour sweep */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: translateX(-101%); transition: transform 0.35s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { border-color: var(--red); background: var(--ink); color: var(--white); }
.btn-light:hover, .btn-ghost:hover { background: var(--white); color: var(--white); }
.hero-actions .btn-ghost:hover { border-color: var(--red); background: transparent; color: var(--white); }
.btn:disabled::before { display: none; }
.btn.added { border-color: var(--green); background: var(--green); }
.btn.added::before { display: none; }
.btn .i { fill: none; }

/* Banner slideshow */
.hero-images { min-height: 100%; }
.slot { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--tile); }
.hero-images .slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateY(var(--shift, 0)) scale(1.08); transition: opacity 1.1s ease-in-out; animation: none; }
.hero-images .slot img.on { opacity: 1; }

/* Collection banner */
.banner { position: relative; overflow: hidden; margin-top: clamp(8px, 2vw, 20px); background: var(--tile); }
.banner img { width: 100%; height: clamp(320px, 42vw, 560px); object-fit: cover; object-position: 80% 50%; transform: translateY(var(--shift, 0)) scale(1.08); }
.banner-text { position: absolute; top: 50%; left: clamp(20px, 6vw, 90px); max-width: min(44%, 460px); transform: translateY(-50%); }
.banner h2 { font-family: var(--head); font-size: clamp(34px, 5vw, 66px); font-weight: 400; line-height: 1.05; text-transform: uppercase; }
.banner p { margin: 8px 0 18px; color: var(--grey); font-size: clamp(14px, 1.3vw, 17px); }

/* Product card dots */
.card-top { position: relative; }
.dots { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.dot { width: 20px; height: 20px; padding: 0; border: 1px solid #bfbfc4; border-radius: 50%; transition: transform 0.15s; }
.dot:hover { transform: scale(1.15); }
.dot.on { outline: 2px solid var(--ink); outline-offset: 2px; }
.card.swap .card-photo img:not(.alt) { animation: fade-in 0.35s ease-out; }
.quick { bottom: 8px; }

/* Size guide */
.opt-label { align-items: center; }
.guide-link { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.guide-link .i { width: 16px; height: 16px; }
.modal { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.5); animation: fade-in 0.2s; }
.modal[hidden] { display: none; }
.modal-box { width: min(520px, 100%); overflow: hidden; border-radius: 6px; background: var(--white); animation: rise 0.3s var(--ease); }
.guide { width: 100%; border-collapse: collapse; }
.guide th, .guide td { padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: start; }
.guide th { background: var(--tile); font-weight: 600; }

/* Reviews */
.reviews { display: grid; gap: 12px; }
.review { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 4px; }
.stars { color: var(--red); font-size: 16px; letter-spacing: 2px; }
.review blockquote { margin: 8px 0 10px; }
.review figcaption { color: var(--grey); font-size: 14px; font-weight: 600; }

/* Smooth phone menu */
@media (max-width: 999px) {
  .nav-links { display: flex; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s; }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; }
}

.float-wa { border: 1px solid rgba(255, 255, 255, 0.55); }

@media (max-width: 719px) {
  .banner img { height: 56vw; object-position: 100% 50%; }
  .banner-text { position: static; max-width: none; padding: 18px 16px 24px; transform: none; }
}

/* Friendly motion */
@keyframes img-in { from { opacity: 0; filter: blur(8px); transform: scale(1.03); } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes ring { 25% { transform: rotate(-12deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-5deg); } }
@keyframes burst { from { opacity: 0.7; transform: scale(0.6); } to { opacity: 0; transform: scale(1.8); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
@keyframes line-in { from { opacity: 0; transform: translateX(18px); } }
@keyframes toast-time { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes title-in { from { opacity: 0; transform: translateY(32px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -10% 0); } }
@keyframes sk-move { to { background-position: -200% 0; } }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; animation-timing-function: ease-out; }
.progress, .nav, .toast, .float-wa, .to-top, .drawer, .scrim { view-transition-name: none; }

.skeleton { min-height: 80vh; }
.sk-hero, .sk-grid i { background: linear-gradient(100deg, var(--tile) 40%, #fafafa 50%, var(--tile) 60%) 0 0 / 200% 100%; animation: sk-move 1.4s linear infinite; }
.sk-hero { height: min(56vh, 520px); }
.sk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter); }
.sk-grid i { display: block; aspect-ratio: 4 / 5; border-radius: 4px; }

.nav-in { transition: height 0.25s var(--ease); }
.nav.scrolled .nav-in { height: 58px; }
.logo img { transition: height 0.25s var(--ease), opacity 0.2s; }
.nav.scrolled .logo img { height: 29px; }
.logo:hover img { opacity: 0.75; }
.icon-btn { transition: background 0.2s, transform 0.15s var(--ease); }
.icon-btn:active { transform: scale(0.9); }
.cart-btn.ring .i { animation: ring 0.6s var(--ease); transform-origin: 50% 20%; }

.hero h1 { animation: title-in 0.8s var(--ease) both; animation-delay: 0.05s; }
.appear { animation: img-in 0.55s var(--ease) both; }
.card-top { transition: transform 0.3s var(--ease); }
.card-photo { transition: box-shadow 0.3s var(--ease); }
.heart { transition: transform 0.15s var(--ease), opacity 0.2s; }
.heart:active { transform: scale(0.85); }
.heart.on::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--red); border-radius: 50%; pointer-events: none; animation: burst 0.5s var(--ease) both; }
.chip, .filters button, .swatch, .dot, .sizes button { transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.15s var(--ease); }
.chip:active, .sizes button:active, .swatch:active { transform: scale(0.94); }
.sizes button[aria-checked="true"] { transform: scale(1.03); }
.pop { display: inline-block; animation: pop 0.3s var(--ease); }
.note { animation: rise 0.3s var(--ease); }

input, select, textarea { transition: border-color 0.18s, box-shadow 0.18s; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08); }
input.bad, textarea.bad { animation: shake 0.35s ease; }
.error:not([hidden]) { animation: shake 0.35s ease; }

.btn.loading { color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #ffffff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn.loading:disabled { border-color: var(--ink); background: var(--ink); cursor: wait; }

.tick-draw { display: block; width: 72px; height: 72px; margin: 0 auto 14px; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tick-draw circle, .tick-draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.55s var(--ease) forwards; }
.tick-draw path { animation-delay: 0.4s; animation-duration: 0.35s; }
.done h1, .done p, .done .btn { animation: rise 0.5s var(--ease) both; animation-delay: 0.45s; }

.modal-box { animation: modal-in 0.28s var(--ease); }
.drawer.opening .line, .drawer.opening .looks { animation: line-in 0.4s var(--ease) both; }
.drawer.opening .line:nth-child(2) { animation-delay: 0.05s; }
.drawer.opening .line:nth-child(3) { animation-delay: 0.1s; }
.drawer.opening .looks { animation-delay: 0.15s; }
.line { animation: none; }
.scrim { backdrop-filter: blur(2px); }

.toast::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--red); transform-origin: left; }
.toast.show::after { animation: toast-time 3.5s linear forwards; }
.toast { overflow: hidden; }

.search-results a { animation: rise 0.25s var(--ease) both; }
.search-results a:nth-child(2) { animation-delay: 0.03s; }
.search-results a:nth-child(3) { animation-delay: 0.06s; }
.search-results a:nth-child(4) { animation-delay: 0.09s; }

.acc summary::after { transition: transform 0.25s var(--ease); }
.acc details[open] summary::after { content: "+"; transform: rotate(45deg); }
@supports (interpolate-size: allow-keywords) {
  .acc { interpolate-size: allow-keywords; }
  .acc details::details-content { height: 0; overflow: hidden; transition: height 0.3s var(--ease), content-visibility 0.3s allow-discrete; }
  .acc details[open]::details-content { height: auto; }
}

@media (hover: hover) {
  .card:hover .card-top { transform: translateY(-4px); }
  .card:hover .card-photo { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.13); }
  .card-top .qv-btn { opacity: 0; transform: translateX(6px); transition: opacity 0.2s, transform 0.2s var(--ease); }
  .card:hover .qv-btn, .card:focus-within .qv-btn { opacity: 1; transform: none; }
}

@media (min-width: 720px) {
  .sk-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Phones and tablets */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; }
a, button, summary, label { touch-action: manipulation; }
.drawer, .modal-box, .drawer-body { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.nav { -webkit-backdrop-filter: none; }
.logo { flex: none; }
.logo img { max-width: 112px; height: 30px; object-fit: contain; }
.menu-btn, .nav-tools { flex: none; }
.float-wa { right: calc(16px + env(safe-area-inset-right)); }
.menu-lang { display: none; }
.lost { min-height: 100vh; min-height: 100dvh; }
.modal { padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }

@media (min-width: 431px) {
  .logo img { max-width: none; height: 34px; }
  .nav.scrolled .logo img { height: 29px; }
}

/* Touch screens keep hover colours after a tap, so hover effects are switched off there */
@media (hover: none) {
  .btn:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
  .btn:hover::before { transform: translateX(-101%); }
  [dir="rtl"] .btn:hover::before { transform: translateX(101%); }
  .btn-ghost:hover, .btn-light:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }
  .btn-light:hover { border-color: var(--white); }
  .hero-actions .btn-ghost:hover { border-color: #55565a; background: transparent; color: var(--white); }
  .btn:active::before { transform: none; }
  .icon-btn:hover { background: none; }
  .btn.added:hover { border-color: var(--green); background: var(--green); }
}

/* Comfortable tap sizes on touch screens */
@media (pointer: coarse) {
  .foot-col a { min-height: 38px; }
  .foot-col h2 { margin-bottom: 0; }
  .crumbs a, .crumbs span { padding: 7px 0; }
  .more { min-height: 38px; }
  .link { min-height: 38px; padding: 6px 2px; }
  .swatch { width: 36px; height: 36px; }
  .colours { gap: 12px; }
  .colours a { width: 38px; height: 38px; }
  .dot { position: relative; width: 28px; height: 28px; }
  .dot::after { content: ""; position: absolute; inset: -5px; }
  .dots { gap: 9px; }
  .shop-sort select { font-size: 16px; }
  .logo { padding: 4px 0; }
  .nav-links a { min-height: 38px; display: inline-flex; align-items: center; }
  .filters button { min-height: 38px; }
  .qty button { width: 44px; }
  .small-qty button { width: 36px; height: 36px; }
  .remove { width: 38px; height: 38px; }
  .thumbs button { width: 80px; }
}

/* Small phones */
@media (max-width: 430px) {
  #lang { display: none; }
  .menu-lang { display: block; padding: 11px 0; border: 0; background: none; font-size: 15px; font-weight: 600; text-align: start; }
  .nav-in { gap: 4px; }
  .nav-tools { gap: 0; }
  .nav-tools .icon-btn { width: 38px; }
  .menu-btn { width: 38px; }
}

@media (max-width: 345px) {
  .bar { padding: 7px 10px; font-size: 11px; }
  .nav-tools .icon-btn { width: 36px; }
  .logo img { max-width: 92px; height: 26px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; padding-inline: 12px; }
  .sizes button { min-width: 50px; }
}

/* Phones turned sideways */
@media (max-height: 500px) and (orientation: landscape) {
  .nav { position: static; }
  .nav-in { height: 56px; }
  .hero-text { padding-block: 20px; }
  .hero h1 { font-size: 44px; }
  .hero p { margin-bottom: 14px; font-size: 15px; }
  .hero-images .slot { min-height: 0; height: 270px; aspect-ratio: auto; }
  .hero-images .slot img { object-position: 50% 15%; }
  .sk-hero { height: 240px; }
  .drawer { width: min(420px, 62vw); }
  .drawer-body { min-height: 90px; }
  .qv-box > img { max-height: 70dvh; }
  .banner img { height: 240px; }
  .buy { position: static; }
  .pdp { align-items: start; }
}

@media (max-height: 380px) and (orientation: landscape) {
  .hero-text { padding-block: 12px; }
  .hero h1 { margin-bottom: 8px; font-size: 38px; }
  .hero p, .hero small { display: none; }
  .hero-images .slot { height: 210px; }
  .hero-actions .btn { min-height: 44px; padding-block: 8px; }
}

/* Tablets */
@media (min-width: 720px) and (max-width: 1099px) {
  .buy { top: 76px; }
  .sizes button { min-width: 50px; padding-inline: 8px; }
  .nav-links { margin-inline-start: 14px; gap: 18px; }
}

/* Search suggestions */
.search-results { display: grid; gap: 2px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 12px; }
.search-results[hidden] { display: none; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 4px; }
.search-results a:hover { background: var(--tile); }
.search-results img { width: 44px; height: 54px; border-radius: 3px; object-fit: cover; }
.search-results span, .look-line span { display: flex; flex-direction: column; font-size: 14px; }
.search-results small, .look-line small { color: var(--grey); }

/* Quick view */
.qv-btn { top: 52px; }
.qv-btn .i { fill: none !important; }
.qv-box { position: relative; display: grid; width: min(760px, 100%); max-height: 92dvh; overflow-y: auto; }
.qv-box > img { width: 100%; max-height: 42dvh; object-fit: contain; background: #f2f2f2; }
.qv-info { display: grid; gap: 6px; padding: 18px; }
.qv-info h2 { font-size: 22px; line-height: 1.2; }
.qv-info .btn { margin-top: 8px; }
.qv-close { position: absolute; top: 8px; right: 8px; z-index: 2; background: var(--white); }
[dir="rtl"] .qv-close { right: auto; left: 8px; }
[dir="rtl"] .qv-btn { right: auto; left: 8px; }
.sizes button:disabled { opacity: 0.55; cursor: not-allowed; }

/* Complete the look and new tags */
.looks { padding: 14px 0; }
.looks h3 { margin-bottom: 8px; font-size: 14px; }
.look-line { display: flex; align-items: center; gap: 12px; padding: 5px 0; }
.look-line img { width: 52px; height: 65px; border-radius: 3px; object-fit: cover; }
.tag-new { background: var(--red); }

/* Countdown, tracking and photo grids */
.drop { padding: 22px var(--gutter); background: var(--red); color: #ffffff; text-align: center; }
.drop h2 { margin-bottom: 8px; font-size: clamp(20px, 3vw, 28px); font-weight: 700; }
.drop-time { display: flex; justify-content: center; gap: clamp(14px, 3vw, 30px); }
.drop-time span { display: flex; flex-direction: column; }
.drop-time b { font-size: clamp(24px, 4vw, 36px); line-height: 1.1; }
.drop-time small { font-size: 12px; }
.track-card { margin-top: 16px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0; padding: 0; list-style: none; font-size: 12px; color: var(--grey); text-align: center; }
.timeline li { padding-top: 8px; border-top: 3px solid var(--line); }
.timeline li.on { border-color: var(--green); color: var(--ink); font-weight: 600; }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; aspect-ratio: 1; border-radius: 4px; object-fit: cover; }
.photo-grid figcaption { padding-top: 4px; color: var(--grey); font-size: 13px; }
.about-photo { width: 100%; margin-top: 14px; border-radius: 4px; }
.finder { display: grid; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }

@media (min-width: 720px) {
  .qv-box { grid-template-columns: 1fr 1fr; }
  .qv-box > img { height: 100%; max-height: none; }
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Reviews, points and gift cards */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 4px; font-size: 13px; color: var(--grey); }
.review-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 8px; }
.review-form { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.points { margin-bottom: 14px; }
.points-line { margin-top: 10px; font-size: 14px; }
.gift-list { display: grid; gap: 10px; }
.gift-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; border-radius: 4px; background: var(--ink); color: var(--white); }
.gift-card b { font-size: 20px; }
.gift-card span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }

/* Stock, discounts and pages */
.sizes button.out { color: #a5a5aa; text-decoration: line-through; }
.low { margin-top: 8px; color: var(--red-dark); font-size: 14px; font-weight: 600; }
.low[hidden], .notify[hidden] { display: none; }
.notify { margin-top: 12px; padding: 12px; border-radius: 4px; background: var(--tile); }
.notify div { display: flex; gap: 8px; margin-top: 8px; }
.notify input { margin: 0; }
.notify .btn { flex: none; }
.promo { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.promo input { margin: 0; }
.promo .btn { flex: none; }
.row.save { color: var(--green); font-weight: 600; }
.cart-bundle { color: var(--green); font-weight: 600; }
.status { display: inline-block; margin: 4px 0; padding: 2px 9px; border-radius: 10px; background: var(--tile); font-size: 12px; font-weight: 600; }
.status-delivered, .status-confirmed { background: #e3f3ea; color: var(--green); }
.status-shipped { background: #e7eefc; color: #1c4ea3; }
.status-cancelled { background: #fbe6e7; color: var(--red-dark); }
.policy { max-width: 820px; }
.policy p { margin-top: 12px; }
.foot-pages { display: contents; }
.center-link { text-align: center; }

/* Accounts */
.auth-wrap { max-width: 520px; }
.small { font-size: 13px; }
.auth-switch { text-align: center; font-size: 14px; }
.link { padding: 0; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.danger-link { color: var(--red-dark); font-weight: 500; }
.icon-btn[hidden] { display: none; }
.who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.who p { color: var(--grey); }
.btn-small { min-height: 40px; padding: 6px 18px; }
.check-line { display: flex !important; align-items: center; gap: 10px; }
.check-line input { width: auto; margin: 0; accent-color: var(--ink); }
.account-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.sub { margin-bottom: 12px; font-size: 17px; font-weight: 700; }
.orders { display: grid; gap: 12px; }
.order { padding: 14px; border: 1px solid var(--line); border-radius: 4px; }
.order-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.summary input:disabled { background: #e9e9ea; color: var(--grey); }
.account-extra { margin-top: 16px; }
.account-extra > div:empty { display: none; }

@media (min-width: 720px) {
  .account-extra > div:empty { display: block; }
}

/* Banner fills the full height beside its text */
@media (min-width: 720px) {
  .hero-images { height: 100%; }
  .slot { height: 100%; min-height: 560px; aspect-ratio: auto; }
}
.footer { padding-bottom: 76px; }

/* Arabic layout */
[dir="rtl"] body { font-family: "Tajawal", var(--sans); }
[dir="rtl"] .hero h1, [dir="rtl"] .head h2, [dir="rtl"] .page-title, [dir="rtl"] .banner h2 { font-family: "Tajawal", var(--sans); font-weight: 800; line-height: 1.2; }
[dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea { font-family: "Tajawal", var(--sans); }
[dir="rtl"] .nav-tools { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav-links { margin-left: 0; }
[dir="rtl"] .menu-btn { margin-left: 0; margin-right: -9px; }
[dir="rtl"] .heart { right: auto; left: 8px; }
[dir="rtl"] .tag { left: auto; right: 10px; }
[dir="rtl"] .cat span { left: auto; right: 12px; }
[dir="rtl"] .badge { right: auto; left: 1px; }
[dir="rtl"] .gallery-hint { right: auto; left: 10px; }
[dir="rtl"] .zoom-close { right: auto; left: 12px; }
[dir="rtl"] .drawer { inset: 0 auto 0 0; animation-name: slide-rtl; }
@keyframes slide-rtl { from { transform: translateX(-100%); } }
[dir="rtl"] .drawer-head { padding: 10px 18px 10px 12px; }
[dir="rtl"] .remove { margin: -5px 0 0 -5px; }
[dir="rtl"] .float-wa { right: auto; left: 16px; }
[dir="rtl"] .to-top { left: auto; right: 16px; }
[dir="rtl"] .hero-images { direction: ltr; }
[dir="rtl"] .btn::before { transform: translateX(101%); }
[dir="rtl"] .btn:hover::before { transform: none; }
[dir="rtl"] .crumbs .i, [dir="rtl"] .more .i, [dir="rtl"] .btn .i[aria-hidden] use[href="#i-arrow-right"] { transform: scaleX(-1); transform-origin: center; }
[dir="rtl"] .hero-actions .i { transform: scaleX(-1); }

@media (min-width: 720px) {
  .reviews { grid-template-columns: repeat(3, 1fr); }
}

@media (hover: hover) {
  .gallery-main:hover img { transform: scale(1.7); }
  .quick { display: flex; flex-wrap: wrap; }
  .card:hover .quick, .card:focus-within .quick { opacity: 1; transform: none; }
  .card:hover .card-photo .alt { opacity: 1; }
  .card:hover .card-photo img:not(.alt) { transform: scale(1.03); }
}

@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 34px 14px; }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .trust div { justify-content: center; }
  .foot-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
  .two { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 5fr 6fr; }
  .cats { gap: 14px; }
  .cat img { aspect-ratio: 16 / 11; object-fit: contain; }
  .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); }
  .buy { position: sticky; top: 88px; align-self: start; }
  .check { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); }
}

@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .nav-links { position: static; display: flex; flex-direction: row; gap: 28px; margin-left: 28px; padding: 0; border: 0; background: none; }
  .nav-links a { padding: 0; font-size: 14px; transition: color 0.2s; }
  .nav-links a:hover { color: var(--red); }
  .grid { grid-template-columns: repeat(4, 1fr); }
}

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