:root {
  --bg: #f4f7fa; --surface: #ffffff; --surface-soft: #edf4f8; --text: #102235; --muted: #617285;
  --brand: #123b5d; --brand-2: #256a9b; --accent: #5aa9e6; --line: #dbe4eb; --danger: #b23a3a; --success: #237a55;
  --shadow: 0 18px 50px rgba(18, 59, 93, 0.08); --radius-lg: 22px; --radius-md: 16px; --radius-sm: 11px; --container: 1500px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
button, input, textarea, select { font: inherit; }
button, label.choice-pill, label.choice-card, label.upload-box, label.angle-slot { cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 100; padding: 10px 14px; background: white; color: var(--brand); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.app-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.app-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; aspect-ratio: 1; border-radius: 13px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--brand), var(--accent)); font-size: 1.35rem; font-weight: 900; }
.brand__name, .brand__tagline { margin: 0; }.brand__name { font-weight: 950; letter-spacing: .08em; }.brand__tagline { color: var(--muted); font-size: .78rem; }
.app-header__actions { display: flex; gap: 10px; align-items: center; }.save-status { color: var(--muted); font-size: .84rem; font-weight: 750; }

.app-main { padding: 34px 0 18px; }.app-layout { display: grid; grid-template-columns: minmax(260px, 330px) minmax(0, 1fr); gap: 24px; align-items: start; }
.progress-card { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.progress-card h1 { margin: 8px 0 12px; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.04; letter-spacing: -.04em; }
.progress-card__meter { height: 10px; background: #e5edf4; border-radius: 999px; overflow: hidden; margin-top: 24px; }.progress-card__meter span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: inherit; transition: width 180ms ease; }
.progress-card__text { color: var(--muted); margin: 10px 0 0; }.summary-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }.summary-chip { padding: 7px 10px; border-radius: 999px; background: var(--surface-soft); color: var(--brand); font-size: .78rem; font-weight: 850; }
.eyebrow { margin: 0; color: var(--brand-2); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 900; }.muted { color: var(--muted); }

.intake-form { display: grid; gap: 22px; }.form-section { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }.form-section--final { border-color: rgba(37,106,155,.35); }
.section-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 28px; }.section-heading__index { width: 46px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; background: var(--surface-soft); color: var(--brand); font-weight: 900; }.section-heading h2 { margin: 2px 0 0; font-size: clamp(1.35rem,2vw,1.8rem); letter-spacing: -.025em; }
.form-grid { display: grid; gap: 16px; margin-bottom: 18px; }.form-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }.form-grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }.field__label { font-weight: 800; font-size: .92rem; }
input[type="text"],input[type="email"],input[type="tel"],textarea,select { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; background: #fbfdff; color: var(--text); outline: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
textarea { resize: vertical; min-height: 92px; } input:focus,textarea:focus,select:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(37,106,155,.11); }.field--color input[type="color"] { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; padding: 4px; }
[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(178,58,58,.1) !important; }

.choice-group { margin: 0 0 20px; padding: 0; border: 0; }.choice-group legend { font-weight: 850; margin-bottom: 10px; }.choice-buttons { display: grid; gap: 10px; }.choice-buttons--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }.choice-buttons--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }.choice-buttons--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }.choice-buttons--wrap { display: flex; flex-wrap: wrap; }
.choice-card,.choice-pill { position: relative; display: block; }.choice-card input,.choice-pill input { position: absolute; opacity: 0; pointer-events: none; }.choice-card span,.choice-pill span { display: flex; min-height: 46px; align-items: center; justify-content: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfdff; user-select: none; transition: 150ms ease; }.choice-card span { min-height: 88px; align-items: flex-start; flex-direction: column; gap: 5px; }.choice-card small { color: var(--muted); font-weight: 500; }.choice-pill input:checked + span,.choice-card input:checked + span { border-color: var(--brand-2); background: rgba(90,169,230,.12); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-2); }.choice-card input:focus-visible + span,.choice-pill input:focus-visible + span { outline: 3px solid rgba(90,169,230,.35); outline-offset: 2px; }.choice-buttons--wrap .choice-pill span { min-width: 108px; }
.choice-group.is-invalid { padding: 12px; border: 1px solid rgba(178,58,58,.5); border-radius: var(--radius-md); background: rgba(178,58,58,.035); }
.yes-no-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.compact-choice { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fbfdff; }
.conditional-panel { margin: -4px 0 20px; padding: 16px; border: 1px dashed #bfd0df; border-radius: var(--radius-md); background: #f9fbfd; }.is-hidden { display: none !important; }

.btn { border: 0; border-radius: 11px; padding: 11px 15px; font-weight: 850; transition: transform 150ms ease, opacity 150ms ease; }.btn:hover { transform: translateY(-1px); }.btn:focus-visible,.icon-btn:focus-visible { outline: 3px solid rgba(90,169,230,.45); outline-offset: 2px; }.btn--primary { color: white; background: linear-gradient(135deg,var(--brand),var(--brand-2)); }.btn--secondary { background: #e9f0f6; color: var(--brand); }.btn--danger { background: #f8e8e8; color: var(--danger); }.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.upload-box { display: flex; align-items: center; gap: 14px; border: 2px dashed #b9ccdc; border-radius: var(--radius-md); padding: 18px; background: #f9fbfd; }.upload-box input { position: absolute; opacity: 0; pointer-events: none; }.upload-box__icon { width: 44px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; background: var(--brand); color: white; font-size: 1.5rem; }.upload-box strong,.upload-box small { display: block; }.upload-box small { color: var(--muted); }.single-preview img { width: 120px; max-height: 86px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: white; margin-top: 12px; }

.image-limit-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px; border-radius: var(--radius-md); background: var(--surface-soft); margin-bottom: 14px; }.image-limit-card > div { display: grid; gap: 3px; }.image-limit-card span { color: var(--muted); font-size: .86rem; }.notice { margin-bottom: 18px; padding: 14px 16px; border-left: 4px solid var(--brand-2); background: #f5faff; border-radius: 10px; color: #41566a; }
.product-image-sets { display: grid; gap: 16px; }.empty-state { padding: 32px; border: 1px dashed #bdccd8; border-radius: var(--radius-md); text-align: center; color: var(--muted); background: #fbfdff; }
.image-set-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; background: #fbfdff; }.image-set-card__header { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }.image-set-card__header > div { display: flex; align-items: center; gap: 10px; }.image-set-card__number { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; background: var(--surface-soft); color: var(--brand); font-size: .78rem; font-weight: 900; }.image-set-card__status { color: var(--muted); font-size: .82rem; font-weight: 800; }.image-set-meta { margin-bottom: 12px; }.image-set-meta .field { margin-bottom: 0; }
.angle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }.angle-slot { min-height: 180px; border: 1px dashed #b9ccdc; border-radius: 13px; background: white; position: relative; overflow: hidden; }.angle-slot--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--brand); }.angle-slot--empty input { position: absolute; opacity: 0; pointer-events: none; }.angle-slot__plus { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); font-size: 1.35rem; }.angle-slot--empty small { color: var(--muted); }.angle-slot--filled img { width: 100%; height: 140px; object-fit: cover; display: block; background: #e9eef3; }.angle-slot__info { display: grid; padding: 10px 10px 8px; }.angle-slot__info small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }.image-remove { position: absolute; top: 8px; right: 8px; border: 0; border-radius: 8px; padding: 6px 9px; background: rgba(255,255,255,.9); color: var(--danger); font-size: .75rem; font-weight: 900; box-shadow: 0 4px 12px rgba(0,0,0,.12); }

.export-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px; border-radius: var(--radius-md); background: linear-gradient(135deg,rgba(18,59,93,.06),rgba(90,169,230,.12)); }.export-panel h3,.export-panel p { margin: 0; }.export-panel p { margin-top: 6px; max-width: 760px; color: var(--muted); }.export-panel__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }.form-message { min-height: 24px; margin-top: 14px; font-weight: 800; }.form-message.is-error { color: var(--danger); }.form-message.is-success { color: var(--success); }
.validation-summary { margin-top: 16px; padding: 14px 16px; border: 1px solid rgba(178,58,58,.35); border-radius: 12px; background: rgba(178,58,58,.055); color: #7f2727; }.validation-summary ul { margin: 8px 0 0; padding-left: 20px; }
.brief-dialog { width: min(900px,calc(100% - 28px)); max-height: 88vh; border: 0; border-radius: 22px; padding: 0; box-shadow: 0 28px 90px rgba(16,34,53,.3); }.brief-dialog::backdrop { background: rgba(6,18,30,.55); backdrop-filter: blur(5px); }.brief-dialog__header,.brief-dialog__actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--line); }.brief-dialog__actions { border-top: 1px solid var(--line); border-bottom: 0; justify-content: flex-end; }.brief-dialog pre { margin: 0; padding: 22px; max-height: 58vh; overflow: auto; white-space: pre-wrap; font: 500 .9rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace; background: #f8fafc; }.icon-btn { width: 42px; aspect-ratio: 1; border: 0; border-radius: 50%; background: #eef3f7; color: var(--text); font-size: 1.6rem; }
.app-footer { padding: 26px 0 36px; }.app-footer__inner { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .88rem; }.app-footer p { margin: 0; }

@media (max-width: 1100px) { .app-layout { grid-template-columns: 1fr; }.progress-card { position: static; }.choice-buttons--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }.angle-grid { grid-template-columns: repeat(3,minmax(150px,1fr)); overflow-x: auto; } }
@media (max-width: 760px) { .container { width: min(calc(100% - 20px),var(--container)); }.app-header__inner { min-height: auto; padding: 12px 0; align-items: flex-start; }.brand__tagline,.save-status { display: none; }.app-main { padding-top: 20px; }.form-grid--2,.form-grid--3,.choice-buttons--2,.choice-buttons--3,.choice-buttons--4,.yes-no-grid { grid-template-columns: 1fr; }.angle-grid { grid-template-columns: 1fr; overflow: visible; }.angle-slot { min-height: 160px; }.export-panel { flex-direction: column; align-items: stretch; }.export-panel__actions { justify-content: stretch; }.export-panel__actions .btn { flex: 1; }.image-limit-card { align-items: flex-start; flex-direction: column; }.app-footer__inner { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* DEVE Client Brief v3 additions */
.section-help { margin: -16px 0 22px; color: var(--muted); font-size: .95rem; }
.privacy-note { margin: -8px 0 22px; padding: 14px 16px; border-radius: 12px; background: #eef7ff; border: 1px solid #cae3f5; color: #28475f; }
.panel-title { margin: 0 0 6px; font-weight: 900; }
.language-toggle { border: 1px solid var(--line); background: white; color: var(--brand); border-radius: 10px; padding: 9px 12px; font-weight: 850; }
.logo-preview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.preview--light,.preview--dark { min-height: 92px; border-radius: 12px; display: grid; place-items: center; padding: 12px; }
.preview--light { background: #fff; border: 1px solid var(--line); }
.preview--dark { background: #0d1b2a; border: 1px solid #0d1b2a; }
.preview--dark img,.preview--light img { margin: 0; max-width: 180px; width: auto; height: auto; max-height: 68px; border: 0; background: transparent; padding: 0; }
.span-2 { grid-column: span 2; }
.multi-upload { display: flex; align-items: center; gap: 14px; min-height: 76px; margin-top: 8px; padding: 16px; border: 2px dashed #b9ccdc; border-radius: 13px; background: white; color: var(--brand); }
.multi-upload input { position: absolute; opacity: 0; pointer-events: none; }
.multi-upload__icon { flex: 0 0 42px; width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); font-size: 1.35rem; font-weight: 900; }
.multi-upload strong,.multi-upload small { display: block; }.multi-upload small { margin-top: 3px; color: var(--muted); }
.image-thumb-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); gap: 12px; margin-top: 14px; }
.image-thumb { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.image-thumb img { width: 100%; height: 120px; display: block; object-fit: cover; background: #edf2f6; }
.image-thumb figcaption { padding: 8px 10px 34px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; color: var(--muted); }
.image-thumb button { position: absolute; right: 8px; bottom: 7px; border: 0; background: #f8e8e8; color: var(--danger); border-radius: 8px; padding: 5px 8px; font-size: .74rem; font-weight: 900; }
.hero-preview img { width: min(100%,420px); max-height: 180px; object-fit: cover; }
.choice-pill span { font-size: .98rem; font-weight: 750; line-height: 1.35; }
.choice-card strong { font-size: 1.04rem; }

html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
html[dir="rtl"] .notice { border-left: 0; border-right: 4px solid var(--brand-2); }
html[dir="rtl"] .skip-link { left: auto; right: 12px; }
html[dir="rtl"] .validation-summary ul { padding-left: 0; padding-right: 20px; }

@media (max-width: 760px) {
  .logo-preview-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .choice-pill span { min-height: 50px; font-size: 1rem; }
  .image-thumb-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .app-header__actions { flex-wrap: wrap; justify-content: flex-end; }
}

/* DEVE Client Brief v4 — visual guided builder */
body.language-pending { overflow: hidden; }
/* Premium language gate */
.language-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -8%, rgba(90,169,230,.20), transparent 36%),
    linear-gradient(180deg, #f9fbfd 0%, #eef4f8 54%, #e7eef4 100%);
}
.language-gate::before,.language-gate::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}
.language-gate::before {
  width: 420px;
  height: 420px;
  top: -230px;
  left: -110px;
  background: rgba(90,169,230,.09);
}
.language-gate::after {
  width: 520px;
  height: 520px;
  right: -280px;
  bottom: -300px;
  background: rgba(18,59,93,.07);
}
.language-gate[hidden] { display: none; }
.language-gate__card.language-picker {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 42px 34px 34px;
  border: 1px solid rgba(18,59,93,.10);
  border-radius: 32px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 34px 90px rgba(18,59,93,.13);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  text-align: center;
}
.language-picker__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.language-picker__logo {
  width: 112px;
  height: auto;
  display: block;
  object-fit: contain;
}
.language-gate h1 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(1.9rem,5vw,3rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.language-wheel {
  position: relative;
  width: min(330px, 100%);
  height: 176px;
  margin: 0 auto;
  overflow: hidden;
  border-block: 1px solid rgba(18,59,93,.08);
  outline: none;
  touch-action: pan-y;
  user-select: none;
}
.language-wheel::before,.language-wheel::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  height: 54px;
  pointer-events: none;
}
.language-wheel::before { top: 0; background: linear-gradient(#fff 10%, rgba(255,255,255,0)); }
.language-wheel::after { bottom: 0; background: linear-gradient(rgba(255,255,255,0), #fff 90%); }
.language-wheel__option {
  position: absolute;
  left: 0;
  width: 100%;
  height: 72px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #90a0ad;
  font: inherit;
  font-size: clamp(1.35rem,5vw,2rem);
  font-weight: 760;
  letter-spacing: -.025em;
  cursor: pointer;
  transition: transform .42s cubic-bezier(.22,.9,.26,1), opacity .32s ease, color .32s ease, font-size .32s ease;
}
.language-wheel__option[data-language-option="en"] { transform: translateY(52px); }
.language-wheel__option[data-language-option="ar"] { transform: translateY(118px); direction: rtl; }
.language-wheel[data-active="ar"] .language-wheel__option[data-language-option="en"] { transform: translateY(-14px); }
.language-wheel[data-active="ar"] .language-wheel__option[data-language-option="ar"] { transform: translateY(52px); }
.language-wheel__option.is-active { color: var(--brand); font-size: clamp(1.75rem,6vw,2.55rem); }
.language-wheel__indicator {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  width: 48px;
  height: 34px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.language-wheel__indicator::before {
  content: "↑";
  color: var(--brand-2);
  font-size: 1.35rem;
  font-weight: 950;
  animation: languageArrow 1.6s ease-in-out infinite;
}
.language-wheel__indicator span {
  position: absolute;
  bottom: 0;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
@keyframes languageArrow { 0%,100%{ transform:translateY(2px) scale(1); opacity:.72 } 50%{ transform:translateY(-6px) scale(1.08); opacity:1 } }
.language-picker__hint {
  margin: 14px 0 22px;
  color: #8192a0;
  font-size: .78rem;
  font-weight: 720;
}
.language-picker__continue {
  min-width: 190px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(18,59,93,.18);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.language-picker__continue:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(18,59,93,.23); }
.language-picker__continue:focus-visible,.language-wheel:focus-visible { outline: 3px solid rgba(90,169,230,.28); outline-offset: 4px; }
.language-wheel[data-active="ar"] + .language-picker__hint { direction: rtl; }
.language-gate[data-selected-language="ar"] .language-picker__continue { direction: rtl; }
@media (prefers-reduced-motion: reduce) {
  .language-wheel__option,.language-picker__continue,.language-wheel__indicator::before { transition: none; animation: none; }
}
@media (max-width: 560px) {
  .language-gate { padding: 14px; }
  .language-gate__card.language-picker { padding: 32px 18px 26px; border-radius: 26px; }
  .language-picker__brand { margin-bottom: 24px; }
  .language-picker__logo { width: 100px; }
  .language-wheel { height: 164px; width: min(300px,100%); }
  .language-wheel__option[data-language-option="en"] { transform: translateY(46px); }
  .language-wheel__option[data-language-option="ar"] { transform: translateY(108px); }
  .language-wheel[data-active="ar"] .language-wheel__option[data-language-option="en"] { transform: translateY(-16px); }
  .language-wheel[data-active="ar"] .language-wheel__option[data-language-option="ar"] { transform: translateY(46px); }
}

.picker-trigger { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfdff; color: var(--text); text-align: start; }
.picker-trigger:hover,.picker-trigger:focus-visible { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(37,106,155,.11); outline: 0; }
.hours-picker { margin: -4px 0 22px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #f9fbfd; box-shadow: inset 0 1px 0 #fff; }
.hours-presets,.weekday-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.hours-presets { margin-bottom: 14px; }
.hours-presets button,.weekday-chip { border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; background: white; color: var(--brand); font-weight: 800; }
.weekday-chip.is-active { border-color: var(--brand-2); background: rgba(90,169,230,.13); box-shadow: inset 0 0 0 1px var(--brand-2); }
.hours-time-row { display: grid; grid-template-columns: repeat(2,minmax(0,220px)); gap: 12px; margin-bottom: 14px; }
.hours-time-row label { display: grid; gap: 6px; font-size: .84rem; font-weight: 800; }

.builder-split { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: 26px; align-items: start; }
.mini-preview { position: sticky; top: 104px; border: 1px solid var(--line); border-radius: 20px; background: #f7fafc; box-shadow: 0 18px 45px rgba(18,59,93,.08); overflow: hidden; }
.brand-preview { display: grid; grid-template-columns: 1fr 1fr; min-height: 260px; }
.brand-mode { display: grid; place-items: center; min-height: 260px; padding: 22px; }
.brand-mode--light { background: white; }.brand-mode--dark { background: #0c1721; }
.brand-mode .single-preview { width: 100%; min-height: 92px; display: grid; place-items: center; border-radius: 13px; border: 1px dashed rgba(120,140,160,.4); color: #8ca0b1; }
.brand-mode--dark .single-preview { color: #7890a3; border-color: rgba(255,255,255,.2); }
.brand-mode .single-preview img { width: auto; max-width: 85%; max-height: 85px; object-fit: contain; margin: 0; padding: 0; border: 0; background: transparent; }

.card-demo { width: min(100%,370px); margin-inline: auto; background: white; }
.card-demo__image { min-height: 205px; display: grid; place-items: center; background: linear-gradient(135deg,#e8eff4,#d7e5ee); color: #7890a3; font-weight: 900; letter-spacing: .08em; }
.card-demo__body { display: grid; gap: 11px; padding: 20px; }
.card-demo__body h3,.card-demo__body p { margin: 0; }.card-demo__body h3 { font-size: 1.35rem; }.card-demo__body p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.card-demo__rating { letter-spacing: .1em; color: #926c23; }.card-demo__cta { margin-top: 3px; border: 0; border-radius: 11px; padding: 13px 16px; background: var(--cta-color,#123b5d); color: white; font-size: 1rem; font-weight: 900; }

.builder-split--hero { grid-template-columns: minmax(0,.88fr) minmax(430px,1.12fr); }
.hero-mini { min-height: 360px; position: sticky; isolation: isolate; background: #e8ded0; }
.hero-mini__media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 76% center; }
.hero-mini::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(90deg,rgba(248,244,238,.98) 0%,rgba(248,244,238,.92) 37%,rgba(248,244,238,.32) 68%,rgba(248,244,238,.05) 100%); }
.hero-mini__content { width: 58%; min-height: 360px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: clamp(24px,4vw,48px); }
.hero-mini__eyebrow { font-size: .72rem; font-weight: 900; letter-spacing: .13em; }.hero-mini h3 { margin: 0; font-size: clamp(2rem,4vw,3.7rem); line-height: .98; letter-spacing: -.045em; transition: 150ms ease; }.hero-mini p { margin: 0; max-width: 32rem; color: #4c5b66; font-size: 1rem; line-height: 1.6; transition: 150ms ease; }.hero-mini button { border: 0; border-radius: 999px; padding: 12px 18px; color: white; font-weight: 900; }
.preview-highlight--green { outline: 3px solid #23a46a; outline-offset: 6px; border-radius: 12px; background: rgba(35,164,106,.07); }.preview-highlight--blue { outline: 3px solid #2d7dca; outline-offset: 6px; border-radius: 12px; background: rgba(45,125,202,.07); }

.item-header-actions { display: flex !important; gap: 12px !important; align-items: center !important; }.text-danger { border: 0; background: transparent; color: var(--danger); font-size: .82rem; font-weight: 900; }.add-item-btn { width: 100%; margin-top: 16px; min-height: 50px; border: 1px dashed #aac3d5; }.image-set-card textarea { min-height: 82px; }
.multi-upload { cursor: pointer; }
.choice-pill span { font-size: 1rem; min-height: 48px; }

html[dir="rtl"] .builder-split { direction: rtl; }
html[dir="rtl"] .builder-controls,html[dir="rtl"] .mini-preview { direction: rtl; }
html[dir="rtl"] .hero-mini::after { background: linear-gradient(270deg,rgba(248,244,238,.98) 0%,rgba(248,244,238,.92) 37%,rgba(248,244,238,.32) 68%,rgba(248,244,238,.05) 100%); }
html[dir="rtl"] .hero-mini__media { background-position: 24% center; }
html[dir="rtl"] .hero-mini__content { margin-left: auto; margin-right: 0; align-items: flex-start; text-align: right; }
html[dir="rtl"] .image-thumb button { right: auto; left: 8px; }

@media (max-width: 1180px) {
  .builder-split,.builder-split--hero { grid-template-columns: 1fr; }
  .mini-preview { position: static; }
  .hero-mini { position: relative; overflow: hidden; }
  .brand-preview { min-height: 220px; }
}
@media (max-width: 760px) {
  .language-gate__card { padding: 26px 18px; }.language-gate__buttons { grid-template-columns: 1fr; }.language-choice { min-height: 88px; }
  .hours-time-row { grid-template-columns: 1fr 1fr; }.brand-preview { grid-template-columns: 1fr; }.brand-mode { min-height: 170px; }
  .hero-mini { min-height: 330px; }.hero-mini__content { width: 72%; min-height: 330px; padding: 24px 18px; }.hero-mini h3 { font-size: 2.15rem; }
  .item-header-actions { align-items: flex-end !important; flex-direction: column; }
}

/* v5 — clearer hours state + per-item live previews + compact product overview */
.hours-presets button.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 7px 18px rgba(18,59,93,.18);
}

.product-live-card {
  width: min(100%, 440px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18,59,93,.07);
}
.product-live-card__media {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg,#edf3f7,#dce8ef);
  color: #7890a3;
  font-size: .82rem;
  font-weight: 850;
}
.product-live-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-live-card__body { padding: 14px; }
.product-live-card__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.product-live-card__title-row h4 {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.product-live-card__price {
  flex: 0 0 auto;
  color: var(--brand-2);
  font-size: 1.12rem;
  font-weight: 950;
  white-space: nowrap;
}
.product-live-card__body p {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.45;
}
.product-live-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #708493;
  font-size: .74rem;
  font-weight: 800;
}

.products-overview {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbfd;
}
.products-overview[hidden] { display: none; }
.products-overview__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.products-overview__heading h3 { margin: 0 0 4px; font-size: 1.05rem; }
.products-overview__heading p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.products-overview__heading > span {
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: .8rem;
  font-weight: 900;
}
.products-overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
  gap: 12px;
}
.products-overview__item { position: relative; min-width: 0; }
.product-live-card--compact { width: 100%; border-radius: 12px; box-shadow: 0 5px 16px rgba(18,59,93,.06); }
.product-live-card--compact .product-live-card__media { aspect-ratio: 4/3; }
.product-live-card--compact .product-live-card__body { padding: 9px; }
.product-live-card--compact .product-live-card__title-row { gap: 6px; }
.product-live-card--compact .product-live-card__title-row h4 { font-size: .78rem; }
.product-live-card--compact .product-live-card__price { font-size: .8rem; }
.product-live-card--compact .product-live-card__body p {
  display: -webkit-box;
  margin: 5px 0 7px;
  overflow: hidden;
  font-size: .68rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.product-live-card--compact .product-live-card__meta { font-size: .61rem; }
.products-overview__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(17,27,37,.84);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.products-overview__remove:hover,.products-overview__remove:focus-visible { background: var(--danger); outline: 3px solid rgba(179,52,52,.18); }
html[dir="rtl"] .products-overview__remove { right: auto; left: 6px; }

@media (max-width: 560px) {
  .products-overview { padding: 12px; }
  .products-overview__grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .product-live-card--compact .product-live-card__body { padding: 6px; }
  .product-live-card--compact .product-live-card__title-row { display: block; }
  .product-live-card--compact .product-live-card__title-row h4 { font-size: .66rem; }
  .product-live-card--compact .product-live-card__price { display: block; margin-top: 2px; font-size: .7rem; }
  .product-live-card--compact .product-live-card__body p { font-size: .58rem; -webkit-line-clamp: 1; }
  .product-live-card--compact .product-live-card__meta { display: none; }
  .products-overview__remove { top: 4px; right: 4px; width: 23px; height: 23px; font-size: 1.35rem; }
  html[dir="rtl"] .products-overview__remove { right: auto; left: 4px; }
}

/* v6 — full visual website preview */
.website-preview-dialog {
  width: min(1220px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #eef3f7;
  box-shadow: 0 30px 100px rgba(12, 28, 42, .28);
}
.website-preview-dialog::backdrop { background: rgba(5, 14, 22, .72); backdrop-filter: blur(4px); }
.website-preview-dialog__header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid #dbe5ec;
  background: rgba(255,255,255,.97);
}
.website-preview-dialog__header > div { display: grid; gap: 2px; }
.website-preview-dialog__header strong { color: var(--brand); font-size: 1rem; }
.preview-mode-note { color: var(--muted); font-size: .78rem; }
.website-preview-shell { padding: 18px; overflow: auto; max-height: calc(100vh - 150px); }
.website-preview-page {
  width: min(1080px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(15, 37, 54, .08);
  border-radius: 18px;
  background: #fff;
  color: #10202d;
  box-shadow: 0 20px 55px rgba(18,59,93,.12);
}
.website-preview-header {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(160px,1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(18px,4vw,44px);
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #edf1f4;
}
.website-preview-header__brand { display: flex; align-items: center; min-width: 0; }
.website-preview__logo-img { display: block; width: auto; max-width: 170px; max-height: 48px; object-fit: contain; }
.website-preview__logo-text { color: var(--preview-primary); font-size: 1.18rem; font-weight: 950; letter-spacing: -.03em; }
.website-preview-header nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; color: #5a6874; font-size: .8rem; font-weight: 800; }
.website-preview-header nav span { position: relative; cursor: default; white-space: nowrap; transition: color .18s ease; }
.website-preview-header nav span:hover { color: var(--preview-primary); }
.website-preview-header nav span.is-cta-nav-item { color: var(--preview-primary); font-weight: 900; }
.website-preview-header nav span.is-cta-nav-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 999px; background: currentColor; opacity: .22; }
.website-preview-header > button,
.website-preview-hero__content button,
.website-preview-product button {
  border: 0;
  border-radius: 999px;
  background: var(--preview-primary);
  color: #fff;
  font-weight: 900;
}
.website-preview-header > button { justify-self: end; padding: 10px 15px; font-size: .78rem; }
.website-preview-hero {
  position: relative;
  isolation: isolate;
  min-height: 410px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg,#f9f4ed 0%,#edf5fa 100%);
  background-size: cover;
  background-position: 72% center;
}
.website-preview-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.92) 43%,rgba(255,255,255,.34) 70%,rgba(255,255,255,.08) 100%); }
.website-preview-hero__content { width: min(590px,65%); padding: clamp(42px,7vw,86px) clamp(22px,6vw,72px); }
.website-preview-hero__content > span,.website-preview-section-heading > span,.website-preview-contact > div:first-child > span { color: var(--preview-secondary); font-size: .69rem; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.website-preview-hero h1 { margin: 8px 0 14px; font-size: clamp(2.25rem,5vw,4.9rem); line-height: .98; letter-spacing: -.055em; }
.website-preview-hero p { max-width: 520px; margin: 0; color: #51616d; font-size: .98rem; line-height: 1.65; }
.website-preview-hero__content button { margin-top: 22px; padding: 13px 20px; }
.website-preview-products,.website-preview-reviews,.website-preview-contact { padding: clamp(38px,6vw,72px) clamp(20px,5vw,58px); }
.website-preview-section-heading { margin-bottom: 24px; text-align: center; }
.website-preview-section-heading h2,.website-preview-contact h2 { margin: 5px 0 0; font-size: clamp(1.65rem,3vw,2.5rem); letter-spacing: -.035em; }
.website-preview-products__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.website-preview-product { overflow: hidden; border: 1px solid #e6edf2; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(18,59,93,.06); }
.website-preview-product__media { aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; background: #edf3f6; color: #8ca0af; font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.website-preview-product__media img { width: 100%; height: 100%; object-fit: cover; }
.website-preview-product__body { padding: 14px; }
.website-preview-product__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.website-preview-product h3 { margin: 0; font-size: .98rem; line-height: 1.25; }
.website-preview-product__top strong { color: var(--preview-secondary); font-size: 1rem; white-space: nowrap; }
.website-preview-product p { margin: 8px 0; color: #63717c; font-size: .78rem; line-height: 1.5; }
.website-preview-product__rating { color: #a97b20; font-size: .76rem; letter-spacing: .08em; }
.website-preview-product button { width: 100%; margin-top: 11px; padding: 10px 12px; border-radius: 10px; font-size: .78rem; }
.website-preview-reviews { background: #f6f9fb; }
.website-preview-reviews__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.website-preview-reviews__grid article { padding: 18px; border: 1px solid #e1e9ef; border-radius: 14px; background: #fff; }
.website-preview-reviews__grid article > div { color: #a97b20; letter-spacing: .08em; }
.website-preview-reviews__grid p { color: #62717c; font-size: .8rem; line-height: 1.55; }
.website-preview-reviews__grid strong { font-size: .78rem; }
.website-preview-contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: start; background: #0e1b26; color: #fff; }
.website-preview-contact__details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.website-preview-contact__details > div { display: grid; gap: 3px; padding: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.05); }
.website-preview-contact__details span { color: #a8bdca; font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
.website-preview-contact__details strong { overflow-wrap: anywhere; font-size: .83rem; }
.website-preview-contact__details p { color: #b9c8d2; }
.website-preview-footer { display:grid; grid-template-columns:minmax(220px,1.4fr) repeat(2,minmax(150px,.8fr)); gap:clamp(24px,4vw,52px); padding:clamp(34px,5vw,58px); background:#09131c; color:#c5d0d8; border-top:1px solid rgba(255,255,255,.08); }
.website-preview-footer .website-preview__logo-text { color:#fff; font-size:1.18rem; font-weight:800; }
.website-preview-footer .website-preview__logo-img { max-height:42px; max-width:180px; filter:none; }
.website-preview-footer__brand p { max-width:34ch; margin:16px 0 0; line-height:1.65; font-size:.78rem; color:#91a4b2; }
.website-preview-footer__col { display:flex; flex-direction:column; gap:10px; }
.website-preview-footer__col>strong { color:#fff; font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; }
.website-preview-footer__col span { display:grid; gap:2px; font-size:.72rem; line-height:1.45; overflow-wrap:anywhere; }
.website-preview-footer__col b { color:#7f9bad; font-size:.62rem; text-transform:uppercase; letter-spacing:.05em; }
.website-preview-footer__bottom { grid-column:1/-1; padding-top:22px; border-top:1px solid rgba(255,255,255,.08); }
.website-preview-footer__bottom small { font-size:.68rem; color:#7f919d; }
.website-preview-dialog__actions { position: sticky; bottom: 0; z-index: 20; justify-content: flex-end; background: rgba(255,255,255,.97); border-top: 1px solid #dbe5ec; }
html[dir="rtl"] .website-preview-hero { background-position: 28% center; }
html[dir="rtl"] .website-preview-hero__overlay { background: linear-gradient(270deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.92) 43%,rgba(255,255,255,.34) 70%,rgba(255,255,255,.08) 100%); }
html[dir="rtl"] .website-preview-hero__content { margin-left: auto; margin-right: 0; text-align: right; }
html[dir="rtl"] .website-preview-header__brand { justify-content: flex-start; }

@media (max-width: 820px) {
  .website-preview-shell { padding: 10px; }
  .website-preview-header { grid-template-columns: 1fr auto; gap: 10px; min-height: 60px; padding: 10px 14px; }
  .website-preview-header nav { display: none; }
  .website-preview__logo-img { max-width: 120px; max-height: 38px; }
  .website-preview-hero { min-height: 330px; background-position: 78% center; }
  .website-preview-hero__content { width: 72%; padding: 36px 20px; }
  .website-preview-hero h1 { font-size: clamp(2rem,9vw,3.25rem); }
  .website-preview-products__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .website-preview-reviews__grid { grid-template-columns: 1fr; }
  .website-preview-contact { grid-template-columns: 1fr; }
  .website-preview-footer { grid-template-columns:1fr 1fr; text-align:start; justify-items:stretch; }
  .website-preview-footer__brand,.website-preview-footer__bottom { grid-column:1/-1; }
  .website-preview-footer__brand { text-align:center; }
  .website-preview-footer__brand p { margin-inline:auto; }
  .website-preview-footer__bottom { text-align:center; }
}
@media (max-width: 520px) {
  .website-preview-dialog { width: calc(100vw - 10px); max-height: calc(100vh - 10px); border-radius: 14px; }
  .website-preview-dialog__header { padding: 11px 12px; }
  .preview-mode-note { display: none; }
  .website-preview-shell { max-height: calc(100vh - 126px); padding: 6px; }
  .website-preview-page { border-radius: 11px; }
  .website-preview-header > button { padding: 8px 10px; font-size: .65rem; }
  .website-preview-hero { min-height: 280px; }
  .website-preview-hero__content { width: 78%; padding: 28px 14px; }
  .website-preview-hero__content > span { font-size: .58rem; }
  .website-preview-hero h1 { margin-top: 5px; font-size: 1.85rem; }
  .website-preview-hero p { font-size: .76rem; line-height: 1.5; }
  .website-preview-hero__content button { margin-top: 15px; padding: 9px 13px; font-size: .7rem; }
  .website-preview-products,.website-preview-reviews,.website-preview-contact { padding: 30px 12px; }
  .website-preview-products__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .website-preview-product__body { padding: 9px; }
  .website-preview-product h3 { font-size: .75rem; }
  .website-preview-product__top strong { font-size: .76rem; }
  .website-preview-product p { font-size: .65rem; }
  .website-preview-product button { padding: 8px; font-size: .65rem; }
  .website-preview-contact__details { grid-template-columns: 1fr; }
}
.website-preview-feature-block { padding: clamp(38px,6vw,72px) clamp(20px,5vw,58px); background: #fff; }
.website-preview-feature-block--gallery { background: #fbfcfd; }
.website-preview-gallery { display: grid; grid-template-columns: 1.35fr .8fr .8fr; grid-template-rows: repeat(2, 120px); gap: 10px; }
.website-preview-gallery > div { display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg,#e6eef3,#d7e4ec); color: #8195a3; font-size: .72rem; font-weight: 900; }
.website-preview-gallery > div:first-child { grid-row: 1 / 3; }
.website-preview-map-placeholder { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 10px; border-radius: 16px; background: repeating-linear-gradient(45deg,#edf3f6,#edf3f6 14px,#e6eef3 14px,#e6eef3 28px); color: #607482; text-align: center; }
.website-preview-map-placeholder > span { font-size: 1.3rem; font-weight: 950; letter-spacing: .14em; }
.website-preview-map-placeholder p { max-width: 430px; margin: 0; padding: 0 16px; font-size: .8rem; }
.website-preview-booking { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px clamp(20px,5vw,58px); background: var(--preview-primary); color: #fff; }
.website-preview-booking span { color: rgba(255,255,255,.7); font-size: .65rem; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.website-preview-booking h2 { margin: 4px 0 6px; font-size: 1.7rem; }
.website-preview-booking p { margin: 0; color: rgba(255,255,255,.78); font-size: .82rem; }
.website-preview-booking button { flex: 0 0 auto; border: 0; border-radius: 999px; padding: 12px 18px; background: #fff; color: var(--preview-primary); font-weight: 950; }
@media (max-width: 520px) {
  .website-preview-gallery { grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(2, 90px); }
  .website-preview-gallery > div:nth-child(4) { display: none; }
  .website-preview-booking { align-items: flex-start; flex-direction: column; }
}


.size-config-panel { margin-top:16px; padding:18px; border:1px solid #d7e4ee; border-radius:18px; background:#f8fbfd; }
.testimonials-editor { margin-top:18px; }
.testimonial-input-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.testimonial-input-card { padding:14px; border:1px solid #dce7ef; border-radius:16px; background:#fff; }
@media (max-width:760px){ .testimonial-input-grid { grid-template-columns:1fr; } .website-preview-footer { grid-template-columns:1fr; } .website-preview-footer__col { text-align:center; } }

/* ===== Multi-step guided brief ===== */
.wizard-toolbar {
  position: sticky;
  top: 86px;
  z-index: 30;
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #d9e5ed;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 34px rgba(18,59,93,.08);
  backdrop-filter: blur(14px);
}
.wizard-toolbar__status { display:flex; align-items:baseline; justify-content:space-between; gap:14px; }
.wizard-toolbar__status span { color:#6f8290; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.wizard-toolbar__status strong { color:#10273b; font-size:.92rem; }
.wizard-stepper { display:flex; gap:8px; overflow-x:auto; padding:2px 2px 5px; scrollbar-width:thin; scroll-snap-type:x proximity; }
.wizard-stepper__item {
  flex:0 0 auto;
  min-width:118px;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:8px;
  padding:9px 11px;
  border:1px solid #d8e4ec;
  border-radius:14px;
  background:#f8fbfd;
  color:#506474;
  text-align:start;
  cursor:pointer;
  scroll-snap-align:start;
  transition:border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.wizard-stepper__item:hover { border-color:#8bb9d8; transform:translateY(-1px); }
.wizard-stepper__item > span { display:grid; place-items:center; width:30px; height:30px; border-radius:10px; background:#e8f1f7; color:#195b89; font-size:.68rem; font-weight:900; }
.wizard-stepper__item strong { max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.72rem; }
.wizard-stepper__item.is-visited > span { background:#dff1e7; color:#27754c; }
.wizard-stepper__item.is-active { border-color:#2e7db5; background:#edf6fc; color:#123b5d; box-shadow:0 7px 18px rgba(46,125,181,.14); }
.wizard-stepper__item.is-active > span { background:#2e7db5; color:#fff; }
.form-section[hidden] { display:none !important; }
.form-section.is-active-step { animation:wizardStepIn .22s ease both; }
@keyframes wizardStepIn { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
.wizard-nav { display:grid; grid-template-columns:1fr 1fr; gap:12px; align-items:center; margin-top:26px; padding-top:20px; border-top:1px solid #e2eaf0; }
.wizard-nav > :last-child { justify-self:end; }
.wizard-nav .btn { min-width:126px; }
html[dir="rtl"] .wizard-toolbar__status,
html[dir="rtl"] .wizard-stepper__item { text-align:right; }
html[dir="rtl"] .wizard-stepper { direction:rtl; }

@media (max-width: 900px) {
  .wizard-toolbar { top:74px; border-radius:16px; }
  .wizard-stepper__item { min-width:104px; padding:8px 9px; }
  .wizard-stepper__item strong { max-width:94px; }
}
@media (max-width: 620px) {
  .wizard-toolbar { top:66px; margin-inline:-2px; padding:10px; }
  .wizard-toolbar__status { align-items:flex-start; flex-direction:column; gap:3px; }
  .wizard-stepper__item { min-width:82px; grid-template-columns:1fr; justify-items:center; text-align:center; gap:5px; }
  .wizard-stepper__item strong { max-width:76px; font-size:.64rem; text-align:center; }
  .wizard-stepper__item > span { width:28px; height:28px; }
  .wizard-nav { grid-template-columns:1fr 1fr; position:sticky; bottom:8px; z-index:22; padding:10px; margin:24px -2px -4px; border:1px solid #dce7ee; border-radius:15px; background:rgba(255,255,255,.97); box-shadow:0 12px 28px rgba(18,59,93,.14); backdrop-filter:blur(12px); }
  .wizard-nav .btn { width:100%; min-width:0; }
  html[dir="rtl"] .wizard-stepper__item { text-align:center; }
}
@media (prefers-reduced-motion: reduce) {
  .form-section.is-active-step { animation:none; }
  .wizard-stepper__item { transition:none; }
}


/* v7.1 UX refinements */
.preview-stack { display:grid; gap:14px; min-width:0; }
.preview-explainer {
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 15px;
  border:1px solid #bee0f5;
  border-radius:14px;
  background:linear-gradient(135deg,#eff9ff,#f8fcff);
  color:#264a64;
  box-shadow:0 8px 20px rgba(18,59,93,.05);
}
.preview-explainer__icon {
  flex:0 0 34px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--brand-2);
  color:#fff;
  font-size:1.05rem;
  font-weight:950;
}
.preview-explainer strong { display:block; color:var(--brand); font-size:.88rem; }
.preview-explainer p { margin:3px 0 0; color:#5c7180; font-size:.78rem; line-height:1.45; }
.preview-explainer--inline { margin:18px 0 10px; }
.preview-explainer--overview { margin-bottom:16px; }
.brand-mode { position:relative; }
.brand-mode__caption {
  position:absolute;
  top:14px;
  inset-inline:14px;
  color:#607688;
  font-size:.72rem;
  font-weight:850;
  text-align:center;
}
.brand-mode--dark .brand-mode__caption { color:#c6d3dc; }
.brand-mode[hidden] { display:none !important; }
.add-item-zone {
  margin-top:32px;
  padding:20px 0 34px;
  border-top:2px solid #e1eaf0;
  border-bottom:2px solid #e1eaf0;
}
.add-item-btn {
  width:100%;
  min-height:58px;
  margin:0;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#0f6e70,#26a69a);
  color:#fff;
  font-size:1rem;
  font-weight:950;
  box-shadow:0 12px 28px rgba(15,110,112,.18);
}
.add-item-btn:hover { transform:translateY(-2px); box-shadow:0 16px 32px rgba(15,110,112,.24); }
.products-overview-wrap { margin-top:34px; }
.products-overview { margin-top:0; }
.form-section[hidden] { display:none !important; }
.form-section.is-active-step { scroll-margin-top:110px; }
.section-heading h2:focus { outline:none; }
@media (max-width:760px) {
  .preview-explainer { align-items:flex-start; }
  .add-item-zone { margin-top:26px; padding-bottom:28px; }
  .products-overview-wrap { margin-top:28px; }
}


/* v7.1.1 navigation + preview clarity */
.visual-builder-section > .wizard-nav,
.form-section > .wizard-nav { position:relative; z-index:35; }
.brand-preview:has(.brand-mode[hidden]) { grid-template-columns:1fr; }
.brand-preview:has(.brand-mode[hidden]) .brand-mode { min-height:240px; }
@media (max-width:760px) {
  .visual-builder-section > .wizard-nav,
  .form-section > .wizard-nav { position:sticky; }
}


/* v7.2 — DEVE Client Brief identity + section reset */
.brand { display:flex; align-items:center; gap:10px; }
.brand--centered { justify-content:center; flex-direction:column; gap:8px; }
.brand__logo { display:block; width:132px; max-width:38vw; height:auto; object-fit:contain; }
.app-header .brand__logo { width:112px; max-width:26vw; }
.brand--centered .brand__logo { width:190px; max-width:70vw; }
.brand--centered .brand__tagline { font-size:.82rem; }
.btn--section-reset { background:#edf4f8; color:#174e72; border:1px solid #cddde8; }
.btn--section-reset:hover { background:#e3eff6; }
html[dir="rtl"] .app-header__inner { direction:rtl; }
@media (max-width: 640px) {
  .app-header .brand__logo { width:94px; }
  .save-status { display:none; }
  .btn--section-reset, .btn--danger { padding:9px 10px; font-size:.78rem; }
}


/* ===== v7.6 preview CTA, gallery, testimonials, contact separation ===== */
.btn--preview {
  border: 1px solid #0d86a8;
  background: linear-gradient(135deg,#0d86a8,#1268a0);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13,134,168,.22);
}
.btn--preview:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(13,134,168,.28); }
.btn--preview:focus-visible { outline: 3px solid rgba(13,134,168,.26); outline-offset: 3px; }
.gallery-editor { margin-top: 18px; }
.feature-image-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:12px; }
.feature-image-thumb { position:relative; aspect-ratio:4/3; overflow:hidden; border:1px solid #d9e5ed; border-radius:14px; background:#f2f7fa; }
.feature-image-thumb img { width:100%; height:100%; object-fit:cover; }
.feature-image-thumb button { position:absolute; top:6px; inset-inline-end:6px; width:28px; height:28px; border:0; border-radius:999px; background:rgba(12,28,40,.84); color:#fff; font-size:1rem; cursor:pointer; }
.feature-photo-picker { display:flex; align-items:center; gap:10px; margin-bottom:12px; color:#536a7b; font-size:.72rem; font-weight:800; cursor:pointer; }
.feature-photo-picker input { position:absolute; inline-size:1px; block-size:1px; opacity:0; pointer-events:none; }
.feature-photo-picker__preview { width:52px; height:52px; display:grid; place-items:center; overflow:hidden; border:1px dashed #aac2d2; border-radius:50%; background:#f2f7fa; color:#39769d; font-size:1.25rem; }
.feature-photo-picker__preview img { width:100%; height:100%; object-fit:cover; }
.website-preview-gallery > div { overflow:hidden; }
.website-preview-gallery img { width:100%; height:100%; object-fit:cover; }
.website-preview-review__avatar { width:54px; height:54px; display:grid; place-items:center; margin-bottom:12px; border-radius:50%; object-fit:cover; background:#e7eff4; color:#45677c; font-weight:950; }
.website-preview-review__stars { color:#a97b20 !important; letter-spacing:.08em; }
.website-preview-contact { margin-top: clamp(34px,5vw,64px); padding: clamp(38px,6vw,72px) clamp(20px,5vw,58px); grid-template-columns:.72fr 1.28fr; gap:clamp(26px,5vw,64px); background:#f7fafc; color:#10273b; border-top:1px solid #e1e9ef; border-bottom:1px solid #e1e9ef; }
.website-preview-contact__intro > span { color:var(--preview-secondary); font-size:.69rem; font-weight:950; letter-spacing:.13em; text-transform:uppercase; }
.website-preview-contact__intro p { max-width:34ch; color:#657784; font-size:.8rem; line-height:1.6; }
.website-preview-contact__form { padding:20px; border:1px solid #dce7ee; border-radius:18px; background:#fff; box-shadow:0 18px 45px rgba(25,65,92,.08); }
.website-preview-contact__form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.website-preview-contact__form label { display:grid; gap:6px; }
.website-preview-contact__form label > span { color:#5d7484; font-size:.66rem; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.website-preview-contact__form input,.website-preview-contact__form textarea { width:100%; border:1px solid #d7e3ea; border-radius:10px; padding:10px 11px; background:#fbfdfe; color:#263a48; font:inherit; font-size:.76rem; resize:vertical; }
.website-preview-contact__full { grid-column:1/-1; }
.website-preview-contact__form > button { margin-top:12px; border:0; border-radius:10px; padding:11px 16px; background:var(--preview-primary); color:#fff; font-weight:900; }
.website-preview-contact__quick { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; padding-top:14px; border-top:1px solid #e4ebf0; }
.website-preview-contact__quick > div { display:flex; gap:6px; align-items:center; padding:7px 9px; border-radius:999px; background:#f1f6f9; color:#607684; font-size:.65rem; }
.website-preview-contact__quick > div span { color:#7690a0; text-transform:uppercase; font-size:.58rem; letter-spacing:.05em; }
.website-preview-contact__quick > div strong { font-size:.65rem; overflow-wrap:anywhere; }
.website-preview-footer { margin-top: clamp(30px,4vw,52px); }
@media (max-width:760px){
  .feature-image-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .website-preview-contact{grid-template-columns:1fr;margin-top:28px;}
}
@media (max-width:520px){
  .feature-image-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .website-preview-contact__form-grid{grid-template-columns:1fr;}
  .website-preview-contact__full{grid-column:auto;}
}


/* v7.7 — product viewer + multi CTA preview */
.choice-group__help{margin:-4px 0 12px;color:var(--muted);font-size:.82rem;font-weight:650}
.card-preview-stack{gap:18px}.card-preview-block{display:grid;gap:9px}.card-preview-block__title{font-size:.76rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--brand)}
.expanded-product-demo{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);overflow:hidden;border:1px solid var(--border);border-radius:24px;background:#fff;box-shadow:0 18px 46px rgba(23,50,72,.10)}
.expanded-product-demo__media{padding:14px;background:#f4f7f9}.expanded-product-demo__main-image{min-height:210px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#dfe9f1,#f8fbfd);color:#7890a1;font-weight:850;letter-spacing:.12em}.expanded-product-demo__thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:9px}.expanded-product-demo__thumbs span{height:44px;border-radius:10px;background:#dde7ee;border:1px solid #cfdde7}
.expanded-product-demo__content{padding:18px;display:grid;align-content:start;gap:14px}.expanded-product-demo__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.expanded-product-demo__heading h3{margin:2px 0 0;font-size:1.15rem}.expanded-product-demo__heading strong{font-size:1.05rem;color:var(--brand-2)}.expanded-product-demo__eyebrow{font-size:.66rem;letter-spacing:.12em;font-weight:850;color:var(--muted)}
.expanded-option{display:grid;gap:7px}.expanded-option__label{font-size:.76rem;font-weight:820;color:var(--text)}.expanded-swatches,.expanded-chips,.expanded-qty,.expanded-schedule-fields{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.expanded-swatches i{width:24px;height:24px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #cbd9e2}.expanded-swatches i:nth-child(1){background:#111827}.expanded-swatches i:nth-child(2){background:#d8bca2}.expanded-swatches i:nth-child(3){background:#7793b8}.expanded-chips button,.expanded-qty button,.expanded-schedule-fields span{min-width:38px;height:34px;padding:0 10px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text);font-weight:740}.expanded-qty span{min-width:26px;text-align:center}.expanded-check{display:flex;align-items:center;gap:7px;font-size:.82rem}.expanded-option textarea{resize:none;border:1px solid var(--border);border-radius:12px;padding:10px;font:inherit;background:#f9fbfc}.expanded-product-demo__cta{border:0;border-radius:13px;padding:12px 16px;background:var(--expanded-cta-color,#123b5d);color:#fff;font-weight:850;cursor:default}
.hero-mini__actions,.website-preview-hero__actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.hero-mini__actions button{border:0;border-radius:999px;padding:10px 16px;background:var(--hero-cta-color,#123b5d);color:#fff;font-weight:800}.hero-mini__actions button.is-secondary{background:transparent;color:var(--hero-cta-color,#123b5d);box-shadow:inset 0 0 0 1px currentColor}.website-preview-hero__actions button.is-secondary{background:transparent;color:var(--preview-primary);border:1px solid currentColor}.website-preview-hero__actions button.is-secondary{color:#fff;border-color:rgba(255,255,255,.85)}
html[dir="rtl"] .expanded-product-demo__heading{direction:rtl}
@media (max-width:760px){.expanded-product-demo{grid-template-columns:1fr}.expanded-product-demo__main-image{min-height:160px}.expanded-product-demo__content{padding:15px}}

