/* v4: overrides for reliable mobile-first shopping and verified inventory facets */
.casa-shop, .casa-shop * {box-sizing:border-box}
.casa-shop .casa-hero-inner{align-items:center}
.casa-shop .casa-hero-help,
.casa-shop .casa-hero-help:link,
.casa-shop .casa-hero-help:visited{
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  position:relative!important;float:none!important;clear:none!important;
  flex:0 0 245px!important;width:245px!important;min-width:0!important;
  max-width:100%!important;min-height:76px!important;height:auto!important;
  margin:0!important;padding:16px 18px!important;border:1px solid #e4e4e4!important;
  border-radius:7px!important;background:#fff!important;color:#171717!important;
  opacity:1!important;visibility:visible!important;overflow:visible!important;
  transform:none!important;white-space:normal!important;text-decoration:none!important;
  line-height:1.4!important;box-shadow:none!important;
}
.casa-shop .casa-hero-help::before,.casa-shop .casa-hero-help::after{display:none!important;content:none!important}
.casa-shop .casa-hero-help span{display:block!important;color:#555!important;font-size:12px!important;margin:0 0 5px!important;line-height:1.3!important}
.casa-shop .casa-hero-help strong{display:block!important;color:#ed1c24!important;font-size:13px!important;line-height:1.3!important}
.casa-shop .casa-cat-count{display:block;margin-top:5px;font-size:11px;color:#777}
.casa-shop .casa-category-scroll a.is-active .casa-cat-count{color:#ed1c24}
.casa-more-categories{margin-top:12px;border-top:1px solid #eee;padding-top:12px}
.casa-more-categories summary{cursor:pointer;color:#444;font-size:13px;font-weight:700;list-style:none;display:flex;justify-content:space-between;align-items:center}
.casa-more-categories summary::-webkit-details-marker{display:none}
.casa-more-categories summary span{color:#ed1c24;font-size:18px}
.casa-wc-category-links{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0 4px}
.casa-wc-category-links a{display:inline-flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid #ddd;border-radius:6px;background:#fff;color:#222;text-decoration:none;font-size:12px}
.casa-wc-category-links a.is-active{border-color:#ed1c24;color:#ed1c24;background:#fff6f6}
.casa-wc-category-links small{font-size:10px;color:#888}
.casa-style-hint{font-size:12px!important;color:#666!important;margin:0 0 18px!important;padding:9px 11px;border-left:3px solid #ddd;background:#f7f7f7}
.casa-quick a small{font-size:10px;opacity:.8}
.casa-shop .casa-category-scroll a{position:relative;min-width:0}
.casa-shop .casa-results-head strong{overflow-wrap:anywhere}
.casa-v4-help .casa-dialog{max-width:760px}
.casa-v4-help .casa-dialog-head{flex-shrink:0}
.casa-v4-help .casa-wizard-symbol{display:grid;place-items:center;background:#ed1c24;color:#fff;border-radius:50%;width:28px;height:28px;font-weight:900}
.casa-v4-help .casa-wizard-step h2{font-size:23px!important;line-height:1.2!important;margin:0 0 8px!important}
.casa-v4-help .casa-wizard-step p{font-size:13px!important;color:#666;margin:0 0 18px!important}
.casa-v4-help .casa-wizard-step[hidden]{display:none!important}
.casa-v4-help .casa-help-option{position:relative;min-height:72px;display:flex;align-items:center;justify-content:center;text-align:center}
.casa-v4-help .casa-help-option input{position:absolute;left:9px;top:9px}
.casa-v4-help .casa-help-option:has(input:checked){border-color:#ed1c24;background:#fff5f5}
.casa-v4-help .casa-help-option strong{font-size:12px}
.casa-v4-help .casa-help-select{display:block!important;width:100%!important;min-height:50px!important;margin:8px 0 12px!important}
.casa-v4-help .casa-wizard-note{margin-top:14px!important}
.casa-v4-help .casa-budget-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.casa-v4-help .casa-budget-options label{display:block;cursor:pointer}
.casa-v4-help .casa-budget-options label input{position:absolute;opacity:0}
.casa-v4-help .casa-budget-options label span{display:block;border:1px solid #ddd;border-radius:6px;padding:14px;font-size:13px;text-align:center}
.casa-v4-help .casa-budget-options label:has(input:checked) span{border-color:#ed1c24;color:#ed1c24;background:#fff5f5;font-weight:700}
.casa-v4-help .casa-wizard-nav{display:flex;gap:10px;margin-top:22px}
.casa-v4-help .casa-wizard-nav button{flex:1;min-height:47px!important;border-radius:5px!important;margin:0!important;font-size:12px!important;font-weight:800!important;cursor:pointer}
.casa-v4-help .casa-wizard-back{border:1px solid #ed1c24!important;background:#fff!important;color:#ed1c24!important}
.casa-v4-help .casa-wizard-next{border:1px solid #ed1c24!important;background:#ed1c24!important;color:#fff!important}
.casa-v4-help .casa-wizard-nav button[hidden]{display:none!important}
.casa-v4-help .casa-help-results h2{margin:0 0 10px!important;font-size:24px!important}
.casa-v4-help .casa-help-results>p{font-size:13px;color:#666;line-height:1.5}
.casa-v4-help .casa-match-tags{margin:5px 0 8px;font-size:11px;color:#297247}
.casa-v4-help .casa-pick h3{font-size:14px!important}
@media(max-width:768px){
  .casa-shop .casa-hero-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px!important}
  .casa-shop .casa-hero-help,.casa-shop .casa-hero-help:link,.casa-shop .casa-hero-help:visited{
    flex:none!important;display:flex!important;width:100%!important;min-width:0!important;
    max-width:100%!important;min-height:72px!important;height:auto!important;
    margin:0!important;padding:15px 17px!important;
  }
  .casa-shop .casa-shop-hero{padding:27px 0 25px!important}
  .casa-shop .casa-hero-inner h1{font-size:37px!important}
  .casa-shop .casa-hero-inner p{font-size:14px!important;margin:12px 0 0!important}
  .casa-shop .casa-category-scroll a{flex:0 0 112px}
  .casa-shop .casa-search-row{min-width:0}
  .casa-shop .casa-search-form,.casa-shop .casa-sort-form,.casa-shop .casa-filter-open{min-width:0}
  .casa-v4-help .casa-dialog{max-width:100%;width:100%;max-height:100dvh;height:100dvh;border-radius:0}
  .casa-v4-help .casa-dialog-body{padding:18px 15px 28px}
  .casa-v4-help .casa-help-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .casa-v4-help .casa-budget-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .casa-v4-help .casa-wizard-step h2{font-size:21px!important}
}
@media(max-width:390px){
  .casa-shop .casa-search-row{grid-template-columns:1fr 1fr}
  .casa-v4-help .casa-help-options{gap:7px}
  .casa-v4-help .casa-help-option strong{font-size:11px}
}
