/* =========================================================
   The Paint World — storefront styles
   Design system: 8px grid · 12px radius cards · soft shadows · 1200px container
   Colours come from config/site.json and are written into :root by app.js
   ========================================================= */
:root {
  --red: #D92030; --red-600: #B81A28; --red-50: #FDECEE;
  --blue: #1B62AB; --blue-700: #154E89; --blue-50: #EAF1FA;
  --teal: #0580B5; --teal-50: #E6F3F9;
  --text: #1F2937; --muted: #6B7280; --line: #E5E7EB; --bg: #FFFFFF; --soft: #F8FAFC; --empty: #F3F4F6;
  --footer: #0F172A; --green: #15803D; --green-50: #ECFDF3; --amber: #B45309; --amber-50: #FFF7E6;
  --wa: #0E7A40; --teal-text: #046F9C;
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-pill: 999px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 4px 16px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .14);
  --ease: cubic-bezier(.2, .7, .2, 1); --t: 200ms;
  --font: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-ur: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; padding-bottom: env(safe-area-inset-bottom); }
html[lang="ur"] body { font-family: var(--font-ur), var(--font); line-height: 2; }
html[lang="ur"] .price, html[lang="ur"] .sku, html[lang="ur"] input { font-family: var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 var(--s2); color: #0F2E52; font-weight: 700; }
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 var(--s2); }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--s2); }
.ico { width: 20px; height: 20px; flex: none; }
.ico--wa { width: 22px; height: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--blue); color: #fff; padding: 8px 16px; border-radius: var(--r-sm); z-index: 999; }
.skip-link:focus { top: 8px; color: #fff; }
:focus-visible { outline: 3px solid rgba(27, 98, 171, .45); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.section { padding-block: var(--s6); }
.section--soft { background: var(--soft); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); }
.section__head h2 { margin: 0; }
.section__head p { margin: 4px 0 0; color: var(--muted); }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }
.grid { display: grid; gap: var(--s2); }
.grid--5 { grid-template-columns: repeat(2, 1fr); }
.grid--products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .grid--5 { grid-template-columns: repeat(3, 1fr); } .grid--products { grid-template-columns: repeat(3, 1fr); gap: var(--s2); } }
@media (min-width: 1024px) { .grid--5 { grid-template-columns: repeat(5, 1fr); } .grid--products { grid-template-columns: repeat(4, 1fr); } .grid--products.grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-sm); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; transition: background var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease), color var(--t); white-space: nowrap; text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 4px 12px rgba(217, 32, 48, .25); }
.btn--primary:hover { background: var(--red-600); color: #fff; }
.btn--secondary { background: var(--blue); color: #fff; }
.btn--secondary:hover { background: var(--blue-700); color: #fff; }
.btn--outline { background: #fff; border-color: var(--line); color: var(--text); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #0B6534; color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); padding: 0 12px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 0; background: transparent; position: relative; color: var(--text); transition: background var(--t); }
.icon-btn:hover { background: var(--soft); color: var(--blue); }
.badge-count { position: absolute; top: 2px; inset-inline-end: 0; 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; }
.badge-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--blue); color: #fff; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 36px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.topbar .ico { width: 16px; height: 16px; }
.topbar__links { display: flex; gap: var(--s2); align-items: center; }
.topbar__notice { display: flex; align-items: center; gap: 6px; opacity: .95; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lang-btn { background: rgba(255, 255, 255, .15); border: 0; color: #fff; border-radius: var(--r-pill); padding: 2px 12px; font-size: 13px; }
@media (max-width: 767px) { .topbar__notice { display: none; } .topbar .container { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow var(--t); }
.header.scrolled { box-shadow: var(--shadow); }
.header__row { display: flex; align-items: center; gap: var(--s3); min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.logo img { width: 52px; height: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text b { font-size: 19px; color: var(--red); letter-spacing: -.2px; }
.logo__text small { font-size: 11px; color: var(--muted); }
@media (max-width: 1023px) { .logo__text small { display: none; } }
@media (max-width: 420px) { .logo__text b { font-size: 16px; } .logo img { width: 42px; } }
.header__actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.header__menu-btn { display: none; }
@media (max-width: 1023px) { .header__menu-btn { display: inline-grid; } .header__actions .hide-m { display: none; } .header__row { gap: var(--s1); min-height: 64px; } }

/* search */
.search { position: relative; flex: 1; max-width: 640px; }
.search__box { display: flex; align-items: center; background: var(--soft); border: 1.5px solid var(--line); border-radius: var(--r); transition: border-color var(--t), box-shadow var(--t), background var(--t); }
.search__box:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(27, 98, 171, .12); }
.search__box input { flex: 1; border: 0; background: transparent; height: 48px; padding: 0 16px; outline: none; min-width: 0; }
.search__box button { border: 0; background: var(--red); color: #fff; height: 40px; width: 44px; margin: 4px; border-radius: var(--r-sm); display: grid; place-items: center; }
.search__panel { position: absolute; top: calc(100% + 8px); inset-inline: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); max-height: 70vh; overflow: auto; z-index: 80; display: none; }
.search__panel.open { display: block; animation: fadeIn .15s var(--ease); }
.ac-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--text); border-bottom: 1px solid var(--line); }
.ac-item:last-child { border-bottom: 0; }
.ac-item[aria-selected="true"], .ac-item:hover { background: var(--blue-50); color: var(--text); }
.ac-item .thumb { width: 48px; height: 48px; border-radius: var(--r-sm); flex: none; }
.ac-item__name { display: block; font-weight: 500; font-size: 14px; line-height: 1.3; }
.ac-item__cat { display: block; font-size: 12px; color: var(--muted); }
.ac-item .price { margin-inline-start: auto; font-size: 14px; white-space: nowrap; }
.ac-head { padding: 8px 14px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); background: var(--soft); }
.ac-all { display: block; padding: 12px 14px; font-weight: 600; text-align: center; }
mark { background: #FFF3B0; color: inherit; border-radius: 2px; }
@media (max-width: 767px) { .header .search { display: none; } .header.search-open .search { display: block; position: absolute; inset-inline: 8px; top: 8px; max-width: none; z-index: 90; } }

/* ---------- Mega menu ---------- */
.mega { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 55; }
.mega__bar { display: flex; align-items: stretch; gap: 0; }
.mega__item { position: static; }
.mega__top { display: flex; align-items: center; gap: 6px; padding: 0 18px; height: 52px; font-weight: 600; color: var(--text); border: 0; background: none; border-bottom: 3px solid transparent; transition: color var(--t), border-color var(--t); }
.mega__top .ico { width: 16px; height: 16px; transition: transform var(--t); }
.mega__item:hover .mega__top, .mega__item.open .mega__top, .mega__top:focus-visible { color: var(--red); border-bottom-color: var(--red); }
.mega__item:hover .mega__top .ico, .mega__item.open .mega__top .ico { transform: rotate(180deg); }
.mega__extra { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.mega__extra a { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; height: 52px; font-weight: 500; color: var(--teal-text); }
.mega__extra .ico { width: 18px; height: 18px; }
.mega__panel { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--t), transform var(--t), visibility var(--t); }
.mega__item:hover .mega__panel, .mega__item.open .mega__panel, .mega__item:focus-within .mega__panel { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1fr 260px; gap: var(--s4); padding-block: var(--s4); }
.mega__cols { columns: 4 200px; column-gap: var(--s4); }
.mega__group { break-inside: avoid; margin-bottom: var(--s3); }
.mega__group > a { display: flex; justify-content: space-between; font-weight: 600; color: #0F2E52; margin-bottom: 6px; }
.mega__group > a span { color: var(--muted); font-weight: 400; font-size: 13px; }
.mega__group ul { list-style: none; margin: 0; padding: 0; }
.mega__group li a { display: block; padding: 3px 0; color: var(--muted); font-size: 14px; }
.mega__group li a:hover { color: var(--red); }
.mega__feature { border-radius: var(--r); padding: var(--s3); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; position: relative; overflow: hidden; }
.mega__feature h4 { color: #fff; margin: 0 0 6px; font-size: 20px; }
.mega__feature p { font-size: 14px; opacity: .92; margin-bottom: 12px; }
.mega__brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); grid-column: 1 / -1; }
.mega__brands a { padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 13px; font-weight: 600; color: var(--text); }
.mega__brands a:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 1023px) { .mega { display: none; } }

/* ---------- Thumbs / empty image boxes ---------- */
.thumb { position: relative; background: var(--empty); overflow: hidden; display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumb__brand { position: absolute; inset: 0; display: grid; place-items: center; padding: 18%; opacity: .12; pointer-events: none; }
.thumb__brand img { object-fit: contain; filter: grayscale(1); mix-blend-mode: normal; }
.thumb__tint { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .35; pointer-events: none; transition: background var(--t); }

/* ---------- Product card ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 1 / 1; display: block; }
.card__media .thumb { position: absolute; inset: 0; }
.card__tags { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.card__wish { position: absolute; top: 6px; inset-inline-end: 6px; z-index: 2; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm); width: 38px; height: 38px; }
.card__wish.on { color: var(--red); }
.card__wish.on .ico { fill: var(--red); }
.card__hover { position: absolute; inset-inline: 10px; bottom: 10px; display: flex; gap: 8px; z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity var(--t), transform var(--t); }
.card:hover .card__hover, .card:focus-within .card__hover { opacity: 1; transform: none; }
.card__hover .btn { flex: 1; min-height: 40px; padding: 0 10px; font-size: 13px; }
@media (hover: none) { .card__hover { display: none; } }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__brand { font-size: 12px; font-weight: 600; color: var(--teal-text); text-transform: uppercase; letter-spacing: .4px; min-height: 18px; }
.card__name { font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card__name:hover { color: var(--blue); }
.card__chips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; min-height: 22px; }
.chip-mini { font-size: 11px; padding: 1px 8px; border-radius: var(--r-pill); background: var(--soft); border: 1px solid var(--line); color: var(--muted); }
.swatch-mini { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); margin-inline-end: -4px; box-shadow: 0 0 0 2px #fff; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.price { font-weight: 700; color: var(--red); font-size: 17px; white-space: nowrap; }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); margin-inline-end: 3px; }
.card__wa { width: 36px; height: 36px; color: var(--wa); }
.card__add { width: 36px; height: 36px; background: var(--red); color: #fff; border-radius: var(--r-sm); }
.card__add:hover { background: var(--red-600); color: #fff; }
@media (max-width: 639px) { .card__body { padding: 10px; } .card__name { font-size: 14px; } .price { font-size: 15px; } .card__wa { display: none; } }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.tag--type { background: var(--blue); color: #fff; }
.tag--best { background: var(--green-50); color: var(--green); border: 1px solid #BBE5C8; }
.tag--stock { background: var(--green-50); color: var(--green); }
.tag--out { background: #FEE2E2; color: #B91C1C; }
.tag--avail { background: var(--amber-50); color: var(--amber); }
/* list view */
.grid--list { grid-template-columns: 1fr !important; }
.grid--list .card { flex-direction: row; }
.grid--list .card__media { width: 180px; flex: none; }
.grid--list .card__hover { display: none; }
@media (max-width: 639px) { .grid--list .card__media { width: 112px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-radius: var(--r-lg); margin-top: var(--s3); }
.hero__track { display: flex; transition: transform .6s var(--ease); }
.hero__slide { min-width: 100%; min-height: 420px; display: flex; align-items: center; position: relative; color: #fff; padding: var(--s6) var(--s5); background-size: cover; background-position: center; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 26, 51, .55), rgba(7, 26, 51, 0) 70%); pointer-events: none; }
html[dir="rtl"] .hero__slide::after { background: linear-gradient(270deg, rgba(7, 26, 51, .55), rgba(7, 26, 51, 0) 70%); }
.hero__content { position: relative; z-index: 2; max-width: 560px; }
@media (min-width: 768px) { .hero__slide { padding-inline: 80px; } }
.hero__eyebrow { display: inline-flex; gap: 6px; align-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); padding: 4px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; margin-bottom: var(--s2); }
.hero h1, .hero h2 { color: #fff; font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 12px; }
.hero p { font-size: 18px; opacity: .95; margin-bottom: var(--s3); }
.hero__art { position: absolute; inset-inline-end: 0; top: 0; bottom: 0; width: 55%; z-index: 1; }
.hero__art svg { width: 100%; height: 100%; }
.hero__dots { position: absolute; bottom: 18px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero__dots button { width: 10px; height: 10px; border-radius: 5px; border: 0; background: rgba(255, 255, 255, .5); padding: 0; transition: width var(--t), background var(--t); }
.hero__dots button[aria-current="true"] { width: 28px; background: #fff; }
.hero__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255, 255, 255, .9); color: var(--text); }
.hero__nav--prev { inset-inline-start: 12px; } .hero__nav--next { inset-inline-end: 12px; }
html[dir="rtl"] .hero__nav .ico { transform: scaleX(-1); }
.theme-brand { background: radial-gradient(120% 140% at 100% 0%, #1B62AB 0%, #0F2E52 55%, #0A1F3A 100%); }
.theme-brand::before { content: ""; position: absolute; inset-inline-end: -10%; bottom: -40%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(217, 32, 48, .55), transparent); pointer-events: none; }
.hero__dot { color: var(--red); }
.theme-paint .hero__dot { color: #fff; }
.hero__icons { position: absolute; inset: 0; }
.hero__icons span { position: absolute; width: 84px; height: 84px; border-radius: 24px; background: #fff; color: var(--c); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); transform: translate(-50%, -50%); animation: floaty 6s ease-in-out infinite; }
.hero__icons .ico { width: 40px; height: 40px; }
@keyframes floaty { 50% { transform: translate(-50%, calc(-50% - 10px)); } }
@media (max-width: 767px) { .hero__icons span { width: 56px; height: 56px; border-radius: 16px; } .hero__icons .ico { width: 26px; height: 26px; } .theme-brand .hero__art { display: none; } }
.theme-paint { background: linear-gradient(120deg, #B3121F 0%, #D92030 45%, #F0604B 100%); }
.theme-plywood { background: linear-gradient(120deg, #0F3D6E 0%, #1B62AB 55%, #3C86CF 100%); }
.theme-sanitary { background: linear-gradient(120deg, #035E85 0%, #0580B5 55%, #33A6D6 100%); }
.theme-hardware { background: linear-gradient(120deg, #1F2937 0%, #374151 60%, #4B5563 100%); }
.theme-electrical { background: linear-gradient(120deg, #0F2E52 0%, #1B62AB 50%, #0580B5 100%); }
@media (max-width: 767px) { .hero { border-radius: var(--r); margin-top: var(--s2); } .hero__slide { min-height: 340px; padding: var(--s4) var(--s3) var(--s6); align-items: flex-end; } .hero__art { width: 100%; opacity: .35; } .hero p { font-size: 15px; } .hero__nav { display: none; } }

/* ---------- Category tiles ---------- */
.cat-tile { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s2); transition: transform var(--t) var(--ease), box-shadow var(--t); background-size: cover; background-position: center; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.cat-tile__icon { position: absolute; top: 16px; inset-inline-end: 16px; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.cat-tile__icon .ico { width: 30px; height: 30px; }
.cat-tile__art { position: absolute; inset: 0; opacity: .25; }
.cat-tile h3 { color: #fff; margin: 0; font-size: 20px; position: relative; }
.cat-tile > span:not(.cat-tile__icon) { position: relative; font-size: 13px; opacity: .9; }
.cat-tile.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 60%); }

/* ---------- Brand strip ---------- */
.brands { display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.brand-tile { scroll-snap-align: start; flex: 0 0 auto; min-width: 150px; height: 84px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; place-items: center; padding: 12px 18px; font-weight: 700; font-size: 17px; color: #0F2E52; letter-spacing: -.2px; transition: border-color var(--t), box-shadow var(--t), transform var(--t); text-align: center; }
.brand-tile:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--blue); }
.brand-tile img { max-height: 48px; width: auto; object-fit: contain; }
.brand-tile small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }

/* ---------- Swatches ---------- */
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); background: #D1D5DB; cursor: pointer; padding: 0; position: relative; transition: transform var(--t), box-shadow var(--t); flex: none; }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--blue); }
.swatch[aria-checked="true"]::after { content: ""; position: absolute; inset: 11px 13px 13px; border: solid #fff; border-width: 0 0 3px 3px; transform: rotate(-45deg); filter: drop-shadow(0 0 1px rgba(0, 0, 0, .5)); }
.swatch--none { background: #D1D5DB; }
.spot { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: var(--s2); }
.spot a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--text); padding: 12px 6px; border-radius: var(--r); transition: background var(--t); }
.spot a:hover { background: var(--soft); }
.spot .swatch { width: 64px; height: 64px; pointer-events: none; }
@media (max-width: 639px) { .spot { display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; } .spot a { flex: 0 0 92px; } .spot .swatch { width: 52px; height: 52px; } }
.spot b { font-size: 14px; font-weight: 500; line-height: 1.2; }
.spot small { font-size: 12px; color: var(--muted); }

/* ---------- Carousels ---------- */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (max-width: 1023px) { .carousel__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 639px) { .carousel__track { grid-auto-columns: 46%; gap: 12px; } }
.carousel__btn { position: absolute; top: 38%; z-index: 3; background: #fff; box-shadow: var(--shadow); }
.carousel__btn--prev { inset-inline-start: -16px; } .carousel__btn--next { inset-inline-end: -16px; }
html[dir="rtl"] .carousel__btn .ico { transform: scaleX(-1); }
@media (max-width: 1023px) { .carousel__btn { display: none; } }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust__item { display: flex; gap: 14px; align-items: center; padding: var(--s2); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.trust__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex: none; }
.trust__item:nth-child(2n) .trust__icon { background: var(--blue-50); color: var(--blue); }
.trust__item b { display: block; font-size: 15px; }
.trust__item span span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 639px) { .trust__item { flex-direction: column; text-align: center; align-items: center; gap: 8px; } }

/* ---------- Rooms ---------- */
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
@media (min-width: 900px) { .rooms { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 180px 180px; } .rooms a:first-child { grid-row: span 2; } }
.room { position: relative; border-radius: var(--r); overflow: hidden; min-height: 150px; display: flex; align-items: flex-end; padding: var(--s2); color: #fff; font-weight: 600; font-size: 18px; transition: transform var(--t), box-shadow var(--t); background-size: cover; background-position: center; }
.room:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff; }
.room > .ico { position: absolute; top: 16px; inset-inline-start: 16px; width: 36px; height: 36px; opacity: .9; }
.room span { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.room:nth-child(1) { background: linear-gradient(135deg, #B3121F, #E3505C); }
.room:nth-child(2) { background: linear-gradient(135deg, #154E89, #3C86CF); }
.room:nth-child(3) { background: linear-gradient(135deg, #374151, #6B7280); }
.room:nth-child(4) { background: linear-gradient(135deg, #035E85, #33A6D6); }
.room:nth-child(5) { background: linear-gradient(135deg, #7A1A12, #C0392B); }

/* ---------- Testimonials / map / newsletter ---------- */
.testi { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.testi__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); }
.testi__stars { color: #F59E0B; display: flex; gap: 2px; margin-bottom: 8px; }
.testi__stars .ico { fill: #F59E0B; width: 16px; height: 16px; }
.visit { display: grid; gap: var(--s3); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1.4fr; } }
.visit__info { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); display: flex; flex-direction: column; gap: 12px; }
.visit__row { display: flex; gap: 12px; align-items: flex-start; }
.visit__row .ico { color: var(--red); margin-top: 3px; }
.map { border: 0; width: 100%; min-height: 320px; border-radius: var(--r); background: var(--empty); }
.newsletter { background: linear-gradient(120deg, var(--blue) 0%, var(--teal) 100%); color: #fff; border-radius: var(--r-lg); padding: var(--s5) var(--s4); display: grid; gap: var(--s3); align-items: center; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; } }
.newsletter h2 { color: #fff; margin-bottom: 6px; }
.newsletter p { margin: 0; opacity: .9; }
.newsletter form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: var(--r); }
.newsletter > * { min-width: 0; }
.newsletter input { flex: 1; width: 100%; border: 0; outline: none; padding: 0 12px; min-width: 0; color: var(--text); }
@media (max-width: 639px) { .newsletter { padding: var(--s4) var(--s2); } .newsletter .btn { padding: 0 16px; } }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: #CBD5E1; margin-top: var(--s8); font-size: 14px; }
.footer a { color: #CBD5E1; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: var(--s4); grid-template-columns: 1fr 1fr; padding-block: var(--s6); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__logo img { width: 52px; background: #fff; border-radius: 12px; padding: 4px; }
.footer__logo b { color: #fff; font-size: 18px; }
.footer__contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer__contact .ico { width: 18px; height: 18px; margin-top: 2px; color: #94A3B8; }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--s2); }
.footer__pay span { border: 1px solid #334155; border-radius: 6px; padding: 4px 10px; font-size: 12px; }
.footer__bottom { border-top: 1px solid #1E293B; padding-block: var(--s2); display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 13px; color: #94A3B8; }
@media (max-width: 1023px) { .footer { padding-bottom: 72px; } }

/* ---------- Floating WhatsApp & mobile tab bar ---------- */
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 24px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); z-index: 70; transition: transform var(--t); }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .ico--wa { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.tabbar { display: none; }
@media (max-width: 1023px) {
  .wa-float { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; inset-inline: 0; background: #fff; border-top: 1px solid var(--line); z-index: 75; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(15, 23, 42, .06); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 60px; font-size: 11px; color: var(--muted); border: 0; background: none; position: relative; }
  .tabbar .active { color: var(--red); }
  .tabbar .wa { color: var(--wa); }
  .tabbar .badge-count { top: 6px; inset-inline-end: calc(50% - 20px); }
  body.has-sticky-buy .wa-float { bottom: 152px; }
}

/* ---------- Overlay, drawer, modal, sheet, mobile menu ---------- */
.overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 90; animation: fadeIn .2s; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
html[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.open { transform: none !important; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; }
.drawer__body { flex: 1; overflow: auto; padding: var(--s2) var(--s3); }
.drawer__foot { border-top: 1px solid var(--line); padding: var(--s2) var(--s3); display: grid; gap: 10px; }
.line { display: flex; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.line .thumb { width: 72px; height: 72px; border-radius: var(--r-sm); flex: none; }
.line__info { flex: 1; min-width: 0; }
.line__name { font-weight: 500; font-size: 14px; color: var(--text); line-height: 1.35; display: block; }
.line__meta { font-size: 12px; color: var(--muted); }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.stepper button { width: 36px; height: 36px; border: 0; background: #fff; display: grid; place-items: center; }
.stepper button:hover { background: var(--soft); }
.stepper input { width: 44px; text-align: center; border: 0; height: 36px; outline: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper--lg button { width: 44px; height: 48px; } .stepper--lg input { height: 48px; width: 52px; }
.totals { display: grid; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 18px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.modal { position: fixed; inset: 0; z-index: 110; display: none; place-items: center; padding: var(--s2); }
.modal.open { display: grid; }
.modal__box { background: #fff; border-radius: var(--r-lg); width: min(920px, 100%); max-height: 92vh; overflow: auto; position: relative; box-shadow: var(--shadow-lg); animation: pop .22s var(--ease); }
.modal__close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; background: #fff; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.sheet { position: fixed; inset-inline: 0; bottom: 0; z-index: 105; background: #fff; border-radius: 20px 20px 0 0; max-height: 85vh; display: flex; flex-direction: column; transform: translateY(105%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); }
.sheet.open { transform: none; }
.sheet__grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 0; }
.mmenu { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(360px, 88%); background: #fff; z-index: 100; transform: translateX(-100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; }
html[dir="rtl"] .mmenu { transform: translateX(100%); }
.mmenu.open { transform: none !important; }
.mmenu details { border-bottom: 1px solid var(--line); }
.mmenu summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--s3); font-weight: 600; cursor: pointer; }
.mmenu summary::-webkit-details-marker { display: none; }
.mmenu details[open] > summary .ico { transform: rotate(180deg); }
.mmenu details details summary { padding-inline-start: 36px; font-weight: 500; font-size: 15px; }
.mmenu .sublinks a { display: block; padding: 8px var(--s3) 8px 48px; color: var(--muted); font-size: 14px; }
html[dir="rtl"] .mmenu .sublinks a { padding: 8px 48px 8px var(--s3); }
.mmenu__links a { display: flex; gap: 10px; align-items: center; padding: 14px var(--s3); color: var(--text); border-bottom: 1px solid var(--line); }
.toast { visibility: hidden; opacity: 0; position: fixed; bottom: 28px; inset-inline-start: 50%; transform: translate(-50%, 140%); background: #0F172A; color: #fff; padding: 12px 20px; border-radius: var(--r); z-index: 120; display: flex; gap: 10px; align-items: center; transition: transform .3s var(--ease); font-size: 14px; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; opacity: 1; }
.toast .ico { color: #4ADE80; }
@media (max-width: 1023px) { .toast { bottom: 84px; } }
.fly { position: fixed; z-index: 130; width: 44px; height: 44px; border-radius: 50%; background: var(--red); pointer-events: none; transition: transform .7s cubic-bezier(.5, -.3, .7, 1), opacity .7s; box-shadow: var(--shadow-lg); display: grid; place-items: center; color: #fff; }

/* ---------- Breadcrumbs, page head ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); padding-block: var(--s2); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--blue); }
.crumbs .ico { width: 14px; height: 14px; }
html[dir="rtl"] .crumbs .ico { transform: scaleX(-1); }
.page-head { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: end; justify-content: space-between; margin-bottom: var(--s3); }
.page-head h1 { margin: 0; font-size: clamp(26px, 3.2vw, 38px); }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.subcats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: var(--s2); scrollbar-width: none; }
.subcats a { flex: none; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 500; background: #fff; }
.subcats a:hover, .subcats a.on { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.subcats a small { color: var(--muted); margin-inline-start: 4px; }

/* ---------- Listing (filters) ---------- */
.listing { display: grid; grid-template-columns: 1fr; gap: var(--s3); align-items: start; }
@media (min-width: 1024px) { .listing { grid-template-columns: 260px 1fr; } }
.filters { position: sticky; top: calc(var(--header-h) + 68px); max-height: calc(100vh - var(--header-h) - 84px); overflow: auto; padding-inline-end: 6px; }
@media (max-width: 1023px) { .listing > .filters { display: none; } }
.fgroup { border-bottom: 1px solid var(--line); padding-block: 14px; }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 600; cursor: pointer; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup[open] summary .ico { transform: rotate(180deg); }
.fgroup__body { margin-top: 10px; display: grid; gap: 6px; max-height: 260px; overflow: auto; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; padding: 2px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.check small { margin-inline-start: auto; color: var(--muted); }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 100%; height: 40px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 10px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: var(--s2); }
.toolbar__left { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.toolbar__right { display: flex; align-items: center; gap: 8px; }
.select { height: 40px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; background: #fff; }
.view-toggle { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.view-toggle button { width: 40px; height: 37px; border: 0; background: #fff; display: grid; place-items: center; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.filter-btn { display: none; }
@media (max-width: 1023px) { .filter-btn { display: inline-flex; } .view-toggle { display: none; } }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s2); }
.achip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: var(--r-pill); background: var(--blue-50); color: var(--blue); font-size: 13px; font-weight: 500; border: 0; }
.achip .ico { width: 14px; height: 14px; }
.group-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: var(--s2) 0 0; }
.group-head h2 { margin: 0; font-size: 20px; }
.group-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.group-head .chip-mini { font-size: 12px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: var(--s4); flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--line); color: var(--text); font-weight: 500; }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager [aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Empty / error states ---------- */
.empty { text-align: center; padding: var(--s8) var(--s2); max-width: 460px; margin: 0 auto; }
.empty__icon { width: 88px; height: 88px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; margin: 0 auto var(--s2); color: var(--muted); }
.empty__icon .ico { width: 40px; height: 40px; }
.empty h2 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--muted); }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: var(--s5); } }
.gallery { position: sticky; top: calc(var(--header-h) + 72px); align-self: start; }
@media (max-width: 899px) { .gallery { position: static; } }
.gallery__main { aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; position: relative; cursor: zoom-in; }
.gallery__main .thumb { position: absolute; inset: 0; }
.gallery__main.no-img { cursor: default; }
.gallery__main.zoom img { transform: scale(2); }
.gallery__main img { transition: transform .25s var(--ease); }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 12px; }
.gallery__thumbs button { width: 72px; height: 72px; border-radius: var(--r-sm); border: 2px solid var(--line); padding: 0; overflow: hidden; background: var(--empty); }
.gallery__thumbs button[aria-current="true"] { border-color: var(--blue); }
.pdp__brand { color: var(--teal-text); font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; }
.pdp h1 { font-size: clamp(24px, 3vw, 34px); margin: 6px 0 8px; }
.pdp__shade-name { color: var(--muted); font-weight: 500; }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: var(--s2); }
.pdp__price { font-size: 32px; font-weight: 700; color: var(--red); margin-bottom: var(--s2); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pdp__price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.opt { margin-bottom: var(--s3); }
.opt__label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 10px; font-size: 15px; }
.opt__label span { font-weight: 500; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; max-height: 196px; overflow: auto; padding: 4px; }
.shade-search { width: 100%; height: 40px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; margin-bottom: 10px; }
.packs { display: flex; flex-wrap: wrap; gap: 10px; }
.pack { position: relative; min-width: 104px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; text-align: center; transition: border-color var(--t), background var(--t), box-shadow var(--t); }
.pack b { display: block; font-size: 15px; }
.pack span { display: block; font-size: 13px; color: var(--muted); }
.pack:hover { border-color: var(--blue); }
.pack[aria-checked="true"] { border-color: var(--red); background: var(--red-50); box-shadow: 0 0 0 1px var(--red); }
.pack[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.pack .tag--best { position: absolute; top: -10px; inset-inline-end: -6px; font-size: 10px; padding: 1px 6px; background: var(--green); color: #fff; border: 0; }
.buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: var(--s2); }
.buy .btn--primary { flex: 1; min-width: 180px; }
.buy-alt { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.pdp__assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: var(--s3); }
.pdp__assure div { background: var(--soft); border-radius: var(--r-sm); padding: 10px; font-size: 12px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pdp__assure .ico { color: var(--blue); }
.tabs { margin-top: var(--s6); }
.tabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs__list button { border: 0; background: none; padding: 12px 18px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs__list button[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.tabs__panel { padding: var(--s3) 0; max-width: 820px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; color: var(--muted); font-weight: 500; background: var(--soft); }
.sticky-buy { display: none; }
@media (max-width: 899px) {
  .sticky-buy { display: flex; position: fixed; inset-inline: 0; bottom: 60px; z-index: 74; background: #fff; border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px; align-items: center; box-shadow: 0 -4px 16px rgba(15, 23, 42, .08); transform: translateY(110%); transition: transform .25s var(--ease); }
  .sticky-buy.show { transform: none; }
  .sticky-buy .price { font-size: 18px; }
  .sticky-buy__info { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); line-height: 1.3; }
  .sticky-buy__info div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .btn { min-height: 44px; padding: 0 16px; }
}
.qv { display: grid; grid-template-columns: 1fr; gap: var(--s3); padding: var(--s3); }
@media (min-width: 760px) { .qv { grid-template-columns: 1fr 1.1fr; } }
.qv .gallery { position: static; }

/* ---------- Forms, checkout ---------- */
.field { display: grid; gap: 6px; margin-bottom: var(--s2); }
.field label { font-weight: 500; font-size: 14px; }
.field input, .field select, .field textarea { height: 48px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; background: #fff; transition: border-color var(--t), box-shadow var(--t); width: 100%; }
.field textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(27, 98, 171, .12); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #DC2626; }
.field__err { color: #B91C1C; font-size: 13px; display: none; }
.field.invalid .field__err { display: block; }
.row2 { display: grid; gap: 0 var(--s2); grid-template-columns: 1fr; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.checkout { display: grid; gap: var(--s4); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1.5fr 1fr; } }
.progress { display: flex; align-items: center; gap: 0; margin-bottom: var(--s4); counter-reset: step; }
.progress__step { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); font-size: 14px; flex: none; }
.progress__dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 2px solid var(--line); color: var(--muted); font-size: 14px; }
.progress__bar { flex: 1; height: 3px; background: var(--line); margin-inline: 12px; border-radius: 2px; overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s var(--ease); }
.progress__step.on { color: var(--text); }
.progress__step.on .progress__dot { background: var(--red); border-color: var(--red); color: #fff; }
.progress__step.done .progress__dot { background: var(--green); border-color: var(--green); color: #fff; }
.progress__bar.done i { width: 100%; }
@media (max-width: 559px) { .progress__step span { display: none; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); }
.panel + .panel { margin-top: var(--s2); }
.step { display: none; } .step.on { display: block; animation: fadeIn .25s; }
.choice { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; margin-bottom: 12px; transition: border-color var(--t), background var(--t); }
.choice:has(input:checked) { border-color: var(--red); background: var(--red-50); }
.choice input { margin-top: 4px; accent-color: var(--red); width: 18px; height: 18px; }
.choice b { display: flex; align-items: center; gap: 8px; }
.choice small { color: var(--muted); display: block; }
.choice .bankinfo { margin-top: 8px; font-size: 14px; background: #fff; border-radius: var(--r-sm); padding: 10px 12px; border: 1px dashed var(--line); }
.summary { position: sticky; top: calc(var(--header-h) + 72px); }
.summary .line .thumb { width: 56px; height: 56px; }
.trust-mini { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s2); font-size: 12px; color: var(--muted); }
.trust-mini span { display: inline-flex; gap: 6px; align-items: center; }
.trust-mini .ico { width: 16px; height: 16px; color: var(--green); }
.confirm { text-align: center; max-width: 640px; margin: var(--s4) auto; }
.confirm__tick { width: 84px; height: 84px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 0 auto var(--s3); animation: pop .4s var(--ease); }
.confirm__tick .ico { width: 44px; height: 44px; }
.confirm .panel { text-align: start; margin-block: var(--s3); }

/* ---------- Shade finder & calculator & content ---------- */
.fam-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s3); }
.fam-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; }
.fam-chip[aria-pressed="true"] { border-color: var(--red); background: var(--red-50); color: var(--red); }
.fam-chip i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0, 0, 0, .1); }
.shade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.shade-card { border: 1px solid var(--line); border-radius: var(--r); padding: 12px; background: #fff; display: flex; gap: 10px; align-items: center; text-align: start; transition: border-color var(--t), box-shadow var(--t); }
.shade-card:hover, .shade-card[aria-pressed="true"] { border-color: var(--blue); box-shadow: var(--shadow); }
.shade-card .swatch { width: 36px; height: 36px; pointer-events: none; }
.shade-card b { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.shade-card small { color: var(--muted); font-size: 12px; }
.calc { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc__result { background: linear-gradient(135deg, var(--blue-50), #fff); border: 1px solid #CFE0F3; border-radius: var(--r); padding: var(--s3); }
.calc__big { font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1.1; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin-bottom: var(--s2); }
.seg button { border: 0; background: #fff; padding: 8px 16px; font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.prose { max-width: 800px; }
.prose h2 { font-size: 22px; margin-top: var(--s4); }
.prose ul { padding-inline-start: 20px; }
.prose li { margin-bottom: 6px; }
.contact-grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-cards { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-bottom: var(--s3); }
.contact-card { border: 1px solid var(--line); border-radius: var(--r); padding: var(--s2); display: flex; flex-direction: column; gap: 6px; color: var(--text); transition: border-color var(--t), box-shadow var(--t); }
.contact-card:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); }
.contact-card .ico { color: var(--red); width: 24px; height: 24px; }
.contact-card small { color: var(--muted); }
.notice { display: flex; gap: 10px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--amber-50); color: #7A4A06; font-size: 14px; border: 1px solid #F8DDA8; }
.notice .ico { flex: none; margin-top: 2px; }

/* ---------- Skeletons & reveal ---------- */
.skeleton { background: linear-gradient(90deg, #EEF0F3 25%, #F7F8FA 37%, #EEF0F3 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--r); }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sk-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sk-card .skeleton { border-radius: 0; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

[hidden] { display: none !important; }
main:focus { outline: none; }

/* =========================================================
   Header & footer v2 — professional retail layout
   ========================================================= */
:root { --header-h: 84px; --navy: #0F2E52; --navy-900: #0A1F3A; }
@media (max-width: 1023px) { :root { --header-h: 64px; } }

/* top bar */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .88); font-size: 13px; }
.topbar .container { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 4px; min-width: 0; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .88); padding: 0 12px; white-space: nowrap; line-height: 38px; }
.tb-item + .tb-item { border-inline-start: 1px solid rgba(255, 255, 255, .14); }
a.tb-item:hover { color: #fff; }
.tb-item .ico { width: 15px; height: 15px; color: #FF6B76; }
.topbar__left .tb-item:first-child { padding-inline-start: 0; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: 13px; }
.lang-btn:hover { background: rgba(255, 255, 255, .18); }
.lang-btn .ico { width: 14px; height: 14px; }
@media (max-width: 1100px) { .tb-hours, .tb-mail { display: none; } }
@media (max-width: 767px) { .topbar__left { display: none; } .topbar .container { justify-content: center; } }

/* main header */
.header { background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; }
.header.scrolled { box-shadow: 0 6px 20px rgba(15, 46, 82, .08); }
.header__row { min-height: var(--header-h); gap: 24px; }
.logo img { width: 60px; }
.logo__text b { font-size: 22px; font-weight: 700; color: var(--red); letter-spacing: -.4px; line-height: 1.1; }
.logo__text b i { font-style: normal; color: var(--blue); }
.logo__text small { font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (max-width: 1023px) { .logo img { width: 46px; } .logo__text b { font-size: 18px; } .logo__text small { display: none; } .header__row { gap: 8px; } }
@media (max-width: 380px) { .logo__text b { font-size: 16px; } }

.search { max-width: none; }
.search__box { background: #fff; border: 2px solid var(--blue); border-radius: 10px; overflow: hidden; }
.search__box:focus-within { box-shadow: 0 0 0 4px rgba(27, 98, 171, .12); background: #fff; }
.search__cat { border: 0; border-inline-end: 1px solid var(--line); background: var(--soft); height: 48px; padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--text); max-width: 170px; outline: none; cursor: pointer; }
.search__box input { height: 48px; }
.search__box button { margin: 0; height: 48px; width: 56px; border-radius: 0; background: var(--red); }
.search__box button:hover { background: var(--red-600); }
@media (max-width: 1100px) { .search__cat { display: none; } }

.hcall { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.hcall:hover { color: var(--text); }
.hcall__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--red-50); color: var(--red); display: grid; place-items: center; }
.hcall small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.hcall b { display: block; font-size: 16px; color: var(--navy); line-height: 1.3; white-space: nowrap; }
@media (max-width: 1180px) { .hcall { display: none; } }

.header__actions { gap: 6px; }
.hact { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 56px; padding: 4px 6px; border: 0; background: none; color: var(--text); border-radius: 10px; font-size: 12px; transition: background var(--t), color var(--t); }
.hact:hover { background: var(--soft); color: var(--blue); }
.hact__ico { position: relative; display: grid; place-items: center; width: 28px; height: 28px; }
.hact__ico .ico { width: 24px; height: 24px; }
.hact__ico .badge-count { top: -7px; inset-inline-end: -9px; }
.hact--cart .hact__label { min-width: 64px; }
.hact__label { line-height: 1.2; white-space: nowrap; color: var(--muted); }
.hact--cart { flex-direction: row; gap: 10px; padding: 6px 12px; border: 1.5px solid var(--line); }
.hact--cart .hact__label { display: flex; flex-direction: column; align-items: flex-start; }
.hact--cart b { color: var(--navy); font-size: 14px; }
@media (max-width: 1023px) {
  .hact { min-width: 44px; padding: 6px; }
  .hact__label { display: none; }
  .hact--cart { border: 0; padding: 6px; }
  .hact--cart .hact__label { display: none; }
}

/* navigation bar */
.mega { background: var(--blue); border-bottom: 0; box-shadow: 0 2px 0 rgba(0, 0, 0, .04); }
.mega__bar { align-items: center; }
.mega__home { display: grid; place-items: center; width: 50px; height: 50px; color: #fff; background: var(--red); margin-inline-end: 6px; }
.mega__home:hover { color: #fff; background: var(--red-600); }
.mega__top { color: #fff; height: 50px; padding: 0 20px; font-weight: 600; border-bottom: 0; position: relative; }
.mega__top::after { content: ""; position: absolute; inset-inline: 16px; bottom: 0; height: 3px; background: #fff; border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform var(--t) var(--ease); }
.mega__item:hover .mega__top, .mega__item.open .mega__top, .mega__top:focus-visible { color: #fff; background: rgba(0, 0, 0, .14); }
.mega__item:hover .mega__top::after, .mega__item.open .mega__top::after { transform: scaleX(1); }
.mega__extra a { color: rgba(255, 255, 255, .92); height: 50px; font-size: 14px; }
.mega__extra a:hover { color: #fff; background: rgba(0, 0, 0, .14); }
.mega__extra .ico { color: #fff; }
.mega__panel { border-top: 3px solid var(--red); }
@media (max-width: 1180px) { .mega__top { padding: 0 14px; } .mega__extra a:last-child { display: none; } }

/* footer */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); margin-top: var(--s8); }
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: #fff; }
.footer__top { border-bottom: 1px solid rgba(255, 255, 255, .08); background: var(--navy); }
.footer__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; padding-block: 28px; }
.fcard { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background var(--t), border-color var(--t), transform var(--t); min-width: 0; }
.fcard:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.fcard__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.fcard small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
.fcard b { display: block; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; padding-block: 48px 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr 1.4fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__logo-tile { background: #fff; border-radius: 14px; padding: 6px; display: grid; place-items: center; }
.footer__logo-tile img { width: 52px; height: auto; }
.footer__logo b { display: block; color: #fff; font-size: 19px; }
.footer__logo small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
.footer__brand p { font-size: 14px; line-height: 1.7; margin-bottom: 12px; max-width: 340px; }
.footer__hours { display: flex; gap: 8px; align-items: center; }
.footer__hours .ico { width: 16px; height: 16px; color: #FF6B76; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; font-size: 14px; }
.footer nav a { display: inline-block; transition: color var(--t), transform var(--t); }
.footer nav a:hover { transform: translateX(3px); }
html[dir="rtl"] .footer nav a:hover { transform: translateX(-3px); }
.footer__visit p { font-size: 14px; line-height: 1.7; }
.footer__visit .btn { margin-top: 4px; }
.footer__visit .btn .ico { width: 16px; height: 16px; }
.footer__social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__social a { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: 13px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); background: #071729; padding: 0; display: block; }
.footer__bottom-row { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding-block: 16px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer__pay { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.footer__pay span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; padding: 4px 10px; font-size: 12px; color: rgba(255, 255, 255, .8); }
.footer__pay .ico { width: 14px; height: 14px; }
@media (max-width: 1023px) { .footer { padding-bottom: 64px; } .footer__bottom-row { justify-content: center; text-align: center; } }
/* no WhatsApp number configured: hide WhatsApp buttons */
.no-wa .card__wa, .no-wa .btn--wa, .no-wa .tabbar .wa, .no-wa .wa-float, .no-wa .sticky-buy a[href*="wa.me"] { display: none !important; }
@media (max-width: 1023px) { .no-wa .tabbar { grid-template-columns: repeat(4, 1fr); } }

/* brand logos */
.brand-tile--logo { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 96px; min-width: 160px; }
.brand-tile--logo img { max-height: 44px; max-width: 132px; width: auto; height: auto; object-fit: contain; }
.brand-tile--logo small { font-size: 11px; color: var(--muted); font-weight: 500; }
.mega__brands a img { height: 22px; width: auto; display: block; }
.pdp__brand-logo { height: 32px; width: auto; margin-bottom: 6px; }

/* hero slides with a photo */
.hero__slide.has-img { background-image: var(--hero-img); background-size: cover; background-position: center right; }
@media (max-width: 767px) { .hero__slide.has-img { background-image: var(--hero-img-m); background-position: 70% center; } }
.hero__slide.theme-light { color: var(--navy); background-color: #F4EEE6; }
.hero__slide.theme-light::after { background: linear-gradient(90deg, rgba(250, 246, 240, .92) 0%, rgba(250, 246, 240, .75) 32%, rgba(250, 246, 240, 0) 58%); }
html[dir="rtl"] .hero__slide.theme-light::after { background: linear-gradient(270deg, rgba(250, 246, 240, .92) 0%, rgba(250, 246, 240, .75) 32%, rgba(250, 246, 240, 0) 58%); }
.hero__slide.theme-light h1, .hero__slide.theme-light h2 { color: var(--navy); }
.hero__slide.theme-light p { color: #374151; opacity: 1; }
.hero__slide.theme-light .hero__eyebrow { background: #fff; border-color: rgba(15, 46, 82, .12); color: var(--navy); }
.hero__slide.theme-light .hero__eyebrow .ico { color: var(--red); }
@media (max-width: 767px) { .hero__slide.theme-light::after { background: linear-gradient(0deg, rgba(250, 246, 240, .96) 0%, rgba(250, 246, 240, .85) 55%, rgba(250, 246, 240, .2) 100%); } }
.hero__dots button { box-shadow: 0 0 0 1px rgba(15, 46, 82, .25); }
.hero__slide.theme-light .hero__content { max-width: 470px; }
.hero__slide.theme-light h1, .hero__slide.theme-light h2 { font-size: clamp(30px, 3.6vw, 44px); }
@media (max-width: 767px) {
  .hero__slide.has-img.theme-light { align-items: flex-start; padding-bottom: 170px; background-size: 100% auto; background-position: center bottom; background-repeat: no-repeat; }
  .hero__slide.theme-light::after { background: linear-gradient(180deg, #F4EEE6 0%, #F4EEE6 55%, rgba(244, 238, 230, 0) 72%); }
}

/* main photo banner: keep the text on the empty wall, the room on the right */
@media (min-width: 768px) {
  .hero__slide.has-img.theme-light { background-position: right center; padding-inline-start: 64px; }
  .hero__slide.theme-light .hero__content { max-width: 380px; }
  .hero__slide.theme-light h1, .hero__slide.theme-light h2 { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.08; margin-bottom: 16px; }
  .hero__slide.theme-light p { font-size: 16px; max-width: 340px; margin-bottom: 24px; }
  .hero__slide.theme-light::after { background: linear-gradient(90deg, rgba(247, 241, 233, .9) 0%, rgba(247, 241, 233, .7) 30%, rgba(247, 241, 233, 0) 46%); }
}

/* category page banner */
.cat-hero { margin: 0 0 var(--s3); }
.cat-hero .hero__slide { min-height: 260px; padding-block: 32px; }
.cat-hero__title { font-size: clamp(26px, 3vw, 38px) !important; font-weight: 700; color: var(--navy); line-height: 1.15; margin-bottom: 8px !important; }
@media (max-width: 767px) { .cat-hero .hero__slide.has-img.theme-light { min-height: 0; padding: 24px 20px 150px; } .cat-hero__title { font-size: 24px !important; } }
.cat-tile.has-img { background-color: #1B62AB; }

.room { background-position: 70% 72%; }
.rooms .room { background-size: cover; background-repeat: no-repeat; background-position: 70% 72%; }
.rooms .room:nth-child(5) { background-position: 60% 40%; }
.rooms .room:nth-child(2) { background-position: 70% 65%; }
.rooms .room:nth-child(3) { background-position: 60% 55%; }
.rooms .room:nth-child(4) { background-position: 60% 60%; }

/* ===== Hero v3: crossfade (no sliding/jumping), fixed heights ===== */
.hero__track { display: grid; transform: none !important; transition: none; }
.hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; z-index: 1; }
.hero__slide .hero__content > * { transform: translateY(10px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.hero__slide.is-active .hero__content > * { transform: none; opacity: 1; }
.hero__slide.is-active .hero__content > :nth-child(2) { transition-delay: .08s; }
.hero__slide.is-active .hero__content > :nth-child(3) { transition-delay: .16s; }
.hero__slide.is-active .hero__content > :nth-child(4) { transition-delay: .24s; }
.hero__slide .btn { white-space: nowrap; }
@media (min-width: 768px) {
  .hero__slide { min-height: 440px; height: 440px; }
}
@media (max-width: 767px) {
  .hero__slide, .hero__slide.has-img.theme-light { min-height: 0; height: 560px; padding: 24px 20px 0; align-items: flex-start; background-image: none !important; background-color: #F4EEE6; }
  .hero__slide.has-img::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 250px; background-image: var(--hero-img-m); background-size: cover; background-position: 70% center; background-repeat: no-repeat; }
  .hero__slide.theme-light::after { background: linear-gradient(180deg, #F4EEE6 0%, #F4EEE6 calc(100% - 270px), rgba(244, 238, 230, 0) calc(100% - 190px)); }
  .hero__slide.theme-light h1, .hero__slide.theme-light h2 { font-size: 32px; line-height: 1.1; margin-bottom: 10px; }
  .hero__slide.theme-light p { font-size: 15px; margin-bottom: 18px; }
  .hero__dots { bottom: 14px; }
  .hero__dots button { background: rgba(255, 255, 255, .85); }
}
@media (prefers-reduced-motion: reduce) { .hero__slide, .hero__slide .hero__content > * { transition: none !important; } }
@media (max-width: 767px) {
  .hero__slide, .hero__slide.has-img.theme-light { flex-direction: column; align-items: stretch; height: 540px; }
  .hero__slide.has-img::before { position: relative; order: 2; flex: 1 1 auto; height: auto; min-height: 200px; margin: 0 -20px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40px); mask-image: linear-gradient(180deg, transparent 0, #000 40px); }
  .hero__slide.theme-light::after { display: none; }
  .hero__slide .hero__content { flex: 0 0 auto; }
}

/* product image frame: breathing room so the pack sits inside the box */
.card__media .thumb img { width: 100%; height: 100%; padding: 12% 14% 6%; box-sizing: border-box; object-fit: contain; }
.card:hover .card__media .thumb img { transform: scale(1.04); }
.card__media .thumb img { transition: transform .3s var(--ease); }
.gallery__main .thumb img { padding: 8%; box-sizing: border-box; }
.gallery__thumbs .thumb img, .line .thumb img, .ac-item .thumb img { padding: 8%; box-sizing: border-box; }
.gallery__main .thumb img { width: 100%; height: 100%; object-fit: contain; }
.card__media .thumb img { padding: 10% 12%; }
/* make the photo fill exactly the frame (grid % height was resolving to auto) */
.card__media .thumb img, .gallery__main .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; box-sizing: border-box; }
.card__media .thumb img { padding: 9% 11%; }
.gallery__main .thumb img { padding: 7%; }

/* ===== Product cards v2: smaller cards, full "Add to Cart" button ===== */
@media (min-width: 1200px) { .grid--products.grid--3 { grid-template-columns: repeat(4, 1fr); } .grid--products { grid-template-columns: repeat(5, 1fr); } }
.card__media { aspect-ratio: 5 / 4; }
.card__body { padding: 10px 12px 12px; gap: 4px; }
.card__name { font-size: 14px; min-height: 2.6em; }
.card__foot { padding-top: 2px; }
.card__foot .price { font-size: 16px; }
.card__add { width: 100%; height: 38px; margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff; border: 0; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; transition: background var(--t), transform var(--t); }
.card__add .ico { width: 18px; height: 18px; }
.card__add:hover { background: var(--red-600); color: #fff; }
.card__add:active { transform: scale(.98); }
.grid--list .card__add { width: auto; padding-inline: 18px; align-self: flex-start; }
@media (max-width: 639px) { .card__add { height: 36px; font-size: 13px; gap: 6px; } .card__add .ico { width: 16px; height: 16px; } .card__media { aspect-ratio: 1 / 1; } }
.card__add { min-height: 0; padding: 0 12px; height: 38px; }
.card { container-type: inline-size; }
.card__hover { bottom: auto; top: calc(80cqw - 50px); }
.grid--list .card__add { height: 38px; }

/* ===== Product image display v3: ideal size, soft studio look ===== */
.card__media .thumb { background: radial-gradient(120% 90% at 50% 35%, #FFFFFF 0%, #F6F7F9 60%, #EEF0F3 100%); }
.card__media .thumb::after { content: ""; position: absolute; left: 50%; bottom: 9%; width: 52%; height: 7%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(15, 46, 82, .16), rgba(15, 46, 82, 0)); pointer-events: none; z-index: 0; }
.card__media .thumb img { padding: 13% 20% 12%; z-index: 1; transition: transform .35s var(--ease); }
.card:hover .card__media .thumb img { transform: translateY(-4px) scale(1.03); }
.card { transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease); }
.card:hover { box-shadow: 0 12px 28px rgba(15, 46, 82, .10); border-color: rgba(27, 98, 171, .25); }
/* no image: keep the plain grey box, no shadow */
.card__media .thumb:not(:has(> img))::after { display: none; }
/* product page */
.gallery__main { background: radial-gradient(120% 90% at 50% 35%, #FFFFFF 0%, #F6F7F9 60%, #EEF0F3 100%); }
.gallery__main .thumb { background: transparent; }
.gallery__main .thumb img { padding: 12% 16%; }
.gallery__main .thumb::after { content: ""; position: absolute; left: 50%; bottom: 7%; width: 50%; height: 6%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(15, 46, 82, .16), rgba(15, 46, 82, 0)); pointer-events: none; }
.gallery__main .thumb:not(:has(> img))::after { display: none; }
@media (max-width: 639px) { .card__media .thumb img { padding: 12% 16% 11%; } }
.gallery__main .thumb img { padding: 17% 21% 15%; }
@media (max-width: 639px) { .card__media .thumb img { padding: 15% 20% 13%; } .gallery__main .thumb img { padding: 14% 18% 12%; } }
.pdp__shade-code { margin: -4px 0 10px; font-size: 13px; color: var(--muted); }
.pdp__shade-code b { color: var(--ink); font-weight: 600; letter-spacing: .02em; }

/* ===== SEO intro + accessibility / tap-target polish ===== */
.seo-intro { margin: -4px 0 16px; max-width: 820px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.hero__dots button { position: relative; }
.hero__dots button::after { content: ""; position: absolute; inset: -12px -6px; }
.hero__dots { gap: 12px; }
.lang-btn { min-height: 32px; }
.breadcrumb a, .crumbs a { display: inline-block; padding-block: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.btn:focus-visible, .icon-btn:focus-visible { outline-offset: 3px; }
@media (max-width: 639px) { .tb-item, .topbar a { min-height: 32px; display: inline-flex; align-items: center; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ===== Google reviews ===== */
.g-logo { width: 22px; height: 22px; flex: none; }
.greview-cta, .greview-sum { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; box-shadow: 0 1px 2px rgba(15, 46, 82, .04); }
.greview-cta .g-logo, .greview-sum .g-logo { width: 40px; height: 40px; }
.greview-cta > div, .greview-sum > div { flex: 1; min-width: 0; }
.greview-cta p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.greview-score { font-size: 32px; font-weight: 700; line-height: 1; }
.gstars { display: inline-flex; gap: 1px; font-size: 18px; line-height: 1; }
.gs { color: #DADCE0; } .gs.on { color: #FBBC04; }
.gs.half { background: linear-gradient(90deg, #FBBC04 50%, #DADCE0 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.greview-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 16px; }
.greview { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.greview figcaption { display: flex; align-items: center; gap: 10px; }
.greview figcaption > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.greview figcaption small { font-size: 12px; }
.greview-av { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; flex: none; }
.greview-av img { width: 100%; height: 100%; object-fit: cover; }
.greview blockquote { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink); }
.greview-note { font-size: 12px; margin: 10px 0 0; }
@media (max-width: 639px) { .greview-cta, .greview-sum { flex-wrap: wrap; padding: 16px; } .greview-cta .btn, .greview-sum .btn { width: 100%; } .greview-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; } .greview { min-width: 82%; scroll-snap-align: start; } }
@media (min-width: 1100px) { .greview-list { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Chat assistant ---------- */
.chat-fab { position: fixed; inset-inline-end: 20px; bottom: 24px; z-index: 72; display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1; box-shadow: 0 10px 28px rgba(27, 98, 171, .38); cursor: pointer; transition: transform var(--t), background var(--t); }
.chat-fab:hover { background: #154f8c; transform: translateY(-2px); }
.chat-fab:focus-visible { outline: 3px solid #9cc3ec; outline-offset: 3px; }
html:not(.no-wa) .chat-fab { bottom: 96px; }
.chat-open .chat-fab { display: none; }
.chat { position: fixed; inset-inline-end: 20px; bottom: 24px; z-index: 90; width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100vh - 48px)); display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(15, 23, 42, .28); overflow: hidden; animation: chatIn .22s ease-out; }
.chat[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; background: linear-gradient(135deg, var(--blue), #0580B5); color: #fff; }
.chat__head img { width: 36px; height: 36px; border-radius: 10px; background: #fff; padding: 4px; object-fit: contain; }
.chat__head div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat__head b { font-size: 15px; }
.chat__head small { font-size: 12px; opacity: .9; display: flex; align-items: center; gap: 6px; }
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); }
.chat__head .icon-btn { color: #fff; background: rgba(255, 255, 255, .14); border: 0; }
.chat__head .icon-btn:hover { background: rgba(255, 255, 255, .25); }
.chat__log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; background: #F5F7FA; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; word-wrap: break-word; }
.msg p { margin: 0; } .msg p + p, .msg p + .chat__cards, .msg .chat__cards + p { margin-top: 8px; }
.msg a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-end-start-radius: 4px; color: #1f2937; }
.msg--me { align-self: flex-end; background: var(--blue); color: #fff; border-end-end-radius: 4px; }
.chat__cards { display: flex; flex-direction: column; gap: 6px; }
.msg .chat__card { display: flex; align-items: center; gap: 10px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: inherit; font-weight: 400; transition: border-color var(--t), box-shadow var(--t); }
.msg .chat__card:hover { border-color: var(--blue); box-shadow: 0 4px 12px rgba(27, 98, 171, .12); }
.chat__card img, .chat__noimg { width: 56px; height: 56px; flex: 0 0 56px; object-fit: contain; border-radius: 8px; background: #F3F4F6; padding: 4px; display: grid; place-items: center; color: #9ca3af; }
.chat__card span { display: flex; flex-direction: column; min-width: 0; }
.chat__card b { font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chat__card small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__card em { font-style: normal; font-weight: 700; color: var(--red); font-size: 13px; }
.chat__card em small { color: var(--muted); font-weight: 500; margin-inline-end: 3px; }
.chat__typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #9ca3af; animation: chatDot 1.2s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__chips { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; background: #F5F7FA; scrollbar-width: none; }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chips button { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; border: 1px solid #cfe0f3; background: #fff; color: var(--blue); font-family: inherit; font-weight: 600; font-size: 12.5px; line-height: 1; cursor: pointer; }
.chat__chips button:hover { background: #EAF2FB; }
.chat__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.chat__form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 15px; background: #F9FAFB; }
.chat__form input:focus { outline: none; border-color: var(--blue); background: #fff; }
.chat__send { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat__send:disabled { opacity: .5; }
[dir="rtl"] .chat__send svg, html[dir="rtl"] .chat__send svg { transform: scaleX(-1); }
.chat__foot { margin: 0; padding: 0 14px 10px; font-size: 11px; color: var(--muted); background: #fff; text-align: center; }
.chat__foot a { color: inherit; font-weight: 600; }
@media (max-width: 1023px) {
  .chat-fab { bottom: calc(72px + env(safe-area-inset-bottom)); inset-inline-end: 14px; width: 54px; height: 54px; padding: 0; justify-content: center; }
  html:not(.no-wa) .chat-fab { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .chat-fab__label { display: none; }
  .chat { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; z-index: 120; }
  .chat__form input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .chat, .chat__typing i { animation: none; } }

/* topbar: keep hours/email hidden on small screens (overrides tap-target rule) */
@media (max-width: 1100px) { .topbar .tb-hours, .topbar .tb-mail { display: none; } }
@media (max-width: 380px) { .topbar .lang-btn { padding: 3px 9px; } }
.chat__card img { color: transparent; font-size: 0; }

/* ---------- Customer accounts ---------- */
.acc-wait { padding: 60px 0; text-align: center; color: var(--muted); }
.auth { display: grid; gap: 24px; align-items: start; margin-bottom: 40px; }
@media (min-width: 900px) { .auth { grid-template-columns: 1fr 1.1fr; gap: 40px; } }
.auth__side { background: linear-gradient(140deg, var(--navy, #0F2E52), var(--blue)); color: #fff; border-radius: var(--r-lg); padding: 32px; }
.auth__side h1 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.auth__side p { color: rgba(255, 255, 255, .85); margin: 0 0 20px; }
.auth__side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth__side li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.auth__side li .ico { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .14); }
@media (max-width: 899px) { .auth__side { padding: 22px; } .auth__side ul { grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13.5px; } .auth__side li .ico { width: 30px; height: 30px; padding: 6px; } }
.auth__main { padding: 28px; }
@media (max-width: 639px) { .auth__main { padding: 18px; } }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; background: #F1F4F8; border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.auth__tabs button { min-height: 44px; border: 0; background: none; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; }
.auth__tabs button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 1px 4px rgba(15, 23, 42, .1); }
.auth__h { font-size: 20px; margin: 0 0 14px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: -4px 0 16px; font-size: 14px; }
.auth__row a, .auth__alt a { color: var(--blue); font-weight: 600; }
.auth__alt { text-align: center; margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.auth__fine { font-size: 12.5px; text-align: center; margin: 10px 0 0; }
.check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.field small.muted { font-size: 12.5px; }
.pw { position: relative; }
.pw input { padding-inline-end: 52px; }
.pw__eye { position: absolute; inset-inline-end: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); border-radius: 8px; display: grid; place-items: center; cursor: pointer; }
.pw__eye.on { color: var(--blue); }
.form-msg { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.form-msg.bad { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.form-msg.ok { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.acc-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 8px 0 20px; }
.acc-head > div { flex: 1; min-width: 200px; }
.acc-head h1 { font-size: clamp(22px, 3vw, 28px); margin: 0; }
.acc-head p { margin: 2px 0 0; }
.acc-ava { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--red), #F0525F); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: none; }
.acc-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.acc-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 0; background: none; font-weight: 600; font-size: 15px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; cursor: pointer; }
.acc-tabs button .ico { width: 18px; height: 18px; }
.acc-tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.acc-form { max-width: 720px; }
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.acc-stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.acc-stats small { display: block; color: var(--muted); font-size: 13px; }
.acc-stats b { font-size: clamp(16px, 2.4vw, 22px); }
.ocard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; }
.ocard__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: #F8FAFC; border-bottom: 1px solid var(--line); }
.ocard__head small { display: block; color: var(--muted); font-size: 12.5px; }
.ost { padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: #FEF3C7; color: #92400E; }
.ost--confirmed { background: #DBEAFE; color: #1E40AF; } .ost--dispatched { background: #E0E7FF; color: #3730A3; } .ost--delivered { background: #DCFCE7; color: #166534; } .ost--cancelled { background: #FEE2E2; color: #991B1B; }
.otrack { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 16px 16px 4px; counter-reset: s; }
.otrack li { position: relative; text-align: center; font-size: 12px; color: var(--muted); }
.otrack li i { display: block; width: 14px; height: 14px; margin: 0 auto 6px; border-radius: 50%; background: #E5E7EB; position: relative; z-index: 1; }
.otrack li::before { content: ""; position: absolute; top: 6px; inset-inline-start: -50%; width: 100%; height: 2px; background: #E5E7EB; }
.otrack li:first-child::before { display: none; }
.otrack li.done i { background: var(--blue); } .otrack li.done::before { background: var(--blue); } .otrack li.done { color: var(--text); }
.otrack li.now i { box-shadow: 0 0 0 4px rgba(27, 98, 171, .2); } .otrack li.now span { font-weight: 700; color: var(--blue); }
.ocard__items { padding: 6px 16px; }
.oitem { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.oitem:last-child { border-bottom: 0; }
.oitem img, .oitem__ph { width: 52px; height: 52px; flex: none; object-fit: contain; border-radius: 8px; background: #F3F4F6; padding: 4px; display: grid; place-items: center; color: #9ca3af; }
.oitem > div { flex: 1; min-width: 0; }
.oitem a { color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; display: block; }
.oitem a:hover { color: var(--blue); }
.oitem small { color: var(--muted); font-size: 12.5px; }
.oitem > b { font-size: 14px; white-space: nowrap; }
.ocard__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.acc-nudge { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-sm); background: #EFF6FF; border: 1px solid #CFE0F3; color: #1E3A5F; font-size: 14px; margin: 0 0 18px; }
.acc-nudge .ico { flex: none; color: var(--blue); width: 20px; height: 20px; }
.acc-nudge a { color: var(--blue); font-weight: 700; }
.acc-nudge--in { background: #F0FDF4; border-color: #BBF7D0; color: #14532D; } .acc-nudge--in .ico { color: #16A34A; }
.hact.is-in .hact__ico { color: var(--blue); }
.hact.is-in .hact__label { color: var(--blue); font-weight: 600; max-width: 80px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 639px) { .acc-stats { grid-template-columns: 1fr 1fr; } .acc-stats div:last-child { grid-column: 1 / -1; } .otrack li span { font-size: 10.5px; } .acc-head .btn { width: 100%; } }
@media (max-width: 1023px) { .no-wa .tabbar { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Category & sub-category prominence ---------- */
.cat-hero .hero__slide { height: auto; }
.page-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.page-eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--red); }
.page-eyebrow:hover { text-decoration: underline; }
.subcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; overflow: visible; padding: 0; margin: 4px 0 var(--s3); }
.subcats a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; color: var(--navy); position: relative; transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.subcats a b { font-size: 15.5px; font-weight: 700; line-height: 1.25; padding-inline-end: 18px; }
.subcats a small { color: var(--muted); font-size: 12.5px; margin: 0; }
.subcats a::after { content: "›"; position: absolute; inset-inline-end: 14px; top: 12px; font-size: 20px; line-height: 1; color: var(--blue); opacity: .5; transition: transform var(--t), opacity var(--t); }
.subcats a:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(27, 98, 171, .12); transform: translateY(-2px); background: #fff; }
.subcats a:hover::after { opacity: 1; transform: translateX(3px); }
.subcats a.on { border-color: var(--blue); background: var(--blue); color: #fff; }
.subcats a.on small { color: rgba(255, 255, 255, .85); }
.subcats a.on::after { color: #fff; opacity: 1; }
@media (max-width: 767px) {
  .subcats { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 6px; scroll-padding-inline: 16px; scroll-snap-type: x proximity; }
  .subcats::-webkit-scrollbar { display: none; }
  .subcats a { flex: 0 0 auto; min-width: 140px; padding: 12px 14px; scroll-snap-align: start; }
  .subcats a b { font-size: 14.5px; }
}
.group-head--sub { margin-top: var(--s3); padding: 10px 0 2px; }
.group-head--sub:first-child { margin-top: 0; }
.group-head--sub h2 { font-size: 22px; }
.group-head--sub h2 a { color: var(--navy); }
.group-head--sub h2 a:hover { color: var(--blue); }
.group-head--sub h2::before { content: ""; display: inline-block; width: 6px; height: 22px; border-radius: 3px; background: var(--red); margin-inline-end: 10px; vertical-align: -3px; }
.group-head--sub::after { order: 2; }
.group-head__all { order: 3; display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.group-head__all .ico { width: 16px; height: 16px; }
.card__cat { display: inline-block; align-self: flex-start; max-width: 100%; margin-bottom: 0; padding: 3px 10px; border-radius: 999px; background: #EAF2FB; color: #164E8C; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background var(--t), color var(--t); }
.card__cat:hover { background: var(--blue); color: #fff; }
.card__body { display: flex; flex-direction: column; }
.pdp__cats { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pdp__cats a { padding: 5px 12px; border-radius: 999px; background: #EAF2FB; color: #164E8C; font-size: 13px; font-weight: 700; }
.pdp__cats a:first-child { background: var(--navy, #0F2E52); color: #fff; }
.pdp__cats a:hover { background: var(--blue); color: #fff; }
.pdp__cats .ico { width: 16px; height: 16px; color: var(--muted); }

/* ---------- Mega menu: prominent categories ---------- */
.mega__inner { grid-template-columns: 1fr 280px; gap: 28px; padding-block: 24px 20px; align-items: start; }
.mega__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid #EEF2F7; }
.mega__head h3 { margin: 0; font-size: 22px; color: var(--navy, #0F2E52); position: relative; padding-inline-start: 14px; }
.mega__head h3::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: var(--red); }
.mega__head a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--blue); white-space: nowrap; }
.mega__head a .ico { width: 16px; height: 16px; }
.mega__head a:hover { color: var(--red); }
.mega__cols { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; align-items: start; max-height: 62vh; overflow-y: auto; padding: 2px 4px 2px 2px; scrollbar-width: thin; }
.mega__group { margin: 0; break-inside: auto; border: 1.5px solid #E6ECF3; border-radius: 12px; background: #fff; transition: border-color var(--t), box-shadow var(--t); }
.mega__group:hover { border-color: #BCD3EC; box-shadow: 0 6px 18px rgba(15, 46, 82, .08); }

.mega__group > a.mega__sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 10px; color: var(--navy, #0F2E52); }
.mega__group.has-kids > a.mega__sub { background: #F3F7FC; border-radius: 10px 10px 0 0; border-bottom: 1px solid #E6ECF3; }
.mega__sub b { font-size: 16px; font-weight: 700; line-height: 1.3; }
.mega__group > a.mega__sub span { flex: none; min-width: 32px; text-align: center; padding: 2px 8px; border-radius: 999px; background: #FDECEE; color: var(--red); font-size: 12px; font-weight: 700; }
.mega__group > a.mega__sub:hover { background: var(--blue); color: #fff; }
.mega__group > a.mega__sub:hover span { background: rgba(255, 255, 255, .2); color: #fff; }
.mega__group ul { padding: 6px; }
.mega__group li a { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px; color: #1F2937; font-size: 14.5px; font-weight: 500; }
.mega__group li a .ico { width: 14px; height: 14px; flex: none; color: var(--red); }
.mega__group li a span { flex: 1; }
.mega__group li a small { color: var(--muted); font-size: 12px; }
.mega__group li a:hover { background: #EAF2FB; color: var(--blue); }
.mega__more a { color: var(--blue) !important; font-weight: 700 !important; }
.mega__feature { min-height: 280px; }
@media (max-width: 1180px) { .mega__inner { grid-template-columns: 1fr 220px; } .mega__cols { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }

/* ---------- Category tiles: tinted, not plain white ---------- */
.subcats a { background: linear-gradient(135deg, #EEF4FC 0%, #E3EDF9 100%); border: 1.5px solid #C9DBF0; border-inline-start: 4px solid var(--red); color: var(--navy, #0F2E52); }
.subcats a small { color: #4B6584; }
.subcats a::after { color: var(--red); opacity: .8; }
.subcats a:hover { background: linear-gradient(135deg, #E3EDF9 0%, #D4E4F6 100%); border-color: var(--blue); border-inline-start-color: var(--red); }
.subcats a.on { background: linear-gradient(135deg, var(--blue) 0%, #154F8C 100%); border-color: #154F8C; border-inline-start-color: var(--red); color: #fff; }
.mega__group { background: #F4F8FD; border-color: #D6E3F2; }
.mega__group > a.mega__sub { background: linear-gradient(135deg, #E9F1FB, #DCE9F7); border-inline-start: 4px solid var(--red); }
.mega__group.has-kids > a.mega__sub { background: linear-gradient(135deg, #E9F1FB, #DCE9F7); }
.mega__group > a.mega__sub span { background: #fff; }
.mega__group li a:hover { background: #fff; }

/* ---------- Social profiles ---------- */
.footer__follow { margin: 16px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.footer__social { gap: 10px; }
.footer__social a.soc { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; transition: background var(--t), transform var(--t); }
.footer__social a.soc:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.contact-follow { font-size: 18px; margin: 24px 0 12px; }
.soc-row { display: flex; flex-wrap: wrap; gap: 10px; }
.soc--big { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--brand); font-weight: 600; font-size: 14px; transition: background var(--t), color var(--t), border-color var(--t); }
.soc--big span { color: var(--text); }
.soc--big:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.soc--big:hover span { color: #fff; }
.soc-row { margin-bottom: 24px; }

/* ---------- Services ---------- */
.mega__extra a.mega__svc { background: var(--red); color: #fff; border-radius: 8px; height: 36px; padding: 0 14px; margin-inline-end: 6px; font-weight: 700; }
.mega__extra a.mega__svc:hover { background: var(--red-600, #B91C2B); }
@media (max-width: 1440px) { .mega__extra a[href$="paint-calculator"] { display: none; } }
@media (max-width: 1180px) { .mega__extra a:last-child { display: inline-flex; } .mega__extra a[href$="contact"] { display: none; } }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg, 16px); overflow: hidden; transition: box-shadow var(--t), transform var(--t); }
.svc-card:hover { box-shadow: 0 12px 30px rgba(15, 46, 82, .12); transform: translateY(-3px); }
.svc-card__img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; position: relative; }
.svc-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 46, 82, .35), transparent 55%); }
.svc-card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; border-top: 4px solid var(--red); }
.svc-card__body h3 { margin: 0; font-size: 18px; color: var(--navy, #0F2E52); }
.svc-card__body p { margin: 0; color: var(--muted); font-size: 14.5px; }
.svc-card__body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.svc-card__body li { display: flex; gap: 8px; align-items: flex-start; }
.svc-card__body li .ico { width: 18px; height: 18px; color: #16A34A; flex: none; margin-top: 1px; }
.svc-card__body .btn { margin-top: auto; align-self: flex-start; }
.section--svc { background: linear-gradient(180deg, #F3F7FC, #fff); }
.svc-hero { margin: 8px 0 28px; padding: 36px; border-radius: var(--r-lg, 16px); background: linear-gradient(120deg, rgba(15, 46, 82, .94), rgba(27, 98, 171, .82)), url('../img/rooms/living-room-paint-colour-ideas.webp') center / cover; color: #fff; }
.svc-hero h1 { color: #fff; margin: 4px 0 10px; font-size: clamp(26px, 4vw, 40px); max-width: 760px; }
.svc-hero p { max-width: 720px; color: rgba(255, 255, 255, .9); font-size: 16px; margin: 0 0 20px; }
.svc-hero .page-eyebrow { color: #fff; } .svc-hero .page-eyebrow::before { background: var(--red); }
.svc-hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.svc-hero .btn--outline { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .5); }
.svc-steps { margin: 40px 0; }
.svc-steps h2 { font-size: 24px; margin: 0 0 16px; }
.svc-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: none; }
@media (max-width: 900px) { .svc-steps ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .svc-steps ol { grid-template-columns: 1fr; } }
.svc-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: #F3F7FC; border: 1px solid #D6E3F2; }
.svc-steps li span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; }
.svc-steps li p { margin: 0; font-weight: 600; color: var(--navy, #0F2E52); font-size: 14.5px; }
.svc-form-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; margin-bottom: 48px; scroll-margin-top: 140px; }
@media (max-width: 900px) { .svc-form-wrap { grid-template-columns: 1fr; gap: 16px; } }
.svc-form__side h2 { margin: 0 0 8px; font-size: 26px; }
.svc-form__side p { color: var(--muted); }
.svc-call { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 18px; border-radius: var(--r); background: var(--red); color: #fff; }
.svc-call .ico { width: 26px; height: 26px; }
.svc-call small { display: block; opacity: .85; font-size: 12px; }
.svc-call b { font-size: 18px; }
.svc-form { padding: 24px; }
.svc-done { text-align: center; padding: 20px 8px; }
.svc-done > .ico { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: #DCFCE7; color: #16A34A; }
.svc-done h3 { margin: 12px 0 6px; font-size: 22px; }

/* ---------- SEO: real <img> elements, keyword H1 ---------- */
.hero h1.hero__eyebrow { font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 0; margin: 0 0 var(--s2); max-width: 100%; }
.hero h2.hero__title { margin-top: 0; }
.cat-tile { background-image: none; }
.cat-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .5s var(--ease); }
.cat-tile:hover .cat-tile__img { transform: scale(1.05); }
.cat-tile.has-img::before { z-index: 1; }
.cat-tile > :not(.cat-tile__img):not(.cat-tile__icon) { position: relative; z-index: 2; }
.svc-card__img { background: #E9EEF5; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.04); }
.svc-card__img::after { z-index: 1; }
.thumb__brand img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
@media (max-width: 640px) { .hero h1.hero__eyebrow { font-size: 12px; } }
