/* WetAir unified storefront — 2026-09-09.
 * Presentation only. Real product media, prices and availability are unchanged.
 * Loaded after the existing theme. Scoped cascade exceptions below account
 * for both the legacy wa-overrides layer and older unlayered !important rules.
 */
:root {
  --wa-bg: #fff;
  --wa-ink: #101c20;
  --wa-ink-muted: #52656c;
  --wa-muted: #52656c;
  --wa-line: #dce5e8;
  --wa-brand: #12778f;
  --wa-accent: #12778f;
  --wa-brand-soft: #f1f7f8;
  --wa-radius: 8px;
  --wa-mobile-buy-height: 0px;
}

/* One visual language for navigation and shopping controls. */
.wa-topbar { border-bottom-color: var(--wa-line); }
.wa-topbar__nav a { font-family: Inter, sans-serif; font-size: 14px; letter-spacing: 0; }
.wa-bcrumb { font-family: Inter, sans-serif; font-size: 12px; text-transform: none; }
.wa-bcrumb__item { text-transform: none; }
.wa-caps { font-family: Inter, sans-serif; letter-spacing: .04em; font-weight: 600; }
.wa-btn, .wa-pdp-outline-action, .wa-pcard__details {
  border-radius: var(--wa-radius);
  font-family: Inter, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}
.wa-pdp :focus-visible, .wa-cat-page :focus-visible, .wa-home :focus-visible,
.wa-topbar :focus-visible, #wa-cookie-consent :focus-visible {
  outline: 3px solid var(--wa-accent);
  outline-offset: 3px;
}

@layer wa-overrides {
  body .wa-btn--dark,
  body .wa-btn--primary,
  body .wa-pcard__buy,
  body .wa-pdp .wa-pdp-buy__btn:not(:disabled),
  body .wa-pdp #button-cart.wa-pdp-buy__btn,
  body .wa-cartpage .wa-btn--primary,
  body .wa-checkout .btn-primary,
  #wa-cookie-consent #wa-cookie-accept {
    color: #fff !important;
    background: #12778f !important;
    border-color: #12778f !important;
    border-radius: 8px !important;
    font-family: Inter, sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }
  body .wa-btn--dark:hover,
  body .wa-btn--primary:hover,
  body .wa-pcard__buy:hover,
  body .wa-pdp .wa-pdp-buy__btn:not(:disabled):hover,
  body .wa-pdp #button-cart.wa-pdp-buy__btn:not(:disabled):hover,
  #wa-cookie-consent #wa-cookie-accept:hover {
    color: #fff !important;
    background: #0d6175 !important;
    border-color: #0d6175 !important;
  }
  body .wa-pdp .wa-pdp-h1 {
    max-width: none !important;
    font-family: Inter, sans-serif !important;
    font-size: clamp(28px, 2.5vw, 36px) !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    letter-spacing: -.025em !important;
  }
  .wa-cat-page .wa-cat-head .wa-cat-head__h1 {
    font-size: clamp(38px, 4vw, 40px) !important;
    font-weight: 650 !important;
    line-height: 1.08 !important;
  }
}

/* One semantic model heading; grid areas change visual order without copies. */
.wa-pdp .wa-pdp-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  grid-template-rows: min-content 1fr;
  grid-template-areas: "gallery heading" "gallery info";
  gap: 0 48px;
}
.wa-pdp-heading { grid-area: heading; min-width: 0; padding-bottom: 20px; }
.wa-pdp .wa-pdp-gallery { grid-area: gallery; top: 100px; }
.wa-pdp .wa-pdp-info { grid-area: info; min-width: 0; padding-top: 0; }
.wa-pdp .wa-pdp-identity { gap: 6px 14px; margin-top: 12px; font-size: 12px; }
.wa-pdp .wa-pdp-state { gap: 10px 16px; margin-top: 12px; }
.wa-pdp .wa-pdp-stock { font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; }
.wa-pdp .wa-pdp-price { margin: 0 0 20px; }
.wa-pdp .wa-pdp-price__new { font-family: Inter, sans-serif; font-weight: 650; letter-spacing: -.02em; }
.wa-pdp .wa-pdp-gallery__main { border-color: #e6edef; border-radius: 12px; }
.wa-pdp .wa-pdp-gallery__thumb { border-color: var(--wa-line); }
.wa-pdp .wa-pdp-gallery__thumb.is-active { border-color: var(--wa-accent); box-shadow: inset 0 0 0 1px var(--wa-accent); }
.wa-pdp .wa-pdp-gallery__count { border: 0; border-radius: 6px; background: #f3f7f8; color: var(--wa-ink-muted); }
.wa-pdp .wa-pdp-gallery__label { font-size: 12px; color: var(--wa-ink-muted); }
.wa-pdp .wa-pdp-qty__input { border-radius: 8px; }
.wa-pdp .wa-pdp-highlights { border: 0; border-radius: 8px; background: #f4f8f9; }
.wa-pdp .wa-pdp-highlight dd { font-size: 16px; font-weight: 600; }
.wa-pdp .wa-pdp-jump { margin-top: 40px; padding-block: 18px; gap: 16px 28px; }
.wa-pdp .wa-pdp-jump a { font-size: 14px; }
.wa-pdp .wa-pdp-section { padding-block: 48px; }
.wa-pdp .wa-pdp-section__head h2 { font-size: 28px; line-height: 1.2; }
.wa-pdp .wa-pdp-mobile-primary {
  z-index: 1035;
  grid-template-columns: minmax(0, 1fr) minmax(148px, 1.25fr);
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--wa-line);
  background: #fff;
  box-shadow: 0 -4px 20px rgb(16 28 32 / 5%);
}
.wa-pdp-mobile-primary__price { min-width: 0; display: grid; gap: 2px; }
.wa-pdp-mobile-primary__price small { color: var(--wa-ink-muted); font-size: 11px; line-height: 1.3; }
.wa-pdp-mobile-primary__price strong { color: var(--wa-ink); font: 650 19px/1.25 Inter, sans-serif; white-space: nowrap; }
.wa-pdp .wa-pdp-mobile-primary .wa-pdp-buy__btn { min-height: 46px; padding: 10px 12px; font-size: 14px; align-self: center; }
.wa-pdp .wa-pdp-mobile-primary .wa-pdp-buy__btn:disabled { opacity: .55; cursor: wait; }
.wa-pdp-mobile-primary[hidden] { display: none !important; }

/* Same consent options and behavior, quieter surface and equal target size. */
#wa-cookie-consent.wa-cookie {
  width: min(430px, calc(100vw - 32px));
  right: auto;
  left: 16px;
  bottom: calc(var(--wa-mobile-buy-height) + 16px) !important;
  border: 1px solid var(--wa-line);
  border-radius: 12px;
  background: #fff;
  color: var(--wa-ink);
  box-shadow: 0 6px 28px rgb(16 28 32 / 12%);
}
#wa-cookie-consent .wa-cookie__inner { padding: 16px; gap: 12px; }
#wa-cookie-consent .wa-cookie__text { margin: 0; color: var(--wa-ink-muted); font-size: 12px; line-height: 1.55; }
#wa-cookie-consent .wa-cookie__text a { color: var(--wa-accent) !important; text-decoration: underline; text-underline-offset: 2px; }
#wa-cookie-consent .wa-cookie__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
#wa-cookie-consent .wa-cookie__btn {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--wa-accent);
  border-radius: 8px;
  background: #fff;
  color: var(--wa-accent);
  font: 600 12px/1.35 Inter, sans-serif;
  white-space: normal;
  text-align: center;
  text-transform: none;
}
#wa-cookie-consent .wa-cookie__btn--primary { background: var(--wa-accent); color: #fff; }
#wa-cookie-consent .wa-cookie__btn:hover { background: #f1f7f8; }
#wa-cookie-consent .wa-cookie__btn--primary:hover { background: #0d6175; }

@media (max-width: 1100px) and (min-width: 901px) {
  .wa-pdp .wa-pdp-grid { gap: 0 28px; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); }
}
@media (max-width: 900px) {
  .wa-pdp .wa-pdp-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "heading" "gallery" "info"; gap: 20px; }
  .wa-pdp-heading { padding-bottom: 0; }
  .wa-pdp .wa-pdp-gallery { position: relative; top: auto; }
  .wa-pdp .wa-pdp-gallery__main { height: 430px !important; }
}
@media (max-width: 720px) {
  .wa-pdp .wa-bcrumb { padding: 12px 0 16px; font-size: 11px; line-height: 1.5; }
  .wa-pdp .wa-pdp-grid { gap: 18px; }
  .wa-pdp .wa-pdp-identity { margin-top: 8px; font-size: 11px; }
  .wa-pdp .wa-pdp-state { margin-top: 8px; }
  .wa-pdp .wa-pdp-gallery__main { height: clamp(260px, 80vw, 360px) !important; }
  .wa-pdp .wa-pdp-gallery__thumbs { grid-auto-columns: 56px; gap: 8px; margin-top: 8px; }
  .wa-pdp .wa-pdp-gallery__thumb { width: 56px; height: 56px; }
  .wa-pdp .wa-pdp-gallery__thumb img { width: 50px; height: 50px; }
  .wa-pdp .wa-pdp-gallery__label { margin-block: 8px 2px; font-size: 11px; }
  .wa-pdp .wa-pdp-price { margin-bottom: 16px; }
  .wa-pdp .wa-pdp-price__new { font-size: 28px; }
  .wa-pdp .wa-pdp-section { gap: 20px; padding-block: 36px; }
  .wa-pdp .wa-pdp-section__head h2 { font-size: 24px; }
  #wa-cookie-consent.wa-cookie { left: 12px; width: calc(100vw - 24px); bottom: calc(var(--wa-mobile-buy-height) + 12px) !important; }
  #wa-cookie-consent .wa-cookie__inner { padding: 12px; }
  #wa-cookie-consent .wa-cookie__text { font-size: 11px; }
  @layer wa-overrides {
    body .wa-pdp .wa-pdp-h1 { font-size: 24px !important; line-height: 1.23 !important; }
    .wa-cat-page .wa-cat-head .wa-cat-head__h1 { font-size: 34px !important; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-pdp, .wa-cat-page, .wa-home { scroll-behavior: auto; }
}
/* Catalog/cards share the same storefront design system. */

.wa-cat-page,
.wa-pcard {
  --wa-catalog-ink: #101c20;
  --wa-catalog-accent: #12778f;
  --wa-catalog-secondary: #52656c;
  --wa-catalog-border: #dce5e8;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wa-cat-head {
  gap: 32px;
  padding-bottom: 24px;
}

.wa-cat-page .wa-cat-head .wa-cat-head__h1 {
  color: var(--wa-catalog-ink);
  letter-spacing: -0.025em;
}

.wa-cat-intro {
  max-width: 760px;
  margin-top: 8px;
  color: var(--wa-catalog-secondary);
}

.wa-cat-intro > summary {
  width: fit-content;
  margin: 0;
  padding: 6px 0;
  color: var(--wa-catalog-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.wa-cat-intro > summary:hover,
.wa-cat-intro > summary:focus-visible {
  color: var(--wa-catalog-accent);
}

.wa-cat-intro[open] > summary {
  display: list-item;
  margin-bottom: 8px;
}

.wa-cat-intro .wa-cat-head__desc,
.wa-cat-intro .wa-cat-head__note {
  max-width: 720px;
  margin-top: 6px;
  color: var(--wa-catalog-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.wa-cat-head__count {
  color: var(--wa-catalog-ink);
}

.wa-cat-head__select {
  color: var(--wa-catalog-ink);
  border-color: var(--wa-catalog-border);
  border-radius: 8px;
}

.wa-pcard {
  color: var(--wa-catalog-ink);
  background: #fff;
  border-color: var(--wa-catalog-border);
  border-radius: 8px;
}

.wa-pcard:hover,
.wa-pcard:focus-within {
  border-color: color-mix(in srgb, var(--wa-catalog-accent) 55%, var(--wa-catalog-border));
}

.wa-pcard__image,
.wa-pcard__image img {
  object-fit: contain;
}

.wa-pcard__body {
  padding: 12px 16px 8px;
}

.wa-pcard__title {
  min-height: 0;
  margin-bottom: 4px !important;
  color: var(--wa-catalog-ink);
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.32 !important;
}

.wa-pcard__model {
  margin: 0;
  color: var(--wa-catalog-secondary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wa-pcard__facts {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding: 0;
}

.wa-pcard__fact {
  display: grid;
  grid-template-columns: minmax(90px, .85fr) minmax(0, 1.15fr);
  gap: 12px;
  align-items: baseline;
  color: var(--wa-catalog-secondary);
  font-size: 12px;
  line-height: 1.35;
}

.wa-pcard__fact dt,
.wa-pcard__fact dd {
  min-width: 0;
  margin: 0;
}

.wa-pcard__fact dt {
  overflow-wrap: normal;
}

.wa-pcard__fact dd {
  color: var(--wa-catalog-ink);
  font-weight: 600;
  text-align: right;
  overflow-wrap: normal;
}

.wa-pcard__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  align-items: stretch;
  margin-top: 8px;
  padding: 12px 16px 16px;
  border-top-color: var(--wa-catalog-border);
}

.wa-pcard__price {
  color: var(--wa-catalog-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.wa-pcard__availability {
  margin: 0 0 7px;
  color: var(--wa-catalog-secondary);
  font-size: 12px;
  line-height: 1.35;
}

.wa-pcard__availability--in_stock::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  background: var(--wa-catalog-accent);
  border-radius: 50%;
  vertical-align: 1px;
}

.wa-pcard__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  justify-content: stretch;
}

.wa-pcard__actions > :only-child {
  grid-column: 1 / -1;
}

.wa-pcard__form,
.wa-pcard__buy,
.wa-pcard__details {
  width: 100%;
}

.wa-pcard__buy,
.wa-pcard__details {
  min-height: 40px;
  border-radius: 8px !important;
}

.wa-pcard__buy {
  background: var(--wa-catalog-accent) !important;
  border-color: var(--wa-catalog-accent) !important;
}

.wa-pcard__details {
  color: var(--wa-catalog-ink) !important;
  border-color: var(--wa-catalog-border);
}

.wa-pcard__tools {
  top: 9px;
  right: 9px;
  gap: 4px;
}

.wa-pcard__tool {
  width: 34px;
  height: 34px;
  color: var(--wa-catalog-secondary);
  background: rgba(255, 255, 255, 0.9);
  border-color: transparent;
  border-radius: 8px;
}

.wa-pcard__tool:hover,
.wa-pcard__tool:focus-visible {
  color: var(--wa-catalog-accent);
  border-color: var(--wa-catalog-border);
}

.wa-pcard__tool:focus-visible,
.wa-pcard__buy:focus-visible,
.wa-pcard__details:focus-visible,
.wa-cat-intro > summary:focus-visible,
.wa-cat-head__select:focus-visible {
  outline: 2px solid var(--wa-catalog-accent);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .wa-cat-head__meta {
    gap: 8px 12px;
  }

  .wa-pcard__fact {
    gap: 8px;
  }
}

/* Keep an actual grid: the old mobile display:block rule discards row-gap. */
@media (max-width: 520px) {
  @layer wa-overrides {
    .wa-cat-page .wa-cat-main .wa-cat-grid {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 16px !important;
    }
  }
}
