/* cxv 2026-10-12 shopping polish: V03 clearance unavailable card, V12 product buy box, V13 listing cards, V14 empty search. Stacks on the bulk batch (cxb). Display only: no price, VAT, stock or cart logic. */

/* ---------- V13 listing cards: reserve the same 3-line title box before and after the seo-manager paint, so price/stock/button line up across a row ---------- */
.shp-card .shp-card-name{min-height:3.9em}
.shp-card .shp-card-name.lasa-seo-card{min-height:3.9em!important}
.shp-card .shp-card-name.lasa-seo-card .lasa-seo-main{-webkit-line-clamp:3!important;max-height:3.9em!important}
.shp-card-media img{padding:6%}

/* ---------- V03 clearance: unavailable offer uses the normal card frame ---------- */
.cl-card-unavailable .shp-card{flex:1}
.cl-card-unavailable .cl-deal{justify-content:flex-start}
.shp-card.cl-unavail .shp-card-media img{opacity:.5;filter:grayscale(.35)}
.shp-card.cl-unavail .cl-noimg{background:repeating-linear-gradient(135deg,#f3f1ee 0 10px,#efece8 10px 20px)}
.shp-card.cl-unavail .cl-unavail-code span{font-size:12px;font-weight:700;color:var(--shp-muted,#6b6b6b);overflow-wrap:anywhere;white-space:normal}

/* ---------- V14 empty search ---------- */
.shp-empty.shp-empty-none{gap:14px;padding:26px 0 30px;max-width:640px;margin:0 auto}
.shp-empty-none .shp-empty-msg{margin:0;font-size:17px;color:var(--shp-ink,#1d1d1b)}
.shp-empty-search{display:flex;gap:8px;width:100%;max-width:520px}
.shp-empty-search input{flex:1 1 auto;min-width:0;min-height:46px;padding:0 14px;border:1px solid #c9c9c4;border-radius:10px;font:600 16px Nunito,Arial,sans-serif;color:var(--shp-ink,#1d1d1b);background:#fff}
.shp-empty-search input:focus-visible{outline:3px solid #157347;outline-offset:1px}
.shp-empty-search .shp-btn{flex:0 0 auto;min-height:46px}
.shp-empty-none .shp-empty-try{margin-top:2px}
.shp-empty-none .shp-help-links a.is-all{border-color:var(--shp-ink,#1d1d1b)}

/* ---------- V12 product page buy box (all sizes) ---------- */
#product_details .details_product .product_code{font-size:15px!important;line-height:1.5!important;margin-top:4px!important}
#product_details .details_product .product_code b{font-weight:700}
#product_details .details_product .product_availability .product_availability_state{font-weight:700}
#product_details .details_product .product_availability.is-ok .product_availability_state{color:#157347}
#product_details .details_product .product_availability.is-ok .product_availability_state:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#0C994B;margin:0 6px 1px 0;vertical-align:middle}
#product_details .details_product .product_availability_note{font-size:13px;color:#666;font-weight:400}
#product_details .details_product .product_quantity{margin-top:14px!important}
#product_details .details_product .product_quantity h3{font-size:13px!important;line-height:1.3!important;letter-spacing:.06em;margin:0 0 6px!important;color:#555}
#product_details .details_product .product_quantity .btn_quantity{margin-top:0!important;margin-bottom:0!important}
#product_details .product-trust-strip.is-compact{display:block!important;margin-top:8px!important}
#product_details .product-trust-strip.is-compact span{display:inline-flex!important;background:none!important;border:0!important;padding:0!important;font-size:13px!important;font-weight:600!important;line-height:1.4!important;color:#4a4a4a!important;text-align:left}
#product_details .product-trust-strip.is-compact span:before{flex:0 0 6px!important;width:6px!important;height:6px!important;margin:7px 8px 0 0!important;align-self:flex-start}
#product_details .details_product .product_wish-list{margin-top:6px!important}
#product_details .tags_description .product_description p{max-width:72ch;text-align:left!important;line-height:1.65}

/* ≥769px (two-column layout without the fixed mobile bar): quantity and Add to cart on one line */
@media (min-width:769px){
  #product_details .details_product{display:flex;flex-wrap:wrap;align-items:flex-end;column-gap:12px}
  #product_details .details_product>*{flex:0 0 100%;max-width:100%;min-width:0}
  #product_details .details_product>.product_quantity{flex:0 0 auto;width:auto}
  #product_details .details_product>button.btn-solid{flex:1 1 200px;width:auto!important;min-height:44px;margin-top:0!important;margin-bottom:0!important}
  #product_details .details_product>.pdp-bulk-quote{flex:0 0 auto;max-width:100%}
  #product_details .details_product>.product_wish-list{flex:0 0 auto}
  #product_details .details_product>select{flex:0 0 50%}
}

/* ≤768px: the fixed purchase bar (product-mobile-cta) hides while the in-page buy button is on screen, and never covers the page end */
@media (max-width:768px){
  .product-mobile-cta{transition:transform .18s ease,visibility 0s linear 0s}
  body.pdp-main-buy-visible .product-mobile-cta{transform:translateY(120%);visibility:hidden;transition:transform .18s ease,visibility 0s linear .18s}
  body:has(#product_details .product-mobile-cta) #root{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
}
