/* Login Shop design layer — product. Part of module loginshopdesign. */
/* 11. PRODUCT PAGE --------------------------------------------------------- */
html.ls-pp-on body, html.ls-pp-on #wrapper { background: var(--ls-bg); }
html.ls-pp-on .product-cover, html.ls-pp-on .images-container .product-cover,
html.ls-pp-on .product-images > li.thumb-container .thumb {
  background: #fff; border: 1px solid var(--ls-line) !important; border-radius: var(--ls-radius-lg) !important; overflow: hidden;
}
html.ls-pp-on .product-images .thumb.selected, html.ls-pp-on .js-thumb.selected, html.ls-pp-on .thumb.selected {
  border: 2px solid var(--ls-green) !important;
}
html.ls-pp-on h1, html.ls-pp-on .h1.product-title, html.ls-pp-on .elementor-widget-heading h1 {
  font: 800 24px/1.25 var(--ls-font-display) !important; text-transform: none !important; color: var(--ls-ink) !important;
}
html.ls-pp-on .product-prices .current-price-value, html.ls-pp-on .current-price span:first-child {
  font: 800 28px/1 var(--ls-font-display) !important; color: var(--ls-ink) !important;
}
html.ls-pp-on .product-prices .discount, html.ls-pp-on .discount-percentage, html.ls-pp-on .discount-amount {
  background: var(--ls-orange-50) !important; color: var(--ls-orange) !important; border-radius: var(--ls-radius-sm) !important;
  font-weight: 700 !important; font-size: 12px !important; padding: 4px 8px !important; text-transform: none !important;
}
html.ls-pp-on .tax-shipping-delivery-label, html.ls-pp-on .product-prices .tax-shipping-delivery-label { color: var(--ls-muted); font-size: 12px; }
html.ls-pp-on .product-prices, html.ls-pp-on .product-actions, html.ls-pp-on .product-information > .product-variants {
  background: #fff; border: 1px solid var(--ls-line); border-radius: var(--ls-radius-lg); padding: 16px 18px; margin-bottom: 14px;
}
/* Variants as tiles (RAM / SSD in Figma) */
html.ls-pp-on .product-variants-item .control-label { font: 700 13px/1.3 var(--ls-font) !important; color: var(--ls-ink); text-transform: none; }
html.ls-pp-on .product-variants-item ul li .radio-label,
html.ls-pp-on .product-variants-item .input-radio + span {
  border: 1px solid var(--ls-line) !important; border-radius: var(--ls-radius) !important; background: var(--ls-surface-2) !important;
  padding: 8px 14px !important; font-weight: 600 !important; font-size: 12px !important; color: var(--ls-ink) !important; box-shadow: none !important;
}
html.ls-pp-on .product-variants-item .input-radio:checked + span,
html.ls-pp-on .product-variants-item .input-radio:checked + .radio-label {
  border: 2px solid var(--ls-green) !important; background: var(--ls-green-50) !important; color: var(--ls-green-dark) !important;
}
html.ls-pp-on .product-variants-item .input-color:checked + span { border: 2px solid var(--ls-green) !important; }
/* Qty + add to cart + buy now */
html.ls-pp-on .product-quantity .qty .input-group, html.ls-pp-on .bootstrap-touchspin {
  border: 1px solid var(--ls-line); border-radius: var(--ls-radius-sm); overflow: hidden; background: #fff;
}
html.ls-pp-on .product-add-to-cart .add-to-cart,
html.ls-pp-on .add .add-to-cart { height: 46px; font-size: 14px !important; }
html.ls-pp-on .ls-buy-now, html.ls-pp-on .buy-now, html.ls-pp-on [class*="buy_now"], html.ls-pp-on [class*="buynow"] {
  background: var(--ls-orange) !important; border-color: var(--ls-orange) !important; color: #fff !important;
  width: 100%; height: 46px; border-radius: var(--ls-radius-sm) !important; font-weight: 700 !important;
}
/* Reassurance (blockreassurance) */
html.ls-pp-on .blockreassurance_product, html.ls-pp-on #block-reassurance {
  background: transparent !important; border: 0 !important;
}
html.ls-pp-on .blockreassurance_product > div, html.ls-pp-on #block-reassurance li {
  background: #fff; border: 1px solid var(--ls-line); border-radius: var(--ls-radius); padding: 10px 12px !important; margin-bottom: 8px;
}
html.ls-pp-on .blockreassurance_product .item-product img, html.ls-pp-on .blockreassurance_product svg { filter: none; color: var(--ls-green); }
/* Tabs (Fiche technique / Garanties / Avis) */
html.ls-pp-on .tabs, html.ls-pp-on .product-tabs, html.ls-pp-on .elementor-tabs {
  background: #fff; border: 1px solid var(--ls-line); border-radius: var(--ls-radius-lg); box-shadow: var(--ls-shadow); overflow: hidden;
}
html.ls-pp-on .tabs .nav-tabs, html.ls-pp-on .elementor-tabs-wrapper {
  background: #f8fafc; border-bottom: 1px solid var(--ls-line) !important; padding: 0 12px;
}
html.ls-pp-on .tabs .nav-tabs .nav-link, html.ls-pp-on .elementor-tab-title {
  font: 600 13px/1.2 var(--ls-font) !important; color: var(--ls-muted) !important; text-transform: none !important;
  border: 0 !important; border-bottom: 2px solid transparent !important; background: transparent !important; padding: 14px 16px !important;
}
html.ls-pp-on .tabs .nav-tabs .nav-link.active, html.ls-pp-on .elementor-tab-title.elementor-active {
  color: var(--ls-green) !important; border-bottom-color: var(--ls-green) !important; background: #fff !important;
}
html.ls-pp-on .product-features > dl.data-sheet dt.name,
html.ls-pp-on .product-features > dl.data-sheet dd.value {
  background: transparent !important; border-bottom: 1px solid #f1f5f9; font-size: 12px; padding: 10px 0 !important;
}
html.ls-pp-on .product-features > dl.data-sheet dt.name { color: var(--ls-muted); font-weight: 500; }
html.ls-pp-on .product-features > dl.data-sheet dd.value { color: var(--ls-ink); font-weight: 600; text-align: right; }
/* Section title with coloured bullet ("Autres produits recommandés…") */
.ls-bullet-title { display: flex; align-items: center; gap: 10px; font: 800 17px/1.2 var(--ls-font-display); }
.ls-bullet-title::before { content: ""; width: 5px; height: 18px; border-radius: 3px; background: var(--ls-green); }
.ls-bullet-title.is-orange::before { background: var(--ls-orange); }


/* ---------- v1.9.0: Figma "Fiche Produit", dynamic blocks ---------- */

html.ls-pp-on .product-container { background: #fff; border: 1px solid var(--ls-line); border-radius: 16px; padding: 22px 10px; margin: 8px 0 24px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
html.ls-pp-on .product-info-section h1 { font: 800 22px/1.3 var(--ls-font-display) !important; margin: 6px 0 8px !important; }
html.ls-pp-on .product-brand { display: inline-block; font: 800 11px/1 var(--ls-font) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--ls-green) !important; }

/* badges row above the title */
.ls-pp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.ls-pp-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 6px; font: 800 10.5px/1 var(--ls-font); letter-spacing: .04em; text-transform: uppercase; }
.ls-pp-badge--green { background: var(--ls-green-50); color: var(--ls-green-dark); border: 1px solid #a7f3d0; }
.ls-pp-badge--orange { background: var(--ls-orange-50); color: var(--ls-orange); border: 1px solid #fed7aa; }
.ls-pp-badge--stock { background: #ecfdf5; color: #047857; border: 1px solid #6ee7b7; }
.ls-pp-badge--out { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* price box */
html.ls-pp-on .product-info-section .product-prices { display: block !important; }
html.ls-pp-on .product-info-section .current-price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
html.ls-pp-on .product-info-section .regular-price { color: #94a3b8 !important; font-size: 14px !important; }
html.ls-pp-on .product-info-section .product-prices .discount { display: none !important; } /* replaced by "Économisez" */
.ls-pp-saving { display: inline-block; background: #fff1e6; color: var(--ls-orange); border: 1px solid #fed7aa; border-radius: 6px; padding: 4px 9px; font: 700 12px/1.2 var(--ls-font); }
.ls-pp-taxnote { margin-top: 8px; font-size: 12px; color: var(--ls-muted); }
html.ls-pp-on .product-info-section .tax-shipping-delivery-label { display: none; }

/* seller card */
.ls-pp-seller { background: #f8fafc; border: 1px solid var(--ls-line); border-radius: 14px; padding: 14px 16px; margin: 0 0 14px; }
.ls-pp-seller-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.ls-pp-eyebrow { display: inline-flex; align-items: center; gap: 6px; font: 800 10.5px/1 var(--ls-font); letter-spacing: .06em; text-transform: uppercase; color: var(--ls-green); }
.ls-pp-gold { background: #fff; border: 1px solid #a7f3d0; color: var(--ls-green-dark); border-radius: 999px; padding: 3px 9px; font: 700 10.5px/1.2 var(--ls-font); }
.ls-pp-seller-main { display: flex; align-items: center; gap: 12px; }
.ls-pp-seller-logo { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid var(--ls-line); display: grid; place-items: center; overflow: hidden; }
.ls-pp-seller-logo img { width: 100%; height: 100%; object-fit: contain; }
.ls-pp-seller-logo--txt { background: #fff7ed; color: var(--ls-orange); font: 800 15px/1 var(--ls-font-display); border-color: #fed7aa; }
.ls-pp-seller-id a { color: var(--ls-ink) !important; text-decoration: none !important; font-size: 15px; }
.ls-pp-seller-id small { color: var(--ls-muted); font-size: 12px; }
.ls-pp-online { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-left: 4px; vertical-align: 1px; }
.ls-pp-seller-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--ls-line); }
.ls-pp-seller-foot small { color: var(--ls-muted); font-size: 11.5px; }
.ls-pp-seller-foot a { flex: none; color: var(--ls-green) !important; font: 700 12.5px/1.3 var(--ls-font); text-decoration: none !important; text-align: right; }

/* add to cart + buy now */
html.ls-pp-on .product-add-to-cart .add-to-cart { background: var(--ls-green) !important; border-color: var(--ls-green) !important; border-radius: 10px !important; font-weight: 700 !important; }
.ls-pp-buynow { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; margin: 10px 0 4px; border: 0; border-radius: 10px;
  background: var(--ls-orange); color: #fff; font: 700 14px/1 var(--ls-font); cursor: pointer; box-shadow: 0 8px 16px -10px rgba(234,88,12,.9); }
.ls-pp-buynow:hover { background: #c2410c; }
.ls-pp-buynow[disabled] { opacity: .5; cursor: not-allowed; }

/* reassurance under the images (replaces the reassurance module block) */
.ls-pp-reas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ls-pp-reas-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--ls-line); border-radius: 12px; padding: 10px 12px; color: var(--ls-green); }
.ls-pp-reas-item svg { flex: none; }
.ls-pp-reas-item b { display: block; color: var(--ls-ink); font: 700 12.5px/1.25 var(--ls-font); }
.ls-pp-reas-item small { display: block; color: var(--ls-muted); font-size: 11px; line-height: 1.3; }
html.ls-pp-on .ls-pp-tpl .blockreassurance_product { display: none !important; }

/* technical sheet: 2 columns of label / value */
html.ls-pp-on .product-features > dl.data-sheet { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr) minmax(0, 1.3fr)); column-gap: 18px; }
html.ls-pp-on .product-features > dl.data-sheet dt.name, html.ls-pp-on .product-features > dl.data-sheet dd.value { margin: 0 !important; width: auto !important; flex: none !important; }
html.ls-pp-on .tabs .tab-content { padding: 22px 24px !important; }

/* "Garanties & Expédition" tab */
.ls-pp-guarantee p { margin: 0 0 12px; color: var(--ls-ink); }
.ls-pp-guarantee ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ls-pp-guarantee li { position: relative; padding: 10px 12px 10px 36px; background: #f8fafc; border: 1px solid var(--ls-line); border-radius: 10px; font-size: 13px; color: var(--ls-ink); }
.ls-pp-guarantee li::before { content: "✓"; position: absolute; left: 12px; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--ls-green); color: #fff; font: 800 10px/16px var(--ls-font); text-align: center; }

/* related sections */
.ls-pp-related-wrap { margin: 28px 0 8px; }
.ls-pp-related { margin: 0 0 32px; }
.ls-pp-related-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; }
.ls-pp-related-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font: 800 18px/1.25 var(--ls-font-display) !important; color: var(--ls-ink); text-transform: none !important; }
.ls-pp-related-head h2::before { content: ""; flex: none; width: 5px; height: 20px; border-radius: 3px; background: var(--ls-green); }
.ls-pp-related + .ls-pp-related .ls-pp-related-head h2::before { background: var(--ls-orange); }
.ls-pp-related-link { color: var(--ls-green) !important; font: 700 13px var(--ls-font); text-decoration: none !important; white-space: nowrap; }

@media (max-width: 991px) {
  html.ls-pp-on .product-features > dl.data-sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .ls-pp-guarantee ul { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .ls-pp-reas { grid-template-columns: 1fr; }
  .ls-pp-seller-foot { flex-direction: column; align-items: flex-start; }
  html.ls-pp-on .product-container { padding: 14px 4px; border-radius: 12px; }
}

/* ---------- v1.9.3: other offers + empty states ---------- */
.ls-pp-offers { background: #fff; border: 1px solid var(--ls-line); border-radius: 14px; padding: 14px 16px; margin: 12px 0 14px; }
.ls-pp-offers-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.ls-pp-offers-head b { display: inline-flex; align-items: center; gap: 7px; font: 700 13.5px/1.3 var(--ls-font); color: var(--ls-ink); }
.ls-pp-offers-head b svg { color: var(--ls-orange); flex: none; }
.ls-pp-offers-count { flex: none; background: #f1f5f9; color: var(--ls-muted); border-radius: 999px; padding: 3px 9px; font: 700 11px/1.2 var(--ls-font); }
.ls-pp-offer { display: flex; align-items: center; gap: 10px; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px; padding: 9px 12px; margin-top: 8px; }
.ls-pp-offer > svg { flex: none; color: var(--ls-green); }
.ls-pp-offer-id { flex: 1; min-width: 0; }
.ls-pp-offer-id b { display: block; font: 700 13px/1.25 var(--ls-font); color: var(--ls-ink); }
.ls-pp-offer-id small { display: block; font-size: 11px; color: var(--ls-muted); }
.ls-pp-offer-price { flex: none; font: 800 14px/1 var(--ls-font-display); color: var(--ls-ink); }
.ls-pp-offer-btn { flex: none; background: #fff; border: 1px solid #a7f3d0; color: var(--ls-green) !important; border-radius: 8px; padding: 6px 12px; font: 700 12px/1 var(--ls-font); text-decoration: none !important; }
.ls-pp-offer-btn:hover { background: var(--ls-green); color: #fff !important; border-color: var(--ls-green); }
.ls-pp-empty { margin: 0; color: var(--ls-muted); font-size: 13px; }
.ls-pp-empty--box { display: block; background: #fff; border: 1px dashed #cbd5e1; border-radius: 14px; padding: 26px 20px; text-align: center; font-size: 14px; }
.ls-pp-related-note { color: #94a3b8; font: 500 12.5px var(--ls-font); white-space: nowrap; }

/* "Autres produits de la boutique": compact cards with a cart icon, as in the Figma */
.ls-pp-related--shop .ls-deal-card .ls-deal-rating { display: none; }
.ls-pp-related--shop .ls-deal-card .ls-deal-body { position: relative; }
.ls-pp-related--shop .ls-deal-card .ls-deal-form { position: absolute; right: 12px; bottom: 12px; margin: 0; }
.ls-pp-related--shop .ls-deal-card .ls-deal-add { width: 34px !important; height: 34px !important; min-width: 0 !important; padding: 0 !important; font-size: 0 !important;
  border-radius: 8px !important; background: #f1f5f9 !important; color: var(--ls-ink) !important; border: 0 !important; display: grid !important; place-items: center; }
.ls-pp-related--shop .ls-deal-card .ls-deal-add svg { width: 16px; height: 16px; }
.ls-pp-related--shop .ls-deal-card .ls-deal-add:hover { background: var(--ls-green) !important; color: #fff !important; }
.ls-pp-related--shop .ls-deal-card .ls-deal-price { padding-right: 44px; }


/* ---------- v2.0.0: Creative Elements template "loginshop-product" ---------- */
html.ls-pp-on .ls-pp-tpl.ls-pp-top > .elementor-container { background: #fff; border: 1px solid var(--ls-line); border-radius: 16px; padding: 18px 8px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
html.ls-pp-on .ls-pp-tpl { margin-bottom: 26px; }
html.ls-pp-on .ls-pp-tpl .elementor-widget { margin-bottom: 12px; }
html.ls-pp-on .ls-pp-tpl .elementor-widget-pkproducttitle h1, html.ls-pp-on .ls-pp-tpl h1 { font: 800 22px/1.3 var(--ls-font-display) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--ls-ink) !important; margin: 0 !important; }
html.ls-pp-on .ls-pp-tpl .elementor-widget-pkproductbrand img { max-height: 28px; width: auto; }
html.ls-pp-on .ls-pp-tpl .product-prices .discount { display: none !important; }
html.ls-pp-on .ls-pp-tpl .product-prices { background: #fff; border: 1px solid var(--ls-line); border-radius: 14px; padding: 14px 16px; }
html.ls-pp-on .ls-pp-tpl .current-price, html.ls-pp-on .ls-pp-tpl .product-price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
html.ls-pp-on .ls-pp-tpl .regular-price { color: #94a3b8 !important; font-size: 14px !important; }
html.ls-pp-on .ls-pp-tpl .tax-shipping-delivery-label { display: none; }
html.ls-pp-on .ls-pp-tpl .productButtons { gap: 8px; }

/* rating under the title */
.ls-pp-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ls-muted); }
.ls-pp-rating b { color: var(--ls-ink); }
.ls-pp-rating a { color: var(--ls-green) !important; text-decoration: underline !important; }
.ls-pp-stars i { font-style: normal; color: #e2e8f0; font-size: 14px; letter-spacing: -1px; }
.ls-pp-stars i.on { color: #f59e0b; }

/* tabs */
.ls-pp-tabs { background: #fff; border: 1px solid var(--ls-line); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.ls-pp-tabs-head { display: flex; flex-wrap: wrap; gap: 4px; background: #f8fafc; border-bottom: 1px solid var(--ls-line); padding: 0 12px; }
.ls-pp-tabs-head button { display: inline-flex; align-items: center; gap: 7px; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 14px 14px; cursor: pointer;
  font: 600 13.5px/1.2 var(--ls-font); color: var(--ls-muted); }
.ls-pp-tabs-head button.is-active { color: var(--ls-green); border-bottom-color: var(--ls-green); background: #fff; }
.ls-pp-pane { display: none; padding: 22px 26px; }
.ls-pp-pane.is-active { display: block; }
.ls-pp-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.ls-pp-spec-col h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 800 15px/1.3 var(--ls-font-display) !important; color: var(--ls-ink); text-transform: none !important; }
.ls-pp-spec-col h3 svg { color: var(--ls-green); }
.ls-pp-spec-col dl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); margin: 0; }
.ls-pp-spec-col dt, .ls-pp-spec-col dd { margin: 0; padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 12.5px; }
.ls-pp-spec-col dt { color: var(--ls-muted); font-weight: 500; }
.ls-pp-spec-col dd { color: var(--ls-ink); font-weight: 600; text-align: right; }
.ls-pp-desc { color: #334155; font-size: 14px; line-height: 1.7; }
.ls-pp-reviews-sum { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.ls-pp-review { border-bottom: 1px solid #f1f5f9; padding: 12px 0; }
.ls-pp-review p { margin: 6px 0; color: #334155; font-size: 13.5px; }
.ls-pp-review small { color: var(--ls-muted); }

@media (max-width: 767px) {
  .ls-pp-specs { grid-template-columns: 1fr; gap: 18px; }
  .ls-pp-pane { padding: 16px; }
  .ls-pp-tabs-head { overflow-x: auto; flex-wrap: nowrap; }
  .ls-pp-tabs-head button { white-space: nowrap; }
}
html.ls-pp-on .ls-pp-tpl .elementor-col-100 { width: 100% !important; }
html.ls-pp-on .ls-pp-tpl [data-ls-pp], html.ls-pp-on .ls-pp-tpl .elementor-widget-html { width: 100%; }
/* image block: flags inside the picture (top-left), picture full width */
html.ls-pp-on .ls-pp-tpl .elementor-widget-pkproductimage .page-content { position: relative; }
html.ls-pp-on .ls-pp-tpl .elementor-widget-pkproductimage .product-flags { position: absolute; top: 14px; left: 14px; right: auto; z-index: 3; display: flex; flex-direction: column; gap: 6px; margin: 0; }
html.ls-pp-on .ls-pp-tpl .elementor-widget-pkproductimage .product-flag { border-radius: 6px; font: 800 11px/1 var(--ls-font); padding: 5px 8px; }
html.ls-pp-on .ls-pp-tpl .elementor-widget-pkproductimage img { max-width: 100%; height: auto; }
html.ls-pp-on .ls-pp-tpl .elementor-widget-pkproductimage .product-cover, html.ls-pp-on .ls-pp-tpl .elementor-widget-pkproductimage .main-image-container { border-radius: 14px; overflow: hidden; background: #fff; }
