/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #2563eb; --brand-light: #eff6ff; --brand-border: #bfdbfe;
  --dark: #0f172a; --gray: #64748b; --light: #f8fafc; --border: #e2e8f0;
  --radius: 12px; --shadow: 0 4px 20px rgba(0,0,0,.06);
}
body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--dark); background: #fff; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; }

/* ── Utilities ── */
.text-brand { color: var(--brand); }
.text-muted  { color: var(--gray); }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 17px; cursor: pointer;
  transition: all .15s; border: none; font-family: inherit; text-decoration: none;
}
.btn-primary  { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.28); }
.btn-primary:hover  { background: #1d4ed8; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--dark); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: #94a3b8; background: var(--light); }
.btn-danger   { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-lg { padding: 13px 28px; font-size: 19px; border-radius: 14px; }
.btn-sm { padding: 7px 14px; font-size: 15px; }
.btn-xs { padding: 4px 10px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── Badge ── */
.badge-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-light); color: #1d4ed8;
  font-size: 14px; font-weight: 600; padding: 6px 14px;
  border-radius: 999px; border: 1px solid var(--brand-border);
}
.auto-hint {
  display: inline-flex; align-items: center;
  font-size: 12px; background: #dbeafe; color: #1d4ed8;
  padding: 2px 7px; border-radius: 999px; font-weight: 600;
  margin-left: 6px; vertical-align: middle;
}

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px; height: 64px;
}
.nav-inner { max-width: 1300px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--dark); flex-shrink: 0; }
.logo-img { display: block; height: 46px; width: auto; object-fit: contain; }
.logo-icon { width: 32px; height: 32px; background: var(--brand); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.nav-links { display: flex; gap: 28px; font-size: 17px; font-weight: 500; }
.nav-links a { color: var(--gray); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--dark); }
.nav-right { display: flex; gap: 8px; align-items: center; }
.nav-phone { font-size: 15px; color: var(--gray); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 80px 24px 60px; background: #fff; }
.hero-bg { display: none; }
.hero-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-light); color: #1d4ed8; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--brand-border); margin-bottom: 20px; }
h1 { font-size: 61px; font-weight: 800; line-height: 1.08; margin-bottom: 20px; letter-spacing: -2px; }
h1 .text-brand { color: var(--brand); }
.hero-desc { font-size: 21px; color: var(--gray); line-height: 1.7; margin-bottom: 32px; max-width: 460px; }
.hero-btns { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; color: #1e293b; }
.feature-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}

/* ── Hero kaardid (3-blokk mockup) ── */
.hero-mockup { display: flex; justify-content: center; align-items: center; }
.hero-mockup-img {
  width: 100%;
  max-width: 780px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

/* ── Calculator ── */
.calc-section { background: var(--light); padding: 80px 32px 40px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 42px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 16px; }
.section-header p  { font-size: 19px; color: var(--gray); }
.calc-wrap { max-width: 900px; margin: 0 auto; }

/* Progress */
.progress-bar { display: flex; align-items: center; margin-bottom: 24px; }
.p-item { display: flex; align-items: center; gap: 8px; }
.p-circle { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex-shrink: 0; transition: all .3s; }
.p-done   { background: var(--brand); color: #fff; border: 2px solid var(--brand); }
.p-active { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.p-todo   { background: #fff; color: var(--gray); border: 2px solid var(--border); }
.p-label  { font-size: 15px; font-weight: 500; }
.p-line   { flex: 1; height: 2px; background: var(--border); margin: 0 10px; border-radius: 1px; overflow: hidden; }
.p-fill   { height: 100%; background: var(--brand); transition: width .5s; border-radius: 1px; }

.card { background: #fff; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); padding: 32px; }
.step-nav { display: flex; justify-content: space-between; margin-top: 16px; }

/* Object step */
.obj-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 24px; }
.obj-btn { padding: 14px 10px; border-radius: 12px; border: 2px solid var(--border); background: #fff; cursor: pointer; text-align: left; transition: all .15s; font-family: inherit; }
.obj-btn.active { border-color: var(--brand); background: var(--brand-light); }
.obj-icon { font-size: 24px; margin-bottom: 6px; }
.obj-name { font-weight: 600; font-size: 15px; }
.obj-desc { font-size: 13px; color: var(--gray); }

/* Sliders */
.sliders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.slider-wrap label { display: block; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.slider-wrap label .val { color: var(--brand); }
input[type=range] { width: 100%; accent-color: var(--brand); }
.slider-hints { display: flex; justify-content: space-between; font-size: 13px; color: var(--gray); margin-top: 4px; }

/* Contract */
.contract-label { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.contract-btns  { display: flex; gap: 10px; }
.contract-btn   { flex: 1; padding: 12px 8px; border-radius: 12px; border: 2px solid var(--border); background: #fff; font-weight: 600; font-size: 15px; cursor: pointer; position: relative; transition: all .15s; font-family: inherit; }
.contract-btn.active { border-color: var(--brand); background: var(--brand-light); color: #1d4ed8; }
.c-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

/* Devices */
.devices-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.live-price { text-align: right; background: var(--brand-light); border-radius: 12px; padding: 10px 16px; border: 1px solid var(--brand-border); flex-shrink: 0; margin-left: 16px; }
.lp-lbl { font-size: 13px; color: var(--brand); font-weight: 600; }
.lp-val { font-size: 31px; font-weight: 800; color: #1d4ed8; }
.devices-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.device-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--border); background: #fff; transition: all .15s; }
.device-row.sel { border-color: #93c5fd; background: var(--brand-light); }
.d-name { font-weight: 500; font-size: 17px; }
.device-row.sel .d-name { color: #1d4ed8; }
.d-meta { font-size: 13px; color: var(--gray); margin-top: 2px; }
.qty-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: 12px; }
.qty-btn { width: 28px; height: 28px; border-radius: 8px; border: 1px solid #93c5fd; background: #fff; cursor: pointer; font-size: 19px; display: flex; align-items: center; justify-content: center; color: var(--brand); font-weight: 700; font-family: inherit; }
.qty-add { border: none; background: var(--border); color: var(--gray); }
.qty-add.has { background: var(--brand); color: #fff; }
.qty-num { width: 20px; text-align: center; font-weight: 700; color: var(--brand); }

/* Variant B — seadme hinnad paremal, +/− nuppude juures, sildiga (Rendihind / Ostuhind) */
.dr-rowB { display: flex; align-items: center; gap: 12px; }
.dr-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.dr-left .dr-imgwrap { display: flex; align-items: center; flex-shrink: 0; }
.dr-left .dr-name { cursor: pointer; min-width: 0; }
.dr-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.dr-prices { display: flex; gap: 20px; }
.dr-price-item { text-align: right; }
.dr-price-lbl { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray); margin-bottom: 2px; }
.dr-price-val { font-size: 15px; font-weight: 700; white-space: nowrap; }
.dr-qty { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }

/* Price summary */
.price-summary { border-top: 1px solid var(--border); padding-top: 14px; }
.price-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--gray); margin-bottom: 4px; }
.price-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 20px; margin-top: 8px; }
.price-total .pt-val { color: var(--brand); }

/* Address */
.addr-input { width: 100%; padding: 13px 16px; border-radius: 12px; border: 2px solid var(--border); font-size: 18px; outline: none; transition: border .15s; font-family: inherit; }
.addr-input:focus { border-color: var(--brand); }
.info-box { margin-top: 16px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 14px 16px; display: flex; gap: 10px; font-size: 15px; color: #1e40af; }

/* Result */
.result-header { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; margin-bottom: 20px; font-size: 18px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.rc { border-radius: 18px; padding: 20px; }
.rc.main { background: var(--brand-light); border: 1px solid var(--brand-border); }
.rc.sec  { background: var(--light); border: 1px solid var(--border); }
.rc-lbl  { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.rc-val  { font-size: 42px; font-weight: 800; margin-bottom: 2px; }
.install-info { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--gray); background: var(--light); border-radius: 12px; padding: 10px 14px; margin-bottom: 20px; }

/* How it works */
.how-section { background: #fff; padding: 80px 32px; }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.how-card { background: #fff; border: 2px solid #2563eb; border-radius: 18px; padding: 24px; box-shadow: 0 4px 14px rgba(37,99,235,.10); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; will-change: transform; }
.how-card:hover { transform: translateY(-4px); border-color: #1e40af; box-shadow: 0 14px 30px rgba(37,99,235,.18); }
.how-card-inner { display: flex; gap: 16px; align-items: flex-start; }
.how-icon { width: 48px; height: 48px; background: var(--brand-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.how-step { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.how-title { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.how-desc { font-size: 15px; color: var(--gray); line-height: 1.6; }

/* Footer */
.footer {
  background: linear-gradient(180deg, #06152c 0%, #081427 100%);
  color: #9fb0c7;
  padding: 64px 32px 28px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 36px;
  align-items: start;
}
.footer-brand {
  background: #fff;
  color: #0f172a;
  clip-path: polygon(0 0, 87% 0, 100% 50%, 87% 100%, 0 100%);
  border-radius: 28px;
  padding: 24px 56px 24px 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  min-height: 0;
}
.footer-brand-logo {
  display: block;
  width: min(300px, 100%);
  height: auto;
  object-fit: contain;
  margin: 0 0 6px 0;
}
.footer-brand-tagline {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 2.2px;
  margin: 0 0 18px 68px;
  text-transform: uppercase;
  line-height: 1.2;
}
.footer-brand-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #1e293b;
  max-width: 270px;
}
.footer-col { padding-top: 0; }
.footer-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 21px; margin-bottom: 12px; }
.footer-logo-icon { width: 28px; height: 28px; background: var(--brand); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.footer h4 { color: #fff; font-weight: 700; margin-bottom: 14px; font-size: 18px; }
.footer p, .footer a { font-size: 15px; line-height: 1.85; color: #b6c4d8; text-decoration: none; display: block; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  font-size: 14px;
  text-align: center;
  color: #8ea1bb;
}

/* Modal */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: #fff; border-radius: 24px; width: 100%; max-width: 480px; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 64px rgba(0,0,0,.3); }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.modal-title { font-weight: 700; font-size: 20px; }
.modal-sub   { font-size: 15px; color: var(--gray); margin-top: 2px; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--gray); padding: 4px; }
.modal-body  { flex: 1; overflow-y: auto; padding: 24px; }

/* Slot buttons */
.slot-btn { padding: 12px 14px; border-radius: 12px; border: 2px solid var(--border); background: #fff; text-align: left; cursor: pointer; transition: all .15s; font-family: inherit; width: 100%; }
.slot-btn.active { border-color: var(--brand); background: var(--brand-light); }
.slot-time { font-weight: 600; font-size: 17px; }
.slot-installer { font-size: 13px; color: var(--gray); margin-top: 2px; }

/* Bank buttons */
.bank-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-radius: 12px; border: 2px solid var(--border); background: #fff; cursor: pointer; font-weight: 500; font-size: 17px; margin-bottom: 8px; transition: all .15s; font-family: inherit; }
.bank-btn:hover { border-color: var(--brand); background: var(--brand-light); }

/* Form inputs (in modal) */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.form-group input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--border); font-size: 17px; outline: none; transition: border .15s; font-family: inherit; box-sizing: border-box; }
.form-group input:focus { border-color: var(--brand); }

.sliders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 24px; }
.counter-wrap { background: var(--light); border-radius: 14px; padding: 14px 16px; border: 1px solid var(--border); }
.counter-label { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 12px; }
.counter-ctrl { display: flex; align-items: center; gap: 0; }
.counter-btn {
  width: 40px; height: 40px;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 10px;
  font-size: 24px; font-weight: 400; line-height: 1;
  cursor: pointer; color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s; flex-shrink: 0;
}
.counter-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.counter-btn:disabled { opacity: .35; cursor: not-allowed; }
.counter-val {
  flex: 1; text-align: center;
  font-size: 28px; font-weight: 800; color: var(--dark);
}

/* ── Maja illustratsioon ── */
.house-section {
  padding: 80px 32px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 48%, rgba(37, 99, 235, .24) 0%, rgba(37, 99, 235, 0) 35%),
    radial-gradient(circle at 84% 52%, rgba(14, 165, 233, .15) 0%, rgba(14, 165, 233, 0) 32%),
    linear-gradient(135deg, #020b1b 0%, #06172f 48%, #082447 100%);
}

.house-section .section-header h2 {
  color: #fff;
}

.house-section .section-header p {
  color: #cbd5e1;
}

.house-map-wrap { position: relative; max-width: 900px; margin: 0 auto; }
.house-img { width: 100%; display: block; border-radius: 20px; box-shadow: 0 8px 40px rgba(0,0,0,.12); }

.house-hotspot {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #2563eb;
  box-shadow: 0 4px 16px rgba(22,163,74,.4);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%);
  transition: transform .18s, box-shadow .18s;
  z-index: 10;
}
.house-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow: 0 8px 28px rgba(22,163,74,.6);
}
.hotspot-img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; }
.hotspot-icon { display: flex; align-items: center; justify-content: center; }
.hotspot-pulse {
  position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid #2563eb; opacity: 0;
  animation: hpulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes hpulse { 0%{transform:scale(1);opacity:.65} 100%{transform:scale(1.7);opacity:0} }

.house-hotspot[data-pos="1"]  { top: 22%; left: 25%; }
.house-hotspot[data-pos="2"]  { top: 55%; left: 32%; }
.house-hotspot[data-pos="3"]  { top: 18%; left: 62%; }
.house-hotspot[data-pos="4"]  { top: 42%; left: 75%; }
.house-hotspot[data-pos="5"]  { top: 68%; left: 58%; }
.house-hotspot[data-pos="6"]  { top: 72%; left: 78%; }
.house-hotspot[data-pos="7"]  { top: 80%; left: 42%; }
.house-hotspot[data-pos="8"]  { top: 38%; left: 48%; }
.house-hotspot[data-pos="9"]  { top: 12%; left: 45%; }
.house-hotspot[data-pos="10"] { top: 58%; left: 18%; }



/* ══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE – Hamburgeri menüü + kõik elemendid
   ══════════════════════════════════════════════════════════════ */

/* Hamburgeri nupp - peidetud lauaarvutil */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menüü overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 98;
}
.nav-mobile-overlay.open { display: block; }

/* ── Tablet (max 1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { gap: 16px; font-size: 15px; }
  .nav-phone { display: none; }
  h1 { font-size: 50px; }
  .hero-inner { gap: 32px; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 560px; min-height: auto; }
}

/* ── Mobile (max 768px) ──────────────────────────────────────── */
@media (max-width: 768px) {

  /* Navbar */
  .navbar { padding: 0 16px; height: 56px; }
  .logo-img { height: 33px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 24px;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
    color: var(--dark);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-right { gap: 8px; }
  .nav-phone { display: none; }
  .lang-switcher { gap: 2px; }
  .lang-btn { padding: 3px 6px; font-size: 13px; }
  .btn-sm { padding: 7px 12px; font-size: 14px; }

  /* Hero */
  .hero { padding: 40px 16px 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-mockup { order: -1; }
  .hero-mockup-img { max-width: 100%; max-height: 260px; object-fit: contain; }
  h1 { font-size: 38px; letter-spacing: -1px; margin-bottom: 14px; }
  .hero-desc { font-size: 18px; margin-bottom: 20px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feature { font-size: 14px; }
  .feature-icon { width: 32px; height: 32px; font-size: 17px; }

  /* Kalkulaator */
  .calc-section { padding: 32px 12px 24px; }
  .section-header h2 { font-size: 31px; }
  .section-header p { font-size: 17px; }
  .card { padding: 16px; border-radius: 16px; }
  .obj-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .obj-btn { padding: 10px 8px; }

  /* "Vali süsteemi tüüp" nupud mobiilis üksteise alla */
  .systype-grid { grid-template-columns: 1fr !important; }
  .sliders-grid { grid-template-columns: 1fr; gap: 12px; }
  .contract-btns { flex-direction: column; gap: 8px; }
  .contract-btn { padding: 10px; }
  .devices-header { flex-direction: column; gap: 10px; }
  .live-price { width: 100%; margin-left: 0; text-align: center; }
  .result-grid { grid-template-columns: 1fr; }
  .rc-val { font-size: 33px; }

  /* Progress bar */
  .p-label { display: none; }
  .p-circle { width: 28px; height: 28px; font-size: 13px; }
  .p-line { margin: 0 4px; }

  /* Kalkulaatori sammud */
  .step-nav { flex-direction: column; gap: 8px; }
  .step-nav .btn { width: 100%; justify-content: center; }

  /* How it works */
  .how-section { padding: 40px 16px; }
  .how-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Footer */
  .footer { padding: 36px 16px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { clip-path: none; border-radius: 22px; padding: 24px; max-width: none; }
  .footer-brand-logo { width: min(250px, 100%); }
  .footer-brand-tagline { margin: 0 0 14px 58px; font-size: 10px; letter-spacing: 1.5px; white-space: nowrap; }
  .footer-brand-copy { max-width: none; }
  .footer-col { padding-top: 0; }

  /* Modal */
  .modal { max-height: 95vh; border-radius: 20px 20px 0 0; }
  .modal-overlay { align-items: flex-end; padding: 0; }

  /* Hotspot */
  .house-hotspot { width: 40px; height: 40px; border-width: 2px; }
  .hotspot-img { width: 26px; height: 26px; }
  .house-section { padding: 40px 16px; }
}

/* ── Väike mobiil (max 400px) ────────────────────────────────── */
@media (max-width: 400px) {
  h1 { font-size: 31px; }
  .card { padding: 12px; }
  .btn { padding: 10px 16px; font-size: 15px; }
  .obj-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ── Keelevahetaja desktop/mobile ───────────────────────────────── */
.lang-mobile { display: none; position: relative; }
.lang-desktop { display: flex; gap: 4px; }
.lang-mobile-btn {
  background: var(--light); border: 1px solid var(--border);
  border-radius: 8px; padding: 5px 10px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; color: var(--dark);
}
.lang-mobile-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1); min-width: 80px; overflow: hidden;
  z-index: 200;
}
.lang-mobile.open .lang-mobile-dropdown { display: block; }
.lang-mobile-dropdown a {
  display: block; padding: 10px 16px; font-size: 15px; font-weight: 600;
  color: var(--dark); text-decoration: none;
}
.lang-mobile-dropdown a:hover { background: var(--light); }
.lang-mobile-dropdown a.active { color: var(--brand); background: var(--brand-light); }

@media (max-width: 768px) {
  .lang-desktop { display: none; }
  .lang-mobile { display: block; }
  .nav-calc-btn { display: none; }

  /* Seadmete rida ilma pildita - kompaktsem */
  .device-row { padding: 10px 12px; }
  .dr-name { font-size: 15px; }
  .d-meta { font-size: 12px; }
  .qty-btn { width: 32px; height: 32px; }

  /* Variant B mobiilis: pilt+nimi ülal, hinnad+nupud all (terve laius) */
  .dr-rowB { flex-direction: column; align-items: stretch; gap: 10px; }
  .dr-left { width: 100%; }
  .dr-right {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }
  .device-row.sel .dr-right { border-top-color: #bfdbfe; }
  .dr-prices { gap: 18px; }
  .dr-price-item { text-align: left; }
}

/* ── Desktop/Mobile show-hide ────────────────────────────────── */
.mobile-only { display: none !important; }
.desktop-only { display: block; }

/* ── Mobile device kaardid ───────────────────────────────────── */
.mobile-devices-grid {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  max-width: 480px;
  margin: 0 auto;
}
.mob-device-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  transition: opacity .15s;
}
.mob-device-card:first-child { border-top: 1px solid #f1f5f9; }
.mob-device-card:active { opacity: .7; }
.mob-device-img {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: #f1f5f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mob-device-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mob-device-img--placeholder { font-size: 31px; }
.mob-device-info { flex: 1; padding: 0; }
.mob-device-name {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 5px;
  line-height: 1.3;
}
.mob-device-cta {
  font-size: 14px;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.mob-device-arrow {
  font-size: 24px;
  color: #cbd5e1;
  font-weight: 300;
}

/* Hero mobiilis - pilt alla teksti */
@media (max-width: 768px) {
  .mobile-only { display: block !important; }
  .desktop-only { display: none !important; }
  .mobile-devices-grid.mobile-only { display: flex !important; }
  .hero-mockup { order: 2; }
  .hero-text { order: 1; }
  .hero-inner { display: flex; flex-direction: column; }
  .house-section .section-header { padding: 0 16px; }
}


/* Seadmete mobiililoend tumedal maja-sektsiooni taustal */
.house-section .mobile-devices-grid {
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .20);
}

/* ── Seadme info modaal ─────────────────────────────────────── */
body.device-modal-open {
  overflow: hidden;
}

.device-info-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .60);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overscroll-behavior: contain;
}

.device-info-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .30);
}

.device-info-modal__scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 24px 14px;
  scrollbar-gutter: stable;
}

.device-info-modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .90);
  color: #64748b;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}

.device-info-modal__image {
  display: block;
  width: 100%;
  max-height: 260px;
  margin-bottom: 18px;
  object-fit: contain;
  border-radius: 12px;
  background: #f8fafc;
}

.device-info-modal__title {
  padding-right: 42px;
  color: #0f172a;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
}

.device-info-modal__color-block {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
}

.device-info-modal__color-label {
  margin-bottom: 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.device-info-modal__color-block .device-color-picker {
  margin-top: 0 !important;
}

.device-info-modal__description {
  margin: 16px 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.65;
}

.device-info-modal__prices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.device-info-modal__price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 11px;
}

.device-info-modal__price span {
  min-width: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.35;
}

.device-info-modal__price strong {
  font-size: 21px;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.device-info-modal__price--rent {
  background: #eff6ff;
}

.device-info-modal__price--rent strong {
  color: var(--brand);
}

.device-info-modal__price--sale {
  background: #f0fdf4;
}

.device-info-modal__price--sale strong {
  color: #15803d;
}

.device-info-modal__vat {
  margin-top: 9px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.device-info-modal__footer {
  flex-shrink: 0;
  padding: 0 24px 24px;
  background: #fff;
  box-shadow: 0 -8px 18px rgba(255, 255, 255, .96);
}

.device-info-modal__button {
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 600px) {
  .device-info-modal {
    align-items: flex-end;
    padding: 8px 8px 0;
  }

  .device-info-modal__dialog {
    width: 100%;
    max-width: none;
    height: calc(100vh - 8px);
    height: calc(100dvh - 8px);
    max-height: calc(100vh - 8px);
    max-height: calc(100dvh - 8px);
    min-height: 0;
    border-radius: 20px 20px 0 0;
  }

  .device-info-modal__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 16px 14px;
  }

  .device-info-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .device-info-modal__image {
    max-height: 155px;
    margin-bottom: 12px;
  }

  .device-info-modal__title {
    padding-right: 42px;
    font-size: 20px;
    line-height: 1.3;
  }

  .device-info-modal__description {
    margin: 11px 0 13px;
    font-size: 15px;
    line-height: 1.5;
  }

  .device-info-modal__price {
    gap: 10px;
    padding: 10px 12px;
  }

  .device-info-modal__price span {
    font-size: 14px;
  }

  .device-info-modal__price strong {
    font-size: 18px;
  }

  .device-info-modal__vat {
    margin-top: 7px;
    font-size: 12px;
  }

  .device-info-modal__footer {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    padding: 10px 16px max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -8px 20px rgba(15, 23, 42, .06);
  }

  .device-info-modal__button {
    padding: 12px 14px;
    font-size: 17px;
  }
}

/* ── Ainult kalkulaatori sisemine kast tumesiniseks ── */
.calc-section #calc-card {
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 99, 235, .25) 0%, rgba(37, 99, 235, 0) 34%),
    radial-gradient(circle at 88% 88%, rgba(14, 165, 233, .14) 0%, rgba(14, 165, 233, 0) 32%),
    linear-gradient(145deg, #020b1b 0%, #06172f 48%, #082447 100%);
  border-color: rgba(255, 255, 255, .10);
  box-shadow: 0 18px 48px rgba(2, 12, 27, .24);
}

/* Kalkulaatori sinisel pinnal olevad pealkirjad ja abitekstid */
#calc-card > div:first-child > div:first-child,
#calc-card > div[style*="font-size:24px"][style*="font-weight:700"],
#calc-card > div > div[style*="color:var(--dark)"][style*="font-weight:700"] {
  color: #fff !important;
}

#calc-card > p[style*="color:var(--gray)"],
#calc-card > div > div[style*="color:var(--gray)"],
#calc-card .price-summary [style*="color:var(--gray)"] {
  color: #cbd5e1 !important;
}

/* Sinisel taustal asuvad eraldusjooned */
#calc-card > hr,
#calc-card .price-summary,
#calc-card .price-summary > div {
  border-color: rgba(255, 255, 255, .18) !important;
}

/* Valged valikud, seadmeread ja sisendid jäävad endiselt heledaks */
#calc-card .device-row,
#calc-card .obj-btn,
#calc-card .counter-wrap,
#calc-card button[style*="background:#fff"],
#calc-card input,
#calc-card select,
#calc-card textarea {
  color: var(--dark);
}

/* Mobiilis veidi kompaktsem sinine kalkulaatorikast */
@media (max-width: 768px) {
  .calc-section #calc-card {
    padding: 16px;
    border-radius: 18px;
  }
}

/* ── Kalkulaatori tumesinisel taustal valged kokkuvõttevärvid ── */
#calc-card [style*="font-size:21px"][style*="color:var(--dark)"] {
  color: #fff !important;
}

/* Ainult Stardipaketi päises olev summa valgeks; lisaseadmete ostuhinnad jäävad roheliseks */
#calc-card span[style*="color:#15803d"][style*="white-space:nowrap"] {
  color: #fff !important;
}

/* "Seadmete ja paigalduse hind kokku" roheline summa */
#calc-card span[style*="color:#166534"] {
  color: #fff !important;
}

/* ══════════════════════════════════════════════════════════════
   MOBIILI TOOTEKARUSSELL – adminis valitud "Mobiili seadmete loend"
   ══════════════════════════════════════════════════════════════ */
.mobile-product-carousel-wrap {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.mobile-product-carousel-hint {
  display: none;
}

.mobile-product-carousel {
  display: none;
}

@media (max-width: 768px) {
  .house-section {
    padding: 44px 16px 52px;
    overflow: hidden;
  }

  .house-section .section-header {
    display: block !important;
    margin-bottom: 22px;
    padding: 0 12px;
  }

  .house-section .section-header h2 {
    font-size: 31px;
    line-height: 1.15;
  }

  .house-section .section-header p {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.45;
  }

  .mobile-product-carousel-wrap.mobile-only {
    display: block !important;
  }

  .mobile-product-carousel-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: -4px 0 14px;
    color: #bfdbfe;
    font-size: 13px;
    font-weight: 600;
  }

  .mobile-product-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 330px);
    gap: 14px;
    width: auto;
    margin: 0 -16px;
    padding: 4px 16px 22px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-product-carousel::-webkit-scrollbar {
    display: none;
  }

  .mobile-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 390px;
    padding: 0;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;
    background: #fff;
    color: #0f172a;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
    transition: transform .18s ease, box-shadow .18s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-product-card:active {
    transform: scale(.985);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
  }

  .mobile-product-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 225px;
    padding: 24px;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 38%, #ffffff 0%, #f7faff 52%, #eaf2ff 100%);
    border-bottom: 1px solid #e5edf9;
  }

  .mobile-product-image-wrap::after {
    content: '';
    position: absolute;
    right: 18px;
    bottom: 14px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .07);
    filter: blur(1px);
    pointer-events: none;
  }

  .mobile-product-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 16px rgba(15, 23, 42, .16));
  }

  .mobile-product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 28px;
    background: #eff6ff;
    color: #2563eb;
  }

  .mobile-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 20px 19px;
  }

  .mobile-product-name {
    display: block;
    color: #08152d;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -.2px;
  }

  .mobile-product-description {
    display: -webkit-box;
    margin-top: 9px;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .mobile-product-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 16px;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
  }

  .mobile-product-link svg {
    transition: transform .18s ease;
  }

  .mobile-product-card:active .mobile-product-link svg {
    transform: translateX(3px);
  }
}

@media (max-width: 380px) {
  .mobile-product-carousel {
    grid-auto-columns: 84vw;
    gap: 12px;
  }

  .mobile-product-card {
    min-height: 365px;
  }

  .mobile-product-image-wrap {
    height: 205px;
  }

  .mobile-product-name {
    font-size: 19px;
  }
}


/* ══════════════════════════════════════════════════════════════
   MOBIILI SEADMETE KATEGOORIAVALIK
   Kategooria → juhtmevaba/juhtmega → toodete karussell
   ══════════════════════════════════════════════════════════════ */
.mobile-device-browser {
  display: none;
}

@media (max-width: 768px) {
  .mobile-device-browser.mobile-only {
    display: block !important;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .mobile-device-browser-panel {
    animation: mobileDevicePanelIn .22s ease;
  }

  .mobile-device-browser-panel:not(.is-active) {
    display: none !important;
  }

  @keyframes mobileDevicePanelIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .mobile-device-browser-title {
    margin: 0 0 16px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
  }

  .mobile-device-browser-subtitle {
    margin: -8px 0 18px;
    color: #bfdbfe;
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
  }

  .mobile-device-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mobile-device-category-card,
  .mobile-device-type-card {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .98);
    color: #0f172a;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  }

  .mobile-device-category-card {
    gap: 13px;
    min-height: 76px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .mobile-device-category-card:active,
  .mobile-device-type-card:active {
    transform: scale(.985);
    border-color: rgba(96, 165, 250, .75);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
  }

  .mobile-device-category-icon,
  .mobile-device-type-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(145deg, #0ea5e9 0%, #2563eb 58%, #1e40af 100%);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .28);
  }

  .mobile-device-category-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .mobile-device-category-icon svg,
  .mobile-device-type-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-device-category-copy {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
  }

  .mobile-device-category-copy strong {
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
  }

  .mobile-device-category-copy small,
  .mobile-device-type-card small {
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
  }

  .mobile-device-category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    color: #2563eb;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;
  }

  .mobile-device-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 15px;
    padding: 8px 13px 8px 10px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-device-back span {
    margin-top: -1px;
    font-size: 24px;
    font-weight: 300;
    line-height: .7;
  }

  .mobile-device-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .mobile-device-type-grid[hidden] {
    display: none !important;
  }

  .mobile-device-type-card {
    flex-direction: column;
    justify-content: center;
    min-height: 168px;
    padding: 20px 12px 16px;
    border-radius: 22px;
    text-align: center;
  }

  .mobile-device-type-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 13px;
    border-radius: 18px;
  }

  .mobile-device-type-card strong {
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
  }

  .mobile-device-type-card .mobile-device-category-arrow {
    position: absolute;
    right: 8px;
    bottom: 8px;
  }

  [data-mobile-product-group][hidden] {
    display: none !important;
  }

  .mobile-device-browser-panel[data-mobile-device-panel="products"] .mobile-product-carousel-hint {
    margin-top: -4px;
  }
}

@media (max-width: 370px) {
  .mobile-device-category-card {
    min-height: 72px;
    padding: 10px 12px;
  }

  .mobile-device-category-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .mobile-device-category-copy strong {
    font-size: 15px;
  }

  .mobile-device-type-grid {
    gap: 9px;
  }

  .mobile-device-type-card {
    min-height: 154px;
  }
}

/* Aadressi automaatsoovitused peavad jääma valgel taustal tumedaks */
#addr-suggestions,
#addr-suggestions .addr-suggestion {
  color: #0f172a !important;
}

#addr-suggestions .addr-suggestion {
  background: #fff;
}

#addr-suggestions .addr-suggestion:hover {
  background: #f8fafc;
}

/* Google Placesi aadressisoovitused */
.pac-container,
.pac-item,
.pac-item-query,
.pac-matched {
  color: #0f172a !important;
}

/* ── Kalkulaatori kokkuvõtte valgete kaartide põhitekst mustaks ── */
#calc-card > div[style*="display:grid"][style*="gap:16px"]
  > div[style*="background:#fff"] {
  color: #0f172a !important;
}

/* ── Lõplik parandus: kogu kalkulaatori kokkuvõtte valgete plokkide põhitekst mustaks ── */
#calc-card [style*="background:#fff"],
#calc-card [style*="background: #fff"] {
  color: #0f172a !important;
}

/* Kokkuvõtte read ja summad, millel puudub oma värv, pärivad nüüd kindlalt musta värvi */
#calc-card [style*="background:#fff"] span:not([style*="color:"]),
#calc-card [style*="background: #fff"] span:not([style*="color:"]),
#calc-card [style*="background:#fff"] strong:not([style*="color:"]),
#calc-card [style*="background: #fff"] strong:not([style*="color:"]) {
  color: #0f172a !important;
}
