.thermostat-product-detail-page { color: #102d50; }
.thermostat-detail-overview { padding-top: clamp(3.5rem, 6vw, 5.5rem); background: #fff; }
.thermostat-detail-overview__grid { display: grid; grid-template-columns: minmax(380px, .8fr) minmax(0, 1.2fr); gap: clamp(2.75rem, 6vw, 6.5rem); align-items: start; }
.thermostat-detail-overview__media { display: grid; grid-template-rows: minmax(25rem, 32rem) auto auto; place-items: center; gap: 1.5rem; min-height: 0; margin: 0; padding: 0; background: #fff; border-radius: 0; }
.thermostat-detail-overview__media > [data-thermostat-product-image] { display: block; width: min(72%, 29rem); height: 100%; max-height: 26rem; object-fit: contain; filter: drop-shadow(0 1.5rem 1.25rem rgba(0, 26, 61, .18)); }
.thermostat-detail-overview__media > [data-thermostat-product-image][src$="A61series.webp"] { width: min(84%, 31rem); }
.thermostat-detail-overview__media > [data-thermostat-product-image][src$="A62black3.webp"],
.thermostat-detail-overview__media > [data-thermostat-product-image][src$="A62white3.webp"] { scale: .78; }
.thermostat-detail-overview__media .gas-btn { width: fit-content; margin: 0 auto; }
.thermostat-detail-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; width: min(100%, 20rem); margin-top: -3rem; }
.thermostat-detail-gallery__thumb { display: grid; place-items: center; aspect-ratio: 1; padding: .35rem; overflow: hidden; background: #fff; border: 2px solid #d4deea; border-radius: .35rem; cursor: pointer; }
.thermostat-detail-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.thermostat-detail-gallery__thumb:hover { border-color: #86b4fb; }
.thermostat-detail-gallery__thumb:focus-visible { outline: 3px solid #1d6ee8; outline-offset: 3px; }
.thermostat-detail-gallery__thumb[aria-pressed="true"] { border-color: #4385f5; box-shadow: 0 0 0 2px rgba(67, 133, 245, .14); }
.thermostat-detail-overview__media--a23 { grid-template-rows: minmax(20rem, 23rem) auto auto; gap: .65rem; }
.thermostat-detail-overview__media--a23 > [data-thermostat-product-image] { width: min(88%, 34rem); max-height: 23rem; }
.thermostat-detail-gallery--a23 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .45rem; width: min(100%, 22rem); margin-top: 0; }
.thermostat-detail-gallery--a23 .thermostat-detail-gallery__thumb { padding: .2rem; border-width: 1px; }
.thermostat-detail-overview__content .gas-breadcrumb { margin-bottom: 1.75rem; }
.thermostat-detail-overview__content h1 { max-width: none; margin: 0; padding: .65rem 0 1.65rem; border-bottom: 1px solid #dce5ed; font-size: clamp(1.8rem, 2.35vw, 2.65rem); line-height: 1.18; }
.thermostat-detail-features { margin: 0; padding: 0; list-style: none; counter-reset: product-feature; }
.thermostat-detail-features li { position: relative; padding: 1.35rem 0 1.35rem 3.25rem; color: #23405f; border-bottom: 1px solid #dce5ed; font-size: .98rem; line-height: 1.62; font-weight: 500; counter-increment: product-feature; }
.thermostat-detail-features li::before { content: counter(product-feature, decimal-leading-zero); position: absolute; left: 0; top: 1.35rem; color: #4388f5; font-size: .9rem; font-weight: 700; }
.thermostat-detail-features strong { color: #102d50; }

.thermostat-detail-specs { background: #fff; }
.thermostat-detail-specs header { max-width: none; margin-bottom: clamp(2.5rem, 5vw, 4.25rem); }
.thermostat-detail-specs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(4rem, 8vw, 8.5rem); align-items: start; }
.thermostat-detail-specs__column { display: grid; gap: clamp(2rem, 4vw, 3.25rem); align-content: start; }
.thermostat-detail-spec-group { overflow: visible; background: transparent; border: 0; border-radius: 0; }
.thermostat-detail-spec-group h3 { margin: 0; padding: 0 .5rem .75rem; color: #4385f5; background: transparent; border-bottom: 1px solid #cdd9e5; font-size: 1rem; }
.thermostat-detail-spec-group dl { margin: 0; }
.thermostat-detail-spec-row { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 1fr); gap: 1.5rem; border-bottom: 1px solid #d8e1ea; }
.thermostat-detail-spec-row dt, .thermostat-detail-spec-row dd { margin: 0; padding: .9rem .5rem; line-height: 1.45; }
.thermostat-detail-spec-row dt { color: #102d50; font-weight: 700; background: transparent; }
.thermostat-detail-spec-row dd { color: #344f6e; text-align: right; }

.thermostat-product-information__table-wrap:focus-visible { outline: 3px solid #4388f5; outline-offset: 4px; }
.a56-interface-guide { background: #fff; }
.a56-interface-guide__header { max-width: 58rem; margin: 0; margin-inline: auto; margin-bottom: clamp(3rem, 6vw, 5rem); text-align: center; }
.a56-interface-guide__header .gas-label { justify-content: center; }
.a56-interface-guide__header > p:last-child { max-width: 48rem; margin: 1.15rem auto 0; color: #526b87; font-size: 1.05rem; line-height: 1.75; }
.a56-interface-overview { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); align-items: end; max-width: 78rem; margin-inline: auto; }
.a56-interface-overview__card, .a56-interface-detail figure { margin: 0; }
.a56-interface-overview__card { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 1rem; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.a56-interface-overview__card::after { content: ""; position: absolute; bottom: 2.15rem; left: 50%; width: 2rem; height: 2px; background: #4388f5; transform: translateX(-50%); }
.a56-interface-overview__card img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 .8rem .8rem rgba(16, 45, 80, .1)); }
.a56-interface-overview__card figcaption { padding-top: .85rem; color: #17385f; text-align: center; font-size: .9rem; font-weight: 700; }
.a56-interface-details { display: grid; gap: clamp(5rem, 10vw, 9rem); margin-top: clamp(5rem, 10vw, 9rem); }
.a56-interface-detail { position: relative; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.a56-interface-detail > header { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.5rem; align-items: start; max-width: 62rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.a56-interface-detail > header > span { color: rgba(67, 136, 245, .2); font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: .78; font-weight: 800; }
.a56-interface-detail h3 { margin: 0; color: #102d50; font-size: clamp(1.65rem, 2.7vw, 2.5rem); font-weight: 600; }
.a56-interface-detail header p { max-width: 54rem; margin: .75rem 0 0; color: #526b87; font-size: 1.02rem; line-height: 1.75; }
.a56-interface-detail__layout { display: grid; grid-template-columns: minmax(17rem, 30rem) minmax(0, 50rem); max-width: 82rem; margin-inline: auto; gap: clamp(.5rem, 1.5vw, 1.5rem); align-items: center; justify-content: center; }
.a56-interface-detail__primary, .a56-interface-detail__support { display: grid; gap: .35rem; }
.a56-interface-detail__primary img { display: block; width: min(100%, 28rem); aspect-ratio: 1; margin-inline: auto; object-fit: contain; filter: drop-shadow(0 1.2rem 1.1rem rgba(0, 26, 61, .13)); }
.a56-interface-detail:nth-child(even) > header { margin-left: auto; }
.a56-interface-detail:nth-child(even) .a56-interface-detail__primary { order: 2; }
.a56-interface-detail:nth-child(even) .a56-interface-detail__controls { order: 1; }
.a56-interface-detail__controls { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(.75rem, 1.5vw, 1.5rem); align-items: center; }
.a56-interface-detail:nth-child(4) .a56-interface-detail__controls { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a56-interface-detail__support { align-content: center; min-width: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.a56-interface-detail__support img { display: block; width: 100%; height: auto; max-height: 18rem; margin-inline: auto; object-fit: contain; filter: drop-shadow(0 .65rem .65rem rgba(0, 26, 61, .1)); }
.a56-interface-detail:nth-child(3) .a56-interface-detail__support:nth-child(2) img { margin-bottom: -12%; }
.a56-interface-detail:nth-child(3) .a56-interface-detail__support:nth-child(3) img { margin-bottom: -10%; }
.a56-interface-detail figcaption { color: #344f6e; text-align: center; font-size: .88rem; font-weight: 700; letter-spacing: .02em; }
.a23-interface-guide { background: #fff; }
.a23-interface-guide__header { max-width: 58rem; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.a23-interface-guide__header .gas-label { justify-content: center; }
.a23-interface-guide__header > p:last-child { max-width: 48rem; margin: 1.15rem auto 0; color: #526b87; font-size: 1.05rem; line-height: 1.75; }
.a23-interface-feature__copy > span { display: block; margin-bottom: .65rem; color: #4385f5; font-size: .85rem; font-weight: 800; letter-spacing: .1em; }
.a23-interface-feature h3 { margin: 0; color: #102d50; font-size: clamp(1.45rem, 2.3vw, 2.15rem); font-weight: 600; }
.a23-interface-feature__copy p { margin: .8rem 0 0; color: #526b87; line-height: 1.75; }
.a23-interface-feature figure { margin: 0; }
.a23-interface-feature figcaption { color: #344f6e; text-align: center; font-size: .82rem; font-weight: 700; }
.a23-interface-features { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.a23-interface-feature { display: grid; grid-template-columns: minmax(16rem, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.a23-interface-feature:nth-child(even) { grid-template-columns: minmax(0, 1.3fr) minmax(16rem, .7fr); }
.a23-interface-feature:nth-child(even) .a23-interface-feature__visuals { order: 1; }
.a23-interface-feature:nth-child(even) .a23-interface-feature__copy { order: 2; }
.a23-interface-feature__visuals { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.a23-interface-feature__visuals figure { display: grid; gap: .65rem; align-content: center; padding: 0; background: transparent; border: 0; border-radius: 0; }
.a23-interface-feature__visuals img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.a23-interface-guide__note { display: flex; align-items: center; max-width: 58rem; min-height: 3.25rem; margin: clamp(4rem, 7vw, 6rem) auto 0; padding: 1rem 1.25rem; color: #526b87; text-align: left; background: #eaf2fd; border-left: 3px solid #4385f5; line-height: 1.65; }
.thermostat-detail-colors { overflow: hidden; background: #fff; }
.thermostat-detail-colors .gas-label { color: #4385f5; }
.thermostat-detail-colors__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); grid-template-areas: "stage copy"; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.thermostat-detail-colors__copy { grid-area: copy; max-width: 47rem; padding-left: clamp(0rem, 2vw, 2rem); }
.thermostat-detail-colors__copy .gas-title { max-width: 40rem; font-size: clamp(2rem, 3.2vw, 3.5rem); line-height: 1.08; }
.thermostat-detail-colors__model { color: #4385f5; }
.thermostat-detail-colors__intro { max-width: 40rem; margin: 1.35rem 0 0; color: #526b87; font-size: 1.05rem; line-height: 1.75; }
.thermostat-detail-colors__selection { display: grid; gap: .25rem; margin: 2rem 0 1.25rem; padding: .15rem 0 .15rem 1rem; border-left: 3px solid #4385f5; }
.thermostat-detail-colors__selection span { color: #71849a; font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.thermostat-detail-colors__selection strong { color: #102d50; font-size: 1.25rem; font-weight: 600; }
.thermostat-detail-colors__options { display: flex; flex-wrap: wrap; gap: 1.75rem; margin: 0 0 2rem; }
.thermostat-color-option { display: inline-flex; align-items: center; gap: .75rem; min-width: 0; padding: .35rem; color: #17385f; text-align: left; background: transparent; border: 0; border-radius: 0; cursor: pointer; font: inherit; }
.thermostat-color-option:hover { color: #1d6ee8; }
.thermostat-color-option:focus-visible { outline: 3px solid #1d6ee8; outline-offset: 3px; }
.thermostat-color-option[aria-pressed="true"], .thermostat-color-option.is-selected { color: #102d50; }
.thermostat-color-option__swatch { width: 2.15rem; height: 2.15rem; border: 1px solid #aebdcd; border-radius: 50%; background: #fff; }
.thermostat-color-option[aria-pressed="true"] .thermostat-color-option__swatch { outline: 2px solid #4385f5; outline-offset: 4px; }
.thermostat-color-option.is-selected .thermostat-color-option__swatch { outline: 2px solid #4385f5; outline-offset: 4px; }
.thermostat-color-option__name { font-weight: 600; }
.thermostat-color-option__swatch[data-swatch="black"] { background: #111820; border-color: #111820; }
.thermostat-color-option__swatch[data-swatch="gold-grey"] { background: linear-gradient(135deg, #c6bda9, #87847c); border-color: #a39b8c; }
.thermostat-detail-colors__stage { position: relative; grid-area: stage; display: grid; place-items: center; min-height: 38rem; margin: 0; isolation: isolate; background: radial-gradient(circle at 52% 48%, rgba(212, 230, 250, .72) 0, rgba(237, 245, 253, .48) 38%, rgba(255, 255, 255, 0) 70%); }
.thermostat-detail-colors__stage-halo { position: absolute; z-index: -1; width: min(72%, 29rem); aspect-ratio: 1; border: 1px solid rgba(67, 133, 245, .2); border-radius: 50%; box-shadow: 0 0 0 2.5rem rgba(67, 133, 245, .035), 0 0 0 5rem rgba(67, 133, 245, .02); }
.thermostat-detail-colors__stage-index { position: absolute; top: 8%; right: 6%; z-index: -1; color: rgba(67, 133, 245, .09); font-size: clamp(5rem, 9vw, 9rem); line-height: 1; font-weight: 700; }
.thermostat-detail-colors__stage img { display: block; width: min(86%, 29rem); max-height: 29rem; object-fit: contain; filter: drop-shadow(0 1.75rem 1.5rem rgba(0, 26, 61, .18)); }
.thermostat-detail-colors--a23 .thermostat-detail-colors__stage img { width: min(105%, 36rem); max-height: 36rem; }
.thermostat-detail-colors__stage img.is-switching { animation: colorStudioReveal .38s ease-out both; }

@keyframes colorStudioReveal {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.thermostat-detail-article { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; background: #f2f6fb; }
.thermostat-detail-article__media { min-height: 26rem; }
.thermostat-detail-article__media img { width: 100%; height: 100%; object-fit: cover; }
.thermostat-detail-article > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
.thermostat-detail-article > div > span { width: fit-content; margin-bottom: 1.25rem; padding: .45rem .8rem; color: #fff; background: #4388f5; border-radius: 999px; font-size: .85rem; }
.thermostat-detail-article h2 { margin: 0 0 1.25rem; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; font-weight: 500; }
.thermostat-detail-article h2 a { color: #102d50; text-decoration: none; }
.thermostat-detail-article p { color: #526b87; line-height: 1.75; }
.thermostat-detail-article__link { margin-top: 1rem; color: #1d6ee8; font-weight: 700; text-decoration: none; }

@media (max-width: 800px) {
  .thermostat-detail-overview { padding-top: 2rem; }
  .thermostat-detail-overview__grid, .thermostat-detail-specs__grid, .thermostat-detail-article { grid-template-columns: 1fr; }
  .thermostat-detail-overview__media { grid-template-rows: minmax(19rem, 23rem) auto; padding: 0; }
  .thermostat-detail-overview__media > [data-thermostat-product-image] { width: min(78%, 21rem); height: 100%; max-height: 20rem; }
  .thermostat-detail-overview__media > [data-thermostat-product-image][src$="A61series.webp"] { width: min(86%, 23rem); }
  .thermostat-detail-gallery { margin-top: -1rem; }
  .thermostat-detail-overview__media--a23 { grid-template-rows: minmax(18rem, 21rem) auto auto; gap: .6rem; }
  .thermostat-detail-overview__media--a23 > [data-thermostat-product-image] { width: min(92%, 25rem); max-height: 21rem; }
  .thermostat-detail-gallery--a23 { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 18rem); margin-top: 0; }
  .thermostat-detail-overview__content h1 { max-width: none; }
  .thermostat-detail-specs__grid { gap: 2rem; }
  .thermostat-detail-specs__column { gap: 2rem; }
  .thermostat-detail-spec-row { grid-template-columns: minmax(7rem, .9fr) minmax(0, 1.1fr); gap: .75rem; }
  .thermostat-detail-spec-row dt, .thermostat-detail-spec-row dd { padding: .8rem; }
  .thermostat-detail-colors__grid { grid-template-columns: 1fr; grid-template-areas: "stage" "copy"; gap: 1.5rem; }
  .thermostat-detail-colors__copy { padding-left: 0; text-align: center; }
  .thermostat-detail-colors__copy .gas-title, .thermostat-detail-colors__intro { margin-inline: auto; }
  .thermostat-detail-colors__selection { width: fit-content; margin: 2rem auto 1.25rem; text-align: left; }
  .thermostat-detail-colors__stage { min-height: 25rem; }
  .thermostat-detail-colors__stage img { width: min(74%, 22rem); max-height: 22rem; }
  .thermostat-detail-colors--a23 .thermostat-detail-colors__stage img { width: min(88%, 25rem); max-height: 25rem; }
  .thermostat-detail-colors__options { justify-content: center; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thermostat-detail-colors__copy > .gas-btn { display: flex; width: fit-content; margin-inline: auto; }
  .thermostat-product-information__table-wrap { overflow-x: auto; overscroll-behavior-inline: contain; }
  .a56-interface-guide__header { text-align: center; }
  .a56-interface-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a56-interface-overview__card:last-child { grid-column: 1 / -1; width: calc(50% - .5rem); justify-self: center; }
  .a56-interface-detail > header { grid-template-columns: 1fr; text-align: center; }
  .a56-interface-detail > header > span { margin-inline: auto; }
  .a56-interface-detail__layout { grid-template-columns: 1fr; }
  .a56-interface-detail:nth-child(even) .a56-interface-detail__primary,
  .a56-interface-detail:nth-child(even) .a56-interface-detail__controls { order: initial; }
  .a56-interface-detail__primary img { width: min(76%, 21rem); }
  .a56-interface-detail__controls { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .75rem; scroll-snap-type: x proximity; }
  .a56-interface-detail:nth-child(4) .a56-interface-detail__controls { display: flex; grid-template-columns: none; }
  .a56-interface-detail__support { flex: 0 0 min(72vw, 19rem); scroll-snap-align: start; }
  .a56-interface-detail__support img { height: min(72vw, 20rem); }
  .a23-interface-feature { grid-template-columns: 1fr; gap: 1.5rem; }
  .a23-interface-feature:nth-child(even) .a23-interface-feature__visuals,
  .a23-interface-feature:nth-child(even) .a23-interface-feature__copy { order: initial; }
  .a23-interface-feature__copy { text-align: center; }
  .a23-interface-feature__visuals { display: flex; overflow-x: auto; padding-bottom: .75rem; scroll-snap-type: x proximity; }
  .a23-interface-feature__visuals figure { flex: 0 0 min(80vw, 24rem); scroll-snap-align: start; }
  .thermostat-detail-article__media { min-height: 18rem; }
}

@media (min-width: 801px) and (max-width: 1100px) {
  .a56-interface-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .thermostat-detail-colors__stage img.is-switching { animation: none; }
}
