/* Product-card image glow, spec icons and the catalog quick-selection polish. */

/* 1. Product photos: no beige tile. The wash is painted on the whole card,
   not on the padded image box, so no inner rectangle/padding edge is visible.
   Centre sits around the middle of the photo, colour is muted. */
.ha-products>.product-card,
.facet-catalog .product-card,
.pa-finder .product-card,
.product-grid .product-card{
  background-image:radial-gradient(circle 250px at 50% 20%,rgba(184,193,198,.10) 0%,rgba(150,161,167,.055) 42%,rgba(110,120,126,.018) 70%,transparent 100%)!important;
  background-repeat:no-repeat!important;
  transition:background-image .4s ease!important;
}
.ha-products>.product-card:hover,
.facet-catalog .product-card:hover,
.pa-finder .product-card:hover,
.product-grid .product-card:hover{
  background-image:radial-gradient(circle 270px at 50% 20%,rgba(214,86,74,.16) 0%,rgba(172,66,56,.085) 44%,rgba(120,45,40,.02) 72%,transparent 100%)!important;
}
.ha-products>.product-card>.product-image,
.facet-catalog .product-card .product-image,
.pa-finder .product-card .product-image,
.product-grid .product-card .product-image{
  position:relative;
  isolation:isolate;
  background:transparent!important;
  border-radius:10px;
}
.ha-products>.product-card>.product-image::before,
.facet-catalog .product-card .product-image::before,
.pa-finder .product-card .product-image::before,
.product-grid .product-card .product-image::before{content:none!important}
.ha-products .product-image img,
.facet-catalog .product-image img,
.pa-finder .product-image img,
.product-grid .product-card .product-image img{
  position:relative;
  z-index:1;
  mix-blend-mode:multiply;
  transform:scale(1.01);
  transition:transform .45s cubic-bezier(.16,1,.3,1);
}
.ha-products>.product-card:hover .product-image img,
.facet-catalog .product-card:hover .product-image img,
.pa-finder .product-card:hover .product-image img,
.product-grid .product-card:hover .product-image img{transform:scale(1.055)}

/* 2. Key specs with matching icons. */
.card-specs li{display:flex;align-items:center;gap:8px;white-space:nowrap}
.card-spec-icon{width:14px;height:14px;flex:0 0 14px;color:rgba(206,214,209,.62);transition:color .2s}
.card-specs li>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-card:hover .card-spec-icon{color:#e27668}

/* 3. In-stock marker is green. */
.product-card .availability.in-stock{color:#b9d8c3}
.product-card .availability.in-stock::before{
  background:#4fbf7a!important;
  box-shadow:0 0 0 3px rgba(79,191,122,.12);
}

/* 4. Catalog menu: quieter, greyish swamp palette and an obvious quick choice. */
.mega-filter-menu{
  background:#1c1f21!important;
  border-color:#3d4245!important;
  color:#e7e9e6!important;
}
.mega-filter-menu .mega-top{background:#222528!important;border-bottom-color:#3d4245!important}
.mega-filter-menu .mega-top h2 span{color:#a3aaa7!important}
.mega-filter-menu .mega-kicker{color:#a8b0ad!important}
.mega-filter-menu .mega-categories{border-right-color:#3d4245;scrollbar-color:#4b5154 transparent}
.mega-filter-menu .mega-category:hover{background:rgba(255,255,255,.035)!important;border-color:#4b5154!important}
.mega-filter-menu .mega-category.is-selected{background:rgba(198,75,64,.10)!important;border-color:#9a554c!important}
.mega-filter-menu .mega-category-art img{filter:saturate(.82)}
.mega-filter-menu .mega-category strong{color:#e2e5e3!important}
.mega-filter-menu .mega-category small{color:#9da5a2!important}
.mega-filter-menu .mega-arrow{color:#bcc3c0!important}
.mega-filter-menu .mega-all-glyph{color:#c27063!important;background:rgba(255,255,255,.025)!important;border-color:#4b5154!important}

.mega-filter-menu .mega-selection{
  min-width:0;
  margin:16px;
  padding:24px 26px 22px!important;
  border:1px solid #454b4e;
  border-radius:12px;
  background:linear-gradient(160deg,#24282a,#1d2022 72%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.mega-selection-heading h3{color:#f0f1ee!important}
.mega-filter-menu .mega-selection-mark{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:0 0 46px;
  border:1px solid #8d4b43;
  border-radius:12px;
  background:rgba(198,75,64,.12);
  color:#e8877a;
  font-size:26px;
  line-height:1;
  text-decoration:none;
  transition:background .2s,border-color .2s,transform .2s,color .2s;
}
.mega-filter-menu .mega-selection-mark:hover{background:#c64b40;border-color:#d97564;color:#fff;transform:translate(2px,-2px)}
.mega-filter-menu .mega-selection-mark:focus-visible{outline:2px solid #e28977;outline-offset:3px}
.mega-selection-intro{color:#aeb5b2!important}
.mega-steps{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 20px}
.mega-steps li{display:flex;align-items:center;gap:7px;padding:6px 10px 6px 6px;border:1px solid #454b4e;border-radius:999px;background:rgba(255,255,255,.025);font-size:10px;line-height:1.3;color:#bcc3c0}
.mega-steps li span{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#c64b40;color:#fff;font-size:10px;font-weight:700}

.mega-facet-label{color:#c1c8c5!important}
.mega-filter-menu select,
.mega-budget label{background:#262b2d!important;border-color:#4b5255!important}
.mega-filter-menu option{background:#262b2d!important;color:#e7e9e6!important}
.mega-filter-menu input:focus-visible,.mega-filter-menu select:focus-visible{outline-color:#d88372}
.mega-budget legend{color:#c1c8c5!important}
.mega-budget label>span{color:#9ba39f!important}
.mega-filter-menu .mega-budget input{color:#e7e9e6!important}
.mega-budget input::placeholder{color:#8f9794}
.mega-budget label:focus-within{border-color:#a85d52}
.mega-selection-tools .mega-availability{color:#c1c8c5!important}
.mega-reset,.mega-retry{color:#aeb6b2!important;border-bottom-color:#5b6365!important}
.mega-status{color:#b3bab7!important}
.mega-status.is-error{color:#ffb6a6!important}
.mega-selection[aria-busy=true] .mega-status{color:#8f9794!important}
.mega-result-bar>small{color:#9aa29f!important}
.mega-filter-menu .mega-result{background:#c64b40;border-color:#d97564}
.mega-filter-menu .mega-result:hover{background:#d8574b}
.mega-finder-shortcut{border-top-color:#3d4245!important;color:#cdd2cf!important}
.mega-finder-shortcut small{color:#9aa29f!important}
.mega-filter-menu .mega-footer{background:#1a1d1f!important;border-top-color:#3d4245!important;color:#9aa29f!important}
.mega-filter-menu .mega-footer a{color:#c4ccc8!important}
.mega-facet-skeleton span:first-child{background:#33383a}
.mega-facet-skeleton span:last-child{border-color:#4b5154;background:#292e30}

@media(max-width:1100px){
  .mega-filter-menu .mega-selection{margin:12px;padding:22px!important}
}
@media(max-width:760px){
  .mega-filter-menu .mega-selection{margin:12px;padding:20px 16px!important}
  .mega-steps li{font-size:9px;padding:5px 8px 5px 5px}
  .mega-steps li span{width:17px;height:17px}
}
/* Category icons and product counts in the header catalog menu. */
.mega-filter-menu .mega-category-art{
  box-sizing:border-box!important;
  flex:0 0 39px!important;
  width:39px!important;
  height:39px!important;
  padding:3px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,#2b2e35,#202329)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
}
.mega-filter-menu .mega-category-art img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
}
.mega-filter-menu .mega-category-copy small{
  color:#ccd3ce!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.45!important;
  margin-top:4px!important;
}

@media(prefers-reduced-motion:reduce){
  .ha-products>.product-card>.product-image::before,
  .facet-catalog .product-card .product-image::before,
  .pa-finder .product-card .product-image::before,
  .product-grid .product-card .product-image::before,
  .ha-products .product-image img,
  .facet-catalog .product-image img,
  .pa-finder .product-image img,
  .product-grid .product-card .product-image img{transition:none;transform:none}
}
