/* =========================================
   public/front/assets/css/home.css
   (tout le reste après extraction product-card)
   ========================================= */

/* =========================
   FULL-BLEED HERO SLIDER
   ========================= */

/* 100vw même dans un container */
.hero-slider--bleed{
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Evite les scroll horizontaux causés par 100vw */
html, body{
  overflow-x: hidden;
}

.hero-slider-section{
  overflow: hidden;
  margin: 0 0 2rem;
}

.hero-slider{
  position: relative;
  width: 100%;
  height: clamp(320px, 38vw, 560px);
  overflow: hidden;
}

/* track */
.hero-slider-track{
  height: 100%;
  display: flex;
  will-change: transform;
}

/* slide */
.hero-slide{
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-size: cover;       /* pour mode full */
  background-position: center;
  background-repeat: no-repeat;
}

/* gradient overlay */
.hero-slide-gradient{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(0,0,0,.70), rgba(0,0,0,.20) 60%, rgba(0,0,0,.05));
}

/* inner layout */
.hero-slide-inner{
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 3.25rem);
}

/* content */
.hero-slide-content{
  color: #fff;
  max-width: 620px;
}

.hero-slide-title{
  font-size: clamp(1.7rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 .8rem;
}

.hero-slide-subtitle{
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  margin: 0;
  max-width: 46ch;
  color: rgba(255,255,255,.92);
}

.hero-slide-cta{
  border-radius: 999px;
  padding: .85rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08rem;
}

/* =========================
   MODE FULL
   ========================= */
.hero-slide--full .hero-slide-inner{
  justify-content: flex-start;
}

/* =========================
   MODE NOT FULL (produit à droite)
   ========================= */
.hero-slide:not(.hero-slide--full){
  background: radial-gradient(1200px 600px at 70% 50%, rgba(255,255,255,.08), transparent 60%),
              linear-gradient(120deg, rgba(0,0,0,.60), rgba(0,0,0,.22));
}

.hero-slide:not(.hero-slide--full) .hero-slide-inner{
  justify-content: space-between;
}

.hero-slide:not(.hero-slide--full) .hero-slide-content{
  flex: 0 1 46%;
  max-width: 560px;
}

.hero-slide-media{
  flex: 0 1 54%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-slide-media img{
  width: min(560px, 100%);
  max-height: calc(100% - 1rem);
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

/* =========================
   DOTS ONLY (no arrows)
   ========================= */
.hero-slider-dots{
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: .45rem;
}

.hero-slider-dots button{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: width .15s ease, background .15s ease, opacity .15s ease;
  opacity: .9;
}

.hero-slider-dots button.active{
  width: 24px;
  background: #fff;
  opacity: 1;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 991.98px){
  .hero-slider{
    height: clamp(360px, 70vw, 560px);
  }

  .hero-slide-inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-slide:not(.hero-slide--full) .hero-slide-content,
  .hero-slide-media{
    width: 100%;
    flex: 1 1 auto;
  }

  .hero-slide-media{
    justify-content: flex-start;
  }

  .hero-slide-media img{
    max-height: 260px;
  }
}

/* =========================
   FILTERS / LISTING UI
   ========================= */

.filters-panel {
    margin-top: -60px;
    z-index: 2;
    position: relative;
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.filters-panel label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: .25rem;
    color: #6c757d;
    margin-bottom: .4rem;
    font-weight: 600;
}

.info-strip {
    margin-top: 2rem;
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.info-strip div {
    flex: 1 1 190px;
}

.mode-controls {
    margin: 2rem 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    justify-content: flex-start;
}

.btn-mode {
    border-radius: 4px;
    padding: .45rem 1.2rem;
    border: 1px solid transparent;
    background: transparent;
    font-weight: 600;
    color: #222;
    transition: background .2s ease, color .2s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.btn-mode.active {
    background: #111;
    color: #fff;
    box-shadow: inset 0 0 0 1px #111;
}

.columns-control button {
    border-radius: 999px;
    padding: .35rem .9rem;
    margin-left: .35rem;
}

.mode-controls {
    justify-content: space-between;
    gap: 1rem;
}

.filter-toggler .btn-filter {
    border: 1px solid rgba(0,0,0,.2);
    background: transparent;
    border-radius: 999px;
    padding: .35rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    color: #111;
}

.filter-toggler .btn-filter i {
    font-size: .85rem;
}

.filter-section {
    margin-bottom: 1rem;
}

.filter-section .section-label {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15rem;
    margin-bottom: .35rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.filter-options .btn-xs {
    padding: .2rem .6rem;
    font-size: .7rem;
}

.color-options .color-chip {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.12);
    outline: none;
    cursor: pointer;
}

/* sections */


.home-section {
    padding: 3rem 0;
    margin-top: 1.5rem;
}



.see-more-btn {
    border: 1px solid transparent;
    background: transparent;
    color: #111;
    font-size: .8rem;
    letter-spacing: .05rem;
}

.see-more-btn:hover {
    color: #000;
    background: rgba(0,0,0,.05);
}

/* layout grid home */
.home-section .row.g-3 {
    --bs-gutter-y: 1rem;
    --bs-gutter-x: .25rem;
    margin-bottom: 1.5rem;
}

.home-section .row.g-3 > [class*="col-"] {
    padding-left: .2rem;
    padding-right: .2rem;
}

/* info blocks / pills (hors card) */
.product-info-block {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.info-pill {
    padding: .2rem .7rem;
    border-radius: 999px;
    font-size: .7rem;
    border: 1px solid transparent;
}

.pill-success {
    background: #ecfdf3;
    color: #15803d;
    border-color: rgba(22,163,74,.4);
}

.pill-danger {
    background: #fef2f2;
    color: #991b1b;
    border-color: rgba(220,38,38,.4);
}

.pill-highlight {
    background: #f9fafb;
    color: #111;
    border-color: rgba(0,0,0,.1);
}

.info-separator {
    font-size: .8rem;
    color: #aaa;
}

/* titres / description (hors card) */
.current-price {
    font-size: 1.25rem;
    font-weight: 700;
}

.product-name {
    font-size: 1.15rem;
    text-transform: none;
    text-transform: uppercase;
    letter-spacing: .05rem;
}

.product-description {
    font-size: .85rem;
    color: #555;
}

/* badges "pill" (hors card) */
.badge-pill {
    border-radius: 999px;
    padding: .35rem .8rem;
    font-size: .75rem;
    border: 1px solid rgba(0,0,0,.15);
}

.badge-stock {
    background: #ffe9e9;
    color: #c32d1f;
}

.badge-new {
    background: #e9ffe6;
    color: #2f8c43;
}

.badge-promo {
    background: #fff4e5;
    color: #a25406;
}

/* empty state */
.home-empty {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.home-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 2rem 0 1.5rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
    font-size: 0.85rem;
}

.home-empty-icon {
    font-size: 1rem;
    color: #adb5bd;
}

.home-empty-text {
    font-weight: 500;
    letter-spacing: .02rem;
}




/* boutons colonnes (autres) */
.view-btn {
    width: 22px;
    height: 22px;
    padding: 0;
    background: transparent;
    border: 0;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.view-btn:hover,
.view-btn.active {
    background: #000;
    color: #fff;
    border-radius: 4px;
}
.mode-toggle {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.mode-item {
    background: #f5f5f5;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: .06rem;
    text-transform: uppercase;
    color: #555;
    cursor: pointer;
    transition: all .25s ease;
}

.mode-item:hover {
    background: #e9e9e9;
    color: #000;
}

.mode-item.active {
    background: #000;
    color: #fff;
}


/* seo */
.seo-text {
    font-size: .95rem;
    color: #4a4a4a;
    line-height: 1.6;
}

.seo-about {
    border-left: 3px solid #111;
    padding-left: 1rem;
}

.seo-about h3 { font-size: 1rem; }

.seo-about ul {
    margin-top: .25rem;
    gap: .5rem;
}

/* info icons blocks */
.info-strip{display:flex;justify-content:space-between;gap:24px;padding:2rem 0}
.info-item span{font-size:.75rem;letter-spacing:.08rem;text-transform:uppercase}

.info-icons-wrapper{
  position: relative;
  padding: 2.25rem 0;
}

.info-icons-header{margin:0 0 1.1rem}

.info-icons-title{
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .12rem;
  text-transform: uppercase;
  color: #111;
}

.info-icons-subtitle{
  margin: .35rem 0 0;
  font-size: .9rem;
  color: #6c757d;
}

.info-icons-separator{
  width: min(560px, 75%);
  margin: 1rem auto 1.25rem;
  border-top: 1px dotted #d0d0d0;
}

.info-icons{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
  text-align: center;
  flex-wrap: wrap;
}

.info-icons .info-item{
  text-decoration: none;
  color: #111;
  font-size: .75rem;
  flex: 0 0 auto;
  padding: .25rem .75rem;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease;
}

.info-icons .info-item img{
  height: 34px;
  display:block;
  margin:0 auto 8px;
  opacity:.85
}

.info-icons .info-item:hover{
  color: #000;
  background: rgba(0,0,0,.03);
}

@media (max-width: 575.98px){
  .info-icons-wrapper{padding: 1.75rem 0; margin: 2rem auto 2.75rem;}
  .info-icons{gap: .75rem}
  .info-icons .info-item{flex: 1 1 42%;}
}

