
/* -------------------------------------------------------------------------
   Stanley: equal-height product cards, wrapped titles, aligned price/actions.
   Loaded after htw-native-product-card.css via storefront-refresh.css.
   ------------------------------------------------------------------------- */
.products.row {
  align-items: stretch !important;
}
.products.row > .product-small.wgm-native-card {
  display: flex !important;
  flex-direction: column !important;
}
.products.row > .product-small.wgm-native-card > .col-inner,
.products.row > .product-small.wgm-native-card .wgm-native-card__box {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.wgm-native-card .wgm-native-card__media {
  flex: 0 0 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.wgm-native-card .wgm-native-card__info {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: stretch !important;
  min-height: 0 !important;
  gap: 0 !important;
}
.wgm-native-card .wgm-native-card__info .title-wrapper {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-height: 2.7em !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
}
.wgm-native-card .wgm-native-card__info .name,
.wgm-native-card .wgm-native-card__info .name a {
  display: block !important;
  max-width: 100% !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  line-height: 1.35 !important;
}
.wgm-native-card .wgm-native-card__variations {
  flex: 0 0 auto !important;
  margin-top: 0 !important;
  white-space: normal !important;
}
.wgm-native-card .wgm-native-card__info .price-wrapper {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  min-height: 22px !important;
  margin-top: auto !important;
  padding: 0 !important;
  text-align: left !important;
}
.wgm-native-card .wgm-native-card__info .price {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}
.wgm-native-card .wgm-native-card__info .price del,
.wgm-native-card .wgm-native-card__info .price ins {
  position: relative !important;
  display: inline-block !important;
  white-space: nowrap !important;
  line-height: inherit !important;
}
.wgm-native-card .wgm-native-card__info .price del {
  order: 0 !important;
  color: #777 !important;
  opacity: 1 !important;
  text-decoration: line-through !important;
}
.wgm-native-card .wgm-native-card__info .price del .amount,
.wgm-native-card .wgm-native-card__info .price del bdi {
  color: #777 !important;
}
.wgm-native-card .wgm-native-card__info .price ins {
  order: 1 !important;
  background: transparent !important;
  color: #d0021b !important;
  text-decoration: none !important;
}
.wgm-native-card .wgm-native-card__info .price ins .amount,
.wgm-native-card .wgm-native-card__info .price ins bdi,
.wgm-native-card .wgm-native-card__info .price ins .woocommerce-Price-currencySymbol {
  color: #d0021b !important;
}
.woocommerce .price ins,
.woocommerce-page .price ins,
.woocommerce .price ins .amount,
.woocommerce-page .price ins .amount,
.woocommerce .price ins bdi,
.woocommerce-page .price ins bdi {
  color: #d0021b !important;
}

/* Range prices: original range first, sale price beside it on desktop. */
.wgm-native-card .price:has(del .woocommerce-Price-amount ~ .woocommerce-Price-amount),
.wgm-native-card .price:has(ins .woocommerce-Price-amount ~ .woocommerce-Price-amount) {
  gap: 8px !important;
  flex-wrap: nowrap !important;
}
.wgm-native-card .price:has(del .woocommerce-Price-amount ~ .woocommerce-Price-amount) del,
.wgm-native-card .price:has(ins .woocommerce-Price-amount ~ .woocommerce-Price-amount) del {
  white-space: nowrap !important;
}
.wgm-native-card .price:has(del .woocommerce-Price-amount ~ .woocommerce-Price-amount) ins,
.wgm-native-card .price:has(ins .woocommerce-Price-amount ~ .woocommerce-Price-amount) ins {
  white-space: nowrap !important;
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  .wgm-native-card .wgm-native-card__info {
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
  }
  .wgm-native-card .wgm-native-card__info .title-wrapper {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .wgm-native-card .wgm-native-card__info .price-wrapper {
    grid-column: auto !important;
    grid-row: auto !important;
    padding-right: 0 !important;
  }
  .wgm-native-card .wgm-native-card__info > .wgm-native-card__mobile-add,
  .wgm-native-card .wgm-native-card__info > .wgm-native-card__mobile-purchase {
    position: static !important;
    inset: auto !important;
    flex: 0 0 36px !important;
    align-self: flex-end !important;
    margin: 8px 0 0 !important;
  }
}

@media (max-width: 767px) {
  .wgm-native-card .wgm-native-card__info .title-wrapper {
    min-height: 3.6em !important;
  }
  .wgm-native-card .price:has(del .woocommerce-Price-amount ~ .woocommerce-Price-amount),
  .wgm-native-card .price:has(ins .woocommerce-Price-amount ~ .woocommerce-Price-amount) {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }
  .wgm-native-card .price:has(del .woocommerce-Price-amount ~ .woocommerce-Price-amount) del,
  .wgm-native-card .price:has(del .woocommerce-Price-amount ~ .woocommerce-Price-amount) ins,
  .wgm-native-card .price:has(ins .woocommerce-Price-amount ~ .woocommerce-Price-amount) del,
  .wgm-native-card .price:has(ins .woocommerce-Price-amount ~ .woocommerce-Price-amount) ins {
    display: block !important;
  }
}

/* Stanley homepage bestsellers: one row of four on desktop. */
.stanley-bestsellers{padding:48px 0 8px;background:#fff}
.stanley-bestsellers__head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;max-width:1440px;margin:0 auto 20px;padding:0 20px}
.stanley-bestsellers__head h2{margin:0;color:#1b1b1b;font:400 clamp(32px,3.5vw,48px)/1.1 Georgia,"Times New Roman",serif}
.stanley-bestsellers__head a{color:#1b1b1b;font:600 14px/1.2 WGMNativeCardJost,Arial,sans-serif;text-decoration:underline;text-underline-offset:4px}
.stanley-bestsellers__grid{max-width:1440px;margin:0 auto;padding:0 20px}
.stanley-bestsellers__grid .products.row{display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:12px!important}
.stanley-bestsellers__grid .products.row>.product-small{flex:0 0 calc((100% - 36px)/4)!important;width:calc((100% - 36px)/4)!important;max-width:calc((100% - 36px)/4)!important}
@media (max-width: 767px){
  .stanley-bestsellers{padding:36px 0 4px}
  .stanley-bestsellers__head{margin-bottom:14px;padding:0 14px}
  .stanley-bestsellers__grid{padding:0 14px;overflow-x:auto;scrollbar-width:none}
  .stanley-bestsellers__grid::-webkit-scrollbar{display:none}
  .stanley-bestsellers__grid .products.row{flex-wrap:nowrap!important;gap:10px!important}
  .stanley-bestsellers__grid .products.row>.product-small{flex:0 0 46%!important;width:46%!important;max-width:46%!important}
}

.stanley-bestsellers__head a{white-space:nowrap}
