/* Homepage only: clear shopping path, compact tools and editorial groups. */
.home-refresh-v2 main.container > section { margin-block: 42px; }
.home-refresh-v2 main.container > .home-hero { margin-top: 20px; }
.home-refresh-v2 .home-hero-split { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 20px; }
.home-refresh-v2 .home-hero-feature { min-height: 385px; border-radius: 18px; }
.home-refresh-v2 .home-hero-content { padding: 30px; }
.home-refresh-v2 .home-hero-content h1 { font-size: clamp(30px,3.2vw,42px); line-height: 1.12; max-width: 17ch; }
.home-refresh-v2 .home-hero-search input,
.home-refresh-v2 .home-hero-search button { min-height: 48px; }
.home-refresh-v2 .home-section-kicker { margin: 0 0 7px; color: #65816d; font-size: 10px; font-weight: 800; line-height: 1.4; letter-spacing: .1em; }
.home-refresh-v2 .home-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 20px; }
.home-refresh-v2 .home-section-head h2 { margin: 0; color: #203c2d; font-size: clamp(23px,2.6vw,30px); line-height: 1.2; letter-spacing: -.025em; }
.home-refresh-v2 .home-section-head p:not(.home-section-kicker) { margin: 9px 0 0; color: #64786a; font-size: 14px; line-height: 1.6; }
.home-refresh-v2 .home-section-more { display: inline-flex; align-items: center; gap: 14px; min-height: 43px; padding: 10px 14px; border: 1px solid #dce7dd; border-radius: 9px; background: #fff; color: #245d3c; font-size: 13px; font-weight: 750; text-decoration: none; }
.home-refresh-v2 .home-section-more:hover { background: #eef5ec; }
.home-start-guide { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 24px; border: 1px solid #e0e9de; border-radius: 18px; background: #f5f8f2; }
.home-start-guide h2 { margin: 0 0 16px; font-size: 24px; color: #224931; letter-spacing: -.025em; }
.home-start-links { display: grid; gap: 9px; }
.home-start-links > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 65px; padding: 12px 15px; border: 1px solid #dfe8dc; border-radius: 11px; background: #fff; color: #274e34; text-decoration: none; transition: border-color .15s,background-color .15s; }
.home-start-links > a:hover { background: #edf5e9; border-color: #afc5a6; }
.home-start-links strong,.home-start-links small { display: block; }
.home-start-links strong { font-size: 15px; font-weight: 750; }
.home-start-links small { margin-top: 3px; color: #6d7f70; font-size: 12px; line-height: 1.4; }
.home-start-links b { flex: none; color: #76946c; font-size: 18px; }
.home-refresh-v2 .home-techniques-grid { gap: 14px; }
.home-refresh-v2 .home-technique-card { box-shadow: none; }
.home-refresh-v2 .home-technique-media img { height: 122px; object-fit: cover; }
.home-refresh-v2 .home-technique-copy { padding: 13px; }
.home-refresh-v2 .home-technique-copy h3 { font-size: 17px; }
.home-refresh-v2 .home-technique-copy p { font-size: 12px; line-height: 1.5; }
.home-refresh-v2 .home-technique-cta { font-size: 12px; }
.home-refresh-v2 .home-technique-guide { min-height: 38px; font-size: 11px; }
.home-refresh-v2 .home-product-grid { display: block; }
.home-refresh-v2 .home-stock-section .product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.home-refresh-v2 .home-stock-section .product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e0e7dc; border-radius: 13px; background: #fff; box-shadow: none; }
.home-refresh-v2 .home-stock-section .product-badges { display: none; }
.home-refresh-v2 .home-stock-section .product-image { display: grid; place-items: center; height: 190px; padding: 14px; border-bottom: 1px solid #edf1e9; background: #fff; }
.home-refresh-v2 .home-stock-section .product-image img { width: 100%; height: 100%; max-height: 165px; object-fit: contain; }
.home-refresh-v2 .home-stock-section .product-card-body { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: 18px 58px 17px 32px 22px 44px; gap: 5px; flex: 1; padding: 16px; }
.home-refresh-v2 .home-stock-section .product-card-body > small { grid-row: 1; color: #70806c; font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-refresh-v2 .home-stock-section .product-title { grid-row: 2; margin: 0; }
.home-refresh-v2 .home-stock-section .product-title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #264c32; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.home-refresh-v2 .home-stock-section .product-title a:hover { text-decoration: underline; }
.home-refresh-v2 .home-stock-section .product-card-body > del { grid-row: 3; margin: 0; color: #849080; font-size: 12px; }
.home-refresh-v2 .home-stock-section .price { grid-row: 4; margin: 0; color: #203c29; font-size: 21px; font-weight: 800; line-height: 1.4; }
.home-refresh-v2 .home-stock-section .card-meta { grid-row: 5; display: flex; justify-content: space-between; align-items: center; gap: 5px; margin: 0; }
.home-refresh-v2 .home-stock-section .card-meta small { font-size: 11px; }
.home-refresh-v2 .home-stock-section .stock-ok { color: #367447; }
.home-refresh-v2 .home-stock-section .card-actions { grid-row: 6; display: block; margin: 0; padding: 0; }
.home-refresh-v2 .home-stock-section .card-actions .btn { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; padding: 10px; border-radius: 8px; border: 0; background: #24683e; color: #fff; font-size: 14px; font-weight: 750; }
.home-refresh-v2 .home-stock-section .card-actions .btn:hover { background: #1a5430; }
.home-refresh-v2 .home-category-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 13px; }
.home-refresh-v2 .home-category-grid > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 165px; padding: 13px; border: 1px solid #dfe7db; border-radius: 12px; background: #fff; box-shadow: none; text-decoration: none; }
.home-refresh-v2 .home-category-grid > a:hover { background: #f5f8f0; border-color: #afc6a3; }
.home-refresh-v2 .home-category-grid img { width: 120px; height: 105px; margin: 0; object-fit: contain; }
.home-refresh-v2 .home-category-grid strong { color: #285238; font-size: 14px; line-height: 1.35; text-align: center; }
.home-refresh-v2 .home-reviry .revir-grid { grid-template-columns: 1fr; }
.home-water-tabs { display: flex; gap: 7px; padding: 5px; width: fit-content; max-width: 100%; margin-bottom: 14px; border: 1px solid #dce7db; border-radius: 11px; background: #f0f5eb; }
.home-water-tabs button { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 15px; border: 0; border-radius: 7px; background: none; color: #64775f; font: 650 13px system-ui,sans-serif; cursor: pointer; }
.home-water-tabs button span { font-size: 10px; font-weight: 550; }
.home-water-tabs button[aria-selected="true"] { background: #fff; color: #225e36; box-shadow: 0 1px 5px #274c2412; }
.home-refresh-v2 [data-home-water-group][hidden],.home-refresh-v2 [data-home-water-tabs][hidden] { display: none !important; }
.home-refresh-v2 .revir-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 12px 20px; padding: 18px; box-shadow: none; }
.home-refresh-v2 .revir-card-head { grid-column: 1/-1; padding: 0; }
.home-refresh-v2 .revir-card-head h3 { display: inline-block; margin: 0 12px; font-size: 17px; }
.home-refresh-v2 .revir-card-head > p { display: inline; font-size: 12px; }
.home-refresh-v2 .revir-card .revir-map { margin: 0; width: 100%; height: 265px; }
.home-refresh-v2 .revir-card .revir-map svg { width: 100%; height: 100%; }
.home-refresh-v2 .revir-card .revir-directory { padding: 0; min-width: 0; }
.home-refresh-v2 .revir-card .revir-list { max-height: 172px; overflow: auto; }
.home-refresh-v2 .revir-card .revir-list li a { min-height: 42px; padding-block: 7px; }
.home-refresh-v2 .revir-card .revir-sources { grid-column: 1/-1; margin: 0; padding: 7px 0 0; border-top: 1px solid #e8eee3; font-size: 11px; }
.home-refresh-v2 .revir-footnote { font-size: 11px; margin-top: 10px; }
.home-trip-note { margin-top: 14px; padding: 13px 16px; background: #f4f7f0; border: 1px solid #e1e8d9; border-radius: 9px; }
.home-trip-note summary { color: #355638; font-size: 13px; font-weight: 700; cursor: pointer; }
.home-trip-note p { color: #60705a; font-size: 13px; line-height: 1.6; }
.home-refresh-v2 .home-store-compact { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 22px 40px; padding: 24px; border: 1px solid #dce6d6; border-radius: 14px; background: #f3f7ee; }
.home-store-compact h2 { margin: 0; font-size: 22px; color: #284f32; }
.home-store-compact p:not(.home-section-kicker) { margin: 8px 0; font-size: 13px; color: #64745d; }
.home-store-compact a { color: #2b623b; font-size: 12px; font-weight: 700; }
.home-store-compact label { display: block; margin-bottom: 7px; font-size: 12px; color: #4f6b50; font-weight: 650; }
.home-store-compact form > div { display: flex; gap: 8px; }
.home-store-compact input[type="search"] { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #ceddc8; border-radius: 8px; font: 13px system-ui,sans-serif; background: #fff; color: #23452c; }
.home-store-compact button { flex: none; min-height: 44px; padding: 10px 13px; border: 0; border-radius: 8px; background: #28663d; color: #fff; font: 700 12px system-ui,sans-serif; cursor: pointer; }
.home-editorial-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.home-editorial-group > h3 { margin: 0 0 13px; font-size: 17px; color: #4c684c; }
.home-editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.home-editorial-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid #e0e7db; border-radius: 12px; background: #fff; }
.home-editorial-image { display: block; background: #f2f6ee; }
.home-editorial-image img { display: block; width: 100%; height: 145px; object-fit: cover; }
.home-editorial-card > div { display: flex; flex-direction: column; flex: 1; padding: 14px; }
.home-editorial-card h4 { margin: 0 0 9px; font-size: 14px; line-height: 1.45; }
.home-editorial-card h4 a { color: #294e34; text-decoration: none; }
.home-editorial-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 13px; color: #6b7a64; font-size: 12px; line-height: 1.6; }
.home-editorial-read { margin-top: auto; color: #2a6038; font-size: 12px; font-weight: 750; text-decoration: none; }
.home-refresh-v2 .chooser-cta { padding: 23px 26px; border: 1px solid #dce8d5; border-radius: 12px; background: #f3f7ee; }
.home-refresh-v2 .chooser-cta h2 { margin-top: 0; color: #284d31; }
.home-refresh-v2 .chooser-cta .button { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 8px; background: #28653d; color: #fff; font-weight: 700; text-decoration: none; }
.home-refresh-v2 main a:focus-visible,.home-refresh-v2 main button:focus-visible,.home-refresh-v2 main summary:focus-visible { outline: 3px solid #6c9657; outline-offset: 3px; }
@media(max-width:900px) {
 .home-refresh-v2 .home-hero-split { grid-template-columns: 1fr; }
 .home-refresh-v2 .home-hero-feature { min-height: 340px; }
 .home-start-links { grid-template-columns: 1fr 1fr; }
 .home-start-guide { padding: 20px; }
 .home-refresh-v2 .home-techniques-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .home-refresh-v2 .home-stock-section .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .home-refresh-v2 .home-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .home-editorial-groups { grid-template-columns: 1fr; }
}
@media(max-width:600px) {
 .home-refresh-v2 main.container > section { margin-block: 30px; }
 .home-refresh-v2 main.container > .home-hero { margin-top: 14px; }
 .home-refresh-v2 .home-hero-content { padding: 23px 20px; }
 .home-refresh-v2 .home-hero-content h1 { font-size: 29px; max-width: 17ch; }
 .home-refresh-v2 .home-hero-content > p { font-size: 14px; line-height: 1.5; }
 .home-refresh-v2 .home-hero-feature { min-height: 350px; }
 .home-refresh-v2 .home-hero-split { gap: 13px; }
 .home-start-guide { padding: 17px; border-radius: 14px; }
 .home-start-guide h2 { margin-bottom: 13px; font-size: 20px; }
 .home-start-links { gap: 8px; }
 .home-start-links > a { align-items: flex-start; min-height: 96px; padding: 12px; gap: 4px; }
 .home-start-links strong { font-size: 13px; line-height: 1.35; }
 .home-start-links small { font-size: 11px; line-height: 1.45; }
 .home-start-links b { font-size: 14px; }
 .home-refresh-v2 .home-section-head { gap: 12px; margin-bottom: 16px; }
 .home-refresh-v2 .home-section-head h2 { font-size: 23px; }
 .home-refresh-v2 .home-section-head p:not(.home-section-kicker) { font-size: 13px; }
 .home-refresh-v2 .home-section-kicker { font-size: 9px; }
 .home-refresh-v2 .home-techniques-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .home-refresh-v2 .home-technique-main { display: block; }
 .home-refresh-v2 .home-technique-media { width: 100%; }
 .home-refresh-v2 .home-technique-media img { height: 84px; width: 100%; object-fit: cover; }
 .home-refresh-v2 .home-technique-copy { padding: 11px; }
 .home-refresh-v2 .home-technique-copy h3 { font-size: 15px; }
 .home-refresh-v2 .home-technique-copy p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; line-height: 1.4; }
 .home-refresh-v2 .home-technique-cta { font-size: 11px; }
 .home-refresh-v2 .home-technique-guide { padding: 9px; font-size: 10px; min-height: 40px; }
 .home-refresh-v2 .home-technique-card:last-child { grid-column: 1/-1; }
 .home-refresh-v2 .home-technique-card:last-child .home-technique-main { display: grid; grid-template-columns: 37% 1fr; align-items: center; }
 .home-refresh-v2 .home-technique-card:last-child .home-technique-media img { height: 115px; }
 .home-refresh-v2 .home-stock-section .product-grid { gap: 10px; }
 .home-refresh-v2 .home-stock-section .product-image { height: 138px; padding: 10px; }
 .home-refresh-v2 .home-stock-section .product-image img { max-height: 118px; }
 .home-refresh-v2 .home-stock-section .product-card-body { padding: 12px; grid-template-rows: 17px 56px 15px 29px 20px 44px; gap: 4px; }
 .home-refresh-v2 .home-stock-section .product-title a { font-size: 13px; }
 .home-refresh-v2 .home-stock-section .price { font-size: 18px; }
 .home-refresh-v2 .home-stock-section .card-meta small { font-size: 10px; }
 .home-refresh-v2 .home-stock-section .card-actions .btn { font-size: 12px; }
 .home-refresh-v2 .home-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .home-refresh-v2 .home-category-grid > a { min-height: 128px; padding: 11px; gap: 6px; }
 .home-refresh-v2 .home-category-grid img { width: 95px; height: 79px; }
 .home-refresh-v2 .home-category-grid strong { font-size: 12px; }
 .home-refresh-v2 .home-reviry-intro h2 { font-size: 23px; }
 .home-refresh-v2 .home-reviry-intro p { font-size: 13px; }
 .home-water-tabs { width: 100%; }
 .home-water-tabs button { flex: 1; justify-content: center; padding: 9px 8px; font-size: 12px; }
 .home-water-tabs button span { display: none; }
 .home-refresh-v2 .revir-card { grid-template-columns: 1fr; gap: 11px; padding: 12px; }
 .home-refresh-v2 .revir-card-head h3 { display: block; margin: 7px 0 0; }
 .home-refresh-v2 .revir-card-head > p { display: none; }
 .home-refresh-v2 .revir-card .revir-map { height: 190px; }
 .home-refresh-v2 .revir-card .revir-list { max-height: 155px; }
 .home-refresh-v2 .revir-card .revir-count { font-size: 10px; }
 .home-refresh-v2 .home-store-compact { grid-template-columns: 1fr; padding: 19px; gap: 18px; }
 .home-store-compact h2 { font-size: 21px; }
 .home-store-compact form > div { flex-direction: column; }
 .home-editorial-groups { gap: 23px; }
 .home-editorial-grid { gap: 10px; }
 .home-editorial-group > h3 { font-size: 16px; }
 .home-editorial-image img { height: 105px; }
 .home-editorial-card > div { padding: 12px; }
 .home-editorial-card h4 { font-size: 13px; }
 .home-editorial-card p { font-size: 11px; }
 .home-refresh-v2 .chooser-cta { padding: 20px; }
}
@media(prefers-reduced-motion:reduce) { .home-start-links > a { transition:none; } }

/* Reset the older horizontal-card inset on compact two-column cards. */
@media(max-width:600px) {
 body.home-refresh-v2 .home-techniques.home-techniques-cards .home-technique-card { display: flex; flex-direction: column; }
 body.home-refresh-v2 .home-techniques.home-techniques-cards .home-technique-main { flex: 1; min-width: 0; }
 body.home-refresh-v2 .home-techniques.home-techniques-cards .home-technique-card > .home-technique-guide {
  display: grid; grid-template-columns: minmax(0,1fr) 16px; align-items: center; align-content: center; gap: 8px;
  box-sizing: border-box; width: 100%; height: 60px; min-height: 60px; margin-top: auto;
  padding: 10px 12px !important; font-size: 12px !important; line-height: 1.45;
  text-align: left; white-space: normal; overflow-wrap: normal !important; word-break: normal;
 }
 body.home-refresh-v2 .home-techniques.home-techniques-cards .home-technique-guide > span { display: block; margin: 0; text-align: right; }
}
