/* ==========================================================
   POELES & ACCESSOIRES - HOME PAGE V1
   Scope: body#index only
   ========================================================== */

#index {
  --pa-home-orange: #ef6c00;
  --pa-home-orange-dark: #cf5d00;
  --pa-home-ink: #1d1d1b;
  --pa-home-charcoal: #22211f;
  --pa-home-muted: #74736d;
  --pa-home-line: #e6e4df;
  --pa-home-warm: #f5f2ec;
  --pa-home-card: #ffffff;
}

#index #wrapper {
  padding-top: 0;
  background: #fff;
  padding-right: 15px;
  padding-left: 15px;
}

#index #wrapper > .container {
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

#index #content-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

#index .pa-home {
  overflow: hidden;
  color: var(--pa-home-ink);
}

#index .pa-home-container {
  width: calc(100% - 40px);
  max-width: 1320px;
  margin: 0 auto;
}

#index .pa-home-guide .pa-home-container {
  width: 100%;
}

#index .pa-home-section {
  padding: 74px 0;
}

#index .pa-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--pa-home-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#index .pa-home-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

#index .pa-home-section__head {
  margin-bottom: 30px;
}

#index .pa-home-section__head h2 {
  margin: 0 0 8px;
  color: var(--pa-home-ink);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-transform: none;
}

#index .pa-home-section__head p {
  max-width: 720px;
  margin: 0;
  color: var(--pa-home-muted);
  font-size: 16px;
  line-height: 1.6;
}

#index .pa-home-section__head--center {
  max-width: 780px;
  margin-right: auto;
  margin-bottom: 36px;
  margin-left: auto;
  text-align: center;
}

#index .pa-home-section__head--center .pa-home-eyebrow {
  justify-content: center;
}

#index .pa-home-section__head--center p {
  margin-right: auto;
  margin-left: auto;
}

#index .pa-home-section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

#index .pa-home-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pa-home-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

#index .pa-home-link:hover {
  color: var(--pa-home-orange);
}

#index .pa-home-link .material-icons {
  font-size: 18px;
}

#index .pa-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

#index .pa-home-btn:hover {
  transform: translateY(-1px);
}

#index .pa-home-btn--primary {
  background: var(--pa-home-orange);
  color: #fff !important;
}

#index .pa-home-btn--primary:hover {
  background: var(--pa-home-orange-dark);
}

#index .pa-home-btn--ghost {
  border-color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.07);
  color: #fff !important;
  backdrop-filter: blur(8px);
}

/* HERO --------------------------------------------------- */
#index .pa-home-hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #211f1d;
}

#index .pa-home-hero__media,
#index .pa-home-hero__overlay {
  position: absolute;
  inset: 0;
}

#index .pa-home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);
}

#index .pa-home-hero__overlay {
  background:
    linear-gradient(90deg, rgba(18,17,15,.88) 0%, rgba(18,17,15,.67) 36%, rgba(18,17,15,.22) 67%, rgba(18,17,15,.06) 100%),
    linear-gradient(0deg, rgba(15,14,12,.18), rgba(15,14,12,.02));
}

#index .pa-home-hero__inner {
  position: relative;
  z-index: 2;
}

#index .pa-home-hero__content {
  max-width: 650px;
  padding: 72px 0 82px;
  color: #fff;
}

#index .pa-home-hero .pa-home-eyebrow {
  color: #ff9a3c;
}

#index .pa-home-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 55px;
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

#index .pa-home-hero p {
  max-width: 590px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.6;
}

#index .pa-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

/* REASSURANCE ------------------------------------------- */
#index .pa-home-reassurance {
  position: relative;
  z-index: 5;
  margin-top: -32px;
}

#index .pa-home-reassurance__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  overflow: hidden;
  border: 1px solid var(--pa-home-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(26,24,20,.10);
}

#index .pa-home-reassurance__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 94px;
  padding: 16px 20px;
  border-right: 1px solid var(--pa-home-line);
}

#index .pa-home-reassurance__item:last-child {
  border-right: 0;
}

#index .pa-home-reassurance__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #fff3e7;
  color: var(--pa-home-orange);
}

#index .pa-home-reassurance__icon .material-icons { font-size: 22px; }
#index .pa-home-reassurance__item strong { display: block; margin-bottom: 2px; color: #2a2926; font-size: 13px; }
#index .pa-home-reassurance__item small { display: block; color: #85837d; font-size: 11px; }

/* PROJECT CARDS ----------------------------------------- */
#index .pa-home-projects { padding-top: 88px; }

#index .pa-home-projects__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

#index .pa-home-project-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 9px;
  background: #292723;
  color: #fff !important;
  text-decoration: none !important;
}

#index .pa-home-project-card img,
#index .pa-home-project-card__shade {
  position: absolute;
  inset: 0;
}

#index .pa-home-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

#index .pa-home-project-card__shade {
  background: linear-gradient(0deg, rgba(18,17,15,.88) 0%, rgba(18,17,15,.25) 58%, rgba(18,17,15,.06) 100%);
}

#index .pa-home-project-card__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px;
}

#index .pa-home-project-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--pa-home-orange);
}

#index .pa-home-project-card strong,
#index .pa-home-project-card small { display: block; }
#index .pa-home-project-card strong { margin-bottom: 4px; font-size: 18px; font-weight: 800; text-transform: uppercase; }
#index .pa-home-project-card small { color: rgba(255,255,255,.78); font-size: 13px; }
#index .pa-home-project-card__arrow { position: absolute; right: 22px; bottom: 24px; font-size: 22px; }
#index .pa-home-project-card:hover img { transform: scale(1.045); }

/* PRODUCT TABS ------------------------------------------ */
#index .pa-home-products { background: var(--pa-home-warm); }

#index .pa-home-tabs__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dcd9d2;
}

#index .pa-home-tabs__nav button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 50px;
  background: transparent;
  color: #6f6e68;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

#index .pa-home-tabs__nav button.is-active {
  background: var(--pa-home-charcoal);
  color: #fff;
}

#index .pa-home-tabs__panel > section,
#index .pa-home-tabs__panel > div { margin: 0 !important; }

#index .pa-home-tabs__panel .products-section-title,
#index .pa-home-tabs__panel .featured-products > h2,
#index .pa-home-tabs__panel .product-accessories > h2 { display: none !important; }

#index .pa-home-tabs__panel .products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin: 0 !important;
}

#index .pa-home-tabs__panel .products > .product {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

#index .pa-home-tabs__panel .product-miniature,
#index .pa-home-tabs__panel .thumbnail-container {
  width: 100% !important;
  height: 100% !important;
}

#index .pa-home-tabs__panel .thumbnail-container {
  margin: 0 !important;
  border: 1px solid #e4e1da !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(26,24,20,.04) !important;
}

/* GUIDE -------------------------------------------------- */
#index .pa-home-guide__card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 480px;
  overflow: hidden;
  background: var(--pa-home-charcoal);
}

#index .pa-home-guide__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
#index .pa-home-guide__content { display: flex; flex-direction: column; justify-content: center; padding: 58px; color: #fff; }
#index .pa-home-guide__content h2 { margin: 0 0 16px; color: #fff; font-size: clamp(30px, 3vw, 44px); line-height: 1.08; font-weight: 800; text-transform: none; }
#index .pa-home-guide__content p { margin: 0 0 25px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.7; }
#index .pa-home-guide__content .pa-home-btn { align-self: flex-start; }

/* INSTALLATION MOSAIC ----------------------------------- */
#index .pa-home-installation { background: #faf9f6; }
#index .pa-home-installation__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 250px; gap: 14px; }
#index .pa-home-installation-card { position: relative; overflow: hidden; border-radius: 8px; background: #25231f; color: #fff !important; text-decoration: none !important; }
#index .pa-home-installation-card--wide { grid-column: span 2; }
#index .pa-home-installation-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
#index .pa-home-installation-card::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,rgba(18,17,15,.78),rgba(18,17,15,.04) 68%); }
#index .pa-home-installation-card > span { position:absolute; z-index:2; right:20px; bottom:20px; left:20px; }
#index .pa-home-installation-card strong, #index .pa-home-installation-card small { display:block; }
#index .pa-home-installation-card strong { margin-bottom:3px; font-size:18px; font-weight:800; text-transform:uppercase; }
#index .pa-home-installation-card small { color:rgba(255,255,255,.75); font-size:12px; }
#index .pa-home-installation-card:hover img { transform:scale(1.04); }

/* EXPERTISE --------------------------------------------- */
#index .pa-home-expertise { padding: 78px 0; background: #22211f; color: #fff; }
#index .pa-home-section__head--light h2 { color: #fff; }
#index .pa-home-section__head--light p { color: rgba(255,255,255,.65); }
#index .pa-home-expertise__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid rgba(255,255,255,.12); border-bottom:1px solid rgba(255,255,255,.12); }
#index .pa-home-expertise__grid article { padding:32px 24px; text-align:center; border-right:1px solid rgba(255,255,255,.12); }
#index .pa-home-expertise__grid article:last-child { border-right:0; }
#index .pa-home-expertise__grid strong { display:block; margin-bottom:6px; color:#fff; font-size:clamp(28px,3vw,44px); font-weight:800; letter-spacing:-.03em; }
#index .pa-home-expertise__grid span { color:rgba(255,255,255,.68); font-size:12px; }

/* BRANDS ------------------------------------------------- */
#index .pa-home-brands { padding-top: 62px; padding-bottom: 62px; }
#index .pa-home-brands__rail { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); overflow:hidden; border:1px solid var(--pa-home-line); border-radius:8px; background:#fff; }
#index .pa-home-brands__rail a { display:flex; align-items:center; justify-content:center; min-height:92px; padding:18px 12px; border-right:1px solid var(--pa-home-line); color:#3a3936; font-size:13px; font-weight:800; letter-spacing:.04em; text-align:center; text-decoration:none; }
#index .pa-home-brands__rail a:last-child { border-right:0; }
#index .pa-home-brands__rail a:hover { color:var(--pa-home-orange); background:#fffaf5; }

/* ADVICE ------------------------------------------------- */
#index .pa-home-advice { background: var(--pa-home-warm); }
#index .pa-home-advice__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
#index .pa-home-advice-card { display:flex; flex-direction:column; min-height:290px; padding:28px; border:1px solid #e2dfd8; border-radius:9px; background:#fff; color:var(--pa-home-ink) !important; text-decoration:none !important; transition:transform .18s ease, box-shadow .18s ease; }
#index .pa-home-advice-card:hover { transform:translateY(-3px); box-shadow:0 14px 34px rgba(26,24,20,.08); }
#index .pa-home-advice-card__icon { display:flex; align-items:center; justify-content:center; width:46px; height:46px; margin-bottom:28px; border-radius:50%; background:#fff2e5; color:var(--pa-home-orange); }
#index .pa-home-advice-card__meta { margin-bottom:7px; color:var(--pa-home-orange); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
#index .pa-home-advice-card strong { margin-bottom:9px; font-size:20px; line-height:1.25; font-weight:800; }
#index .pa-home-advice-card small { color:var(--pa-home-muted); font-size:13px; line-height:1.6; }
#index .pa-home-advice-card__link { display:inline-flex; align-items:center; gap:5px; margin-top:auto; padding-top:22px; font-size:11px; font-weight:800; text-transform:uppercase; }
#index .pa-home-advice-card__link .material-icons { font-size:17px; }


/* REVEAL ------------------------------------------------- */
#index .pa-home-reveal { opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease; }
#index .pa-home-reveal.is-visible, .pa-home-reveal-disabled #index .pa-home-reveal { opacity:1; transform:none; }

/* RESPONSIVE -------------------------------------------- */
@media (max-width: 767.98px) {
  #index .pa-home-hero {
    min-height: 610px;
  }

  #index .pa-home-hero__content {
    padding-top: 68px;
    padding-bottom: 105px;
  }

  #index .pa-home-hero h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  #index .pa-home-hero__scroll {
    display: none;
  }

  #index .pa-home-reassurance {
    margin-top: -24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #index .pa-home-hero__media img,
  #index .pa-home-hero .pa-home-eyebrow,
  #index .pa-home-hero .pa-home-eyebrow::before,
  #index .pa-home-hero h1 .pa-hero-line,
  #index .pa-home-hero p,
  #index .pa-home-hero__actions,
  #index .pa-home-hero__proofs,
  #index .pa-home-project-card img,
  #index .pa-home-products .thumbnail-container,
  #index .pa-home-products .product-thumbnail img {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================
   HOME V2 FIX - SAFE SHOWROOM + BRANDS
   This block deliberately does NOT change PrestaShop's
   structural wrappers to horizontal flex containers.
   ========================================================== */

/* PRODUCTS: preserve native PrestaShop structure -------- */
#index .pa-home-products {
  position: relative;
  background: linear-gradient(180deg, #f4f1eb 0%, #f8f6f1 100%);
}

#index .pa-home-products .pa-home-container {
  position: relative;
  z-index: 1;
}

/* Important: no overflow-x / no forced flex on wrapper */
#index .pa-home-products .featured-products,
#index .pa-home-products .product-accessories,
#index .pa-home-products .products {
  width: 100%;
  max-width: 100%;
}

#index .pa-home-products .products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 !important;
  overflow: visible !important;
}

#index .pa-home-products .products > .product {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  padding: 0 !important;
}

#index .pa-home-products .product-miniature,
#index .pa-home-products .thumbnail-container {
  width: 100% !important;
  max-width: 100% !important;
}

#index .pa-home-products .thumbnail-container {
  display: flex;
  flex-direction: column;
  height: 100% !important;
  min-height: 455px;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #e2ded6 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 9px 26px rgba(32,29,24,.055) !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#index .pa-home-products .thumbnail-container:hover {
  transform: translateY(-4px);
  border-color: #d8d2c8 !important;
  box-shadow: 0 18px 38px rgba(32,29,24,.10) !important;
}

#index .pa-home-products .product-thumbnail {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 285px;
  padding: 18px;
  overflow: hidden;
  background: white;
}

#index .pa-home-products .product-thumbnail img {
  display: block;
  width: 100% !important;
  height: 255px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  transition: transform .3s ease;
}

#index .pa-home-products .thumbnail-container:hover .product-thumbnail img {
  transform: scale(1.025);
}

#index .pa-home-products .product-description {
  position: static !important;
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100% !important;
  min-height: 0 !important;
  padding: 18px !important;
  background: #fff !important;
}

#index .pa-home-products .product-title {
  min-height: 42px;
  margin: 0 0 8px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

#index .pa-home-products .product-title a {
  color: #25231f !important;
}

#index .pa-home-products .product-price-and-shipping {
  margin-top: auto !important;
  padding-top: 15px;
  text-align: left !important;
}

#index .pa-home-products .price {
  color: #1d1d1b !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

#index .pa-home-products .regular-price {
  color: #99958e !important;
  font-size: 12px !important;
}

/* Hide V2 carousel controls until HTML is explicitly adapted */
#index .pa-home-showroom__controls,
#index .pa-home-showroom__arrow {
  display: none !important;
}

/* BRANDS: robust grid based only on existing anchors ------ */
#index .pa-home-brands {
  padding-top: 72px;
  padding-bottom: 72px;
  background: #fff;
}

#index .pa-home-brands__viewport,
#index .pa-home-brands__wrap {
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
}

#index .pa-home-brands__rail {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 14px !important;
  width: 100%;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

#index .pa-home-brands__rail a {
  position: relative;
  display: flex !important;
  min-width: 0 !important;
  min-height: 128px !important;
  padding: 24px 22px !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center !important;
  border: 1px solid #e5e1da !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #24221f !important;
  text-align: left !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(31,29,25,.035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#index .pa-home-brands__rail a::after {
  content: '→';
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--pa-home-orange);
  font-size: 18px;
}

#index .pa-home-brands__rail a:hover {
  transform: translateY(-3px);
  border-color: #d9d2c8 !important;
  box-shadow: 0 14px 30px rgba(31,29,25,.08);
}

#index .pa-home-brand-card__index {
  margin-bottom: 12px;
  color: #b5b0a8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

#index .pa-home-brand-card__name {
  margin-bottom: 6px;
  color: #24221f;
  font-size: 18px;
  font-weight: 800;
}

#index .pa-home-brand-card__meta {
  max-width: 78%;
  color: #7e7a73;
  font-size: 12px;
  line-height: 1.5;
}

/* Disable brand carousel controls for the stable grid version */
#index .pa-home-brands__controls,
#index .pa-home-brands__arrow {
  display: none !important;
}

/* Global guard against accidental page-level horizontal overflow */
#index .pa-home,
#index .pa-home-section,
#index .pa-home-container {
  max-width: 100%;
}

#index .pa-home {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  #index .pa-home {
    overflow-x: hidden;
  }
}

@media (max-width: 1100px) {
  #index .pa-home-products .products {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }

  #index .pa-home-brands__rail {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}

@media (max-width: 767.98px) {
  #index .pa-home-products .products {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px !important;
  }

  #index .pa-home-products .thumbnail-container {
    min-height: 420px;
  }

  #index .pa-home-products .product-thumbnail {
    min-height: 245px;
  }

  #index .pa-home-products .product-thumbnail img {
    height: 220px !important;
  }

  #index .pa-home-brands__rail {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  #index .pa-home-products .products {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   HOME - FINAL SHOWROOM + BRANDS
   Based on the real generated HTML of featured-products.tpl
   and brands.tpl. Keep this block at the END of home.css.
   ========================================================== */

/* ----------------------------------------------------------
   1. NOS POELES DU MOMENT - REAL PRESTASHOP STRUCTURE
   ---------------------------------------------------------- */
#index .pa-home-products--showroom {
  padding: 84px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(239,108,0,.055), transparent 24%),
    linear-gradient(180deg, #f6f2eb 0%, #f2eee6 100%);
}

#index .pa-home-showroom__head {
  align-items: flex-end;
  margin-bottom: 24px;
}

#index .pa-home-showroom__head > div:first-child {
  max-width: 760px;
}

#index .pa-home-showroom__head h2 {
  font-size: clamp(34px, 3.3vw, 48px);
}

#index .pa-home-showroom__head .pa-home-link {
  margin-bottom: 5px;
  padding: 11px 16px;
  border: 1px solid #d8d2c8;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

#index .pa-home-showroom__head .pa-home-link:hover {
  transform: translateY(-1px);
  border-color: var(--pa-home-orange);
  background: #fff;
}

#index .pa-home-showroom__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(34,33,31,.09);
}

#index .pa-home-showroom__intro {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #6f6b64;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

#index .pa-home-showroom__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--pa-home-orange);
  box-shadow: 0 0 0 5px rgba(239,108,0,.10);
}

#index .pa-home-showroom__nav,
#index .pa-home-brands__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

#index .pa-home-showroom__nav button,
#index .pa-home-brands__nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid #d9d3ca;
  border-radius: 50%;
  background: #fff;
  color: #272522;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(36,32,27,.045);
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}

#index .pa-home-showroom__nav button:hover,
#index .pa-home-brands__nav button:hover {
  transform: translateY(-2px);
  border-color: var(--pa-home-orange);
  background: var(--pa-home-orange);
  color: #fff;
}

#index .pa-home-showroom__nav button:disabled,
#index .pa-home-brands__nav button:disabled {
  opacity: .32;
  cursor: default;
  transform: none;
}

#index .pa-home-showroom__nav .material-icons,
#index .pa-home-brands__nav .material-icons {
  font-size: 20px;
}

/* The element carrying data-home-showroom-track is the real scroll surface. */
#index .pa-home-showroom__viewport {
  width: 100%;
  overflow: hidden;
}

#index .pa-home-showroom__track {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 3px 3px 18px;
}

#index .pa-home-showroom__track::-webkit-scrollbar {
  display: none;
}

/* ps_featuredproducts inserts this wrapper inside our track. */
#index .pa-home-showroom__track > .featured-products {
  display: block !important;
  width: max-content !important;
  min-width: 100% !important;
  margin: 0 !important;
}

#index .pa-home-showroom__track .products-section-title,
#index .pa-home-showroom__track .all-product-link {
  display: none !important;
}

/* This is the actual product rail. Never make the outer .track flex. */
#index .pa-home-showroom__track .products.row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 18px;
  width: max-content !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#index .pa-home-showroom__track .products.row > .product {
  flex: 0 0 306px !important;
  width: 306px !important;
  max-width: 306px !important;
  min-width: 306px !important;
  padding: 0 !important;
  scroll-snap-align: start;
}

#index .pa-home-products--showroom .product-miniature,
#index .pa-home-products--showroom .pa-product-card,
#index .pa-home-products--showroom .pa-product-card__container,
#index .pa-home-products--showroom .thumbnail-container {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

#index .pa-home-products--showroom .pa-product-card__container,
#index .pa-home-products--showroom .thumbnail-container {
  position: relative;
  display: flex !important;
  flex-direction: column;
  min-height: 478px;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #e4dfd6 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(31,28,24,.055) !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#index .pa-home-products--showroom .pa-product-card__container:hover,
#index .pa-home-products--showroom .thumbnail-container:hover {
  transform: translateY(-5px);
  border-color: #d7cfc3 !important;
  box-shadow: 0 20px 45px rgba(31,28,24,.11) !important;
}

#index .pa-home-products--showroom .pa-product-card__media,
#index .pa-home-products--showroom .thumbnail-top {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, #fff 0%, #f8f6f1 70%, #f1eee8 100%);
}

#index .pa-home-products--showroom .pa-product-card__image,
#index .pa-home-products--showroom .product-thumbnail {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 300px !important;
  padding: 20px !important;
  overflow: hidden;
}

#index .pa-home-products--showroom .pa-product-card__image picture,
#index .pa-home-products--showroom .product-thumbnail picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#index .pa-home-products--showroom .pa-product-card__image img,
#index .pa-home-products--showroom .product-thumbnail img {
  position: static !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 250px !important;
  max-height: 250px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  transform: none !important;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

#index .pa-home-products--showroom .pa-product-card__container:hover .product-thumbnail img,
#index .pa-home-products--showroom .thumbnail-container:hover .product-thumbnail img {
  transform: scale(1.045) !important;
}

#index .pa-home-products--showroom .wishlist-button-add {
  position: absolute !important;
  z-index: 6;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 1px solid #e2ddd5 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.95) !important;
  color: #5d5953 !important;
  box-shadow: 0 5px 15px rgba(27,25,22,.07);
}

#index .pa-home-products--showroom .wishlist-button-add .material-icons {
  font-size: 19px !important;
}

#index .pa-home-products--showroom .pa-product-card__quick-view,
#index .pa-home-products--showroom .quick-view {
  position: absolute !important;
  z-index: 5;
  right: 14px !important;
  bottom: 14px !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border: 1px solid #e4dfd7;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #403d38;
  box-shadow: 0 5px 16px rgba(31,28,24,.07);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
}

#index .pa-home-products--showroom .thumbnail-container:hover .quick-view {
  opacity: 1;
  transform: none;
}

#index .pa-home-products--showroom .pa-product-card__body,
#index .pa-home-products--showroom .product-description {
  position: static !important;
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100% !important;
  min-height: 178px !important;
  padding: 19px 19px 18px !important;
  background: #fff !important;
  text-align: left !important;
}

#index .pa-home-products--showroom .pa-product-card__title,
#index .pa-home-products--showroom .product-title {
  min-height: 44px;
  margin: 0 0 8px !important;
  color: #24221f !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.38 !important;
  text-align: left !important;
  text-transform: none !important;
}

#index .pa-home-products--showroom .product-title a {
  color: #24221f !important;
  text-decoration: none !important;
}

#index .pa-home-products--showroom .pa-product-card__reviews {
  min-height: 18px;
  margin: 0 0 5px;
}

#index .pa-home-products--showroom .product-price-and-shipping,
#index .pa-home-products--showroom .pa-product-card__pricing {
  margin-top: auto !important;
  padding-top: 9px !important;
  text-align: left !important;
}

#index .pa-home-products--showroom .pa-product-card__price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}

#index .pa-home-products--showroom .price,
#index .pa-home-products--showroom .pa-product-card__price {
  color: #1e1d1b !important;
  font-size: 21px !important;
  font-weight: 850 !important;
  line-height: 1.1;
  letter-spacing: -.025em;
}

#index .pa-home-products--showroom .regular-price {
  color: #a09a92 !important;
  font-size: 12px !important;
}

#index .pa-home-products--showroom .pa-product-card__action {
  margin-top: 15px;
}

#index .pa-home-products--showroom .pa-product-card__button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 43px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #e71919;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background .18s ease, transform .18s ease;
}

#index .pa-home-products--showroom .pa-product-card__button:hover {
  transform: translateY(-1px);
  background: #c91515;
}

#index .pa-home-products--showroom .pa-product-card__button .material-icons {
  font-size: 17px;
}

#index .pa-home-showroom__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 17px 20px;
  border: 1px solid #e2ddd4;
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  color: #6c6861;
  font-size: 13px;
}

#index .pa-home-showroom__footer a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #272522;
  font-weight: 800;
  text-decoration: none;
}

#index .pa-home-showroom__footer a:hover {
  color: var(--pa-home-orange);
}

/* ----------------------------------------------------------
   2. MARQUES - REAL .pa-home-brands__track STRUCTURE
   ---------------------------------------------------------- */
#index .pa-home-brands--premium {
  padding: 88px 0 82px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
}

#index .pa-home-brands__head {
  align-items: flex-end;
  margin-bottom: 30px;
}

#index .pa-home-brands__head > div:first-child {
  max-width: 790px;
}

#index .pa-home-brands__head h2 {
  font-size: clamp(34px, 3.2vw, 46px);
}

#index .pa-home-brands__viewport {
  width: 100%;
  overflow: hidden;
}

#index .pa-home-brands__track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 3px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#index .pa-home-brands__track::-webkit-scrollbar {
  display: none;
}

#index .pa-home-brand-card {
  position: relative;
  display: flex !important;
  flex: 0 0 calc((100% - 32px) / 3) !important;
  width: calc((100% - 32px) / 3) !important;
  min-width: 300px;
  min-height: 205px;
  padding: 28px 28px 26px !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  overflow: hidden;
  border: 1px solid #e5e0d8 !important;
  border-radius: 14px !important;
  background:
    linear-gradient(145deg, #fff 0%, #fcfaf6 100%) !important;
  color: #272522 !important;
  text-align: left !important;
  text-decoration: none !important;
  scroll-snap-align: start;
  box-shadow: 0 9px 28px rgba(33,29,24,.045);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#index .pa-home-brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  border-radius: 0 0 0 100%;
  background: rgba(239,108,0,.055);
  transition: width .25s ease, height .25s ease, background .25s ease;
}

#index .pa-home-brand-card:hover {
  transform: translateY(-5px);
  border-color: #d8cfc4 !important;
  box-shadow: 0 18px 42px rgba(33,29,24,.095);
}

#index .pa-home-brand-card:hover::before {
  width: 125px;
  height: 125px;
  background: rgba(239,108,0,.09);
}

#index .pa-home-brand-card__index {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
  color: #aaa49b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

#index .pa-home-brand-card__name {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 7px;
  color: #24221f;
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.025em;
}

#index .pa-home-brand-card__meta {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 78%;
  color: #77726b;
  font-size: 13px;
  line-height: 1.5;
}

#index .pa-home-brand-card__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--pa-home-orange);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#index .pa-home-brand-card__cta .material-icons {
  font-size: 16px;
  transition: transform .18s ease;
}

#index .pa-home-brand-card:hover .pa-home-brand-card__cta .material-icons {
  transform: translate(2px,-2px);
}

#index .pa-home-brands__signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 22px 26px;
  background: #24221f;
  color: #fff;
}

#index .pa-home-brands__signature span {
  color: #ff9a3c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#index .pa-home-brands__signature strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -.02em;
}

/* ----------------------------------------------------------
   RESPONSIVE FOR BOTH BLOCKS
   ---------------------------------------------------------- */
@media (max-width: 1199px) {
  #index .pa-home-showroom__track .products.row > .product {
    flex-basis: 286px !important;
    width: 286px !important;
    max-width: 286px !important;
    min-width: 286px !important;
  }

  #index .pa-home-brand-card {
    flex-basis: calc((100% - 16px) / 2) !important;
    width: calc((100% - 16px) / 2) !important;
  }
}

@media (max-width: 767.98px) {
  #index .pa-home-products--showroom,
  #index .pa-home-brands--premium {
    padding-top: 58px;
    padding-bottom: 60px;
  }

  #index .pa-home-showroom__head,
  #index .pa-home-brands__head {
    align-items: flex-start;
    flex-direction: column;
  }

  #index .pa-home-showroom__head .pa-home-link {
    margin-top: 4px;
  }

  #index .pa-home-showroom__toolbar {
    align-items: flex-start;
  }

  #index .pa-home-showroom__track .products.row > .product {
    flex-basis: min(82vw, 310px) !important;
    width: min(82vw, 310px) !important;
    max-width: min(82vw, 310px) !important;
    min-width: min(82vw, 310px) !important;
  }

  #index .pa-home-products--showroom .pa-product-card__media,
  #index .pa-home-products--showroom .thumbnail-top,
  #index .pa-home-products--showroom .pa-product-card__image,
  #index .pa-home-products--showroom .product-thumbnail {
    min-height: 270px;
    height: 270px !important;
  }

  #index .pa-home-brand-card {
    flex: 0 0 min(84vw, 340px) !important;
    width: min(84vw, 340px) !important;
    min-width: min(84vw, 340px) !important;
  }

  #index .pa-home-brands__signature {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  #index .pa-home-showroom__nav button,
  #index .pa-home-brands__nav button {
    width: 39px;
    height: 39px;
  }

  #index .pa-home-showroom__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================
   HOME HERO V3 - PUZZLE DISSOLVE SLIDER
   ========================================================== */

#index .pa-home-hero--puzzle {
  --pa-hero-duration: 6500ms;
  position: relative;
  min-height: 450px;
  isolation: isolate;
  overflow: hidden;
  background: #171614;
}

#index .pa-home-hero--puzzle .pa-home-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #171614;
}

#index .pa-home-hero__slides,
#index .pa-home-hero__slide {
  position: absolute;
  inset: 0;
}

#index .pa-home-hero__slide {
  z-index: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  transition: opacity .55s ease, transform 6.8s cubic-bezier(.2,.75,.2,1), visibility 0s linear .55s;
  will-change: opacity, transform;
}

#index .pa-home-hero__slide.is-active,
#index .pa-home-hero__slide.is-next {
  visibility: visible;
  transition-delay: 0s;
}

#index .pa-home-hero__slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
}

#index .pa-home-hero__slide.is-next {
  z-index: 1;
  opacity: 1;
  transform: scale(1.012);
}

#index .pa-home-hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: none !important;
}

/* Puzzle pieces */
#index .pa-home-hero__puzzle {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

#index .pa-home-hero__puzzle-piece {
  position: absolute;
  overflow: hidden;
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  transform-origin: center;
  will-change: opacity, transform;
}

#index .pa-home-hero__puzzle-piece-inner {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#index .pa-home-hero__puzzle.is-dissolving .pa-home-hero__puzzle-piece {
  opacity: 0;
  transform:
    translate3d(var(--pa-piece-x,0), var(--pa-piece-y,0), 0)
    scale(.84)
    rotate(var(--pa-piece-rotate,0deg));
  transition:
    opacity .48s cubic-bezier(.2,.75,.2,1) var(--pa-piece-delay,0ms),
    transform .62s cubic-bezier(.2,.75,.2,1) var(--pa-piece-delay,0ms);
}

/* Fixed overlays and content */
#index .pa-home-hero--puzzle .pa-home-hero__veil {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(17,16,14,.94) 0%, rgba(17,16,14,.82) 31%, rgba(17,16,14,.48) 53%, rgba(17,16,14,.12) 79%, rgba(17,16,14,.04) 100%),
    linear-gradient(0deg, rgba(10,9,8,.19) 0%, rgba(10,9,8,0) 38%);
}

#index .pa-home-hero--puzzle .pa-home-hero__glow {
  position: absolute;
  z-index: 4;
  top: -25%;
  left: 18%;
  width: 540px;
  height: 540px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,108,0,.18) 0%, rgba(239,108,0,.055) 38%, transparent 70%);
  filter: blur(14px);
  opacity: 0;
  transform: translate3d(-28px,18px,0);
  transition: opacity 1.1s ease .28s, transform 1.45s cubic-bezier(.2,.8,.2,1) .28s;
}

#index .pa-home-hero--puzzle.is-ready .pa-home-hero__glow {
  opacity: 1;
  transform: none;
}

#index .pa-home-hero--puzzle .pa-home-hero__inner {
  position: relative;
  z-index: 6;
}

#index .pa-home-hero--puzzle .pa-home-hero__content {
  max-width: 100%;
  padding-top: 0px;
  padding-bottom: 0px;
}

/* Entrance animation of the fixed text */
#index .pa-home-hero--puzzle .pa-home-hero__eyebrow {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease .08s, transform .55s ease .08s;
}

#index .pa-home-hero--puzzle.is-ready .pa-home-hero__eyebrow {
  opacity: 1;
  transform: none;
}

#index .pa-home-hero--puzzle .pa-home-hero__eyebrow-line {
  display: inline-block;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width .65s cubic-bezier(.2,.8,.2,1) .2s;
}

#index .pa-home-hero--puzzle.is-ready .pa-home-hero__eyebrow-line {
  width: 34px;
}

#index .pa-home-hero--puzzle h1 .pa-hero-line {
  display: block;
  opacity: 0;
  transform: translate3d(0,38px,0);
  transition: opacity .72s cubic-bezier(.2,.8,.2,1), transform .72s cubic-bezier(.2,.8,.2,1);
}

#index .pa-home-hero--puzzle h1 .pa-hero-line:nth-child(1) { transition-delay: .18s; }
#index .pa-home-hero--puzzle h1 .pa-hero-line:nth-child(2) { transition-delay: .29s; }
#index .pa-home-hero--puzzle h1 .pa-hero-line:nth-child(3) { transition-delay: .40s; }

#index .pa-home-hero--puzzle.is-ready h1 .pa-hero-line {
  opacity: 1;
  transform: none;
}

#index .pa-home-hero--puzzle .pa-home-hero__content > p,
#index .pa-home-hero--puzzle .pa-home-hero__actions,
#index .pa-home-hero--puzzle .pa-home-hero__proofs {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .58s ease, transform .58s ease;
}

#index .pa-home-hero--puzzle .pa-home-hero__content > p { transition-delay: .53s; }
#index .pa-home-hero--puzzle .pa-home-hero__actions { transition-delay: .64s; }
#index .pa-home-hero--puzzle .pa-home-hero__proofs { transition-delay: .76s; }

#index .pa-home-hero--puzzle.is-ready .pa-home-hero__content > p,
#index .pa-home-hero--puzzle.is-ready .pa-home-hero__actions,
#index .pa-home-hero--puzzle.is-ready .pa-home-hero__proofs {
  opacity: 1;
  transform: none;
}

#index .pa-home-hero--puzzle .pa-home-hero__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

#index .pa-home-hero--puzzle .pa-home-hero__proofs > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 700;
}

#index .pa-home-hero--puzzle .pa-home-hero__proofs .material-icons {
  color: #ff9a3c;
  font-size: 17px;
}

/* Progress navigation */
#index .pa-home-hero__slider-ui {
  position: absolute;
  z-index: 7;
  right: max(30px, calc((100vw - 1320px) / 2));
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#index .pa-home-hero__slider-ui button {
  position: relative;
  width: 42px;
  height: 3px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.28);
  cursor: pointer;
}

#index .pa-home-hero__slider-ui button span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}

#index .pa-home-hero__slider-ui button.is-active span {
  animation: paHeroProgress var(--pa-hero-duration) linear forwards;
}

#index .pa-home-hero__slider-ui[hidden] {
  display: none !important;
}

@keyframes paHeroProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

#index .pa-home-hero--puzzle .pa-home-hero__scroll {
  position: absolute;
  z-index: 7;
  right: 18px;
  bottom: 32px;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(255,255,255,.22);
}

#index .pa-home-hero--puzzle .pa-home-hero__scroll > span {
  display: block;
  width: 100%;
  height: 18px;
  background: #fff;
  animation: paHeroScroll 1.8s ease-in-out infinite;
}

@keyframes paHeroScroll {
  0% { transform: translateY(-20px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(48px); opacity: 0; }
}

@media (max-width: 767.98px) {
  #index .pa-home-hero--puzzle {
    min-height: 400px;
  }

  #index .pa-home-hero--puzzle .pa-home-hero__content {
    padding-top: 68px;
    padding-bottom: 106px;
  }

  #index .pa-home-hero--puzzle .pa-home-hero__veil {
    background: linear-gradient(90deg, rgba(17,16,14,.90) 0%, rgba(17,16,14,.70) 62%, rgba(17,16,14,.28) 100%);
  }

  #index .pa-home-hero__slider-ui {
    right: 20px;
    bottom: 24px;
  }

  #index .pa-home-hero__slider-ui button {
    width: 30px;
  }

  #index .pa-home-hero--puzzle .pa-home-hero__scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #index .pa-home-hero__slide,
  #index .pa-home-hero__puzzle-piece,
  #index .pa-home-hero--puzzle .pa-home-hero__glow,
  #index .pa-home-hero--puzzle .pa-home-hero__eyebrow,
  #index .pa-home-hero--puzzle h1 .pa-hero-line,
  #index .pa-home-hero--puzzle .pa-home-hero__content > p,
  #index .pa-home-hero--puzzle .pa-home-hero__actions,
  #index .pa-home-hero--puzzle .pa-home-hero__proofs {
    transition: none !important;
    animation: none !important;
  }

  #index .pa-home-hero__slider-ui button.is-active span {
    transform: scaleX(1);
    animation: none !important;
  }
}
/* ==========================================================
   HOME RETURNS - 2026-08-23
   Focused fixes only: page overflow, installation 3-up,
   and real YBC Blog latest posts on the homepage.
   ========================================================== */

/* Prevent only page-level horizontal scrolling.
   Internal product/brand rails keep their own overflow-x:auto. */
body#index {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body#index #page,
body#index #wrapper,
body#index #content-wrapper,
body#index main.pa-home {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body#index #page,
  body#index #wrapper,
  body#index #content-wrapper,
  body#index main.pa-home {
    overflow-x: hidden;
  }
}

/* Installation: exactly 3 categories on one desktop row. */
#index .pa-home-installation__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 250px;
}

#index .pa-home-installation-card,
#index .pa-home-installation-card--wide {
  grid-column: auto;
  min-width: 0;
}

/* Real YBC Blog content inside the existing home design. */
#index .pa-home-advice__dynamic {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* The homepage needs the latest-post block only. Other YBC homepage
   blocks remain available elsewhere and are not modified globally. */
#index .pa-home-advice__dynamic .ybc_block_featured,
#index .pa-home-advice__dynamic .ybc_block_popular,
#index .pa-home-advice__dynamic .ybc_block_gallery,
#index .pa-home-advice__dynamic .ybc_block_comment,
#index .pa-home-advice__dynamic > .title_blog,
#index .pa-home-advice__dynamic .ybc_block_latest > .title_blog,
#index .pa-home-advice__dynamic .blog_view_all_button,
#index .pa-home-advice__dynamic .owl-nav,
#index .pa-home-advice__dynamic .owl-dots {
  display: none !important;
}

#index .pa-home-advice__dynamic .ybc_block_latest,
#index .pa-home-advice__dynamic .ybc_block_latest .block_content,
#index .pa-home-advice__dynamic .ybc_block_latest .ybc_blog_content_block {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

#index .pa-home-advice__dynamic .ybc_block_latest{
  background-color: transparent!important;
}

#index .pa-home-advice__dynamic .ybc_block_latest .block_content.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}


/* Hard visual cap at the requested three latest articles. */
#index .pa-home-advice__dynamic .ybc_block_latest .ybc_blog_content_block_item:nth-child(n+4) {
  display: none !important;
}

#index .pa-home-advice__dynamic .ybc_block_latest .ybc_blog_content_block_item {
  display: flex !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2dfd8;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

#index .pa-home-advice__dynamic .ybc_block_latest .ybc_blog_content_block_item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(26,24,20,.08);
}

#index .pa-home-advice__dynamic .ybc_block_latest .ybc_item_img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ece8e0;
}

#index .pa-home-advice__dynamic .ybc_block_latest .ybc_item_img img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  transition: transform .28s ease;
}

#index .pa-home-advice__dynamic .ybc_block_latest .ybc_blog_content_block_item:hover .ybc_item_img img {
  transform: scale(1.025);
}

#index .pa-home-advice__dynamic .ybc-blog-latest-post-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px 24px;
}

#index .pa-home-advice__dynamic .ybc_title_block {
  order: 2;
  display: block;
  margin: 0 0 10px;
  color: var(--pa-home-ink) !important;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.28;
  text-decoration: none !important;
}

#index .pa-home-advice__dynamic .ybc-blog-sidear-post-meta {
  order: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin: 0 0 9px;
  color: var(--pa-home-orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

#index .pa-home-advice__dynamic .ybc-blog-sidear-post-meta .be-label,
#index .pa-home-advice__dynamic .ybc-blog-sidear-post-meta .comma {
  display: none;
}

#index .pa-home-advice__dynamic .ybc-blog-sidear-post-meta a,
#index .pa-home-advice__dynamic .ybc-blog-sidear-post-meta .post-date {
  color: var(--pa-home-orange) !important;
  text-decoration: none !important;
}

#index .pa-home-advice__dynamic .ybc-blog-latest-toolbar {
  display: none !important;
}

#index .pa-home-advice__dynamic .blog_description {
  order: 3;
  margin: 0;
  color: var(--pa-home-muted);
  font-size: 13px;
  line-height: 1.6;
}

#index .pa-home-advice__dynamic .blog_description p {
  margin: 0;
}

#index .pa-home-advice__dynamic .read_more {
  order: 4;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  color: var(--pa-home-ink) !important;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none !important;
}

@media (max-width: 991.98px) {
  #index .pa-home-installation__grid,
  #index .pa-home-advice__dynamic .ybc_block_latest .ybc_blog_content_block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  #index .pa-home-installation__grid,
  #index .pa-home-advice__dynamic .ybc_block_latest .ybc_blog_content_block {
    grid-template-columns: 1fr;
  }

  #index .pa-home-installation__grid {
    grid-auto-rows: 220px;
  }
}

/* ==========================================================
   HOME BLOG - YBC SLICK LAYOUT FIX - 2026-08-23
   Scope: latest posts rendered inside the custom advice block only.
   YBC initialises Slick before our home styles are applied, so its
   generated .slick-list/.slick-track/.slick-slide wrappers must be
   neutralised locally to keep the requested 3-column card layout.
   ========================================================== */

#index .pa-home-advice__dynamic .ybc_block_latest .slick-track:before, #index .pa-home-advice__dynamic .ybc_block_latest .slick-track:after {
    display: none!important;
}
#index .pa-home-advice__dynamic .ybc_block_latest .slick-list {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

#index .pa-home-advice__dynamic .ybc_block_latest .slick-track {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
}

#index .pa-home-advice__dynamic .ybc_block_latest .slick-slide {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  float: none !important;
}

#index .pa-home-advice__dynamic .ybc_block_latest .slick-slide > div {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
}

#index .pa-home-advice__dynamic .ybc_block_latest .slick-slide .ybc_blog_content_block_item {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

/* The business requirement is a maximum of three articles on the home. */
#index .pa-home-advice__dynamic .ybc_block_latest .slick-slide:nth-child(n+4) {
  display: none !important;
}

/* Slick navigation is unnecessary for a fixed 3-card home grid. */
#index .pa-home-advice__dynamic .ybc_block_latest .slick-arrow,
#index .pa-home-advice__dynamic .ybc_block_latest .slick-dots {
  display: none !important;
}

@media (max-width: 991.98px) {
  #index .pa-home-advice__dynamic .ybc_block_latest .slick-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767.98px) {
  #index .pa-home-advice__dynamic .ybc_block_latest .slick-track {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   HOME BLOG WIDTH FIX - 2026-08-24
   Scope: custom advice block only.
   Keep YBC Blog output dynamic while neutralising Slick's
   inline track/slide widths so 1, 2 or 3 posts fill the row.
   ========================================================== */
#index .pa-home-advice__dynamic .ybc_block_latest .block_content,
#index .pa-home-advice__dynamic .ybc_block_latest .ybc_blog_content_block,
#index .pa-home-advice__dynamic .ybc_block_latest .slick-list {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}


#index .pa-home-advice__dynamic .ybc_block_latest .slick-slide {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  float: none !important;
}

#index .pa-home-advice__dynamic .ybc_block_latest .slick-slide > div,
#index .pa-home-advice__dynamic .ybc_block_latest .slick-slide .ybc_blog_content_block_item {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
}

@media (max-width: 991.98px) {
  #index .pa-home-advice__dynamic .ybc_block_latest .slick-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767.98px) {
  #index .pa-home-advice__dynamic .ybc_block_latest .slick-track {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   HOME HERO - SLIDE-SPECIFIC CONTENT - 2026-08-27
   Focused addition: allows the existing image slider to carry
   one dedicated "peau neuve" message without affecting the
   other homepage sections.
   ========================================================== */
#index .pa-home-hero--puzzle .pa-home-hero__content {
  position: relative;
}

#index .pa-home-hero--puzzle .pa-home-hero__content-slide {
  display: none;
}

#index .pa-home-hero--puzzle .pa-home-hero__content-slide.is-active {
  display: block;
  animation: paHeroContentIn .5s cubic-bezier(.2,.8,.2,1) both;
}

#index .pa-home-hero--puzzle .pa-home-hero__content-slide[aria-hidden="true"] {
  pointer-events: none;
}

#index .pa-home-hero--puzzle .pa-home-hero__content-slide h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 55px;
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

#index .pa-home-hero--puzzle .pa-home-hero__content-slide > p {
  max-width: 590px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.6;
}

@keyframes paHeroContentIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 767.98px) {
  #index .pa-home-hero--puzzle .pa-home-hero__content-slide h1 {
    font-size: clamp(40px, 12vw, 56px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #index .pa-home-hero--puzzle .pa-home-hero__content-slide.is-active {
    animation: none !important;
  }
}

/* ==========================================================
   HOME MOBILE FINAL PASS - 2026-09-11
   Scope: homepage only. Desktop remains untouched.
   ========================================================== */
@media (max-width: 767.98px) {
  body#index,
  #index,
  #index .pa-home {
    max-width: 100%;
    overflow-x: hidden !important;
  }

  #index .pa-home-container {
    width: calc(100% - 28px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  #index .pa-home-section {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  #index .pa-home-section__head,
  #index .pa-home-section__head--row,
  #index .pa-home-showroom__head,
  #index .pa-home-brands__head {
    gap: 10px !important;
    margin-bottom: 22px !important;
  }

  #index .pa-home-section__head h2,
  #index .pa-home-showroom__head h2,
  #index .pa-home-brands__head h2 {
    font-size: clamp(27px, 8vw, 34px) !important;
    line-height: 1.08 !important;
  }

  /* Hero: keep the cinematic look, but make the copy fit a phone. */
  #index .pa-home-hero--puzzle {
    min-height: 520px !important;
  }

  #index .pa-home-hero--puzzle .pa-home-hero__inner {
    align-items: flex-end !important;
  }

  #index .pa-home-hero--puzzle .pa-home-hero__content {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 62px !important;
    padding-bottom: 92px !important;
  }

  #index .pa-home-hero--puzzle .pa-home-hero__content-slide h1 {
    max-width: 100% !important;
    margin-bottom: 14px !important;
    font-size: clamp(34px, 10vw, 45px) !important;
    line-height: .98 !important;
    letter-spacing: -.04em !important;
  }

  #index .pa-home-hero--puzzle .pa-home-hero__content-slide > p {
    max-width: 100% !important;
    margin-bottom: 18px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  #index .pa-home-hero__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: min(100%, 310px) !important;
  }

  #index .pa-home-hero__actions .pa-home-btn {
    width: 100% !important;
    min-height: 44px !important;
    padding-inline: 16px !important;
  }

  #index .pa-home-hero--puzzle .pa-home-hero__proofs {
    gap: 8px 14px !important;
    margin-top: 16px !important;
    font-size: 10px !important;
  }

  #index .pa-home-hero__slider-ui {
    right: 14px !important;
    bottom: 20px !important;
  }

  /* Reassurance: two columns instead of four squeezed items. */
  #index .pa-home-reassurance {
    margin-top: -18px !important;
  }

  #index .pa-home-reassurance__grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  #index .pa-home-reassurance__item {
    min-width: 0 !important;
    padding: 14px 10px !important;
    border-bottom: 1px solid var(--pa-home-line) !important;
  }

  #index .pa-home-reassurance__item:nth-child(2n) {
    border-right: 0 !important;
  }

  #index .pa-home-reassurance__item:nth-last-child(-n+2) {
    border-bottom: 0 !important;
  }

  #index .pa-home-reassurance__icon {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }

  #index .pa-home-reassurance__item strong { font-size: 11px !important; }
  #index .pa-home-reassurance__item small { font-size: 9px !important; line-height: 1.35 !important; }

  /* Project universe: readable 2-up cards on phones. */
  #index .pa-home-projects__grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 9px !important;
  }

  #index .pa-home-project-card {
    min-height: 220px !important;
  }

  #index .pa-home-project-card__content {
    right: 12px !important;
    bottom: 14px !important;
    left: 12px !important;
  }

  #index .pa-home-project-card__content strong {
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  #index .pa-home-project-card__content small {
    font-size: 9px !important;
  }

  /* Product rail: intentional horizontal carousel, no page overflow. */
  #index .pa-home-showroom__viewport {
    width: 100% !important;
    overflow: hidden !important;
  }

  #index .pa-home-showroom__track {
    width: 100% !important;
    padding-bottom: 8px !important;
    scroll-padding-left: 0 !important;
  }

  #index .pa-home-showroom__track .products.row > .product {
    flex: 0 0 min(78vw, 282px) !important;
    width: min(78vw, 282px) !important;
    max-width: min(78vw, 282px) !important;
    min-width: min(78vw, 282px) !important;
  }

  #index .pa-home-products--showroom .pa-product-card__media,
  #index .pa-home-products--showroom .thumbnail-top,
  #index .pa-home-products--showroom .pa-product-card__image,
  #index .pa-home-products--showroom .product-thumbnail {
    min-height: 225px !important;
    height: 225px !important;
  }

  #index .pa-home-showroom__toolbar {
    gap: 8px !important;
  }

  /* Buying guide becomes a compact image + content stack. */
  #index .pa-home-guide__card {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  #index .pa-home-guide__media {
    min-height: 245px !important;
  }

  #index .pa-home-guide__content {
    padding: 26px 22px !important;
  }

  #index .pa-home-guide__content h2 {
    font-size: 28px !important;
    line-height: 1.05 !important;
  }

  /* Installation: one clean card per row. */
  #index .pa-home-installation__grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 190px !important;
    gap: 10px !important;
  }

  #index .pa-home-installation-card,
  #index .pa-home-installation-card--wide {
    grid-column: auto !important;
  }

  /* Expertise metrics: 2x2 instead of a compressed 4-up row. */
  #index .pa-home-expertise {
    padding: 52px 0 !important;
  }

  #index .pa-home-expertise__grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  #index .pa-home-expertise__grid article {
    padding: 22px 10px !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
  }

  #index .pa-home-expertise__grid article:nth-child(2n) {
    border-right: 0 !important;
  }

  #index .pa-home-expertise__grid article:nth-last-child(-n+2) {
    border-bottom: 0 !important;
  }

  #index .pa-home-expertise__grid strong {
    font-size: 30px !important;
  }

  /* Brands and articles stay swipeable/readable, never squeeze. */
  #index .pa-home-brands__viewport,
  #index .pa-home-brands__track {
    max-width: 100% !important;
  }

  #index .pa-home-brand-card {
    flex-basis: min(80vw, 320px) !important;
    width: min(80vw, 320px) !important;
    min-width: min(80vw, 320px) !important;
  }

  #index .pa-home-advice__dynamic .ybc_block_latest .slick-track {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  #index .pa-home-advice__dynamic .ybc_block_latest .slick-slide,
  #index .pa-home-advice__dynamic .ybc_block_latest .slick-slide > div,
  #index .pa-home-advice__dynamic .ybc_block_latest .ybc_blog_content_block_item {
    width: 100% !important;
    min-width: 0 !important;
  }

  #index .pa-home-advice__dynamic .ybc_item_img {
    height: 215px !important;
  }

  #index .pa-home-advice__dynamic .ybc-blog-latest-post-content {
    padding: 18px !important;
  }
}

@media (max-width: 420px) {
  #index .pa-home-container {
    width: calc(100% - 20px) !important;
  }

  #index .pa-home-hero--puzzle {
    min-height: 500px !important;
  }

  #index .pa-home-projects__grid {
    gap: 7px !important;
  }

  #index .pa-home-project-card {
    min-height: 205px !important;
  }

  #index .pa-home-showroom__track .products.row > .product {
    flex-basis: 82vw !important;
    width: 82vw !important;
    max-width: 82vw !important;
    min-width: 82vw !important;
  }
}
