/* WATELI SITE v2.0.0 R3 - Where to Buy visual consistency
   Scope: where-to-buy.html only.
   Goal: align with accepted home v2.0 dark industrial brand system.
   No old home.css, no dealer.css dependency, no new i18n system.
*/

body.page-template--where-to-buy {
  background:
    radial-gradient(circle at 68% 8%, rgba(39, 88, 168, 0.13) 0%, rgba(39, 88, 168, 0) 24%),
    linear-gradient(180deg, #07111f 0%, #081527 42%, #081423 100%);
  color: var(--site-text-main);
}

.wateli-where-buy {
  --w2b-metal: rgba(244, 247, 250, .94);
  --w2b-soft: rgba(230, 235, 241, .72);
  --w2b-muted: rgba(232, 236, 241, .56);
  --w2b-line: rgba(255, 255, 255, .08);
  --w2b-panel: rgba(12, 16, 22, .50);
  --w2b-panel-strong: rgba(12, 16, 22, .72);
  --w2b-red: rgba(174, 34, 42, .82);
  --w2b-red-soft: rgba(174, 34, 42, .34);

  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 22%, rgba(174, 34, 42, .10), rgba(174, 34, 42, 0) 24%),
    radial-gradient(circle at 80% 18%, rgba(39, 88, 168, .10), rgba(39, 88, 168, 0) 28%),
    transparent;
  color: var(--w2b-metal);
}

.wateli-where-buy .container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.wateli-where-buy-hero {
  padding: calc(var(--header-h) + 72px) 0 42px;
}

.wateli-where-buy-hero__inner {
  max-width: 1180px;
}

.wateli-where-buy-hero__copy {
  max-width: 780px;
}

.wateli-where-buy-kicker {
  margin: 0 0 16px;
  color: rgba(214, 221, 229, .72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.wateli-where-buy-kicker::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 12px;
  background: var(--w2b-red);
}

.wateli-where-buy h1 {
  margin: 0;
  color: var(--w2b-metal);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.055em;
}

.wateli-where-buy-lead {
  margin: 28px 0 0;
  max-width: 680px;
  color: rgba(245, 247, 250, .86);
  font-size: clamp(21px, 2.3vw, 32px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -.035em;
}

.wateli-where-buy-note {
  margin: 18px 0 0;
  max-width: 660px;
  color: var(--w2b-muted);
  font-size: 15px;
  line-height: 1.75;
}

.wateli-where-buy-list {
  padding: 22px 0 84px;
}

.wateli-where-buy-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--w2b-line);
}

.wateli-where-buy-head h2 {
  margin: 0;
  color: var(--w2b-metal);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 760;
  line-height: 1.18;
  letter-spacing: -.035em;
}

.wateli-region-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.wateli-region-filter button {
  appearance: none;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: rgba(230, 235, 241, .78);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.wateli-region-filter button:hover {
  transform: translateY(-1px);
  border-color: rgba(174, 34, 42, .34);
  background: rgba(174, 34, 42, .08);
  color: rgba(255, 255, 255, .94);
}

.wateli-region-filter button.is-active {
  border-color: rgba(174, 34, 42, .52);
  background: rgba(174, 34, 42, .18);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}

.wateli-area-stack {
  display: grid;
  gap: 44px;
}

.wateli-area-section[hidden] {
  display: none;
}

.wateli-area-title-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--w2b-line);
}

.wateli-area-title-row h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--w2b-metal);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 740;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.wateli-area-title-row h3::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: var(--w2b-red);
  box-shadow: 0 0 18px rgba(174, 34, 42, .28);
}

.wateli-area-title-row span {
  color: rgba(214, 221, 229, .58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wateli-city-group {
  display: grid;
  grid-template-columns: minmax(88px, 124px) minmax(0, 1fr);
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0 2px;
}

.wateli-city-group h4 {
  margin: 0;
  padding-top: 4px;
  color: rgba(245, 247, 250, .78);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.wateli-city-stores {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 14px;
}

.wateli-store-card {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025)),
    var(--w2b-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.wateli-store-card:hover {
  transform: translateY(-1px);
  border-color: rgba(174, 34, 42, .22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)),
    var(--w2b-panel-strong);
}

.wateli-store-card h5 {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, .96);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.22;
  letter-spacing: .01em;
}

.wateli-store-card p {
  margin: 0;
  color: rgba(230, 235, 241, .60);
  font-size: 13.5px;
  line-height: 1.55;
}

.wateli-store-card span {
  display: block;
  margin-top: 8px;
  color: rgba(244, 247, 250, .76);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
}

@media (max-width: 760px) {
  .wateli-where-buy .container {
    width: min(100% - 32px, 1180px);
  }

  .wateli-where-buy-hero {
    padding: calc(var(--header-h) + 46px) 0 28px;
  }

  .wateli-where-buy h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .wateli-where-buy-lead {
    margin-top: 22px;
    font-size: clamp(20px, 6.4vw, 26px);
    line-height: 1.34;
  }

  .wateli-where-buy-note {
    font-size: 14px;
    line-height: 1.65;
  }

  .wateli-where-buy-list {
    padding: 18px 0 62px;
  }

  .wateli-where-buy-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
    padding-top: 22px;
  }

  .wateli-region-filter {
    width: 100%;
    justify-content: flex-start;
  }

  .wateli-region-filter button {
    flex: 1 1 calc(50% - 10px);
    min-height: 44px;
  }

  .wateli-area-stack {
    gap: 36px;
  }

  .wateli-area-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .wateli-city-group {
    grid-template-columns: 1fr;
    gap: 11px;
    padding-top: 20px;
  }

  .wateli-city-group h4 {
    padding-top: 0;
    font-size: 18px;
  }

  .wateli-city-stores {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wateli-store-card {
    padding: 16px;
  }
}


/* ===== WATELI R4A / MOBILE CONSISTENCY ONLY =====
   Base: R3-W2B-VISUAL-CONSISTENCY.
   Scope: mobile Where to Buy display only.
   No new brand bridge, no W logo module, no desktop redesign.
*/
@media (max-width: 760px) {
  body.page-template--where-to-buy {
    background:
      radial-gradient(circle at 50% 0%, rgba(39, 88, 168, 0.10) 0%, rgba(39, 88, 168, 0) 34%),
      linear-gradient(180deg, #07111f 0%, #081527 42%, #081423 100%);
  }

  .wateli-where-buy .container {
    width: min(100% - 30px, 1180px);
  }

  .wateli-where-buy-hero {
    padding: calc(var(--header-h) + 34px) 0 18px;
  }

  .wateli-where-buy-kicker {
    margin-bottom: 13px;
    font-size: 11px;
    letter-spacing: .135em;
  }

  .wateli-where-buy-kicker::after {
    width: 22px;
    margin-top: 10px;
  }

  .wateli-where-buy h1 {
    font-size: clamp(34px, 10.8vw, 48px);
    line-height: 1.02;
    letter-spacing: -.05em;
  }

  .wateli-where-buy-lead {
    margin-top: 18px;
    max-width: 11.5em;
    font-size: clamp(19px, 5.5vw, 24px);
    line-height: 1.36;
    letter-spacing: -.035em;
  }

  .wateli-where-buy-note {
    margin-top: 13px;
    max-width: 100%;
    font-size: 13.5px;
    line-height: 1.62;
    color: rgba(232, 236, 241, .54);
  }

  .wateli-where-buy-list {
    padding: 10px 0 54px;
  }

  .wateli-where-buy-head {
    gap: 16px;
    margin-bottom: 26px;
    padding-top: 20px;
  }

  .wateli-where-buy-head h2 {
    font-size: clamp(25px, 7.1vw, 32px);
    line-height: 1.18;
  }

  .wateli-region-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 9px;
  }

  .wateli-region-filter button {
    min-height: 43px;
    width: 100%;
    padding: 10px 12px;
    font-size: 13.5px;
  }

  .wateli-area-stack {
    gap: 30px;
  }

  .wateli-area-title-row {
    gap: 6px;
    padding-bottom: 12px;
  }

  .wateli-area-title-row h3 {
    font-size: 23px;
    line-height: 1.16;
  }

  .wateli-area-title-row span {
    font-size: 11px;
    letter-spacing: .105em;
  }

  .wateli-city-group {
    gap: 9px;
    padding: 17px 0 0;
  }

  .wateli-city-group h4 {
    font-size: 17px;
    line-height: 1.25;
    color: rgba(245, 247, 250, .82);
  }

  .wateli-city-stores {
    gap: 10px;
  }

  .wateli-store-card {
    padding: 14px 15px;
    border-radius: 14px;
  }

  .wateli-store-card h5 {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.22;
  }

  .wateli-store-card p {
    font-size: 13px;
    line-height: 1.48;
  }

  .wateli-store-card span {
    margin-top: 7px;
    font-size: 12.8px;
  }
}

@media (max-width: 390px) {
  .wateli-where-buy .container {
    width: min(100% - 26px, 1180px);
  }

  .wateli-region-filter {
    grid-template-columns: 1fr 1fr;
  }

  .wateli-region-filter button {
    padding-inline: 10px;
    font-size: 13px;
  }

  .wateli-where-buy-note {
    font-size: 13px;
  }
}


/* ===== WATELI R4B / MOBILE TOP BALANCE ONLY =====
   Base: R4A-W2B-MOBILE-CONSISTENCY.
   Scope: mobile top section spacing only.
   Goal: reduce the heavy gap between header and WHERE TO BUY on mobile.
   No button, card, desktop, layout, or content changes.
*/
@media (max-width: 760px) {
  .wateli-where-buy-hero {
    padding-top: calc(var(--header-h) + 18px);
    padding-bottom: 14px;
  }

  .wateli-where-buy-kicker {
    margin-bottom: 11px;
  }

  .wateli-where-buy-kicker::after {
    margin-top: 8px;
  }

  .wateli-where-buy-lead {
    margin-top: 15px;
  }

  .wateli-where-buy-note {
    margin-top: 10px;
  }

  .wateli-where-buy-list {
    padding-top: 6px;
  }

  .wateli-where-buy-head {
    padding-top: 18px;
  }
}
