/* Zonixtec storefront. Logical properties throughout so Arabic (RTL) and English (LTR) mirror automatically. */
:root {
  --ground: #f6f4ef;
  --ground-2: #ece9e2;
  --stage: #efebe3;
  --surface: #ffffff;
  --ink: #15181a;
  --ink-2: #50565a;
  --muted: #6b7075;
  --line: #e4e0d7;
  --line-2: #d6d1c6;
  --soft-line: #eeebe4;
  --accent: #0b6b45;
  --accent-hover: color-mix(in srgb, var(--accent) 82%, black);
  --accent-soft: #e3eee7;
  --gold: #b98a2e;
  --gold-text: #8a6417;
  --dark: #121615;
  --dark-2: #1b201e;
  --dark-line: #2a302d;
  --dark-text: #b4bcb8;
  --danger: #9a2a1c;
  --radius: 20px;
  --radius-lg: 28px;
  --wrap: 1280px;
  --gutter: clamp(16px, 5vw, 80px);
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --lh: 1.6;
  --lh-head: 1.08;
  --track-head: -0.02em;
  --track-eyebrow: 0.08em;
}
:lang(ar) {
  --font-display: 'Readex Pro', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --lh: 1.85;
  --lh-head: 1.3;
  --track-head: 0;
  --track-eyebrow: 0;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/var(--lh) var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: var(--lh-head); letter-spacing: var(--track-head); margin: 0; font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 27px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: #c9c4b8; color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; border-radius: 22px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ink); border-radius: 22px; cursor: pointer; position: relative; }
.icon-btn:hover { background: rgba(21,24,26,.06); color: var(--ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--gold-text); }
:lang(ar) .eyebrow { font-size: 15px; text-transform: none; }
.eyebrow.rule::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section { padding-top: clamp(72px, 9vw, 120px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2, .h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,244,239,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { height: 80px; display: flex; align-items: center; gap: 24px; }
.logo img { height: 44px; width: auto; }
.main-nav { display: flex; gap: 32px; margin-inline-start: 24px; font-weight: 500; }
.main-nav a { color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"] { border-color: var(--accent); font-weight: 700; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { color: var(--ink); padding: 0 12px; height: 44px; display: inline-flex; align-items: center; font-weight: 500; }
.lang-switch:lang(ar) { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.header-search label { display: flex; align-items: center; gap: 8px; height: 44px; width: 240px; padding: 0 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.header-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 14px; color: var(--ink); }
.cart-count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.menu-btn { display: none; }
.consult-btn { margin-inline-start: 8px; }
.mobile-nav { border-top: 1px solid var(--line); padding: 16px var(--gutter) 24px; display: grid; gap: 4px; background: var(--ground); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { color: var(--ink); padding: 12px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--soft-line); }
.mobile-nav a.sub { padding-inline-start: 16px; font-size: 15px; color: var(--ink-2); }
.mobile-nav input { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line-2); padding: 0 14px; margin-bottom: 8px; background: #fff; }
@media (max-width: 1180px) { .header-search, .consult-btn { display: none; } }
@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-inner { height: 64px; gap: 8px; }
  .logo { margin-inline: auto; }
  .logo img { height: 36px; }
  .header-actions { margin-inline-start: 0; gap: 0; }
  .lang-switch { padding: 0 8px; font-size: 14px; }
}

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 40px; }
.hero-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: 48px; }
.hero-title { grid-column: span 7; display: flex; flex-direction: column; gap: 24px; }
.hero-title h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.0; letter-spacing: -0.035em; }
:lang(ar) .hero-title h1 { line-height: 1.2; letter-spacing: 0; font-size: clamp(42px, 6vw, 84px); }
.hero-intro { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 28px; padding-bottom: 10px; }
.hero-intro p { font-size: 18px; color: var(--ink-2); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.stage { position: relative; height: clamp(440px, 46vw, 620px); border-radius: 32px; overflow: hidden; background: var(--stage); isolation: isolate; }
.stage-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.stage[data-ready="true"] .stage-poster { opacity: 0; }
.stage-hint { position: absolute; inset-inline-start: 22px; top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); background: rgba(255,255,255,.72); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; pointer-events: none; transition: opacity .5s; }
.stage.touched .stage-hint { opacity: 0; }
.stage-tooltip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 18px)); background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 12px; box-shadow: 0 12px 32px rgba(21,24,26,.16); font-size: 14px; font-weight: 600; white-space: nowrap; pointer-events: none; }
/* hotspots over each product */
.stage-dots { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.stage:not(.live) .stage-dots, .stage:not(.live) .stage-scenes { display: none; }
.stage-dot { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; pointer-events: auto; }
.stage-dot::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25); transition: transform .2s; }
.stage-dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); animation: dot-pulse 2.4s ease-out infinite; }
.stage-dot:hover::before, .stage-dot:focus-visible::before, .stage-dot.active::before { transform: scale(1.35); background: var(--gold); }
.stage-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.stage.touched .stage-dot::after { animation: none; opacity: 0; }
@keyframes dot-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
/* scene bar */
.stage-scenes { position: absolute; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(12px); box-shadow: 0 8px 28px rgba(21,24,26,.14); }
.stage-scenes button { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 14px var(--font-body); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.stage-scenes button:hover { color: var(--ink); background: rgba(21,24,26,.06); }
.stage-scenes button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.scene-ico { width: 16px; height: 16px; border-radius: 50%; position: relative; flex-shrink: 0; }
.scene-morning { background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent); }
.scene-evening { background: transparent; box-shadow: inset -5px -2px 0 0 var(--gold); }
.scene-movie { border-radius: 3px; border: 2px solid currentColor; }
.scene-away { border-radius: 4px 4px 8px 8px; border: 2px solid currentColor; }
/* caption after each action */
.stage-caption { position: absolute; z-index: 2; bottom: 76px; left: 50%; margin: 0; transform: translate(-50%, 8px); background: var(--dark); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .35s, transform .35s; pointer-events: none; }
.stage-caption.show { opacity: 1; transform: translate(-50%, 0); }
/* product card */
.stage-card { position: absolute; z-index: 3; top: 18px; width: min(300px, calc(100% - 36px)); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-radius: 20px; padding: 20px; box-shadow: 0 18px 50px rgba(21,24,26,.18); display: flex; flex-direction: column; gap: 10px; animation: card-in .35s ease-out; }
.stage-card[hidden] { display: none; }
.stage-card.on-right { right: 18px; }
.stage-card.on-left { left: 18px; }
.stage-card strong { font: 700 18px var(--font-display); padding-inline-end: 28px; }
.stage-card-price { font: 700 16px var(--font-display); color: var(--accent); }
.stage-card ul { margin: 0; padding-inline-start: 18px; color: var(--ink-2); font-size: 14px; display: grid; gap: 4px; }
.stage-card .btn { align-self: flex-start; margin-top: 4px; }
.stage-card-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--ground-2); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stage-dot::after { animation: none; } .stage-card { animation: none; } }
@media (max-width: 700px) {
  .stage { height: 460px; }
  .stage-hint { top: 12px; inset-inline-start: 12px; font-size: 12px; }
  .stage-scenes { bottom: 12px; max-width: calc(100% - 24px); }
  .stage-scenes button { height: 36px; padding: 0 10px; font-size: 13px; gap: 6px; }
  .stage-caption { bottom: 62px; font-size: 13px; max-width: calc(100% - 24px); white-space: normal; text-align: center; }
  /* phones: a compact strip over the empty wall at the top, so the product's reaction stays in view */
  .stage-card, .stage-card.on-left, .stage-card.on-right { top: 10px; left: 10px; right: 10px; width: auto; padding: 12px 14px; border-radius: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; }
  .stage-card strong { font-size: 15px; padding-inline-end: 0; grid-column: 1; }
  .stage-card-price { grid-column: 1; font-size: 14px; }
  .stage-card ul { display: none; }
  .stage-card .btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; height: 38px; padding: 0 14px; font-size: 13px; }
  .stage-card-close { display: none; }
  .stage-dot { width: 28px; height: 28px; }
  .stage-dot::before { inset: 9px; }
  .stage-dot::after { inset: 4px; }
}
.lineup { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.lineup > span { font-size: 14px; color: var(--ink-2); margin-inline-end: 6px; }
.chip { height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 960px) {
  .hero-top { grid-template-columns: 1fr; row-gap: 24px; margin-bottom: 28px; }
  .hero-title, .hero-intro { grid-column: auto; }
  .hero-ctas .btn { flex: 1 1 200px; }
  .stage { border-radius: 24px; }
}

/* Services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.service { padding: 28px; display: flex; gap: 16px; }
.service + .service { border-inline-start: 1px solid var(--soft-line); }
.service-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.service strong { display: block; font-size: 15px; }
.service span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { padding: 18px 16px; flex-direction: column; gap: 10px; }
  .service + .service { border-inline-start: 0; }
  .service:nth-child(odd) { border-inline-end: 1px solid var(--soft-line); }
  .service:nth-child(-n+2) { border-bottom: 1px solid var(--soft-line); }
}

/* Collections */
.collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 20px; }
.collection { position: relative; border-radius: 24px; overflow: hidden; display: block; background: #fff; }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.collection:hover img { transform: scale(1.03); }
.collection.big { grid-column: span 2; grid-row: span 2; }
.collection-label { position: absolute; inset-inline-start: 16px; bottom: 16px; background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 16px; font-family: var(--font-display); font-weight: 700; }
.collection.big .collection-label { inset-inline: 24px; bottom: 24px; padding: 20px 22px; border-radius: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.collection.big .collection-label strong { display: block; font-size: 22px; }
.collection.big .collection-label small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--ink-2); }
.round-arrow { width: 44px; height: 44px; flex-shrink: 0; border-radius: 22px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
@media (max-width: 960px) {
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 12px; }
  .collection.big { grid-row: span 1; height: 220px; }
  .collection.big .collection-label { inset-inline: 12px; bottom: 12px; padding: 12px 14px; }
  .collection.big .collection-label small { display: none; }
}

/* Solutions (dark) */
.dark { background: var(--dark); color: #f3f1ec; padding-block: clamp(64px, 8vw, 112px); margin-top: clamp(72px, 9vw, 120px); }
.dark .eyebrow { color: #d4a94e; }
.dark h2 { color: #fff; }
.solutions-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: 64px; }
.solutions-head > div { grid-column: span 7; }
.solutions-head h2 { font-size: clamp(30px, 3.6vw, 48px); margin-top: 16px; }
.solutions-head p { grid-column: 9 / span 4; color: var(--dark-text); font-size: 17px; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; color: #d4a94e; }
.pillar h3 { font-size: 21px; color: #fff; }
.pillar p { font-size: 15px; color: var(--dark-text); }
.process-title { display: block; margin: 64px 0 28px; font-size: 13px; font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: #8e9792; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.process li { border-top: 1px solid #3a413e; padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.process li::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 700; color: #d4a94e; }
.process strong { font-family: var(--font-display); font-size: 19px; color: #fff; }
.process span { font-size: 15px; color: var(--dark-text); }
@media (max-width: 960px) {
  .solutions-head { grid-template-columns: 1fr; row-gap: 16px; margin-bottom: 32px; }
  .solutions-head > div, .solutions-head p { grid-column: auto; }
  .pillars, .process { grid-template-columns: 1fr; gap: 12px; }
  .pillar { padding: 20px; }
}

/* Product cards */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-products.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-products, .grid-products.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-products, .grid-products.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; padding: 5px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.badge.muted { inset-inline-start: auto; inset-inline-end: 14px; background: var(--ground); color: var(--ink); font-weight: 600; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; border-top: 1px solid var(--soft-line); }
.card-cat { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .card-cat { letter-spacing: 0; font-size: 13px; text-transform: none; }
.card-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
:lang(ar) .card-title { font-weight: 600; line-height: 1.6; min-height: 3.2em; }
.card-title:hover { color: var(--accent); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-size: 18px; }
.price s { font-size: 14px; color: var(--muted); }
.add-btn { width: 44px; height: 44px; flex-shrink: 0; border-radius: 22px; border: 0; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.add-btn:hover { background: var(--accent); }
.add-btn[data-added] { background: var(--accent); }
@media (max-width: 760px) { .card-body { padding: 12px; } .price strong { font-size: 15px; } .add-btn { width: 40px; height: 40px; } }

/* About */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.about-media { grid-column: span 6; height: 520px; border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.about-media img { width: 100%; height: 100%; object-fit: contain; }
.about-copy { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 22px; }
.about-copy p { font-size: 17px; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 8px; }
.stats div { border-top: 2px solid var(--gold); padding-top: 16px; }
.stats strong { display: block; font-family: var(--font-display); font-size: 30px; }
.stats span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; row-gap: 32px; } .about-media, .about-copy { grid-column: auto; } .about-media { height: 360px; } }

/* CTA */
.cta { background: var(--accent-soft); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3vw, 40px); color: #0f2a1e; }
.cta p { color: #2f4a3d; font-size: 17px; margin-top: 12px; max-width: 640px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { margin-top: clamp(72px, 9vw, 120px); background: var(--ground-2); border-top: 1px solid #ddd8cd; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 48px; }
.footer-grid h2 { font-size: 16px; margin-bottom: 14px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.footer-grid a { color: var(--ink-2); }
.footer-grid a:hover { color: var(--ink); }
.footer-brand img { width: 130px; height: auto; }
.footer-brand p { max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid #ddd8cd; padding-block: 24px 32px; font-size: 14px; color: var(--ink-2); }
.footer-pay { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pay-badges { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.pay-badge { height: 30px; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid #ddd8cd; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--ink); }
.pay-badge.visa { font-family: Arial, sans-serif; font-style: italic; font-weight: 800; color: #1a1f71; font-size: 14px; }
.pay-badge.meeza { color: #0b4f8a; }
.pay-badge.vf { color: #b3000f; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Page header / breadcrumbs */
.page-head { padding-block: 36px 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); }
.page-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* Shop */
.shop-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.filters h2 { font-size: 17px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.field small { font-weight: 400; color: var(--muted); font-size: 13px; }
.input, .select { height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; padding: 0 14px; font-size: 15px; color: var(--ink); width: 100%; }
.input:focus, .select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.help-box { background: var(--accent-soft); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.help-box strong { font-family: var(--font-display); color: #0f2a1e; }
.help-box span { font-size: 14px; color: #2f4a3d; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; color: var(--ink-2); font-size: 15px; }
.toolbar .select { width: auto; height: 44px; border-radius: 22px; }
.pagination { display: flex; justify-content: center; gap: 8px; padding-top: 32px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.pagination [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { padding: 64px 24px; text-align: center; color: var(--ink-2); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); }
@media (max-width: 960px) { .shop-layout { grid-template-columns: 1fr; } .filters { position: static; } }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.gallery { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
.thumbs { display: flex; flex-direction: column; gap: 12px; }
.thumbs button { width: 88px; height: 88px; padding: 0; border-radius: 14px; border: 1px solid var(--line); background: #fff; overflow: hidden; cursor: pointer; }
.thumbs button[aria-current="true"] { border: 2px solid var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.main-image { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.main-image img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.pdp-info h1 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.25; }
:lang(ar) .pdp-info h1 { line-height: 1.5; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pdp-price strong { font-family: var(--font-display); font-size: 34px; }
.pdp-price s { font-size: 18px; color: var(--muted); }
.buy-row { display: flex; gap: 12px; }
.qty { height: 54px; border: 1px solid #c9c4b8; border-radius: 27px; display: flex; align-items: center; background: #fff; }
.qty button { width: 46px; height: 52px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qty input { width: 36px; text-align: center; border: 0; outline: 0; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { display: none; }
.facts { border-top: 1px solid var(--line); }
.facts div { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.facts svg { flex-shrink: 0; color: var(--accent); }
.facts strong { color: var(--ink); }
.description { max-width: 820px; font-size: 16px; color: var(--ink-2); }
.description h2, .description h3, .description h4 { font-size: 20px; color: var(--ink); margin: 28px 0 12px; }
.description p { margin: 0 0 12px; }
.description ul, .description ol { padding-inline-start: 22px; margin: 0 0 12px; }
.description table { border-collapse: collapse; width: 100%; margin: 12px 0; background: #fff; border-radius: 12px; overflow: hidden; }
.description td, .description th { border: 1px solid var(--line); padding: 10px 12px; text-align: start; font-size: 14px; }
.notice { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; overflow-x: auto; order: 2; }
  .thumbs button { width: 72px; height: 72px; flex-shrink: 0; }
  .pdp-info { position: static; }
}

/* Cart & checkout */
.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.panel h2 { font-size: 20px; display: flex; gap: 12px; align-items: center; }
.step { width: 28px; height: 28px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); }
.form-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-6 { grid-column: span 6; }
@media (max-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-3, .span-6 { grid-column: span 2; } .span-2 { grid-column: span 1; } }
.phone { display: flex; height: 48px; border-radius: 12px; border: 1px solid var(--line-2); overflow: hidden; background: #fff; }
.phone span { padding: 0 12px; display: flex; align-items: center; background: var(--ground); border-inline-end: 1px solid var(--line-2); color: var(--ink-2); }
.phone input { border: 0; outline: 0; flex: 1; padding: 0 12px; min-width: 0; }
.options { display: grid; gap: 12px; }
.options.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .options.two { grid-template-columns: 1fr; } }
.option { position: relative; display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; }
.option:has(input:checked) { border: 2px solid var(--accent); background: #f2f8f4; padding: 17px 19px; }
.option input { width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; margin: 0; }
.option-text { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; }
.option-text strong { font-size: 16px; }
.option-text span { font-size: 14px; color: var(--ink-2); }
.option-fee { font-weight: 600; font-size: 14px; white-space: nowrap; }
.pay-note { background: var(--ground); border-radius: 14px; padding: 16px 18px; display: flex; gap: 14px; font-size: 14px; color: #2f3437; }
.pay-note svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.summary { position: sticky; top: 100px; }
.summary-items { display: flex; flex-direction: column; gap: 14px; }
.line { display: flex; gap: 14px; align-items: center; }
.line-img { position: relative; width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.line-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.line-img b { position: absolute; top: -8px; inset-inline-end: -8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink-2); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.line-name { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.45; }
.totals { display: flex; flex-direction: column; gap: 12px; font-size: 15px; border-top: 1px solid var(--soft-line); padding-top: 16px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals span:first-child { color: var(--ink-2); }
.grand { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--soft-line); padding-top: 16px; }
.grand strong:last-child { font-family: var(--font-display); font-size: 26px; }
.form-error { background: #fbe4e1; color: var(--danger); border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.form-error[hidden] { display: none; }
.field-error { color: var(--danger); font-size: 13px; }
.cart-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--soft-line); }
.cart-row .line-img { width: 88px; height: 88px; }
.cart-row a { color: var(--ink); font-weight: 600; }
.cart-row .row-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 14px; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .summary { position: static; } }

/* Content pages */
.prose { max-width: 760px; font-size: 17px; color: var(--ink-2); }
.prose h2 { color: var(--ink); font-size: 24px; margin: 40px 0 12px; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-inline-start: 22px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Order status */
.status-card { max-width: 640px; margin-inline: auto; text-align: center; align-items: center; padding-block: 48px; }
.status-icon { width: 64px; height: 64px; border-radius: 32px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.status-icon.fail { background: #fbe4e1; color: var(--danger); }
.status-card h1 { font-size: clamp(26px, 3vw, 34px); }
.status-card p { color: var(--ink-2); }

.toast { position: fixed; bottom: 24px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100vw - 32px); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; z-index: 80; box-shadow: 0 12px 32px rgba(0,0,0,.2); display: flex; gap: 16px; align-items: center; }
.toast a { color: #9fe0bf; font-weight: 600; }
.toast[hidden] { display: none; }

/* Announcement bar */
.announcement { background: var(--ink); color: #fff; text-align: center; font-size: 14px; padding: 9px var(--gutter); }
.announcement a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }

/* Tracking timeline */
.timeline { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 11px; top: 26px; bottom: 0; width: 2px; background: var(--accent-soft); }
.timeline .dot { width: 24px; height: 24px; flex-shrink: 0; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.timeline li.current .dot { background: var(--accent); color: #fff; }
.timeline div { display: flex; flex-direction: column; gap: 2px; }
.timeline strong { font-size: 16px; }
.timeline span { font-size: 14px; color: var(--ink-2); }
.timeline time { font-size: 13px; color: var(--muted); }

/* Support chat widget */
#support-widget { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.sw-launch { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 26px; border: 0; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; box-shadow: 0 12px 32px rgba(21,24,26,.25); }
.sw-launch:hover { background: #000; }
.sw-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px)); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(21,24,26,.22); display: flex; flex-direction: column; overflow: hidden; }
.sw-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--ground); border-bottom: 1px solid var(--line); }
.sw-head div { display: flex; flex-direction: column; gap: 2px; }
.sw-head strong { font-family: var(--font-display); }
.sw-head span { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.sw-close { width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 18px; background: transparent; font-size: 24px; cursor: pointer; color: var(--ink-2); }
.sw-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.sw-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; background: var(--ground); font-size: 14px; line-height: 1.6; align-self: flex-start; }
.sw-msg p { white-space: pre-wrap; overflow-wrap: anywhere; }
.sw-msg.from-customer { align-self: flex-end; background: var(--accent); color: #fff; }
.sw-msg.from-staff { background: var(--accent-soft); }
.sw-msg.from-system { align-self: center; background: transparent; color: var(--muted); font-size: 13px; text-align: center; }
.sw-msg.typing { color: var(--muted); }
.sw-who { display: block; font-size: 11px; font-weight: 600; opacity: .75; margin-bottom: 2px; }
.sw-state { margin: 0 16px 8px; font-size: 13px; color: var(--gold-text); }
.sw-form { border-top: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.sw-input { width: 100%; resize: none; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
.sw-actions { display: flex; justify-content: space-between; gap: 8px; }
.sw-human { border: 1px solid var(--line-2); background: #fff; border-radius: 20px; padding: 8px 14px; font-size: 13px; cursor: pointer; }
.sw-send { margin-inline-start: auto; border: 0; background: var(--accent); color: #fff; border-radius: 20px; padding: 8px 18px; font-weight: 600; cursor: pointer; }
.sw-send[disabled] { opacity: .6; }
.sw-error { color: var(--danger); font-size: 13px; }
.sw-note { margin: 0; padding: 0 16px 10px; font-size: 11px; color: var(--muted); }
@media (max-width: 640px) { #support-widget { bottom: 12px; inset-inline-end: 12px; } .sw-launch span { display: none; } .sw-launch { width: 52px; padding: 0; justify-content: center; } }

/* --- Price on request, sub-collections, solutions strip ------------------------------------ */
.price.on-request strong, .pdp-price.on-request strong { color: var(--gold-text); font-size: 15px; font-weight: 600; }
.pdp-price.on-request strong { font-size: 22px; }
.quote-box { display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.quote-box p { color: var(--ink-2); font-size: 15px; }
.btn-block + .btn-block { margin-top: 0; }
.sub-chips { margin-top: 12px; }
.sub-chips .chip { height: 34px; font-size: 13px; background: transparent; gap: 6px; }
.sub-chips .chip small { color: var(--muted); font-size: 12px; }
.sub-chips .chip[aria-current="true"] small { color: #ffffffb3; }
.page-lead { color: var(--ink-2); font-size: 17px; max-width: 62ch; margin-top: 14px; }
.strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 48px; margin-bottom: 18px; }
.strip-head h3 { font-size: 20px; }
.solution-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.solution-card { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.solution-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: var(--stage); margin-bottom: 8px; transition: transform .4s; }
.solution-card:hover img { transform: translateY(-3px); }
.solution-card strong { font-family: var(--font-display); font-size: 16px; }
.solution-card span { color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 1100px) { .solution-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .solution-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .solution-card { flex: 0 0 62%; scroll-snap-align: start; }
}

/* --- Booking (/book) ------------------------------------------------------------------------ */
.book { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; padding-block: 48px 96px; }
.book-intro { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.book-intro h1 { font-size: clamp(32px, 4vw, 46px); line-height: var(--lh-head); letter-spacing: var(--track-head); }
.book-steps { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 12px; padding: 0; }
.book-steps li { display: flex; gap: 14px; align-items: flex-start; }
.book-steps li div { display: flex; flex-direction: column; gap: 2px; }
.book-steps li span:not(.step) { color: var(--muted); font-size: 14px; }
.book-steps .step { flex-shrink: 0; background: var(--accent); }
.book-form { display: flex; flex-direction: column; gap: 20px; }
.book-form .notice { background: var(--accent-soft); color: var(--ink); padding: 14px 18px; border-radius: 14px; margin: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 14px; transition: border-color .15s, background .15s; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.interest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.interest-grid .choice span { width: 100%; }
.fine { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.book-done { align-items: flex-start; }
.done-icon { width: 56px; height: 56px; border-radius: 28px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.book-done h2 { font-size: 28px; }
@media (max-width: 960px) { .book { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 32px 72px; } .book-intro { position: static; } .interest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mobile-nav .btn { margin-top: 12px; justify-content: center; }
fieldset.field.choice-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
fieldset.field.choice-row legend { width: 100%; float: inline-start; }
/* Keep every card image square, whatever the photo's proportions. */
.card-media { overflow: hidden; }
.card-media img { position: absolute; inset: 0; }
.sub-chips .chip[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.description { overflow-wrap: anywhere; }
.description table { display: block; overflow-x: auto; max-width: 100%; }

/* --- Customer quote page --------------------------------------------------------------------------------- */
.quote-view { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding-block: 32px 72px; }
.quote-paper { background: #dcd8cf; border-radius: var(--radius); padding: 18px; overflow-x: auto; }
.quote-paper .page { margin: 0 auto; box-shadow: 0 6px 30px rgba(0,0,0,.12); }
.quote-actions { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.quote-actions .panel { gap: 12px; padding: 20px; }
.quote-actions h2 { font-size: 18px; }
.quote-due { font: 800 28px var(--font-display); color: var(--accent); margin: 0; }
.quote-actions details summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.notice-ok { background: var(--accent-soft); color: #0b5a3a; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin: 0; }
@media (max-width: 1000px) {
  .quote-view { grid-template-columns: minmax(0, 1fr); }
  .quote-actions { position: static; order: -1; }
  .quote-paper { padding: 0; background: none; }
  .quote-paper .page { width: 100%; min-height: auto; padding: 22px 18px 60px; box-shadow: none; border: 1px solid var(--line); border-radius: var(--radius); }
  .quote-paper .doc-meta { grid-template-columns: 1fr; }
  .quote-paper table.lines td.thumb { display: none; }
  .quote-paper .totals { width: 100%; }
}

/* --- Chat widget: unread badge, pending bubble ------------------------------------------------------------- */
.sw-launch { position: relative; }
.sw-badge { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #c0392b; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.sw-msg.pending { opacity: .6; }

/* --- Customer account ---------------------------------------------------------------------------- */
.account-btn[aria-current="page"] { color: var(--accent); }
.account-auth { display: grid; place-items: center; padding-block: 56px 96px; }
.account-card { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 18px 50px rgba(21,24,26,.06); }
.account-card h1 { font-size: 26px; }
.account-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.code-input { font: 700 26px var(--font-display); text-align: center; letter-spacing: .3em; height: 60px; }
.link-muted { color: var(--muted); font-size: 14px; text-align: center; }
.account { padding-block: 40px 96px; display: flex; flex-direction: column; gap: 24px; }
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.account-head h1 { font-size: clamp(28px, 4vw, 40px); margin-top: 6px; }
.account-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.account-due { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.account-due h2 { font-size: 18px; color: #fff; }
.account-due .muted { color: var(--dark-text); }
.due-list { display: flex; flex-direction: column; gap: 10px; }
.due-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 16px; padding: 14px 16px; }
.due-item > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.due-amount { font: 700 18px var(--font-display); white-space: nowrap; }
.account-tabs { display: flex; gap: 6px; flex-wrap: wrap; position: sticky; top: 72px; z-index: 4; background: var(--ground); padding-block: 8px; }
.account-tabs a { white-space: nowrap; flex-shrink: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; background: #fff; }
.account-tabs a:hover { border-color: var(--ink); }
.count { font-size: 12px; background: var(--ground-2); color: var(--ink-2); border-radius: 999px; padding: 0 8px; font-weight: 600; }
.account-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; scroll-margin-top: 130px; display: flex; flex-direction: column; gap: 14px; }
.account-section h2 { font-size: 19px; display: flex; gap: 10px; align-items: center; }
.a-list { display: flex; flex-direction: column; }
.a-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--soft-line); color: var(--ink); }
.a-row:first-child { border-top: 0; }
a.a-row:hover { background: var(--ground); border-radius: 12px; }
.a-row > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.a-pills { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.a-money { display: flex; flex-direction: column; align-items: flex-end; text-align: end; }
.a-pill { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.a-pill.ok { background: var(--accent-soft); color: #0b5a3a; }
.a-pill.wait { background: #f4ecd9; color: var(--gold-text); }
.a-pill.bad { background: #fbe4e1; color: var(--danger); }
.account-due .a-pill.wait { background: rgba(185,138,46,.18); color: #e7c57e; }
.account-due .a-pill.bad { background: rgba(154,42,28,.25); color: #f2b0a5; }
.account-profile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
@media (max-width: 760px) {
  .due-item { grid-template-columns: minmax(0, 1fr) auto; }
  .due-item form, .due-item > a { grid-column: 1 / -1; }
  .due-item .btn { width: 100%; }
  .a-row { grid-template-columns: minmax(0, 1fr) auto; }
  .a-row > :last-child { grid-column: 1 / -1; align-items: flex-start; text-align: start; }
  .account-profile { grid-template-columns: 1fr; }
  .account-tabs { top: 64px; overflow-x: auto; flex-wrap: nowrap; }
}

/* --- Plan my home ------------------------------------------------------------------------------------ */
.planner { padding-block: 40px 96px; }
.planner-head { max-width: 760px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.planner-head h1 { font-size: clamp(30px, 4.4vw, 52px); }
.planner-head p { color: var(--ink-2); font-size: 17px; }
.planner-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.planner-steps { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plan-step { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 22px; margin: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.plan-step legend, .plan-step .legend { font: 700 18px var(--font-display); display: flex; align-items: center; gap: 10px; padding: 0; float: left; width: 100%; margin-bottom: 4px; }
.plan-step legend + * { clear: both; }
.step { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice-card, .feature-card, .tier-card, .chip-choice, .finish-choice { position: relative; cursor: pointer; }
.choice-card input, .feature-card input, .tier-card input, .chip-choice input, .finish-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-card span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border: 1px solid var(--line-2); border-radius: 16px; font-weight: 600; transition: border-color .2s, background .2s; }
.choice-card input:checked + span, .tier-card input:checked + span { border-color: var(--ink); background: var(--ground); box-shadow: inset 0 0 0 1px var(--ink); }
.choice-card input:focus-visible + span, .tier-card input:focus-visible + span, .chip-choice input:focus-visible + span, .finish-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.feature-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row.static .chip { height: 34px; font-size: 13px; }
.chip-accent { background: var(--accent-soft); border-color: transparent; color: #0b5a3a; }
.chip-choice span { display: inline-flex; height: 38px; align-items: center; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; }
.chip-choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.stepper-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line-2); border-radius: 14px; padding-block: 8px; padding-inline: 14px 8px; }
.stepper > span { font-size: 14px; font-weight: 500; }
.stepper-ctl { display: flex; align-items: center; gap: 4px; }
.stepper-ctl button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.stepper-ctl button:hover { border-color: var(--ink); }
.stepper-ctl input { width: 44px; height: 36px; text-align: center; border: 0; font: 700 17px var(--font-display); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.stepper-ctl input::-webkit-inner-spin-button { -webkit-appearance: none; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.feature-card { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line-2); border-radius: 16px; padding: 14px; transition: border-color .2s, background .2s; }
.feature-card[hidden] { display: none; }
.feature-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.feature-card strong { font-size: 15px; }
.feature-card small { color: var(--ink-2); font-size: 12.5px; line-height: 1.5; }
.feature-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--ground); display: grid; place-items: center; color: var(--ink); margin-bottom: 4px; }
.feature-card:has(input:checked) .feature-icon { background: #fff; color: var(--accent); }
.feature-card:has(input:checked)::after { content: "\2713"; position: absolute; top: 10px; inset-inline-end: 12px; color: var(--accent); font-weight: 700; }
.tier-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tier-card span { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line-2); border-radius: 16px; height: 100%; }
.tier-card strong { font: 700 16px var(--font-display); }
.tier-card small { color: var(--ink-2); font-size: 12.5px; line-height: 1.5; }
.finish-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.finish-choice span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; }
.finish-choice i { width: 18px; height: 18px; border-radius: 5px; border: 1px solid #9a958b; }
.finish-choice.black i { background: #0d0f10; }
.finish-choice.white i { background: #f7f6f2; }
.finish-choice input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.planner-summary { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 50px rgba(21,24,26,.06); max-height: calc(100vh - 110px); overflow: auto; }
/* in the live planner only the device list scrolls; the totals and the save button stay in view */
[data-planner] .planner-summary { overflow: hidden; }
[data-planner] [data-plan-list] { flex: 1 1 auto; min-height: 120px; overflow: auto; margin-inline: -6px; padding-inline: 6px; }
[data-planner] .planner-summary > :not([data-plan-list]) { flex-shrink: 0; }
.summary-head { display: flex; justify-content: space-between; align-items: baseline; }
.summary-head h2 { font-size: 20px; }
.plan-list { display: flex; flex-direction: column; gap: 14px; }
.plan-group h3 { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.plan-line { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 0; color: var(--ink); font-size: 13.5px; border-bottom: 1px solid var(--soft-line); }
.plan-line img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; background: var(--stage); }
.plan-name { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; }
.plan-qty { color: var(--muted); white-space: nowrap; }
.plan-price { font-weight: 600; white-space: nowrap; }
.plan-empty { padding: 20px 0; }
.plan-totals { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.plan-totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.plan-totals dt { color: var(--ink-2); }
.plan-totals dd { margin: 0; font-weight: 600; white-space: nowrap; }
.plan-totals .grand { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 18px; }
.plan-totals .grand dt { color: var(--ink); font-weight: 600; }
.plan-totals .grand dd { font: 800 22px var(--font-display); color: var(--accent); }
.small { font-size: 13px; }
.plan-mobilebar { display: none; }
.plan-request { display: flex; flex-direction: column; gap: 12px; }
.plan-request.done { align-items: stretch; text-align: center; }
.done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto; }
@media (max-width: 1000px) {
  .planner-grid { grid-template-columns: minmax(0, 1fr); }
  .planner-summary, [data-planner] .planner-summary { position: static; max-height: none; overflow: visible; }
  [data-planner] [data-plan-list] { overflow: visible; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-planner] .plan-mobilebar { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 30; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .plan-mobilebar span { display: flex; flex-direction: column; }
  .plan-mobilebar strong { font: 800 19px var(--font-display); color: var(--accent); }
  [data-planner] { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .choice-row, .tier-row { grid-template-columns: minmax(0, 1fr); }
  .stepper-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-step { padding: 16px; }
}
@media print {
  .site-header, .site-footer, .planner-head .btn-row, .plan-request, #support-widget { display: none !important; }
  .planner-grid { grid-template-columns: 1fr; }
  .plan-step, .planner-summary { border: 0; box-shadow: none; padding: 0; }
}

.main-nav a { white-space: nowrap; }

/* payment acceptance marks */
.pay-badge.logo { height: 32px; padding: 0 8px; gap: 6px; background: #fff; border-color: #e2ded4; }
.pay-badge.logo img { height: 20px; width: auto; display: block; }
.pay-badge.logo.vf img { height: 18px; }
.pay-badge.logo.vf span { font: 700 12px var(--font-body); color: #e60000; white-space: nowrap; }
