/* Shikhtech storefront redesign prototype (owner request 2026-11-28).
   A showroom-style shop: big product imagery on clean light surfaces, a category
   mega menu, a hero carousel and product rails. Shikhtech's own navy and gold,
   Arabic first (RTL) with English (LTR). Not published: review copy only. */

@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("fonts/plex-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("fonts/plex-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("fonts/plex-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1d2a40;
  --ink-2: #44526b;
  --muted: #69768c;
  --line: #e3e6ec;
  --canvas: #f4f5f7;
  --surface: #ffffff;
  --tile: #f6f7f9;
  --navy: #22324b;
  --navy-deep: #18243a;
  --gold: #a98e65;
  --gold-soft: #efe7da;
  --gold-ink: #7a6240;
  --on-navy: #ffffff;
  --on-navy-2: #c9d0dc;
  --focus: #a98e65;
  --radius: 16px;
  --radius-sm: 10px;
  --shell: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(20, 30, 48, 0.05), 0 8px 24px rgba(20, 30, 48, 0.07);
  --shadow-lift: 0 2px 4px rgba(20, 30, 48, 0.06), 0 18px 40px rgba(20, 30, 48, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --ink: #eef1f6;
  --ink-2: #c3cad6;
  --muted: #98a3b6;
  --line: #2a3850;
  --canvas: #111a29;
  --surface: #172236;
  --tile: #ffffff;
  --navy: #2b3e5e;
  --navy-deep: #0c1422;
  --gold: #bfa478;
  --gold-soft: #2c2a26;
  --gold-ink: #d8c19b;
  --on-navy-2: #b4bfd1;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.35), 0 18px 40px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background-color: var(--navy-deep); overflow-x: clip; scroll-behavior: smooth; } /* behind the phone's top bar and the over-scroll: the navy of the top strip and footer (owner 2026-11-29) */
body { background: var(--canvas); color: var(--ink); font-family: "Plex Arabic", Tahoma, "Noto Sans Arabic", Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0; overflow-x: clip; }
img { block-size: auto; display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { block-size: 1px; clip: rect(0 0 0 0); inline-size: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
.shell { margin-inline: auto; max-width: var(--shell); padding-inline: var(--gutter); }
.icon { block-size: 22px; fill: none; flex: none; inline-size: 22px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
[dir="rtl"] .flip, [dir="ltr"] .flip-ltr { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn { align-items: center; border: 1px solid transparent; border-radius: 999px; cursor: pointer; display: inline-flex; font-size: 0.95rem; font-weight: 700; gap: 0.5rem; justify-content: center; min-block-size: 46px; padding: 0 1.5rem; text-decoration: none; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms var(--ease); white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--navy); color: var(--on-navy); }
.btn--primary:hover { background: var(--navy-deep); }
:root[data-theme="dark"] .btn--primary { background: var(--gold); color: #17202f; }
:root[data-theme="dark"] .btn--primary:hover { background: #d1b88e; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--surface); }
.btn--gold { background: var(--gold); color: #17202f; }
.btn--gold:hover { background: #bda27a; }
.btn--light { background: #ffffff; color: var(--navy); }
.btn--light:hover { background: var(--gold-soft); }
.link-arrow { align-items: center; color: var(--ink); display: inline-flex; font-size: 0.92rem; font-weight: 700; gap: 0.35rem; text-decoration: none; }
.link-arrow .icon { block-size: 18px; inline-size: 18px; transition: transform 200ms var(--ease); }
.link-arrow:hover .icon { transform: translateX(-3px); }
[dir="ltr"] .link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.topbar { background: var(--navy-deep); color: var(--on-navy-2); font-size: 0.8rem; }
.topbar .shell { align-items: center; display: flex; gap: 1rem; justify-content: space-between; min-block-size: 36px; }
.topbar a { color: #ffffff; text-decoration: none; }
.topbar__info { display: flex; gap: 1.25rem; }
.topbar__info span { align-items: center; display: inline-flex; gap: 0.4rem; }
.topbar__info .icon { block-size: 15px; inline-size: 15px; }
.topbar__switch { display: flex; gap: 0.25rem; }
.topbar__switch button { background: none; border: 0; border-radius: 6px; color: var(--on-navy-2); cursor: pointer; font-size: 0.8rem; padding: 0.2rem 0.55rem; }
.topbar__switch button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

.header { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-block-end: 1px solid var(--line); inset-block-start: 0; position: sticky; z-index: 50; }
.header .shell { align-items: center; display: flex; gap: clamp(0.75rem, 2vw, 2rem); min-block-size: 68px; }
.header__logo { align-items: center; display: flex; gap: 0.6rem; text-decoration: none; }
.header__logo img { block-size: 46px; inline-size: auto; }
:root[data-theme="dark"] .header__logo .logo-day { display: none; }
.header__logo .logo-night { display: none; }
:root[data-theme="dark"] .header__logo .logo-night { display: block; }
.nav { display: flex; gap: 0.25rem; margin-inline-end: auto; }
.nav > a, .nav > button { align-items: center; background: none; border: 0; border-radius: 999px; color: var(--ink); cursor: pointer; display: inline-flex; font-size: 0.93rem; font-weight: 500; gap: 0.3rem; min-block-size: 40px; padding: 0 0.85rem; text-decoration: none; transition: background-color 160ms ease; }
.nav > a:hover, .nav > button:hover, .nav > button[aria-expanded="true"] { background: var(--canvas); }
.nav .icon { block-size: 16px; inline-size: 16px; transition: transform 200ms var(--ease); }
.nav > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.header__actions { align-items: center; display: flex; gap: 0.25rem; }
.icon-btn { align-items: center; background: none; border: 0; border-radius: 999px; color: var(--ink); cursor: pointer; display: inline-flex; block-size: 44px; inline-size: 44px; justify-content: center; position: relative; text-decoration: none; transition: background-color 160ms ease; }
.icon-btn:hover { background: var(--canvas); }
.icon-btn .badge { align-items: center; background: var(--gold); border-radius: 999px; color: #17202f; display: flex; font-size: 0.66rem; font-weight: 700; block-size: 18px; inset-block-start: 4px; inset-inline-end: 2px; justify-content: center; min-inline-size: 18px; padding: 0 4px; position: absolute; }
.icon-btn .badge[data-count="0"] { display: none; }
.search:not(body) { align-items: center; background: var(--canvas); border: 1px solid transparent; border-radius: 999px; display: flex; gap: 0.4rem; inline-size: min(340px, 30vw); padding-inline: 0.9rem 0.4rem; transition: border-color 160ms ease, background-color 160ms ease; }
.search:not(body):focus-within { background: var(--surface); border-color: var(--line); }
.search:not(body) input { background: transparent; border: 0; block-size: 42px; inline-size: 100%; outline: 0; }
.search:not(body) input::placeholder { color: var(--muted); }
.menu-toggle { display: none; }

/* Mega menu */
.mega { background: var(--surface); border-block-end: 1px solid var(--line); box-shadow: 0 24px 48px rgba(20, 30, 48, 0.12); inset-inline: 0; opacity: 0; pointer-events: none; position: absolute; inset-block-start: 100%; transform: translateY(-6px); transition: opacity 200ms ease, transform 260ms var(--ease); }
.mega.is-open { opacity: 1; pointer-events: auto; transform: none; }

/* Drawer (phone menu) */
.drawer { background: var(--surface); display: flex; flex-direction: column; inset: 0; position: fixed; transform: translateX(100%); transition: transform 320ms var(--ease); visibility: hidden; z-index: 80; }
[dir="ltr"] .drawer { transform: translateX(-100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { align-items: center; border-block-end: 1px solid var(--line); display: flex; justify-content: space-between; min-block-size: 64px; padding-inline: var(--gutter); }
.drawer__head img { block-size: 40px; inline-size: auto; }
.drawer__body { overflow-y: auto; padding: 1rem var(--gutter) 2rem; }
.drawer__title { color: var(--muted); font-size: 0.78rem; font-weight: 700; margin: 0.5rem 0 0.5rem; }
.drawer__links { display: grid; margin-block-start: 1.25rem; }
.drawer__links a { border-block-end: 1px solid var(--line); display: flex; font-weight: 500; justify-content: space-between; padding: 0.95rem 0; text-decoration: none; }
.scrim { background: rgba(12, 20, 34, 0.45); inset: 0; opacity: 0; pointer-events: none; position: fixed; transition: opacity 240ms ease; z-index: 70; }
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* ---------- Hero carousel ---------- */
.hero { padding-block: clamp(0.75rem, 2vw, 1.5rem) 0; }
.hero__frame { border-radius: clamp(18px, 2vw, 28px); overflow: hidden; position: relative; }
.hero__track { display: grid; }
.slide { align-items: center; background: var(--surface); display: grid; gap: clamp(1rem, 3vw, 3rem); grid-area: 1 / 1; grid-template-columns: 1fr 1fr; min-block-size: clamp(420px, 46vw, 560px); opacity: 0; padding: clamp(1.5rem, 5vw, 4.5rem); pointer-events: none; transition: opacity 700ms ease; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide--navy { background: radial-gradient(120% 140% at 85% 20%, #2e4366 0%, var(--navy) 45%, var(--navy-deep) 100%); color: var(--on-navy); }
.slide--light { background: linear-gradient(160deg, #ffffff 0%, #f1f2f5 100%); }
:root[data-theme="dark"] .slide--light { background: linear-gradient(160deg, #1c2940 0%, #142035 100%); }
.slide__copy { display: grid; gap: 1rem; justify-items: start; max-inline-size: 30rem; }
.slide__tag { align-items: center; background: var(--gold-soft); border-radius: 999px; color: var(--gold-ink); display: inline-flex; font-size: 0.8rem; font-weight: 700; gap: 0.35rem; padding: 0.25rem 0.75rem; }
.slide--navy .slide__tag { background: rgba(169, 142, 101, 0.18); color: #e4d2b3; }
.slide h2 { font-size: clamp(1.9rem, 3.6vw, 3.3rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin: 0; text-wrap: balance; }
.slide p { color: var(--ink-2); font-size: clamp(1rem, 1.2vw, 1.15rem); margin: 0; max-inline-size: 34ch; }
.slide--navy p { color: var(--on-navy-2); }
.slide__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block-start: 0.5rem; }
.slide--navy .btn--ghost { color: #ffffff; }
.slide--navy .btn--ghost:hover { background: #ffffff; color: var(--navy); }
.slide__media { display: grid; place-items: center; }
.slide__media::before { aspect-ratio: 1; background: radial-gradient(circle at 35% 30%, #ffffff 0%, #eef0f4 70%); border-radius: 50%; content: ""; grid-area: 1 / 1; inline-size: min(92%, 430px); }
.slide__media .art { filter: drop-shadow(0 18px 30px rgba(20, 30, 48, 0.12)); grid-area: 1 / 1; inline-size: min(70%, 330px); position: relative; transform: scale(0.94) rotate(-2deg); transition: transform 1400ms var(--ease); }
.slide.is-active .slide__media .art { transform: none; }
.slide--navy .slide__media::before { background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 70%); }
:root[data-theme="dark"] .slide--light .slide__media::before { background: radial-gradient(circle at 35% 30%, #2a3b58 0%, #1a263b 70%); }
.hero__dots { display: flex; gap: 0; inset-block-end: clamp(0.75rem, 2vw, 1.25rem); inset-inline: 0; justify-content: center; position: absolute; }
.hero__dots button { align-items: center; background: none; border: 0; cursor: pointer; display: inline-flex; block-size: 28px; justify-content: center; inline-size: 34px; }
.hero__dots button::before { background: rgba(110, 120, 140, 0.4); border-radius: 999px; content: ""; block-size: 4px; inline-size: 22px; transition: background-color 200ms ease, inline-size 300ms var(--ease); }
.hero__dots button[aria-current="true"]::before { background: var(--gold); inline-size: 30px; }
.hero__nav { align-items: center; background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; display: inline-flex; block-size: 44px; inline-size: 44px; inset-block-start: 50%; justify-content: center; margin-block-start: -22px; opacity: 0; position: absolute; transition: opacity 200ms ease; }
.hero__frame:hover .hero__nav, .hero__nav:focus-visible { opacity: 1; }
.hero__nav--prev { inset-inline-start: 1rem; }
.hero__nav--next { inset-inline-end: 1rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section__head { align-items: end; display: flex; gap: 1rem; justify-content: space-between; margin-block-end: clamp(1rem, 2.4vw, 1.6rem); }
.section__head h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin: 0; }
.section__head p { color: var(--muted); font-size: 0.95rem; margin: 0.35rem 0 0; }

/* Category row */
.cat-row { display: grid; gap: clamp(0.5rem, 1.2vw, 1rem); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cat-tile { background: var(--surface); border-radius: var(--radius); display: grid; gap: 0.5rem; justify-items: center; padding: clamp(0.75rem, 1.5vw, 1.1rem) 0.6rem 1rem; text-align: center; text-decoration: none; transition: box-shadow 220ms ease, transform 220ms var(--ease); }
.cat-tile:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.cat-tile .art-tile { inline-size: min(100%, 120px); }
.cat-tile strong { font-size: 0.92rem; font-weight: 500; line-height: 1.4; }
.cat-tile span { color: var(--muted); font-size: 0.78rem; }

/* Tabs */
.tabs { display: flex; gap: 0.4rem; margin-block-end: 1.25rem; overflow-x: auto; padding-block-end: 2px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); cursor: pointer; flex: none; font-size: 0.88rem; font-weight: 500; min-block-size: 40px; padding: 0 1rem; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.tabs button:hover { border-color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }

/* Product grid and card */
.grid { display: grid; gap: clamp(0.6rem, 1.4vw, 1.1rem); grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; position: relative; transition: box-shadow 240ms ease, transform 240ms var(--ease); }
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.card__media { aspect-ratio: 1; background: #ffffff; display: block; overflow: hidden; }
.card__media img { block-size: 100%; inline-size: 100%; mix-blend-mode: multiply; object-fit: contain; padding: 10%; transition: transform 500ms var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__new { background: var(--navy); border-radius: 999px; color: #ffffff; font-size: 0.7rem; font-weight: 700; inset-block-start: 10px; inset-inline-start: 10px; padding: 0.1rem 0.6rem; position: absolute; }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 0.35rem; padding: 0.85rem 0.95rem 1rem; }
.card__cat { color: var(--muted); font-size: 0.74rem; }
.card__name { -webkit-box-orient: vertical; color: var(--ink); display: -webkit-box; font-size: 0.92rem; font-weight: 500; -webkit-line-clamp: 3; line-height: 1.5; overflow: hidden; text-decoration: none; }
.card__name::after { content: ""; inset: 0; position: absolute; }
.card__foot { align-items: center; display: flex; justify-content: space-between; margin-block-start: auto; padding-block-start: 0.35rem; }
.price { font-size: 1rem; font-weight: 700; }
.price small { color: var(--muted); font-size: 0.75em; font-weight: 500; margin-inline-start: 0.2rem; }
.price--ask { color: var(--gold-ink); font-size: 0.85rem; }
.card__add { align-items: center; background: var(--canvas); border: 0; border-radius: 999px; color: var(--ink); cursor: pointer; display: inline-flex; block-size: 38px; inline-size: 38px; justify-content: center; position: relative; transition: background-color 160ms ease, color 160ms ease; z-index: 1; }
.card__add:hover { background: var(--navy); color: #ffffff; }
.card__add .icon { block-size: 18px; inline-size: 18px; }

/* Feature duo */
.duo { display: grid; gap: clamp(0.6rem, 1.4vw, 1.1rem); grid-template-columns: 1fr 1fr; }
.feature { border-radius: clamp(18px, 2vw, 24px); display: grid; gap: 0.75rem; min-block-size: 260px; overflow: hidden; padding: clamp(1.5rem, 3.5vw, 2.75rem); position: relative; text-decoration: none; }
.feature h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 700; line-height: 1.3; margin: 0; max-inline-size: 16ch; }
.feature p { margin: 0; max-inline-size: 34ch; }
.feature .btn { justify-self: start; margin-block-start: auto; }
.feature--navy { background: var(--navy); color: #ffffff; }
.feature--navy p { color: var(--on-navy-2); }
.feature--gold { background: var(--gold-soft); color: var(--ink); }
.feature--gold p { color: var(--ink-2); }

/* Category spotlight */
.spot { display: grid; gap: clamp(0.6rem, 1.4vw, 1.1rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.spot--flip .spot__lead { order: 2; }
.spot__lead { background: var(--surface); border-radius: clamp(18px, 2vw, 24px); display: flex; flex-direction: column; overflow: hidden; text-decoration: none; }
.spot__lead-copy { display: grid; gap: 0.35rem; justify-items: start; padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.25rem) 0; }
.spot__lead h2 { color: var(--ink); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.25; margin: 0; }
.spot__lead .num { color: var(--muted); }
.spot__lead .link-arrow { color: var(--ink); margin-block-start: 0.4rem; }
.spot__art { align-items: center; display: flex; flex: 1; justify-content: center; padding: 1rem 1.5rem 2rem; }
.spot__art .art { inline-size: min(62%, 260px); transition: transform 600ms var(--ease); }
.spot__lead:hover .spot__art .art { transform: scale(1.05) rotate(-2deg); }
.spot__lead:hover .link-arrow .icon { transform: translateX(-3px); }
[dir="ltr"] .spot__lead:hover .link-arrow .icon { transform: translateX(3px); }
.spot .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spot--flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }

/* Brands */
.brands { display: grid; gap: 0.6rem; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.brands a { align-items: center; aspect-ratio: 16 / 9; background: #ffffff; border: 1px solid var(--line); border-radius: 12px; display: flex; justify-content: center; padding: 0.6rem; transition: border-color 160ms ease, transform 200ms var(--ease); }
.brands a:hover { border-color: var(--gold); transform: translateY(-2px); }
.brands img { block-size: 58%; inline-size: 82%; object-fit: contain; }

/* Service strip */
.service { display: grid; gap: 0.6rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block-start: clamp(2.5rem, 6vw, 4.5rem); }
.service > a, .service > div { align-items: center; background: var(--surface); border-radius: var(--radius); display: flex; gap: 0.9rem; padding: 1.1rem 1.25rem; text-decoration: none; }
.service .icon { block-size: 26px; color: var(--gold-ink); inline-size: 26px; }
.service strong { display: block; font-size: 0.95rem; font-weight: 700; }
.service span { color: var(--muted); font-size: 0.85rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-navy-2); margin-block-start: clamp(3rem, 7vw, 5rem); padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); }
.footer img { block-size: 64px; inline-size: auto; }
.footer h2 { color: #ffffff; font-size: 0.95rem; font-weight: 700; margin: 0 0 0.85rem; }
.footer ul { display: grid; gap: 0.55rem; list-style: none; margin: 0; padding: 0; }
.footer a { color: var(--on-navy-2); font-size: 0.9rem; text-decoration: none; }
.footer a:hover { color: #ffffff; }
.footer__about { font-size: 0.9rem; line-height: 1.8; margin: 1rem 0 0; max-inline-size: 30ch; }
.footer__bottom { border-block-start: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; font-size: 0.8rem; gap: 0.5rem 1.5rem; justify-content: space-between; margin-block-start: 2.5rem; padding-block-start: 1.25rem; }

/* ---------- Category page ---------- */
.crumbs { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 0.85rem; gap: 0.4rem; padding-block: 1.25rem 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .icon { block-size: 14px; inline-size: 14px; }
.cat-hero { align-items: center; background: var(--surface); border-radius: clamp(18px, 2vw, 28px); display: grid; gap: 1.5rem; grid-template-columns: 1fr auto; margin-block-start: 1rem; overflow: hidden; padding: clamp(1.5rem, 4vw, 3rem); }
.cat-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 700; line-height: 1.2; margin: 0; }
.cat-hero p { color: var(--muted); margin: 0.5rem 0 0; }
.cat-hero .art-tile--hero { inline-size: clamp(110px, 14vw, 180px); }
.toolbar { align-items: center; background: color-mix(in srgb, var(--canvas) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; gap: 1rem; inset-block-start: 68px; justify-content: space-between; margin-block: 1rem; padding-block: 0.6rem; position: sticky; z-index: 20; }
.toolbar__count { color: var(--muted); font-size: 0.9rem; }
.toolbar select { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; min-block-size: 42px; padding: 0 1rem; }
.empty { background: var(--surface); border-radius: var(--radius); color: var(--muted); padding: 3rem 1rem; text-align: center; }

/* ---------- Product page ---------- */
.pdp { align-items: start; display: grid; gap: clamp(1rem, 3vw, 3rem); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-block-start: 1rem; }
.pdp__media { aspect-ratio: 1; background: #ffffff; border-radius: clamp(18px, 2vw, 28px); display: grid; inset-block-start: 88px; overflow: hidden; place-items: center; position: sticky; }
.pdp__media img { block-size: 100%; inline-size: 100%; mix-blend-mode: multiply; object-fit: contain; padding: 8%; }
.pdp__panel { background: var(--surface); border-radius: clamp(18px, 2vw, 28px); display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2.25rem); }
.pdp__cat { color: var(--gold-ink); font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.pdp h1 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.35; margin: 0; }
.pdp__price { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
.pdp__price small { color: var(--muted); font-size: 0.55em; font-weight: 500; margin-inline-start: 0.3rem; }
.pdp__meta { border-block: 1px solid var(--line); display: grid; gap: 0.6rem; margin: 0; padding-block: 1rem; }
.pdp__meta div { display: flex; justify-content: space-between; }
.pdp__meta dt { color: var(--muted); }
.pdp__meta dd { font-weight: 500; margin: 0; }
.qty { align-items: center; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; }
.qty button { align-items: center; background: none; border: 0; border-radius: 999px; cursor: pointer; display: inline-flex; block-size: 46px; inline-size: 46px; justify-content: center; }
.qty output { font-weight: 700; inline-size: 2.5rem; text-align: center; }
.pdp__buy { display: flex; gap: 0.6rem; }
.pdp__buy .btn--primary { flex: 1; }
.pdp__ask { color: var(--ink-2); font-size: 0.9rem; }
.pdp__ask a { color: var(--ink); font-weight: 700; }

/* Toast */
.toast { align-items: center; background: var(--ink); border-radius: 999px; box-shadow: var(--shadow-lift); color: var(--surface); display: flex; font-size: 0.9rem; gap: 0.6rem; inset-block-end: 1.25rem; inset-inline: 0; margin-inline: auto; max-inline-size: max-content; opacity: 0; padding: 0.7rem 1.2rem; pointer-events: none; position: fixed; transform: translateY(16px); transition: opacity 220ms ease, transform 320ms var(--ease); z-index: 90; }
.toast.is-on { opacity: 1; transform: none; }

/* Prototype ribbon */
.proto { background: var(--gold); color: #17202f; font-size: 0.78rem; font-weight: 700; padding: 0.35rem var(--gutter); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .search:not(body) { inline-size: auto; flex: 1; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brands { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar__info span:nth-child(2) { display: none; }
  .header .shell { flex-wrap: wrap; gap: 0.25rem; min-block-size: 60px; }
  .header__logo { margin-inline-end: auto; order: 1; }
  .header__logo img { block-size: 40px; }
  .menu-toggle { order: 0; }
  .header__actions { order: 2; }
  .search:not(body) { flex-basis: 100%; margin-block-end: 0.6rem; order: 3; }
  .toolbar { inset-block-start: 116px; }
  .slide { grid-template-columns: 1fr; grid-template-rows: auto auto; min-block-size: 0; padding: 1.5rem 1.25rem 3rem; text-align: center; }
  .slide__copy { justify-items: center; margin-inline: auto; order: 2; }
  .slide__media { order: 1; }
  .slide__media::before { inline-size: 210px; }
  .slide__media .art { inline-size: 150px; }
  .slide h2 { font-size: 1.65rem; }
  .slide__actions { justify-content: center; }
  .hero__nav { display: none; }
  .cat-row { display: flex; gap: 0.5rem; margin-inline: calc(var(--gutter) * -1); overflow-x: auto; padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cat-row::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 31%; scroll-snap-align: start; }
  .grid, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__body { padding: 0.7rem 0.75rem 0.8rem; }
  .card__name { font-size: 0.86rem; }
  .price { font-size: 0.92rem; }
  .card__add { block-size: 34px; inline-size: 34px; }
  .duo { grid-template-columns: 1fr; }
  .feature { min-block-size: 210px; }
  .spot, .spot--flip { grid-template-columns: 1fr; }
  .spot--flip .spot__lead { order: 0; }
  .brands { display: flex; margin-inline: calc(var(--gutter) * -1); overflow-x: auto; padding-inline: var(--gutter); scrollbar-width: none; }
  .brands::-webkit-scrollbar { display: none; }
  .brands a { flex: 0 0 34%; }
  .service { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .cat-hero { grid-template-columns: 1fr; text-align: center; }
  .cat-hero .art-tile--hero { margin-inline: auto; order: -1; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { inset-block-start: auto; position: relative; }
  .section__head .link-arrow { font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .slide__media .art, .card, .card__media img, .cat-tile, .drawer, .mega, .toast { transition-duration: 1ms !important; }
  .card:hover, .cat-tile:hover { transform: none; }
}


/* ---------- Category drawings ---------- */
.art { --art-line: var(--ink); --art-plane: #ffffff; display: block; overflow: visible; }
.art .l { fill: none; stroke: var(--art-line); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.art .p { fill: var(--art-plane); stroke: var(--art-line); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.art .a { fill: var(--gold); }
.art .k { fill: var(--art-line); }
:root[data-theme="dark"] .art { --art-line: #e9edf3; --art-plane: #22324b; }
.slide--navy .art { --art-line: #f1f4f8; --art-plane: #2c4061; }
.art-tile { align-items: center; aspect-ratio: 1; background: radial-gradient(circle at 30% 25%, #ffffff 0%, #eceff4 100%); border-radius: 22%; display: flex; justify-content: center; }
.art-tile .art { inline-size: 62%; transition: transform 300ms var(--ease); }
:root[data-theme="dark"] .art-tile { background: radial-gradient(circle at 30% 25%, #2a3b58 0%, #1a263b 100%); }
.cat-tile:hover .art-tile .art { transform: scale(1.06) rotate(-3deg); }

/* ---------- Dark mode product photos: a light plate inside the card, never a white block ---------- */
:root[data-theme="dark"] .card__media { background: #eef0f3; border-radius: 12px; margin: 8px 8px 0; }
:root[data-theme="dark"] .pdp__media { background: #eef0f3; }
:root[data-theme="dark"] .cart__img { background: #eef0f3; }

/* ---------- Back button ---------- */
.pagebar { align-items: center; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; padding-block: 1.1rem 0; }
.pagebar .crumbs { padding: 0; }
.back { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); display: inline-flex; font-size: 0.88rem; font-weight: 700; gap: 0.35rem; min-block-size: 40px; padding: 0 0.95rem 0 0.8rem; text-decoration: none; transition: border-color 160ms ease; }
.back:hover { border-color: var(--ink-2); }
.back .icon { block-size: 18px; inline-size: 18px; }

/* ---------- Cart panel ---------- */
.cart { background: var(--surface); box-shadow: var(--shadow-lift); display: flex; flex-direction: column; inline-size: min(420px, 100%); inset-block: 0; inset-inline-end: 0; position: fixed; transform: translateX(-100%); transition: transform 320ms var(--ease); visibility: hidden; z-index: 85; }
[dir="ltr"] .cart { transform: translateX(100%); }
.cart.is-open { transform: none; visibility: visible; }
.cart__head { align-items: center; border-block-end: 1px solid var(--line); display: flex; justify-content: space-between; min-block-size: 64px; padding-inline: 1.25rem 0.75rem; }
.cart__head h2 { font-size: 1.15rem; margin: 0; }
.cart__body { flex: 1; overflow-y: auto; padding: 0.5rem 1.25rem; }
.cart__list { list-style: none; margin: 0; padding: 0; }
.cart__item { border-block-end: 1px solid var(--line); display: grid; gap: 0.85rem; grid-template-columns: 72px 1fr; padding-block: 1rem; }
.cart__img { background: #ffffff; border-radius: 12px; display: block; overflow: hidden; }
.cart__img img { aspect-ratio: 1; inline-size: 100%; mix-blend-mode: multiply; object-fit: contain; padding: 6px; }
.cart__info { display: grid; gap: 0.3rem; }
.cart__info > a { -webkit-box-orient: vertical; display: -webkit-box; font-size: 0.9rem; font-weight: 500; -webkit-line-clamp: 2; line-height: 1.45; overflow: hidden; text-decoration: none; }
.cart__row { align-items: center; display: flex; justify-content: space-between; margin-block-start: 0.2rem; }
.qty--sm button { block-size: 34px; inline-size: 34px; }
.qty--sm .icon { block-size: 16px; inline-size: 16px; }
.qty--sm output { inline-size: 2rem; }
.cart__remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 0.85rem; min-block-size: 34px; text-decoration: underline; text-underline-offset: 3px; }
.cart__remove:hover { color: var(--ink); }
.cart__foot { border-block-start: 1px solid var(--line); display: grid; gap: 0.6rem; padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); }
.cart__foot[hidden] { display: none; }
.cart__total { align-items: baseline; display: flex; justify-content: space-between; }
.cart__total strong { font-size: 1.25rem; }
.cart__note { color: var(--muted); font-size: 0.82rem; margin: 0; }
.cart__empty { align-items: center; color: var(--muted); display: grid; gap: 0.75rem; justify-items: center; padding: 4rem 1rem; text-align: center; }
.cart__empty .icon { block-size: 44px; inline-size: 44px; }
.cart__empty p { margin: 0; }
.toast.is-on { pointer-events: auto; }
.toast button { background: none; border: 0; color: var(--gold); cursor: pointer; font-weight: 700; min-block-size: 28px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="dark"] .toast button { color: #7a6240; }
@media (prefers-reduced-motion: reduce) { .cart { transition-duration: 1ms !important; } }

/* ---------- Shop menu: main categories on one side, every subcategory of the one in focus beside it ---------- */
.mega__grid { display: grid; gap: 1.5rem; grid-template-columns: 290px 1fr; padding-block: 1.25rem 1.5rem; }
.mega__mains { border-inline-end: 1px solid var(--line); display: grid; gap: 2px; max-block-size: min(70vh, 620px); overflow-y: auto; padding-inline-end: 0.75rem; }
.mega__main { align-items: center; border-radius: 12px; color: var(--ink); display: grid; font-size: 0.92rem; font-weight: 500; gap: 0.7rem; grid-template-columns: 40px 1fr 16px; padding: 0.4rem 0.6rem; text-decoration: none; }
.mega__main .art-tile { inline-size: 40px; }
.mega__main .icon { block-size: 16px; color: var(--muted); inline-size: 16px; opacity: 0; }
.mega__main[aria-current="true"] { background: var(--canvas); font-weight: 700; }
.mega__main[aria-current="true"] .icon { opacity: 1; }
.mega__panes { align-self: start; min-inline-size: 0; padding-block-start: 0.35rem; }
.mega__all { align-items: center; color: var(--ink); display: inline-flex; font-size: 1.15rem; font-weight: 700; gap: 0.5rem; margin-block-end: 1rem; text-decoration: none; }
.mega__all .num { background: var(--canvas); border-radius: 999px; color: var(--muted); font-size: 0.78rem; font-weight: 500; padding: 0.1rem 0.55rem; }
.mega__all .icon { block-size: 18px; inline-size: 18px; }
.mega__all:hover { color: var(--gold-ink); }
.mega__subs { column-gap: 1.5rem; columns: 3; list-style: none; margin: 0; padding: 0; }
.mega__subs li { break-inside: avoid; }
.mega__subs a { align-items: baseline; border-radius: 8px; color: var(--ink-2); display: flex; font-size: 0.9rem; gap: 0.5rem; justify-content: space-between; padding: 0.4rem 0.5rem; text-decoration: none; }
.mega__subs a:hover { background: var(--canvas); color: var(--ink); }
.mega__subs .num { color: var(--muted); font-size: 0.75rem; }

/* ---------- Phone menu: categories, then a second screen with every subcategory ---------- */
.drawer__title { color: var(--muted); font-size: 0.78rem; font-weight: 700; margin: 0.25rem 0 0.5rem; }
.drawer__list { display: grid; list-style: none; margin: 0; padding: 0; }
.drawer__row { align-items: center; background: none; border: 0; border-block-end: 1px solid var(--line); color: var(--ink); cursor: pointer; display: grid; gap: 0.8rem; grid-template-columns: auto 1fr 18px; inline-size: 100%; min-block-size: 60px; padding: 0.5rem 0; text-align: start; text-decoration: none; }
a.drawer__row { grid-template-columns: 1fr 18px; }
.drawer__row .art-tile { inline-size: 44px; }
.drawer__row .icon { block-size: 18px; color: var(--muted); inline-size: 18px; }
.drawer__name { display: grid; font-size: 0.98rem; font-weight: 500; line-height: 1.35; }
.drawer__name small { color: var(--muted); font-size: 0.78rem; font-weight: 400; }
.drawer__row--all .drawer__name { color: var(--gold-ink); font-weight: 700; }
.drawer__up { align-items: center; background: var(--canvas); border: 0; border-radius: 999px; color: var(--ink); cursor: pointer; display: inline-flex; font-size: 0.88rem; font-weight: 700; gap: 0.35rem; min-block-size: 40px; padding: 0 0.9rem; }
.drawer__up .icon { block-size: 18px; inline-size: 18px; }
.drawer__level h3 { font-size: 1.3rem; margin: 1rem 0 0.25rem; }
.drawer__level[hidden] { display: none; }

/* ---------- Category page: every type shown as a picture tile ---------- */
.types { margin-block-start: clamp(1.5rem, 3vw, 2.25rem); }
.types h2 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); margin: 0 0 0.9rem; }
.types__grid { display: grid; gap: clamp(0.5rem, 1vw, 0.8rem); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.type { background: var(--surface); border: 1px solid transparent; border-radius: var(--radius); color: var(--ink); display: grid; gap: 0.3rem; padding: 0.6rem 0.6rem 0.8rem; text-align: center; text-decoration: none; transition: border-color 160ms ease, box-shadow 220ms ease, transform 220ms var(--ease); }
.type:hover { border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-2px); }
.type__img { align-items: center; aspect-ratio: 4 / 3; background: #ffffff; border-radius: 10px; display: flex; justify-content: center; overflow: hidden; }
.type__img img { block-size: 100%; inline-size: 100%; mix-blend-mode: multiply; object-fit: contain; padding: 8%; }
.type__name { font-size: 0.9rem; font-weight: 700; line-height: 1.35; }
.type__count { color: var(--muted); font-size: 0.76rem; }
:root[data-theme="dark"] .type__img { background: #eef0f3; }

/* Subcategory page: its sister types always in view, wrapping, never hidden in a scroll strip */
.siblings { display: grid; gap: 0.5rem; margin-block-start: 1.1rem; }
.siblings > span { color: var(--muted); font-size: 0.85rem; }
.siblings__list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.siblings__list a { background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 0.86rem; min-block-size: 38px; padding: 0.45rem 0.9rem; text-decoration: none; }
.siblings__list a:hover { border-color: var(--ink-2); }
.siblings__list a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }

/* Brand page logo */
.brand-tile { align-items: center; aspect-ratio: 16 / 10; background: #ffffff; border: 1px solid var(--line); border-radius: 18px; display: flex; inline-size: clamp(140px, 16vw, 220px); justify-content: center; padding: 1rem; }
.brand-tile img { max-block-size: 70%; max-inline-size: 85%; object-fit: contain; }

/* Items without a photo yet: the shop logo, faint, on the same tile */
.card__media--empty, .pdp__media--empty { align-items: center; display: flex; justify-content: center; }
.card__media--empty .card__logo, .pdp__media--empty .card__logo, .type__img .card__logo { block-size: auto !important; inline-size: 42% !important; mix-blend-mode: normal; opacity: 0.28; padding: 0 !important; }
.cat-photo { block-size: 100%; border-radius: inherit; inline-size: 100%; object-fit: cover; }

@media (max-width: 760px) {
  /* Owner 2026-11-29 (same as the customer app, commit 24b8b2c): on phones the types are one row that
     slides sideways, edge to edge like «تسوق حسب القسم», most items first; the start follows the
     language (right in Arabic and Kurdish, left in English) because the row follows the page direction. */
  .types__grid { display: flex; gap: 8px; margin-inline: calc(var(--gutter) * -1); overflow-x: auto; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .types__grid::-webkit-scrollbar { display: none; }
  .types__grid > .type { flex: 0 0 140px; scroll-snap-align: start; }
  .cat-hero .brand-tile { margin-inline: auto; order: -1; }
}
.siblings:not(.is-open) [data-more-type] { display: none; }
.siblings__more { background: none; border: 1px dashed var(--ink-2); border-radius: 999px; color: var(--ink); cursor: pointer; font-size: 0.86rem; font-weight: 700; min-block-size: 38px; padding: 0.45rem 0.9rem; }

/* ---------- Category pictures (AI-generated, cut out: they sit on the page colour in light and dark) ---------- */
picture { display: contents; }
.art-tile:has(.cat-photo) { background: transparent; overflow: visible; }
.art-tile .cat-photo { block-size: 100%; filter: drop-shadow(0 10px 14px rgba(20, 30, 48, 0.14)); inline-size: 100%; object-fit: contain; transition: transform 400ms var(--ease); }
:root[data-theme="dark"] .art-tile .cat-photo, .slide--navy .cat-photo { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45)); }
.cat-tile:hover .art-tile .cat-photo, .mega__main:hover .cat-photo { transform: scale(1.06); }
.cat-tile:has(.cat-photo) { background: transparent; }
.cat-tile:has(.cat-photo):hover { background: var(--surface); box-shadow: none; }
.slide__media:has(.cat-photo)::before { display: none; }
.slide__media .cat-photo { aspect-ratio: 1; block-size: auto; filter: drop-shadow(0 24px 30px rgba(20, 30, 48, 0.18)); grid-area: 1 / 1; inline-size: min(92%, 470px); transform: scale(0.97); transition: transform 1400ms var(--ease); }
.slide.is-active .slide__media .cat-photo { transform: none; }
.spot__art .cat-photo { aspect-ratio: 1; block-size: auto; filter: drop-shadow(0 16px 22px rgba(20, 30, 48, 0.16)); inline-size: min(86%, 380px); transition: transform 600ms var(--ease); }
:root[data-theme="dark"] .spot__art .cat-photo, :root[data-theme="dark"] .slide__media .cat-photo { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5)); }
.spot__lead:hover .spot__art .cat-photo { transform: scale(1.04); }
.cat-tile .art-tile { inline-size: 100%; }
@media (max-width: 760px) {
  .slide__media .cat-photo { inline-size: 250px; }
}
:root[data-theme="dark"] .art-tile:has(.cat-photo) { background: transparent; }

/* Shadows for the transparent category pictures, set per mode (owner request 2026-11-28):
   light mode: a soft navy-tinted shadow under the products; dark mode: a deeper, tighter shadow
   that still reads on navy. The pictures themselves carry no shadow or background. */
.art-tile .cat-photo { filter: drop-shadow(0 8px 10px rgba(29, 42, 64, 0.16)) drop-shadow(0 2px 3px rgba(29, 42, 64, 0.10)); }
.slide__media .cat-photo, .spot__art .cat-photo { filter: drop-shadow(0 22px 26px rgba(29, 42, 64, 0.18)) drop-shadow(0 4px 6px rgba(29, 42, 64, 0.10)); }
:root[data-theme="dark"] .art-tile .cat-photo { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.55)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); }
:root[data-theme="dark"] .slide__media .cat-photo, :root[data-theme="dark"] .spot__art .cat-photo, .slide--navy .slide__media .cat-photo { filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.6)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45)); }

/* ---------- Category pictures: one professional contact shadow (owner request 2026-11-28) ----------
   The pictures are transparent and every group stands on the same line (7% above the bottom of its
   square). Under that line sits one soft oval shadow, like a studio shot, instead of a shadow that
   traces every object. Light mode: navy-tinted and gentle; dark mode: deeper and a little wider. */
.cat-stage { aspect-ratio: 1; display: block; inline-size: 100%; isolation: isolate; position: relative; }
.cat-stage::after { background: radial-gradient(closest-side, rgba(29, 42, 64, 0.30), rgba(29, 42, 64, 0.14) 50%, rgba(29, 42, 64, 0) 100%); block-size: 9%; content: ""; inline-size: 74%; inset-block-end: 2.5%; inset-inline-start: 13%; position: absolute; z-index: -1; }
:root[data-theme="dark"] .cat-stage::after, .slide--navy .cat-stage::after { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.30) 50%, rgba(0, 0, 0, 0) 100%); block-size: 10%; inline-size: 80%; inset-inline-start: 10%; }
.cat-stage .cat-photo, .art-tile .cat-stage .cat-photo, .slide__media .cat-stage .cat-photo, .spot__art .cat-stage .cat-photo, :root[data-theme="dark"] .art-tile .cat-photo, :root[data-theme="dark"] .slide__media .cat-photo, :root[data-theme="dark"] .spot__art .cat-photo, .slide--navy .slide__media .cat-photo {
  aspect-ratio: 1; block-size: 100%; border-radius: 0; box-shadow: none; display: block; filter: drop-shadow(0 1px 1px rgba(29, 42, 64, 0.10)); grid-area: auto; inline-size: 100%; object-fit: contain; position: relative; transform: none;
}
:root[data-theme="dark"] .cat-stage .cat-photo { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35)); }
.slide__media .cat-stage { grid-area: 1 / 1; inline-size: min(92%, 470px); transform: scale(0.97); transition: transform 1400ms var(--ease); }
.slide.is-active .slide__media .cat-stage { transform: none; }
.spot__art .cat-stage { inline-size: min(86%, 380px); transition: transform 600ms var(--ease); }
.spot__lead:hover .spot__art .cat-stage { transform: scale(1.03); }
.cat-tile:hover .cat-stage, .mega__main:hover .cat-stage { transform: scale(1.05); }
.cat-tile .cat-stage, .mega__main .cat-stage { transition: transform 400ms var(--ease); }
@media (max-width: 760px) {
  .slide__media .cat-stage { inline-size: 250px; }
}
.more { display: flex; justify-content: center; margin-block-start: 1.5rem; }
.more[hidden] { display: none; }

/* Shadow that follows each item's own outline and sits right under its base (owner 2026-11-28):
   a separate black shadow layer per picture (img/cat-*-shadow), built from the picture's shape,
   placed exactly under it. Light mode shows it softly; dark mode stronger so it still reads on navy.
   Replaces the oval shadow. */
.cat-stage::after, :root[data-theme="dark"] .cat-stage::after, .slide--navy .cat-stage::after { display: none; }
.cat-stage .cat-shadow { block-size: 100%; inline-size: 100%; inset: 0; object-fit: contain; opacity: 0.6; pointer-events: none; position: absolute; z-index: 0; }
:root[data-theme="dark"] .cat-stage .cat-shadow, .slide--navy .cat-stage .cat-shadow { display: none; }
.cat-stage .cat-photo, :root[data-theme="dark"] .cat-stage .cat-photo { filter: none; z-index: 1; }


/* ---------- Shopping assistant «اسأل شيخ تك» (copied from assets/css/site.css; the old stylesheet is not loaded on the new design's pages) ---------- */
:root { --st-font-arabic: "Plex Arabic", Tahoma, "Noto Sans Arabic", Arial, sans-serif; }
.st-assist { --sa-bg: #ffffff; --sa-soft: #f6f3ec; --sa-ink: #22324b; --sa-muted: rgba(34, 50, 75, 0.66); --sa-line: rgba(34, 50, 75, 0.14); --sa-gold: #a98e65; --sa-user: #22324b; --sa-user-ink: #ffffff; font-family: var(--st-font-arabic); }
html[data-theme="dark"] .st-assist { --sa-bg: #151f30; --sa-soft: #1d2a40; --sa-ink: #f1ece3; --sa-muted: rgba(241, 236, 227, 0.66); --sa-line: rgba(241, 236, 227, 0.14); --sa-user: #a98e65; --sa-user-ink: #151f30; }
.st-assist__fab { align-items: center; background: var(--sa-gold); border: 0; border-radius: 999px; bottom: max(1.2rem, env(safe-area-inset-bottom)); box-shadow: 0 14px 36px rgba(34, 50, 75, 0.28); color: #ffffff; cursor: pointer; display: inline-flex; font: inherit; font-size: 0.84rem; font-weight: 800; gap: 0.45rem; inset-inline-start: 1.2rem; padding: 0.72rem 1rem; position: fixed; transition: transform 180ms ease; z-index: 9990; }
.st-assist__fab:hover { transform: translateY(-2px); }
.st-assist.is-open .st-assist__fab { display: none; }
.st-assist__panel { background: var(--sa-bg); border: 1px solid var(--sa-line); border-radius: 20px; bottom: max(1.2rem, env(safe-area-inset-bottom)); box-shadow: 0 24px 64px rgba(15, 22, 35, 0.32); color: var(--sa-ink); display: flex; flex-direction: column; height: min(620px, calc(100vh - 2.4rem)); inset-inline-start: 1.2rem; overflow: hidden; position: fixed; width: min(400px, calc(100vw - 2.4rem)); z-index: 9991; }
.st-assist__panel[hidden] { display: none; }
.st-assist__head { align-items: center; background: #22324b; color: #ffffff; display: flex; gap: 0.5rem; padding: 0.85rem 1rem; }
.st-assist__head div { display: flex; flex: 1; flex-direction: column; gap: 0.15rem; min-width: 0; }
.st-assist__head strong { font-size: 0.98rem; }
.st-assist__head small { color: rgba(255, 255, 255, 0.72); font-size: 0.74rem; }
.st-assist__clear { background: rgba(255, 255, 255, 0.12); border: 0; border-radius: 999px; color: #ffffff; cursor: pointer; font: inherit; font-size: 0.72rem; padding: 0.35rem 0.7rem; white-space: nowrap; }
.st-assist__x { background: transparent; border: 0; color: #ffffff; cursor: pointer; font-size: 1.6rem; line-height: 1; padding: 0 0.25rem; }
.st-assist__log { display: flex; flex: 1; flex-direction: column; gap: 0.6rem; overflow-y: auto; overscroll-behavior: contain; padding: 1rem; }
.st-assist__msg { border-radius: 16px; font-size: 0.88rem; line-height: 1.75; max-width: 92%; padding: 0.6rem 0.85rem; }
.st-assist__msg p { margin: 0 0 0.35rem; }
.st-assist__msg p:last-child { margin-bottom: 0; }
.st-assist__msg.is-bot { align-self: flex-start; background: var(--sa-soft); }
.st-assist__msg.is-user { align-self: flex-end; background: var(--sa-user); color: var(--sa-user-ink); }
.st-assist__msg.is-error { border: 1px solid rgba(180, 60, 50, 0.4); }
.st-assist__msg.is-typing { align-items: center; display: flex; gap: 0.3rem; }
.st-assist__msg.is-typing span { animation: st-assist-dot 1s infinite ease-in-out; background: var(--sa-gold); border-radius: 50%; height: 7px; width: 7px; }
.st-assist__msg.is-typing span:nth-child(2) { animation-delay: 0.15s; }
.st-assist__msg.is-typing span:nth-child(3) { animation-delay: 0.3s; }
.st-assist__msg.is-typing em { color: var(--sa-muted); font-size: 0.78rem; font-style: normal; margin-inline-start: 0.3rem; }
@keyframes st-assist-dot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.st-assist__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.st-assist__chips button { background: transparent; border: 1px solid var(--sa-gold); border-radius: 999px; color: var(--sa-ink); cursor: pointer; font: inherit; font-size: 0.78rem; padding: 0.4rem 0.75rem; }
.st-assist__card { align-items: center; background: var(--sa-bg); border: 1px solid var(--sa-line); border-radius: 14px; display: flex; gap: 0.6rem; margin: 0.4rem 0; padding: 0.5rem; }
.st-assist__card img, .st-assist__noimg { background: #ffffff; border-radius: 10px; display: block; flex: none; height: 56px; object-fit: contain; width: 56px; }
.st-assist__noimg { background: var(--sa-soft); }
.st-assist__card-body { display: flex; flex: 1; flex-direction: column; gap: 0.15rem; min-width: 0; }
.st-assist__card-name { color: var(--sa-ink); display: -webkit-box; font-size: 0.8rem; font-weight: 700; line-height: 1.45; overflow: hidden; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.st-assist__price { color: var(--sa-gold); font-size: 0.8rem; font-weight: 800; }
.st-assist__add { background: #22324b; border: 0; border-radius: 10px; color: #ffffff; cursor: pointer; flex: none; font: inherit; font-size: 0.72rem; font-weight: 700; padding: 0.5rem 0.6rem; }
html[data-theme="dark"] .st-assist__add { background: var(--sa-gold); color: #151f30; }
.st-assist__add.is-done { background: #2f7a4a; color: #ffffff; }
.st-assist__out { color: var(--sa-muted); flex: none; font-size: 0.72rem; }
.st-assist__form { align-items: flex-end; border-top: 1px solid var(--sa-line); display: flex; gap: 0.5rem; padding: 0.65rem 0.75rem 0.3rem; }
.st-assist__form textarea { background: var(--sa-soft); border: 1px solid var(--sa-line); border-radius: 14px; color: var(--sa-ink); flex: 1; font: inherit; font-size: 16px; line-height: 1.5; max-height: 120px; min-height: 44px; padding: 0.6rem 0.8rem; resize: none; }
.st-assist__send { align-items: center; background: var(--sa-gold); border: 0; border-radius: 50%; color: #ffffff; cursor: pointer; display: inline-flex; flex: none; height: 44px; justify-content: center; width: 44px; }
.st-assist__send:disabled { opacity: 0.5; }
html[dir="rtl"] .st-assist__send svg { transform: scaleX(-1); }
.st-assist__note { color: var(--sa-muted); font-size: 0.68rem; margin: 0; padding: 0 0.9rem 0.6rem; text-align: center; }
@media (max-width: 640px) {
  .st-assist__fab { bottom: max(0.9rem, env(safe-area-inset-bottom)); inset-inline-start: 0.9rem; padding: 0.68rem 0.85rem; }
  .st-assist__panel { border-radius: 0; bottom: 0; height: 100dvh; inset-inline-start: 0; width: 100vw; padding-bottom: env(safe-area-inset-bottom); }
}

/* Plain text version printed by WordPress for search engines and visitors without JavaScript;
   the page script replaces it straight away. */
.rd-plain { padding-block: 2rem; }
.rd-plain ul { line-height: 2; }

/* ---------- Back button and crumbs, one tidy line (owner 2026-11-29: «بشكل ارتب ومتناسق مع الكتابات الي يمه») ----------
   The back link speaks in the crumbs' own size and colour: a small outlined circle with the arrow, the
   word beside it, then a thin divider and the trail. The trail stays on one line and the item's name
   is cut with «…» instead of wrapping under the button. */
.pagebar { align-items: center; display: flex; flex-wrap: nowrap; gap: 0.75rem; padding-block: 1.25rem 0.25rem; }
.back { align-items: center; background: none; border: 0; border-inline-end: 1px solid var(--line); border-radius: 0; box-shadow: none; color: var(--ink); display: inline-flex; flex: none; font-size: 0.85rem; font-weight: 700; gap: 0.5rem; min-block-size: 32px; padding: 0; padding-inline-end: 0.85rem; text-decoration: none; transform: none; }
.back:hover, .back:active { box-shadow: none; transform: none; }
.back .icon { background: var(--surface); block-size: 32px; border: 1px solid var(--line); border-radius: 50%; box-sizing: border-box; color: var(--ink); inline-size: 32px; padding: 7px; stroke-width: 2; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 220ms var(--ease); }
.back:hover .icon { background: var(--navy); border-color: var(--navy); color: #ffffff; }
[dir="rtl"] .back:hover .icon { transform: scaleX(-1) translateX(-2px); }
[dir="ltr"] .back:hover .icon { transform: translateX(-2px); }
.back:active .icon { transform: scale(0.92); }
[dir="rtl"] .back:active .icon { transform: scaleX(-1) scale(0.92); }
:root[data-theme="dark"] .back:hover .icon { background: var(--gold); border-color: var(--gold); color: #17202f; }
.pagebar .crumbs { flex: 1; flex-wrap: nowrap; min-inline-size: 0; overflow: hidden; white-space: nowrap; }
.pagebar .crumbs > * { flex: none; }
.pagebar .crumbs > span:last-child { color: var(--ink-2); flex: 0 1 auto; min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .pagebar { gap: 0.6rem; }
  .back { padding-inline-end: 0.6rem; }
  /* On a phone the item's name is already the page title under the picture, so the trail ends at its type. */
  .pagebar .crumbs { font-size: 0.8rem; }
  .pagebar .crumbs > span:last-child:not(:first-child), .pagebar .crumbs > .icon:nth-last-child(2) { display: none; }
}

/* ---------- Site tools: four banners, each with a picture showing what the tool does ---------- */
.tools { display: grid; gap: clamp(0.6rem, 1.4vw, 1.1rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool { align-items: center; border-radius: clamp(18px, 2vw, 24px); display: grid; gap: 0.5rem 1rem; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-block-size: 250px; overflow: hidden; padding: clamp(1.25rem, 3vw, 2.25rem); position: relative; text-decoration: none; transition: box-shadow 240ms ease, transform 240ms var(--ease); }
.tool:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.tool__copy { align-content: center; display: grid; gap: 0.7rem; justify-items: start; }
.tool h3 { font-size: clamp(1.2rem, 1.9vw, 1.6rem); font-weight: 700; line-height: 1.3; margin: 0; }
.tool p { margin: 0; max-inline-size: 30ch; }
.tool .btn { margin-block-start: 0.4rem; min-block-size: 42px; }
.tool__art { align-self: stretch; display: grid; place-items: center; }
.tool__art .cat-stage { inline-size: min(100%, 250px); transition: transform 500ms var(--ease); }
.tool:hover .tool__art .cat-stage { transform: scale(1.05) rotate(-1.5deg); }
.tool--navy { background: radial-gradient(120% 140% at 85% 20%, #2e4366 0%, var(--navy) 50%, var(--navy-deep) 100%); color: #ffffff; }
.tool--navy p { color: var(--on-navy-2); }
.tool--navy .cat-stage .cat-shadow { display: none; }
.tool--gold { background: var(--gold-soft); color: var(--ink); }
.tool--gold p { color: var(--ink-2); }
.tool--light { background: var(--surface); color: var(--ink); }
.tool--light p { color: var(--ink-2); }
@media (max-width: 760px) {
  .tools { grid-template-columns: 1fr; }
  .tool { grid-template-columns: minmax(0, 1fr) 132px; min-block-size: 0; padding: 1.2rem; }
  .tool__art .cat-stage { inline-size: 132px; }
  .tool p { font-size: 0.9rem; }
}

/* ---------- Favourite heart (owner 2026-11-28) ----------
   A round frosted button in the picture's top corner, opposite the «جديد» label. Empty heart
   in ink; once saved it fills red with a small pop. Works on cards and on the product picture. */
.fav { align-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(255, 255, 255, 0.88); border: 0; border-radius: 50%; box-shadow: 0 1px 2px rgba(29, 42, 64, 0.10), 0 4px 12px rgba(29, 42, 64, 0.10); color: #1d2a40; cursor: pointer; display: inline-flex; block-size: 36px; inline-size: 36px; justify-content: center; padding: 0; position: absolute; transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease); z-index: 2; }
.fav:hover { background: #ffffff; transform: scale(1.08); }
.fav .icon { block-size: 19px; inline-size: 19px; stroke-width: 1.9; }
.fav[aria-pressed="true"] { color: #d64541; }
.fav[aria-pressed="true"] .icon { fill: currentColor; }
.fav.is-pop .icon { animation: fav-pop 420ms var(--ease); }
@keyframes fav-pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.card__fav { inset-block-start: 10px; inset-inline-end: 10px; }
:root[data-theme="dark"] .card__fav { inset-block-start: 16px; inset-inline-end: 16px; }
/* The heart sits in the picture's corner: the picture box stays sticky on wide screens (sticky
   also anchors the heart) and is placed normally on phones (see the 760px rule). */
.pdp__fav { block-size: 46px; inline-size: 46px; inset-block-start: 16px; inset-inline-end: 16px; }
.pdp__fav .icon { block-size: 23px; inline-size: 23px; }
.header__actions .badge[data-fav-count] { background: #d64541; color: #ffffff; }
@media (max-width: 760px) {
  .fav { block-size: 32px; inline-size: 32px; }
  .fav .icon { block-size: 17px; inline-size: 17px; }
  .card__fav { inset-block-start: 8px; inset-inline-end: 8px; }
}
@media (prefers-reduced-motion: reduce) { .fav.is-pop .icon { animation: none; } }


/* ---------- Sign-in page (owner request 2026-11-28): the site's own forms in the new design ---------- */
.rd-account { padding-block-end: clamp(2.5rem, 6vw, 4.5rem); }
.acc-head { padding-block: clamp(1.25rem, 3vw, 2rem) 0.35rem; }
.acc-head__eyebrow { color: var(--gold-ink); font-size: 0.85rem; font-weight: 700; margin: 0 0 0.2rem; }
.acc-head h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.2; margin: 0; }
.shikhtech-account-forms { max-inline-size: 1000px; }
.shikhtech-account-forms__intro { color: var(--ink-2); margin: 0.5rem 0 1.5rem; max-inline-size: 60ch; }
.shikhtech-account-forms__grid { align-items: start; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .shikhtech-account-forms__grid { gap: 1.5rem; grid-template-columns: 1fr 1fr; } }
.shikhtech-account-forms__signin { display: grid; gap: 1rem; }
.rd-account .shikhtech-account-form { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); display: grid; gap: 1rem; margin: 0; padding: clamp(1.25rem, 3vw, 2rem); }
.rd-account .shikhtech-account-form h2 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 0.25rem; }
.rd-account .shikhtech-account-forms__grid > .shikhtech-account-form { border-block-start: 4px solid var(--gold); }
.rd-account .shikhtech-account-form label { display: grid; gap: 0.4rem; margin: 0; }
.rd-account .shikhtech-account-form label > span:first-child { color: var(--ink-2); font-size: 0.88rem; font-weight: 700; }
.rd-account .shikhtech-account-form input:not([type="hidden"]) { appearance: none; background: var(--canvas); block-size: 50px; border: 1px solid var(--line); border-radius: 12px; box-shadow: none; color: var(--ink); font: inherit; font-size: 16px; inline-size: 100%; margin: 0; padding: 0 1rem; transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.rd-account .shikhtech-account-form input::placeholder { color: var(--muted); opacity: 0.8; }
.rd-account .shikhtech-account-form input:hover { border-color: color-mix(in srgb, var(--ink-2) 45%, var(--line)); }
.rd-account .shikhtech-account-form input:focus { background: var(--surface); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); outline: none; }
.rd-account .shikhtech-account-form input[type="tel"] { direction: ltr; }
[dir="rtl"] .rd-account .shikhtech-account-form input[type="tel"] { text-align: right; }
.rd-account .shikhtech-account-form button[type="submit"] { background: var(--navy); block-size: 50px; border: 0; border-radius: 999px; color: var(--on-navy); cursor: pointer; font: inherit; font-size: 1rem; font-weight: 700; margin-block-start: 0.35rem; transition: background-color 180ms ease, transform 180ms var(--ease); }
.rd-account .shikhtech-account-form button[type="submit"]:hover { background: var(--navy-deep); }
.rd-account .shikhtech-account-form button[type="submit"]:active { transform: scale(0.98); }
.rd-account .shikhtech-account-forms__grid > .shikhtech-account-form button[type="submit"] { background: var(--gold); color: #17202f; }
.rd-account .shikhtech-account-forms__grid > .shikhtech-account-form button[type="submit"]:hover { background: #bda27a; }
.rd-account button:focus-visible, .rd-account a:focus-visible, .rd-account summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.acc-code { display: block; position: relative; }
.rd-account .acc-code input:not([type="hidden"]) { padding-inline-end: 3.25rem; }
.acc-eye { align-items: center; background: none; block-size: 40px; border: 0; border-radius: 50%; color: var(--muted); cursor: pointer; display: inline-flex; inline-size: 40px; inset-block-start: 50%; inset-inline-end: 5px; justify-content: center; position: absolute; transform: translateY(-50%); transition: background-color 160ms ease, color 160ms ease; }
.acc-eye:hover { background: var(--gold-soft); color: var(--ink); }
.acc-eye .icon { block-size: 20px; inline-size: 20px; }
.rd-account .shikhtech-account-reset { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.rd-account .shikhtech-account-reset summary { align-items: center; cursor: pointer; display: flex; font-weight: 700; gap: 0.75rem; justify-content: space-between; list-style: none; min-block-size: 56px; padding: 0.75rem clamp(1.25rem, 3vw, 2rem); }
.rd-account .shikhtech-account-reset summary::-webkit-details-marker { display: none; }
.rd-account .shikhtech-account-reset summary::after { block-size: 8px; border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; content: ""; flex: none; inline-size: 8px; margin-block-start: -4px; transform: rotate(45deg); transition: transform 220ms var(--ease); }
.rd-account .shikhtech-account-reset[open] summary::after { margin-block-start: 4px; transform: rotate(-135deg); }
.rd-account .shikhtech-account-reset__steps { color: var(--ink-2); display: grid; font-size: 0.92rem; gap: 0.4rem; margin: 0; padding-block: 0 0.75rem; padding-inline: clamp(2.5rem, 5vw, 3.25rem) clamp(1.25rem, 3vw, 2rem); }
.rd-account .shikhtech-account-reset__whatsapp { align-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); display: inline-flex; font-size: 0.92rem; font-weight: 700; margin-inline: clamp(1.25rem, 3vw, 2rem); min-block-size: 44px; padding: 0 1.1rem; text-decoration: none; transition: border-color 160ms ease; }
.rd-account .shikhtech-account-reset__whatsapp:hover { border-color: var(--ink-2); }
.rd-account .shikhtech-account-reset .shikhtech-account-form { background: transparent; border-radius: 0; box-shadow: none; padding-block-start: 1rem; }
.rd-account .shikhtech-account-forms__error, .rd-account .woocommerce-error, .rd-account .woocommerce-message, .rd-account .woocommerce-info { background: #fdeceb; border-inline-start: 4px solid #d64541; border-radius: 12px; color: #8f231d; font-weight: 500; list-style: none; margin: 0 0 1.25rem; max-inline-size: 1000px; padding: 0.85rem 1.1rem; }
.rd-account .woocommerce-message, .rd-account .woocommerce-info { background: var(--gold-soft); border-color: var(--gold); color: var(--ink); }
:root[data-theme="dark"] .rd-account .shikhtech-account-forms__error, :root[data-theme="dark"] .rd-account .woocommerce-error { background: rgba(214, 69, 65, 0.16); color: #f4bcb8; }

/* ---------- Signed-in account pages (owner request 2026-11-28): WooCommerce's account in the new design ---------- */
.rd-account > .woocommerce { align-items: start; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); margin-block-start: 1.25rem; }
@media (min-width: 860px) { .rd-account > .woocommerce { gap: 1.5rem; grid-template-columns: 250px minmax(0, 1fr); } }
.rd-account > .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
.rd-account > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { display: flex; gap: 0.5rem; list-style: none; margin: 0; overflow-x: auto; padding: 0.15rem 0.1rem 0.4rem; scrollbar-width: none; }
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.woocommerce-MyAccount-navigation li { flex: none; margin: 0; }
.woocommerce-MyAccount-navigation a { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); display: inline-flex; font-size: 0.9rem; font-weight: 700; min-block-size: 42px; padding: 0 1.1rem; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; white-space: nowrap; }
.woocommerce-MyAccount-navigation a:hover { border-color: var(--ink-2); color: var(--ink); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: #b3382f; }
:root[data-theme="dark"] .woocommerce-MyAccount-navigation-link--customer-logout a { color: #f19a93; }
@media (min-width: 860px) {
  .woocommerce-MyAccount-navigation { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 0.6rem; position: sticky; inset-block-start: 96px; }
  .woocommerce-MyAccount-navigation ul { display: grid; gap: 0.2rem; overflow: visible; padding: 0; }
  .woocommerce-MyAccount-navigation a { background: none; border: 0; border-radius: 12px; display: flex; min-block-size: 46px; padding: 0 1rem; }
  .woocommerce-MyAccount-navigation a:hover { background: var(--canvas); }
  .woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation .is-active a:hover { background: var(--navy); color: var(--on-navy); }
  .woocommerce-MyAccount-navigation-link--customer-logout { border-block-start: 1px solid var(--line); margin-block-start: 0.3rem; padding-block-start: 0.3rem; }
}
.woocommerce-MyAccount-content { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); color: var(--ink); min-inline-size: 0; padding: clamp(1.25rem, 3vw, 2rem); }
.woocommerce-MyAccount-content > :first-child { margin-block-start: 0; }
.woocommerce-MyAccount-content > :last-child { margin-block-end: 0; }
.woocommerce-MyAccount-content p { color: var(--ink-2); line-height: 1.7; }
.woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button) { color: var(--ink); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { color: var(--ink); font-size: 1.15rem; line-height: 1.35; margin: 1.5rem 0 0.75rem; }
.woocommerce-MyAccount-content mark { background: var(--gold-soft); border-radius: 6px; color: var(--ink); font-weight: 700; padding: 0 0.35rem; }
.shikhtech-account-hello { color: var(--ink) !important; font-size: 1.35rem; margin: 0 0 0.25rem; }
.shikhtech-account-shortcuts { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-block: 1.25rem 0.5rem; }
.shikhtech-account-shortcuts a { align-items: center; background: var(--canvas); border: 1px solid var(--line); border-radius: 16px; color: var(--ink) !important; display: flex; gap: 0.75rem; justify-content: space-between; min-block-size: 64px; padding: 0.75rem 1rem; text-decoration: none !important; transition: border-color 160ms ease, transform 200ms var(--ease); }
.shikhtech-account-shortcuts a:hover { border-color: var(--gold); transform: translateY(-1px); }
.shikhtech-account-shortcuts span { align-items: center; background: var(--navy); border-radius: 999px; color: var(--on-navy); display: inline-flex; font-size: 0.82rem; font-weight: 700; justify-content: center; min-block-size: 28px; min-inline-size: 28px; padding: 0 0.5rem; }
.shikhtech-account-history { display: grid; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.shikhtech-account-history li { background: var(--canvas); border-radius: 12px; color: var(--ink-2); padding: 0.7rem 0.9rem; }
.shikhtech-account-history time { color: var(--ink); font-weight: 700; margin-inline-end: 0.35rem; }
/* Buttons WooCommerce prints (view order, browse products, pay, save). */
.woocommerce-MyAccount-content .button, .woocommerce-MyAccount-content .woocommerce-button, .woocommerce-MyAccount-content button[type="submit"] { align-items: center; background: var(--navy); border: 0; border-radius: 999px; color: var(--on-navy) !important; cursor: pointer; display: inline-flex; font: inherit; font-size: 0.9rem; font-weight: 700; justify-content: center; min-block-size: 42px; padding: 0 1.15rem; text-decoration: none !important; transition: background-color 180ms ease, transform 180ms var(--ease); }
.woocommerce-MyAccount-content .button:hover, .woocommerce-MyAccount-content .woocommerce-button:hover { background: var(--navy-deep); }
.woocommerce-MyAccount-content .button:active, .woocommerce-MyAccount-content .woocommerce-button:active { transform: scale(0.98); }
.woocommerce-MyAccount-content .woocommerce-info, .woocommerce-MyAccount-content .woocommerce-message { align-items: center; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; }
/* Orders list: a table on wide screens, one card per order on phones. */
.woocommerce-MyAccount-content table.shop_table { border-collapse: collapse; font-size: 0.92rem; inline-size: 100%; margin: 0; }
.woocommerce-MyAccount-content table.shop_table th { color: var(--muted); font-size: 0.8rem; font-weight: 700; padding: 0 0.75rem 0.6rem; text-align: start; }
.woocommerce-MyAccount-content table.shop_table td { border-block-start: 1px solid var(--line); color: var(--ink); padding: 0.85rem 0.75rem; text-align: start; vertical-align: middle; }
.woocommerce-MyAccount-content table.shop_table td .button { margin: 0.15rem; min-block-size: 36px; }
@media (max-width: 767px) {
  .woocommerce-MyAccount-content table.shop_table_responsive thead { display: none; }
  .woocommerce-MyAccount-content table.shop_table_responsive, .woocommerce-MyAccount-content table.shop_table_responsive tbody { display: block; }
  .woocommerce-MyAccount-content table.shop_table_responsive tr { background: var(--canvas); border-radius: 16px; display: block; margin-block-end: 0.75rem; padding: 0.35rem 0.9rem; }
  .woocommerce-MyAccount-content table.shop_table_responsive td { align-items: center; border-block-start: 1px solid var(--line); display: flex; gap: 1rem; justify-content: space-between; padding: 0.6rem 0; }
  .woocommerce-MyAccount-content table.shop_table_responsive td:first-child { border: 0; }
  .woocommerce-MyAccount-content table.shop_table_responsive td[data-title]::before { color: var(--muted); content: attr(data-title); font-size: 0.82rem; font-weight: 700; }
  .woocommerce-MyAccount-content table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions { justify-content: flex-end; }
  .woocommerce-MyAccount-content table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before { display: none; }
}
.woocommerce-pagination { display: flex; gap: 0.5rem; justify-content: space-between; margin-block-start: 1rem; }
/* Order details (theme templates woocommerce/order/*). */
.rd-account .st-order-card { border-block-start: 1px solid var(--line); margin: 1.25rem 0 0; padding-block-start: 1.25rem; }
.rd-account .st-order-card__title { align-items: center; display: flex; font-size: 1.05rem; gap: 0.5rem; margin: 0 0 0.75rem; }
.rd-account .st-order-card__count { background: var(--navy); border-radius: 999px; color: var(--on-navy); font-size: 0.78rem; line-height: 1; min-inline-size: 1.6rem; padding: 0.3rem 0.5rem; text-align: center; }
.rd-account .st-order-lines { display: grid; list-style: none; margin: 0; padding: 0; }
.rd-account .st-order-line { align-items: center; border-block-end: 1px solid var(--line); display: grid; gap: 0.75rem; grid-template-columns: 56px minmax(0, 1fr) auto; padding: 0.7rem 0; }
.rd-account .st-order-line:last-child { border-block-end: 0; }
.rd-account .st-order-line__image { background: #ffffff; border-radius: 12px; display: block; block-size: 56px; inline-size: 56px; overflow: hidden; }
.rd-account .st-order-line__image img { block-size: 100%; display: block; inline-size: 100%; object-fit: contain; }
.rd-account .st-order-line__copy { display: grid; gap: 0.15rem; min-inline-size: 0; }
.rd-account .st-order-line__name { color: var(--ink) !important; font-size: 0.95rem; font-weight: 700; line-height: 1.45; text-decoration: none !important; }
.rd-account .st-order-line__sku, .rd-account .st-order-line__qty { color: var(--muted); font-size: 0.8rem; }
.rd-account .st-order-line__total { font-weight: 700; white-space: nowrap; }
.rd-account .st-order-sums { display: grid; margin: 0; }
.rd-account .st-order-sums > div { align-items: center; border-block-end: 1px dashed var(--line); display: flex; gap: 1rem; justify-content: space-between; padding: 0.55rem 0; }
.rd-account .st-order-sums > div:last-child { border-block-end: 0; }
.rd-account .st-order-sums dt { color: var(--ink-2); font-weight: 700; margin: 0; }
.rd-account .st-order-sums dd { font-weight: 700; margin: 0; }
.rd-account .st-order-sums .st-order-sums__grand { background: var(--navy); border: 0; border-radius: 12px; margin-block: 0.35rem; padding: 0.75rem 0.9rem; }
.rd-account .st-order-sums .st-order-sums__grand :is(dt, dd) { color: #ffffff; font-size: 1.02rem; }
.rd-account .st-order-sums .st-order-sums__grand dd { color: #e2c999; }
.rd-account .st-order-note { background: var(--canvas); border-radius: 12px; margin: 0.6rem 0 0; padding: 0.65rem 0.8rem; }
.rd-account .st-order-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 0; }
.rd-account .st-order-address address { font-style: normal; line-height: 1.8; margin: 0; }
.rd-account .st-order-address__phone { color: var(--muted); font-weight: 700; margin: 0.35rem 0 0; }
.rd-account .st-order-address .woocommerce-customer-details--phone { display: none; }
/* Account details form. */
.woocommerce-MyAccount-content form .form-row { display: grid; gap: 0.4rem; margin: 0 0 1rem; }
.woocommerce-MyAccount-content form .form-row label { color: var(--ink-2); font-size: 0.88rem; font-weight: 700; }
.woocommerce-MyAccount-content form .required { color: #b3382f; text-decoration: none; }
.woocommerce-MyAccount-content form .input-text, .woocommerce-MyAccount-content form select, .woocommerce-MyAccount-content form textarea { appearance: none; background: var(--canvas); block-size: 50px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font: inherit; font-size: 16px; inline-size: 100%; padding: 0 1rem; transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.woocommerce-MyAccount-content form textarea { block-size: auto; min-block-size: 110px; padding-block: 0.75rem; }
.woocommerce-MyAccount-content form .input-text:focus, .woocommerce-MyAccount-content form select:focus, .woocommerce-MyAccount-content form textarea:focus { background: var(--surface); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); outline: none; }
.woocommerce-MyAccount-content form em { color: var(--muted); font-size: 0.82rem; font-style: normal; }
.woocommerce-MyAccount-content fieldset { border: 1px solid var(--line); border-radius: 16px; margin: 1.25rem 0; padding: 1rem 1.1rem 0.25rem; }
.woocommerce-MyAccount-content legend { color: var(--ink); font-weight: 700; padding: 0 0.4rem; }
@media (min-width: 640px) { .woocommerce-MyAccount-content .woocommerce-EditAccountForm { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; } .woocommerce-MyAccount-content .woocommerce-EditAccountForm > :not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; } }
.woocommerce-MyAccount-content .woocommerce-EditAccountForm > p:last-of-type { margin-block-start: 0.5rem; }
.woocommerce-MyAccount-content .clear { display: none; }
.woocommerce-MyAccount-content form .acc-code .input-text { padding-inline-end: 3.25rem; }
.woocommerce-MyAccount-content form button[type="submit"] { min-block-size: 50px; padding: 0 1.75rem; }

/* ---------- While the page script loads (owner report 2026-11-28: a page of plain links flashed first) ----------
   WordPress prints a plain text version of each page for search engines and for visitors without
   JavaScript. With JavaScript (html.rd-js, set first thing in <head>) it stays hidden and the page frame
   shows at once: the top bar (36px) and the header (69px; 104.6px below 760px, where the search box
   takes its own row), so nothing jumps when the design draws itself and adds html.rd-ready. */
.rd-js .rd-plain { display: none; }
.rd-js:not(.rd-ready) body::before { background: linear-gradient(var(--navy-deep) 0 36px, var(--surface) 36px calc(100% - 1px), var(--line) calc(100% - 1px)); block-size: 105px; content: ""; display: block; }
@media (max-width: 760px) { .rd-js:not(.rd-ready) body::before { block-size: 140.6px; } }

/* ---------- The site's own pages inside the new design (owner request 2026-11-28, round 1: page not found,
   about, privacy, terms, contact). Their own markup (template or assets/js/pages.js) is kept; these rules give
   it the new design's look with its tokens, so dark mode and both directions follow. ---------- */
.rd-page { padding-block-end: clamp(2.5rem, 6vw, 4.5rem); }
.rd-page .shikhtech-shell { box-sizing: border-box; margin-inline: auto; max-inline-size: var(--shell); padding-inline: var(--gutter); }
.rd-page .shikhtech-page-context, .rd-page .shikhtech-category-breadcrumbs { display: none; }
.rd-page .st-hero-wrap, .rd-page .st-gold-wrap { display: block; margin-block: 1rem 1.25rem; }
.rd-page .st-gold-banner { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.5rem); }
.rd-page .st-gold-banner > p:first-child { color: var(--gold-ink); font-size: 0.85rem; font-weight: 700; margin: 0 0 0.3rem; }
.rd-page .st-gold-banner h1 { color: var(--ink); font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.2; margin: 0; }
.rd-page .st-gold-banner h1 + div, .rd-page .st-gold-banner h1 + p { color: var(--ink-2); font-size: 1rem; line-height: 1.75; margin-block-start: 0.6rem; max-inline-size: 62ch; }
.rd-page .st-gold-banner h1 + div p { margin: 0; }
.rd-page .shikhtech-contact-body { display: grid; gap: 1rem; }
/* Contact page in two columns on wide screens; about, the policies and page-not-found read in one. */
@media (min-width: 860px) { .rd-page.shikhtech-contact-page:not(.shikhtech-content-page) .shikhtech-contact-body { align-items: start; gap: 1.25rem; grid-template-columns: 1fr 1fr; } }
.rd-page.shikhtech-content-page .shikhtech-contact-block p { max-inline-size: 75ch; }
.rd-page .shikhtech-contact-block { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); color: var(--ink-2); line-height: 1.8; padding: clamp(1.25rem, 3vw, 1.75rem); }
.rd-page .shikhtech-contact-block h2 { align-items: center; color: var(--ink); display: flex; flex-wrap: wrap; font-size: 1.15rem; gap: 0.5rem; line-height: 1.35; margin: 0 0 0.6rem; }
.rd-page .shikhtech-contact-block h2:not(:first-child) { margin-block-start: 1.25rem; }
.rd-page .shikhtech-contact-block p { margin: 0 0 0.6rem; }
.rd-page .shikhtech-contact-block p:last-child { margin-block-end: 0; }
.rd-page .shikhtech-contact-block ul:not([class]) { margin: 0; padding-inline-start: 1.2rem; }
.rd-page .st-legal__updated { color: var(--muted); font-size: 0.85rem; margin: 0.25rem 0 0; }
.rd-page .st-about__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block-start: 0.5rem; }
.rd-page .st-btn { align-items: center; background: var(--navy); border: 1px solid var(--navy); border-radius: 999px; color: var(--on-navy); display: inline-flex; font-size: 0.95rem; font-weight: 700; justify-content: center; min-block-size: 46px; padding: 0 1.4rem; text-decoration: none; transition: background-color 180ms ease, transform 180ms var(--ease); }
.rd-page .st-btn:hover { background: var(--navy-deep); }
.rd-page .st-btn:active { transform: scale(0.98); }
.rd-page .st-btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.rd-page .st-btn--ghost:hover { background: transparent; border-color: var(--ink-2); }
/* Contact page: numbers, accounts, address and working hours. */
.rd-page .shikhtech-contact-list { display: grid; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.rd-page .shikhtech-contact-list a { align-items: center; background: var(--canvas); border: 1px solid transparent; border-radius: 14px; color: var(--ink); display: flex; gap: 0.75rem; min-block-size: 56px; padding: 0.5rem 0.9rem; text-decoration: none; transition: border-color 160ms ease; }
.rd-page .shikhtech-contact-list a:hover { border-color: var(--gold); }
.rd-page .shikhtech-contact-list svg { block-size: 22px; color: var(--gold-ink); fill: currentColor; flex: none; inline-size: 22px; }
.rd-page .shikhtech-contact-list__type { color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.rd-page .shikhtech-contact-list__number { color: var(--ink); font-size: 1rem; font-weight: 700; margin-inline-start: auto; }
.rd-page .shikhtech-contact-list__name { color: var(--ink-2); font-size: 0.85rem; }
.rd-page .shikhtech-contact-account .shikhtech-contact-list__number { margin-inline-start: 0; }
.rd-page .shikhtech-contact-account .shikhtech-contact-list__name { margin-inline-start: auto; }
.rd-page .shikhtech-contact-address { color: var(--ink); font-weight: 500; }
.rd-page .shikhtech-contact-map { align-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); display: inline-flex; font-size: 0.92rem; font-weight: 700; gap: 0.4rem; min-block-size: 44px; padding: 0 1.1rem; text-decoration: none; }
.rd-page .shikhtech-contact-map:hover { border-color: var(--ink-2); }
.rd-page .shikhtech-contact-map svg { block-size: 18px; fill: currentColor; inline-size: 18px; }
.rd-page .shikhtech-hours-list { display: grid; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.rd-page .shikhtech-hours-list li { align-items: center; background: var(--canvas); border-radius: 14px; display: flex; gap: 1rem; justify-content: space-between; min-block-size: 52px; padding: 0.5rem 0.9rem; }
.rd-page .shikhtech-hours-list__day { color: var(--ink); font-weight: 700; }
.rd-page .shikhtech-hours-list__time { color: var(--ink-2); }
.rd-page .shikhtech-hours-status { background: var(--gold-soft); border-radius: 999px; color: var(--gold-ink); font-size: 0.78rem; font-weight: 700; padding: 0.15rem 0.6rem; }
.rd-page .shikhtech-hours-status.is-open, .rd-page .shikhtech-hours-status[data-open="1"] { background: #e3f4e8; color: #1f6b3a; }
:root[data-theme="dark"] .rd-page .shikhtech-hours-status.is-open, :root[data-theme="dark"] .rd-page .shikhtech-hours-status[data-open="1"] { background: rgba(46, 160, 90, 0.18); color: #8fd6a8; }
.rd-page .shikhtech-hours-list li.is-today { box-shadow: inset 0 0 0 1px var(--gold); }
/* extras.js adds the current design's loading screen on link taps; the new design has none (and its styles are not loaded here). */
body[data-page="page"] > .st-loader { display: none !important; }

/* ---------- Round 2: cable calculator, selection guide and compare (owner request 2026-11-28) ---------- */
.rd-page .shikhtech-cable-calculator__hero { display: block; margin-block: 1rem 1.25rem; }
.rd-page .shikhtech-cable-calculator__card { display: grid; gap: 1rem; margin-block-end: 1rem; }
@media (min-width: 860px) { .rd-page .shikhtech-cable-calculator__card { align-items: start; gap: 1.25rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } .rd-page .shikhtech-cable-calculator__note { grid-column: 1 / -1; } }
.rd-page .shikhtech-cable-calculator__form { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); display: grid; gap: 1rem; margin: 0; padding: clamp(1.25rem, 3vw, 1.75rem); }
.rd-page .shikhtech-cable-calculator__form h2 { color: var(--ink); font-size: 1.15rem; margin: 0; }
.rd-page .shikhtech-cable-calculator__form label { display: grid; gap: 0.4rem; margin: 0; }
.rd-page .shikhtech-cable-calculator__form label > span { color: var(--ink-2); font-size: 0.88rem; font-weight: 700; }
.rd-page .shikhtech-cable-calculator__form select, .rd-page .shikhtech-cable-calculator__form input, .rd-page .shikhtech-compare-search input { appearance: none; background: var(--canvas); block-size: 50px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font: inherit; font-size: 16px; inline-size: 100%; padding: 0 1rem; transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.rd-page .shikhtech-cable-calculator__form select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(-45deg, transparent 50%, var(--ink-2) 50%); background-position: left 0.8rem center, left 1.175rem center; background-repeat: no-repeat; background-size: 6px 6px; padding-inline-end: 2.5rem; }
[dir="ltr"] .rd-page .shikhtech-cable-calculator__form select { background-position: right 1.175rem center, right 0.8rem center; }
.rd-page .shikhtech-cable-calculator__form select:focus, .rd-page .shikhtech-cable-calculator__form input:focus, .rd-page .shikhtech-compare-search input:focus { background-color: var(--surface); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); outline: none; }
.rd-page .st-guide__row { display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.rd-page .shikhtech-cable-calculator__submit, .rd-page .shikhtech-compare-submit { background: var(--navy); block-size: 50px; border: 0; border-radius: 999px; color: var(--on-navy); cursor: pointer; font: inherit; font-size: 1rem; font-weight: 700; padding: 0 1.75rem; transition: background-color 180ms ease, transform 180ms var(--ease); }
.rd-page .shikhtech-cable-calculator__submit:hover, .rd-page .shikhtech-compare-submit:hover:not(:disabled) { background: var(--navy-deep); }
.rd-page .shikhtech-cable-calculator__submit:active, .rd-page .shikhtech-compare-submit:active:not(:disabled) { transform: scale(0.98); }
.rd-page .shikhtech-compare-submit:disabled { cursor: not-allowed; opacity: 0.45; }
.rd-page .shikhtech-cable-calculator__result { background: var(--navy); border-radius: 20px; color: var(--on-navy); display: grid; gap: 0.35rem; padding: clamp(1.25rem, 3vw, 1.75rem); }
.rd-page .shikhtech-cable-calculator__result[hidden] { display: none; }
.rd-page .shikhtech-cable-calculator__result > span { color: var(--on-navy-2); font-size: 0.9rem; font-weight: 700; }
.rd-page .shikhtech-cable-calculator__result > strong { color: #e2c999; font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.1; }
.rd-page [data-guide-result] > strong { color: #ffffff; font-size: 1.15rem; }
.rd-page .shikhtech-cable-calculator__result small { color: var(--on-navy-2); font-size: 0.85rem; line-height: 1.6; }
.rd-page .st-guide__list { display: grid; gap: 0.4rem; margin: 0.5rem 0 1rem; }
.rd-page .st-guide__list > div { align-items: center; border-block-end: 1px dashed rgba(255, 255, 255, 0.18); display: flex; gap: 1rem; justify-content: space-between; padding-block: 0.45rem; }
.rd-page .st-guide__list dt { color: var(--on-navy-2); font-weight: 500; margin: 0; }
.rd-page .st-guide__list dd { color: #ffffff; font-weight: 700; margin: 0; }
.rd-page .shikhtech-cable-calculator__result .st-btn { background: var(--gold); border-color: var(--gold); color: #17202f; justify-self: start; }
.rd-page .shikhtech-cable-calculator__note { background: var(--gold-soft); border-radius: 16px; color: var(--ink-2); font-size: 0.9rem; line-height: 1.75; padding: 1rem 1.15rem; }
.rd-page .shikhtech-cable-calculator__note strong { color: var(--ink); display: block; margin-block-end: 0.25rem; }
.rd-page .shikhtech-cable-calculator__note p { margin: 0; }
/* Compare */
.rd-page .shikhtech-compare-hero { display: block; margin-block: 1rem 1.25rem; }
.rd-page .shikhtech-compare-workspace { display: grid; gap: 1rem; justify-items: stretch; }
.rd-page .shikhtech-compare-selectors { display: grid; gap: 1rem; }
@media (min-width: 760px) { .rd-page .shikhtech-compare-selectors { grid-template-columns: 1fr 1fr; } }
.rd-page .shikhtech-compare-selector { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); display: grid; gap: 0.6rem; padding: clamp(1.1rem, 3vw, 1.5rem); position: relative; }
.rd-page .shikhtech-compare-selector > label { color: var(--ink); font-size: 1rem; font-weight: 700; }
.rd-page .shikhtech-compare-search { align-items: center; display: flex; position: relative; }
.rd-page .shikhtech-compare-search svg { block-size: 20px; color: var(--muted); fill: none; inline-size: 20px; inset-inline-start: 0.9rem; pointer-events: none; position: absolute; stroke: currentColor; stroke-width: 2; }
.rd-page .shikhtech-compare-search input { padding-inline-start: 2.6rem; }
.rd-page .shikhtech-compare-suggestions { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift); display: grid; max-block-size: 320px; overflow: auto; padding: 0.35rem; }
.rd-page .shikhtech-compare-suggestions[hidden] { display: none; }
.rd-page .shikhtech-compare-suggestions > p { color: var(--muted); margin: 0; padding: 0.75rem; }
.rd-page .shikhtech-compare-suggestions button { align-items: center; background: none; border: 0; border-radius: 10px; color: var(--ink); cursor: pointer; display: flex; font: inherit; gap: 0.75rem; inline-size: 100%; padding: 0.5rem; text-align: start; }
.rd-page .shikhtech-compare-suggestions button:hover, .rd-page .shikhtech-compare-suggestions button[aria-selected="true"] { background: var(--canvas); }
.rd-page .shikhtech-compare-suggestions img, .rd-page .shikhtech-compare-selection__image img, .rd-page .shikhtech-compare-product__image img { background: #ffffff; block-size: 48px; border-radius: 10px; inline-size: 48px; object-fit: contain; }
.rd-page .shikhtech-compare-selection { align-items: center; background: var(--canvas); border-radius: 14px; display: grid; gap: 0.75rem; grid-template-columns: auto minmax(0, 1fr) auto; padding: 0.6rem 0.75rem; }
.rd-page .shikhtech-compare-selection[hidden] { display: none; }
.rd-page .shikhtech-compare-selection strong { color: var(--ink); display: block; font-size: 0.95rem; line-height: 1.4; }
.rd-page .shikhtech-compare-selection small { color: var(--muted); display: block; font-size: 0.8rem; }
.rd-page .shikhtech-compare-selection bdi { color: var(--ink); font-weight: 700; }
.rd-page .shikhtech-compare-selection button { background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; font: inherit; font-size: 0.85rem; font-weight: 700; min-block-size: 38px; padding: 0 0.9rem; }
.rd-page .shikhtech-compare-submit { justify-self: center; min-inline-size: 220px; }
.rd-page .shikhtech-compare-results { margin-block-start: 1.5rem; }
.rd-page .shikhtech-compare-results[hidden] { display: none; }
.rd-page .shikhtech-compare-results__heading p { color: var(--gold-ink); font-size: 0.85rem; font-weight: 700; margin: 0; }
.rd-page .shikhtech-compare-results__heading h2 { color: var(--ink); font-size: 1.4rem; margin: 0.15rem 0 1rem; }
.rd-page .shikhtech-compare-table { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.rd-page .shikhtech-compare-products { border-block-end: 1px solid var(--line); display: grid; gap: 1px; grid-template-columns: 1fr 1fr; }
.rd-page .shikhtech-compare-products article { align-items: center; display: flex; gap: 0.75rem; padding: 1rem; }
.rd-page .shikhtech-compare-products h3 { color: var(--ink); font-size: 0.95rem; line-height: 1.4; margin: 0.15rem 0; }
.rd-page .shikhtech-compare-products small { color: var(--muted); font-size: 0.78rem; }
.rd-page .shikhtech-compare-products bdi { color: var(--ink); font-weight: 700; }
.rd-page .shikhtech-compare-spec-row { border-block-end: 1px solid var(--line); display: grid; gap: 0.75rem; grid-template-columns: minmax(90px, 0.8fr) 1fr 1fr; padding: 0.75rem 1rem; }
.rd-page .shikhtech-compare-spec-row:last-child { border-block-end: 0; }
.rd-page .shikhtech-compare-spec-row strong { color: var(--ink-2); font-size: 0.85rem; }
.rd-page .shikhtech-compare-spec-row span { color: var(--ink); font-size: 0.92rem; overflow-wrap: anywhere; }
.rd-page .shikhtech-compare-spec-row.is-different { background: var(--gold-soft); }
.rd-page .shikhtech-compare-suggestion__copy { display: grid; flex: 1; gap: 0.1rem; min-inline-size: 0; }
.rd-page .shikhtech-compare-suggestion__copy strong { color: var(--ink); font-size: 0.9rem; line-height: 1.4; }
.rd-page .shikhtech-compare-suggestion__copy small { color: var(--muted); font-size: 0.78rem; }
.rd-page .shikhtech-compare-suggestions bdi { color: var(--ink); flex: none; font-size: 0.85rem; font-weight: 700; }
.rd-page .shikhtech-compare-suggestion__image, .rd-page .shikhtech-compare-selection__image, .rd-page .shikhtech-compare-product__image { align-items: center; background: #ffffff; block-size: 48px; border-radius: 10px; display: inline-flex; flex: none; inline-size: 48px; justify-content: center; overflow: hidden; }

/* ---------- Suggestions and the heart (owner 2026-11-28) ----------
   Product page suggestions (20) use the store's normal product grid.
   Heart on product cards: on a mouse it shows only while the pointer is over the card (or the card has
   keyboard focus, or the item is already a favourite); on touch screens it is not on the cards at all
   and lives only in the corner of the product page picture. */
@media (hover: hover) and (pointer: fine) {
  .card .card__fav { opacity: 0; transition: opacity 160ms ease, background-color 180ms ease, color 180ms ease, transform 180ms var(--ease); }
  .card:hover .card__fav, .card:focus-within .card__fav, .card .card__fav[aria-pressed="true"] { opacity: 1; }
}
@media (hover: none), (pointer: coarse) { .card .card__fav { display: none; } }
html.rd-panel-open .st-assist__fab { display: none; }
/* Contact page (owner 2026-11-28): the working-hours box sat alone on a new row. Numbers and hours
   now share the first column and the accounts and address fill the second. */
@media (min-width: 860px) {
  .rd-page.shikhtech-contact-page:not(.shikhtech-content-page) .shikhtech-contact-body { grid-template-areas: "numbers accounts" "hours accounts"; }
  .rd-page.shikhtech-contact-page:not(.shikhtech-content-page) .shikhtech-contact-block:nth-child(1) { grid-area: numbers; }
  .rd-page.shikhtech-contact-page:not(.shikhtech-content-page) .shikhtech-contact-block:nth-child(2) { grid-area: accounts; }
  .rd-page.shikhtech-contact-page:not(.shikhtech-content-page) .shikhtech-contact-hours { grid-area: hours; }
}

/* ---------- Round 3 of the old pages (owner 2026-11-28): favourites, saved carts, quote («تجهيز مشروع
   كامل») and the quote item picker. Their markup comes from assets/js/pages.js and extras.js; these rules
   give it the new design's look. Favourites use the shop's own product cards (redesign.js). ---------- */
.rd-page .st-favs, .rd-page .st-carts, .rd-page .st-quote-page, .rd-page .st-pick { display: grid; gap: 1rem; margin-block: 1.25rem 3rem; }
.rd-page .st-favs > .st-btn { justify-self: center; }
.rd-page .empty { color: var(--muted); padding: 2rem 0; text-align: center; }

/* Saved carts */
.rd-page .st-carts__list { display: grid; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.rd-page .st-carts__list li { align-items: center; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 0.75rem; padding: 0.75rem 1rem; }
.rd-page .st-carts__main { color: var(--ink); display: grid; flex: 1; gap: 0.2rem; min-inline-size: 0; text-decoration: none; }
.rd-page .st-carts__main strong { font-size: 1rem; }
.rd-page .st-carts__main small { color: var(--muted); font-size: 0.85rem; }
.rd-page .st-carts__acts { display: flex; gap: 0.4rem; }
.rd-page .st-act { align-items: center; background: var(--canvas); border: 0; border-radius: 50%; color: var(--ink); cursor: pointer; display: inline-flex; block-size: 42px; inline-size: 42px; justify-content: center; padding: 0; transition: background-color 160ms ease, transform 160ms var(--ease); }
.rd-page .st-act:hover { background: var(--gold-soft); }
.rd-page .st-act:active { transform: scale(0.94); }
.rd-page .st-act svg { block-size: 20px; inline-size: 20px; }
.rd-page .st-act--del { color: #c0392b; }
.rd-page .st-carts > .st-btn { justify-self: center; }
.rd-page .st-carts__back { justify-self: start; }
.rd-page .st-carts__items { display: grid; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.rd-page .st-carts__items li { align-items: center; background: var(--surface); border-radius: var(--radius-sm); display: flex; gap: 0.75rem; padding: 0.6rem 0.9rem; }

/* Quote request form (the page version of the quote dialog) */
.rd-page .st-quote-page .st-dialog__form { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); display: grid; gap: 0.9rem; padding: clamp(1.1rem, 3vw, 1.75rem); }
.rd-page .st-quote-page .st-dialog__form > header { display: none; } /* the page banner already shows the title; the × only closes the dialog version */
.rd-page .st-dialog__hint { color: var(--muted); margin: 0; }
.rd-page .st-quote__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rd-page .st-quote__plus { align-items: center; background: var(--canvas); border: 1px dashed var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; display: inline-flex; font: inherit; font-weight: 700; gap: 0.5rem; min-block-size: 44px; padding: 0 1rem; transition: border-color 160ms ease; }
.rd-page .st-quote__plus:hover { border-color: var(--gold); }
.rd-page .st-quote__plus b { color: var(--gold-ink); font-size: 1.2rem; }
.rd-page .st-quote__custom { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rd-page .st-quote__custom[hidden] { display: none; }
.rd-page .st-quote__custom input:first-child { flex: 1 1 14rem; }
.rd-page .st-quote__custom input[type="number"] { inline-size: 5.5rem; }
.rd-page .st-quote__title { font-size: 1.05rem; margin: 0.4rem 0 0; }
.rd-page .st-quote__list { display: grid; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.rd-page .st-quote__list li { align-items: center; background: var(--canvas); border-radius: var(--radius-sm); display: flex; gap: 0.75rem; padding: 0.5rem 0.75rem; }
.rd-page .st-quote__list li > div:not(.st-quote__qty) { display: grid; flex: 1; gap: 0.15rem; min-inline-size: 0; }
.rd-page .st-quote__list small { color: var(--muted); font-size: 0.8rem; }
.rd-page .st-quote__img { background: var(--surface); border-radius: 8px; display: grid; flex: none; block-size: 48px; inline-size: 48px; overflow: hidden; place-items: center; }
.rd-page .st-quote__img img { block-size: 100%; inline-size: 100%; object-fit: contain; }
.rd-page .st-quote__qty, .rd-page .st-picker__qty { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; display: inline-flex; }
.rd-page .st-quote__qty button, .rd-page .st-picker__qty button { background: none; border: 0; color: var(--ink); cursor: pointer; font-size: 1.1rem; block-size: 36px; inline-size: 36px; }
.rd-page .st-quote__qty output, .rd-page .st-picker__qty output { font-weight: 700; min-inline-size: 1.6rem; text-align: center; }
.rd-page .st-quote__del { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.3rem; block-size: 36px; inline-size: 36px; }
.rd-page .st-quote__del:hover { color: #c0392b; }
.rd-page .st-quote-page label { display: grid; gap: 0.35rem; }
.rd-page .st-quote-page label span { color: var(--ink-2); font-size: 0.9rem; font-weight: 700; }
.rd-page .st-quote-page input, .rd-page .st-pick__search { background: var(--canvas); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font: inherit; min-block-size: 46px; padding: 0 0.9rem; }
.rd-page .st-quote-page input:focus, .rd-page .st-pick__search:focus { border-color: var(--gold); outline: 0; }
.rd-page .st-dialog__error { color: #c0392b; font-weight: 700; margin: 0; }
.rd-page .st-dialog__submit { background: var(--navy); border: 0; border-radius: 999px; color: var(--on-navy); cursor: pointer; font: inherit; font-weight: 700; min-block-size: 50px; padding: 0 1.5rem; transition: background-color 160ms ease, transform 160ms var(--ease); }
.rd-page .st-dialog__submit:hover { background: var(--navy-deep); }
.rd-page .st-dialog__submit:active { transform: scale(0.98); }
.rd-page .st-dialog__submit:disabled { cursor: default; opacity: 0.5; }
:root[data-theme="dark"] .rd-page .st-dialog__submit, :root[data-theme="dark"] .rd-page .st-btn:not(.st-btn--ghost) { background: var(--gold); border-color: var(--gold); color: #17202f; }

/* Quote item picker */
.rd-page .st-picker__cats { display: flex; gap: 0.4rem; overflow-x: auto; padding-block-end: 0.2rem; scrollbar-width: none; }
.rd-page .st-picker__cats button { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); cursor: pointer; flex: none; font: inherit; font-size: 0.88rem; min-block-size: 40px; padding: 0 0.95rem; }
.rd-page .st-picker__cats button.is-on { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.rd-page .st-picker__grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .rd-page .st-picker__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rd-page .st-picker__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rd-page .st-picker__card { background: var(--surface); border: 2px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 0.4rem; padding: 0.6rem; transition: border-color 160ms ease; }
.rd-page .st-picker__card.is-on { border-color: var(--gold); }
.rd-page .st-picker__pick { background: none; border: 0; color: var(--ink); cursor: pointer; display: grid; font: inherit; gap: 0.3rem; padding: 0; text-align: start; }
.rd-page .st-picker__pick strong { font-size: 0.88rem; line-height: 1.45; }
.rd-page .st-picker__pick bdi { color: var(--muted); font-size: 0.75rem; }
.rd-page .st-picker__img { aspect-ratio: 1; background: var(--tile); border-radius: 12px; display: grid; overflow: hidden; place-items: center; position: relative; }
.rd-page .st-picker__img img { block-size: 100%; inline-size: 100%; object-fit: contain; }
.rd-page .st-picker__check { align-items: center; background: var(--gold); border-radius: 50%; color: #fff; display: flex; font-style: normal; block-size: 28px; inline-size: 28px; inset-block-start: 6px; inset-inline-end: 6px; justify-content: center; position: absolute; }
.rd-page .st-picker__qty { justify-self: center; }
.rd-page .st-picker__bar { background: linear-gradient(transparent, var(--canvas) 35%); bottom: 0; display: flex; justify-content: center; padding: 1rem 0 max(1rem, env(safe-area-inset-bottom)); position: sticky; z-index: 3; }
.rd-page .shikhtech-device { display: none; }
.rd-page .st-quote-page .st-dialog__form > header + .st-dialog__hint { display: none; }
@media (max-width: 520px) { .rd-page .st-quote__list li { flex-wrap: wrap; } .rd-page .st-quote__list li > div:not(.st-quote__qty) { flex: 1 1 calc(100% - 110px); } .rd-page .st-quote__qty { margin-inline-start: auto; } }
.rd-page .st-act svg, .rd-page .st-fav-remove svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.rd-page .st-pick__more { color: var(--muted); margin: 0; text-align: center; }
/* E-mail code sign-in (owner 2026-11-28): one narrow card, the code typed large. */
.rd-account .shikhtech-email-login { margin-inline: auto; max-inline-size: 460px; }
.rd-account .shikhtech-email-login .shikhtech-account-form { border-block-start: 4px solid var(--gold); }
.rd-account .shikhtech-email-login__sent, .rd-account .shikhtech-email-login__new { color: var(--ink-2); margin: 0; }
.rd-account .shikhtech-email-login__code { font-size: 1.6rem; font-weight: 700; letter-spacing: 0.4em; text-align: center; }
.rd-account .shikhtech-email-login__again { color: var(--gold-ink); font-size: 0.9rem; justify-self: center; }

/* ---------- Share an item (owner 2026-11-29) ----------
   Sits at the end of the line with the item's category, as a quiet outlined pill; the menu (for
   browsers without a share sheet) opens under it. */
.pdp__top { align-items: center; display: flex; gap: 0.75rem; justify-content: space-between; }
.pdp__top .pdp__cat { min-inline-size: 0; }
.share { flex: none; position: relative; }
.share__btn { align-items: center; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; display: inline-flex; font: inherit; font-size: 0.85rem; font-weight: 700; gap: 0.4rem; min-block-size: 36px; padding-inline: 0.75rem 0.9rem; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms var(--ease); }
.share__btn .icon { block-size: 18px; inline-size: 18px; stroke-width: 1.9; }
.share__btn:hover, .share__btn[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.share__btn:active { transform: scale(0.96); }
:root[data-theme="dark"] .share__btn:hover, :root[data-theme="dark"] .share__btn[aria-expanded="true"] { background: var(--gold); border-color: var(--gold); color: #17202f; }
.share__menu { animation: share-in 180ms var(--ease); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift); display: grid; inset-block-start: calc(100% + 8px); inset-inline-end: 0; min-inline-size: 190px; padding: 6px; position: absolute; z-index: 20; }
.share__menu[hidden] { display: none; }
.share__menu a, .share__menu button { align-items: center; background: none; border: 0; border-radius: 10px; color: var(--ink); cursor: pointer; display: flex; font: inherit; font-size: 0.9rem; gap: 0.65rem; min-block-size: 42px; padding-inline: 0.7rem; text-align: start; text-decoration: none; }
.share__menu a:hover, .share__menu button:hover { background: var(--canvas); }
.share__menu .icon { block-size: 19px; color: var(--ink-2); inline-size: 19px; }
@keyframes share-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .share__menu { animation: none; } }

/* ---------- Owner 2026-11-30: where and when in the footer, a quieter assistant button, warmer product cards, customers' projects ---------- */
.visit { display: grid; gap: 0.7rem; margin-block-start: 1.25rem; max-inline-size: 34ch; }
.visit__row { align-items: flex-start; display: flex; font-size: 0.86rem; gap: 0.55rem; line-height: 1.7; margin: 0; }
.visit__row .icon { block-size: 18px; flex: none; inline-size: 18px; margin-block-start: 0.2rem; opacity: 0.8; }
.footer .visit__map { align-items: center; color: #ffffff; display: inline-flex; font-size: 0.86rem; font-weight: 600; gap: 0.3rem; text-decoration: underline; text-underline-offset: 4px; }
.footer .visit__map .icon { block-size: 14px; inline-size: 14px; }
.visit__btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block-start: 0.2rem; }
.footer .visit__btn { align-items: center; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; color: #ffffff; display: inline-flex; font-size: 0.88rem; font-weight: 600; gap: 0.45rem; min-block-size: 44px; padding: 0.5rem 1.1rem; }
.footer .visit__btn:hover { background: rgba(255, 255, 255, 0.08); }
.footer .visit__btn--wa { background: #1f8f4e; border-color: #1f8f4e; }
.footer .visit__btn--wa:hover { background: #197a42; }
.visit__btn .icon { block-size: 18px; inline-size: 18px; }

/* The assistant button: a small quiet pill instead of a big gold one; on phones a round icon. */
.st-assist__fab { background: var(--surface, #ffffff); border: 1px solid rgba(34, 50, 75, 0.16); box-shadow: 0 6px 18px rgba(15, 22, 35, 0.12); color: var(--sa-ink); font-size: 0.8rem; font-weight: 600; padding: 0.55rem 0.9rem; }
.st-assist__fab svg { color: var(--sa-gold); }
html[data-theme="dark"] .st-assist__fab { background: #1d2a40; border-color: rgba(241, 236, 227, 0.16); }
@media (max-width: 640px) {
  .st-assist__fab { block-size: 48px; inline-size: 48px; justify-content: center; padding: 0; }
  .st-assist__fab [data-st-assist-label] { block-size: 1px; clip: rect(0 0 0 0); inline-size: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
}

/* Product cards: a thin edge; the picture stays on white (owner 2026-11-30: no cream panel). */
:root:not([data-theme="dark"]) .card { border: 1px solid rgba(34, 50, 75, 0.07); }

/* Customers' projects (shown once the owner's photos are added). */
.projects { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.project { background: var(--surface); border-radius: var(--radius); margin: 0; overflow: hidden; }
.project img { aspect-ratio: 4 / 3; block-size: auto; display: block; inline-size: 100%; object-fit: cover; }
.project figcaption { color: var(--ink); font-size: 0.9rem; line-height: 1.6; padding: 0.75rem 0.95rem 0.95rem; }
