/**
 * Liquipneus Catalogue — styles frontend.
 * Charte : orange #FD6913 primaire, #FF5A00 hover, gris #323232, blanc #FFF, off-white #F5F5F5.
 * Layout inspire HP Tires Distribution.
 */

:root {
  --lp-primary:        #FD6913;
  --lp-primary-hover:  #FF5A00;
  --lp-dark:           #323232;
  --lp-light:          #F5F5F5;
  --lp-border:         #E0E0E0;
  --lp-text:           #1a1a1a;
  --lp-muted:          #6b7280;
  --lp-success:        #10b981;
  --lp-danger:         #ef4444;
}

.lp-catalog {
  font-family: inherit;
  color: var(--lp-text);
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}
.lp-catalog *, .lp-catalog *::before, .lp-catalog *::after {
  box-sizing: border-box;
}

/* Cache le bullet Font Awesome du theme liquipnues qui pollue les <li> */
.lp-catalog .lp-catalog__list > li::before,
.lp-catalog .lp-filter__list > li::before,
.lp-catalog .lp-product::before,
.lp-catalog .lp-inv li::before,
.lp-catalog .lp-catalog__pagination ::before {
  display: none !important;
  content: none !important;
}

/* Chat live widget du theme — force position bottom right + hide panel
 * when closed (le theme a un bug : le panel reste display:grid memoement
 * ce qui etire le container sur toute la hauteur).
 */
#lp-live-chat-root,
body .lp-live-chat {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 9999 !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
}
body .lp-live-chat.is-closed .lp-live-chat__panel {
  display: none !important;
}

/* --- Search bar (top) ----------------------------------------------------- */
.lp-catalog__search {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  background: var(--lp-light);
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  align-items: end;
}
.lp-catalog__search-field label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--lp-dark);
}
.lp-catalog__search-field input,
.lp-catalog__search-field select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--lp-border);
  border-radius: 6px;
  background: #fff;
  font-size: 0.9375rem;
  height: 42px;
  box-sizing: border-box;
}

/* --- Buttons -------------------------------------------------------------- */
.lp-catalog__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  height: 42px;
}
.lp-catalog__btn--primary {
  background: var(--lp-primary);
  color: #fff;
}
.lp-catalog__btn--primary:hover {
  background: var(--lp-primary-hover);
  color: #fff;
}
.lp-catalog__btn--block { width: 100%; margin-top: 0.5rem; }
.lp-catalog__btn-link {
  display: block;
  text-align: center;
  color: var(--lp-muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-decoration: none;
}
.lp-catalog__btn-link:hover { color: var(--lp-primary); }

/* --- Body layout ---------------------------------------------------------- */
.lp-catalog__body {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .lp-catalog .lp-catalog__body   { grid-template-columns: minmax(0, 1fr) !important; }
  .lp-catalog .lp-catalog__search { grid-template-columns: minmax(0, 1fr) !important; }
}

/* --- Sidebar -------------------------------------------------------------- */
.lp-catalog__sidebar {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  padding: 1.25rem;
  align-self: start;
  position: sticky;
  top: 1rem;
}
.lp-filter {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--lp-border);
}
.lp-filter:last-of-type { border-bottom: none; margin-bottom: 0.75rem; }
.lp-filter h3 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--lp-dark);
  font-weight: 700;
}
.lp-filter__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
}
.lp-filter__list li { padding: 0.25rem 0; }
.lp-filter__list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--lp-text);
}
.lp-filter__list input { accent-color: var(--lp-primary); }
.lp-filter__count {
  color: var(--lp-muted);
  font-size: 0.8125rem;
  margin-left: auto;
}
.lp-filter select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--lp-border);
  border-radius: 6px;
  font-size: 0.875rem;
  background: #fff;
}

/* --- Toolbar (count + sort) ---------------------------------------------- */
.lp-catalog__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1rem;
  background: var(--lp-light);
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.lp-catalog__sort { display: flex; align-items: center; gap: 0.5rem; }
.lp-catalog__sort label { color: var(--lp-muted); }
.lp-catalog__sort select {
  padding: 0.375rem 0.5rem;
  border: 1px solid var(--lp-border);
  border-radius: 4px;
  font-size: 0.875rem;
  background: #fff;
}

/* --- Product list (rows, layout HP Tires adapte LP) ----------------------- */
/* IMPORTANT : force reset pour contrer WooCommerce + theme qui applique
 * des .product et ul.products styles avec specificity elevee. */

.lp-catalog .lp-catalog__list,
ul.lp-catalog__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.lp-catalog .lp-product,
li.lp-product {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid var(--lp-border) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  list-style: none !important;
  transition: border-color 0.15s !important;
}
.lp-catalog .lp-product:hover { border-color: var(--lp-primary) !important; }

@media (min-width: 1281px) {
  .lp-catalog .lp-product__row {
    display: grid !important;
    grid-template-columns: 110px minmax(240px, 1fr) 120px 90px 70px 160px !important;
    gap: 1rem !important;
    padding: 1rem !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  .lp-catalog .lp-product__media { width: 110px !important; min-width: 110px !important; height: 110px !important; }
}

.lp-catalog .lp-product__media {
  display: block !important;
  width: 120px !important;
  min-width: 120px !important;
  height: 120px !important;
  background: var(--lp-light) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}
.lp-catalog .lp-product__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  padding: 0.75rem !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
}

.lp-product__main { min-width: 0; }
.lp-product__title {
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--lp-dark);
}
.lp-product__title a { color: inherit; text-decoration: none; }
.lp-product__title a:hover { color: var(--lp-primary); }

.lp-product__sku {
  display: inline-block;
  background: var(--lp-primary);
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
  font-family: Menlo, Consolas, monospace;
  letter-spacing: 0.5px;
}
.lp-product__dim {
  color: var(--lp-dark);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.lp-product__dim strong { font-weight: 700; }
.lp-product__excerpt {
  color: var(--lp-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lp-product__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lp-dark);
  text-align: center;
  white-space: nowrap;
}
.lp-product__price .woocommerce-Price-amount { color: var(--lp-dark); }
.lp-product__price del {
  color: var(--lp-muted);
  font-size: 0.875rem;
  display: block;
  font-weight: 400;
}

.lp-product__stock,
.lp-product__delay { text-align: center; }
.lp-stock-num,
.lp-delay-num {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--lp-dark);
  line-height: 1;
}
.lp-stock-lbl,
.lp-delay-lbl {
  font-size: 0.8125rem;
  color: var(--lp-muted);
  margin-top: 0.25rem;
}

.lp-catalog .lp-product__action { padding: 0 !important; }
.lp-catalog .lp-atc-form {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.lp-catalog .lp-atc-qty {
  width: 58px !important;
  padding: 0.625rem 0.375rem !important;
  border: 1px solid var(--lp-border) !important;
  border-radius: 4px !important;
  text-align: center !important;
  font-size: 1rem !important;
  box-sizing: border-box !important;
  -moz-appearance: textfield !important;
}
.lp-catalog .lp-atc-qty::-webkit-outer-spin-button,
.lp-catalog .lp-atc-qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.lp-catalog .lp-atc-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
  background: var(--lp-primary) !important;
  color: #fff !important;
  padding: 0.625rem 0.75rem !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  border: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  min-width: 90px !important;
  line-height: 1.15 !important;
}
.lp-catalog .lp-atc-btn-line { display: block; }
.lp-catalog .lp-atc-btn:hover { background: var(--lp-primary-hover) !important; }

/* --- "Plus d'info" accordion --------------------------------------------- */
.lp-product__more {
  border-top: 1px solid var(--lp-border);
  background: var(--lp-light);
}
.lp-product__more summary {
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--lp-dark);
  font-weight: 500;
  list-style: none;
  position: relative;
  user-select: none;
}
.lp-product__more summary::-webkit-details-marker { display: none; }
.lp-product__more summary::after {
  content: "▾";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lp-primary);
  transition: transform 0.2s;
}
.lp-product__more[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.lp-product__more-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
}
.lp-specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}
.lp-specs dt { font-weight: 700; color: var(--lp-dark); }
.lp-specs dd { margin: 0; color: var(--lp-text); }
.lp-inv {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.25rem 1rem;
}
.lp-inv li {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  border-bottom: 1px dashed var(--lp-border);
}
.lp-inv li strong { color: var(--lp-primary); }

/* --- Responsive mobile + tablette : grille 2 colonnes -------------------- */
@media (max-width: 1280px) {
  .lp-catalog .lp-catalog__list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .lp-catalog .lp-product { overflow: hidden !important; }

  .lp-catalog .lp-product__row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    padding: 0.75rem !important;
    align-items: stretch !important;
  }

  .lp-catalog .lp-product__media {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 1 !important;
  }

  .lp-catalog .lp-product__main { text-align: left; }
  .lp-catalog .lp-product__title { font-size: 0.9375rem !important; }
  .lp-catalog .lp-product__sku { font-size: 0.6875rem; padding: 0.125rem 0.375rem; }
  .lp-catalog .lp-product__dim { font-size: 0.8125rem; }
  .lp-catalog .lp-product__excerpt { display: none; }

  .lp-catalog .lp-product__price {
    font-size: 1.125rem !important;
    text-align: left !important;
  }

  .lp-catalog .lp-product__stock,
  .lp-catalog .lp-product__delay {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    text-align: left;
    font-size: 0.8125rem;
  }
  .lp-catalog .lp-stock-num,
  .lp-catalog .lp-delay-num {
    font-size: 1rem !important;
    font-weight: 600;
  }
  .lp-catalog .lp-stock-lbl,
  .lp-catalog .lp-delay-lbl { margin: 0 !important; }

  /* Stock et délai côte à côte sur une même ligne */
  .lp-catalog .lp-product__row > .lp-product__stock {
    display: inline-flex !important;
    width: 48%;
  }
  .lp-catalog .lp-product__row > .lp-product__delay {
    display: inline-flex !important;
    width: 48%;
  }

  .lp-catalog .lp-atc-form {
    flex-direction: row !important;
    gap: 0.25rem !important;
  }
  .lp-catalog .lp-atc-qty { width: 44px !important; padding: 0.5rem 0.25rem !important; font-size: 0.875rem !important; }
  .lp-catalog .lp-atc-btn {
    padding: 0.5rem 0.375rem !important;
    font-size: 0.6875rem !important;
    letter-spacing: 0.25px !important;
    min-width: 0 !important;
  }
}

/* --- Micro-mobile : garde le 2 col mais compactifie encore --------------- */
@media (max-width: 400px) {
  .lp-catalog { padding: 1rem 0.5rem; }
  .lp-catalog__list { gap: 0.5rem !important; }
  .lp-catalog .lp-product__row { padding: 0.5rem !important; }
  .lp-catalog .lp-product__title { font-size: 0.875rem !important; }
}

/* --- Pagination ----------------------------------------------------------- */
.lp-catalog__pagination {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2rem;
}
.lp-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.75rem;
  border: 1px solid var(--lp-border);
  border-radius: 6px;
  color: var(--lp-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
}
.lp-page:hover {
  background: var(--lp-light);
  border-color: var(--lp-primary);
  color: var(--lp-primary);
}
.lp-page--current {
  background: var(--lp-primary);
  color: #fff;
  border-color: var(--lp-primary);
}
.lp-page--dots {
  border: none;
  color: var(--lp-muted);
  min-width: 24px;
  cursor: default;
}
.lp-page--dots:hover {
  background: transparent;
  border: none;
  color: var(--lp-muted);
}

/* --- Hub de recherche [lp_search] (dark, inspiration Pneus à Rabais) ----- */
.lp-search {
  max-width: 480px;
  margin: 0 auto;
  font-family: inherit;
  color: #fff;
  box-sizing: border-box;
}
.lp-search *, .lp-search *::before, .lp-search *::after { box-sizing: border-box; }
.lp-search li::before { display: none !important; content: none !important; }

/* Tabs : 3 onglets qui se connectent au panel */
.lp-search__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
}
.lp-search__tab {
  flex: 1 1 0;
  padding: 0.875rem 0.75rem;
  border: 0;
  background: #3a3e44;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-right: 1px solid #2a2e33;
  transition: background 0.15s;
  text-align: center;
}
.lp-search__tab:last-child { border-right: 0; }
.lp-search__tab:hover { background: #4a4e54; color: #fff; }
.lp-search__tab.is-active {
  background: #202327;
  color: #fff;
}
.lp-search__tab-sub {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.72;
}
.lp-search__tab-main { display: block; font-size: 0.9375rem; }

/* Panels = le corps dark */
.lp-search__panels {
  background: #202327;
  padding: 1.25rem;
}
.lp-search__panel { display: none; }
.lp-search__panel.is-active { display: block; }

/* Modes (Par dimensions / Par véhicule) = 2 gros boutons côte à côte */
.lp-search__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.lp-search__mode {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 0.5rem;
  border: 0;
  border-radius: 4px;
  background: #3a3e44;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s;
}
.lp-search__mode:hover { background: #4a4e54; color: #fff; }
.lp-search__mode.is-active {
  background: var(--lp-primary);
  color: #fff;
}
.lp-search__mode-ico { width: 20px; height: 20px; flex: 0 0 auto; }

.lp-search__form { display: flex; flex-direction: column; gap: 0.75rem; }
.lp-search__form[hidden] { display: none !important; }
[hidden] { display: none !important; }

.lp-search__dims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.lp-search__dim { display: flex; flex-direction: column; }
.lp-search__dim-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 0.75rem 0.125rem;
  background: #2a2e33;
  border-radius: 4px 4px 0 0;
}
.lp-search__dim select {
  width: 100%;
  padding: 0.5rem 0.75rem 0.625rem;
  border: 0;
  border-radius: 0 0 4px 4px;
  background: #2a2e33;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px;
  padding-right: 2rem;
  cursor: pointer;
}

.lp-search__veh {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

/* Add rear dimension */
.lp-search__add-rear {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.lp-search__add-rear:hover { color: var(--lp-primary); }
.lp-search__add-rear-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3a3e44;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}
.lp-search__add-rear.is-open .lp-search__add-rear-ico { background: var(--lp-primary); }

.lp-search__dims--rear {
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  padding-top: 0.75rem;
}

/* Saisons checkboxes */
.lp-search__seasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0.25rem 0 0.25rem;
}
.lp-search__season {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  cursor: pointer;
  user-select: none;
}
.lp-search__season input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--lp-primary);
  cursor: pointer;
}

/* CTA principal */
.lp-search__submit {
  margin-top: 0.25rem;
  padding: 0.875rem 1.5rem;
  background: var(--lp-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
}
.lp-search__submit:hover { background: var(--lp-primary-hover); }

.lp-search__coming,
.lp-search__intro {
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 0.8125rem;
  margin: 0;
}
.lp-search__intro { border-style: solid; text-align: left; }

@media (max-width: 500px) {
  .lp-search__dims, .lp-search__veh { grid-template-columns: 1fr; }
  .lp-search__tab { font-size: 0.6875rem; padding: 0.625rem 0.375rem; }
  .lp-search__tab-main { font-size: 0.8125rem; }
}

/* --- Home hub (hero + features + brands) -------------------------------- */
.lp-home {
  font-family: inherit;
  color: #1a1a1a;
  box-sizing: border-box;
}
.lp-home *, .lp-home *::before, .lp-home *::after { box-sizing: border-box; }
.lp-home li::before { display: none !important; content: none !important; }

.lp-home__hero {
  background:
    radial-gradient(circle at 70% 30%, rgba(253, 105, 19, 0.15), transparent 60%),
    linear-gradient(135deg, #1a1d22 0%, #2a2e34 50%, #101214 100%);
  padding: 3rem 1rem;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.lp-home__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Ccircle cx='20' cy='20' r='0.5' fill='%23ffffff' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}

.lp-home__hero-inner {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.lp-home__widget { position: relative; z-index: 1; }

.lp-home__promo {
  position: relative;
  z-index: 1;
  color: #fff;
}
.lp-home__promo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
}
.lp-home__promo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.lp-home__promo-pct {
  font-size: 10rem;
  font-weight: 900;
  color: var(--lp-primary);
  letter-spacing: -0.05em;
  line-height: 0.8;
  text-shadow: 0 8px 40px rgba(253, 105, 19, 0.5);
}
.lp-home__promo-sym {
  font-size: 0.5em;
  vertical-align: super;
  font-weight: 700;
}
.lp-home__promo-label {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.lp-home__promo-code {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem 2rem;
  border: 2px dashed rgba(253, 105, 19, 0.6);
  border-radius: 8px;
  background: rgba(253, 105, 19, 0.1);
}
.lp-home__promo-code-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.lp-home__promo-code-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--lp-primary);
  letter-spacing: 0.05em;
  font-family: Menlo, Consolas, monospace;
}
.lp-home__promo-fine {
  max-width: 420px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 900px) {
  .lp-home__hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .lp-home__promo { order: 2; }
  .lp-home__promo-pct { font-size: 6rem; }
  .lp-home__promo-label { font-size: 1.75rem; }
}

/* --- Features bar --- */
.lp-home__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--lp-light);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}
.lp-home__feat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--lp-border);
}
.lp-home__feat:last-child { border-right: 0; }
.lp-home__feat-ico {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: var(--lp-primary);
}
.lp-home__feat strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--lp-dark);
  line-height: 1.2;
}
.lp-home__feat span {
  display: block;
  font-size: 0.8125rem;
  color: var(--lp-muted);
  margin-top: 0.125rem;
}
@media (max-width: 900px) {
  .lp-home__features { grid-template-columns: repeat(2, 1fr); }
  .lp-home__feat:nth-child(2) { border-right: 0; }
  .lp-home__feat { border-bottom: 1px solid var(--lp-border); }
  .lp-home__feat:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 500px) {
  .lp-home__features { grid-template-columns: 1fr; }
  .lp-home__feat { border-right: 0 !important; border-bottom: 1px solid var(--lp-border) !important; }
  .lp-home__feat:last-child { border-bottom: 0 !important; }
}

/* --- Brands --- */
.lp-home__brands {
  padding: 3rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
.lp-home__brands-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--lp-dark);
  margin: 0 0 0.5rem;
}
.lp-home__brands-head p {
  color: var(--lp-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.lp-home__brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.lp-home__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  color: var(--lp-dark);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: default;
}
.lp-home__brand:hover {
  border-color: var(--lp-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -8px rgba(253, 105, 19, 0.3);
  color: var(--lp-primary);
}

/* --- Bottom CTA strip --- */
.lp-home__cta {
  background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-hover) 100%);
  color: #fff;
  padding: 2.5rem 1rem;
}
.lp-home__cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.lp-home__cta h2 { margin: 0 0 0.25rem; font-size: 1.5rem; font-weight: 800; }
.lp-home__cta p { margin: 0; opacity: 0.92; }
.lp-home__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  background: #fff;
  color: var(--lp-primary);
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: transform 0.15s;
}
.lp-home__cta-btn:hover { transform: translateY(-1px); color: var(--lp-primary); }

/* --- Cart icon floating container --------------------------------------- */
.lp-cart-float {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9998;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.15s, transform 0.15s;
}
.lp-cart-float:hover {
  box-shadow: 0 8px 28px rgba(253, 105, 19, 0.22);
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .lp-cart-float { top: auto; bottom: 80px; right: 16px; }
}

/* --- Cart icon widget ---------------------------------------------------- */
.lp-cart-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: inherit;
  text-decoration: none !important;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
  line-height: 1.2;
}
.lp-cart-icon:hover {
  background: rgba(253, 105, 19, 0.1);
  color: #FD6913;
}
.lp-cart-icon__svg-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}
.lp-cart-icon__svg {
  width: 26px;
  height: 26px;
  color: currentColor;
}
.lp-cart-icon__count {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #FD6913;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}
.lp-cart-icon:not(.has-items) .lp-cart-icon__count {
  background: #9ca3af;
}
.lp-cart-icon__meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.8125rem;
}
.lp-cart-icon__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.7;
}
.lp-cart-icon__total {
  font-size: 0.9375rem;
  font-weight: 800;
  color: inherit;
}
.lp-cart-icon__total .woocommerce-Price-amount { color: inherit; }

@media (max-width: 600px) {
  .lp-cart-icon__meta { display: none; }
  .lp-cart-icon { padding: 0.5rem; }
}

/* --- Empty state ---------------------------------------------------------- */
.lp-catalog__empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--lp-muted);
  background: var(--lp-light);
  border-radius: 8px;
}
