/* lp-v6.css (7 Nov 2026, staging). G1 slim phone header, G2 sticky action bar, G3 category icon row, G5 assurance row, product spec card alignment. */

/* ---------- G1: phone header, about 110px (sale strip 26 + row 48 + department strip 34) ---------- */
@media (max-width: 991.98px) {
  html body .lp-v4-sale-strip { padding: 4px 12px; font-size: 12.5px; line-height: 18px; }
  #header .lp-responsive-header .main-header .header-wrapper { display: grid !important; grid-template-columns: 40px minmax(0, 1fr) 40px 40px !important; grid-template-rows: 40px !important; gap: 0 8px !important; min-height: 48px; padding: 4px 0 !important; align-items: center; position: relative; }
  html body .lp-header .lp-mobile-menu-toggle { width: 40px; height: 40px; min-width: 40px; min-height: 40px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
  html body .lp-header .lp-mobile-menu-toggle span { font-size: 22px; line-height: 1; }
  html body .lp-header .header-logo a { min-height: 40px; display: inline-flex; align-items: center; }
  #header .lp-responsive-header .header-logo img, html.lp-condensed #header .lp-responsive-header .header-logo img { max-height: 30px; margin: 0; }
  #header .lp-responsive-header .header-logo { text-align: left; }
  html body #header .lp-responsive-header .main-header { padding: 0 !important; }
  html body .lp-header .shopping-cart-module .cart-link { width: 40px; height: 40px; min-height: 40px; min-width: 40px; padding: 0; }

  /* search: an icon in the row (grid column 3); tapping it expands the bar over the row (pure CSS, :focus-within) */
  html #header .lp-responsive-header .searchbar-wrapper,
  html.lp-condensed #header .lp-responsive-header .searchbar-wrapper { display: block !important; grid-column: 3 !important; grid-row: 1 !important; width: 40px !important; height: 40px !important; min-height: 40px !important; margin: 0 !important; opacity: 1 !important; visibility: visible !important; overflow: visible !important; position: relative; padding: 0; }
  html #header .lp-responsive-header .searchbar-wrapper :is(#search_widget, .search-widget, form) { display: block !important; position: static; width: 100% !important; height: 100% !important; margin: 0 !important; }
  html #header .lp-responsive-header .searchbar-wrapper input[type="text"] { position: absolute !important; left: 0; top: 0; width: 40px !important; height: 40px !important; min-height: 40px !important; padding: 0 !important; opacity: 0 !important; z-index: 2; }
  html #header .lp-responsive-header .searchbar-wrapper button { position: absolute !important; left: 0; top: 0; right: auto; width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: transparent !important; color: #18232c !important; pointer-events: none; display: flex !important; align-items: center; justify-content: center; z-index: 1; border-radius: 0 !important; }
  html #header .lp-responsive-header .searchbar-wrapper form { background: transparent !important; border: 0 !important; box-shadow: none !important; }
  html #header .lp-responsive-header .searchbar-wrapper button i { background: transparent !important; color: inherit !important; width: 24px !important; height: 24px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; }
  html #header .lp-responsive-header .searchbar-wrapper button svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }
  html #header .lp-responsive-header .searchbar-wrapper:focus-within,
  html.lp-condensed #header .lp-responsive-header .searchbar-wrapper:focus-within { position: absolute !important; left: 0; right: 0; top: 0; bottom: 0; grid-column: auto !important; width: auto !important; height: auto !important; background: #fff; z-index: 30; padding: 4px 0; }
  html #header .lp-responsive-header .searchbar-wrapper:focus-within :is(#search_widget, .search-widget, form) { position: relative; }
  html #header .lp-responsive-header .searchbar-wrapper:focus-within input[type="text"] { position: static !important; width: 100% !important; height: 40px !important; padding: 0 48px 0 14px !important; opacity: 1 !important; border: 1.5px solid #18232c !important; border-radius: 10px !important; background: #fff !important; font-size: 16px; }
  html #header .lp-responsive-header .searchbar-wrapper:focus-within button { left: auto; right: 0; top: 0; pointer-events: auto; background: #18232c !important; color: #fff !important; border-radius: 0 10px 10px 0 !important; }
  html #header .lp-responsive-header .searchbar-wrapper:focus-within button svg { width: 20px; height: 20px; }

  html body #header .header-wrapper:has(.searchbar-wrapper:focus-within) .shopping-cart-module { visibility: hidden; }

  /* department strip folded to a slim scroll row, every link kept, Sale first */
  html body .lp-deptstrip { height: 34px; }
  html body .lp-deptstrip a { min-height: 34px; font-size: 13px; padding: 0 11px; }
  html body .lp-deptstrip__more { width: 34px; }
}

/* ---------- G2: sticky action bar (phone, home and listings) ---------- */
.lp-abar { display: none; }
@media (max-width: 767.98px) {
  .lp-abar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: var(--lp-cookie-h, 0px); z-index: 998; background: #fff; border-top: 1px solid #e6e8ea; padding-bottom: env(safe-area-inset-bottom, 0px); transition: transform .2s, opacity .2s; font-family: "Laporsa Manrope", "Segoe UI", Arial, sans-serif; }
  .lp-abar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; padding: 4px 2px; color: #18232c; text-decoration: none; font-weight: 700; font-size: 11px; line-height: 1.15; text-align: center; border-left: 1px solid #e6e8ea; }
  .lp-abar a:first-child { border-left: 0; }
  .lp-abar svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .lp-abar a.lp-abar__call { background: var(--lp-orange, #E0662B); color: #fff; border-left: 0; }
  .lp-abar.is-off { transform: translateY(110%); opacity: 0; pointer-events: none; }
  /* chat and widget buttons ride above the bar */
  html:has(.lp-abar) body #lpc-fab { bottom: calc(var(--lp-cookie-h, 0px) + 64px + env(safe-area-inset-bottom, 0px)) !important; }
  html:has(.lp-abar) body .lpw-launch { bottom: calc(var(--lp-cookie-h, 0px) + 116px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ---------- G3: category icon row under the header (phone home) ---------- */
.lp-caticons { display: none; }
@media (max-width: 767.98px) {
  .lp-caticons { display: block; background: #fff; border-bottom: 1px solid #e6e8ea; }
  .lp-caticons ul { display: flex; margin: 0; padding: 6px 4px; list-style: none; overflow-x: auto; scrollbar-width: none; }
  .lp-caticons ul::-webkit-scrollbar { display: none; }
  .lp-caticons li { flex: 1 0 20%; min-width: 68px; margin: 0; padding: 0; }
  .lp-caticons a { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 56px; padding: 4px 2px; color: #18232c; text-decoration: none; font: 700 11.5px/1.15 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; }
  .lp-caticons svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .lp-caticons a.is-sale { color: #b4380f; }
}

/* ---------- G5: assurance row (home and product) ---------- */
.lp-assure { margin: 24px 0; }
.lp-assure__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.lp-assure__list li { margin: 0; padding: 0; }
.lp-assure__list :is(a, div) { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 12px; border: 1px solid #e6e8ea; border-radius: 10px; background: #fff; color: #18232c; text-decoration: none; font-family: "Laporsa Manrope", "Segoe UI", Arial, sans-serif; }
.lp-assure svg { width: 28px; height: 28px; margin-bottom: 4px; stroke: #b4380f; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lp-assure strong { font-weight: 800; font-size: 14px; line-height: 1.25; }
.lp-assure span { font-size: 12.5px; line-height: 1.35; color: #5b6670; }
@media (min-width: 768px) { .lp-assure__list { grid-template-columns: repeat(4, 1fr); gap: 16px; } .lp-assure { margin: 40px 0; } }
.lp-v4-home .lp-assure { max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 12px; box-sizing: border-box; }
.lp-v4-home .home-trust { display: none; }
body#product .lp-assure { margin: 16px 0; }

/* ---------- product: Product details card lines up with the description card (desktop) ---------- */
@media (min-width: 992px) {
  html body#product .lm-product-story-grid:has(.lp-pp-spec--mini) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; align-items: start; }
  html body#product .lm-product-story-grid > .lp-pp-spec { margin-top: 0 !important; width: 100%; max-width: none; }
}
