.shopping-tool { max-width: 1120px; margin-inline: auto; }
.shopping-tool .tool-page-header { display: block; }
.shopping-tool [hidden] { display: none !important; }
.shopping-tool :is(h2, h3) { text-transform: none; letter-spacing: normal; }
.shopping-tool-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.shopping-tool-tabs a { color: #173b37; text-decoration: none; padding: 10px 17px; border: 1px solid #dfe7e0; border-radius: 24px; font-size: 14px; }
.shopping-tool-tabs a[aria-current] { background: #173b37; border-color: #173b37; color: #fff; }
.shopping-tool-intro { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid #dfe7e0; font-family: "Fraunces", Georgia, serif; font-size: clamp(20px, 3vw, 30px); color: #173b37; }
.shopping-tool-number { font: 12px system-ui, sans-serif; letter-spacing: .12em; white-space: nowrap; color: #718781; }
.shopping-tool-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 28px; align-items: start; }
.shopping-tool-panel { background: #f4f7f2; border: 1px solid #dfe7e0; padding: clamp(18px, 3vw, 30px); border-radius: 12px; min-width: 0; }
.shopping-step, .shopping-tool-eyebrow { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; color: #617a70; margin: 0 0 16px; }
.shopping-tool label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: #173b37; margin-bottom: 18px; min-width: 0; }
.shopping-tool input, .shopping-tool select { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #bdcdc3; border-radius: 6px; background: #fff; color: #173b37; font: 15px system-ui, sans-serif; min-width: 0; }
.shopping-tool :is(input, select, button, a, summary):focus-visible { outline: 3px solid #a47843; outline-offset: 3px; }
.shopping-tool :disabled { opacity: .55; cursor: not-allowed; }
.shopping-tool .shopping-tool-note, .shopping-catalog-status { font-size: 12px; line-height: 1.65; color: #61736b; font-weight: 400; }
.shopping-tool button { font: 600 13px system-ui, sans-serif; cursor: pointer; border-radius: 6px; padding: 12px 16px; }
.shopping-tool-primary { background: #173b37; color: #fff; border: 1px solid #173b37; display: inline-flex; gap: 24px; align-items: center; justify-content: space-between; }
.shopping-tool-primary:hover { background: #28534a; }
.shopping-tool-secondary { background: transparent; border: 1px solid #bdcdc3; color: #173b37; }
.shopping-tool-secondary:hover { background: #edf3ed; }
.shopping-tool-results { min-width: 0; }
.shopping-tool-results h2 { font: 26px/1.25 "Fraunces", Georgia, serif; color: #173b37; margin-top: 0; }
.shopping-empty { background: #fff; border: 1px dashed #bdcdc3; border-radius: 12px; padding: 55px 28px; text-align: center; color: #61736b; line-height: 1.6; }
.shopping-empty > span { display: block; font-size: 48px; margin-bottom: 20px; color: #9cab8e; }
.shopping-recommendation { display: grid; grid-template-columns: minmax(120px, 180px) 32px minmax(0, 1fr); gap: 15px; padding: 22px 0; border-bottom: 1px solid #dfe7e0; align-items: start; }
.shopping-recommendation-image { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f4f3f1; border-radius: 6px; }
.shopping-recommendation-image--empty { display: grid; place-items: center; color: #61736b; font-size: 12px; }
.shopping-recommendation-copy { min-width: 0; }
.shopping-result-rank { color: #a47843; font: 24px "Fraunces", Georgia, serif; }
.shopping-recommendation h3 { color: #173b37; font: 20px/1.35 "Fraunces", Georgia, serif; margin: 4px 0 12px; }
.shopping-recommendation ul { font-size: 13px; color: #425d52; padding-left: 19px; line-height: 1.8; }
.shopping-recommendation .shopping-tool-eyebrow { margin-bottom: 5px; }
.shopping-two-col, .shopping-three-col { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shopping-three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shopping-tool fieldset { min-width: 0; border: 1px solid #dfe7e0; border-radius: 8px; padding: 15px; margin: 20px 0; }
.shopping-tool legend { font-size: 13px; font-weight: 600; color: #173b37; padding: 0 5px; }
.shopping-tool details { margin-bottom: 20px; border-bottom: 1px solid #dfe7e0; }
.shopping-tool summary { cursor: pointer; color: #425d52; font-size: 13px; padding: 12px 0; }
.shopping-tool .shopping-checkbox { display: flex; align-items: start; gap: 9px; font-weight: 400; line-height: 1.5; }
.shopping-checkbox input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #173b37; flex-shrink: 0; }
.shopping-cost-toolbar { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.shopping-cost-toolbar > div { flex: 1; }
.shopping-cost-toolbar .shopping-two-col { max-width: 540px; }
.shopping-cost-toolbar button { flex-shrink: 0; }
.shopping-cost-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shopping-tool fieldset.shopping-cost-option { padding: 24px; }
#cost-results { margin-top: 30px; }
.shopping-table-scroll { overflow-x: auto; border: 1px solid #dfe7e0; border-radius: 8px; }
.shopping-tool table { border-collapse: collapse; font-size: 13px; width: 100%; color: #173b37; }
.shopping-tool caption { text-align: left; padding: 16px; font-weight: 600; background: #edf3ed; }
.shopping-tool th, .shopping-tool td { padding: 14px; text-align: right; border-bottom: 1px solid #dfe7e0; white-space: nowrap; }
.shopping-tool th:first-child { text-align: left; white-space: normal; min-width: 150px; overflow-wrap: anywhere; }
.shopping-tool td:last-child { font-weight: 700; background: #f4f7f2; }
.shopping-cost-bars { margin-top: 25px; }
.shopping-cost-bars > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 16px; margin: 15px 0; font-size: 13px; color: #173b37; }
.shopping-cost-bars span { overflow-wrap: anywhere; }
.shopping-bar { height: 9px; border-radius: 10px; overflow: hidden; background: #e5ece3; }
.shopping-bar i { display: block; height: 100%; border-radius: inherit; background: #527968; }
.shopping-bar.is-over i { background: #ac684d; }
.shopping-fit-verdict { padding: 25px; border-radius: 12px; background: #e8f0e4; color: #173b37; }
.shopping-fit-verdict.is-no-fit { background: #f6e9df; color: #784b36; }
.shopping-fit-verdict p:last-child { font-size: 13px; line-height: 1.7; margin-bottom: 0; }
.shopping-clearance > div { margin: 26px 0; }
.shopping-axis-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13px; color: #173b37; }
.shopping-clearance small { display: block; color: #61736b; line-height: 1.6; margin-top: 8px; }
.shopping-home-tools { max-width: 1200px; margin: 40px auto; padding: 30px 24px; }
.shopping-home-tools h2 { font: clamp(26px, 3vw, 38px) "Fraunces", Georgia, serif; color: #173b37; }
.shopping-home-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shopping-home-tools-grid a { display: block; padding: 25px; border: 1px solid #dfe7e0; border-radius: 12px; background: #f4f7f2; text-decoration: none; color: #173b37; }
.shopping-home-tools-grid a:hover { background: #e8f0e4; }
.shopping-home-tools-grid span { color: #a47843; }
.shopping-home-tools-grid h3 { font: 24px "Fraunces", Georgia, serif; }
.shopping-home-tools-grid p { font-size: 13px; line-height: 1.7; color: #61736b; }
.shopping-home-tools-grid strong { display: block; margin-top: 20px; font-size: 13px; }
@media (max-width: 700px) {
  .shopping-tool-layout, .shopping-cost-options, .shopping-home-tools-grid { grid-template-columns: 1fr; }
  .shopping-tool-tabs a { padding: 9px 12px; font-size: 12px; }
  .shopping-cost-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .shopping-cost-bars > div { grid-template-columns: minmax(0, 1fr) auto; }
  .shopping-cost-bars .shopping-bar { grid-row: 2; grid-column: 1 / -1; }
  .shopping-three-col { gap: 8px; }
  .shopping-tool fieldset { padding: 10px; }
  .shopping-tool input, .shopping-tool select { font-size: 16px; padding: 10px 8px; }
  .shopping-tool :is(.shopping-three-col, .shopping-two-col) label { font-size: 12px; }
  .shopping-tool-intro { font-size: 22px; }
}
