/* Salford Libya — Crystal Blush. Phone first; iPad from 640px; computer from 1024px. */
:root {
  --bg: #FDF6F7; --surface: #FFFFFF; --soft: #FBEAEE; --line: #F1D3DA; --ink: #33292C; --muted: #7E6A71;
  --rose: #C27886; --mauve: #8B4A53; --ok: #2F6B4A;
  --t-swa: linear-gradient(160deg, #F7F4FE 0%, #E6DFF8 100%);
  --t-tif: linear-gradient(160deg, #F3FAF9 0%, #DAEEEA 100%);
  --t-apm: linear-gradient(160deg, #FDF7F0 0%, #F1E0CD 100%);
  --t-pan: linear-gradient(160deg, #FFF4F7 0%, #F6D7DF 100%);
  --f-head: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --f-brand: 'Cormorant Garamond', Georgia, serif;
  --r: 16px; --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--f-body); padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
/* iPad/iPhone Safari draws search boxes its own way (different inner padding); use ours everywhere */
input[type="search"] { -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.vh, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
.muted { color: var(--muted); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 640px; }
.sec { margin-top: 28px; }
.center { text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; }
.h, .h1 { font-family: var(--f-head); font-weight: 600; margin: 0 0 12px; line-height: 1.3; text-wrap: balance; }
.h { font-size: 1.15rem; }
.h1 { font-size: 1.5rem; margin-top: 18px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-h a { font-size: .9rem; color: var(--muted); padding: 10px 2px; margin-block: -10px; }
.bd { font-family: var(--f-brand); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; font-size: .78rem; color: var(--muted); text-decoration: none; unicode-bidi: plaintext; }
[dir="rtl"] .bd { text-align: right; }
bdi { unicode-bidi: isolate; }

/* buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 99px;
  background: linear-gradient(135deg, var(--rose), var(--mauve)); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.sm { min-height: 36px; padding: 0 16px; font-size: .9rem; }
.btn.wide { width: 100%; }
.btn.ghost { background: #fff; color: var(--mauve); border: 1px solid var(--line); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line);
  font-size: .88rem; text-decoration: none; white-space: nowrap; unicode-bidi: plaintext; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 6px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.bdchip { font-family: var(--f-brand); letter-spacing: .12em; font-weight: 600; font-size: .78rem; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(253, 246, 247, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top-in { max-width: 1240px; margin-inline: auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 14px; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 34px; width: auto; }
.brandnav { display: none; align-items: center; gap: 22px; margin-inline: auto; white-space: nowrap; }
.brandnav a { font-size: .8rem; color: var(--ink); unicode-bidi: plaintext; padding-block: 10px; }
.brandnav .navshop { font-family: var(--f-head); font-weight: 600; font-size: .9rem; text-decoration: none; padding-inline-end: 22px; border-inline-end: 1px solid var(--line); line-height: 1.2; padding-block: 4px; }
.brandnav .navshop.on, .brandnav a:hover { color: var(--mauve); }
.top-actions { display: flex; gap: 8px; align-items: center; margin-inline-start: auto; }
/* margin 0: a form gets a bottom margin from the browser, which pushed the box above the cart and language buttons */
.top-search { display: none; align-items: center; height: 42px; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding-inline-start: 14px; }
.top-search:focus-within { border-color: var(--rose); }
.top-search input { -webkit-appearance: none; appearance: none; border: 0; background: none; width: 200px; height: 40px; padding: 0; outline: none; text-overflow: ellipsis; }
.top-search button { display: grid; place-items: center; border: 0; background: none; padding: 0 12px; height: 40px; cursor: pointer; color: var(--muted); }
.iconbtn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.only-wide { display: none; }
.badge { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--mauve); color: #fff; font: 600 11px/18px system-ui; text-align: center; }

/* bottom tab bar (phones) */
.tabs { position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line); padding: 6px max(6px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)); backdrop-filter: blur(10px); }
.tabs a { position: relative; display: grid; justify-items: center; gap: 2px; min-height: 48px; padding-top: 4px; font-size: .72rem; color: var(--muted); text-decoration: none; }
.tabs a.on { color: var(--mauve); font-weight: 600; }
.tabs .badge { top: 0; inset-inline-end: calc(50% - 22px); }

/* banner */
.banner { position: relative; display: grid; grid-template-columns: 1fr 42%; align-items: center; gap: 10px; margin-top: 14px; min-height: 200px; padding: 18px;
  border-radius: 22px; overflow: hidden; text-decoration: none; background: linear-gradient(140deg, #F6F1FD 0%, #E8DEF8 55%, #F6D6DD 100%); }
.banner-txt { display: grid; gap: 8px; justify-items: start; position: relative; z-index: 1; }
.banner-h { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; line-height: 1.35; text-wrap: balance; }
.banner-pic img { width: 100%; height: 100%; max-height: 220px; object-fit: contain; border-radius: 14px; }
.banners { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banners::-webkit-scrollbar { display: none; }
.banners .banner { flex: 0 0 100%; scroll-snap-align: center; }
.banner.has-img { grid-template-columns: 1fr; padding: 0; min-height: 0; aspect-ratio: 4 / 5; }
.banner.has-img picture, .banner.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner.has-img .banner-txt { align-self: end; padding: 22px; background: linear-gradient(to top, rgba(253, 246, 247, .95), rgba(253, 246, 247, 0)); }

/* hero: the Salford night shot framed in blush */
.hero { --night: #07060B; position: relative; display: grid; margin-top: 14px; border-radius: 24px; overflow: hidden; background: var(--night);
  isolation: isolate; box-shadow: 0 0 0 1px rgba(194, 120, 134, .35), 0 24px 50px -28px rgba(139, 74, 83, .55); direction: ltr; }
.hero-pic { position: relative; z-index: -1; aspect-ratio: 864 / 760; overflow: hidden; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--night) 2%, rgba(7, 6, 11, 0) 22%); }
.hero-txt { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 0 20px 20px; margin-top: -48px; }
.hero-glow { position: absolute; z-index: -1; width: 320px; height: 220px; inset-inline-start: 50%; top: 10px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(194, 120, 134, .45), rgba(139, 74, 83, .15) 60%, transparent); filter: blur(10px); }
[dir="rtl"] .hero-glow { transform: translateX(50%); }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { width: min(150px, 40vw); height: auto; filter: drop-shadow(0 0 18px rgba(246, 214, 221, .25)); }
.hero-line { margin: 4px 0 0; color: #F6D6DD; font-family: var(--f-head); font-weight: 500; font-size: 1.02rem; line-height: 1.5; text-wrap: balance; max-width: 30ch; }
.hero .hero-brands { text-align: center; margin: 0; color: #C9A3AC; font-size: .68rem; letter-spacing: .16em; unicode-bidi: plaintext; text-wrap: balance; }
.hero-brands span { white-space: nowrap; }
.hero-brands .sep { font-style: normal; }
.hero-brands .sep.end { visibility: hidden; }
@media (max-width: 639px) and (max-height: 620px) {
  .hero-pic { aspect-ratio: 864 / 660; }
  .hero-pic img { object-position: 50% 34%; }
  .hero-txt { margin-top: -56px; }
}
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.btn.blush { background: linear-gradient(135deg, #FFF4F6, #F6D6DD); color: var(--mauve); box-shadow: 0 8px 24px -10px rgba(246, 214, 221, .6); }
.btn.halo { background: rgba(255, 255, 255, .04); color: #F6D6DD; border: 1px solid rgba(246, 214, 221, .45); }
.tw { position: absolute; width: 10px; height: 10px; background: #fff; pointer-events: none; opacity: 0;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.tw1 { top: 18%; inset-inline-start: 18%; } .tw2 { top: 8%; inset-inline-end: 22%; width: 7px; height: 7px; } .tw3 { top: 44%; inset-inline-end: 12%; width: 8px; height: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-pic img { animation: heroIn 1.4s ease-out both; }
  .hero-txt > :not(.tw):not(.hero-glow) { animation: rise .9s ease-out both; }
  .hero-txt > :nth-child(3) { animation-delay: .15s; } .hero-txt > :nth-child(4) { animation-delay: .25s; } .hero-txt > :nth-child(5) { animation-delay: .35s; }
  .tw { animation: twinkle 3.6s ease-in-out infinite; } .tw2 { animation-delay: 1.2s; } .tw3 { animation-delay: 2.3s; }
  @keyframes heroIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: .9; transform: scale(1) rotate(45deg); } }
}
.hero + .banners { margin-top: 12px; }

/* brands */
.brands4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 76px; padding: 0 12px; border-radius: 16px; text-decoration: none; overflow: hidden; }
.bt .bd { color: #3B3034; font-size: .8rem; line-height: 1.3; }
.bt-pic { width: 56px; height: 64px; flex: none; }
.bt-pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.t-swa { background: var(--t-swa); } .t-tif { background: var(--t-tif); } .t-apm { background: var(--t-apm); } .t-pan { background: var(--t-pan); }
.brands-big { display: grid; gap: 12px; }
.bbig { position: relative; display: grid; gap: 6px; padding: 20px; padding-inline-end: 110px; min-height: 130px; border-radius: 20px; text-decoration: none; }
.bbig .bd { font-size: 1.05rem; color: #3B3034; }
.bbig .bt-pic { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); width: 84px; height: 100px; }
.brand-head { padding-block: 18px; }
.brand-head .big { font-size: 1.3rem; margin: 0 0 6px; color: #3E3550; letter-spacing: .24em; }
.brand-head p { margin: 0; color: #5F566C; max-width: 60ch; }

/* categories */
.cats { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; display: grid; justify-items: center; gap: 6px; font-size: .85rem; text-decoration: none; }
.cat-pic { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #fff 0%, #FBE9EC 60%, #F6D6DD 100%); border: 1px solid var(--line); }
.cat-pic img { width: 100%; height: 100%; object-fit: cover; }

/* product grid & cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.card { display: grid; gap: 4px; align-content: start; text-decoration: none; min-width: 0; }
.ph { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; }
.ph img, .pic-empty { width: 100%; height: 100%; object-fit: cover; }
.card .bd { margin-top: 6px; font-size: .7rem; }
.card .nm { font-size: .92rem; line-height: 1.4; overflow-wrap: anywhere; }
.price { font-weight: 600; color: var(--mauve); }
.price s { color: var(--muted); font-weight: 400; margin-inline-start: 6px; }
.card.out .ph img, .card.out .ph .pic-empty { opacity: .55; filter: grayscale(.4); }
/* stock badge: frosted pill on the photo corner */
.stk { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px 3px 7px; border-radius: 999px; font-size: .68rem; font-weight: 600; line-height: 1.5; letter-spacing: .01em;
  color: var(--muted); background: rgba(255, 255, 255, .82); border: 1px solid rgba(241, 211, 218, .9);
  -webkit-backdrop-filter: blur(6px) saturate(1.3); backdrop-filter: blur(6px) saturate(1.3);
  box-shadow: 0 2px 8px -4px rgba(51, 41, 44, .25); pointer-events: none; }
.stk i { position: relative; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; flex: none; }
.stk.on { color: var(--ok); }
.stk.on i { background: #2F9D61; border-color: #2F9D61; }
.stk.on i::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; background: #2F9D61; opacity: 0; }
@media (min-width: 720px) { .stk { top: 10px; inset-inline-start: 10px; font-size: .74rem; padding: 4px 10px 4px 9px; } .stk i { width: 7px; height: 7px; } }
@media (prefers-reduced-motion: no-preference) {
  .stk.on i::after { animation: live 2.8s ease-out infinite; }
  .card:nth-child(3n+2) .stk.on i::after { animation-delay: .9s; }
  .card:nth-child(3n) .stk.on i::after { animation-delay: 1.8s; }
  @keyframes live { 0% { opacity: .55; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3.2); } }
}
.soldout { font-size: .85rem; color: var(--muted); }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }
img.pimg.broken { opacity: 0; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 14px 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: center; font-size: .8rem; color: var(--muted); }
.trust div { display: grid; justify-items: center; gap: 6px; }
.trust .ico { color: var(--mauve); }

/* shop */
.shop-search { display: flex; gap: 8px; margin-block: 10px; }
.center .shop-search { width: 100%; max-width: 420px; }
.shop-search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; }
.fbar { display: flex; justify-content: space-between; align-items: center; margin-block: 10px 14px; }
.sortsel select { min-height: 38px; border-radius: 99px; border: 1px solid var(--line); background: #fff; padding: 0 12px; }

/* product page */
.product { display: grid; gap: 18px; margin-top: 8px; }
.gallery { min-width: 0; margin-inline: calc(-1 * var(--gutter)); }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--t-swa); }
.g-track::-webkit-scrollbar { display: none; }
.g-item { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; display: grid; place-items: center; background: #fff; }
.g-item img, .g-item video { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.g-item img { cursor: zoom-in; }
.yt { position: relative; width: 100%; height: 100%; border: 0; padding: 0; background: #000; cursor: pointer; }
.yt img { opacity: .85; }
.yt .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 3rem; }
.yt-frame { width: 100%; height: 100%; border: 0; }
.g-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px var(--gutter) 0; }
.g-thumb { flex: none; width: 56px; height: 70px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--mauve); }
.g-thumb.on { border-color: var(--mauve); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pinfo { display: grid; gap: 12px; align-content: start; min-width: 0; }
.pinfo > a.bd { justify-self: start; padding-block: 8px; margin-block: -8px; }
.pname { font-family: var(--f-head); font-weight: 600; font-size: 1.35rem; line-height: 1.4; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
.prow { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 1.25rem; }
.instock, .nostock { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ok); }
.instock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2F9D61; }
.nostock { color: var(--muted); }
.code { margin: 0; font-size: .85rem; color: var(--muted); }
.info-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.info-row b { display: block; color: var(--ink); font-weight: 600; }
.info-row .ico { color: var(--mauve); margin-top: 2px; }
.setbox { padding: 12px 14px; border-radius: 14px; background: var(--soft); }
.setbox ul { margin: 6px 0 0; padding-inline-start: 18px; }
.short { margin: 0; color: var(--muted); }
.desc { font-size: .92rem; color: #5A4A50; }
.desc p { margin: 0 0 6px; }
.askwa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 2px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: #1F7A4D; font-weight: 600; font-size: .92rem; text-decoration: none; }
.buybar { margin-block: 2px; }
.fbuy { position: fixed; z-index: 25; inset-inline: 10px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; max-width: 560px; margin-inline: auto;
  padding: 8px; padding-inline-start: 14px; border-radius: 18px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); box-shadow: 0 14px 34px -14px rgba(80, 40, 50, .45);
  transform: translateY(calc(100% + 90px)); opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .3s ease; }
.fbuy.show { transform: none; opacity: 1; pointer-events: auto; }
.fbuy-txt { display: grid; min-width: 0; flex: 1; line-height: 1.35; }
.fbuy-nm { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbuy .btn { flex: none; min-height: 42px; padding: 0 16px; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .fbuy { transition: none; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(30, 22, 25, .94); display: grid; place-items: center; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.lightbox img { max-width: 100vw; max-height: 100vh; object-fit: contain; touch-action: pinch-zoom; }
.lightbox button { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); inset-inline-end: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.4rem; cursor: pointer; }

/* cart & checkout */
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--soft); }
.line .nm { font-size: .92rem; line-height: 1.4; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; border: 1px solid var(--line); border-radius: 99px; background: #fff; }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty span { min-width: 20px; text-align: center; }
.linkbtn { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 6px 0; font-size: .85rem; }
.sum { display: grid; gap: 6px; margin-block: 14px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum div > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.sum div > span:last-child { flex: none; white-space: nowrap; }
.sum .tot { font-weight: 600; color: var(--mauve); border-top: 1px solid var(--line); padding-top: 8px; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; font-size: .9rem; }
.field span { color: var(--muted); }
.field input { min-width: 0; width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.pay { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.pay legend { font-family: var(--f-head); font-weight: 600; margin-bottom: 8px; }
.payopt { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; min-height: 48px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.payopt input { width: 18px; height: 18px; accent-color: var(--mauve); }
.payopt small { grid-column: 2; color: var(--muted); }
.payopt span, .payopt small { min-width: 0; overflow-wrap: anywhere; }
.payopt:has(input:checked) { border-color: var(--mauve); }
.form-err { color: #B3261E; margin: 0; }
.sends { display: grid; gap: 10px; }
.send { display: grid; gap: 2px; justify-items: start; align-content: center; min-height: 54px; padding: 10px 16px; border: 0; border-radius: 14px; color: #fff; font-weight: 600; text-align: start; text-decoration: none; cursor: pointer; }
.send small { font-weight: 400; opacity: .92; font-size: .8rem; }
.send.whatsapp { background: #1F8F52; }
.send.messenger { background: linear-gradient(120deg, #0A6CF0, #7A3BF2); }
.send.instagram { background: linear-gradient(120deg, #E8782A, #D62E73 55%, #7E3AB0); }
.send.facebook { background: #1877F2; }
.send > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.send:disabled { opacity: .6; }

/* order done */
.done { display: grid; gap: 12px; justify-items: center; text-align: center; padding-block: 24px; }
.ok-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #E3F3E9; color: var(--ok); font-size: 2rem; }
.onum bdi { font-family: system-ui; font-weight: 600; letter-spacing: .06em; color: var(--mauve); background: #fff; border: 1px solid var(--line); padding: 4px 14px; border-radius: 99px; }
.done .sends { width: 100%; }
.steps { text-align: start; width: 100%; margin: 0; padding: 14px 14px 14px 34px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; gap: 8px; }
[dir="rtl"] .steps { padding: 14px 34px 14px 14px; }
.para { max-width: 65ch; }

/* footer: a night card (like the hero) floating over the top edge, then links, payment and delivery */
.foot { margin-top: 96px; background: #fff; border-top: 1px solid var(--line); }
.foot-in { max-width: 1240px; margin-inline: auto; padding: 0 var(--gutter) 8px; display: grid; gap: 28px; }
.fask { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 18px; margin-top: -56px; padding: 22px 16px 16px; border-radius: 24px; color: #fff;
  background: radial-gradient(90% 70% at 100% 0%, rgba(194, 120, 134, .42), transparent 62%), radial-gradient(70% 60% at 0% 100%, rgba(139, 74, 83, .34), transparent 60%), #0B090F;
  box-shadow: 0 24px 48px -28px rgba(60, 25, 35, .55); }
.fask-glow { position: absolute; z-index: -1; inset-inline-end: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 214, 221, .22), transparent); }
.fask-txt { display: grid; justify-items: start; }
.fask-logo { width: 104px; height: auto; margin-bottom: 12px; filter: drop-shadow(0 0 14px rgba(246, 214, 221, .2)); }
.fask-h { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; line-height: 1.4; color: #fff; }
.fask-sub { margin: 2px 0 0; color: #C9A3AC; font-size: .9rem; }
.socials { display: grid; gap: 10px; }
.soc { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 9px; padding-inline-end: 14px; border-radius: 16px; color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s ease, transform .2s ease; }
.soc:hover { background: rgba(255, 255, 255, .13); transform: translateY(-1px); }
.soc-i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; color: #fff; }
.soc-i .ico { width: 24px; height: 24px; }
.soc.wa .soc-i { background: #25D366; }
.soc.ig .soc-i { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 62%, #285AEB 95%); }
.soc.fb .soc-i { background: #1877F2; }
.soc-t { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.soc-t b { font-weight: 600; }
.soc-t small { justify-self: start; color: #C9A3AC; font-size: .78rem; unicode-bidi: isolate; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.soc .arr { width: 18px; height: 18px; opacity: .55; }
[dir="rtl"] .arr { transform: scaleX(-1); }
.bi .bi-o { fill: none; stroke: currentColor; stroke-width: 1.8; }
.bi .bi-f { fill: currentColor; stroke: none; }
.fcols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-inline: 4px; }
.fcol { display: grid; align-content: start; }
.fcol h2 { margin: 0 0 4px; font-family: var(--f-head); font-weight: 600; font-size: .85rem; color: var(--ink); }
.fcol a { justify-self: start; padding-block: 8px; color: var(--muted); font-size: .92rem; text-decoration: none; }
.fcol a:hover { color: var(--mauve); }
.fpay { grid-column: 1 / -1; }
.paylist { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.paylist li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 99px; background: var(--soft); color: #5A4A50; font-size: .85rem; }
.paylist .ico, .fdel .ico { width: 18px; height: 18px; color: var(--mauve); }
.fdel { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: .88rem; }
.foot-bot { max-width: 1240px; margin: 18px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter) 18px; border-top: 1px solid var(--line); }
.copy { margin: 0; color: var(--muted); font-size: .8rem; }

/* brand with no pieces yet */
.soon { display: grid; justify-items: center; gap: 10px; text-align: center; padding-block: 24px 8px; }
.soon .h { margin: 0; }
.soon p { margin: 0 0 6px; max-width: 42ch; }
.soon-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--soft); color: var(--mauve); }
.soon-ico .ico { width: 28px; height: 28px; }
.soon-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* home grids: show 8 of 10 on phones (2 a row) */
.grid.fit > :nth-child(n+9) { display: none; }
.toast { position: fixed; z-index: 70; inset-inline: 16px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); margin-inline: auto; max-width: 380px; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; text-align: center; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .4); }

/* prism: one soft light sweep when something is added */
@media (prefers-reduced-motion: no-preference) {
  .prism { position: relative; overflow: hidden; }
  .prism::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 45%, rgba(232, 214, 255, .55) 50%, rgba(255, 255, 255, .6) 55%, transparent 70%); transform: translateX(120%); pointer-events: none; animation: sweep .9s ease-out 1 both; }
  @keyframes sweep { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
}

/* iPad upright */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
  .brands4 { grid-template-columns: repeat(4, 1fr); }
  .banner { min-height: 260px; padding: 28px; }
  .banner-h { font-size: 1.6rem; }
  .banner.has-img { aspect-ratio: 12 / 5; }
  .hero { grid-template-columns: 58% 42%; height: clamp(420px, 56vw, 620px); }
  .hero-pic { position: absolute; aspect-ratio: auto; inset: 0 auto 0 0; width: 64%; }
  .hero-pic::after { content: none; }
  .hero-pic img { object-position: 30% 30%; -webkit-mask-image: linear-gradient(to right, #000 70%, transparent); mask-image: linear-gradient(to right, #000 70%, transparent); }
  .hero-txt { grid-column: 2; align-self: center; margin-top: 0; padding: 28px 28px 28px 8px; gap: 10px; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 70% at 82% 45%, rgba(139, 74, 83, .38), transparent 70%); }
  .hero-logo img { width: min(300px, 30vw); }
  .hero-line { font-size: 1.15rem; }
  .hero-glow { top: -10px; width: 360px; height: 260px; }
  .brands-big { grid-template-columns: 1fr 1fr; }
  .gallery { margin-inline: 0; }
  .g-track { border-radius: 18px; }
  .g-thumbs { padding-inline: 0; }
  .fask { padding: 26px; gap: 22px; }
  .socials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fcols { grid-template-columns: 1fr 1fr 1.5fr; }
  .fpay { grid-column: auto; }
  .grid.fit > :nth-child(9) { display: grid; }
  .grid.fit > :nth-child(n+10) { display: none; }
  .trust { font-size: .9rem; }
}

/* iPad sideways and computers */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .tabs { display: none; }
  .only-wide, .top-search { display: flex; }
  .iconbtn.only-wide { display: grid; }
  .top .lang-switch { min-height: 42px; }
  .brandnav { display: flex; }
  .logo img { height: 40px; }
  .hero-txt { padding-inline-end: 48px; gap: 12px; }
  .hero-line { font-size: 1.3rem; }
  .hero-brands { font-size: .74rem; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .gallery { position: sticky; top: 84px; }
  .fbuy { display: none; }
  .toast { bottom: 24px; }
  .fask { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); align-items: center; padding: 30px 32px; }
  .fask-logo { width: 120px; }
  .fcols { grid-template-columns: 1fr 1fr 1.3fr; gap: 40px; }
  .grid.fit > :nth-child(n+9) { display: none; }
}
/* iPad sideways / small laptops: a tighter header so the links stay on one line */
@media (min-width: 1024px) and (max-width: 1279px) {
  .brandnav { gap: 16px; }
  .brandnav .navshop { padding-inline-end: 16px; }
  .top-search input { width: 150px; }
}
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid.fit > :nth-child(n+9) { display: grid; }
}
