/* DOUBLES HOMEPAGE V2 — compact independent store/service cards and configurable categories. */
.locations-section{margin-bottom:30px}
.locations-title{margin-bottom:14px}
.locations-grid{gap:14px;align-items:start}
.home-contact-card{padding:18px 20px 17px;gap:0;min-height:0}
.home-contact-card .location-card-head{min-height:34px;gap:9px}
.home-contact-card .location-visual{width:36px;height:36px;border-radius:11px}
.home-contact-card .location-visual .icon{width:20px;height:20px}
.home-contact-card h3{font-size:19px;margin:5px 0 5px;color:var(--text,#152238)}
.home-contact-card .location-lead{font-size:12px;line-height:1.45;min-height:0;margin:0 0 12px;color:var(--muted,#768398)}
.home-contact-card .compact-contact-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px;margin:0 0 12px;flex:none;font-size:12px;line-height:1.4}
.home-contact-card .contact-detail{display:flex;flex-direction:column;gap:3px;min-width:0}
.home-contact-card .detail-key{font-size:10px;color:var(--muted,#768398);letter-spacing:.1px}
.home-contact-card .detail-value{font-size:12px;line-height:1.4;color:var(--text,#152238);overflow-wrap:anywhere}
.home-contact-card .location-details a{color:var(--text,#152238);text-decoration-color:var(--border,#d9e0e8)}
.home-contact-card .location-details .contact-value{font-size:14px;font-weight:850;white-space:normal}
.home-contact-card .location-actions{gap:9px;margin-top:auto;min-height:38px}
.home-contact-card .location-primary{min-height:38px;padding:0 13px;font-size:11px;gap:9px}
.home-contact-card .location-secondary{font-size:11px;padding:7px 3px}
.shop-highlights{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 0 12px}
.shop-highlights>span{font-size:10px;color:var(--muted,#768398);margin-right:2px}
.shop-highlights>b{font-size:9px;font-weight:750;color:var(--text,#152238);background:var(--surface-soft,#f3f5f8);border:1px solid var(--border,#e6eaf0);border-radius:20px;padding:4px 7px}
.service-repair-toggle{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 8px;border:1px solid var(--border,#dfe5ec);border-radius:8px;background:var(--surface-soft,#f6f7f9);color:var(--text,#27364b);font-size:11px;font-weight:750;cursor:pointer;transition:border-color .18s,color .18s,background .18s}
.service-repair-toggle:hover,.service-repair-toggle:focus-visible{border-color:var(--red,#d43a49);color:var(--red,#d43a49)}
.service-repair-toggle .icon{width:14px;height:14px;transition:transform .18s}
.service-repair-toggle.is-open .icon{transform:rotate(90deg)}
.repair-devices-section--embedded{width:100%;margin:13px 0 0;padding:12px 0 0;border-top:1px solid var(--border,#dfe5ec)}
.repair-devices-section--embedded .repair-devices-heading{display:none}
.repair-devices-section--embedded .repair-devices-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.repair-devices-section--embedded .repair-device-card{aspect-ratio:1.3;border-radius:9px}
.repair-devices-section--embedded .repair-device-copy{padding:7px 8px 8px;gap:2px}
.repair-devices-section--embedded .repair-device-copy strong{font-size:clamp(10px,1vw,13px);line-height:1.15}
.repair-devices-section--embedded .repair-device-copy span{font-size:9px;line-height:1.2}
.repair-devices-section:not(.repair-devices-section--embedded){margin:22px 0 0}
html[data-home-contacts="off"] #contacts{display:none!important}
html[data-home-categories="off"] .category-section{display:none!important}
html[data-home-showcase="off"] .hero-showcase{display:none!important}
html[data-home-showcase="off"] .hero-v3 .hero-content{flex:1 1 100%}
html[data-home-seasonal-banner="off"] .ds4-strip{display:none!important}
html[data-home-seasonal-size="compact"] .ds4-strip{min-height:max(var(--ds4-strip-height,0px),112px)!important;padding-block:9px!important}
html[data-home-seasonal-size="compact"] .ds4-strip.ds434-winter:has(.ds434-scene){min-height:max(var(--ds4-strip-height,0px),112px)!important;padding-block:9px!important}
html[data-home-seasonal-size="compact"] .ds4-strip .ds2-title{font-size:clamp(22px,2.4vw,35px)!important;line-height:1.12}
html[data-home-seasonal-size="compact"] .ds4-strip .ds2-subtitle{font-size:clamp(10px,1vw,13px);margin-top:3px}
html[data-home-seasonal-size="normal"] .ds4-strip.ds434-winter:has(.ds434-scene){min-height:max(var(--ds4-strip-height,0px),176px)}
html[data-home-contacts-style="full"] .home-contact-card{padding:26px 28px 24px}
html[data-home-contacts-style="full"] .home-contact-card .location-lead{margin-bottom:18px}
html[data-home-contacts-style="full"] .home-contact-card .compact-contact-details{gap:13px 18px;margin-bottom:20px}
html[data-home-contacts-style="full"] .home-contact-card .location-primary{min-height:43px}
@media(max-width:900px){
 .locations-grid{grid-template-columns:1fr}
 .repair-devices-section--embedded .repair-devices-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .repair-devices-section--embedded .repair-device-card{aspect-ratio:1.45}
}
@media(max-width:650px){
 .locations-section{margin-bottom:25px}
 .locations-title{margin-bottom:12px}
 .home-contact-card{padding:17px 16px 15px}
 .home-contact-card h3{font-size:18px}
 .home-contact-card .compact-contact-details{gap:8px 11px}
 .home-contact-card .location-actions{gap:7px}
 .home-contact-card .location-primary{font-size:10px;padding:0 10px}
 .service-repair-toggle{font-size:10px;padding:0 7px}
 .repair-devices-section--embedded .repair-devices-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .repair-devices-section--embedded .repair-device-card{aspect-ratio:1.55}
 .repair-devices-section--embedded .repair-device-copy strong{font-size:13px}
 .repair-devices-section--embedded .repair-device-copy span{font-size:10px}
 html[data-home-seasonal-size="compact"] .ds4-strip{min-height:max(var(--ds4-strip-height,0px),94px)!important;padding-block:7px!important}
 html[data-home-seasonal-size="compact"] .ds4-strip.ds434-winter:has(.ds434-scene){min-height:max(var(--ds4-strip-height,0px),94px)!important;padding-block:7px!important}
 html[data-home-seasonal-size="compact"] .ds4-strip .ds2-title{font-size:clamp(19px,5vw,25px)!important}
 html[data-home-seasonal-size="compact"] .ds4-strip .ds2-subtitle{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.service-repair-toggle,.service-repair-toggle .icon{transition:none}}

/* Compact categories keep the product list within a shorter scroll. */
html[data-home-contacts-style="compact"] .category-section{margin-top:5px}
html[data-home-contacts-style="compact"] .category-section .section-heading{margin-bottom:14px}
html[data-home-contacts-style="compact"] .category-tile{min-height:108px;padding:13px 12px 11px;gap:10px}
html[data-home-contacts-style="compact"] .category-tile .tile-icon{width:40px;height:40px;border-radius:10px}
html[data-home-contacts-style="compact"] .category-tile .tile-icon .icon{width:22px;height:22px}
html[data-home-contacts-style="compact"] .product-section{padding-top:32px}
.home-contact-card .business-status{min-height:27px;padding:4px 10px;font-size:10px}
@media(max-width:650px){
 html[data-home-contacts-style="compact"] .category-tile{min-height:100px;padding:11px 10px;gap:8px}
 html[data-home-contacts-style="compact"] .category-tile .tile-icon{width:36px;height:36px}
 html[data-home-contacts-style="compact"] .product-section{padding-top:27px}
}


/* The shop and service cards size to their own content; opening one never stretches the other. */
.locations-grid{align-items:start!important}
.home-contact-card{align-self:start;min-height:0}
.home-contact-card .location-details{flex:0 0 auto}
.shop-actions{margin-top:0}
.shop-details-toggle{margin-left:0}
.shop-feature-panel.hero-v3{
  display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);align-items:center;gap:12px;
  width:100%;min-height:0;margin:15px 0 0;padding:13px 0 0;
  border:0;border-top:1px solid var(--border,#dfe5ec);border-radius:0;box-shadow:none;background:transparent;
}
.shop-feature-panel .hero-content{display:flex;flex-direction:column;justify-content:center;flex:initial;min-width:0;padding:6px 8px 6px 0}
.shop-feature-panel .hero-kicker{font-size:9px;letter-spacing:1px;color:var(--muted,#8492a4)}
.shop-feature-panel .mini-bar{width:18px;height:2px;background:var(--red,#e34c58)}
.shop-feature-panel h1{font-size:clamp(22px,2.1vw,30px);letter-spacing:-.8px;line-height:1.12;margin:9px 0;color:var(--text,#eaf0f7)}
.shop-feature-panel h1 em{color:var(--red,#ed666b)}
.shop-feature-panel .hero-content p{font-size:11px;line-height:1.55;margin:0;color:var(--muted,#91a0b2)}
.shop-feature-panel .hero-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.shop-feature-panel .hero-cta,.shop-feature-panel .hero-secondary{min-height:34px;padding:0 10px;border-radius:8px;font-size:10px;gap:7px}
.shop-feature-panel .hero-cta .icon,.shop-feature-panel .hero-secondary .icon{width:13px;height:13px}
.shop-feature-panel .hero-trust{display:flex;gap:9px 13px;flex-wrap:wrap;margin-top:11px;font-size:9px;color:var(--muted,#91a0b2)}
.shop-feature-panel .hero-trust span{display:inline-flex;align-items:center;gap:4px}
.shop-feature-panel .hero-trust .icon{width:12px;height:12px;color:#22ad91}
.shop-feature-panel .hero-showcase{min-width:0;padding:2px 0 2px 4px;justify-content:center}
.shop-feature-panel .showcase-heading{font-size:13px;letter-spacing:.55px;margin-bottom:8px}
.shop-feature-panel .showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.shop-feature-panel .showcase-grid .showcase-tile{min-height:var(--home-card-height,112px);border-radius:9px}
.shop-feature-panel .showcase-tile.has-image .home-tile-copy{padding:9px 10px 8px}
.shop-feature-panel .showcase-tile.has-image .home-tile-copy strong{font-size:clamp(11px,var(--home-card-title-size,16px),17px)!important}
.shop-feature-panel .showcase-tile.has-image .home-tile-copy span{font-size:clamp(9px,var(--home-card-desc-size,11px),12px)!important}
html[data-home-showcase="off"] .shop-feature-panel .hero-content{grid-column:1/-1}
html[data-home-showcase="off"] .shop-feature-panel .hero-buttons{margin-top:10px}
html[data-home-contacts-style="full"] .shop-feature-panel.hero-v3{margin-top:19px;padding-top:17px}
@media(max-width:900px){
 .shop-feature-panel.hero-v3{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}
 .shop-feature-panel .hero-content{padding:5px 3px 5px 0}
 .shop-feature-panel h1{font-size:clamp(22px,3vw,29px)}
 .shop-feature-panel .showcase-grid .showcase-tile{min-height:110px}
}
@media(max-width:650px){
 .shop-feature-panel.hero-v3{grid-template-columns:1fr;gap:10px;margin-top:12px;padding-top:12px}
 .shop-feature-panel .hero-content{padding:0}
 .shop-feature-panel h1{font-size:26px;margin:7px 0}
 .shop-feature-panel .hero-content p{font-size:11px}
 .shop-feature-panel .hero-showcase{padding:0}
 .shop-feature-panel .showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .shop-feature-panel .showcase-grid .showcase-tile{min-height:105px}
 .shop-feature-panel .showcase-heading{font-size:12px;margin-bottom:7px}
 .shop-feature-panel .hero-trust{gap:7px 10px}
 .shop-actions{gap:8px}
 .shop-actions .location-primary{min-height:36px}
}
html[data-theme="dark"] .shop-feature-panel.hero-v3{background:transparent!important;border:0!important;border-top:1px solid var(--border,#3b4758)!important}

/* Homepage seasonal lane: full content width, outside the shop and service cards. */
#landing > .ds4-plow-lane.ds-home-catalog-lane{width:100%;max-width:none;margin:0 0 10px}

/* DoubleS Homepage 2.0.3 — full-width details, aligned contact cards. */
#contacts .locations-grid{align-items:stretch!important;grid-auto-flow:row}
#contacts .home-contact-card{align-self:stretch;min-width:0;min-height:0}
#contacts .home-contact-card .location-actions{margin-top:auto}
#contacts .home-contact-card .location-secondary{color:var(--text);opacity:.85}
#contacts .home-contact-card .location-secondary:hover{opacity:1;color:var(--red,#e34c58)}
#contacts .shop-card{order:1}
#contacts .repair-card{order:2}
#contacts .home-detail-panel{grid-column:1/-1;order:3;min-width:0;scroll-margin-top:16px}
#contacts #shopDetailsPanel.hero-v3,#contacts #repairDevicesSection.repair-devices-section--embedded{
  display:block;width:100%;margin:0;padding:19px 20px;min-height:0;box-sizing:border-box;
  background:var(--surface,#fff)!important;border:1px solid var(--border,#dfe5ec)!important;border-radius:17px;
  box-shadow:none;
}
#contacts #shopDetailsPanel[hidden],#contacts #repairDevicesSection[hidden]{display:none!important}
#contacts #shopDetailsPanel .hero-content{display:block;width:100%;padding:0 0 12px;position:relative;z-index:2}
#contacts #shopDetailsPanel h1{font-size:clamp(19px,1.8vw,25px);line-height:1.25;letter-spacing:-.4px;margin:0 0 5px}
#contacts #shopDetailsPanel .hero-content p{font-size:13px;line-height:1.5;max-width:none;margin:0}
#contacts #shopDetailsPanel .hero-trust{display:flex;gap:8px 18px;font-size:12px;margin:7px 0 0}
#contacts #shopDetailsPanel .hero-showcase{padding:0;width:100%;min-width:0}
#contacts #shopDetailsPanel .showcase-heading{margin:0 0 10px}
#contacts #shopDetailsPanel .showcase-grid,#contacts #repairDevicesSection .repair-devices-grid{
 grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;
}
#contacts #shopDetailsPanel .showcase-grid .showcase-tile{min-height:max(160px,var(--home-card-height,137px));border-radius:12px}
#contacts #shopDetailsPanel .showcase-tile.has-image .home-tile-copy{padding:12px 13px}
#contacts #shopDetailsPanel .showcase-tile .home-tile-copy strong{font-size:max(16px,var(--home-card-title-size,16px))!important;overflow-wrap:normal;hyphens:auto}
#contacts #shopDetailsPanel .showcase-tile .home-tile-copy span{font-size:max(12px,var(--home-card-desc-size,11px))!important;overflow-wrap:normal;hyphens:auto}
#contacts #repairDevicesSection .repair-devices-heading{display:flex;margin-bottom:12px}
#contacts #repairDevicesSection .repair-device-card{aspect-ratio:1.48;border-radius:12px}
#contacts #repairDevicesSection .repair-device-copy{padding:12px 13px;gap:4px}
#contacts #repairDevicesSection .repair-device-copy strong{font-size:max(16px,var(--repair-title-size,17px))!important;overflow-wrap:normal;hyphens:auto}
#contacts #repairDevicesSection .repair-device-copy span{font-size:max(12px,var(--repair-description-size,11px))!important;overflow-wrap:normal;hyphens:auto}
@media(max-width:900px){
 #contacts .locations-grid{grid-template-columns:minmax(0,1fr)}
 #contacts .shop-card{order:1}
 #contacts #shopDetailsPanel{order:2}
 #contacts .repair-card{order:3}
 #contacts #repairDevicesSection{order:4}
 #contacts .home-contact-card{align-self:start}
 #contacts #shopDetailsPanel .showcase-grid,#contacts #repairDevicesSection .repair-devices-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 #contacts #shopDetailsPanel.hero-v3,#contacts #repairDevicesSection.repair-devices-section--embedded{padding:14px 12px}
 #contacts #shopDetailsPanel .showcase-grid,#contacts #repairDevicesSection .repair-devices-grid{gap:9px}
 #contacts #shopDetailsPanel .showcase-grid .showcase-tile{min-height:max(135px,var(--home-card-height,137px))}
 #contacts #repairDevicesSection .repair-device-card{aspect-ratio:1.25}
 #contacts #shopDetailsPanel .showcase-tile.has-image .home-tile-copy,#contacts #repairDevicesSection .repair-device-copy{padding:8px 9px}
 #contacts #shopDetailsPanel .showcase-tile .home-tile-copy strong,#contacts #repairDevicesSection .repair-device-copy strong{font-size:clamp(15px,var(--home-card-title-size,var(--repair-title-size,16px)),19px)!important}
 #contacts #shopDetailsPanel .showcase-tile .home-tile-copy span,#contacts #repairDevicesSection .repair-device-copy span{font-size:clamp(11px,var(--home-card-desc-size,var(--repair-description-size,12px)),14px)!important}
}


/* DoubleS Homepage 2.0.4 — popular categories: stretch visible tiles, not empty columns. */
#categoryTiles {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 13px;
}
#categoryTiles > .category-tile {
  flex: 1 1 max(150px, calc((100% - 91px) / 8));
  min-width: 0;
  box-sizing: border-box;
}
#categoryTiles > .category-tile[hidden] { display: none !important; }
#categoryTiles .tile-title { overflow-wrap: anywhere; }
@media (max-width: 620px) {
  #categoryTiles { gap: 10px; }
  #categoryTiles > .category-tile { flex-basis: calc((100% - 10px) / 2); }
}
