/* Listing v5 (Claude, 6 Nov). Part A: category master re-pointed at search, offers, best sellers, new products. Part B: bathroom + hub + search overrides. Undo: remove the link in head.tpl. */
/* Category master v5 (Claude, 6 Nov). Loaded only on category pages. Undo: remove the link in head.tpl. Prices, hooks and filters untouched. */
html body:is(#search,#prices-drop,#best-sales,#new-products) { background: #fff !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) #wrapper, html body:is(#search,#prices-drop,#best-sales,#new-products) #content-wrapper, html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-listing-products { background: #fff !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .breadcrumb-wrapper, html body:is(#search,#prices-drop,#best-sales,#new-products) .breadcrumb { margin: 0 !important; padding: 6px 0 !important; background: transparent !important; font-size: 12px !important; }

/* Title strip */
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-category-header { margin: 0 0 8px !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-category-hero { display: block !important; min-height: 0 !important; padding: 2px 0 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-category-hero .lm-category-image { display: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-category-copy { padding: 0 !important; max-width: 760px; }
html body:is(#search,#prices-drop,#best-sales,#new-products) h1.page-heading { margin: 0 0 4px !important; font: 800 26px/1.15 "Laporsa Manrope", "Segoe UI", Arial, sans-serif !important; letter-spacing: -.02em; color: #18232c; text-align: left !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-v4-category-intro { margin: 0 !important; font: 400 14px/1.45 "Laporsa Manrope", "Segoe UI", Arial, sans-serif !important; color: #5b6670; text-align: left !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Chips */
.lp-cat-chips { display: flex; gap: 8px; margin: 10px -12px 0; padding: 0 12px 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lp-cat-chips::-webkit-scrollbar { display: none; }
.lp-cat-chips a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #dfe3e6; border-radius: 999px; background: #fff; color: #18232c !important; font: 600 13.5px/1 "Laporsa Manrope", "Segoe UI", Arial, sans-serif; text-decoration: none !important; white-space: nowrap; }
.lp-cat-chips a.is-on { background: #18232c; border-color: #18232c; color: #fff !important; }

/* Filter and sort bar: sticks under the header */
html body:is(#search,#prices-drop,#best-sales,#new-products) #js-product-list-top { position: sticky; top: var(--lp-sticky-top, 0px); z-index: 20; display: grid !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px; min-height: 0 !important; margin: 0 -12px 12px !important; padding: 8px 12px !important; background: rgba(255, 255, 255, .97) !important; border: 0 !important; border-bottom: 1px solid #e6e8ea !important; box-shadow: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-products-count { margin: 0 !important; padding: 0 !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-products-count .lm-eyebrow { display: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-products-count strong { font: 600 13px/1 "Laporsa Manrope", "Segoe UI", Arial, sans-serif !important; color: #5b6670; white-space: nowrap; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-products-actions { display: flex !important; justify-content: flex-end; align-items: center; gap: 8px; margin: 0 !important; padding: 0 !important; min-width: 0; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-filter-button { min-height: 42px !important; padding: 0 14px !important; border-radius: 10px !important; font: 700 14px/1 "Laporsa Manrope", "Segoe UI", Arial, sans-serif !important; width: auto !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .products-sort-order { min-width: 0; margin: 0 !important; flex: 0 1 auto; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .products-sort-order .select-title, html body:is(#search,#prices-drop,#best-sales,#new-products) .products-sort-order button { min-height: 42px !important; max-width: 172px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 10px !important; font-size: 13.5px !important; }

/* Grid */
html body:is(#search,#prices-drop,#best-sales,#new-products) .products.product-list-wrapper { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 10px !important; margin: 0 !important; }
@media (min-width: 768px) { html body:is(#search,#prices-drop,#best-sales,#new-products) .products.product-list-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 26px 16px !important; } }
@media (min-width: 1200px) { html body:is(#search,#prices-drop,#best-sales,#new-products) .products.product-list-wrapper { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
html body:is(#search,#prices-drop,#best-sales,#new-products) .products .product-miniature { width: auto !important; max-width: none !important; flex: none !important; margin: 0 !important; padding: 0 !important; }

/* Card */
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__inner { display: flex !important; flex-direction: column; height: 100%; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; overflow: visible !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__media { position: relative; aspect-ratio: 1 / 1; margin: 0 0 8px !important; padding: 0 !important; overflow: hidden !important; border-radius: 10px; background: #f4f2ee !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__media .product-thumbnail, html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__media .product-cover-link { display: block; width: 100%; height: 100%; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__media img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .25s ease; transform-origin: center; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__media img.lp-whole { object-fit: contain; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .product-flag.new { display: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .product-flags { top: 8px !important; left: 8px !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__body { display: flex !important; flex: 1; flex-direction: column; padding: 0 !important; text-align: left !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__title { margin: 0 0 4px !important; min-height: 0 !important; text-align: left !important; font: 600 14px/1.3 "Laporsa Manrope", "Segoe UI", Arial, sans-serif !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__title a { color: #18232c !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.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; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__stock { margin: 0 0 6px !important; text-align: left !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__stock .lp-stock { display: inline-flex !important; align-items: center; gap: 5px; width: auto !important; padding: 0 !important; border: 0 !important; background: none !important; color: #15703f !important; font: 600 12px/1.2 "Laporsa Manrope", "Segoe UI", Arial, sans-serif !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__stock .lp-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1b8a4b; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__foot { margin-top: auto !important; padding: 0 !important; border: 0 !important; display: block !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .product-price-and-shipping { display: block !important; margin: 0 0 8px !important; text-align: left !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-sqm-price { font: 800 19px/1.15 "Laporsa Manrope", "Segoe UI", Arial, sans-serif !important; color: #18232c !important; text-align: left !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-per-tile-price .first-prices { display: block !important; margin: 1px 0 0 !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-per-tile-price .product-price, html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-per-tile-price .product-price .lp-tile-unit { font: 500 12.5px/1.3 "Laporsa Manrope", "Segoe UI", Arial, sans-serif !important; color: #5b6670 !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-per-tile-price .third-prices { display: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .product-price-and-shipping:not(.lp-per-tile-price) .product-price { font: 800 19px/1.15 "Laporsa Manrope", "Segoe UI", Arial, sans-serif !important; color: #18232c !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .product-list-reviews:has(.grade-stars:empty) { display: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .buttons-sections { margin: 0 !important; padding: 0 !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .buttons-sections .btn { display: flex !important; align-items: center; justify-content: center; width: 100% !important; min-height: 42px !important; padding: 0 8px !important; border-radius: 10px !important; font: 700 13.5px/1 "Laporsa Manrope", "Segoe UI", Arial, sans-serif !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .buttons-sections .lp-choose-quantity { background: #fff !important; border: 1.5px solid #18232c !important; color: #18232c !important; }
@media (hover: hover) { html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card:hover .lp-card__media img { filter: none; } html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card:hover .lp-card__title a { text-decoration: underline; } }

/* Toolbar wrapper carries the sticky so it holds for the whole list */
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__toolbar { position: sticky; top: var(--lp-sticky-top, 0px); z-index: 20; margin: 0 -12px 12px !important; padding: 0 !important; background: #fff !important; border: 0 !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) #js-product-list-top { position: static; margin: 0 !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) #js-active-search-filters:empty { display: none !important; margin: 0 !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) #js-product-list-top .sort-label, html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-view-switch, html body:is(#search,#prices-drop,#best-sales,#new-products) .products-view, html body:is(#search,#prices-drop,#best-sales,#new-products) .grid-list, html body:is(#search,#prices-drop,#best-sales,#new-products) .view-switcher { display: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) #wrapper { padding-top: 0 !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .breadcrumb-wrapper { padding: 0 !important; }
@media (max-width: 767.98px) {
  html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-v4-category-intro { -webkit-line-clamp: 1; }
  html body:is(#search,#prices-drop,#best-sales,#new-products) h1.page-heading { font-size: 24px !important; margin-bottom: 2px !important; }
  html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-cat-chips { margin-top: 8px; padding-bottom: 2px; }
  html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-category-header { margin-bottom: 0 !important; }
}
@media (min-width: 992px) {
  html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__toolbar { margin: 0 0 16px !important; }
  html body:is(#search,#prices-drop,#best-sales,#new-products) h1.page-heading { font-size: 32px !important; }
  .lp-cat-chips { margin-left: 0; margin-right: 0; padding-left: 0; }
}

html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__title, html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__title a, html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__body, html body:is(#search,#prices-drop,#best-sales,#new-products) .second-block, html body:is(#search,#prices-drop,#best-sales,#new-products) .third-block-left { text-align: left !important; justify-content: flex-start !important; align-items: stretch !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card-chips { justify-content: flex-start; }
html body:is(#search,#prices-drop,#best-sales,#new-products) #js-product-list-top [class*="view"], html body:is(#search,#prices-drop,#best-sales,#new-products) #js-product-list-top .form-control-label { display: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-products-actions { flex-wrap: nowrap !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__media img { background: #fff; }

html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__toolbar { position: sticky !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .second-block, html body:is(#search,#prices-drop,#best-sales,#new-products) .third-block-left, html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__foot, html body:is(#search,#prices-drop,#best-sales,#new-products) .buttons-sections, html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__title, html body:is(#search,#prices-drop,#best-sales,#new-products) .product-price-and-shipping, html body:is(#search,#prices-drop,#best-sales,#new-products) .first-prices, html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__stock { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card__title a { display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; white-space: normal !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-per-tile-price .product-price { padding: 0 !important; margin: 0 !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .buttons-sections { margin-top: auto !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__toolbar { top: var(--lp-sticky-top, 0px) !important; align-self: flex-start; width: calc(100% + 24px); }
html body:is(#search,#prices-drop,#best-sales,#new-products) #products { display: block !important; }
@media (min-width: 992px) { html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__toolbar { width: 100%; } }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__toolbar { z-index: 60 !important; background: #fff !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) #js-product-list-top { background: #fff !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) #js-product-list { position: relative; z-index: 1; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-category-hero::before, html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-category-hero::after, html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-category-copy::before, html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-category-copy::after, html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-category-header::before, html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-category-header::after { display: none !important; content: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-card-chips { margin-left: 0 !important; padding-left: 0 !important; }

/* ---- Part B ---- */
/* Shared token font */
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) { --lp-f: "Laporsa Manrope", "Segoe UI", Arial, sans-serif; }

/* ===== Search / offers / best sellers / new: header like the category master ===== */
html body:is(#search,#prices-drop,#best-sales,#new-products) #main.lm-listing-page { background: transparent !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__head,
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-listing-header,
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-salehead { display: block !important; min-height: 0 !important; margin: 0 0 6px !important; padding: 4px 0 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: #18232c !important; overflow: visible !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__head::before,
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__head::after,
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-listing-header::before,
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-listing-header::after,
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-salehead::before,
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-salehead::after { display: none !important; content: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__head h1,
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-salehead h1 { margin: 0 0 4px !important; color: #18232c !important; font: 800 24px/1.2 var(--lp-f) !important; letter-spacing: -.02em; text-align: left !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-search-guide,
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-salehead p { margin: 0 !important; color: #5b6670 !important; font: 400 14px/1.45 var(--lp-f) !important; text-align: left !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__subtitle { font: 800 20px/1.2 var(--lp-f) !important; margin: 14px 0 8px !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) #js-product-list-top { background: #fff !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lm-listing-products { padding-top: 0 !important; }
@media (min-width: 992px) { html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__head h1 { font-size: 32px !important; } }

/* ===== Cards: discount row, shared by every listing ===== */
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .product-price-and-shipping { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .product-price-and-shipping.lp-per-tile-price { display: block !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .product-price-and-shipping .first-prices,
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .product-price-and-shipping .second-prices { display: inline-flex !important; align-items: baseline; gap: 6px; margin: 0 !important; width: auto !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .regular-price { font: 500 13px/1.2 var(--lp-f) !important; color: #7b858d !important; text-decoration: line-through; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .lp-card-disc { display: inline-block; padding: 2px 6px; border-radius: 5px; background: #fdece6 !important; color: #b8431a !important; font: 700 11.5px/1.2 var(--lp-f) !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .product-flags .product-flag { min-height: 0 !important; padding: 3px 8px !important; border-radius: 6px !important; font: 700 11.5px/1.2 var(--lp-f) !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .product-flags .product-flag.discount { background: #e95125 !important; color: #fff !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .product-flags .product-flag.discount span { font: inherit !important; color: #fff !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .grid-hover-btn { display: none !important; }

/* ===== Bathroom listing pages (laporsa-bathroom.tpl) ===== */
html body#category .lp-bath-page { display: flex; flex-direction: column; color: #18232c; }
html body#category .lp-bath-intro { order: 1; display: block !important; margin: 0 0 6px !important; padding: 0 !important; background: none !important; border-radius: 0 !important; overflow: visible !important; }
html body#category .lp-bath-intro > div:first-child { padding: 4px 0 0 !important; }
html body#category .lp-bath-intro .lm-eyebrow { display: none !important; }
html body#category .lp-bath-intro h1 { margin: 0 0 4px !important; font: 800 24px/1.2 var(--lp-f) !important; letter-spacing: -.02em; color: #18232c !important; text-align: left !important; }
html body#category .lp-bath-intro p { margin: 0 !important; max-width: 760px; font: 400 14px/1.45 var(--lp-f) !important; color: #5b6670 !important; }
html body#category .lp-bath-room { display: none !important; }
html body#category .lp-bath-description { margin: 2px 0 0; }
html body#category .lp-bath-description summary { min-height: 40px; padding: 8px 0 !important; font: 600 13.5px/24px var(--lp-f); color: #18232c; cursor: pointer; }
html body#category .lp-bath-description > div { font: 400 14px/1.55 var(--lp-f); color: #5b6670; padding-bottom: 8px; }
html body#category .lp-bath-filter-entry { display: none !important; }
html body#category .lp-bath-section-heading { order: 2; margin: 14px 0 8px !important; font: 800 20px/1.2 var(--lp-f) !important; }
html body#category .lp-bath-page > nav, html body#category .lp-bath-page > .lm-subcategories, html body#category .lp-bath-page > .lp-bath-shopping-grid { order: 2; }
html body#category .lp-bath-results { order: 3; gap: 16px !important; margin-top: 8px; }
html body#category .lp-bath-page > .lp-bath-inclusion-note { order: 2; margin: 4px 0 0 !important; font: 400 13px/1.4 var(--lp-f); color: #5b6670; }

html body#category .lp-bath-help { order: 5; margin: 40px 0 0 !important; padding: 20px !important; background: #f4f2ee !important; border-radius: 10px !important; }
html body#category .lp-bath-help h2 { margin: 0 0 6px !important; font: 800 20px/1.2 var(--lp-f) !important; }
html body#category .lp-bath-help p { margin: 0 0 12px !important; font: 400 14px/1.5 var(--lp-f); color: #5b6670; }
html body#category .lp-bath-help a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px !important; border: 1.5px solid #18232c !important; border-radius: 10px !important; color: #18232c !important; font: 700 14px/1 var(--lp-f); text-decoration: none; background: #fff; }

/* Filter panel: one slim outlined row on phone, plain column on desktop */
html body#category .lp-bath-filter-panel { border: 1px solid #e6e8ea !important; border-radius: 10px !important; padding: 0 14px !important; background: #fff; }
html body#category .lp-bath-filter-panel > summary { min-height: 44px; padding: 10px 0 !important; font: 700 14px/24px var(--lp-f) !important; color: #18232c; }
html body#category .lp-bath-filter-panel .facet-title, html body#category .lp-bath-filter-panel .facet .title { font: 700 14px/1.3 var(--lp-f) !important; color: #18232c; }
html body#category .lp-bath-filter-panel .facet-label label, html body#category .lp-bath-filter-panel .facet-label a { font: 400 14px/1.3 var(--lp-f) !important; color: #3d4852; }

/* Subcategory choices as chips (bathroom, hubs, any category) */
html body#category .lm-subcategories, html body#category .lp-bath-shopping-grid { margin: 8px 0 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
html body#category .lm-subcategory-heading { display: none !important; }
html body#category .lm-subcategory-grid, html body#category .lp-bath-shopping-grid { display: flex !important; flex-wrap: nowrap; gap: 8px; margin: 0 -12px !important; padding: 0 12px 4px !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
html body#category .lm-subcategory-grid::-webkit-scrollbar, html body#category .lp-bath-shopping-grid::-webkit-scrollbar { display: none; }
html body#category .lm-subcategory-card, html body#category .lp-bath-card { flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 0; min-height: 40px; padding: 0 14px !important; border: 1px solid #dfe3e6 !important; border-radius: 999px !important; background: #fff !important; box-shadow: none !important; color: #18232c !important; font: 600 13.5px/1 var(--lp-f) !important; text-decoration: none !important; white-space: nowrap; aspect-ratio: auto !important; }
html body#category .lm-subcategory-image, html body#category .lm-subcategory-arrow, html body#category .lp-bath-card-photo { display: none !important; }
html body#category .lm-subcategory-name, html body#category .lp-bath-card-label { padding: 0 !important; margin: 0 !important; font: 600 13.5px/1 var(--lp-f) !important; color: #18232c !important; text-align: left !important; }
html body#category .lp-bath-card-label span[aria-hidden] { display: none; }
@media (min-width: 992px) {
  html body#category .lm-subcategory-grid, html body#category .lp-bath-shopping-grid { margin: 0 !important; padding-left: 0 !important; flex-wrap: wrap; overflow: visible; }
  html body#category .lp-bath-intro h1 { font-size: 32px !important; }
}

/* Bathroom cards: whole product on white, same card as the tile master */
html body#category .lp-bath-page .lp-card__inner { border: 0 !important; background: transparent !important; border-radius: 0 !important; overflow: visible !important; }
html body#category .lp-bath-page .lp-card__media { aspect-ratio: 1 / 1; background: #fff !important; border: 1px solid #e6e8ea; border-radius: 10px; }
html body#category .lp-bath-page .lp-card__media img, html body#category .lp-bath-page .lm-product-card-media img { object-fit: contain !important; padding: 6px; background: #fff; }
html body#category .lp-bath-page .lp-card__body, html body#category .lp-bath-page .lm-product-card-content { padding: 0 !important; background: transparent !important; }
html body#category .lp-bath-page .lm-product-card .product-name, html body#category .lp-bath-page .lp-card__title { margin: 0 0 4px !important; font: 600 14px/1.3 var(--lp-f) !important; color: #18232c !important; padding: 0 !important; }
html body#category .lp-bath-page .product-price, html body#category .lp-bath-page .product-price-and-shipping .product-price { font: 800 19px/1.15 var(--lp-f) !important; color: #18232c !important; }
html body#category .lp-bath-page .lm-product-card-footer { display: block !important; }
html body#category .lp-bath-page .lm-product-card-footer .add-to-cart, html body#category .lp-bath-page .buttons-sections .btn { width: 100% !important; min-height: 42px !important; padding: 0 8px !important; border-radius: 10px !important; font: 700 13.5px/1 var(--lp-f) !important; background: #e95125 !important; border: 1.5px solid #e95125 !important; color: #fff !important; }
html body#category .lp-bath-page .buttons-sections .lp-choose-quantity { background: #fff !important; border: 1.5px solid #18232c !important; color: #18232c !important; }
html body#category .lp-bath-page .products.product-list-wrapper.grid, body#category .lp-bath-page .products.product-list-wrapper.grid { gap: 18px 10px !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (min-width: 768px) { html body#category .lp-bath-page .products.product-list-wrapper.grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 26px 16px !important; } }
@media (min-width: 1200px) { html body#category .lp-bath-page .products.product-list-wrapper.grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
html body#category .lp-bath-page .lm-products-toolbar { border-radius: 0 !important; margin: 0 0 12px !important; }
html body#category .lp-bath-page #js-product-list-top { position: static !important; display: flex !important; justify-content: space-between; align-items: center; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; background: #fff !important; }
html body#category .lp-bath-page .lm-products-actions { margin-left: auto !important; }

/* Specificity lifts: old card padding rules use #products .product-list-wrapper.grid */
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) :is(.lp-bath-page,.lm-listing-page) #products .product-list-wrapper.grid .lm-product-card-content,
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) :is(.lp-bath-page,.lm-listing-page) #products .product-list-wrapper.grid .lp-card__body { padding: 0 !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) :is(.lp-bath-page,.lm-listing-page) #products .product-list-wrapper.grid .lp-card__title { padding: 0 !important; margin: 0 0 4px !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) :is(.lp-bath-page,.lm-listing-page) #products .product-list-wrapper.grid .product-price-and-shipping { justify-content: flex-start !important; text-align: left !important; margin: 0 0 8px !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) :is(.lp-bath-page,.lm-listing-page) #products .product-list-wrapper.grid .third-block-left, 
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) :is(.lp-bath-page,.lm-listing-page) #products .product-list-wrapper.grid .second-block { padding: 0 !important; align-items: stretch !important; }

/* Sale pointer under bathroom products: slim, one secondary link */
html body#category .lp-bath-page > .lp-v4-category-sale { order: 4; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 40px 0 0 !important; padding: 16px !important; background: #f4f2ee !important; border: 0 !important; border-radius: 10px !important; }
html body#category .lp-bath-page > .lp-v4-category-sale img { display: none !important; }
html body#category .lp-bath-page > .lp-v4-category-sale h2 { margin: 0 0 2px !important; font: 800 18px/1.25 var(--lp-f) !important; color: #18232c !important; }
html body#category .lp-bath-page > .lp-v4-category-sale p { margin: 0 !important; font: 400 14px/1.4 var(--lp-f) !important; color: #5b6670 !important; }
html body#category .lp-bath-page > .lp-v4-category-sale a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px !important; border: 1.5px solid #18232c !important; border-radius: 10px !important; background: #fff !important; color: #18232c !important; font: 700 14px/1 var(--lp-f) !important; text-decoration: none !important; }

/* Round 2 fixes */
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) :is(.lp-bath-page,.lm-listing-page) #products .product-list-wrapper.grid .buttons-sections .lp-choose-quantity { background: #fff !important; border: 1.5px solid #18232c !important; color: #18232c !important; margin: 0 !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) :is(.lp-bath-page,.lm-listing-page) #products .product-list-wrapper.grid .buttons-sections .btn { margin: 0 !important; min-height: 42px !important; font: 700 13.5px/1 var(--lp-f) !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .product-flags .product-flag.on-sale { display: none !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .product-price-and-shipping:not(.lp-per-tile-price) .second-prices { flex-basis: 100%; }
html body#category .lm-subcategory-grid { justify-content: flex-start !important; }
html body#category .lp-bath-page #js-product-list-top { flex-wrap: nowrap !important; }
html body#category .lp-bath-page .lm-products-count { flex: 1 1 auto; text-align: left !important; }
html body#category .lp-bath-page .lm-products-count strong { font: 600 13px/1 var(--lp-f) !important; color: #5b6670; }
html body#category .lp-bath-page .lm-products-actions { flex: 0 0 auto; }
html body#category .lp-bath-page .products-sort-order .select-title, html body#category .lp-bath-page .products-sort-order button { min-height: 42px !important; border-radius: 10px !important; font-size: 13.5px !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) :is(.lp-bath-page,.lm-listing-page) #products .product-list-wrapper.grid .buttons-sections .lp-choose-quantity { -webkit-text-fill-color: #18232c !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) :is(.lp-bath-page,.lm-listing-page) #products .product-list-wrapper.grid .buttons-sections .js-ajax-add-to-cart { -webkit-text-fill-color: #fff !important; background: #e95125 !important; border: 1.5px solid #e95125 !important; color: #fff !important; }
html body#category .lp-bath-page .lm-products-toolbar, html body#category .lp-bath-page #js-product-list-top.lm-products-toolbar { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; }
html body#category .lp-bath-page .lm-products-count { width: auto !important; flex: 1 1 0 !important; margin: 0 !important; text-align: left !important; }
html body#category .lp-bath-page .lm-products-actions { width: auto !important; flex: 0 0 auto !important; margin: 0 !important; }

/* Round 2: first-letter clip. The hero and the line-clamped intro were overflow:hidden with the text flush to the edge, so the glyph edge was cut. */
html body#category :is(.lm-category-hero,.lm-category-copy,.lm-category-header) { overflow: visible !important; }
html body#category .lp-v4-category-intro { padding-left: 3px !important; margin-left: -3px !important; padding-right: 3px !important; }
html body#category h1.page-heading { padding-left: 1px; margin-left: -1px !important; overflow: visible !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .lp-listing__head h1 { padding-left: 1px; overflow: visible !important; }

/* Round 2: hub pages show one chip row (the sub-category chips); desktop search and offers drop the old category tree, filters stay */
html body#category .lm-category-header:has(h1[data-current-category-id="829"]) .lp-cat-chips, html body#category .lm-category-header:has(h1[data-current-category-id="835"]) .lp-cat-chips, html body#category .lm-category-header:has(h1[data-current-category-id="843"]) .lp-cat-chips { display: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) #left-column details.lp-category-disclosure, html body:is(#search,#prices-drop,#best-sales,#new-products) .sidebar-column details.lp-category-disclosure { display: none !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .sidebar-column .column-block { border: 1px solid #e6e8ea !important; border-radius: 10px !important; box-shadow: none !important; background: #fff !important; padding: 12px 14px !important; }
html body:is(#search,#prices-drop,#best-sales,#new-products) .sidebar-column :is(h2,h3,h4,.h4,.facet-title,.title) { font: 800 14px/1.3 var(--lp-f) !important; color: #18232c !important; text-transform: none; letter-spacing: 0; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .products-sort-order .d-flex > :not(.sort-select) { display: none !important; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .products-sort-order .d-flex { height: auto !important; align-items: center; }
html body:is(#category,#search,#prices-drop,#best-sales,#new-products) .lm-products-actions { height: auto !important; }
html body#category .lm-subcategory-grid, html body#category .lp-bath-shopping-grid { align-items: flex-start !important; height: auto !important; }
html body#category .lm-subcategory-card, html body#category .lp-bath-card { height: 40px !important; min-height: 40px !important; max-height: 40px !important; align-self: flex-start; }
html body#category .lp-bath-page .lm-products-count, html body#category .lp-bath-page .lm-products-count strong { text-align: left !important; justify-content: flex-start !important; }
html body#category .lp-bath-page .lm-products-count { padding-left: 0 !important; }
