/* ══════════════════════════════════════════════════════════════════════════
   RoomRecipe — components.css (Web V7 · P10)
   The website's design system (roomrecipe-home-v5, rr-core.css) applied to the
   app. One place for: brand wordmark, type, eyebrows, buttons, inputs, chips,
   cards, modals, toast, dropdowns, tabs / segmented control, accordion, empty
   states, photo pins + label callouts, before/after slider, focus ring.
   Loaded after app.css; tokens live in app.css :root (same names as the site:
   --navy --teal --teal-dark --light-teal --cream --paper --line).
   Rules: teal fills carry NAVY text (white on #29b3b9 fails AA); teal TEXT is
   --teal-dark; focus ring --teal-dark; hit targets ≥ 40px.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Base type ─────────────────────────────────────────────────────────── */
body { background: var(--cream); color: var(--navy); font-family: var(--font); }
h1, h2, h3, h4,
.fa-title, .ps-title, .rs-title, .upload-title, .mos-title, .dash-title,
.auth-header h1, .profile-title, .sub-title {
  font-family: var(--font-heading);
  color: var(--navy);
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 800;
}
a { color: var(--teal-dark); }
::selection { background: var(--light-teal); color: var(--navy); }

/* Eyebrows: DM Sans 11px / 700 / uppercase / .18em / dark teal */
.eyebrow,
.upload-eyebrow, .dash-header-eyebrow, .fa-action-eyebrow, .landing-eyebrow, .onboarding-modal-eyebrow,
.profile-card-eyebrow, .profile-eyebrow, .ps-ai-eyebrow, .ps-cart-eyebrow, .ps-detail-eyebrow,
.ps-detected-eyebrow, .ps-filter-eyebrow, .ps-market-eyebrow, .ps-retailer-eyebrow, .ps-stats-eyebrow,
.pv-products-row-eyebrow, .rs-ai-eyebrow, .rs-success-eyebrow, .rs-summary-eyebrow, .sidebar-credits-eyebrow,
.sidebar-eyebrow, .sub-bundles-eyebrow, .sub-eyebrow, .mos-eyebrow, .rs-eyebrow {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--teal-dark);
}
.profile-danger-eyebrow { color: var(--error); }

/* Focus ring + hit targets */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
}

/* ── Brand wordmark (“RoomRecipe.”) ───────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--navy);
  text-decoration: none;
}
.brand-dot { color: var(--teal); }
.brand.logo { gap: 0; }  /* the old .logo rule spaced the dot off */
.brand-sm { font-size: 19px; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-primary, .button {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}
.btn-primary:hover:not(:disabled), .button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 7px 18px #29b3b922;
}
.btn-outline, .btn-secondary, .button-secondary {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover:not(:disabled), .btn-secondary:hover:not(:disabled), .button-secondary:hover {
  background: var(--paper);
  border-color: var(--teal-dark);
  color: var(--navy);
}
.btn-dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-dark:hover:not(:disabled) { background: #1b3650; border-color: #1b3650; color: #fff; }
.btn-small, .btn-sm { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.btn-large { min-height: 50px; padding: 13px 24px; font-size: 15px; }
.btn:disabled, .btn[aria-disabled="true"], .btn.is-disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }

/* ── Inputs ────────────────────────────────────────────────────────────── */
.form-input, .form-select, .auth-form input[type="text"], .auth-form input[type="email"],
.auth-form input[type="password"] {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font);
  box-shadow: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(8, 124, 131, .14);
  outline: none;
}

/* ── Chips (999px) ─────────────────────────────────────────────────────── */
.chip, .dash-filter-chip, .ps-budget-chip, .ps-retailer-chip, .rs-filter-chip, .ps-sort button {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font);
}
.chip.is-active, .dash-filter-chip.is-active, .ps-budget-chip.is-active, .ps-retailer-chip.is-active,
.rs-filter-chip.is-active, .ps-sort button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.chip-teal, .ps-card-why-chip {
  border-radius: 999px;
  background: var(--light-teal);
  border: 1px solid #deede9;
  color: var(--teal-dark);
}

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card, .auth-card, .profile-card, .dash-card, .plan-card, .pricing-card, .ps-cart, .rs-summary,
.mos-card, .upload-card, .fav-card, .proc-summary-card, .fa-card, .fa-desc-card, .ps-detected,
.ps-section, .rs-guest-save, .rs-upsell, .rs-budget, .ps-controls, .landing-product, .landing-steps li {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.upload-card-active, .upload-card.upload-card-active { background: var(--paper); border-color: var(--teal); }

/* ── Flash / banners (semantic, softened for cream) ─────────────────────── */
.flash { border-radius: 10px; }
.flash-error { background: #fbefec; border: 1px solid #efcdc6; color: var(--error); }
.flash-success { background: var(--success-bg); border: 1px solid var(--success-border); color: var(--success); }

/* ── Modals ────────────────────────────────────────────────────────────── */
.onboarding-modal-card, .credit-modal-card, .pricing-modal-card, .profile-modal-card, .sub-modal-card,
.pv-confirm-modal-card, .ps-detail-card, .fa-modal-card, .empty-room-modal-card, .app-modal-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  color: var(--navy);
}
.onboarding-modal, .credit-modal, .profile-modal-bg, .sub-modal-bg, .fa-modal-bg, .pv-confirm-modal-backdrop {
  background: rgba(16, 37, 59, .45);
}

/* ── Toast ─────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 9500;
  max-width: calc(100% - 30px);
  padding: 12px 20px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(16, 37, 59, .2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ── Dropdown ──────────────────────────────────────────────────────────── */
.dropdown, .profile-menu-list, .ps-market-menu {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

/* ── Tabs / segmented control ──────────────────────────────────────────── */
.seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.seg button, .seg a {
  min-height: 36px;
  padding: 6px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font: 650 13px var(--font);
  text-decoration: none;
  cursor: pointer;
}
.seg [aria-selected="true"], .seg [aria-pressed="true"], .seg .is-active { background: var(--navy); color: #fff; }

/* ── Accordion (FAQ style) ─────────────────────────────────────────────── */
.acc details { border: 1px solid var(--line); border-radius: 9px; background: var(--paper); overflow: hidden; }
.acc details + details { margin-top: 8px; }
.acc details[open] { border-color: var(--teal); }
.acc summary { list-style: none; display: flex; justify-content: space-between; gap: 14px; padding: 14px 18px;
  font-weight: 650; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--text-muted); flex-shrink: 0; }
.acc details[open] summary::after { content: '−'; background: var(--teal); border-color: var(--teal); color: var(--navy); }
.acc .acc-body { padding: 0 18px 16px; color: var(--text-muted); }

/* ── Empty state ───────────────────────────────────────────────────────── */
.empty-state { padding: 40px 24px; border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--paper); text-align: center; color: var(--text-muted); }
.empty-state h3 { margin: 0 0 6px; color: var(--navy); font-size: 20px; }

/* ── Photo pins + label callouts (homepage hero / #shop) ───────────────── */
.rr-pin {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 40px;
  min-height: 40px;
  padding: 5px;
  border: 0;
  background: transparent;
  transform: translate(-17px, -50%);
  cursor: pointer;
}
/* Numbered dot (P14): one style for pins and row badges — teal ring, navy
   number on white; the focused piece is teal with a white number. */
.rr-pin-dot, .rr-num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font: 800 11px/1 var(--font);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.rr-pin-dot { box-shadow: 0 0 0 4px rgba(41, 179, 185, .22); transition: transform .2s, box-shadow .2s; }
.rr-pin-label {
  padding: 5px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
  color: var(--navy);
  font: 650 11px/1.35 var(--font);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.rr-pin-label small { display: block; font-weight: 500; color: var(--text-muted); }
.rr-pin:hover .rr-pin-dot { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(41, 179, 185, .17); }
.rr-pin.is-selected .rr-pin-dot, .ps-section.is-focused .rr-num { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.rr-pin.is-selected .rr-pin-label { background: var(--navy); color: #fff; }
.rr-pin.is-selected .rr-pin-label small { color: #cfd8df; }
.rr-pin.is-flip { flex-direction: row-reverse; transform: translate(calc(-100% + 17px), -50%); }

/* ── Before / after slider (homepage .v5-compare) ──────────────────────── */
.rr-compare {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background: var(--cream);
  touch-action: pan-y;
  user-select: none;
  cursor: ew-resize;
}
.rr-compare img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.rr-compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.rr-compare-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px;
  background: var(--teal); transform: translateX(-50%); pointer-events: none; }
.rr-compare-handle {
  position: absolute;
  top: 50%;
  left: clamp(26px, var(--pos), 100% - 26px);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 3px solid #ffffffbb;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  box-shadow: 0 3px 15px rgba(16, 37, 59, .15);
  transform: translate(-50%, -50%);
  cursor: ew-resize;
}
.rr-compare-handle:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.rr-compare-tag { position: absolute; top: 12px; z-index: 5; padding: 5px 9px; border-radius: 4px; background: #ffffffe0;
  color: var(--navy); font-size: 11px; font-weight: 650; pointer-events: none; }
.rr-compare-tag.is-before { left: 12px; }
.rr-compare-tag.is-after { right: 12px; }

/* ── Header (website style) ────────────────────────────────────────────── */
.app-header { background: rgba(250, 247, 241, .94); border-bottom: 1px solid #e8e2d8; }
.app-header .btn-small { min-height: 40px; }

/* ── Product row (homepage “Products found”) ───────────────────────────── */
.rr-product-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: background .2s, border-color .2s;
}
.rr-product-row:hover { background: #f6f8f6; }
.rr-product-row.is-selected { background: var(--light-teal); border-color: #deede9; }
.rr-add {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d7e3e0;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-dark);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.rr-add[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.rr-listbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px 10px 18px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.rr-listbar .btn-primary { min-height: 40px; }
.rr-listbar .btn-ghost-light { background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.rr-listbar .btn-ghost-light:hover:not(:disabled) { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* ── Flow stepper (Web V7 · P11): one compact row in the top bar ───────── */
.flow-steps {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto 0 18px;
  padding: 0;
  list-style: none;
  min-width: 0;
}
.flow-step { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 40px; color: var(--text-muted); font: 600 13px/1.2 var(--font); white-space: nowrap; }
.flow-step + .flow-step::before {
  content: "";
  width: 18px;
  height: 1px;
  margin: 0 6px 0 2px;
  background: var(--line);
}
.flow-step a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 6px;
  border-radius: 9px;
  color: var(--text-muted);
  font: 600 13px/1.2 var(--font);
  text-decoration: none;
  white-space: nowrap;
}
.flow-step a:hover { color: var(--navy); background: var(--paper); }
.flow-step-dot {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}
.flow-step-label em { margin-left: 5px; color: var(--text-muted); font-style: normal; font-weight: 500; font-size: 11px; }
.flow-step.is-done .flow-step-dot { border-color: var(--teal); background: var(--light-teal); color: var(--teal-dark); }
.flow-step.is-active, .flow-step.active, .flow-step.is-active a, .flow-step.active a { color: var(--navy); }
.flow-step.is-active .flow-step-dot, .flow-step.active .flow-step-dot { border-color: var(--navy); background: var(--navy); color: #fff; }
.flow-step.is-skipped .flow-step-label { text-decoration: none; opacity: .75; }

/* ── Step 1 · Oda ──────────────────────────────────────────────────────── */
.oda { display: flex; justify-content: center; padding: 24px 0 40px; }
.oda-inner { width: 100%; max-width: 720px; }
.oda-title { margin: 0 0 6px; font: 800 30px/1.15 var(--font-heading); letter-spacing: -.02em; color: var(--navy); }
.oda-sub { margin: 0 0 22px; color: var(--text-muted); font-size: 15px; }
.oda-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 44px 24px 34px;
  border: 2px dashed #c9d9d6;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.oda-drop:hover, .oda-drop:focus-visible, .oda-drop.is-drag { border-color: var(--teal); background: var(--light-teal); outline: none; }
.oda-drop.is-locked { opacity: .7; }
.oda-drop-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--light-teal); color: var(--teal-dark); }
.oda-drop-title { font: 700 19px/1.3 var(--font-heading); color: var(--navy); }
.oda-drop-sub { color: var(--text-muted); font-size: 14px; }
.oda-drop-btn { margin-top: 8px; pointer-events: none; }
.oda-drop-cost { color: var(--text-muted); font-size: 12px; }
.oda-drop-busy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-weight: 600;
}
.oda-drop-busy[hidden] { display: none; }
.oda-alt { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.oda-alt-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
}
.oda-alt-card:hover, .oda-alt-card:focus-visible { border-color: var(--teal); outline: none; }
.oda-alt-card.is-busy, .oda-drop.is-busy { pointer-events: none; }
.oda-alt-icon { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--paper); color: var(--teal-dark); }
.oda-alt-text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--text-muted); }
.oda-alt-text strong { color: var(--navy); font-size: 15px; }
.oda-alt-text .upload-card-viz-note { align-self: flex-start; }   /* hug the text (stretched the card's width) */
.oda-alt-cost { font-size: 12px; }
.oda-locked { margin-top: 12px; color: var(--text-muted); font-size: 13px; }

/* ── Room workspace (Web V7 · P11) ─────────────────────────────────────── */
.app-main:has(> .room), .app-main:has(.room) { max-width: none; padding: 16px 20px 0; }
.room {
  --photo-col: 56%;
  display: grid;
  grid-template-columns: minmax(0, var(--photo-col)) minmax(420px, 1fr);
  gap: 20px;
  align-items: start;
}
/* P14: portrait photos get a narrower column, wide ones up to 60 % (the
   product column keeps ≥ 420 px). routers/room.py photo_layout() + JS. */
.is-photo-portrait { --photo-col: 40%; }
.is-photo-square { --photo-col: 48%; }
.is-photo-landscape { --photo-col: 56%; }
.is-photo-wide { --photo-col: 60%; }
.room-flash { grid-column: 1 / -1; margin: 0; }
.room-left {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.room-left-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.room-seg-opt { margin-left: 4px; font-size: 11px; font-weight: 500; opacity: .75; }
.room-reanalyse { margin: 0; }
.room-link-btn {
  min-height: 40px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--teal-dark);
  font: 600 13px var(--font);
  cursor: pointer;
}
.room-link-btn:hover { text-decoration: underline; }
.room-stage[hidden] { display: none; }
.room-photo {
  --photo-h: max(320px, calc(100vh - var(--header-h) - 170px));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* P16: the box hugs the drawn image (capped at --photo-h), so a landscape
     photo has no band above / below; a portrait one keeps blurred side bands. */
  height: auto;
  max-height: var(--photo-h);
  border-radius: 14px;
  background: #1d2a36;
}
/* Any band left around the photo: the same image, blurred and darkened
   (--photo-bg is set from the loaded <img>, no second request). */
.room-photo::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: var(--photo-bg, none) center / cover no-repeat;
  filter: blur(28px) brightness(.55) saturate(1.1);
  transform: scale(1.05);
}
.room-photo-frame { position: relative; z-index: 1; line-height: 0; max-width: 100%; max-height: 100%; }
/* Width from the aspect ratio, so small photos scale up and the frame (and
   the pins on it) is always exactly the drawn image. */
.room-photo-img {
  display: block;
  width: min(100%, calc(var(--photo-h) * var(--photo-ar, 1.333)));
  height: auto;
}
.room-photo-frame { width: min(100%, calc(var(--photo-h) * var(--photo-ar, 1.333))); }
.room-pins { position: absolute; inset: 0; pointer-events: none; }
.room-pins .rr-pin { pointer-events: auto; }
.room-photo-note { margin: 6px 2px 0; color: var(--text-muted); font-size: 12px; }
/* P17: overlays sit above the photo frame (z-index 1) — the progress card was
   painted behind the image while analysing. */
.room-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(180deg, rgba(16, 37, 59, 0) 40%, rgba(16, 37, 59, .45));
}
.room-scan { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.room-overlay.is-running .room-scan::after, .room-render-busy .room-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(41, 179, 185, 0), rgba(41, 179, 185, .28));
  border-bottom: 2px solid var(--teal);
  animation: room-scan 2.4s ease-in-out infinite;
}
@keyframes room-scan { 0% { top: -30%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .room-overlay.is-running .room-scan::after, .room-render-busy .room-scan::after { animation: none; top: 35%; } }
.room-overlay-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: min(420px, 100%);
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 37, 59, .18);
  color: var(--navy);
  font-size: 13px;
}
.room-overlay-card strong { font: 700 15px/1.3 var(--font-heading); }
.room-overlay-card form { margin: 4px 0 0; }
.room-progress { width: 100%; height: 6px; border-radius: 99px; background: var(--paper); overflow: hidden; }
.room-progress-fill { width: 6%; height: 100%; border-radius: inherit; background: var(--teal); transition: width .4s; }

.room-render { position: relative; display: flex; flex-direction: column; gap: 10px; }
.room-compare { aspect-ratio: 4 / 3; max-height: calc(100vh - var(--header-h) - 150px); border-radius: 14px; }
.room-render-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.room-render-actions form { margin: 0; }
.room-versions { display: flex; align-items: center; gap: 6px; }
.room-versions-label { color: var(--text-muted); font-size: 12px; margin-right: 2px; }
.room-version { width: 52px; height: 40px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--paper); cursor: pointer; }
.room-version img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-version.is-current { border-color: var(--teal); }
.room-dropzone, .room-render-start, .room-render-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 360px;
  padding: 28px;
  border: 2px dashed #c9d9d6;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.room-dropzone-label { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; color: var(--text-muted); font-size: 14px; }
.room-dropzone-label strong { color: var(--navy); font: 700 17px/1.3 var(--font-heading); }
.room-dropzone:hover { border-color: var(--teal); background: var(--light-teal); }
.room-dropzone-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--light-teal); color: var(--teal-dark); }
.room-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.room-render-cost { color: var(--text-muted); font-size: 12px; }
.room-render-preview { max-width: 100%; max-height: 260px; border-radius: 10px; }
.room-render-busy {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .8);
}
.room-render-busy[hidden] { display: none; }

/* Right column: toolbar · list · bar */
.room-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: calc(100vh - var(--header-h) - 16px);
}
/* P14: room under the sticky list bar; --rr-listbar-h is measured from the
   bar itself (room.html ResizeObserver), so a budget line or the saved state
   that makes it taller is covered too. */
.room-products { padding-bottom: calc(var(--rr-listbar-h, 64px) + 16px); }
.room-toolbar { padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 12px; }
/* Compact toolbar: Ülke + Mağazalar on one line, Bütçe on the next. */
.room-toolbar, .room-toolbar.ps-controls { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 10px; position: relative; z-index: 25; margin: 0; }
.room-toolbar .ps-market-row, .room-toolbar .ps-filter-row, .room-toolbar .ps-budget-row { margin: 0; padding: 0; border: 0; background: none; }
.room-toolbar .ps-market-row { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.room-toolbar .ps-market-hint { display: none; }
.room-toolbar .ps-market-eyebrow, .room-toolbar .ps-retailer-eyebrow { font-size: 10px; letter-spacing: .08em; margin: 0; }
.room-toolbar .ps-market-button { min-height: 32px; padding: 4px 10px; font-size: 12px; }
.room-toolbar .ps-filter-row { position: relative; display: flex; align-items: center; gap: 5px; flex: 1 1 260px; min-width: 0; flex-wrap: nowrap; margin: 0; }
.room-toolbar .ps-filter-row .ps-retailer-row { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.room-toolbar .ps-retailer-eyebrow, .room-toolbar .ps-market-eyebrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.room-toolbar .ps-retailer-chip.is-overflow { display: none; }
.ps-store-more {
  flex-shrink: 0;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font: 700 11px/1 var(--font);
  cursor: pointer;
}
.ps-store-more.is-active, .ps-store-more[aria-expanded="true"] { border-color: var(--teal); color: var(--teal-dark); }
.ps-store-pop, .tb-pop-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 37, 59, .14);
}
.ps-store-pop[hidden] { display: none; }
.ps-store-pop label { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 6px; border-radius: 8px; font-size: 13px; color: var(--navy); cursor: pointer; }
.ps-store-pop label:hover { background: var(--paper); }
.ps-store-pop input { accent-color: var(--teal-dark); width: 16px; height: 16px; }
.tb-pop { position: relative; flex-shrink: 0; }
.tb-pop > summary { list-style: none; }
.tb-pop > summary::-webkit-details-marker { display: none; }
.tb-pop-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font: 600 12px/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
}
.tb-pop-btn::after { content: "▾"; font-size: 10px; color: var(--text-muted); }
.tb-pop[open] .tb-pop-btn { border-color: var(--teal); }
.tb-pop-label { color: var(--text-muted); font-weight: 500; }
.tb-budget .tb-pop-panel { width: min(420px, 86vw); padding: 12px; }
.tb-budget .ps-budget-row { flex-wrap: wrap !important; }
.tb-budget .ps-budget-chip-amt { display: inline !important; }
/* With the amounts shown, the four tiers don't fit one line of the panel — wrap, don't overflow it. */
.room-toolbar .tb-budget .ps-budget-chips { flex-wrap: wrap; }
@media (min-width: 1200px) {
  .room-toolbar { flex-wrap: nowrap; }
}
.room-toolbar .ps-retailer-row { display: flex; align-items: center; gap: 5px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0; }
.room-toolbar .ps-retailer-row::-webkit-scrollbar { display: none; }
.room-toolbar .ps-retailer-chip { flex-shrink: 0; min-height: 28px; padding: 3px 9px; font-size: 10px; }
.room-toolbar .ps-budget-row { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: 0; }
.room-toolbar .ps-budget-chips { display: flex; gap: 4px; flex-wrap: nowrap; margin: 0; }
.room-toolbar .ps-budget-chip { min-height: 30px; padding: 3px 9px; font-size: 11px; white-space: nowrap; }
.room-toolbar .ps-budget-chip-amt { display: none; }
.room-toolbar .ps-budget-slider { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 70px; margin: 0; }
.room-toolbar .ps-budget-slider input { flex: 1; min-width: 0; }
.room-toolbar .ps-budget-slider output { font-size: 12px; white-space: nowrap; }
.room-best .ps-card-retailer { position: static; padding: 0; border: 0; background: none; box-shadow: none; color: var(--text-muted); font-size: 11px; letter-spacing: .04em; }
.room-listbar [hidden], .room-listbar .btn[hidden] { display: none; }
.room-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 2px 4px 0; }
.room-title { margin: 0; font: 800 19px/1.2 var(--font-heading); letter-spacing: -.01em; color: var(--navy); }
.room-list-count { color: var(--text-muted); font-size: 12px; }
.room-products { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.room-products .ps-section {
  position: relative;
  padding: 6px 6px 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin: 0;
}
.room-products .ps-section.is-focused { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(41, 179, 185, .15); }
.room-products .ps-section-header { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 2px 4px; margin: 0; border: 0; }
.room-products .ps-section-title { margin: 0; font: 700 13px/1.3 var(--font-heading); color: var(--navy); }
.room-products .ps-section-conf,
.room-products .ps-section-dims,
.room-products .ps-section-count,
.room-products .ps-section-selected { display: none; }
.room-products .ps-section { --ps-color: var(--teal) !important; }
/* The "⋯" menu may extend past its card (the card clipped it). */
.room-products .ps-section { overflow: visible; }
.room-products .ps-section:has(.piece-menu[open]) { z-index: 6; }
.room-products .ps-section-num { padding: 0; margin: 0; border: 2px solid var(--teal); background: #fff; color: var(--navy); }
.piece-menu { position: relative; margin-left: auto; }
.piece-menu > summary { list-style: none; }
.piece-menu > summary::-webkit-details-marker { display: none; }
.piece-menu-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--navy);
  font: 800 16px/1 var(--font);
  cursor: pointer;
}
.piece-menu-btn:hover, .piece-menu[open] .piece-menu-btn { background: var(--paper); }
.piece-menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 37, 59, .14);
}
.piece-menu-sort { display: flex; flex-direction: column; margin: 4px 0 0; padding: 4px 0 0; border-top: 1px solid var(--line); }
.piece-menu-item, .piece-menu .ps-section-detail, .piece-menu .ps-section-research, .piece-menu .ps-sort button {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--navy);
  font: 500 13px/1.3 var(--font);
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}
.piece-menu-item:hover { background: var(--paper); }
.piece-menu .ps-sort button.is-active { background: var(--light-teal); color: var(--teal-dark); font-weight: 700; }
.piece-menu-item:disabled { opacity: .5; cursor: wait; }
.room-best { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 6px; }
.room-best-img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--paper); }
.room-best-img-empty { display: grid; place-items: center; font-size: 22px; }
.room-best-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.room-best-name {
  overflow: hidden;
  color: var(--navy);
  font: 600 13px/1.3 var(--font);
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.room-best-name:hover { text-decoration: underline; }
.room-best-meta { display: flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--text-muted); }
.room-best-price { color: var(--navy); font-variant-numeric: tabular-nums; }
.room-best .why-chips, .room-best .ps-why { margin: 0; }
.room-best-skeleton { display: grid; grid-template-columns: 56px 1fr 40px; gap: 10px; align-items: center; padding: 6px; }
.room-best-skeleton span, .room-skeleton-row span { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--paper), #eee9df, var(--paper)); background-size: 200% 100%; animation: room-shimmer 1.4s linear infinite; }
.room-best-skeleton span:first-child { height: 56px; border-radius: 8px; }
.room-best-skeleton span:last-child { width: 40px; height: 40px; border-radius: 50%; }
@keyframes room-shimmer { to { background-position: -200% 0; } }
.room-alts-toggle {
  min-height: 32px;
  margin: 0 0 0 68px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--teal-dark);
  font: 600 12px var(--font);
  cursor: pointer;
}
.room-alts-toggle::after { content: " ▾"; }
.room-alts-toggle.is-open::after { content: " ▴"; }
.room-alts[hidden] { display: none; }
.room-skeleton { display: flex; flex-direction: column; gap: 8px; }
.room-skeleton-row { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.room-skeleton-row span:first-child { height: 56px; }
.room-empty { margin-top: 20px; }

.room-listbar {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  margin-top: auto;
  box-shadow: 0 10px 30px rgba(16, 37, 59, .22);
}
.room-listbar-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; font-size: 13px; }
.room-listbar-text strong { font-size: 14px; }
#roomBarTotal { font: 700 16px var(--font-heading); font-variant-numeric: tabular-nums; }
.room-listbar-budget { color: #b9e6e2; font-size: 12px; }
.room-listbar-budget.is-over { color: #ffc9b8; }
.room-listbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.room-listbar-open { color: #fff; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.room-listbar #roomSave:disabled { opacity: .55; cursor: not-allowed; }
.rs-action-wa { text-decoration: none; }

@media (max-width: 1024px) {
  .flow-step-label em { display: none; }
  .flow-steps { margin-left: 8px; }
}
@media (max-width: 900px) {
  .app-main:has(.room) { padding: 0; }
  .room { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .room-left {
    top: var(--header-h);
    z-index: 15;
    padding: 8px 12px;
    background: var(--cream, #f8f5ef);
    border-bottom: 1px solid var(--line);
  }
  .room-photo { --photo-h: 34vh; }
  .room-compare { max-height: 34vh; }
  .room-dropzone, .room-render-start, .room-render-empty { min-height: 0; padding: 18px; }
  .room-right { padding: 10px 12px calc(var(--rr-listbar-h, 64px) + 24px); min-height: 0; }
  .room-products { padding-bottom: 0; }
  .room-listbar {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 8px;
    margin: 0;
  }
  .room-listbar-actions .btn-ghost-light#roomBarRoom { display: none; }
  .flow-step-label { display: none; }
  .flow-step.is-active .flow-step-label { display: inline; }
  .flow-step + .flow-step::before { width: 8px; margin: 0 2px; }
}
@media (max-width: 520px) {
  .oda-title { font-size: 24px; }
  .oda-drop { padding: 30px 16px 24px; }
  .room-listbar { padding: 8px 10px; }
  .room-listbar-open { display: none; }
}

/* ── Top bar (Web V7 · P12): the one navigation layer ───────────────────── */
.app-header .header-inner { justify-content: flex-start; padding: 0 24px; }
.header-links { display: flex; align-items: center; gap: 4px; margin-left: 28px; }
.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 9px;
  color: var(--text-muted);
  font: 600 14px/1 var(--font);
  text-decoration: none;
}
.header-link:hover { color: var(--navy); background: var(--paper); }
.header-link.is-active { color: var(--navy); background: var(--light-teal); }
.app-header .header-nav { margin-left: auto; }

/* Credits pill + popover */
.credit-pill { position: relative; }
.credit-pill > summary { list-style: none; }
.credit-pill > summary::-webkit-details-marker { display: none; }
.credit-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font: 500 13px/1 var(--font);
  cursor: pointer;
  white-space: nowrap;
}
.credit-pill-btn svg { color: var(--teal-dark); }
.credit-pill[open] .credit-pill-btn, .credit-pill-btn:hover { border-color: var(--teal); }
.cp-part.is-binding { font-weight: 800; }
.cp-part.is-out { color: #b42318; }
.cp-sep { margin: 0 5px; color: var(--text-muted); }
.credit-pill-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 280px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 37, 59, .14);
  font-size: 13px;
}
.credit-pill-plan { font: 800 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); }
.credit-pill-summary { color: var(--navy); }
.credit-pill-resets { margin: 0; padding: 0; list-style: none; color: var(--text-muted); display: flex; flex-direction: column; gap: 4px; }
.credit-pill-resets li[hidden] { display: none; }
.credit-pill-cta { align-self: flex-start; }

/* The stepper row (flow pages only) */
.flow-bar { display: flex; align-items: center; min-height: 48px; padding: 4px 24px 0; }
.flow-bar .flow-steps { margin: 0; }

/* ── Listelerim ────────────────────────────────────────────────────────── */
.lists-page { width: 100%; max-width: 1200px; margin: 0 auto; }
.lists-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 8px 0 20px; }
.lists-title { margin: 0; font: 800 30px/1.15 var(--font-heading); letter-spacing: -.02em; color: var(--navy); }
.lists-sub { margin: 4px 0 0; color: var(--text-muted); }
.lists-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.list-card { position: relative; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.list-card-open { margin: 0; }
.list-card-btn { display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.list-card-btn:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 2px; border-radius: 14px; }
.list-card-photo { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 13px 13px 0 0; background: var(--paper); overflow: hidden; }
.list-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.list-card-status, .list-card-flow { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; }
.list-card-flow { left: auto; right: 48px; }
.list-card-status.is-saved { background: var(--light-teal); color: var(--teal-dark); border-color: #cfe8e3; }
.list-card-status.is-draft { background: #fff; color: var(--text-muted); }
.list-card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.list-card-name { font: 700 15px/1.3 var(--font-heading); color: var(--navy); }
.list-card-total { font: 800 19px/1.2 var(--font-heading); color: var(--navy); font-variant-numeric: tabular-nums; }
.list-card-meta, .list-card-date { color: var(--text-muted); font-size: 12px; }
.list-card-kebab { position: absolute; top: 8px; right: 8px; z-index: 3; }
.list-card-kebab > summary {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.list-card-kebab > summary::-webkit-details-marker { display: none; }
.list-card-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  min-width: 170px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 37, 59, .12);
}
.list-card-menu form { margin: 0; }
.list-card-menu-item { display: block; width: 100%; min-height: 36px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; text-align: left; font: 500 13px var(--font); color: var(--navy); cursor: pointer; }
.list-card-menu-item:hover { background: var(--paper); }
.list-card-menu-item.is-danger { color: #b42318; }
.list-card .dash-card-rename { padding: 0 14px 14px; }
.lists-empty { display: flex; flex-direction: column; align-items: stretch; gap: 14px; max-width: 720px; margin: 0 auto; }
.lists-drop { cursor: pointer; }
.lists-sample { align-self: center; }
.lists-howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.lists-howto li { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 12px; color: var(--text-muted); }
.lists-howto strong { display: block; color: var(--navy); font-size: 14px; margin-bottom: 2px; }

/* ── Favoriler: product rows ───────────────────────────────────────────── */
.fav-rows { display: flex; flex-direction: column; gap: 6px; }
.fav-row { grid-template-columns: 56px minmax(0, 1fr) auto auto; background: #fff; border-color: var(--line); }
.fav-row-remove { margin: 0; }
.rr-add-placeholder { width: 40px; }

@media (max-width: 900px) {
  .header-links { display: none; }
  .flow-bar { padding: 4px 12px 0; min-height: 40px; }
  .lists-howto { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .app-header .header-inner { padding: 0 12px; }
  .credit-pill-btn { padding: 0 9px; font-size: 12px; }
  .credit-pill-btn svg { display: none; }
  .credit-pill-pop { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 6px); width: auto; }
}
@media (max-width: 420px) {
  /* 390 px: wordmark · pill · TR/EN · avatar must fit in one row. */
  .app-header .header-inner { gap: 6px; padding: 0 10px; }
  .app-header .header-nav { gap: 4px; }
  .app-header .brand { font-size: 17px; }
  .credit-pill-btn { min-height: 32px; padding: 0 7px; font-size: 11px; }
  .cp-sep { margin: 0 3px; }
  /* Phones: only the limit that runs out first (P15). */
  .credit-pill-text .cp-part:not(.is-binding), .credit-pill-text .cp-sep { display: none; }
  .header-nav .lang-toggle { transform: scale(.82); margin: 0 -4px; }
  .profile-menu-btn { padding: 2px; gap: 0; }
  .profile-menu-btn > svg { display: none; }
  /* Guest: wordmark · Misafir · Giriş · Hesap oluştur must fit (P14). */
  .header-nav .guest-badge ~ .lang-toggle { display: none; }
  .header-nav .guest-badge { padding: 3px 7px; font-size: 10px; }
}

/* ── Alışveriş listesi /list/{id} + /share (Web V7 · P14 → P18) ──────────
   P18 (V12 B-list): the room page's direction — the image (≈40 %, sticky)
   with "Odanda gör" on the left, the total card and the list by store on the
   right. ≤ 900 px: total card, stores, then the image. */
.lp { width: 100%; max-width: 1280px; margin: 0 auto; }
.lp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 14px; }
.lp-saved-chip { margin-left: auto; padding: 5px 12px; border: 1px solid #bfe3df; border-radius: 999px; background: var(--light-teal); color: var(--teal-dark); font-size: 13px; font-weight: 600; }
.lp-saved-chip[hidden] { display: none; }
.lp-title { margin: 0; font: 800 24px/1.2 var(--font-heading); letter-spacing: -.02em; color: var(--navy); }
.lp-title span { color: var(--text-muted); font-weight: 700; }
.lp-sub { margin: 0; color: var(--text-muted); font-size: 14px; }
.lp-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; align-items: start; }
.lp-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lp-groups { display: flex; flex-direction: column; gap: 12px; }
.lp-store { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.lp-store-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.lp-store-name { font: 800 15px/1.2 var(--font-heading); color: var(--navy); }
.lp-store-count { color: var(--text-muted); font-size: 12px; }
.lp-store-open { margin-left: auto; color: var(--teal-dark); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lp-store-open:hover { text-decoration: underline; }
.lp-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 16px;
}
.lp-row + .lp-row { border-top: 1px solid var(--line); }
.lp-row-img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--paper); }
.lp-row-img.is-empty { display: grid; place-items: center; font-size: 20px; }
.lp-row-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-row-name { overflow: hidden; color: var(--navy); font: 600 14px/1.3 var(--font); text-decoration: none; white-space: nowrap; text-overflow: ellipsis; }
.lp-row-name:hover { text-decoration: underline; }
.lp-row-meta { color: var(--text-muted); font-size: 12px; }
.lp-stock { color: #1e7a4c; font-weight: 600; }
.lp-row-price { font: 700 15px var(--font-heading); color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-buy { white-space: nowrap; }
.lp-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 6px 0 12px; }
.lp-reset { margin: 0; }
.lp-media { position: sticky; top: calc(var(--header-h) + 12px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lp-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.lp-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lp-total-label { color: var(--text-muted); font-size: 13px; font-weight: 600; }
.lp-total { font: 800 30px/1.1 var(--font-heading); letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.lp-budget { margin: -4px 0 0; color: var(--teal-dark); font-size: 13px; font-weight: 600; }
.lp-budget.is-over { color: #b4472a; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-actions { justify-content: flex-end; }
.lp-actions [hidden] { display: none; }
.lp-actions #rsSaveBtn { margin-right: auto; }
.lp-compare { aspect-ratio: 4 / 3; border-radius: 14px; }
.lp-photo { position: relative; margin: 0; }
.lp-photo img { display: block; width: 100%; max-height: calc(100vh - var(--header-h) - 300px); min-height: 240px; object-fit: cover; border-radius: 14px; }
.lp-photo-tag { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: #ffffffeb; color: var(--navy); font-size: 11px; font-weight: 700; }
.lp-room { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid #bfe3df; border-radius: 14px; background: var(--light-teal); }
.lp-room strong { font: 700 15px/1.3 var(--font-heading); color: var(--navy); }
.lp-room p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.lp-room .btn { width: 100%; margin-top: 4px; }
.lp-room-note { color: var(--text-muted); font-size: 12px; }
.lp-media > .lp-room-cta { align-self: flex-start; }
.lp-pair { display: grid; grid-template-columns: 1fr; gap: 8px; }
.lp-pair figure { position: relative; margin: 0; }
.lp-pair img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.lp-pair figcaption { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 4px; background: #ffffffe0; color: var(--navy); font-size: 11px; font-weight: 700; }
.lp-empty { margin-top: 24px; }
.lp-share { padding: 24px 24px 40px; }
@media (max-width: 900px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-media { position: static; order: 2; }
  .lp-photo img { max-height: 46vh; min-height: 0; }
}
@media (max-width: 520px) {
  .lp-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 8px 12px; }
  .lp-row-img { width: 44px; height: 44px; }
  .lp-buy { grid-column: 2 / -1; justify-self: start; }
  .lp-store-head { flex-wrap: wrap; padding: 10px 12px; }
  .lp-total { font-size: 26px; }
}

/* ── Footer at the bottom of short pages (P14) ─────────────────────────── */
body { min-height: 100vh; min-height: 100dvh; }
.app-shell { flex: 1 0 auto; }
.app-shell > .app-column { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.app-column > .app-main { flex: 1 0 auto; }
.app-column > .app-footer { margin-top: auto; }

/* ── Listelerim grid (P14): 4 ≥1440 · 3 ≥1100 · 2 ≥700 · 1 below ─────── */
.lists-page { max-width: 1440px; }
.lists-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 700px) { .lists-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lists-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1440px) { .lists-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.list-card-body { gap: 3px; padding: 14px 16px 16px; }
.list-card-name { font-size: 16px; }
.list-card-total { font-size: 22px; }

/* ── Favoriler (P14) ───────────────────────────────────────────────────── */
.fav-page { width: 100%; max-width: 1100px; margin: 0 auto; }
.fav-group { margin: 0 0 22px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fav-group-head { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 8px; padding: 0; border: 0; }
.fav-group-title { margin: 0; font: 800 17px/1.25 var(--font-heading); color: var(--navy); }
.fav-group-meta { color: var(--text-muted); font-size: 12px; }
.fav-group-open { margin: 0 0 0 auto; }
.fav-cat { margin-top: 10px; }
.fav-cat-label { margin: 0 0 6px; color: var(--text-muted); font-size: 12px; font-weight: 700; }
.fav-cat-label span { margin-left: 4px; font-weight: 500; }
.fav-row { position: relative; }
.fav-empty h2 { margin: 0 0 6px; font: 800 18px var(--font-heading); color: var(--navy); }
.fav-add { position: relative; }
.fav-add > summary { list-style: none; }
.fav-add > summary::-webkit-details-marker { display: none; }
.fav-add[open] > summary { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.fav-add-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 280px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 37, 59, .16);
}
.fav-add-form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.fav-add-title { font: 800 14px var(--font-heading); color: var(--navy); }
.fav-add-options { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow: auto; }
.fav-add-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--navy);
  font: 500 13px var(--font);
  text-align: left;
  cursor: pointer;
}
.fav-add-option:hover { background: var(--paper); }
.fav-add-option input { accent-color: var(--teal-dark); }
.fav-add-option em { margin-left: auto; color: var(--teal-dark); font-size: 11px; font-style: normal; font-weight: 700; }
.fav-add-option.is-new { border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; padding-top: 10px; }
.fav-add-room { margin: 0; }
.fav-add-option .rr-num { width: 20px; height: 20px; font-size: 10px; }

/* ── AI ile oluştur (My Own Space) in the room-page layout (P15) ──────────
   Compact title, left the empty-room photo (later the design + versions),
   right the question / brief / cost note, primary action in a navy bar. */
.app-main:has(.mos-page) { max-width: none; padding: 16px 20px 0; }
.mos-page { padding: 0 0 24px; }
.mos-page-inner { max-width: none; margin: 0; }
.mos-page .mos-head { margin: 0 0 12px; }
.mos-page .mos-head-num { color: var(--text-muted); font-weight: 700; }
.mos-page .mos-grid, .mos-page .mos-review-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--photo-col, 52%)) minmax(420px, 1fr);
  gap: 20px;
  align-items: start;
}
.mos-page .mos-side, .mos-page .mos-review-image-card { position: sticky; top: calc(var(--header-h) + 12px); min-width: 0; }
.mos-page .mos-review-image-card { padding: 0; border: 0; background: none; box-shadow: none; }
.mos-page .mos-room-card.room-photo, .mos-page .mos-review-photo { --photo-h: max(320px, calc(100vh - var(--header-h) - 180px)); }
.room-photo > .mos-room-img, .room-photo > .mos-review-image {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}
.mos-page .mos-main, .mos-page .mos-review-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mos-page .mos-main .mos-card, .mos-page .mos-brief-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: none; }
.mos-page .mos-brief-card { padding: 14px 16px; }
.mos-page .mos-brief-title { font: 800 13px/1.2 var(--font-heading); letter-spacing: 0; text-transform: none; color: var(--navy); }
.mos-page .mos-question-text { font: 800 20px/1.25 var(--font-heading); letter-spacing: -.01em; color: var(--navy); }
.mos-page .mos-progress { color: var(--text-muted); font-weight: 700; }

/* The primary action, list-bar style (navy), stuck to the bottom. */
.mos-page .mos-actionbar {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
  box-shadow: 0 10px 30px rgba(16, 37, 59, .22);
}
.mos-page .mos-actionbar .btn-primary { min-height: 44px; padding: 0 18px; font-weight: 700; }
.mos-page .mos-actionbar .mos-back-btn { color: #fff; }
/* P18 (V12 B-ai-summary): one row — "← Düzenle" left, the primary right. */
.mos-page .mos-review-actions.mos-actionbar { flex-wrap: nowrap; }
.mos-page .mos-review-actions .mos-back-btn, .mos-page .mos-review-actions .btn-primary { white-space: nowrap; }
.mos-page .mos-review-actions .btn-primary { margin-left: auto; }
.mos-page .mos-review-bar form { margin: 0; flex: 1 1 auto; }
.mos-page .mos-review-bar .mos-review-cta { width: 100%; }
.mos-page .mos-review-bar .mos-review-secondary { width: auto; min-height: 40px; background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.mos-page .mos-review-bar .mos-review-pill-small { color: #cfd8df; }
.mos-page .mos-path-cost { color: var(--text-muted); font-size: 12px; margin: 0; }
.mos-page .mos-versions { margin-top: 10px; }

@media (max-width: 900px) {
  .app-main:has(.mos-page) { padding: 0; }
  .mos-page .mos-head { padding: 8px 12px 0; }
  .mos-page .mos-back-to-designs { margin: 4px 12px 12px; }   /* same 12px side gutter as the head (was flush left) */
  .mos-page .mos-grid, .mos-page .mos-review-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mos-page .mos-side, .mos-page .mos-review-image-card {
    top: var(--header-h);
    z-index: 15;
    padding: 8px 12px;
    background: var(--cream, #f8f5ef);
    border-bottom: 1px solid var(--line);
  }
  .mos-page .mos-room-card.room-photo, .mos-page .mos-review-photo { --photo-h: 34vh; }
  .mos-page .mos-versions { display: none; }
  .mos-page .mos-main, .mos-page .mos-review-side { padding: 10px 12px 110px; }
  .mos-page .mos-actionbar { position: fixed; left: 8px; right: 8px; bottom: 8px; margin: 0; }
}

/* ── P15: budget chip filled when a budget is set; "Ek parçalar" ───────── */
.tb-budget.is-set .tb-pop-btn { background: var(--light-teal); border-color: #cfe8e3; color: var(--teal-dark); }
.tb-budget.is-set .tb-pop-label { color: var(--teal-dark); }
.room-extras { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.room-extras-title { margin: 6px 4px 0; font: 800 15px/1.2 var(--font-heading); color: var(--navy); }
.room-extras-title span { margin-left: 4px; color: var(--text-muted); font-weight: 600; font-size: 13px; }
.room-extras .ps-section-num, .room-extras .ps-section-research { display: none; }
.lp-store.is-extra .lp-store-head { background: var(--light-teal); }

/* ── P15: account pages, modals, auth — P10 alignment ──────────────────── */
.sub-status { margin: 4px 0 0; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.sub-status.is-warn { color: #b45309; }
.sub-header .lp-title, .profile-header .lp-title { margin: 0; }
.profile-header { margin-bottom: 16px; }
.profile-header .lp-sub { margin-top: 4px; }
/* Card labels are quiet labels, not uppercase eyebrows. */
.profile-card-eyebrow, .profile-danger-eyebrow, .sub-bundles-eyebrow, .sub-stat-label {
  text-transform: none;
  letter-spacing: 0;
  font: 700 12px/1.3 var(--font);
  color: var(--text-muted);
}
.profile-card-title { font: 800 18px/1.25 var(--font-heading); letter-spacing: -.01em; color: var(--navy); }
.auth-card .auth-header { padding-top: 4px; }

/* AI ile oluştur: the photo fills its frame (no pins here, contain is exact). */
/* P16: sized like the /room photo frame — width from the aspect ratio. */
.mos-page .room-photo > .mos-room-img, .mos-page .room-photo > .mos-review-image {
  width: min(100%, calc(var(--photo-h) * var(--photo-ar, 1.333)));
  height: auto;
  max-height: none;
}
@media (min-width: 901px) {
  .mos-page .mos-review-photo { --photo-h: max(300px, calc(100vh - var(--header-h) - 270px)); }
}
/* The summary card says the same as the "Doğru görünüyor mu?" list. */
.mos-page .mos-main:has(#mosReviewCard:not(.hidden)) #mosBriefSummary { display: none; }

/* ── P17: flags, piece rows, search progress, selection panel ─────────────── */
.rr-flag { display: inline-block; flex: none; width: 22px; height: 15px; border-radius: 3px; vertical-align: -2px;
  box-shadow: 0 0 0 1px rgba(16, 37, 59, .12); }
.match-badge {
  display: inline-flex; align-items: center; padding: 2px 7px; border-radius: var(--radius-pill);
  background: var(--light-teal); color: var(--teal-dark); font: 700 11px/1.4 var(--font); white-space: nowrap;
}
/* Unselected piece: "Henüz seçilmedi · 9 seçenek · ₺6.499'dan başlayan" + Ürün seç */
.room-pick {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 6px 34px; padding: 8px 10px; border: 1.5px dashed var(--border-strong); border-radius: 10px;
  color: var(--text-muted); font-size: 12.5px;
}
.room-pick-text strong { color: var(--navy); font-weight: 700; }
.room-pick-btn { flex: none; min-height: 32px; padding: 4px 12px; }
.room-best.is-suggestion { opacity: .96; }
.room-best-tag { color: var(--teal-dark); font-weight: 700; letter-spacing: .02em; }
.room-alts-toggle[data-pick-open]::after { content: " ›"; }

/* "Odana bakıyoruz…" / "7 parça bulundu · mağazalarda aranıyor" */
.room-search {
  display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; padding: 14px 16px;
  border: 1px solid var(--accent-border); border-radius: 12px; background: var(--light-teal); color: var(--navy);
}
.room-search[hidden] { display: none; }
.room-search-title { font: 700 15px/1.3 var(--font-heading); }
.room-search-sub { color: var(--text-muted); font-size: 13px; }
.room-search.is-looking .room-skeleton { margin-top: 4px; }
.room-search-list { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.room-search-list li { display: flex; align-items: center; gap: 8px; }
.room-search-icon { flex: none; width: 16px; height: 16px; border-radius: 50%; }
.room-search-list .is-done .room-search-icon { background: var(--teal-dark); }
.room-search-list .is-done .room-search-icon::before { content: "✓"; display: block; color: #fff; font: 700 10px/16px var(--font); text-align: center; }
.room-search-list .is-running .room-search-icon { border: 2px solid var(--accent-border); border-top-color: var(--teal-dark); animation: room-spin 1s linear infinite; }
.room-search-list .is-queued { color: var(--text-muted); }
.room-search-list .is-queued .room-search-icon { border: 2px dotted var(--border-strong); }
.room-search-list .is-failed { color: var(--error); }
.room-search-list .is-failed .room-search-icon { border: 2px solid currentColor; }
@keyframes room-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .room-search-list .is-running .room-search-icon { animation: none; } }
.room-search-note { margin: 2px 0 0; color: var(--text-muted); font-size: 12px; }

/* Selection panel: right side (bottom sheet on phones) */
.pick-panel { position: fixed; inset: 0; z-index: 1200; }
.pick-panel[hidden] { display: none; }
.pick-backdrop { position: absolute; inset: 0; background: rgba(16, 37, 59, .38); }
.pick-sheet {
  position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 10px;
  width: min(460px, 100%); padding: 18px 18px 0; background: var(--paper); box-shadow: var(--shadow-lg); outline: none;
}
.pick-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pick-title { margin: 0; font: 700 18px/1.3 var(--font-heading); color: var(--navy); }
.pick-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--cream); color: var(--navy); font-size: 15px; cursor: pointer; }
.pick-tabs { align-self: flex-start; }
.pick-stores { display: flex; flex-wrap: wrap; gap: 6px; }
.pick-store-chip {
  min-height: 30px; padding: 3px 10px; border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: #fff; color: var(--navy); font: 600 12px var(--font); cursor: pointer;
}
.pick-store-chip span { color: var(--text-muted); font-weight: 500; }
.pick-store-chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.pick-store-chip[aria-pressed="true"] span { color: #d7e2ea; }
.pick-note { margin: 0; color: var(--text-muted); font-size: 12px; }
.pick-list { flex: 1; min-height: 0; margin: 0 -18px; padding: 0 18px 18px; overflow-y: auto; list-style: none; }
.pick-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.pick-row.is-current { background: linear-gradient(90deg, var(--light-teal), transparent); }
.pick-img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--cream); }
.pick-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pick-name { overflow: hidden; color: var(--navy); font-weight: 600; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.pick-name:hover { text-decoration: underline; }
.pick-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-muted); font-size: 12px; }
.pick-stock.is-in { color: var(--success); }
.pick-stock.is-out { color: var(--error); }
.pick-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pick-best { padding: 2px 7px; border-radius: var(--radius-pill); background: var(--navy); color: #fff; font: 700 11px/1.4 var(--font); }
.pick-over { padding: 2px 7px; border-radius: var(--radius-pill); background: var(--warning-bg); color: var(--warning); font: 600 11px/1.4 var(--font); }
.pick-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pick-price { color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pick-side .btn { min-height: 34px; padding: 4px 14px; }
.pick-empty { padding: 24px 0; color: var(--text-muted); text-align: center; }
body.is-pick-open { overflow: hidden; }
@media (max-width: 520px) {
  .pick-sheet { top: auto; left: 0; width: 100%; height: 90vh; border-radius: 18px 18px 0 0; }
  .room-pick { margin-left: 0; flex-wrap: wrap; }
}
/* ── P17 → P18: step 1 confirmation in the room layout (V12 B-confirm) ─────
   Left ≈52 %: the photo; right: "Ürünleri nerede arayalım?" card + the navy
   action bar. ≤ 900 px: photo on top, card below, the bar fixed at the bottom. */
.oda-drop[hidden], .oda-confirm[hidden] { display: none; }
.app-main:has(.oda.is-confirm) { max-width: none; padding: 16px 20px 0; }
.oda.is-confirm { display: block; padding: 0 0 28px; }
.oda.is-confirm .oda-inner { max-width: none; }
.oda.is-confirm .oda-title, .oda.is-confirm .oda-sub, .oda.is-confirm .oda-alt, .oda.is-confirm .oda-locked { display: none; }
.oda-confirm { display: grid; grid-template-columns: minmax(0, 52%) minmax(400px, 1fr); gap: 20px; align-items: start; }
.oda-confirm [hidden] { display: none !important; }
.oda-confirm-left { position: sticky; top: calc(var(--header-h) + 12px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.oda-confirm-seg { align-self: flex-start; }
.oda-confirm-seg button:disabled { opacity: .55; cursor: default; }
.oda-confirm-media { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: #1d2a36; line-height: 0; }
.oda-confirm-media img { position: relative; z-index: 1; display: block; width: 100%; max-height: calc(100vh - var(--header-h) - 150px); object-fit: contain; }
/* The whole photo, never cropped (a portrait photo lost its top and bottom): the
   free space is the same photo, blurred — like the room page (--photo-bg set in upload.html). */
.oda-confirm-media::before { content: ""; position: absolute; inset: -40px; background: var(--photo-bg, none) center / cover no-repeat; filter: blur(28px) brightness(.55) saturate(1.1); }
.oda-confirm-media .oda-confirm-file, .oda-confirm-media .oda-confirm-change, .oda-confirm-media .room-scan { z-index: 2; }
.oda-confirm-media .room-scan { display: none; }
.oda-confirm.is-busy .oda-confirm-media .room-scan { display: block; }
.oda-confirm.is-busy .oda-confirm-media .room-scan::after {
  content: ""; position: absolute; left: 0; right: 0; height: 30%;
  background: linear-gradient(180deg, rgba(41, 179, 185, 0), rgba(41, 179, 185, .28));
  border-bottom: 2px solid var(--teal); animation: room-scan 2.4s ease-in-out infinite;
}
.oda-confirm-file, .oda-confirm-change {
  position: absolute; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; max-width: 60%;
  padding: 5px 10px; border: 0; border-radius: 999px; background: #ffffffeb; color: var(--navy);
  font: 600 12px/1.3 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.oda-confirm-file { left: 12px; }
.oda-confirm-file:empty { display: none; }
.oda-confirm-change { right: 12px; cursor: pointer; }
.oda-confirm-change:hover { background: #fff; text-decoration: underline; }
.oda-confirm.is-busy .oda-confirm-change { display: none; }
.oda-confirm-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.oda-confirm-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm);
}
.oda-confirm-eyebrow { margin: 0; color: var(--teal-dark); font: 800 11px var(--font); letter-spacing: .14em; text-transform: uppercase; }
.oda-confirm-title { margin: -8px 0 0; font: 800 24px/1.2 var(--font-heading); letter-spacing: -.02em; color: var(--navy); }
.oda-confirm-sub { margin: -6px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.oda-confirm-text { margin: 0; color: var(--navy); font-size: 13px; line-height: 1.5; }
.oda-confirm-text.is-sample { font-size: 15px; }
.oda-confirm-cost, .oda-confirm-free { margin: 0; color: var(--navy); font-size: 13px; }
.oda-confirm-bar { box-shadow: 0 10px 30px rgba(16, 37, 59, .22); }
.oda-confirm-bar .btn-primary { margin-left: auto; }
.oda-confirm.is-busy .oda-confirm-bar { pointer-events: none; }
.oda-confirm-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oda-info-box { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); font-size: 13px; line-height: 1.45; }
.oda-info-label, .oda-country-label { color: var(--text-muted); font: 800 10.5px var(--font); letter-spacing: .14em; text-transform: uppercase; }
.oda-country { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.oda-country-cur-row { display: flex; align-items: center; gap: 12px; }
.oda-country-now { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.oda-country-now strong { font: 700 16px var(--font-heading); color: var(--navy); }
.oda-country-now span { overflow: hidden; color: var(--text-muted); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.oda-country-now span:empty { display: none; }
.oda-country-chip { flex-shrink: 0; }
.oda-country-chip[aria-expanded="true"] { border-color: var(--teal); background: var(--light-teal); }
.oda-country-flag { display: inline-flex; }
.oda-country-flag.is-big .rr-flag { width: 32px; height: 22px; border-radius: 3px; }
.oda-country-pop {
  position: absolute; z-index: 40; top: 150px; right: -12px; width: min(430px, calc(100vw - 32px));
  padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg);
}
.oda-country-title { display: block; margin: 2px 4px 2px; font: 700 16px var(--font-heading); color: var(--navy); }
.oda-country-lead { margin: 0 4px 10px; color: var(--text-muted); font-size: 12.5px; line-height: 1.45; }
.oda-country-list { display: flex; flex-direction: column; gap: 2px; max-height: 340px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.oda-country-row {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 18px; gap: 10px; align-items: center; width: 100%;
  padding: 9px 10px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--navy); font: inherit; text-align: left; cursor: pointer;
}
.oda-country-row:hover, .oda-country-row:focus-visible { background: var(--cream); outline: none; }
.oda-country-row.is-current { border-color: var(--teal); background: var(--light-teal); }
.oda-country-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.oda-country-main strong { font-size: 14px; }
.oda-country-main span { overflow: hidden; color: var(--text-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.oda-country-cur { color: var(--text-muted); font: 600 12px var(--font); white-space: nowrap; }
.oda-country-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-size: 11px; font-weight: 800; visibility: hidden; }
.oda-country-row.is-current .oda-country-check { visibility: visible; }
.oda-country-note { margin: 10px 4px 0; color: var(--text-muted); font-size: 12px; text-align: center; }
@media (max-width: 900px) {
  .app-main:has(.oda.is-confirm) { padding: 12px 12px 0; }
  .oda-confirm { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .oda-confirm-left { position: static; }
  .oda-confirm-seg { display: none; }
  .oda-confirm-media img { max-height: 42vh; }
  .oda-confirm-right { padding-bottom: 84px; }
  .oda-confirm-card { padding: 16px; }
  .oda-confirm-title { font-size: 21px; }
  .oda-confirm-info { grid-template-columns: 1fr; }
  .oda-confirm-bar { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 30; }
  .oda-country-pop { top: 120px; left: 0; right: 0; width: auto; }
}
/* ── P17: first-visit intro (5 slides) ───────────────────────────────────── */
.intro { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 24px; }
.intro[hidden] { display: none; }
.intro-backdrop { position: absolute; inset: 0; background: rgba(16, 37, 59, .55); }
.intro-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; width: min(720px, 100%); max-height: calc(100vh - 48px);
  padding: 20px 24px 22px; overflow-y: auto; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-lg); outline: none;
}
.intro-top { display: flex; align-items: center; gap: 16px; }
.intro-progress { display: grid; flex: 1; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.intro-progress span { height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.intro-progress i { display: block; width: 0; height: 100%; background: var(--teal-dark); transition: width .3s; }
.intro-progress .is-done i { width: 100%; }
.intro-skip { border: 0; background: none; color: var(--text-muted); font: 600 14px var(--font); cursor: pointer; }
.intro-skip:hover { color: var(--navy); }
.intro-slide[hidden] { display: none; }
.intro-visual {
  display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 300px; padding: 16px;
  border-radius: 16px; background: var(--cream);
}
.intro-title { margin: 18px 0 6px; font: 800 26px/1.2 var(--font-heading); letter-spacing: -.02em; color: var(--navy); }
.intro-text { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.55; }
/* 1 · photo + pins */
.intro-photo { position: relative; width: 100%; overflow: hidden; border-radius: 12px; line-height: 0; }
.intro-photo img { width: 100%; height: auto; }
.intro-scan { position: absolute; inset: 0 0 auto; height: 28%; background: linear-gradient(180deg, rgba(41, 179, 185, 0), rgba(41, 179, 185, .25));
  border-bottom: 2px solid var(--teal); animation: intro-scan 3s ease-in-out infinite; }
@keyframes intro-scan { 0% { top: -28%; } 100% { top: 100%; } }
.intro-pin {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; transform: translate(-50%, -50%);
  border-radius: 99px; background: #fff; box-shadow: 0 4px 14px rgba(16, 37, 59, .2); color: var(--navy);
  font: 700 12px/1 var(--font); white-space: nowrap;
}
.intro-pin b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-size: 11px; }
.intro-pin.is-flip { transform: translate(-90%, -50%); }
/* 2 · best match */
.intro-crop { margin: 0; width: 44%; line-height: 0; }
.intro-crop img { width: 100%; height: auto; border-radius: 12px; }
.intro-crop figcaption { margin-top: 6px; color: var(--text-muted); font-size: 12px; line-height: 1.3; }
.intro-arrow { color: var(--teal-dark); font: 800 22px var(--font); }
.intro-match { display: flex; flex-direction: column; gap: 8px; width: 46%; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.intro-match-head { display: flex; flex-wrap: wrap; gap: 6px; }
.intro-match img { width: 100%; height: 120px; border-radius: 8px; object-fit: contain; background: var(--cream); }
.intro-match strong { color: var(--navy); font-size: 13px; }
.intro-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.intro-chips span { padding: 2px 8px; border-radius: 99px; background: var(--light-teal); color: var(--teal-dark); font: 600 11px/1.6 var(--font); }
/* 3 · budget list */
.intro-v3 { flex-direction: column; align-items: stretch; }
.intro-tiers { align-self: center; pointer-events: none; }
.intro-tiers span { padding: 6px 14px; border-radius: 99px; font: 600 13px var(--font); color: var(--navy); }
.intro-tiers .is-active { background: var(--navy); color: #fff; }
.intro-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.intro-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 6px 10px 6px 6px; border-radius: 10px; background: #fff; }
.intro-list img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--cream); }
.intro-list span { display: flex; flex-direction: column; font-size: 13px; color: var(--navy); }
.intro-list small { color: var(--text-muted); font-size: 11.5px; }
.intro-list b { color: var(--navy); font-variant-numeric: tabular-nums; }
.intro-total { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 14px; }
/* 4 · stores */
.intro-v4 { flex-direction: column; }
.intro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.intro-grid img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; object-fit: cover; background: #fff; }
.intro-flags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.intro-flags .rr-flag { width: 30px; height: 20px; }
/* 5 · before / after */
.intro-compare { width: 100%; aspect-ratio: 700 / 324; border-radius: 12px; }
/* navigation */
.intro-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.intro-count { color: var(--text-muted); font: 600 13px var(--font); }
.intro-final { display: none; gap: 8px; margin-left: auto; }
.intro.is-first [data-intro-prev] { visibility: hidden; }
.intro.is-last [data-intro-next], .intro.is-last .intro-count { display: none; }
.intro.is-last .intro-final { display: flex; }
body.is-intro-open { overflow: hidden; }
/* Listelerim (empty): "Nasıl kullanılır" opens the intro */
.lists-howto-btn {
  display: inline-flex; align-items: center; gap: 8px; margin: 16px auto 0; padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 99px; background: #fff; color: var(--navy); font: 600 14px var(--font); cursor: pointer;
}
.lists-howto-btn span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--light-teal); color: var(--teal-dark); font-weight: 800; }
.lists-howto-btn em { color: var(--text-muted); font-style: normal; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .intro-scan { animation: none; top: 35%; } }
@media (max-width: 520px) {
  .intro { padding: 0; }
  .intro-card { width: 100%; height: 100%; max-height: none; border-radius: 0; padding: 14px 16px 18px; }
  .intro-visual { min-height: 240px; padding: 10px; }
  .intro-title { font-size: 22px; }
  .intro-v2 { flex-direction: column; }
  .intro-crop, .intro-match { width: 100%; }
  .intro-arrow { transform: rotate(90deg); }
  .intro-nav { margin-top: auto; }
  .intro.is-last .intro-final { flex-direction: column-reverse; width: 100%; }
  .intro-final .btn { width: 100%; }
}
/* ── P17: Odanda gör — photo confirm, pins on the render, card, full screen ─ */
.room-dropzone-label[hidden], .room-render-confirm[hidden] { display: none; }
.room-render-confirm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; width: 100%; }
.room-render-confirm-img { width: 100%; max-height: 300px; border-radius: 12px; object-fit: cover; background: var(--cream); }
.room-render-confirm-body { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.room-render-confirm-title { font: 800 20px/1.25 var(--font-heading); color: var(--navy); }
.room-render-confirm-tip { margin: 0; color: var(--text-muted); font-size: 13.5px; }
.room-render-confirm-cost { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--cream); color: var(--navy); font-size: 13px; }
.room-render-confirm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.render-pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.render-pin {
  position: absolute; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; transform: translate(-50%, -50%);
  border: 2px solid #fff; border-radius: 50%; background: var(--teal-dark); color: #fff; font: 800 13px var(--font);
  box-shadow: 0 4px 14px rgba(16, 37, 59, .3); cursor: pointer; pointer-events: auto;
}
.render-pin:hover, .render-pin.is-open { background: var(--navy); }
.render-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); }
.render-legend-item {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border: 1px solid var(--line);
  border-radius: 99px; background: #fff; color: var(--navy); font: 600 12.5px var(--font); cursor: pointer;
}
.render-legend-item b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-size: 11px; }
.render-card {
  position: absolute; z-index: 8; width: min(320px, calc(100% - 16px)); padding: 12px 34px 12px 12px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg);
}
.render-card[hidden], .render-card-body[hidden] { display: none; }
.render-card-body { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
.render-card-body img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--cream); }
.render-card-body > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.render-card-piece { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 12px; }
.render-card-piece b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-size: 10px; }
.render-card-name { color: var(--navy); font-size: 13.5px; line-height: 1.3; }
.render-card-meta { color: var(--text-muted); font-size: 12.5px; }
.render-card-meta b { color: var(--navy); }
.render-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.render-card-actions .btn { min-height: 32px; padding: 4px 12px; }
.render-card-close { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--cream); color: var(--navy); cursor: pointer; }
.render-full { position: fixed; inset: 0; z-index: 1250; display: grid; place-items: center; padding: 24px; background: rgba(16, 37, 59, .92); }
.render-full[hidden] { display: none; }
.render-full-frame { position: relative; line-height: 0; }
.render-full-frame img { max-width: calc(100vw - 48px); max-height: calc(100vh - 48px); border-radius: 12px; }
.render-full-close { position: fixed; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 16px; cursor: pointer; }
.lp-row:target { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 10px; }
@media (max-width: 620px) { .room-render-confirm { grid-template-columns: 1fr; } }
/* ── P17: guest → existing account (mobile BF27) ──────────────────────────── */
.guest-move-account { margin: 0 0 12px; color: var(--text-muted); font-size: 14px; text-align: center; }
.guest-move-what { display: flex; flex-direction: column; gap: 4px; margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--light-teal); color: var(--navy); }
.guest-move-label { color: var(--teal-dark); font: 700 12px var(--font); letter-spacing: .04em; text-transform: uppercase; }
.guest-move-actions { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.guest-move-actions .btn { width: 100%; }
.guest-move-note { margin: 12px 0 0; color: var(--text-muted); font-size: 13px; text-align: center; }
/* ── Small screens (≤ 520px) ───────────────────────────────────────────── */
@media (max-width: 520px) {
  .app-header .header-inner { padding: 0 14px; gap: 8px; }
  .app-header .brand { font-size: 19px; }
  .header-nav { gap: 6px; }
  .header-nav .btn-small { min-height: 40px; padding: 8px 10px; font-size: 12px; }
  .header-nav .lang-toggle { transform: scale(.9); }
  .landing-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .landing-product-body { padding: 6px; }
  .landing-product-name { font-size: 11px; }
  .landing-product-store { font-size: 9px; }
}

/* ── P18: mobile app links (V12 "Mobil uygulama linki") ─────────────────────
   Text badges, server-drawn QR, the profile-menu dialog, the saved list card,
   Listelerim's strip, the footer, /support. Phones (≤ 640 px or a mobile user
   agent, body.is-mobile-ua) get "Uygulamada aç" instead of a QR code. */
.app-phone { display: none; }
.app-phone[hidden], .app-desk[hidden], .app-open[hidden], .app-strip-wrap[hidden] { display: none !important; }
@media (max-width: 640px) { .app-desk { display: none !important; } .app-phone { display: block; } }
.is-mobile-ua .app-desk { display: none !important; }
.is-mobile-ua .app-phone { display: block; }
.app-eyebrow { margin: 0; color: var(--teal-dark); font: 800 11px var(--font); letter-spacing: .14em; text-transform: uppercase; }
.app-badges { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.app-badges.is-stacked { flex-direction: column; align-items: stretch; }
.app-badge {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 5px 14px 5px 12px;
  border-radius: 9px; background: #0b0b0c; color: #fff; text-decoration: none; line-height: 1.05;
}
.app-badge:hover { background: #26282b; }
.app-badge span { display: flex; flex-direction: column; font: 700 15px var(--font-heading); letter-spacing: -.01em; }
.app-badge small { font: 500 9.5px var(--font); letter-spacing: .02em; }
.app-badges.is-small .app-badge { min-height: 32px; padding: 3px 10px 3px 9px; }
.app-badges.is-small .app-badge span { font-size: 12.5px; }
.app-badges.is-small .app-badge small { font-size: 8.5px; }
.app-qr { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.app-qr-svg { display: block; width: 96px; height: 96px; }
.app-qr figcaption { color: var(--text-muted); font-size: 11px; text-align: center; }
.app-card { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.app-card-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.app-card-text strong { font: 700 15px/1.3 var(--font-heading); color: var(--navy); }
.app-card-text p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.45; }
/* phone: "RoomRecipe uygulamasında aç" */
.app-open { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #bfe3df; border-radius: 16px; background: var(--light-teal); }
.app-open-title { font: 800 19px/1.25 var(--font-heading); color: var(--navy); }
.app-open-body { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.app-open-go { width: 100%; min-height: 46px; }
.app-open-stay { align-self: center; border: 0; background: none; color: var(--text-muted); font: 500 14px var(--font); cursor: pointer; }
.lp-app-phone { margin: 0 0 14px; }
/* profile menu */
.profile-menu-new { margin-left: 8px; padding: 1px 6px; border-radius: 99px; background: var(--light-teal); color: var(--teal-dark); font-size: 10px; font-weight: 700; vertical-align: 1px; }
.app-modal { position: fixed; inset: 0; z-index: 1250; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(16, 37, 59, .45); }
.app-modal.is-open { display: flex; }
.app-modal-card { position: relative; display: flex; flex-direction: column; gap: 10px; width: min(420px, 100%); padding: 22px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); }
.app-modal-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--text-muted); font-size: 16px; cursor: pointer; }
.app-modal-title { margin: -4px 0 0; font: 800 21px/1.25 var(--font-heading); color: var(--navy); }
.app-modal-body { margin: 0; color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }
.app-modal-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.app-modal-email { width: 100%; }
.app-modal-status { margin: 0; color: var(--teal-dark); font-size: 13px; }
/* Listelerim strip */
.app-strip-wrap { margin-top: 18px; }
.app-strip { position: relative; display: flex; align-items: center; gap: 18px; padding: 16px 52px 16px 20px; border: 1px solid #bfe3df; border-radius: 16px; background: var(--light-teal); }
.app-strip-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.app-strip-text strong { font: 800 17px/1.3 var(--font-heading); color: var(--navy); }
.app-strip-text p:not(.app-eyebrow) { margin: 0; color: var(--text-muted); font-size: 13px; }
.app-strip-close { position: absolute; top: 50%; right: 12px; width: 36px; height: 36px; margin-top: -18px; border: 0; border-radius: 50%; background: none; color: var(--navy); font-size: 16px; cursor: pointer; }
.app-strip-close:hover { background: #ffffff99; }
/* footer */
.app-footer { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; text-align: left; padding: 14px 28px; background: #fff; }
.app-footer-brand { font-size: 20px; }
.app-footer-links { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.app-footer-link { padding: 0; border: 0; background: none; color: var(--text-muted); font: 500 13px var(--font); text-decoration: none; cursor: pointer; }
.app-footer-link:hover { color: var(--navy); text-decoration: underline; }
.app-footer-get { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; color: var(--text-muted); font-size: 13px; }
/* intro, last slide */
.intro.is-last .intro-final { flex: 1; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.intro-final .btn { white-space: nowrap; }
/* Its own line under the actions: "Hemen dene" stays the main action. */
.intro-phone { order: 5; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-basis: 100%; color: var(--text-muted); font-size: 12.5px; }
.intro-phone .app-badges { flex-wrap: nowrap; }
.app-badge span, .intro-phone > span:first-child { white-space: nowrap; }
/* phones: the final actions stack bottom-up (column-reverse) — the line goes last */
@media (max-width: 520px) { .intro-phone { order: -1; justify-content: center; } }
/* /support */
.sp { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 24px; align-items: start; width: 100%; max-width: 1280px; margin: 0 auto; padding: 8px 0 32px; }
.sp-title { margin: 0; font: 800 26px/1.2 var(--font-heading); letter-spacing: -.02em; color: var(--navy); }
.sp-sub { margin: 4px 0 16px; color: var(--text-muted); font-size: 13.5px; }
.sp-faq { display: flex; flex-direction: column; gap: 8px; }
.sp-q { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sp-q summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; color: var(--navy); font: 700 14.5px var(--font); cursor: pointer; list-style: none; }
.sp-q summary::-webkit-details-marker { display: none; }
.sp-q summary::after { content: "+"; color: var(--text-muted); font-weight: 500; }
.sp-q[open] summary::after { content: "−"; }
.sp-q p { margin: 0; padding: 0 16px 14px; color: var(--text-muted); font-size: 13.5px; line-height: 1.55; }
.sp-write { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sp-write div { display: flex; flex-direction: column; gap: 2px; }
.sp-write strong { color: var(--navy); font-size: 14.5px; }
.sp-write span { color: var(--text-muted); font-size: 12.5px; }
.sp-aside { display: flex; flex-direction: column; gap: 12px; }
.sp-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.sp-card-title { margin: 0; font: 800 20px/1.25 var(--font-heading); color: var(--navy); }
.sp-card-body { margin: 0 0 4px; color: var(--text-muted); font-size: 13px; }
.sp-intro { align-self: flex-start; }
@media (max-width: 900px) {
  .sp { grid-template-columns: minmax(0, 1fr); }
  .app-strip { flex-wrap: wrap; }
  .app-footer-get { margin-left: 0; }
}

/* Guest trial under the login / signup form (replaces the /try landing). */
.auth-guest { margin-top: 18px; text-align: center; }
.auth-guest-or { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--text-muted); font-size: 12px; }
.auth-guest-or::before, .auth-guest-or::after { content: ""; flex: 1; height: 1px; background: var(--line, #e5e7eb); }
.auth-guest-btn { width: 100%; }
.auth-guest-note { margin: 8px 0 0; color: var(--text-muted); font-size: 12px; }
.auth-guest-from { margin: 0 0 10px; color: var(--teal-dark, #1f8f95); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.auth-guest .auth-inline-hint { display: block; margin-top: 8px; }
.auth-guest .auth-inline-hint[hidden] { display: none; }

/* Favourite heart in the "Ürün seç" panel rows (the carousel cards with the heart are hidden). */
.pick-fav { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line, #e5e7eb); border-radius: 50%; background: #fff; color: var(--text-muted, #6b7280); cursor: pointer; flex: none; }
.pick-fav svg { width: 16px; height: 16px; fill: none; }
.pick-fav:hover { color: #d33a5c; border-color: #f2c4cf; }
.pick-fav.is-on { color: #d33a5c; border-color: #f2c4cf; background: #fff5f7; }
.pick-fav.is-on svg { fill: currentColor; }
.pick-fav.is-busy { opacity: .6; pointer-events: none; }
.piece-menu-fav.is-on { color: #d33a5c; }
