/* === Plux home fixes vs pluxwash.com (2026-11-05) — loaded LAST === */
/* Product-card images are fixed thumbnails live: generic 300x200, portrait card 300x400 */
.wp-home-root .brxe-image.border-1rem.tag img { width: 300px; height: 200px; object-fit: cover; }
.wp-home-root .brxe-dyvzet img { width: 300px; height: 400px; object-fit: cover; }
.wp-home-root .brxe-facoai img { width: 300px; height: 200px; object-fit: cover; }

/* PluxCarousel — uniform bars (user 2026-11-05: "all the same thickness, look like bars")
   Every marquee band is exactly --plx-bar-h tall at any viewport width. */
.wp-home-root { --plx-bar-h: 25px; /* v20 2026-11-06: user 'make it a thin as this' (ref screenshot purple strip ~22-25 CSS px; was 160/220px) */ }
.wp-home-root .plx-carousel { overflow: hidden; cursor: grab; }
.wp-home-root .plx-carousel:active { cursor: grabbing; }
.wp-home-root .plx-carousel-track { display: flex; align-items: stretch; will-change: transform; }
.wp-home-root .plx-carousel-track > .brxe-block { width: var(--plx-bar-h); height: var(--plx-bar-h); flex: 0 0 auto; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.wp-home-root .plx-carousel-track svg.brxe-icon { width: auto; max-width: 100%; height: calc(var(--plx-bar-h) - 52px); }
.wp-home-root .plx-carousel-track .brxe-heading { font-size: 15px; line-height: 1.15; text-align: center; white-space: nowrap; padding: 0 8px; }

/* Static (non-scrolling) sliders: plain row, natural size */
.wp-home-root .plx-carousel-static { overflow: hidden; }
.wp-home-root .plx-carousel-static > * { display: flex; gap: 12px; }

/* Bottom pre-footer ticker is a 25px strip live */
.wp-home-root .brxe-section:nth-of-type(14) .brxe-slider-nested { height: 25px; overflow: hidden; }
.wp-home-root .brxe-section:nth-of-type(14) .plx-carousel-track > .brxe-block { aspect-ratio: auto; height: 25px; }

/* === Product-card formatting vs live (2026-11-05) === */
/* Live body line-height is 1.7 (30.03px on 17.66px base); our fragment inherited normal (19.4px) */
.wp-home-root { line-height: 1.7; }
/* Live product titles render bold; ours inherited 400 */
.wp-home-root h2 { font-weight: 700; }
/* WooCommerce screen-reader text must be visually hidden (was showing 'Price range: $24.95 through $42.95') */
.wp-home-root .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); border: 0; word-wrap: normal !important; }

/* === Uniform shampoo-style product cards (2026-11-05 user: "make all cards same as original pluxwash, like the shampoo") ===
   Every home product card now replicates the pluxwash shampoo card: 463px image column left,
   text column right on desktop; single column with 300x400 image and left-aligned text on mobile.
   Replaces the earlier centered-mobile experiment (user wants original look). */
/* NB: .brx-grid.brxe-container prefix needed to beat live.css `.wp-home-root .brxe-container{display:flex!important}` */
.wp-home-root .brx-grid.brxe-container.brxe-qxrkww, .wp-home-root .brx-grid.brxe-container.brxe-zthgpr {
  display: grid !important;
  grid-template-columns: minmax(0, 462.875px) minmax(0, 462.875px) !important;
  gap: 53.388px !important;
  align-items: flex-start;
}
.wp-home-root .brxe-qxrkww img, .wp-home-root .brxe-zthgpr img, .wp-home-root .brxe-uslslx img {
  width: 100% !important; max-width: 462.875px !important; height: 617px !important; object-fit: cover !important;
}
@media (max-width: 767px) {
  .wp-home-root .brx-grid.brxe-container.brxe-qxrkww, .wp-home-root .brx-grid.brxe-container.brxe-zthgpr {
    grid-template-columns: minmax(0, 311.688px) !important;
  }
  .wp-home-root .brxe-qxrkww img, .wp-home-root .brxe-zthgpr img, .wp-home-root .brxe-uslslx img {
    width: 300px !important; max-width: 300px !important; height: 400px !important;
  }
}

/* ============ v13: uniform Shampoo & Wax card template (SuperSlick + Towel := Shampoo) ============ */
/* Measured shampoo template: h2 40.56px/800 lh 56.78px RedHatDisplay #000; SKU 10.312px Montserrat lh 17.53px #363636; rhythm 13.708px on SKU/price/divider/button */
.wp-home-root .brxe-qxrkww .brxe-heading,
.wp-home-root .brxe-zthgpr .brxe-heading {
  font-size: 40.56px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  color: #000 !important;
  font-family: RedHatDisplay, "Red Hat Display", sans-serif !important;
}
.wp-home-root .brxe-uywpfh,
.wp-home-root .brxe-iwdsep {
  font-size: 10.312px !important;
  line-height: 17.53px !important;
}
.wp-home-root .brxe-qxrkww > div:last-child > .brxe-block:nth-child(1),
.wp-home-root .brxe-qxrkww > div:last-child > .brxe-block:nth-child(3),
.wp-home-root .brxe-qxrkww > div:last-child > .brxe-divider,
.wp-home-root .brxe-qxrkww > div:last-child > .brxe-button,
.wp-home-root .brxe-zthgpr > div:last-child > .brxe-block:nth-child(1),
.wp-home-root .brxe-zthgpr > div:last-child > .brxe-block:nth-child(3),
.wp-home-root .brxe-zthgpr > div:last-child > .brxe-divider,
.wp-home-root .brxe-zthgpr > div:last-child > .brxe-button {
  margin-top: 13.708px !important;
}
@media (max-width: 767px) {
  /* shampoo template's own mobile title = 18.755px; match it exactly */
  .wp-home-root .brxe-qxrkww .brxe-heading,
  .wp-home-root .brxe-zthgpr .brxe-heading { font-size: 18.755px !important; line-height: 1.4 !important; }
}

/* ============ v15: shampoo template's narrow text column (measured 75.224px / mobile 34.462px side padding) ============ */
.wp-home-root .brxe-xxswkg,
.wp-home-root .brxe-cfwieq {
  padding-left: 75.224px !important;
  padding-right: 75.224px !important;
}
@media (max-width: 767px) {
  .wp-home-root .brxe-xxswkg,
  .wp-home-root .brxe-cfwieq {
    padding-left: 34.462px !important;
    padding-right: 34.462px !important;
  }
}


/* ============ v16: product-card images aligned centred (user 2026-11-06) ============ */
.wp-home-root .brxe-qxrkww img,
.wp-home-root .brxe-zthgpr img,
.wp-home-root .brxe-uslslx img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  object-position: center center !important;
}
/* mobile: centre the image column within the single-column card */
@media (max-width: 767px) {
  .wp-home-root .brx-grid.brxe-container.brxe-qxrkww,
  .wp-home-root .brx-grid.brxe-container.brxe-zthgpr,
  .wp-home-root .brx-grid.brxe-container.brxe-uslslx {
    justify-content: center !important;
    justify-items: center !important;
  }
}

/* v17: card is flex-col — centre the image anchor itself (mobile 312 card vs 300 img) */
@media (max-width: 767px) {
  .wp-home-root .brxe-bkpakp, .wp-home-root .brxe-cyzpek, .wp-home-root .brxe-lopbmr {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ============ v18: Buy buttons aligned centred on product cards (user 2026-11-06) ============ */
.wp-home-root .brxe-qxrkww .brxe-button,
.wp-home-root .brxe-uslslx .brxe-button,
.wp-home-root .brxe-zthgpr .brxe-button {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* v20: ticker-style thin bars — slides become content-width rows */
.wp-home-root .plx-carousel-track > .brxe-block {
  width: auto !important;
  flex-direction: row !important;
  gap: 8px !important;
  padding: 0 14px !important;
}
.wp-home-root .plx-carousel-track svg.brxe-icon { height: 15px !important; max-width: none; }
.wp-home-root .plx-carousel-track .brxe-heading { font-size: 14px !important; }

/* ============ v21: gap between marquee slider bands and the content/picture below (user 2026-11-06) ============ */
.wp-home-root .brxe-section:has(.plx-carousel) { margin-bottom: 24px !important; }

/* ============ v22: NO gap where two slider bands sit back-to-back (user 2026-11-06) ============
   v21 put 24px after every slider section; when the next section is itself a slider, gap goes back to 0. */
.wp-home-root .brxe-section:has(.plx-carousel):has(+ .brxe-section .plx-carousel) { margin-bottom: 0 !important; }

/* ============ v23: blog post titles bold (user 2026-11-06) ============ */
.wp-home-root h3.dynamic, .wp-home-root .dynamic.brxe-heading { font-weight: 700 !important; }

/* ============ v24: ALL headings on landing page bold (user 2026-11-06) ============
   h1-h6 + .brxe-heading -> 700; product-card h2s stay 800 (higher-specificity v13 rules). */
.wp-home-root h1, .wp-home-root h2, .wp-home-root h3,
.wp-home-root h4, .wp-home-root h5, .wp-home-root h6,
.wp-home-root .brxe-heading { font-weight: 700 !important; }

html{scroll-behavior:smooth}

/* v20: full-bleed Nano-Technology image — nearly full viewport */
.wp-home-root #brxe-jwausu img {
  width: 100vw;
  height: clamp(340px, 88vh, 1050px);
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

/* buy-hug: buttons as wide as their text */
.wp-home-root a.brxe-button.bricks-button { padding-left: 10px; padding-right: 10px; width: auto; }
.wp-home-root #brxe-xeagpg { padding-left: 10px; padding-right: 10px; }

/* ============ v34: landing sliders = text/emoji/text alternation, equal spacing (user 2026-11-08) ============
   PluxCarousel strips .splide__slide, so target .plx-carousel-track children; identical
   padding-inline on every slide => constant gap text<->emoji<->text. */
.wp-home-root .plx-carousel-track > .slider-slide { padding: 0 clamp(1.75rem, 4.5vw, 3.25rem) !important; }
.wp-home-root .plx-carousel-track .slider-text { white-space: nowrap; margin: 0; }
.wp-home-root .plx-carousel-track .slider-emoji { font-size: 16px; line-height: 1; }

/* ============ v35: RESPONSIVE PASS 2026-11-08 — ultrawide -> tablet -> foldable -> phone ============ */

/* Tablet zone 768-1023: facts strip kept 4-across and pushed the page 12-62px sideways.
   2x2 grid kills the overflow; >=1024 desktop row and <=767 mobile stack untouched. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .wp-home-root #brxe-61f080 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
  }
  .wp-home-root .three-fact-col { min-width: 0; }
}

/* Small phones <=420: hero floor so the headline never drops under 30px */
@media (max-width: 420px) {
  #brxe-iydvcu.bricks-type-hero { font-size: 30px !important; line-height: 36px !important; }
}

/* Ultrawide >=2560: let content breathe wider than the 1100px desktop cap */
@media (min-width: 2560px) {
  .wp-home-root .brxe-container { max-width: 1280px; }
}

/* ============ v36: BLOG SECTION PADDING ============ */
.wp-home-root .home-blog-section { padding-top: 90px !important; padding-bottom: 90px !important; }
.wp-home-root .home-blog-section .heading-topper { margin-bottom: 0; }
.wp-home-root .home-blog-section h2.brxe-heading { margin-top: 22px !important; }
.wp-home-root .home-blog-section .grid { margin-top: 44px !important; }

/* ============ v37: BLOG CARD INNER SPACING ============ */
.wp-home-root .home-blog-section h3.brxe-heading:not(.heading-topper) { margin-top: 18px !important; }
.wp-home-root .home-blog-section .grid p { margin-top: 10px !important; }

/* ============ v38: BLOG CARD TITLE LINE-HEIGHT ============ */
/* Bricks h3 line-height (18.7px) was smaller than the title font, so two-line
   titles bled their descenders into the date. Normal line box + small slack. */
.wp-home-root .home-blog-section h3.brxe-heading:not(.heading-topper) { line-height: 1.35 !important; }
.wp-home-root .home-blog-section .grid p { margin-bottom: 2px; }
