/* Listing Reels by Plotane. Plotane's brand (Klein blue, ink navy, sun yellow,
   cactus green for WhatsApp; Schibsted Grotesk + Noto Sans Malayalam) with one
   ornament of its own: a sun-yellow double stripe under the reels. */
:root {
  --ink: #0f1630;
  --ink-2: #2e3753;
  --muted: #545d78;
  --paper: #f4f6fb;
  --surface: #ffffff;
  --line: #e3e7f2;
  --line-2: #cfd6ea;
  --stage: #0f1630;
  --stage-2: #1b2547;
  --on-stage: #eef2ff;
  --on-stage-muted: #a9b3d1;
  --blue: #002fa7;
  --blue-2: #1f4fd1;
  --peri-soft: #eef2ff;
  --sun: #ffc845;
  --sun-ink: #7a4d00;
  --sun-soft: #fff5d6;
  --cactus: #11774a;
  --cactus-fill: #1fa971;
  --cactus-soft: #e0f6ea;
  --danger: #c92a64;
  --danger-soft: #ffe8f0;
  --radius: 16px;
  --reel-radius: 22px;
  --font: "Schibsted Grotesk", "Noto Sans Malayalam", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --scripts: "Noto Sans Malayalam", var(--font);
  --stripe: linear-gradient(var(--sun), var(--sun)) top / 100% 3px no-repeat,
            linear-gradient(var(--sun), var(--sun)) 0 7px / 100% 1px no-repeat;
  --shadow: 0 18px 40px -18px rgba(15, 22, 48, 0.28), 0 2px 6px rgba(15, 22, 48, 0.06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Type scale (perfect fourth from 18px) */
h1, h2, h3 { line-height: 1.06; margin: 0; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 8.4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 5.6vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 34ch; }
.small { font-size: 0.9rem; color: var(--muted); }
.ml { font-family: var(--scripts); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--blue); color: #fff; font: inherit; font-weight: 650; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px -10px rgba(0, 47, 167, 0.7);
}
.btn:hover { background: var(--blue-2); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn.on-stage { background: var(--sun); color: var(--ink); box-shadow: none; }
.btn.on-stage:hover { background: #ffd56e; }
.btn.wa-btn { background: var(--cactus-soft); color: var(--cactus); box-shadow: inset 0 0 0 1.5px #b9e8cf; }
.btn.wa-btn:hover { background: #d0f0de; }
.wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--cactus); border-bottom: 2px solid #b9e8cf; }

/* Top bar */
.topbar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 0; }
.topbar { align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; text-decoration: none; line-height: 1.1; }
.brand svg { width: 32px; height: 32px; flex-shrink: 0; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; letter-spacing: 0; }

/* Hero */
.hero { display: grid; gap: 28px; padding: 8px 0 40px; }
.hero-copy { display: grid; gap: 18px; align-content: start; }
.hero-copy .btn { justify-self: start; }
.hero-meta { font-size: 0.95rem; color: var(--muted); }
.hero-stage {
  position: relative; background: var(--stage); border-radius: 26px; padding: 22px 22px 30px;
  display: grid; justify-items: center; gap: 14px; color: var(--on-stage);
}
.hero-stage::after { /* kasavu border along the bottom */
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 12px; height: 8px;
  background: linear-gradient(var(--sun), var(--sun)) 0 0 / 100% 1px no-repeat,
              linear-gradient(var(--sun), var(--sun)) 0 4px / 100% 3px no-repeat;
}
.hero-stage .reel { width: min(78vw, 340px); }
.hero-stage figcaption { font-size: 0.95rem; color: var(--on-stage-muted); text-align: center; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 56px; padding: 24px 0 72px; }
  .hero-copy .lede { font-size: 1.3rem; }
}

/* Reel player */
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: var(--reel-radius); overflow: hidden; background: #000; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel button.sound {
  position: absolute; left: 12px; bottom: 12px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 0; background: rgba(15, 36, 32, 0.78); color: #fff; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(6px);
}
.reel button.play {
  position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; color: #fff;
  display: grid; place-items: center;
}
.reel button.play span {
  width: 68px; height: 68px; border-radius: 50%; background: rgba(15, 36, 32, 0.72); display: grid; place-items: center;
  backdrop-filter: blur(6px);
}
.reel.playing button.play span { opacity: 0; }

/* Sections */
section { padding: 64px 0; }
.section-head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 640px; }
.stage-section { background: var(--stage); color: var(--on-stage); }
.stage-section .small, .stage-section .lede { color: var(--on-stage-muted); }

.reel-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 300px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 20px; margin: 0 -16px;
  scrollbar-width: thin; scrollbar-color: var(--stage-2) transparent;
}
@media (min-width: 720px) { .reel-row { margin: 0 -32px; padding: 4px 32px 20px; } }
.reel-card { scroll-snap-align: center; display: grid; gap: 10px; }
.reel-card p { color: var(--on-stage); font-weight: 600; }
.reel-card p span { display: block; font-weight: 400; color: var(--on-stage-muted); font-size: 0.95rem; }
.row-hint { margin-top: 4px; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; counter-increment: step; }
.steps li::before {
  content: counter(step); grid-row: span 2; font-size: 3rem; font-weight: 800; line-height: 0.95;
  color: var(--blue); letter-spacing: -0.04em;
}
.steps p { color: var(--ink-2); max-width: 46ch; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* What's in every reel */
.inside { display: grid; gap: 32px; }
.inside dl { margin: 0; display: grid; gap: 0; }
.inside dl div { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.inside dt { font-weight: 650; font-size: 1.15rem; }
.inside dd { margin: 0; color: var(--ink-2); }
.inside figure { margin: 0; display: none; } /* phones already see this reel twice above */
.inside figure img { border-radius: var(--reel-radius); width: min(100%, 320px); height: auto; }
@media (min-width: 900px) { .inside { grid-template-columns: 1fr 320px; gap: 72px; align-items: start; } .inside figure { display: block; } }

/* Price */
.price-card {
  background: var(--surface); border-radius: var(--radius); padding: 40px 24px 28px;
  display: grid; gap: 18px; max-width: 520px; position: relative;
  background: var(--stripe), var(--surface);
  box-shadow: var(--shadow);
}
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price strong { font-size: clamp(3rem, 11vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.price span { color: var(--muted); font-size: 1.1rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px;
  border-left: 3px solid var(--cactus); border-bottom: 3px solid var(--cactus); transform: rotate(-45deg);
}


/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.1rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 62ch; }

footer { padding: 40px 0 120px; border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 10px; }

/* Sticky mobile buy bar */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 246, 251, 0.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.buybar.show { transform: none; }
@media (min-width: 900px) { .buybar { display: none; } }

/* ---------- Forms ---------- */
.form-page { padding-bottom: 80px; }
.form-head { display: grid; gap: 10px; padding: 12px 0 24px; max-width: 640px; }
.form-head h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); }
.form-grid { display: grid; gap: 24px; max-width: 640px; }
fieldset { border: 0; margin: 0; padding: 22px 18px; background: var(--surface); border-radius: var(--radius); display: grid; gap: 18px; min-width: 0; }
legend { float: left; width: 100%; padding: 0; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
legend + * { clear: both; }
.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-weight: 600; font-size: 1rem; }
.field .hint { font-size: 0.9rem; color: var(--muted); }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=password], textarea, select {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1.05rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.15); }
.field.invalid input, .field.invalid textarea, .field.invalid .chips, .photo-step.invalid .add-photos { border-color: var(--danger); }
.err { color: var(--danger); font-size: 0.95rem; font-weight: 600; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 380px) { .row-2 { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 1.5px solid transparent; border-radius: 12px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 550;
}
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }

.area-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }

/* Photo step: one big gallery button, big thumbnails, per-photo progress. */
.photo-step { display: grid; gap: 14px; }
.add-photos {
  position: relative; display: grid; justify-items: center; gap: 6px; width: 100%;
  padding: 26px 16px; border-radius: 18px; border: 2px dashed var(--line-2); background: var(--peri-soft);
  color: var(--blue); font: inherit; cursor: pointer; text-align: center;
}
.add-photos:hover, .add-photos.drag { border-color: var(--blue); background: #e2e9ff; }
.add-photos input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.add-photos input:focus-visible + .add-icon { outline: 2.5px solid var(--blue); outline-offset: 4px; }
.add-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.add-photos strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.add-photos span { color: var(--muted); font-size: 0.95rem; }
.add-photos .add-icon { color: #fff; }
.add-photos.compact { padding: 14px 16px; grid-template-columns: auto 1fr; justify-items: start; text-align: left; }
.add-photos.compact .add-icon { width: 44px; height: 44px; grid-row: span 2; }
.add-photos.compact strong { font-size: 1.1rem; }
.photo-count { font-weight: 700; font-size: 1.05rem; }
.photo-count.ok { color: var(--cactus); }
.thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .thumbs { grid-template-columns: repeat(3, 1fr); } }
.thumb { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .n {
  position: absolute; left: 8px; top: 8px; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 14px;
  background: rgba(15, 22, 48, 0.75); color: #fff; font-size: 0.85rem; font-weight: 700; display: grid; place-items: center;
}
.thumb .remove {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(15, 22, 48, 0.82); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.thumb .state {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; font-size: 0.82rem; font-weight: 650; color: #fff;
  background: linear-gradient(transparent, rgba(15, 22, 48, 0.85)); display: grid; gap: 4px;
}
.thumb .bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.thumb .bar i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--sun); transition: transform 0.2s; }
.thumb.done .state { background: none; justify-items: end; }
.thumb.done .ok { width: 28px; height: 28px; border-radius: 50%; background: var(--cactus-fill); display: grid; place-items: center; }
.thumb.failed { outline: 3px solid var(--danger); }
.thumb.failed .state { background: rgba(201, 42, 100, 0.92); }
.thumb.failed button.retry { justify-self: start; border: 0; border-radius: 999px; padding: 6px 12px; font: inherit; font-weight: 700; background: #fff; color: var(--danger); cursor: pointer; }
.wa-fallback { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--cactus-soft); color: var(--ink); }
.wa-fallback label { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.wa-fallback input { width: 24px; height: 24px; margin: 0; flex-shrink: 0; accent-color: var(--cactus); }
.wa-fallback .small { margin-left: 36px; }
textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
details.more { background: var(--surface); border-radius: var(--radius); padding: 0 18px; }
details.more > summary { cursor: pointer; padding: 20px 28px 20px 0; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; list-style: none; position: relative; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.7rem; color: var(--blue); font-weight: 400; }
details.more[open] > summary::after { content: "\2212"; }
details.more > summary .opt { display: block; font-size: 0.95rem; letter-spacing: 0; font-weight: 400; }
details.more .more-body { display: grid; gap: 18px; padding-bottom: 22px; }
.step-no { color: var(--blue); }

.summary-pay { display: grid; gap: 12px; padding: 22px 18px; border-radius: var(--radius); background: var(--stage); color: var(--on-stage); }
.summary-pay .line { display: flex; justify-content: space-between; gap: 12px; }
.summary-pay .small { color: var(--on-stage-muted); }
.form-error { background: var(--danger-soft); color: var(--danger); padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.progress { height: 6px; border-radius: 3px; background: var(--stage-2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--sun); transition: transform 0.2s; }

/* ---------- Order page ---------- */
.status-pill { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; border-radius: 999px; font-weight: 650; font-size: 0.95rem; }
.status-pill.paid { background: var(--cactus-soft); color: var(--cactus); }
.status-pill.pending_payment { background: var(--sun-soft); color: var(--sun-ink); }
.status-pill.refunded, .status-pill.cancelled { background: #eceeed; color: var(--muted); }
.meter { display: flex; gap: 8px; }
.meter i { width: 100%; max-width: 64px; height: 10px; border-radius: 5px; background: var(--line); }
.meter i.used { background: var(--blue); }
.panel { background: var(--surface); border-radius: var(--radius); padding: 22px 18px; display: grid; gap: 14px; }
.listing { display: grid; gap: 14px; }
.listing-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.track li { font-size: 0.9rem; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); }
.track li.done { color: var(--ink); border-color: var(--cactus-fill); font-weight: 600; }
.track li.now { color: var(--ink); border-color: var(--sun); font-weight: 600; }
.ready-reel { display: grid; gap: 12px; grid-template-columns: minmax(0, 220px); }

/* ---------- Dev + admin ---------- */
.dev-banner { background: repeating-linear-gradient(45deg, #fff3cd, #fff3cd 12px, #ffe8a3 12px, #ffe8a3 24px); padding: 12px 16px; font-weight: 700; text-align: center; }
.admin table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.admin th, .admin td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin .btn { min-height: 40px; padding: 0 14px; font-size: 0.95rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Logo: shown on a checkerboard so transparency is visible. */
.logo-row { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 12px; align-items: center; }
.logo-preview.thumb { aspect-ratio: 16 / 10; background-color: #fff;
  background-image: linear-gradient(45deg, #e6e9f2 25%, transparent 25%), linear-gradient(-45deg, #e6e9f2 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e6e9f2 75%), linear-gradient(-45deg, transparent 75%, #e6e9f2 75%);
  background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; border: 1.5px solid var(--line-2); }
.logo-preview.thumb img { object-fit: contain; padding: 10px; }
.logo-replace { position: relative; min-height: 48px; font-size: 0.95rem; }
@media (max-width: 380px) { .logo-row { grid-template-columns: 1fr; } }

/* Phone-first order: short steps, independent property editors and an itemised review. */
[hidden] { display: none !important; }
.order-form, .order-steps { max-width: 680px; }
.order-steps { display: flex; gap: 8px; margin: 4px 0 28px; border-bottom: 1px solid var(--line); }
.order-steps button { flex: 1; min-height: 60px; padding: 12px 4px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.order-steps button span { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 4px; border-radius: 50%; background: var(--line); color: var(--ink); }
.order-steps [aria-current] { color: var(--blue); border-bottom-color: var(--blue); }
.order-steps [aria-current] span { background: var(--blue); color: white; }
.order-steps button:disabled { cursor: default; }
.order-panel { padding: 0 0 24px; }
.order-panel fieldset { background: transparent; padding: 0; border-radius: 0; }
.order-panel legend { margin-bottom: 4px; }
.step-heading { display: grid; gap: 10px; }
.step-heading h2 { font-size: 1.8rem; }
.step-heading p { color: var(--ink-2); }
.contact-extra summary { cursor: pointer; padding: 12px 0; min-height: 48px; font-weight: 600; }
.contact-extra .form-grid { padding-top: 8px; }
.property-editor { border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); overflow: clip; scroll-margin-top: 16px; }
.property-editor > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; min-height: 80px; cursor: pointer; list-style: none; }
.property-editor > summary::-webkit-details-marker { display: none; }
.property-editor > summary strong { display: block; font-size: 1.15rem; }
.property-edit-label { color: var(--blue); font-size: .9rem; font-weight: 600; }
.property-editor[open] > summary { border-bottom: 1px solid var(--line); }
.property-body { padding: 22px 18px; }
.property-body fieldset { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.property-body .more { padding: 0; background: transparent; border-bottom: 1px solid var(--line); border-radius: 0; }
.property-body .more summary { font-size: 1.1rem; }
.property-body .row-2 { grid-template-columns: 1fr; }
.order-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.text-button { background: transparent; border: 0; padding: 10px 0; min-height: 44px; color: var(--blue); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { color: var(--blue-2); }
.text-button:disabled { opacity: .6; cursor: default; }
.text-button.on-dark { color: var(--on-stage); text-align: center; }
.remove-property, .remove-confirm [data-confirm-remove] { color: var(--danger); }
.remove-confirm { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.remove-confirm p { width: 100%; }
.review-delivery { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-radius: 12px; }
[data-review-phone] { font-size: 1.2rem; font-weight: 700; overflow-wrap: anywhere; }
.review-items { display: grid; }
.review-item { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.summary-pay .line strong { font-size: 1.5rem; }
.draft-note { max-width: 680px; margin-bottom: 20px; }
@media (max-width: 400px) { .order-steps button { font-size: .78rem; } .order-steps button span { display: block; margin: 0 auto 4px; } .order-actions .btn { padding-inline: 18px; } }
.saved-logo { display: grid; place-items: center; height: 100%; font-weight: 600; background: var(--peri-soft); }
.order-running-total { font-weight: 700; color: var(--blue); text-align: center; }

/* Property forms stay visible: no accordion or hidden optional sections. */
.property-header { display: flex; gap: 12px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.property-header strong { display: block; font-size: 1.15rem; }
.property-body .more-body { display: grid; gap: 18px; }
.contact-extra h3 { font-size: 1.05rem; margin-bottom: 12px; }
.property-body legend .opt { font-size: .95rem; }
.property-editor { padding: 0; }
.property-header { justify-content: space-between; flex-wrap: wrap; }
.property-header > span { min-width: 0; flex: 1 1 160px; }
.property-header .remove-property { flex-shrink: 0; }
.property-header .remove-property:disabled { cursor: default; opacity: .45; }
.property-editor > .remove-confirm { padding: 16px 18px; background: var(--danger-soft); }
[data-property-errors] ul { margin: 8px 0 0; padding-left: 20px; }
[data-property-errors] .text-button { color: var(--danger); }
.order-panel .shared-logo { border-top: 1px solid var(--line); padding-top: 24px; }

.price-controls { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 10px; align-items: center; }
.price-amount { position: relative; min-width: 0; }
.price-prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.price-amount input[type=number] { width: 100%; padding-left: 34px; }
.price-controls select { width: 100%; min-width: 0; }

.language-switch { font-size: 14px; font-weight: 600; white-space: nowrap; padding: 8px 10px; border: 1px solid currentColor; border-radius: 6px; text-decoration: none; }
html[lang=ml] body { font-family: "Noto Sans Malayalam", sans-serif; line-height: 1.75; }
html[lang=ml] h1, html[lang=ml] h2, html[lang=ml] h3 { line-height: 1.2; letter-spacing: normal; }
html[lang=ml] .hero h1 { font-size: clamp(30px, 4.2vw, 58px); }
html[lang=ml] .topbar { flex-wrap: wrap; gap: 12px; }
html[lang=ml] .order-steps button { line-height: 1.6; font-size: 13px; }
html[lang=ml] .price-controls { grid-template-columns: minmax(0, 1fr) 130px; }
html[lang=ml] .btn { white-space: normal; line-height: 1.7; }
