/* Additions to the retained KREWALT design. */
html { scroll-padding-top: 80px; }
body { line-height: 1.5; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .4; }
button:not(:disabled):active { transform: translateY(1px); }
button, a { transition: background-color .18s, color .18s, border-color .18s; }
[hidden] { display: none !important; }
img { max-width: 100%; }
section, form, .top > *, .section > *, .roi-section > *, .quoteform > * { min-width: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.skip-link { position: fixed; top: -100px; left: 20px; background: #fff; z-index: 300; padding: 12px; }
.skip-link:focus { top: 12px; }
.top { gap: 38px; }
.galleryrow { grid-template-columns: 70px minmax(0, 1fr); }
.thumbs { gap: 10px; }
.thumb { height: 68px; border-radius: 6px; }
.thumb.active { border-width: 2px; }
.mainphoto { width: 100%; min-width: 0; height: 458px; border: 0; padding: 0; min-height: 0; border-radius: 8px; aspect-ratio: auto; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; color: #17232b; background: #fffffff0; border-radius: 4px; }
.features { margin-left: 84px; }
.feature .symbol svg { width: 26px; height: 26px; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.5; }
.service-list { padding-left: 18px; color: #52616c; line-height: 1.9; }
.selection-total { color: #5c666e; margin: 16px 0 0; }
.selection-total strong { color: #111a20; }
.prototype-note, .subtle-note { color: #68757d; }
.tabs { position: static; background: #fff; margin-inline: -24px; padding-inline: 40px; gap: 28px; }
.tab { font: inherit; font-weight: 750; background: none; border: 0; border-bottom: 3px solid transparent; text-align: left; }
.product-information { overflow-anchor: none; }
.product-information > [role="tabpanel"] { min-height: 370px; }
.product-information > [role="tabpanel"]:not(#details) { margin: 0; padding: 35px 25px 40px; border-top: 0; background: #fff; }
.section-head p { max-width: 480px; }
.section h2 { max-width: 720px; }
.situations-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; }
.situations-grid article { background: #f4f6f7; border-radius: 8px; overflow: hidden; }
.situations-grid img { width: 100%; height: 245px; display: block; object-fit: cover; }
.situations-grid article > div { padding: 23px; }
.situations-grid span, .steps-grid article > span { color: var(--orange); font-weight: 800; }
.situations-grid h3 { letter-spacing: -.5px; margin: 10px 0; }
.situations-grid p { margin: 0; }
.demo-tag { position: absolute; top: 20px; left: 20px; background: #fff; padding: 10px 14px; color: #13212a; letter-spacing: .08em; font-weight: 800; border-left: 4px solid var(--orange); }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-bottom: 20px; }
.steps-grid img { width: 100%; aspect-ratio: 1.12; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 20px; }
.steps-grid h3 { margin: 8px 0; letter-spacing: -.4px; }
.steps-grid p { margin: 0; }
.equipment-section { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.equipment-photo { background: #f4f5f6; border-radius: 8px; overflow: hidden; }
.equipment-photo img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.equipment-photo small { display: block; padding: 12px 18px; color: #5f6c74; }
.equipment-list { margin: 25px 0; }
.equipment-list > div { display: grid; grid-template-columns: 1fr 1.2fr; padding: 14px 0; border-bottom: 1px solid var(--line); gap: 18px; }
.equipment-list dt { font-weight: 750; }
.equipment-list dd { margin: 0; color: #5f6c75; }
.fit-form { display: grid; grid-template-columns: 1fr 1fr; padding: 28px; margin-block: 25px; gap: 20px; border: 1px solid #dce2e6; background: #fff; border-radius: 8px; }
.fit-heading { grid-column: 1/-1; }
.fit-heading h3 { margin: 0; }
.fit-heading p { margin-bottom: 0; }
.fit-form label, .search-dialog label { font-weight: 650; }
.fit-form input, .fit-form select, .fit-form textarea, .search-dialog input { width: 100%; display: block; margin-top: 9px; border: 1px solid #cfd8de; border-radius: 5px; padding: 12px; background: #fff; color: #17232c; }
.fit-form button { grid-column: 1/-1; padding-inline: 15px; }
#fitStatus { grid-column: 1/-1; margin: 0; }
.pricing-row { border: 0; border-bottom: 1px solid #e2e5e8; width: 100%; background: #fff; text-align: left; padding-inline: 12px; }
.pricing-row[aria-pressed="true"] { background: #fff4ed; box-shadow: inset 3px 0 var(--orange); }
.pricing-row:hover { background: #fff8f3; }
.price-options { padding-inline: 10px; }
.document-list { border-top: 1px solid var(--line); }
.document-list article { display: grid; grid-template-columns: .6fr 2fr 1fr; gap: 28px; align-items: center; border-bottom: 1px solid var(--line); padding: 26px 0; }
.document-type { font-weight: 800; color: var(--orange); }
.document-list h3 { margin: 0 0 8px; }
.document-list p { margin: 0; max-width: 590px; }
.document-list a { padding: 13px 15px; }
.process-list { list-style: none; padding: 0; counter-reset: process; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-list li { counter-increment: process; border-top: 2px solid #dfe5e9; padding-top: 22px; }
.process-list li:before { content: "0" counter(process); display: block; color: var(--orange); font-weight: 800; margin-bottom: 20px; }
.quote-selection, .quote-success, .form-error { grid-column: 1/-1; }
.quote-selection { border-block: 1px solid #d6dfe5; padding-block: 18px; display: grid; gap: 7px; }
.quote-selection strong { letter-spacing: -.7px; }
#quoteConstraints { white-space: pre-line; }
.quote-success { border-left: 3px solid var(--orange); background: #fff; padding: 18px; }
.quote-success pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow-y: auto; background: #f4f6f7; padding: 15px; }
.quote-section > .quote-success { margin-top: -35px; padding: 25px; background: #f6f8f9; }
.quote-section > .quote-success pre { columns: 2; column-gap: 30px; max-height: none; }
.quote-success button { width: 100%; }
.form-error { color: #a72e18; margin: 0; }
dialog { color: #13202a; padding: 30px; border: 1px solid #d8e0e5; border-radius: 10px; width: min(620px, calc(100% - 30px)); max-height: calc(100dvh - 40px); overflow-y: auto; }
dialog::backdrop { background: #06101ab3; backdrop-filter: blur(3px); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid #dce3e7; padding-bottom: 20px; margin-bottom: 25px; }
.dialog-header h2 { margin: 0; letter-spacing: -.7px; }
.dialog-header .eyebrow { margin-bottom: 4px; }
.icon-button { width: 38px; height: 38px; background: #f1f4f5; border: 0; border-radius: 5px; font-size: 27px; flex-shrink: 0; }
.cart-product { display: grid; grid-template-columns: 135px 1fr; gap: 22px; }
.cart-product img { width: 100%; aspect-ratio: .9; object-fit: cover; border-radius: 5px; }
.cart-product p { margin: 6px 0; }
.cart-product small { color: #53626d; }
.cart-quantity { display: flex; width: 130px; align-items: center; justify-content: space-between; border: 1px solid #d4dde3; border-radius: 5px; margin-top: 15px; }
.cart-quantity button { background: none; border: 0; font-size: 20px; padding: 8px 14px; }
.text-button { border: 0; padding: 12px 0; background: transparent; text-decoration: underline; color: #4b5b66; }
.cart-summary { border-block: 1px solid #dce3e8; padding-block: 18px; margin-top: 25px; }
.cart-summary > div { display: flex; justify-content: space-between; gap: 15px; margin-block: 9px; }
.cart-summary dd { margin: 0; font-weight: 650; }
.cart-summary .cart-total { font-weight: 800; margin-top: 24px; }
.full-width { width: 100%; }
.cart-empty { padding: 10px 0 25px; }
.cart-empty p { color: #5c6a73; }
.cart-empty button { width: 100%; margin-top: 20px; }
.image-dialog { width: min(850px, calc(100% - 24px)); text-align: center; }
.image-dialog > .icon-button { float: right; }
.image-dialog > img { display: block; width: 100%; height: min(62dvh, 650px); object-fit: contain; clear: both; }
.image-dialog p { color: #63717c; }
.image-controls { display: flex; justify-content: space-between; gap: 10px; }
.search-dialog input { margin-bottom: 20px; }
#searchResults { display: grid; }
#searchResults a { border-bottom: 1px solid #dfe5e9; padding: 14px 0; font-weight: 650; }
#searchResults a:hover { color: var(--orange); }
.toast { z-index: 50; }
@media (max-width: 1150px) {
  .top { gap: 25px; }
  .mainphoto { height: 430px; }
  .thumb { height: 63px; }
}
@media (max-width: 900px) {
  .galleryrow { grid-template-columns: 56px minmax(0, 1fr); }
  .mainphoto { height: 390px; max-height: 560px; }
  .thumb { height: 55px; }
  .features { margin-left: 0; }
  .purchase { padding-block: 28px; }
  .tabs { margin-inline: -14px; padding-inline: 20px; gap: 24px; }
  .situations-grid { grid-template-columns: 1fr; }
  .situations-grid article { display: grid; grid-template-columns: .8fr 1fr; }
  .situations-grid img { height: 100%; min-height: 200px; }
  .steps-grid, .process-list { grid-template-columns: repeat(2, 1fr); }
  .equipment-section { gap: 28px; }
  .document-list article { grid-template-columns: 1fr 2fr; gap: 12px; }
  .document-list a { grid-column: 2; }
}
@media (max-width: 600px) {
  .galleryrow { grid-template-columns: 44px minmax(0, 1fr); gap: 9px; }
  .thumb { height: 44px; border-radius: 4px; }
  .thumbs { gap: 7px; }
  .mainphoto { height: auto; min-height: 0; aspect-ratio: .85; max-height: none; }
  .purchase h1 { letter-spacing: -1px; }
  .miniassurance { gap: 5px; }
  .tabs { margin-inline: -13px; }
  .product-information > [role="tabpanel"]:not(#details) { padding: 25px 5px 30px; }
  .situations-grid article { grid-template-columns: 1fr; }
  .situations-grid img { height: 210px; }
  .situations-grid article > div { padding: 20px; }
  .equipment-section { grid-template-columns: 1fr; }
  .equipment-list > div { grid-template-columns: 1fr 1.2fr; gap: 12px; }
  .steps-grid { gap: 15px; }
  .fit-form { grid-template-columns: 1fr; padding: 20px 15px; gap: 17px; }
  .document-list article { grid-template-columns: 1fr; gap: 16px; }
  .document-list a { grid-column: 1; text-align: left; }
  .process-list { gap: 18px; }
  dialog { padding: 20px; }
  .cart-product { grid-template-columns: 90px 1fr; gap: 15px; }
  .quote-section > .quote-success { margin-top: 0; }
  .quote-section > .quote-success pre { columns: 1; }
  .mobilebuy { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
