/* DELETED FOR 1.8.0: cart-page rules (shop_table.cart, tr.cart_item, ::before PRODUCT labels, cart_totals, cart coupon) stripped from nhc-v15.css. Cart styles live in css/nhc-cart.css only. */
/* ===== NHC Storefront v1.5 — cart layout, also-like, kill woolentor float, countdown ===== */

/* --- Kill Woolentor / ShopLentor floating sale popup EVERYWHERE (JS also deletes nodes) --- */
.woolentor-sale-notification,
.woolentor-notification,
.ht-notification,
.wl-sale-notification,
.ht-sale-notification{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  height:0!important;
  width:0!important;
  max-height:0!important;
  overflow:hidden!important;
  position:static!important;
  bottom:auto!important;
  z-index:-1!important;
}


/* DELETED FOR 1.8.0: cart countdown/urgency hide (moved to nhc-cart.css) */

/* --- Free delivery once --- */
.nhc-free-ship-note ~ .nhc-free-ship-note,
body.woocommerce-cart .nhc-free-ship-note ~ .nhc-free-ship-note,
body.woocommerce-checkout .nhc-free-ship-note ~ .nhc-free-ship-note{
  display:none!important;
}


/* DELETED FOR 1.8.0: broken leftover cart totals rule */
/* DELETED FOR 1.8.0: cart rule removed
body.woocommerce-cart .cart_totals table tr,
body:has(.nhc-cart) .cart_totals table tr
*/
/* DELETED FOR 1.8.0: cart rule removed
body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td,
body:has(.nhc-cart) .cart_totals table th,
body:has(.nhc-cart) .cart_totals table td
*/
/* DELETED FOR 1.8.0: cart rule removed
body.woocommerce-cart .cart_totals table th,
body:has(.nhc-cart) .cart_totals table th
*/
/* DELETED FOR 1.8.0: cart rule removed
body.woocommerce-cart .cart_totals table td,
body:has(.nhc-cart) .cart_totals table td
*/


/* DELETED FOR 1.8.0: cart shipping td */

/* DELETED FOR 1.8.0: cart shipping th */
/* DELETED FOR 1.8.0: cart rule removed
body.woocommerce-cart tr.woocommerce-shipping-totals td .woocommerce-shipping-destination,
body.woocommerce-cart tr.shipping td .woocommerce-shipping-destination,
body.woocommerce-
*/


/* DELETED FOR 1.8.0: cart shipping ::before */


/* DELETED FOR 1.8.0: broken leftover cart thumb rule */
/* DELETED FOR 1.8.0: cart rule removed
body.woocommerce-cart td.product-thumbnail a,
body:has(.nhc-cart) td.product-thumbnail a
*/
/* DELETED FOR 1.8.0: cart rule removed
body.woocommerce-cart td.product-thumbnail img,
body:has(.nhc-cart) td.product-thumbnail img
*/
/* DELETED FOR 1.8.0: cart rule removed
/* --- Item card: left-align name / price / qty / subtotal --- */
body.woocommerce-cart td.product-name,
body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-qu
*/
/* DELETED FOR 1.8.0: cart rule removed
body.woocommerce-cart td.product-name a,
body:has(.nhc-cart) td.product-name a
*/
/* DELETED FOR 1.8.0: cart rule removed
body.woocommerce-cart .nhc-cart-step,
body:has(.nhc-cart) .nhc-cart-step
*/

/* ===== You might also like — nuclear containment (1.10.1; never expand doc scrollWidth) ===== */
/* Document clip after ancestor min-width fix */
html, body{
  max-width:100%;
  overflow-x:clip;
}

#nhc-also-like,
.nhc-also-like{
  position:relative!important;
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  margin:28px auto 36px;
  padding:0 16px 8px;
  box-sizing:border-box!important;
  z-index:auto!important;
  float:none!important;
  inset:auto!important;
  background:transparent;
  overflow-x:clip!important;
}

/* Elementor ancestors keep flex min-width:auto → scrollWidth ~808; force 0 when also-like present */
body:has(#nhc-also-like) .elementor,
body:has(#nhc-also-like) .e-con,
body:has(#nhc-also-like) .e-con-inner,
body:has(#nhc-also-like) .elementor-widget,
body:has(#nhc-also-like) .elementor-widget-container,
body:has(#nhc-also-like) .elementor-widget-html,
body:has(.nhc-also-like) .elementor,
body:has(.nhc-also-like) .e-con,
body:has(.nhc-also-like) .e-con-inner,
body:has(.nhc-also-like) .elementor-widget,
body:has(.nhc-also-like) .elementor-widget-container{
  min-width:0!important;
  max-width:100%!important;
  overflow-x:clip;
}

.nhc-also-like-title{
  margin:0 0 14px;
  font-family:Fraunces,Georgia,serif;
  font-size:clamp(22px,4vw,28px);
  color:#24382e;
  font-weight:700;
}
.nhc-also-like-track{
  display:flex;
  gap:14px;
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  box-sizing:border-box;
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding:4px 2px 14px;
  scrollbar-width:thin;
}
.nhc-also-like-track::after{
  content:'';
  flex:0 0 1px;
}
/* mobile scroll hint */
@media(max-width:899px){
  .nhc-also-like-track{
    mask-image:linear-gradient(90deg,#000 0%,#000 88%,transparent 100%);
    -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 88%,transparent 100%);
  }
}
.nhc-also-like-card{
  flex:0 0 42%;
  min-width:0;
  max-width:180px;
  scroll-snap-align:start;
  background:#fff;
  border:1px solid #ddd4c4;
  border-radius:16px;
  padding:10px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.nhc-also-like-media{
  display:block;
  aspect-ratio:3/4;
  width:100%;
  min-width:0;
  border-radius:12px;
  overflow:hidden;
  background:#f8f3e9;
  border:1px solid #eee6d7;
}
.nhc-also-like-media img,
.nhc-also-like-img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f8f3e9;
  display:block!important;
}
.nhc-also-like-name{
  margin:0;
  font:700 13px Figtree,system-ui,sans-serif;
  line-height:1.25;
  color:#24382e;
  min-height:2.5em;
}
.nhc-also-like-name a{
  color:inherit;
  text-decoration:none;
}
.nhc-also-like-price{
  font:700 14px Figtree,sans-serif;
  color:#2f4a3c;
}
.nhc-also-like-price del{
  color:#9a9286;
  font-weight:500;
  margin-right:4px;
}
.nhc-also-add{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:40px;
  padding:8px 12px;
  border:0;
  border-radius:12px;
  background:#2f4a3c;
  color:#f4efe4;
  font:700 13px Figtree,sans-serif;
  cursor:pointer;
  text-decoration:none;
  box-sizing:border-box;
}
.nhc-also-add:hover{filter:brightness(1.06)}
.nhc-also-add:disabled{opacity:.7;cursor:wait}
.nhc-also-add.nhc-also-view{background:#514a42}

/* Shop archive: hide also-like (PHP skip + CSS belt-and-suspenders) */
body.woocommerce-shop #nhc-also-like,
body.woocommerce-shop .nhc-also-like,
body.post-type-archive-product #nhc-also-like,
body.post-type-archive-product .nhc-also-like,
body.tax-product_cat #nhc-also-like,
body.tax-product_cat .nhc-also-like,
body.tax-product_tag #nhc-also-like,
body.tax-product_tag .nhc-also-like{
  display:none!important;
}

/* Desktop grid — NO overflow:visible (that undoes containment / expands scrollWidth) */
@media(min-width:900px){
  .nhc-also-like-track{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    overflow-x:auto;
    min-width:0!important;
    max-width:100%!important;
    mask-image:none;
    -webkit-mask-image:none;
    padding-bottom:4px;
  }
  .nhc-also-like-card{
    flex:none;
    min-width:0;
    max-width:none;
    width:auto;
  }
}
/* DELETED FOR 1.8.0: cart rule removed
/* --- v1.5.1: custom .nhc-cart totals / shipping address / kill truck glyph --- */
body:has(.nhc-cart) .cart_totals,
body.woocommerce-cart .cart_totals,
.nhc-cart .cart_totals
*/
/* DELETED FOR 1.8.0: cart rule removed
body:has(.nhc-cart) .cart_totals .shop_table td[data-title],
body:has(.nhc-cart) .cart_totals .shop_table th
*/

/* DELETED FOR 1.8.0: cart tr.shipping */

/* DELETED FOR 1.8.0: cart shipping th */

/* DELETED FOR 1.8.0: cart shipping td */
/* DELETED FOR 1.8.0: cart rule removed
body.woocommerce-cart tr.woocommerce-shipping-totals td .woocommerce-shipping-destination,
body.woocommerce-cart tr.shipping td .woocommerce-shipping-destination,
body.woocommerce-
*/
/* DELETED FOR 1.8.0: cart rule removed
/* Hide broken icon fonts / tofu next to Change address */
body.woocommerce-cart .shipping-calculator-button::before,
body.woocommerce-cart .shipping-calculator-button::after,
body
*/

/* DELETED FOR 1.8.0: .nhc-cart cards */

/* DELETED FOR 1.8.0: .nhc-cart thumbs */

/* DELETED FOR 1.8.0: .nhc-cart thumbs */


/* DELETED FOR 1.8.0: v1.5.3 cart shipping full width */
