/* Macro Home — Draft 1 "Clean Catalogue" */
:root {
  --red: #D11919; --red-dk: #A91313; --red-soft: #FCEDED;
  --ink: #111111; --ink-2: #3D3D3D; --muted: #6B6B6B; --line: #E4E4E1; --line-2: #D2D2CE;
  --band: #F5F5F3; --band-2: #ECECE9; --white: #fff;
  --green: #0B7A3B; --green-soft: #E7F4EC;
  --r-sm: 8px; --r: 12px; --r-lg: 20px; --pill: 999px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --wrap: 1360px; --gut: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
@media (min-width: 768px) { :root { --gut: 32px; } }
@media (min-width: 1200px) { :root { --gut: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.back { transform: scaleX(-1); }
[dir="rtl"] .back { transform: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: var(--pill); font-weight: 600; font-size: 15px; transition: background .2s var(--ease), color .2s, border-color .2s, transform .15s; white-space: nowrap; border: 1.5px solid transparent; }
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-line { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--band); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--red); }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; position: relative; transition: background .15s; }
.iconbtn:hover { background: var(--band); }
.count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.count:empty, .count[data-n="0"] { display: none; }

/* ---------- header ---------- */
.topbar { background: var(--band); font-size: 13px; color: var(--ink-2); }
.topbar .wrap { display: flex; gap: var(--s6); justify-content: center; align-items: center; min-height: 36px; overflow: hidden; white-space: nowrap; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ico { width: 16px; height: 16px; }
.topbar span + span { display: none; }
@media (min-width: 900px) { .topbar span + span { display: inline-flex; } }

.hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s3) var(--s5); padding-block: 12px; }
.logo { color: var(--red); display: inline-flex; align-items: center; }
.logo svg { height: 40px; width: auto; direction: ltr; }
.hdr-burger { display: inline-grid; }
.hdr-left { display: flex; align-items: center; gap: 4px; }
.hdr-icons { display: flex; align-items: center; gap: 2px; justify-content: flex-end; }
.lang-btn { height: 40px; padding: 0 14px; border-radius: var(--pill); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line-2); margin-inline-end: 6px; }
.lang-btn:hover { border-color: var(--ink); }
.lang-btn .ico { width: 18px; height: 18px; }
.search { grid-column: 1 / -1; grid-row: 2; position: relative; }
.search-box { display: flex; align-items: center; height: 50px; border-radius: var(--pill); background: var(--band); border: 2px solid transparent; transition: border-color .2s, background .2s; padding-inline: 20px 6px; gap: 10px; }
.search-box:focus-within { border-color: var(--ink); background: #fff; }
.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 16px; height: 100%; }
.search-box input::placeholder { color: #7a7a7a; }
.search-go { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.search-go:hover { background: var(--red); }
.search-go .ico { width: 19px; height: 19px; }
.suggest { position: absolute; inset-inline: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); padding: var(--s3); display: none; z-index: 60; max-height: 70vh; overflow: auto; }
.suggest.open { display: block; }
.suggest h6 { margin: 6px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); }
.suggest a:hover, .suggest a.hi { background: var(--band); }
.suggest img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--band); }
.suggest .s-name { font-weight: 600; font-size: 14px; }
.suggest .s-price { font-size: 13px; color: var(--red); font-weight: 700; }
.suggest .s-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 8px; }
.suggest .s-chips a { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--pill); font-size: 13px; }
.suggest .s-empty { padding: 14px 10px; color: var(--muted); }
.hdr-nav { display: none; }
.icon-hide-m { display: none; }

@media (min-width: 1024px) {
  .hdr-main { grid-template-columns: auto minmax(0, 1fr) auto; padding-block: 16px 8px; gap: var(--s6); }
  .search { grid-column: auto; grid-row: auto; max-width: 760px; width: 100%; justify-self: center; }
  .search-box { height: 54px; }
  .hdr-burger { display: none; }
  .logo svg { height: 46px; }
  .icon-hide-m { display: inline-grid; }
  .hdr-nav { display: block; }
  .nav-row { display: flex; gap: 6px; align-items: center; }
  .nav-row a, .nav-row button { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-weight: 600; font-size: 15px; border-radius: var(--pill); position: relative; }
  .nav-row a:hover, .nav-row button:hover { background: var(--band); }
  .nav-row .active { color: var(--red); }
  .nav-row .ico { width: 16px; height: 16px; transition: transform .2s; }
  .nav-row button[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .nav-row .nav-offer { color: var(--red); }
  .hdr-nav .nav-end { margin-inline-start: auto; color: var(--muted); font-weight: 500; font-size: 14px; }
}
.mega { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 50px rgba(0,0,0,.12); display: none; max-height: calc(100vh - 140px); overflow: auto; }
.mega.open { display: block; animation: drop .22s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.mega-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s5); padding-block: var(--s6) var(--s7); }
.mega-col a.mega-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--band); margin-bottom: 14px; }
.mega-col a.mega-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mega-col a.mega-img:hover img { transform: scale(1.05); }
.mega-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.mega-col h4 a:hover { color: var(--red); }
.mega-col li a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 14px; }
.mega-col li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.mega-col .mega-all { font-weight: 600; color: var(--ink); }
.mega-foot { border-top: 1px solid var(--line); background: var(--band); }
.mega-foot .wrap { display: flex; gap: var(--s6); padding-block: 14px; font-size: 14px; font-weight: 500; }
.mega-foot a { display: inline-flex; align-items: center; gap: 8px; }
.mega-foot a:hover { color: var(--red); }

/* mobile menu drawer */
.scrim { position: fixed; inset: 0; background: rgba(17,17,17,.45); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: #fff; z-index: 100; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .32s var(--ease); }
[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.left { inset-inline-end: auto; inset-inline-start: 0; transform: translateX(-105%); }
[dir="rtl"] .drawer.left { transform: translateX(105%); }
.drawer.open, [dir="rtl"] .drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
[dir="rtl"] .drawer-head { padding: 14px 24px 14px 16px; }
.drawer-head h3 { font-size: 20px; font-weight: 700; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 24px 24px; }
.mnav-group { border-bottom: 1px solid var(--line); }
.mnav-group > button, .mnav-link { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 0; font-size: 17px; font-weight: 600; text-align: start; }
.mnav-group > button img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.mnav-group > button .ico { margin-inline-start: auto; transition: transform .2s; }
.mnav-group.open > button .ico { transform: rotate(180deg); }
.mnav-subs { display: none; padding: 0 0 12px 58px; }
[dir="rtl"] .mnav-subs { padding: 0 58px 12px 0; }
.mnav-group.open .mnav-subs { display: block; }
.mnav-subs a { display: block; padding: 8px 0; color: var(--ink-2); }
.mnav-link { border-bottom: 1px solid var(--line); }
.mnav-link.red { color: var(--red); }

/* mini cart */
.mc-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.mc-line img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; background: var(--band); }
.mc-line h5 { font-size: 15px; margin: 0 0 2px; font-weight: 600; }
.mc-line .meta { font-size: 13px; color: var(--muted); }
.mc-line .price { font-size: 16px; }
.mc-added { display: flex; gap: 10px; align-items: center; background: var(--green-soft); color: var(--green); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; margin-top: 12px; }
.mc-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; font-weight: 600; }
.mc-total .price { font-size: 22px; }
.mc-note { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.empty .ico { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--line-2); stroke-width: 1.4; }
.empty h4 { color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--pill); z-index: 120; font-weight: 500; font-size: 14px; display: flex; gap: 10px; align-items: center; transition: transform .3s var(--ease); max-width: calc(100% - 32px); box-shadow: var(--shadow-lg); }
.toast.show { transform: translate(-50%, 0); }
.toast .ico { width: 18px; height: 18px; color: #7ee2a3; }
.toast .ico.err { color: #ff8a8a; }

/* draft chip */
.draft-chip { position: fixed; bottom: 14px; inset-inline-start: 14px; z-index: 80; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--pill); padding: 6px 12px 6px 8px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow); }
[dir="rtl"] .draft-chip { padding: 6px 8px 6px 12px; }
.draft-chip i { width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 11px; }
body.has-sticky .draft-chip { bottom: 92px; }
@media (min-width: 1024px) { body.has-sticky .draft-chip { bottom: 14px; } }

/* ---------- sections ---------- */
.section { padding-block: var(--s7); }
@media (min-width: 900px) { .section { padding-block: var(--s8); } }
.band { background: var(--band); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; }
.sec-head p { color: var(--muted); margin-top: 6px; max-width: 620px; }
.sec-head .tools { display: flex; align-items: center; gap: 10px; flex: none; }
.arrows { display: none; gap: 8px; }
@media (min-width: 768px) { .arrows { display: flex; } }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: #fff; transition: border-color .15s, background .15s, opacity .15s; }
.arrow:hover { border-color: var(--ink); }
.arrow[disabled] { opacity: .35; pointer-events: none; }
.arrow .ico { width: 18px; height: 18px; }
.eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 10px; display: block; }
[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }

/* horizontal scroller */
.hscroll { display: grid; grid-auto-flow: column; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; overscroll-behavior-x: contain; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
.hscroll.cards { grid-auto-columns: 72%; }
@media (min-width: 600px) { .hscroll.cards { grid-auto-columns: 44%; } }
@media (min-width: 900px) { .hscroll.cards { grid-auto-columns: calc((100% - 3 * var(--s5)) / 4); gap: var(--s5); } }
@media (min-width: 1300px) { .hscroll.cards { grid-auto-columns: calc((100% - 4 * var(--s5)) / 5); } }
.bleed-m { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
@media (min-width: 900px) { .bleed-m { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }

/* ---------- hero ---------- */
.hero { padding-top: var(--s4); }
.hero-inner { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--band); }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-card { position: relative; background: #fff; padding: var(--s5); margin: -48px 12px 12px; border-radius: var(--r); box-shadow: var(--shadow); }
.hero-card h1 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 12px; }
.hero-card h1 em { font-style: normal; color: var(--red); }
.hero-card p { color: var(--ink-2); font-size: 16px; margin-bottom: 20px; }
.hero-card .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-card .small { margin-top: 16px; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .hero-img { aspect-ratio: 16 / 7; min-height: 520px; }
  .hero-card { position: absolute; inset-inline-start: 48px; top: 50%; transform: translateY(-50%); width: 460px; margin: 0; padding: 40px; }
}

/* category round tiles */
.hscroll.tiles { grid-auto-columns: 112px; gap: var(--s4); }
@media (min-width: 900px) { .hscroll.tiles { grid-auto-columns: 136px; gap: var(--s5); } }
.tile { text-align: center; display: block; }
.tile-img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--band); margin-bottom: 10px; border: 3px solid #fff; outline: 1px solid var(--line); transition: outline-color .2s; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile:hover .tile-img { outline-color: var(--ink); }
.tile span { font-size: 14px; font-weight: 600; line-height: 1.3; display: block; }

/* shop by room */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (min-width: 900px) { .rooms { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: var(--s4); } }
.room { position: relative; border-radius: var(--r); overflow: hidden; background: var(--band); aspect-ratio: 1; display: block; }
@media (min-width: 900px) { .room { aspect-ratio: auto; } }
.room img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.room:hover img { transform: scale(1.04); }
.room-label { position: absolute; inset-inline-start: 12px; bottom: 12px; background: #fff; border-radius: var(--pill); padding: 8px 16px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow); }
.room-label .ico { width: 16px; height: 16px; transition: transform .2s; }
.room:hover .room-label .ico { transform: translateX(3px); }
[dir="rtl"] .room:hover .room-label .ico { transform: scaleX(-1) translateX(3px); }
@media (min-width: 900px) { .room-label { inset-inline-start: 20px; bottom: 20px; font-size: 16px; padding: 10px 20px; } }

/* ---------- product card ---------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--band); border-radius: var(--r); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; background: #fff; color: var(--ink); z-index: 2; }
.badge.sale { background: var(--red); color: #fff; }
.badge.new { background: var(--ink); color: #fff; }
.badge.custom { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.wish { position: absolute; top: 8px; inset-inline-end: 8px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; z-index: 3; transition: transform .15s, color .15s; }
.wish:hover { transform: scale(1.08); }
.wish .ico { width: 20px; height: 20px; }
.wish.on { color: var(--red); }
.wish.on .ico { fill: var(--red); }
.card-body { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; position: relative; }
.card-name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.card-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-desc { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.stars { position: relative; display: inline-block; font-size: 13px; letter-spacing: 1px; color: #D5D5D1; line-height: 1; direction: ltr; }
.stars b { position: absolute; inset-block: 0; left: 0; overflow: hidden; color: var(--ink); white-space: nowrap; font-weight: 400; }
.price { color: var(--red); font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; }
.price .cur { font-size: .55em; font-weight: 700; margin-inline: 3px; vertical-align: .35em; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.old { color: var(--muted); text-decoration: line-through; font-size: 14px; white-space: nowrap; }
.save { font-size: 12px; font-weight: 700; color: var(--red); background: var(--red-soft); padding: 2px 7px; border-radius: 5px; }
.from { font-size: 12px; color: var(--ink-2); font-weight: 600; display: block; }
.monthly { font-size: 13px; color: var(--ink-2); }
.monthly b { font-weight: 700; }
.dots { display: flex; gap: 6px; margin-top: 6px; align-items: center; }
.dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); position: relative; transition: box-shadow .15s; }
.dot.on, .dot:hover { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.stock { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--muted); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.stock.ready { color: var(--green); }
.card .add { position: absolute; bottom: 0; inset-inline-end: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: background .15s, transform .15s; }
.card .add:hover { background: var(--red-dk); transform: scale(1.06); }
.card .add.dark { background: var(--ink); }
.card .add .ico { width: 21px; height: 21px; }
.card .add .ico.plus { position: absolute; width: 12px; height: 12px; top: 9px; inset-inline-end: 8px; stroke-width: 3; }
.card-body .stock { padding-inline-end: 54px; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s3); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7) var(--s5); } }
@media (min-width: 1300px) { .grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .grid .price { font-size: 19px; }
  .grid .card-name { font-size: 14.5px; }
  .grid .card .add { width: 40px; height: 40px; }
  .grid .monthly, .grid .card-desc { font-size: 12px; }
  .grid .card-body .stock { font-size: 12px; padding-inline-end: 44px; }
  .grid .badge { font-size: 11px; top: 8px; inset-inline-start: 8px; }
  .grid .wish { width: 34px; height: 34px; top: 6px; inset-inline-end: 6px; }
}

/* ---------- shoppable room ---------- */
.shop-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: var(--s4); }
.chip { flex: none; height: 40px; padding: 0 18px; border-radius: var(--pill); border: 1.5px solid var(--line-2); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; background: #fff; transition: border-color .15s, background .15s, color .15s; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; margin-inline-start: -10px; }
.shoppable { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--band); }
.shoppable > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .shoppable > img { aspect-ratio: 21 / 9; } }
.hot { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 12px rgba(0,0,0,.25); transition: transform .2s var(--ease), background .2s, color .2s; z-index: 2; }
.hot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.hot .ico { width: 18px; height: 18px; stroke-width: 2.6; transition: transform .2s; }
.hot:hover, .hot.on { background: var(--ink); color: #fff; transform: translate(-50%, -50%) scale(1.1); }
.hot.on .ico { transform: rotate(45deg); }
.pop { position: absolute; z-index: 5; width: 270px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 12px; display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; animation: drop .2s var(--ease); }
.pop img { width: 76px; height: 76px; border-radius: 8px; object-fit: cover; background: var(--band); }
.pop h5 { font-size: 14px; font-weight: 700; margin: 0 0 2px; line-height: 1.3; }
.pop .price { font-size: 19px; }
.pop .stock { margin-top: 2px; font-size: 12px; }
.pop .pop-go { grid-column: 1 / -1; display: flex; gap: 8px; }
.pop .pop-go .btn { flex: 1; min-height: 38px; padding: 0 12px; font-size: 13px; }
.shop-cap { position: absolute; inset-inline-start: 16px; top: 16px; background: #fff; padding: 8px 16px; border-radius: var(--pill); font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }

/* services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s4); }
@media (min-width: 900px) { .services { grid-template-columns: repeat(5, 1fr); gap: var(--s5); } }
.svc .ico { width: 40px; height: 40px; stroke-width: 1.4; margin-bottom: 14px; }
.svc h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.svc p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.svc a { display: inline-block; margin-top: 8px; font-size: 14px; }

/* workshop story */
.story { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1.1fr 1fr; gap: var(--s8); } }
.story-imgs { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s3); }
.story-imgs img { width: 100%; object-fit: cover; border-radius: var(--r); aspect-ratio: 3 / 4; }
.story-imgs img:last-child { aspect-ratio: 3 / 5; align-self: end; }
.story h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin-bottom: 16px; }
.story p { color: var(--ink-2); font-size: 16px; margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin: var(--s5) 0; border-block: 1px solid var(--line-2); padding-block: var(--s5); }
.stats b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--red); line-height: 1.1; }
.stats span { font-size: 13px; color: var(--muted); }
.steps-mini { display: grid; gap: 10px; margin-bottom: var(--s5); }
.steps-mini li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.steps-mini i { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; flex: none; }

/* custom block */
.custom-block { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .custom-block { grid-template-columns: 1fr 1fr; gap: var(--s5); } }
.cb-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #fff; background: #333; }
.cb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cb-tile:hover img { transform: scale(1.03); }
.cb-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 60%); }
.cb-tile > div { position: relative; z-index: 2; padding: var(--s5); }
@media (min-width: 900px) { .cb-tile { min-height: 480px; } .cb-tile > div { padding: var(--s6); } }
.cb-tile h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 6px; }
.cb-tile p { opacity: .92; margin-bottom: 16px; max-width: 440px; }
.cb-tile .from-p { font-weight: 700; margin-bottom: 16px; display: block; }

/* installments strip */
.inst-strip { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: var(--s6) var(--s5); display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .inst-strip { grid-template-columns: 1.2fr 1fr; padding: var(--s7); } }
.inst-strip h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin-bottom: 10px; }
.inst-strip h2 em { font-style: normal; color: #ff6b6b; }
.inst-strip p { color: #cfcfcf; }
.prov { display: flex; flex-wrap: wrap; gap: 10px; }
.prov span { background: #fff; color: var(--ink); border-radius: 10px; padding: 12px 18px; font-weight: 800; font-size: 16px; min-width: 104px; text-align: center; }
.prov small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }

/* reviews */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: var(--s4); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.reviews::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .reviews { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); } }
.review { background: #fff; border-radius: var(--r); padding: var(--s5); scroll-snap-align: start; border: 1px solid var(--line); }
.review .stars { font-size: 16px; margin-bottom: 12px; }
.review p { font-size: 15.5px; margin-bottom: 16px; }
.review footer { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.review footer i { width: 34px; height: 34px; border-radius: 50%; background: var(--band); display: grid; place-items: center; font-style: normal; font-weight: 700; color: var(--ink); }
.review footer b { color: var(--ink); display: block; font-size: 14px; }
.verified { color: var(--green); font-weight: 600; font-size: 12px; display: inline-flex; gap: 4px; align-items: center; }
.verified .ico { width: 14px; height: 14px; }

/* delivery promise */
.promise { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .promise { grid-template-columns: 1fr 1.3fr; align-items: start; gap: var(--s8); } }
.promise h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-bottom: 12px; }
.promise > div > p { color: var(--ink-2); margin-bottom: 16px; }
.gov-table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gov-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; align-items: center; }
.gov-row:last-child { border-bottom: 0; }
.gov-row.head { background: var(--band); font-size: 13px; font-weight: 600; color: var(--muted); }
.gov-row b { font-weight: 700; }

/* newsletter */
.news { background: var(--red); color: #fff; border-radius: var(--r-lg); padding: var(--s6) var(--s5); display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1fr; padding: var(--s7); } }
.news h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 6px; }
.news p { opacity: .9; }
.news form { display: flex; gap: 8px; background: #fff; border-radius: var(--pill); padding: 6px; }
.news input { flex: 1; min-width: 0; border: 0; outline: 0; padding-inline: 16px; font-size: 16px; color: var(--ink); background: transparent; }
.news .ok { font-weight: 600; display: flex; gap: 8px; align-items: center; }

/* ---------- footer ---------- */
.ftr { background: var(--band); margin-top: var(--s5); padding-top: var(--s7); font-size: 14px; }
.ftr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s5); }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.ftr-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .ftr-brand { grid-column: auto; } }
.ftr-brand .logo svg { height: 48px; }
.ftr-brand p { color: var(--ink-2); margin: 16px 0; max-width: 340px; }
.ftr h5 { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.ftr li a { display: inline-block; padding: 5px 0; color: var(--ink-2); }
.ftr li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; border: 1px solid var(--line); }
.social a:hover { border-color: var(--ink); }
.social .ico { width: 19px; height: 19px; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line-2); }
.pay-row span.pm { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.pay-row .sec { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); margin-inline-end: 8px; font-weight: 500; }
.pay-row .sec .ico { width: 16px; height: 16px; color: var(--green); }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: var(--s5) 80px; color: var(--muted); font-size: 13px; }
@media (min-width: 1024px) { .ftr-bottom { padding-bottom: var(--s5); } }

/* ---------- breadcrumbs / page head ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); padding-block: var(--s4); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs .ico { width: 12px; height: 12px; }
.crumbs span:last-child { color: var(--ink); font-weight: 500; }
.page-title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 8px; }
.page-sub { color: var(--muted); font-size: 15px; }

/* ---------- category page ---------- */
.subtiles { display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: var(--s3); overflow-x: auto; scrollbar-width: none; padding-block: var(--s5) var(--s2); }
.subtiles::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .subtiles { grid-auto-columns: 168px; } }
.subtile { display: block; border-radius: var(--r); background: var(--band); overflow: hidden; border: 2px solid transparent; transition: border-color .15s; }
.subtile img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.subtile span { display: block; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.subtile:hover { border-color: var(--line-2); }
.subtile.on { border-color: var(--ink); background: #fff; }
.toolbar { display: flex; align-items: center; gap: 10px; padding-block: var(--s4); border-bottom: 1px solid var(--line); margin-bottom: var(--s5); position: sticky; top: var(--hdr-h, 118px); background: #fff; z-index: 20; flex-wrap: wrap; }
.toolbar .res { font-size: 14px; color: var(--muted); margin-inline-end: auto; }
.toolbar select { height: 40px; border: 1.5px solid var(--line-2); border-radius: var(--pill); padding-inline: 16px 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; appearance: none; font-weight: 600; font-size: 14px; cursor: pointer; }
[dir="rtl"] .toolbar select { padding-inline: 16px 34px; background-position: left 12px center; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.active-filters:empty { display: none; }
.af { display: inline-flex; align-items: center; gap: 6px; background: var(--band); border-radius: var(--pill); padding: 6px 8px 6px 14px; font-size: 13px; font-weight: 500; }
[dir="rtl"] .af { padding: 6px 14px 6px 8px; }
.af .ico { width: 14px; height: 14px; }
.af:hover { background: var(--band-2); }
.cat-layout { display: grid; gap: var(--s6); }
@media (min-width: 1024px) { .cat-layout { grid-template-columns: 260px minmax(0, 1fr); gap: var(--s7); } .filters-btn { display: none !important; } }
.filters { }
.f-group { border-bottom: 1px solid var(--line); padding-block: var(--s4); }
.f-group h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.f-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14.5px; }
.f-check input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.f-check .n { margin-inline-start: auto; color: var(--muted); font-size: 13px; }
.f-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.f-sw { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 56px; font-size: 11.5px; color: var(--ink-2); text-align: center; line-height: 1.2; }
.f-sw i { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); display: block; transition: box-shadow .15s; }
.f-sw.on i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.f-price { display: flex; gap: 8px; align-items: center; }
.f-price input { width: 100%; height: 42px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding-inline: 10px; font-size: 14px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 600; font-size: 15px; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 13px; background: var(--line-2); position: relative; transition: background .2s; cursor: pointer; flex: none; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked { background: var(--green); }
.switch input:checked::after { inset-inline-start: 21px; }
.sheet-head, .sheet-foot { display: none; }
@media (max-width: 1023px) {
  .filters { position: fixed; inset-inline: 0; bottom: 0; max-height: 86vh; background: #fff; z-index: 100; border-radius: 20px 20px 0 0; transform: translateY(105%); transition: transform .32s var(--ease); display: flex; flex-direction: column; }
  .filters.open { transform: none; }
  .filters .sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 24px; border-bottom: 1px solid var(--line); }
  [dir="rtl"] .filters .sheet-head { padding: 10px 24px 10px 12px; }
  .filters .sheet-head h3 { font-size: 19px; }
  .filters .sheet-body { overflow: auto; padding: 0 24px; flex: 1; }
  .filters .sheet-foot { display: flex; gap: 10px; padding: 14px 24px 20px; border-top: 1px solid var(--line); }
  .filters .sheet-foot .btn { flex: 1; }
  .filters::before { content: ""; width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 8px auto 0; }
}
.no-results { text-align: center; padding: 64px 16px; grid-column: 1 / -1; }
.no-results h3 { font-size: 22px; margin-bottom: 8px; }
.no-results p { color: var(--muted); margin-bottom: 20px; }

/* ---------- product page ---------- */
.pdp { display: grid; gap: var(--s6); padding-bottom: var(--s7); }
@media (min-width: 1024px) { .pdp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s8); align-items: start; } }
.gallery { display: grid; gap: 12px; }
@media (min-width: 1024px) { .gallery { grid-template-columns: 84px 1fr; position: sticky; top: calc(var(--hdr-h, 118px) + 16px); } .thumbs { flex-direction: column; } }
.g-main { position: relative; aspect-ratio: 1; background: var(--band); border-radius: var(--r-lg); overflow: hidden; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.g-nav.prev { inset-inline-start: 12px; }
.g-nav.next { inset-inline-end: 12px; }
.g-count { position: absolute; bottom: 14px; inset-inline-end: 14px; background: rgba(255,255,255,.92); border-radius: var(--pill); padding: 4px 12px; font-size: 13px; font-weight: 600; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; order: 2; }
@media (min-width: 1024px) { .thumbs { order: 0; } }
.thumbs button { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; flex: none; background: var(--band); }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pi-badges { display: flex; gap: 8px; margin-bottom: 10px; }
.pi-badges .badge { position: static; }
.pi-badges .badge:not(.sale):not(.new) { border: 1px solid var(--line-2); }
.pi h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 6px; }
.pi .desc { color: var(--ink-2); margin-bottom: 10px; }
.pi .rating { font-size: 14px; margin-bottom: 18px; }
.pi .rating a { text-decoration: underline; color: var(--ink-2); }
.pi .stars { font-size: 16px; }
.pi .price { font-size: 40px; }
.pi .price-row { margin-bottom: 6px; }
.pi .old { font-size: 17px; }
.pi .monthly { font-size: 14px; margin-bottom: 18px; }
.opt { padding-block: 18px; border-top: 1px solid var(--line); }
.opt h4 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.opt h4 span { color: var(--muted); font-weight: 400; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-height: 48px; padding: 6px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); font-weight: 600; font-size: 14px; text-align: start; display: flex; flex-direction: column; justify-content: center; }
.size small { font-weight: 400; color: var(--muted); font-size: 12px; }
.size:hover { border-color: var(--ink); }
.size.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); transition: box-shadow .15s; }
.swatch.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.lead { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--band); align-items: flex-start; font-size: 14px; }
.lead .ico { width: 24px; height: 24px; margin-top: 1px; }
.lead b { display: block; font-size: 15px; }
.lead.ready { background: var(--green-soft); }
.lead.ready .ico, .lead.ready b { color: var(--green); }
.buy { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--pill); height: 52px; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; border-radius: var(--pill); }
.qty button:hover { background: var(--band); }
.qty .ico { width: 18px; height: 18px; }
.qty input { width: 36px; text-align: center; border: 0; font-weight: 700; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { display: none; }
.qty.sm { height: 40px; }
.qty.sm button { width: 36px; }
.buy .btn { min-height: 52px; flex: 1; font-size: 16px; }
.buy .wish-lg { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; }
.buy .wish-lg.on { color: var(--red); }
.buy .wish-lg.on .ico { fill: var(--red); }
.wa { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; min-height: 48px; border-radius: var(--pill); border: 1.5px solid var(--line-2); font-weight: 600; font-size: 15px; }
.wa:hover { border-color: #1a8f4c; color: #1a8f4c; }
.wa .ico { color: #1a8f4c; }
.panel { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-top: 14px; }
.panel h4 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.panel h4 .ico { width: 22px; height: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { height: 36px; padding: 0 14px; border-radius: var(--pill); border: 1.5px solid var(--line-2); font-size: 13.5px; font-weight: 600; background: #fff; }
.pill:hover { border-color: var(--ink); }
.pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.calc-out { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-2); gap: 10px; flex-wrap: wrap; }
.calc-out .price { font-size: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { height: 48px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding-inline: 14px; font-size: 15px; font-weight: 400; background: #fff; transition: border-color .15s; width: 100%; }
.field textarea { height: auto; min-height: 96px; padding-block: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); }
.field.err input, .field.err select { border-color: var(--red); }
.field .msg { color: var(--red); font-size: 12.5px; font-weight: 500; display: none; }
.field.err .msg { display: block; }
.deliv-out { margin-top: 12px; display: grid; gap: 6px; font-size: 14px; }
.deliv-out div { display: flex; justify-content: space-between; gap: 10px; }
.deliv-out b { font-weight: 700; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; margin-top: 12px; }
.chk input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex: none; }
.pdp-sec { padding-block: var(--s7); border-top: 1px solid var(--line); }
.pdp-sec h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-bottom: var(--s5); }
.specs { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .specs { grid-template-columns: 1.2fr 1fr; gap: var(--s8); } }
.dims-draw { background: var(--band); border-radius: var(--r); padding: var(--s5); }
.dims-draw svg { width: 100%; height: auto; display: block; }
.dims-draw text { font-family: var(--font); font-size: 15px; font-weight: 700; fill: var(--ink); }
.dims-draw .lbl { font-size: 12px; font-weight: 500; fill: var(--muted); }
.spec-list div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 500; }
.rv-wrap { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .rv-wrap { grid-template-columns: 300px 1fr; gap: var(--s7); } }
.rv-sum b { font-size: 56px; font-weight: 800; line-height: 1; display: block; }
.rv-sum .stars { font-size: 20px; margin: 6px 0; }
.bars { margin-top: 16px; display: grid; gap: 6px; font-size: 13px; }
.bars div { display: grid; grid-template-columns: 24px 1fr 32px; gap: 8px; align-items: center; }
.bars i { height: 6px; background: var(--band-2); border-radius: 3px; overflow: hidden; display: block; }
.bars i s { display: block; height: 100%; background: var(--ink); }
.rv-list .review { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 20px; margin-bottom: 20px; }
.sticky-buy { position: fixed; inset-inline: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gut); display: flex; align-items: center; gap: 12px; z-index: 70; transform: translateY(110%); transition: transform .25s var(--ease); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.sticky-buy.show { transform: none; }
.sticky-buy .price { font-size: 22px; }
.sticky-buy .nm { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.sticky-buy .btn { margin-inline-start: auto; }
@media (min-width: 1024px) { .sticky-buy { display: none; } }

/* ---------- cart / checkout ---------- */
.co { display: grid; gap: var(--s6); padding-bottom: var(--s7); }
@media (min-width: 1024px) { .co { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--s7); align-items: start; } }
.co-sec { border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); margin-bottom: var(--s4); }
.co-sec h2 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 12px; margin-bottom: var(--s4); }
.co-sec h2 i { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.cart-line:first-of-type { padding-top: 0; }
.cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 600px) { .cart-line { grid-template-columns: 120px 1fr auto; } }
.cart-line img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--band); }
.cart-line h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.cart-line .meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.cart-line .stock { margin-top: 0; margin-bottom: 10px; }
.cart-line .acts { display: flex; align-items: center; gap: 14px; }
.cart-line .rm { font-size: 13px; color: var(--muted); text-decoration: underline; }
.cart-line .rm:hover { color: var(--red); }
.cart-line .lp { grid-column: 2; text-align: start; }
@media (min-width: 600px) { .cart-line .lp { grid-column: auto; text-align: end; } }
.cart-line .lp .price { font-size: 20px; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 10px 6px; text-align: center; font-size: 13px; line-height: 1.3; background: #fff; }
.slot b { display: block; font-size: 18px; font-weight: 800; }
.slot:hover { border-color: var(--ink); }
.slot.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.opts { display: grid; gap: 10px; }
.opt-card { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 14px 16px; cursor: pointer; transition: border-color .15s; }
.opt-card:hover { border-color: var(--ink-2); }
.opt-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt-card input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex: none; }
.opt-card .t { flex: 1; }
.opt-card .t b { display: block; font-size: 15px; }
.opt-card .t small { color: var(--muted); font-size: 13px; }
.opt-card .ico { width: 26px; height: 26px; color: var(--ink-2); }
.opt-card .tag { font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.opt-sub { padding: 14px 16px 4px 50px; display: none; }
[dir="rtl"] .opt-sub { padding: 14px 50px 4px 16px; }
.opt-sub.show { display: block; }
.summary { border-radius: var(--r); background: var(--band); padding: var(--s5); }
@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--hdr-h, 118px) + 16px); } }
.summary .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
.summary h2 { font-size: 20px; font-weight: 700; margin-bottom: var(--s4); }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 14px; font-weight: 700; align-items: baseline; }
.sum-row.total .price { font-size: 30px; }
.sum-row.now { background: #fff; border-radius: var(--r-sm); padding: 10px 12px; margin-top: 8px; font-weight: 600; }
.sum-items { display: grid; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.sum-items div { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.sum-items img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.secure .ico { width: 16px; height: 16px; color: var(--green); }
.kashier { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }
.success { max-width: 760px; margin: 0 auto; padding-block: var(--s7) var(--s8); text-align: center; }
.success .big-check { width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 20px; }
.success .big-check .ico { width: 44px; height: 44px; stroke-width: 2.4; }
.success h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 10px; }
.success > p { color: var(--ink-2); font-size: 16px; }
.order-no { display: inline-flex; gap: 8px; background: var(--band); border-radius: var(--pill); padding: 8px 18px; margin: 18px 0 32px; font-weight: 600; }
.track { text-align: start; border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); }
.track h3 { font-size: 18px; margin-bottom: 20px; }
.tl li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; position: relative; padding-bottom: 24px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; inset-inline-start: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl li.done::before { background: var(--green); }
.tl i { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; background: #fff; font-style: normal; color: var(--muted); }
.tl i .ico { width: 18px; height: 18px; }
.tl .done i { background: var(--green); border-color: var(--green); color: #fff; }
.tl .cur i { border-color: var(--ink); color: var(--ink); }
.tl b { display: block; font-size: 15.5px; }
.tl span { font-size: 13.5px; color: var(--muted); }

/* ---------- custom page ---------- */
.c-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; min-height: 440px; display: flex; align-items: flex-end; margin-top: var(--s4); }
.c-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.1) 70%); }
[dir="ltr"] .c-hero::after { background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.1) 70%); }
.c-hero > div { position: relative; z-index: 2; padding: var(--s5); max-width: 720px; }
@media (min-width: 900px) { .c-hero { min-height: 560px; } .c-hero > div { padding: var(--s7); } }
.c-hero h1 { font-size: clamp(32px, 5vw, 60px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 12px; }
.c-hero p { font-size: 17px; opacity: .92; margin-bottom: 22px; }
.c-hero .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.how { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s4); counter-reset: s; }
@media (min-width: 900px) { .how { grid-template-columns: repeat(5, 1fr); } }
.how li { counter-increment: s; }
.how li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.how b { display: block; font-size: 16px; margin-bottom: 4px; }
.how span { font-size: 14px; color: var(--muted); }
.port { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (min-width: 900px) { .port { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: var(--s4); } .port figure { aspect-ratio: auto; } }
.port figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--band); }
.port figure:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .port figure:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; } }
.port img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.port figure:hover img { transform: scale(1.04); }
.port figcaption { position: absolute; inset-inline: 10px; bottom: 10px; background: #fff; border-radius: var(--r-sm); padding: 8px 12px; font-size: 13px; }
.port figcaption b { display: block; font-size: 14px; }
.wiz { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; scroll-margin-top: calc(var(--hdr-h, 118px) + 40px); }
.wiz-top { background: var(--band); padding: var(--s4) var(--s5); }
.wiz-top .lbl { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.wiz-bar { height: 6px; background: var(--band-2); border-radius: 3px; overflow: hidden; }
.wiz-bar i { display: block; height: 100%; background: var(--red); transition: width .35s var(--ease); }
.wiz-body { padding: var(--s5); min-height: 340px; }
@media (min-width: 900px) { .wiz-body { padding: var(--s7); } }
.wiz-body h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-bottom: 6px; }
.wiz-body > p { color: var(--muted); margin-bottom: var(--s5); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.choice { border: 2px solid var(--line); border-radius: var(--r); padding: 12px; text-align: center; background: #fff; transition: border-color .15s, transform .15s; display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 700; }
.choice:hover { border-color: var(--line-2); }
.choice.on { border-color: var(--ink); }
.choice img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.choice svg.lay { width: 100%; max-width: 140px; height: 100px; }
.choice small { font-weight: 400; color: var(--muted); font-size: 13px; }
.lay .wall { fill: var(--band-2); stroke: var(--ink); stroke-width: 2; }
.lay .cab { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.choice.on .lay .cab { fill: var(--red-soft); stroke: var(--red); }
.meas { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; max-width: 640px; }
.meas .field input { padding-inline-end: 44px; }
.unit { position: relative; }
.unit::after { content: attr(data-u); position: absolute; inset-inline-end: 14px; bottom: 13px; color: var(--muted); font-size: 14px; }
.drop { border: 2px dashed var(--line-2); border-radius: var(--r); padding: var(--s6); text-align: center; cursor: pointer; display: block; transition: border-color .15s, background .15s; }
.drop:hover { border-color: var(--ink); background: var(--band); }
.drop .ico { width: 36px; height: 36px; margin: 0 auto 10px; }
.drop b { display: block; font-size: 16px; }
.drop span { color: var(--muted); font-size: 13px; }
.previews { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.previews img { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; }
.wiz-foot { display: flex; justify-content: space-between; gap: 10px; padding: var(--s4) var(--s5); border-top: 1px solid var(--line); }
.wiz-done { text-align: center; padding-block: var(--s5); }
.wiz-done .big-check { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.wiz-done .big-check .ico { width: 36px; height: 36px; stroke-width: 2.4; }
.recap { max-width: 520px; margin: 20px auto 0; text-align: start; background: var(--band); border-radius: var(--r); padding: 16px 20px; font-size: 14px; }
.recap div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; font-weight: 600; text-align: end; }

/* 404 */
.nf { text-align: center; padding-block: var(--s8); max-width: 640px; margin: 0 auto; }
.nf .big { font-size: clamp(96px, 18vw, 180px); font-weight: 900; color: var(--red); line-height: 1; letter-spacing: -.04em; }
.nf h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 10px 0; }
.nf p { color: var(--ink-2); margin-bottom: 24px; }
.nf .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.nf .search { max-width: 520px; margin: 0 auto 24px; }

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

/* overflow guards */
.news, .co, .promise, .story, .pdp, .cat-layout, .inst-strip, .custom-block { grid-template-columns: minmax(0, 1fr); }
.news > *, .co > *, .promise > *, .story > *, .pdp > *, .cat-layout > *, .inst-strip > * { min-width: 0; }
.cart-line .acts { flex-wrap: wrap; row-gap: 8px; }
@media (min-width: 900px) {
  .news { grid-template-columns: 1fr 1fr; } .story { grid-template-columns: 1.1fr 1fr; } .promise { grid-template-columns: 1fr 1.3fr; }
  .inst-strip { grid-template-columns: 1.2fr 1fr; } .custom-block { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) { .co { grid-template-columns: minmax(0, 1fr) 400px; } .pdp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .cat-layout { grid-template-columns: 260px minmax(0, 1fr); } }
@media (min-width: 900px) { .port figure, .port figure:nth-child(1) { aspect-ratio: auto; } }
