/* lp-polish-v12.css (7 Nov 2026, W12 polish batch, staging only). Loaded LAST in head.tpl. Replaces rules from lp-eb-v9.css / lp-final-v10.css where noted; checkout (templates/checkout, lp-checkout-v11.*) is not touched.
   Sections: 1 sale page, 2 sale flag + Was price, 3 phone search, 4 sticky header, 5 product page, 6 category cards + chips, 7 welcome pill, 8 footer, 9 category photo row, 10 sizing. */
:root { --w12-ink: #18232c; --w12-body: #4a5560; --w12-line: #e6e8ea; --w12-red: #dc2626; --w12-or: #d95618; --w12-font: "Laporsa Manrope", Manrope, "Segoe UI", Arial, sans-serif; }

/* ===== 1. Sale page (/sale): H1, one-line intro, photo row, then the normal listing ===== */
html body#prices-drop .lm-listing-header.lps-wrap,
html body#prices-drop .lps-wrap::before, html body#prices-drop .lps-wrap::after { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
html body#prices-drop .lps-wrap::before, html body#prices-drop .lps-wrap::after { display: none !important; }
html body#prices-drop .lps { margin: 4px 0 26px; }
html body#prices-drop .lps a { text-decoration: none; color: inherit; }
html body#prices-drop .lps-head { margin: 0 0 22px; }
html body#prices-drop .lps h1.lps-h1 { margin: 0 0 8px !important; color: var(--w12-ink) !important; font: 800 36px/1.1 var(--w12-font) !important; letter-spacing: -.02em; text-transform: none; }
html body#prices-drop .lps-sub { margin: 0 !important; color: var(--w12-body) !important; font: 500 16px/1.5 var(--w12-font) !important; }
html body#prices-drop .lps-chips { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px !important; overflow: visible; padding: 0 !important; }
html body#prices-drop .lps-chip { display: flex !important; flex-direction: column; gap: 10px; flex: none !important; border: 0 !important; background: none !important; padding: 0 !important; min-width: 0; }
html body#prices-drop .lps-chip img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px !important; background: #f3f1ec; }
html body#prices-drop .lps-chip span { min-height: 0 !important; padding: 0 !important; text-align: center; font: 700 13px/1.3 var(--w12-font) !important; letter-spacing: .09em; text-transform: uppercase; color: var(--w12-ink) !important; }
html body#prices-drop .lps-chip:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991.98px) {
  html body#prices-drop .lps h1.lps-h1 { font-size: 28px !important; }
  html body#prices-drop .lps-sub { font-size: 14.5px !important; line-height: 1.4 !important; }
  html body#prices-drop .lps-head { margin-bottom: 14px; }
  html body#prices-drop .lps-chips { display: flex !important; gap: 12px !important; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px !important; margin-right: -12px; }
  html body#prices-drop .lps-chips::-webkit-scrollbar { display: none; }
  html body#prices-drop .lps-chip { flex: 0 0 148px !important; scroll-snap-align: start; }
  html body#prices-drop .lps-chip span { font-size: 11.5px !important; }
}

/* ===== 2. Sale flag + Was price on every discounted card (cards, home rows, product page). The compare-at price comes from the shop; nothing is invented. ===== */
html body .product-flag.discount, html body .product-flags .discount { background: var(--w12-red) !important; color: #fff !important; border-radius: 6px !important; font-weight: 800 !important; letter-spacing: .02em; text-transform: uppercase; }
html body .product-flag.discount span::before, html body .product-flags .discount span::before { content: "Sale "; font-weight: 800; }
html body .product-miniature:has(.regular-price) .price.product-price, html body .product-miniature:has(.regular-price) .first-prices .price { color: var(--w12-red) !important; }
html body .product-miniature .regular-price { color: #6b7480 !important; text-decoration: line-through !important; font-size: 14px !important; font-weight: 500 !important; }
html body .product-miniature .lp-card-disc { background: #fde8e8 !important; color: var(--w12-red) !important; border-radius: 6px !important; font-weight: 800 !important; }
html body#product .product-prices:has(.regular-price) .current-price-value, html body#product .product-prices:has(.regular-price) .lp-sqm-price { color: var(--w12-red) !important; }
html body#product .product-prices .regular-price { color: #6b7480 !important; text-decoration: line-through !important; font-size: 18px !important; font-weight: 600 !important; }
html body#product .product-discount .discount-percentage, html body#product .product-prices .discount-percentage { background: var(--w12-red) !important; color: #fff !important; border-radius: 6px !important; font-weight: 800 !important; padding: 3px 8px !important; }

/* ===== 3. Phone search: the icon was white on white. Visible dark icon; tapping opens the bar over the header with a dim backdrop. ===== */
@media (max-width: 991.98px) {
  html body #header .lp-responsive-header .searchbar-wrapper button svg, html body #header .lp-responsive-header .searchbar-wrapper button svg * { stroke: #18232c !important; fill: none !important; stroke-width: 2 !important; }
  html body #header .lp-responsive-header .searchbar-wrapper:focus-within button svg, html body #header .lp-responsive-header .searchbar-wrapper:focus-within button svg * { stroke: #fff !important; }
  html body #header .lp-responsive-header .searchbar-wrapper:focus-within { position: fixed !important; left: 0 !important; right: 0 !important; top: 0 !important; bottom: auto !important; height: auto !important; padding: 10px 12px !important; box-shadow: 0 8px 24px rgba(0,0,0,.18); z-index: 2000 !important; }
  html:has(#header .searchbar-wrapper:focus-within) body::after { content: ""; position: fixed; inset: 0; background: rgba(24,35,44,.45); z-index: 1900; pointer-events: none; }
  html body #header .lp-responsive-header .searchbar-wrapper:focus-within input[type="text"] { height: 46px !important; font-size: 16px !important; }
  html body #header .lp-responsive-header .searchbar-wrapper:focus-within button { height: 46px !important; width: 50px !important; }
}

/* ===== 4. Desktop sticky compact bar (56px). A separate fixed element (lp-polish-v12.js): the in-flow header never changes height, so no layout shift and no blink. Phone keeps the lp-d10.js rule. ===== */
.lp-w12-bar { display: none; }
@media (min-width: 992px) {
  .lp-w12-bar { display: flex; align-items: center; gap: 28px; position: fixed; left: 0; right: 0; top: 0; height: 56px; padding: 0 max(24px, calc((100vw - 1320px) / 2)); background: #fff; border-bottom: 1px solid var(--w12-line); box-shadow: 0 4px 16px rgba(24,35,44,.08); z-index: 1040; transform: translateY(-110%); transition: transform .18s ease; font-family: var(--w12-font); }
  html.lp-w12-on .lp-w12-bar { transform: none; }
  .lp-w12-bar__logo img { display: block; height: 30px; width: auto; }
  .lp-w12-bar__nav { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
  .lp-w12-bar__nav a { color: var(--w12-ink); font: 600 14.5px/56px var(--w12-font); text-decoration: none; }
  .lp-w12-bar__nav a:hover { color: var(--w12-or); }
  .lp-w12-bar__search { flex: 1 1 auto; max-width: 420px; margin-left: auto; position: relative; }
  .lp-w12-bar__search input { width: 100%; height: 38px; padding: 0 44px 0 16px; border: 1px solid var(--w12-line); border-radius: 19px; background: #f4f3f1; font: 500 14px var(--w12-font); color: var(--w12-ink); }
  .lp-w12-bar__search button { position: absolute; right: 0; top: 0; width: 42px; height: 38px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .lp-w12-bar__search svg { width: 18px; height: 18px; stroke: var(--w12-ink); fill: none; stroke-width: 2; }
  .lp-w12-bar__cart { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; background: var(--w12-or); color: #fff !important; font: 700 14px var(--w12-font); text-decoration: none; }
  /* sticky bars that sit at top:0 move under the compact bar */
  html.lp-w12-on .lp-listing__toolbar, html.lp-w12-on body#category .lp-cat__bar, html.lp-w12-on .lp-sticky-filters { top: 56px !important; }
  html.lp-w12-on { scroll-padding-top: 72px; }
}
@media (max-width: 991.98px) { .lp-w12-bar { display: none !important; } }

/* ===== 6. Category and listing cards: square image, two-line title, aligned price rows; applied-filter chips; count ===== */
html body .product-miniature .lp-card__media, html body .product-miniature .first-block { position: relative; }
html body .product-miniature .product-thumbnail { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: #f3f1ec; }
html body .product-miniature .product-thumbnail .product-cover-link { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 10px; }
html body .product-miniature .product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
html body .product-miniature .product-thumbnail img.lp-whole { object-fit: contain; background: #fff; }
html body .product-miniature .product-container { display: flex; flex-direction: column; height: 100%; }
html body .product-miniature .lp-card__body { display: flex; flex-direction: column; flex: 1 1 auto; }
html body .product-miniature .lp-card__title { margin: 12px 0 4px !important; font-size: 15.5px !important; line-height: 1.35 !important; font-weight: 600 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
html body .product-miniature .lp-card__title a { text-decoration: none !important; }
html body .product-miniature .lp-card__size { order: 3; margin: 0 0 4px; min-height: 0; font-size: 13px; color: #6b7480; }
html body .product-miniature .lp-card__foot { margin-top: auto !important; }
html body .product-miniature .product-price-and-shipping { align-items: baseline; flex-wrap: wrap; gap: 2px 10px; min-height: 28px; }
html body .product-miniature .product-price-and-shipping .price { font-size: 19px !important; font-weight: 800 !important; }
html body .product-miniature .product-description-short { display: none; }
/* applied filters: one row of chips and Clear all, no box */
html body #js-active-search-filters .active-filters { border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; margin: 10px 0 14px !important; }
html body #js-active-search-filters .active-search-wrapper { display: block; }
html body #js-active-search-filters .active-filter-title { display: none; }
html body #js-active-search-filters .active-filter-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
html body #js-active-search-filters .filter-block { display: inline-flex !important; align-items: center; gap: 4px; min-height: 40px; padding: 0 4px 0 14px !important; background: #f4f3f1 !important; border: 1px solid var(--w12-line) !important; border-radius: 20px !important; font: 600 14px var(--w12-font); color: var(--w12-ink); }
html body #js-active-search-filters .filter-block a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-width: 32px !important; min-height: 32px !important; border-radius: 50%; background: transparent !important; border: 0 !important; color: var(--w12-ink); }
html body #js-active-search-filters .lp-clear-all-li { list-style: none; }
html body #js-active-search-filters .lp-clear-all { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 20px; background: var(--w12-ink); color: #fff !important; font: 700 14px var(--w12-font); text-decoration: none; }
.lp-w12-showing { font: 600 14px var(--w12-font); color: var(--w12-body); white-space: nowrap; }

/* ===== 8. Footer: payment methods row; the duplicate copyright (module line "Copyright 2025") is trimmed by lp-polish-v12.js, the 2026 line stays ===== */
.lp-w12-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; }
.lp-w12-pay__t { font: 600 13px var(--w12-font); color: var(--w12-body); margin-right: 4px; }
.lp-w12-pay__i { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 30px; padding: 0 12px; border: 1px solid #d8d4cb; border-radius: 6px; background: #fff; font: 800 12.5px var(--w12-font); color: var(--w12-ink); letter-spacing: .02em; }
.lp-w12-pay__pp { color: #003087; font-style: italic; }
html body #footer .lp-v4-copyright .container { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }

/* ===== 5. Product page diet. Gaps 12-16px, one Google chip, compact calculator, description / specs / delivery as accordions. Calculator behaviour untouched (only layout). ===== */
.lp-acc { border-top: 1px solid var(--w12-line); margin: 0; }
.lp-acc:last-of-type { border-bottom: 1px solid var(--w12-line); }
.lp-acc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 2px; cursor: pointer; font: 700 16px var(--w12-font); color: var(--w12-ink); }
.lp-acc > summary::-webkit-details-marker { display: none; }
.lp-acc > summary::after { content: "+"; font: 400 24px/1 var(--w12-font); color: var(--w12-ink); }
.lp-acc[open] > summary::after { content: "\2212"; }
.lp-acc__b { padding: 0 2px 16px; }
html body#product .lp-acc__b > article, html body#product .lp-acc__b > aside, html body#product .lp-acc__b > section { border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; background: none !important; }
html body#product .lp-acc__b .lm-product-section-heading, html body#product .lp-acc__b .lp-pp-h3, html body#product .lm-product-story-header { display: none !important; }
html body#product .lp-acc__b .js-lm-product-description, html body#product .lp-acc__b .lm-product-rich-text-shell { max-height: none !important; height: auto !important; overflow: visible !important; }
html body#product .lp-acc__b .lm-product-description-fade, html body#product .lp-acc__b .js-lm-description-toggle { display: none !important; }
html body#product .lp-acc__b .lp-pp-deliv__row { padding-left: 0; }
html body#product .lm-product-story-grid { display: block; }

@media (min-width: 992px) {
  html body#product .breadcrumb-wrapper { padding: 0 !important; min-height: 0 !important; height: auto !important; }
  html body#product .breadcrumb-wrapper .breadcrumb { min-height: 0 !important; padding: 12px 0 8px !important; margin: 0 !important; }
  html body#product .breadcrumb-wrapper .breadcrumb-item { min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  html body#product .lm-product-title { font-size: 26px !important; line-height: 1.2 !important; margin: 0 0 8px !important; }
  html body#product .lp-pdp__trust { display: none !important; }
  html body#product .lp-pdp__gallery { margin-bottom: 0; }
  html body#product .product-prices { margin: 0 0 10px !important; padding: 0 !important; }
  html body#product .lp-sqm-price { margin: 0 0 4px !important; line-height: 1.1 !important; font-size: 30px !important; }
  html body#product .product-prices-wrapper { margin: 0 !important; }
  html body#product .product-add-to-cart { margin: 0 !important; }
  html body#product .lp-purchase-controls { padding: 12px 14px !important; margin: 0 !important; }
  html body#product .lp-calc { margin: 0 0 8px !important; padding: 0 !important; }
  html body#product .lp-calc__h { margin: 0 0 6px !important; font-size: 15px !important; display: flex; align-items: baseline; gap: 8px; }
  html body#product .lp-calc__sub { display: none !important; }
  html body#product .lp-calc__seg { margin: 0 0 8px !important; }
  html body#product .lp-calc__seg button { min-height: 36px !important; height: 36px !important; }
  html body#product .lp-calc__a { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin: 0 0 8px !important; }
  html body#product .lp-calc__a .lp-calc__fld { margin: 0 !important; }
  html body#product .lp-calc__a .lp-calc__fld label { font-size: 12px; }
  html body#product .lp-calc__area, html body#product .lp-calc__len, html body#product .lp-calc__wid { height: 42px !important; min-height: 42px !important; }
  html body#product .lp-calc__quick { margin: 0 !important; }
  html body#product .lp-calc__row { margin: 0 0 6px !important; min-height: 0 !important; }
  html body#product .lp-calc__res { margin: 0 !important; padding: 8px 0 0 !important; min-height: 0 !important; }
  html body#product .lp-tile-order > label[for="lp-area"], html body#product .lp-order-notes { display: none; }
  html body#product .product-quantity-touchspin { display: flex !important; align-items: center; gap: 12px; margin: 8px 0 !important; min-height: 0 !important; }
  html body#product .product-quantity-touchspin .lp-tile-count-label { margin: 0 !important; white-space: nowrap; }
  html body#product .product-quantity-touchspin .qty { flex: 0 0 auto; }
  html body#product .product-quantity-touchspin .input-group { height: 44px; }
  html body#product .product-quantity-touchspin input.form-control, html body#product .product-quantity-touchspin .btn-touchspin { height: 44px !important; min-height: 44px !important; }
  html body#product .lp-purchase-controls .add { margin: 0 !important; }
  html body#product .lp-purchase-controls .add .btn.add-to-cart { height: 54px !important; min-height: 54px !important; font-size: 17px !important; }
  html body#product .lp-purchase-total { margin: 6px 0 0 !important; }
  html body#product .lp-v2-bundle-slot, html body#product .lp-v4-purchase-help { margin-top: 12px !important; }
  html body#product .lp-acc--deliv { margin-top: 12px; }
}
@media (max-width: 991.98px) {
  html body#product .lp-acc > summary { min-height: 56px; font-size: 16px; }
  html body#product .lp-pdp__trust { margin: 6px 0 !important; }
  html body#product .lp-acc--desc, html body#product .lp-acc--spec, html body#product .lp-acc--deliv { margin: 0 16px; }
}

/* ===== 9. Category photo row: a single child is not a photo row (template change in subcategories.tpl); keep the Google chip close to the title ===== */
html body#category .lm-subcategories:not(:has(.lm-subcategory-card + .lm-subcategory-card)) { display: none !important; }

/* ===== 10. Generous sizing like EB where cheap ===== */
@media (min-width: 992px) {
  html body#category .lm-listing-header h1, html body#category .page-title-wrapper h1 { font-size: 36px !important; }
  html body .section-title, html body .lpc-h2, html body .lm-section-title, html body .title-block span { font-size: 28px !important; letter-spacing: .01em; }
  html body .product-miniature .lp-card__title { font-size: 16px !important; }
}
@media (min-width: 992px) {
  html body#product .breadcrumb-wrapper .breadcrumb-item a, html body#product .breadcrumb-wrapper .breadcrumb-item span { min-height: 0 !important; padding: 0 !important; line-height: 1.3 !important; display: inline !important; }
  html body#product .breadcrumb-wrapper .breadcrumb-item { height: auto !important; align-items: center; }
  html body#product .breadcrumb-wrapper .breadcrumb { padding: 8px 0 6px !important; }
  html body#product .product-quantity-touchspin { flex-wrap: nowrap !important; }
  html body#product .product-quantity-touchspin .lp-tile-count-label { width: auto !important; flex: 0 0 auto !important; }
  html body#product .product-quantity-touchspin .qty { width: auto !important; flex: 0 0 auto !important; }
  html body#product .lp-calc__c { display: none !important; }
  html body#product .lp-v2-measure { margin: 4px 0 0 !important; min-height: 0 !important; }
  html body#product .lp-v2-measure > summary { min-height: 32px !important; padding: 4px 0 !important; }
  html body#product .lp-calc__res { padding-top: 6px !important; margin-top: 4px !important; }
}
@media (min-width: 992px) {
  html body#product .lp-calc__h { margin-bottom: 8px !important; }
  html body#product .lp-purchase-controls .add { margin-top: 8px !important; }
}
@media (max-width: 991.98px) {
  html body#product .product-accessories .product-list-wrapper { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 12px !important; scroll-snap-type: x proximity; scrollbar-width: none; margin-right: -16px; }
  html body#product .product-accessories .product-list-wrapper > * { flex: 0 0 160px !important; width: 160px !important; max-width: 160px !important; scroll-snap-align: start; }
  html body#product .product-accessories .product-thumbnail { aspect-ratio: 1 / 1; }
  html body#product .lp-assure__list { display: flex !important; overflow-x: auto; gap: 10px; scrollbar-width: none; margin-right: -16px; }
  html body#product .lp-assure__list > li { flex: 0 0 150px !important; min-width: 150px; height: auto !important; }
  html body#product .lp-acc--trust { margin: 0 16px; }
}
@media (max-width: 991.98px) {
  html body#product section.product-accessories div.product-list div.product-list-wrapper.grid { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 12px !important; grid-template-columns: none !important; }
  html body#product section.product-accessories div.product-list div.product-list-wrapper.grid > article, html body#product section.product-accessories div.product-list div.product-list-wrapper.grid > .product-miniature { flex: 0 0 160px !important; width: 160px !important; max-width: 160px !important; }
}
@media (max-width: 991.98px) {
  /* duplicates of the WhatsApp/call links already above the fold on this page */
  html body#product .lpc-pi > p, html body#product .lp-assure { display: none !important; }
}
@media (max-width: 991.98px) {
  html body#product .lp-v2-help { display: none !important; }
  html body#product .lp-product-store-reviews { margin: 8px 0 !important; }
  html body#product .lp-product-store-reviews .lpc-home { padding: 8px 0 !important; }
  html body#product .lp-product-store-reviews .lpc-review { padding: 12px 14px !important; }
  html body#product .lp-product-store-reviews .lpc-more { margin: 6px 0 0 !important; }
  html body#product .lcp-item { padding-top: 8px !important; padding-bottom: 8px !important; }
}
/* specificity guard for section 2 (older sheets use html.lp-eb-js body ... with !important) */
html body:not(#w12) .product-miniature .product-flag.discount, html body:not(#w12) .product-flags .product-flag.discount, html body:not(#w12) .product-flags li.discount { background: var(--w12-red) !important; color: #fff !important; border-radius: 6px !important; }
html body:not(#w12) .product-miniature:has(.regular-price) .price.product-price { color: var(--w12-red) !important; }
html body:not(#w12) .product-miniature .regular-price { color: #6b7480 !important; }
html body .product-flags:has(.discount) .product-flag.on-sale { display: none !important; }
html body:not(#w12) .product-flag.on-sale { background: var(--w12-red) !important; color: #fff !important; border-radius: 6px !important; }
html body:not(#w12) .product-miniature h3.lp-card__title { display: -webkit-box !important; -webkit-line-clamp: 2 !important; line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; min-height: 2.7em !important; max-height: 2.7em !important; }
