/* lp-c-v12.css (7 Nov 2026, FIX-MASTER batch C). Linked last in head.tpl. Undo: remove the two links in head.tpl. */
.lp-c-hide { display: none !important; }

/* ---------- FM-013: cards (category, search, home best-seller rails) share one price block ---------- */
.lp-card .lp-per-tile-price { display: grid; gap: 2px; justify-items: start; text-align: left; }
.lp-card .lp-per-tile-price .lp-sqm-price { font: 800 19px/1.15 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #18232c; margin: 0; }
.lp-card .lp-per-tile-price .third-prices, .lp-card .lp-per-tile-price .lp-card__unit-price { display: none !important; }
.lp-card .lp-per-tile-price .first-prices { display: block; margin: 0; }
.lp-card .lp-per-tile-price .first-prices .product-price { font: 500 13px/1.3 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #5b6462; }
.lp-c-cover { font: 500 12.5px/1.3 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #5b6462; }
body#index .lp-bs .lp-card__media { aspect-ratio: 1 / 1; overflow: hidden; background: #f3f2ef; }
body#index .lp-bs .lp-card__media img { width: 100%; height: 100%; object-fit: contain; }
body#index .lp-bs .lp-card-chips { margin: 0 0 6px; }

/* ---------- FM-033 trust strip, FM-040 utility strip ---------- */
.lp-c-trust { background: #f6f3ee; border-bottom: 1px solid #e7e3dc; }
.lp-c-trust__in { display: flex; justify-content: center; align-items: center; gap: 8px 28px; padding-top: 7px; padding-bottom: 7px; font: 600 13px/1.3 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; }
.lp-c-trust a, .lp-c-trust span { color: #20332f; text-decoration: none; white-space: nowrap; }
.lp-c-trust a:hover { text-decoration: underline; }
.lp-c-trust__star { color: #f5a623; margin-right: 4px; }
@media (max-width: 767.98px) {
  .lp-c-trust__in { justify-content: flex-start; overflow-x: auto; gap: 20px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; font-size: 12.5px; }
  .lp-c-trust__in::-webkit-scrollbar { display: none; }
}
.lp-c-util { display: none; }
@media (min-width: 992px) {
  html body .lp-v3-header .lp-util { display: block !important; height: auto !important; min-height: 34px !important; visibility: visible !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; border-bottom: 1px solid #ece8e1 !important; background: #fff; }
  html body .lp-v3-header .lp-util__inner { display: flex !important; justify-content: space-between; align-items: center; min-height: 34px; }
  .lp-util__tiling { min-height: 34px !important; font-size: 13px; }
  .lp-c-util { display: flex; align-items: center; gap: 22px; font: 600 13px/1 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; }
  .lp-c-util a { color: #20332f; text-decoration: none; }
  .lp-c-util a:hover { text-decoration: underline; }
  .lp-c-util__tel { font-weight: 800 !important; }
  .lp-util__nav2:empty { display: none; }
}

/* ---------- FM-034 / FM-074 ---------- */
.lp-c-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.22); }

/* ---------- FM-002 sticky buy bar ---------- */
#product #lpc-sticky, #product .lp-buybar { display: none !important; }
/* phones keep the existing .lp-pp-buybar (tested by pptest.mjs); this bar is the desktop one */
@media (max-width: 991.98px) { .lp-c-bar { display: none !important; } html.lp-c-bar-on body#product { padding-bottom: 0 !important; } }
.lp-c-bar { position: fixed; left: 0; right: 0; bottom: var(--lp-cookie-h, 0px); z-index: 1001; display: flex; align-items: center; gap: 12px; padding: 10px max(16px, calc((100vw - 1160px) / 2)); padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #d9ddd9; box-shadow: 0 -4px 16px rgba(32,51,47,.08); }
.lp-c-bar[hidden] { display: none !important; }
.lp-c-bar__info { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.lp-c-bar__price { font: 800 17px/1.2 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #18232c; white-space: nowrap; }
.lp-c-bar__name { font-size: 13px; color: #5b6462; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lp-c-bar__sample { flex: 0 0 auto; font: 600 14px/1.2 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #20332f; text-decoration: underline; padding: 10px 4px; }
.lp-c-bar__btn { flex: 0 0 auto; min-height: 46px; padding: 0 26px; border: 0; border-radius: 999px; background: #b8440f; color: #fff; font: 700 15px/1 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; cursor: pointer; }
html.lp-c-bar-on body#product { padding-bottom: 76px; }
@media (max-width: 575.98px) {
  .lp-c-bar { gap: 8px; padding-left: 12px; padding-right: 12px; bottom: var(--lp-cookie-h, 0px); }
  .lp-c-bar__name, .lp-c-bar__sample { display: none; }
  .lp-c-bar__sample.lp-c-bar__sample { display: inline; font-size: 12.5px; max-width: 84px; line-height: 1.15; text-align: center; padding: 4px 2px; }
  .lp-c-bar__price { font-size: 15px; }
  .lp-c-bar__btn { padding: 0 18px; }
}

/* ---------- FM-026 / FM-042 / FM-058 / FM-061 ---------- */
.lp-c-collect, .lp-c-m2 { font-weight: 500; }
.lp-c-keys { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font: 500 14px/1.35 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #20332f; }
.lp-c-keys li { position: relative; padding-left: 18px; }
.lp-c-keys li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 5px; border-left: 2px solid #2e7d4f; border-bottom: 2px solid #2e7d4f; transform: rotate(-45deg) translateY(-30%); }
@media (max-width: 575.98px) { .lp-c-keys { grid-template-columns: 1fr; } }
.lp-c-ask { display: inline-block; margin: 8px 0 14px; font: 600 14px/1.3 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #20332f; text-decoration: underline; }

/* ---------- FM-037 gallery: vertical thumbnails on desktop, swipe + scroll row on phone ---------- */
@media (min-width: 992px) {
  body#product .images-container .images-container-wrapper { display: grid !important; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; }
  body#product .images-container .product-cover { grid-column: 2; grid-row: 1; }
  body#product .images-container .thumbs-list { grid-column: 1; grid-row: 1; margin: 0 !important; width: 64px; max-height: 560px; overflow-y: auto; }
  body#product .images-container .thumbs-list .flex-scrollbox-wrapper { overflow: visible !important; }
  body#product .images-container ul.product-images { display: flex !important; flex-direction: column; gap: 8px; margin: 0; padding: 0; width: 64px; transform: none !important; }
  body#product .images-container ul.product-images .thumb-container { width: 62px !important; height: 62px; margin: 0 !important; }
  body#product .images-container ul.product-images img { width: 62px !important; height: 62px !important; object-fit: cover; }
  body#product .images-container .scroll-box-arrows { display: none !important; }
}
@media (max-width: 991.98px) {
  body#product .images-container .product-cover { touch-action: pan-y; }
  body#product .images-container ul.product-images { display: flex !important; overflow-x: auto; scroll-snap-type: x proximity; gap: 8px; transform: none !important; }
  body#product .images-container ul.product-images .thumb-container { flex: 0 0 auto; scroll-snap-align: start; }
}

/* ---------- FM-076 recently viewed ---------- */
.lp-c-recent { margin: 28px 0 8px; }
.lp-c-recent h2 { font: 800 20px/1.2 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; margin: 0 0 12px; }
.lp-c-recent__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lp-c-recent__item { display: flex; flex-direction: column; gap: 4px; color: #20332f; text-decoration: none; font: 600 13px/1.3 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; }
.lp-c-recent__item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #f3f2ef; }
.lp-c-recent__p { color: #5b6462; font-weight: 500; }
@media (max-width: 575.98px) { .lp-c-recent__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FM-025 phone basket: items first, summary after ---------- */
@media (max-width: 991.98px) {
  body#cart .row:has(> .cart-grid-body) { flex-direction: column; }
  body#cart .cart-grid-body { order: 1 !important; }
  body#cart .cart-grid-right { order: 2 !important; }
}

/* ---------- FM-069 footer payment pills ---------- */
.lp-w12-pay__i { white-space: nowrap; }

/* ---------- FM-038 welcome chip stays off the content (module markup is not in the theme: CSS only) ---------- */
@media (max-width: 767.98px) {
  body:is(#product, #category) .lpw-launch { left: 8px !important; right: auto !important; bottom: calc(var(--lp-bottom-stack, 64px) + 76px) !important; padding: 6px 10px !important; font-size: 12px !important; max-width: 150px; }
}
@media (min-width: 768px) { body#category .lpw-launch { left: 8px !important; right: auto !important; bottom: 8px !important; padding: 6px 11px !important; min-height: 0 !important; height: 30px !important; font-size: 12px !important; line-height: 1 !important; } }

/* ---------- FM-083 cookie banner smaller on phones (no behaviour change) ---------- */
@media (max-width: 575.98px) {
  #cookieMessage .cookie-message-wrapper { padding: 8px 12px !important; gap: 10px; align-items: center; }
  #cookieMessage .cookie-message-content p { font-size: 12px !important; line-height: 1.3 !important; margin: 0 !important; }
  #cookieMessage .cookie-close-button { padding: 8px 14px !important; font-size: 13px !important; min-height: 0 !important; line-height: 1.2 !important; }
}

/* gallery + chips fixes (c, round 2) */
.lp-card-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 6px; }
.lp-card-chips span { padding: 3px 7px; border-radius: 5px; background: #f2f3f4; color: #46525c; font: 600 11.5px/1.2 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; }
@media (min-width: 992px) {
  body#product .images-container ul.product-images .thumb-container a.thumb { display: block; width: 62px; height: 62px; padding: 0; overflow: hidden; border-radius: 6px; }
  body#product .images-container .thumbs-list { overflow-x: hidden; }
  body#product .lp-pdp__gallery .product-flags { left: 84px !important; }
}
@media (min-width: 992px) {
  body#product .images-container .thumbs-list { padding: 0 !important; width: 66px; }
  body#product .images-container .images-container-wrapper { grid-template-columns: 66px minmax(0, 1fr); }
  body#product .images-container ul.product-images { width: 64px; }
  body#product .images-container ul.product-images .thumb-container, body#product .images-container ul.product-images .thumb-container a.thumb { width: 62px !important; box-sizing: border-box; }
  body#product .images-container .flex-scrollbox-wrapper { width: auto !important; }
}
@media (min-width: 992px) {
  html body#product .images-container .images-container-wrapper .thumbs-list { padding: 0 !important; margin: 0 !important; overflow: visible !important; max-height: none !important; width: 66px !important; }
  html body#product .images-container .images-container-wrapper .thumbs-list .flex-scrollbox-wrapper { width: 66px !important; overflow: visible !important; }
}

.lp-c-sample-note { margin: 6px 0 2px; font: 500 13px/1.35 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #5b6462; }
.lp-v4-sale-strip__link { display: block; color: inherit !important; text-decoration: none !important; }

/* FIX-MASTER batch F (7 Nov 2026): optional essentials, share pill, sample request. Staging first. */
.lp-f-ess { margin: 14px 0; padding: 14px; border: 1px solid #dfe5e2; border-radius: 8px; background: #fff; font-family: "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #20332f; }
.lp-f-ess__h { margin: 0 0 2px; font-size: 17px; line-height: 1.25; font-weight: 700; }
.lp-f-ess__sub { margin: 0 0 10px; font-size: 13px; color: #5b6462; }
.lp-f-ess__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-f-ess--cart .lp-f-ess__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-f-ess__item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lp-f-ess__pic { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 6px; overflow: hidden; background: #f3f5f4; }
.lp-f-ess__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-f-ess__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lp-f-ess__name { font-size: 14px; line-height: 1.3; font-weight: 600; color: inherit; text-decoration: none; }
.lp-f-ess__name:hover { text-decoration: underline; }
.lp-f-ess__price { font-size: 13px; color: #5b6462; }
.lp-f-ess__btn { flex: 0 0 auto; min-width: 92px; min-height: 40px; padding: 0 16px; border: 1px solid #20332f; border-radius: 6px; background: #fff; color: #20332f; font: 600 14px/38px "Laporsa Manrope", "Segoe UI", Arial, sans-serif; text-decoration: none; text-align: center; cursor: pointer; }
.lp-f-ess__btn:hover { background: #20332f; color: #fff; }
.lp-f-ess__btn.is-done, .lp-f-ess__btn:disabled { background: #eef2f0; color: #5b6462; border-color: #cfd7d3; cursor: default; }
@media (max-width: 767.98px) { .lp-f-ess--cart .lp-f-ess__list { grid-template-columns: 1fr; } }
.lp-f-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 10px; font: 500 13px/1.3 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #5b6462; }
.lp-f-share__l { font-weight: 600; color: #20332f; }
.lp-f-share__b { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid #cfd7d3; border-radius: 999px; background: #fff; color: #20332f; font: 600 13px/1 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; text-decoration: none; cursor: pointer; }
.lp-f-share__b:hover { border-color: #20332f; }
.lp-f-share__live { min-width: 1px; font-size: 13px; color: #2d6a4f; }
.lp-f-sample { margin: 4px 0 10px; font-family: "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #20332f; }
.lp-f-sample__open { min-height: 40px; padding: 0 16px; border: 1px solid #20332f; border-radius: 6px; background: #fff; color: #20332f; font: 600 14px/1 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; cursor: pointer; }
.lp-f-sample__form { position: relative; margin-top: 10px; padding: 12px; border: 1px solid #dfe5e2; border-radius: 8px; background: #fafbfa; display: grid; gap: 6px; }
.lp-f-sample__form[hidden] { display: none; }
.lp-f-sample__p { margin: 0 0 4px; font-size: 13px; color: #5b6462; }
.lp-f-sample__lab { font-size: 13px; font-weight: 600; }
.lp-f-sample__in { min-height: 42px; padding: 0 10px; border: 1px solid #cfd7d3; border-radius: 6px; font-size: 16px; width: 100%; }
.lp-f-sample__go { min-height: 44px; margin-top: 4px; border: 0; border-radius: 6px; background: #20332f; color: #fff; font: 700 15px/1 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; cursor: pointer; }
.lp-f-sample__go:disabled { opacity: .6; cursor: default; }
.lp-f-sample__msg { margin: 2px 0 0; font-size: 13px; min-height: 1em; }

/* FM-089 (h, 7 Nov 2026): desktop gallery + accordions follow the tall buy column (undoes the static lock from lp-eb-v9 D). Capped to the viewport so an opened accordion scrolls inside instead of being cut. */
@media (min-width: 992px) {
  html body#product .lp-pdp__grid { align-items: flex-start; }
  html.lp-eb-pb body#product .lp-pdp__media { position: sticky !important; top: 84px !important; align-self: flex-start; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; }
}
