/* ================= RESET + TOKENS ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --primary:#8b5e3c;
  --primary-dark:#5c3a21;
  --bg:#f7f4f1;
  --card:#ffffff;
  --text:#111;
  --muted:#5d5d5d;
  --border:rgba(0,0,0,0.08);
  --shadow:0 12px 40px rgba(0,0,0,0.08);
  --radius:18px;
  --transition:all .25s ease;
}

body{
  font-family:'Poppins', sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  padding-top:90px;
  position:relative;
  overflow-x:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:85%;
  max-width:1300px;
  margin:auto;
}

/* ================= HEADER PREMIUM ================= */
.header{
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
  background:rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  transition:background .25s ease, box-shadow .25s ease;
}

.header.scrolled{
  background:rgba(255,255,255,0.96);
  box-shadow:0 14px 40px rgba(0,0,0,0.08);
}

.header-container{
  max-width:1300px;
  margin:auto;
  padding:16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.logo{
  flex:0 0 auto;
}

.logo a{
  white-space:nowrap;
  font-family:'Playfair Display', serif;
  font-weight:600;
  font-size:22px;
  letter-spacing:0.06em;
  color:var(--primary-dark);
}
.logo img{
  height:68px;
  width:auto;
  max-width:none;
  display:block;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,0.1));
  transition:transform .25s ease;
  transform:scale(0.9);
  transform-origin:left center;
}

.logo img:hover{
  transform:scale(1.03);
}
/* ================= NAV ================= */
.nav-links{
  list-style:none;
  display:flex;
  gap:18px;
  align-items:center;
  font-weight:500;
  color:rgba(0,0,0,0.82);
  flex-wrap:nowrap;
  white-space:nowrap;
}

.nav-links a{
  padding:8px 10px;
  border-radius:10px;
  transition:background .2s ease, color .2s ease;
}

.nav-links a:hover{
  background:rgba(139,94,60,0.10);
  color:var(--primary);
}

/* ================= DROPDOWN ================= */
.dropdown{
  position:relative;
}

.dropdown > a{
  cursor:pointer;
}

.dropdown-menu{
  position:absolute;
  top:42px;
  left:0;
  min-width:180px;
  background:rgba(255,255,255,0.98);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:8px;
  list-style:none;
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:.18s ease;
  z-index:1001;
}

.dropdown:hover .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.dropdown-menu li a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
}

.dropdown-menu li a:hover{
  background:rgba(0,0,0,0.05);
  color:var(--text);
}

/* ================= SEARCH BAR HEADER ================= */
.search{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.72);
  backdrop-filter:blur(10px);
  transition:var(--transition);
  width:clamp(260px, 28vw, 380px);
}

.search:hover{
  box-shadow:0 10px 25px rgba(0,0,0,0.06);
  transform:translateY(-1px);
}

.search:focus-within{
  border-color:rgba(139,94,60,0.45);
  box-shadow:0 0 0 4px rgba(139,94,60,0.12);
  background:#fff;
}

.search-ico{
  width:18px;
  height:18px;
  color:rgba(0,0,0,0.55);
  flex:0 0 auto;
}

.search input{
  border:none;
  outline:none;
  background:transparent;
  width:100%;
  font-size:14.5px;
  color:var(--text);
}

.search input::placeholder{
  color:rgba(0,0,0,0.45);
}

#clearSearch{
  border:none;
  background:rgba(0,0,0,0.04);
  width:30px;
  height:30px;
  border-radius:999px;
  cursor:pointer;
  color:rgba(0,0,0,0.55);
  display:none;
  transition:.2s ease;
}

#clearSearch:hover{
  background:rgba(139,94,60,0.10);
  color:var(--primary-dark);
}

/* ================= SEARCH SUGGEST ================= */
.search-suggest{
  position:absolute;
  top:calc(100% + 14px);
  left:0;
  width:100%;
  background:#fff;
  border-radius:20px;
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 30px 80px rgba(0,0,0,0.12);
  overflow:hidden;
  display:none;
  z-index:1200;
}

.search-suggest.open{
  display:block;
}

.search-suggest .suggest-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:14px 18px;
  cursor:pointer;
  transition:background .15s ease;
}

.search-suggest .suggest-item:hover{
  background:rgba(139,94,60,0.06);
}

.search-suggest .suggest-item + .suggest-item{
  border-top:1px solid rgba(0,0,0,0.05);
}

.search-suggest .suggest-left{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}

.search-suggest .suggest-title{
  font-weight:600;
  font-size:15px;
  color:#111;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.search-suggest .suggest-meta{
  font-size:12px;
  color:rgba(0,0,0,0.5);
  margin-top:2px;
}

.search-suggest .suggest-price{
  font-weight:800;
  font-size:14px;
  color:var(--primary-dark);
  white-space:nowrap;
}

.search-suggest .suggest-footer{
  padding:14px 18px;
  font-size:12px;
  color:rgba(0,0,0,0.45);
  background:rgba(0,0,0,0.02);
}

/* ================= CART BUTTON ================= */
.cart-btn{
  appearance:none;
  -webkit-appearance:none;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.75);
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
  transition:var(--transition);
  outline:none;
  position:static !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  top:auto !important;
  margin:0 !important;
}

.cart-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

.cart-btn:focus-visible{
  outline:2px solid rgba(139,94,60,0.35);
  outline-offset:2px;
}

.cart-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  background:rgba(139,94,60,0.12);
  color:var(--primary-dark);
  font-weight:700;
  font-size:.8rem;
}

.header .cart-btn{
  display:flex !important;
  position:static !important;
}

body > button.cart-btn,
body > .cart-btn{
  display:none !important;
}

/* ================= HERO ================= */
.hero{
  position:relative;
  min-height:92vh;
  display:flex;
  align-items:center;
  text-align:left;
  padding:0 20px;
  overflow:hidden;
  isolation:isolate;
  background:none;
}

.hero-video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(20,15,10,0.85) 0%,
    rgba(20,15,10,0.55) 40%,
    rgba(20,15,10,0.20) 100%
  );
  z-index:1;
}

.hero::after{
  content:none;
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:650px;
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp 1s ease forwards;
  padding-left:clamp(10px, 4vw, 60px);
}

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(30px); }
  to{ opacity:1; transform:translateY(0); }
}

.hero h1{
  font-size:3.5rem;
  letter-spacing:-1px;
  font-weight:700;
  line-height:1.1;
  margin-bottom:18px;
  color:#fff;
  font-family:'Playfair Display', serif;
  text-shadow:0 10px 30px rgba(0,0,0,0.4);
}

.hero p{
  font-size:1.05rem;
  max-width:520px;
  margin-bottom:28px;
  color:#fff;
  opacity:.95;
  text-shadow:0 2px 10px rgba(0,0,0,0.3);
}
.btn-dark-link{
  display:inline-block;
  background:linear-gradient(145deg, var(--primary), var(--primary-dark));
  color:#fff;
  border:none;
  padding:16px 42px;
  border-radius:999px;
  font-weight:700;
  letter-spacing:.5px;
  font-size:1.05rem;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(92,58,33,0.25);
  transition:var(--transition);
}

.btn-dark-link:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 35px rgba(92,58,33,0.35);
}

/* ================= SECTIONS ================= */
.story{
  padding:90px 0;
  text-align:center;
  background:var(--card);
}

.story h2{
  font-size:2rem;
  margin-bottom:18px;
}

.story p{
  max-width:720px;
  margin:auto;
  color:#555;
}

/* ================= ROW ================= */
.search-row{
  position:sticky;
  top:90px;
  z-index:900;
  padding:14px 0 18px;
  background:rgba(255,255,255,0.88);
  backdrop-filter:blur(14px);
  border-top:1px solid rgba(0,0,0,0.04);
  border-bottom:1px solid rgba(0,0,0,0.06);
  transition:all .3s ease;
}

.search-row.scrolled{
  padding:12px 0;
  background:rgba(255,255,255,0.95);
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.search-row-container{
  display:flex;
  align-items:center;
  gap:14px;
}

.search-large{
  flex:1;
  max-width:760px;
  padding:12px 18px !important;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(139,94,60,0.14) !important;
  box-shadow:0 18px 50px rgba(0,0,0,0.08) !important;
  transition:all .3s ease;
}

.search-large:hover{
  box-shadow:0 35px 80px rgba(139,94,60,0.18);
  transform:translateY(-1px);
}

.search-large:focus-within{
  border-color:#8b5e3c;
  box-shadow:0 0 0 4px rgba(139,94,60,0.15);
}

.search-large input{
  font-size:15px !important;
  letter-spacing:.2px !important;
}

.search-filter{
  padding:12px 18px !important;
  border-radius:999px;
  border:1px solid rgba(139,94,60,0.14) !important;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235c3a21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 16px center;
  box-shadow:0 18px 50px rgba(0,0,0,0.08) !important;
  font-size:14px;
  cursor:pointer;
  transition:all .25s ease;
  appearance:none;
  -webkit-appearance:none;
  padding-right:44px !important;
}

.search-filter:hover{
  box-shadow:0 22px 60px rgba(0,0,0,0.10);
  transform:translateY(-1px);
}

.search-row .search{
  max-width:900px;
  margin:auto;
}

/* ================= PRODUCTS ================= */
.products{
  padding:36px 0 60px;
}

.section-title{
  text-align:center;
  font-size:2.35rem;
  font-weight:700;
  margin-bottom:24px;
  font-family:'Playfair Display', serif;
  color:var(--primary-dark);
  letter-spacing:-0.4px;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:36px;
}

.product-card-wrapper{
  display:flex;
  flex-direction:column;
  position:relative;
}

.product-card-link{
  display:block;
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  position:relative;
  z-index:1;
}

.product-card{
  background:rgba(255,255,255,0.96);
  border:1px solid rgba(0,0,0,0.06);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(0,0,0,0.06);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  display:flex;
  flex-direction:column;
  cursor:pointer;
  user-select:none;
}

.product-card:hover,
.product-card-link:hover .product-card{
  transform:translateY(-8px);
  box-shadow:0 22px 46px rgba(0,0,0,0.10);
  border-color:rgba(139,94,60,0.16);
}

.product-card *{
  cursor:pointer;
}

.product-card img{
  width:100%;
  height:330px;
  object-fit:contain;
  background:#f7f4f1;
  display:block;
  transition:transform .6s ease, filter .45s ease;
  pointer-events:none;
}
.product-card:hover img,
.product-card-link:hover .product-card img{
  transform:scale(1.05);
  filter:brightness(1.05);
}

.product-card .product-info,
.product-card h3,
.product-card p,
.product-card .product-price{
  pointer-events:none;
}
.product-detail-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
}

.product-detail-info{
    padding-top:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.product-info{
  padding:20px;
}

.product-info h3{
  font-weight:550;
  margin-bottom:6px;
}

.product-price{
  color:var(--text);
  font-weight:800;
  font-size:1.1rem;
  margin-top:10px;
}

.add-to-cart{
  align-self:flex-start;
  margin:14px 20px 20px;
  background:linear-gradient(145deg, var(--primary), var(--primary-dark));
  color:#fff;
  border:none;
  border-radius:999px;
  padding:12px 22px;
  font-weight:700;
  cursor:pointer;
  transition:var(--transition);
  box-shadow:0 10px 22px rgba(92,58,33,0.20);
  position:relative;
  z-index:2;
}

.add-to-cart:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(92,58,33,0.28);
}

/* ================= DETAILS BUTTON ================= */
.details-btn{
  display:inline-block;
  margin-top:10px;
  padding:10px 16px;
  background:#1f1f1f;
  color:#fff;
  text-decoration:none;
  border-radius:8px;
  transition:0.3s ease;
}

.details-btn:hover{
  background:#000;
}

/* ================= PRODUCT DETAILS TOGGLE ================= */
.toggle-details{
  background:none;
  border:none;
  font-size:.95rem;
  font-weight:600;
  color:var(--primary-dark);
  cursor:pointer;
  margin:14px 0 10px;
}

.toggle-details:hover{
  color:var(--primary);
}

.product-features{
  list-style:none;
  padding:0;
  margin:0 0 18px;
  font-size:.92rem;
  color:#666;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .35s ease, opacity .25s ease;
}

.product-features.open{
  max-height:360px;
  opacity:1;
}

.product-features li{
  display:flex;
  justify-content:space-between;
  padding:7px 0;
  border-bottom:1px solid rgba(0,0,0,0.06);
}

.product-features li:last-child{
  border-bottom:none;
}

.product-features span{
  font-weight:600;
  color:var(--text);
}

/* ================= ADVANTAGES ================= */
.advantages{
  padding:80px 0;
  background:var(--bg);
}

.advantages-container{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:24px;
  justify-items:center;
  text-align:center;
}

.advantage-card{
  position:relative;
}

.advantage-card:hover{
  transform:translateY(-4px);
  box-shadow:0 15px 40px rgba(0,0,0,0.09);
}

.advantage-card .adv-icon{
  display:inline-block;
  padding:10px;
  width:50px;
  height:50px;
  background:rgba(139,94,60,0.07);
  border:1px solid rgba(139,94,60,0.10);
  border-radius:14px;
}

.adv-icon{
  width:30px;
  height:30px;
  margin-bottom:14px;
  color:var(--primary-dark);
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
}

/* ================= CART SIDEBAR PREMIUM ================= */
.cart-overlay{
  position:fixed;
  inset:0;
  background:rgba(17, 12, 8, 0.32);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease, visibility .28s ease;
  z-index:1998;
  backdrop-filter:blur(3px);
}

.cart-overlay.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.cart-sidebar{
  position:fixed;
  top:0;
  right:-460px;
  width:420px;
  max-width:100%;
  height:100%;
  background:linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,245,241,0.98) 100%);
  backdrop-filter:blur(14px);
  box-shadow:-24px 0 60px rgba(0,0,0,0.14);
  display:flex;
  flex-direction:column;
  transition:right .38s ease;
  z-index:1999;
  border-left:1px solid rgba(139,94,60,0.12);
  overflow:hidden;
}

.cart-sidebar.active{
  right:0;
}

.cart-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:28px 26px 20px;
  border-bottom:1px solid rgba(0,0,0,0.06);
  background:rgba(255,255,255,0.72);
  backdrop-filter:blur(10px);
}

.cart-header h2{
  font-family:'Playfair Display', serif;
  font-size:2rem;
  line-height:1.1;
  font-weight:700;
  color:var(--primary-dark);
  margin:0;
}

.cart-header-meta{
  display:block;
  margin-top:6px;
  font-size:13px;
  color:rgba(0,0,0,0.5);
  font-family:'Poppins', sans-serif;
}

.close-cart{
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  background:rgba(139,94,60,0.08);
  color:var(--primary-dark);
  font-size:1.1rem;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .22s ease;
  flex:0 0 auto;
}

.close-cart:hover{
  background:rgba(139,94,60,0.14);
  transform:rotate(90deg);
}

.cart-items{
  flex:1;
  list-style:none;
  overflow-y:auto;
  padding:18px 20px 20px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.cart-items::-webkit-scrollbar{
  width:8px;
}

.cart-items::-webkit-scrollbar-thumb{
  background:rgba(139,94,60,0.18);
  border-radius:999px;
}

.cart-items li{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:16px;
  margin-bottom:14px;
  border:1px solid rgba(139,94,60,0.10);
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
  transition:all .2s ease;
}

.cart-items li:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(0,0,0,0.08);
  border-color:rgba(139,94,60,0.18);
}

.cart-items li:last-child{
  border-bottom:1px solid rgba(139,94,60,0.10);
}

.cart-thumb{
  width:72px;
  height:72px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 10px 24px rgba(0,0,0,0.06);
  background:#f4f1ed;
  flex:0 0 auto;
}

.cart-line{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
}

.cart-line-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}

.cart-title{
  font-size:15px;
  font-weight:700;
  color:#1b1714;
  line-height:1.35;
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
  max-width:220px;
  word-break:break-word;
}

.cart-footer p span{
  margin-left:auto;
}

.close-cart:focus-visible,
.qty button:focus-visible,
.remove-item:focus-visible,
.cart-footer .btn-primary:focus-visible{
  outline:2px solid rgba(139,94,60,0.35);
  outline-offset:2px;
}

.cart-sub{
  color:rgba(0,0,0,0.5);
  font-size:12.5px;
  margin-top:4px;
  line-height:1.4;
}

.cart-price{
  font-size:15px;
  font-weight:800;
  color:var(--primary-dark);
  white-space:nowrap;
  padding-left:8px;
}

.cart-actions{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.qty{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px;
  border-radius:999px;
  border:1px solid rgba(139,94,60,0.12);
  background:rgba(247,244,241,0.95);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.7);
}

.qty button{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(139,94,60,0.14);
  background:#fff;
  color:var(--primary-dark);
  cursor:pointer;
  font-weight:700;
  font-size:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .2s ease;
}

.qty button:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,0.08);
  background:rgba(139,94,60,0.06);
}

.qty button:disabled{
  opacity:0.45;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.qty span{
  min-width:24px;
  text-align:center;
  font-weight:700;
  font-size:14px;
  color:#1b1714;
}

.remove-item{
  border:none;
  background:transparent;
  cursor:pointer;
  padding:8px 10px;
  border-radius:12px;
  color:rgba(0,0,0,0.42);
  font-size:13px;
  font-weight:600;
  transition:all .2s ease;
}

.remove-item:hover{
  background:rgba(139,94,60,0.10);
  color:var(--primary-dark);
}

.cart-footer{
  border-top:1px solid rgba(0,0,0,0.06);
  padding:20px 22px 24px;
  background:linear-gradient(180deg, rgba(255,255,255,0.82) 0%, #fbf8f5 100%);
  box-shadow:0 -10px 30px rgba(0,0,0,0.04);
}

.cart-footer p{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  font-size:15px;
  color:rgba(0,0,0,0.7);
}

.cart-total{
  font-size:1.6rem;
  font-weight:800;
  color:var(--primary-dark);
  font-family:'Playfair Display', serif;
}

.cart-footer::before{
  content:"Livraison calculée à l’étape suivante";
  display:block;
  margin-bottom:14px;
  font-size:12.5px;
  color:rgba(0,0,0,0.48);
}

.cart-footer .btn-primary{
  width:100%;
  min-height:54px;
  border:none;
  border-radius:999px;
  background:linear-gradient(145deg, var(--primary), var(--primary-dark));
  color:#fff;
  font-weight:700;
  font-size:15px;
  letter-spacing:.2px;
  cursor:pointer;
  transition:all .25s ease;
  box-shadow:0 12px 28px rgba(92,58,33,0.22);
}

.cart-footer .btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(92,58,33,0.28);
}

.cart-footer .btn-primary:active{
  transform:translateY(0);
}

.cart-items:empty::before{
  content:"Votre panier est vide pour le moment.";
  display:block;
  text-align:center;
  margin:auto 0;
  padding:40px 20px;
  color:rgba(0,0,0,0.45);
  font-size:15px;
  line-height:1.7;
}

@media (max-width:768px){
  .cart-sidebar{
    width:100%;
    right:-100%;
  }

  .cart-header{
    padding:24px 18px 18px;
  }

  .cart-header h2{
    font-size:1.7rem;
  }

  .cart-items{
    padding:14px;
  }

  .cart-items li{
    padding:14px;
    border-radius:18px;
  }

  .cart-thumb{
    width:64px;
    height:64px;
    border-radius:16px;
  }

  .cart-footer{
    padding:18px 16px 20px;
  }

  .cart-total{
    font-size:1.35rem;
  }
}

/* ================= CONTACT ================= */
.contact-section{
  padding:80px 0;
  background:var(--bg);
}

.contact-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:start;
}

.card{
  background:rgba(255,255,255,0.95);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.contact-info{
  padding:26px;
}

.contact-info h2{
  font-family:'Playfair Display', serif;
  font-size:2rem;
  margin-bottom:10px;
  color:var(--primary-dark);
}

.contact-info p{
  color:#555;
}

.kpi{
  display:grid;
  gap:10px;
  margin-top:18px;
}

.kpi div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(139,94,60,0.06);
  border:1px solid rgba(139,94,60,0.12);
}

.kpi strong{
  color:var(--primary-dark);
}

.contact-form{
  padding:26px;
}

.contact-form h3{
  margin-bottom:12px;
  font-size:1.1rem;
  color:var(--text);
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.form-grid .full{
  grid-column:1 / -1;
}

.input,
textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,0.12);
  background:white;
  outline:none;
  font-size:15px;
  transition:var(--transition);
}

textarea{
  min-height:120px;
  resize:vertical;
}

.input:focus,
textarea:focus{
  border-color:rgba(139,94,60,0.45);
  box-shadow:0 0 0 4px rgba(139,94,60,0.12);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:none;
  background:linear-gradient(145deg, var(--primary), var(--primary-dark));
  color:#fff;
  font-weight:800;
  cursor:pointer;
  transition:var(--transition);
  box-shadow:0 10px 25px rgba(92,58,33,0.18);
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 35px rgba(92,58,33,0.25);
}

/* ================= TRUST / TESTIMONIALS ================= */
.trust{
  padding:70px 0;
  background:var(--card);
}

.trust h2{
  text-align:center;
  font-family:'Playfair Display', serif;
  font-size:2.4rem;
  color:var(--primary-dark);
  margin-bottom:10px;
}

.trust p.subtitle{
  text-align:center;
  max-width:700px;
  margin:0 auto 28px;
  color:var(--muted);
}

.testimonials{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.quote{
  background:rgba(255,255,255,0.95);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  padding:20px;
}

.quote p{
  color:var(--text);
  line-height:1.7;
  margin-bottom:12px;
}

.quote .name{
  color:var(--primary-dark);
  font-weight:800;
}

/* ================= FOOTER ================= */
.footer{
  background:#fff;
  border-top:1px solid var(--border);
  padding:36px 0;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:22px;
  align-items:start;
}

.footer .brand{
  font-family:'Playfair Display', serif;
  font-weight:700;
  font-size:1.4rem;
  color:var(--primary-dark);
  margin-bottom:10px;
}

.footer p{
  color:var(--muted);
  max-width:420px;
}

.footer h4{
  text-transform:uppercase;
  font-size:.9rem;
  letter-spacing:.3px;
  color:rgba(0,0,0,0.55);
  margin-bottom:12px;
}

.footer ul{
  list-style:none;
  display:grid;
  gap:10px;
}

.footer a{
  opacity:.85;
  transition:var(--transition);
}

.footer a:hover{
  opacity:1;
  color:var(--primary);
}

/* ================= LEGAL PAGE ================= */
.legal-page{
  padding:80px 0;
  background:linear-gradient(180deg, #f7f4f1 0%, #fbf8f5 100%);
}

.legal-container{
  max-width:980px;
  margin:0 auto;
  background:rgba(255,255,255,0.96);
  border:1px solid var(--border);
  border-radius:24px;
  padding:48px;
  box-shadow:0 20px 60px rgba(0,0,0,0.06);
}

.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:24px;
  font-weight:600;
  color:var(--primary-dark);
  transition:var(--transition);
}

.back-link:hover{
  color:var(--primary);
  transform:translateX(-2px);
}

.legal-page h1{
  font-family:'Playfair Display', serif;
  font-size:2.8rem;
  line-height:1.15;
  color:var(--primary-dark);
  margin-bottom:12px;
}

.legal-page .intro{
  font-size:1.02rem;
  color:var(--muted);
  max-width:760px;
  margin-bottom:24px;
}

.legal-page h2{
  font-family:'Playfair Display', serif;
  font-size:1.55rem;
  line-height:1.25;
  color:#1f1a17;
  margin-top:34px;
  margin-bottom:14px;
}

.legal-page p,
.legal-page li{
  font-size:1rem;
  color:#3e3834;
  line-height:1.8;
}

.legal-page p{
  margin-bottom:14px;
}

.legal-page ul{
  margin:0 0 18px 0;
  padding-left:22px;
}

.legal-page li{
  margin-bottom:8px;
}

.legal-page strong{
  color:#1f1a17;
}

.legal-page a{
  color:var(--primary-dark);
  text-decoration:none;
  border-bottom:1px solid rgba(139,94,60,0.25);
  transition:var(--transition);
}

.legal-page a:hover{
  color:var(--primary);
  border-bottom-color:var(--primary);
}

.legal-note{
  margin-top:34px;
  padding:18px 20px;
  background:rgba(139,94,60,0.06);
  border:1px solid rgba(139,94,60,0.12);
  border-radius:18px;
  color:#5f564f;
  font-size:0.95rem;
}

/* ================= PRODUCT PAGE ================= */
.product-page-section{
  padding:0 0 60px;
}
.product-detail-layout{
  align-items:start;
}

.product-detail-info{
  padding-top:0 !important;
  margin-top:0 !important;
}

.product-detail-breadcrumb{
  display:none;
}

.product-detail{
  min-height:300px;
}

.product-detail-layout{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:50px;
  align-items:start;
}

.product-detail-image{
  width:100%;
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:center;
}

.product-detail-image img,
#mainProductImage{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}
.product-detail-info h1{
  font-family:'Playfair Display', serif;
  font-size:2.2rem;
  margin-bottom:16px;
  color:#111;
}

.product-detail-breadcrumb{
  margin-bottom:18px;
  color:#777;
  font-size:0.95rem;
}

.product-detail-breadcrumb a{
  color:inherit;
  text-decoration:none;
}

.product-detail-price{
  font-size:1.4rem;
  font-weight:600;
  margin-bottom:14px;
  color:#111;
}

.product-detail-stock{
  margin-bottom:18px;
  color:#444;
}

.product-detail-description{
  margin-top:24px;
  margin-bottom:28px;
}

.product-detail-description h3{
  font-size:18px;
  margin-bottom:10px;
  font-weight:600;
  color:#111;
}

.product-detail-description p{
  line-height:1.9;
  font-size:15px;
  color:#444;
  white-space:pre-line;
}

.product-benefits{
  margin-top:20px;
  margin-bottom:28px;
  list-style:none;
  padding:0;
}

.product-benefits li{
  margin-bottom:8px;
  font-size:14px;
  color:#333;
}

.product-detail-error{
  text-align:center;
  padding:60px 20px;
}

/* ================= SAFETY PATCHES ================= */
body > *[style*="position: fixed"],
body > *[style*="position:fixed"]{
  /* zone volontairement laissée neutre */
}

body > *[style*="position: fixed"]:not(.cart-overlay):not(.cart-sidebar),
body > *[style*="position:fixed"]:not(.cart-overlay):not(.cart-sidebar){
  /* display:none !important; */
}

body > button.cart-btn,
body > .cart-btn{
  display:none !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width:980px){
  .search{
    width:clamp(240px, 34vw, 320px);
  }
}

@media (max-width:950px){
  .testimonials{
    grid-template-columns:1fr;
  }
}

@media (max-width:900px){
  body{
    padding-top:100px;
  }

  .header-container{
    flex-wrap:wrap;
  }

  .search{
    order:3;
    width:100%;
  }

  .search-row-container{
    flex-direction:column;
    align-items:stretch;
  }

  .search-large{
    max-width:100%;
  }

  .search-filter{
    width:100%;
  }

  .contact-grid{
    grid-template-columns:1fr;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .product-detail-layout{
    grid-template-columns:1fr;
    gap:30px;
  }

  .product-detail-info h1{
    font-size:1.8rem;
  }
}

@media (max-width:768px){
  body{
    padding-top:80px;
  }

  .header-container{
    flex-direction:column;
    gap:10px;
  }

  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
  }

  .hero h1{
    font-size:2.2rem;
    text-align:center;
  }

  .legal-page{
    padding:40px 0;
  }

  .legal-container{
    padding:28px 22px;
    border-radius:18px;
  }

  .legal-page h1{
    font-size:2.1rem;
  }

  .legal-page h2{
    font-size:1.3rem;
  }
}

@media (max-width:650px){
  .form-grid{
    grid-template-columns:1fr;
  }
}

.cart-page{
  display:none;
}

/* ================= CHECKOUT PREMIUM ================= */
.payment-page{
  max-width:1100px;
  margin:0 auto;
}

.payment-layout{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:28px;
  align-items:start;
  margin-top:28px;
}

.payment-summary.card,
.payment-form-box.card{
  background:rgba(255,255,255,0.96);
  border:1px solid rgba(0,0,0,0.06);
  border-radius:24px;
  box-shadow:0 18px 50px rgba(0,0,0,0.06);
}

.payment-summary{
  padding:30px;
  position:sticky;
  top:120px;
}

.payment-form-box{
  padding:30px;
}

.payment-summary h2,
.payment-form-box h2{
  font-family:'Playfair Display', serif;
  font-size:2rem;
  line-height:1.15;
  color:var(--primary-dark);
  margin-bottom:22px;
}

#payment-items{
  list-style:none;
  padding:0;
  margin:0 0 24px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

#payment-items li{
  padding:14px 16px;
  border-radius:16px;
  background:rgba(139,94,60,0.05);
  border:1px solid rgba(139,94,60,0.10);
  color:#2b211b;
  font-weight:500;
  line-height:1.5;
}

.payment-totals{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(0,0,0,0.08);
}

.payment-totals p{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin:0 0 14px;
  font-size:16px;
  color:rgba(0,0,0,0.72);
}

.payment-totals p strong{
  color:#111;
  font-size:1.05rem;
}

.payment-totals p:last-child{
  margin-bottom:0;
  padding-top:8px;
  font-size:1.1rem;
}

.payment-totals p:last-child strong{
  font-size:1.35rem;
  color:var(--primary-dark);
  font-family:'Playfair Display', serif;
}

#payment-form{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

#payment-form input{
  width:100%;
  min-height:52px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,0.10);
  background:#fff;
  font-size:15px;
  color:#111;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#payment-form input::placeholder{
  color:rgba(0,0,0,0.42);
}

#payment-form input:focus{
  border-color:rgba(139,94,60,0.45);
  box-shadow:0 0 0 4px rgba(139,94,60,0.12);
  transform:translateY(-1px);
}

#nom,
#email,
#telephone,
#adresse,
#codePostal,
#ville,
#pays{
  grid-column:span 1;
}

#payment-element,
#payment-message,
.payment-form-box #submit.premium-btn{
  grid-column:1 / -1;
}

#payment-element{
  margin-top:10px;
  padding:14px;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(250,248,246,0.95) 0%, rgba(255,255,255,1) 100%);
  border:1px solid rgba(0,0,0,0.05);
}

.payment-form-box #payment-message{
  margin-top:4px;
  margin-bottom:0;
  font-size:14px;
  line-height:1.5;
}

.payment-form-box #submit.premium-btn{
  width:100%;
  margin-top:10px;
  padding:18px 22px;
  border:none;
  border-radius:16px;
  background:linear-gradient(135deg, #5c3a21 0%, #8b5e3c 100%);
  color:#ffffff;
  font-size:18px;
  font-weight:700;
  font-family:'Poppins', sans-serif;
  letter-spacing:0.2px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  box-shadow:0 14px 30px rgba(92, 58, 33, 0.22);
  transition:transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  appearance:none;
  -webkit-appearance:none;
}

.payment-form-box #submit.premium-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(92, 58, 33, 0.28);
}

.payment-form-box #submit.premium-btn:active{
  transform:translateY(0);
}

.payment-form-box #submit.premium-btn:disabled{
  opacity:0.65;
  cursor:not-allowed;
  transform:none;
  box-shadow:0 10px 22px rgba(92, 58, 33, 0.16);
}

.payment-form-box #submit.premium-btn .premium-subtext{
  font-size:13px;
  font-weight:400;
  opacity:0.9;
  letter-spacing:0.3px;
}

@media (max-width:980px){
  .payment-layout{
    grid-template-columns:1fr;
  }

  .payment-summary{
    position:static;
    top:auto;
  }
}

@media (max-width:640px){
  .payment-summary,
  .payment-form-box{
    padding:22px;
    border-radius:20px;
  }

  .payment-summary h2,
  .payment-form-box h2{
    font-size:1.65rem;
  }

  #payment-form{
    grid-template-columns:1fr;
  }

  #nom,
  #email,
  #telephone,
  #adresse,
  #codePostal,
  #ville,
  #pays{
    grid-column:span 1;
  }

  .payment-form-box #submit.premium-btn{
    font-size:17px;
    padding:16px 18px;
  }
}
/* =========================================================
 /* =========================================================
 /* =========================================================
   HEADER PREMIUM FINAL OVERRIDE - MAISON DU SUD
========================================================= */

body{
  padding-top:88px;
}

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1200;
  background:rgba(255, 252, 247, 0.92);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(110, 90, 70, 0.10);
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  transition:all .3s ease;
}

.header.scrolled{
  background:rgba(255, 252, 247, 0.97);
  box-shadow:0 14px 40px rgba(0,0,0,0.08);
}


.header-top-line{
  height:2px;
  background:linear-gradient(90deg, #d9c2aa, #b08a67, #e7d7c6);
}

.header-container{
  max-width:1300px;
  margin:auto;
  min-height:88px;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:nowrap;
}

.logo{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  flex-shrink:0;
}

.logo img{
  width:58px;
  height:58px;
  object-fit:contain;
  border-radius:14px;
  background:rgba(255,255,255,0.7);
  padding:6px;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
  transition:transform .25s ease;
  filter:none;
  transform:none;
  max-width:none;
}

.logo:hover img{
  transform:translateY(-1px) scale(1.02);
}

.logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.logo-title{
  font-family:'Playfair Display', serif;
  font-size:1.5rem;
  font-weight:700;
  color:var(--primary-dark);
  letter-spacing:0.4px;
}

.logo-subtitle{
  font-family:'Poppins', sans-serif;
  font-size:0.72rem;
  font-weight:500;
  color:#7b6a5b;
  text-transform:uppercase;
  letter-spacing:2px;
  margin-top:4px;
}

.main-nav{
  flex:1;
  display:flex;
  justify-content:center;
}

.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
  gap:30px;
  margin:0;
  padding:0;
  white-space:nowrap;
  flex-wrap:nowrap;
}

.nav-links li{
  position:relative;
}

.nav-links a,
.dropdown-toggle{
  font-family:'Poppins', sans-serif;
  font-size:0.96rem;
  font-weight:500;
  color:rgba(0,0,0,0.82);
  text-decoration:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:10px 0;
  transition:color .25s ease, opacity .25s ease;
  position:relative;
  border-radius:0;
}

.nav-links a:hover,
.dropdown-toggle:hover{
  color:var(--primary);
  background:none;
}

.nav-links a::after,
.dropdown-toggle::after{
  content:"";
  position:absolute;
  left:0;
  bottom:2px;
  width:0;
  height:1.5px;
  background:var(--primary);
  transition:width .25s ease;
}

.nav-links li:hover > a::after,
.dropdown:hover .dropdown-toggle::after,
.dropdown.open .dropdown-toggle::after{
  width:100%;
}

.dropdown{
  position:relative;
}

.dropdown-toggle{
  display:flex;
  align-items:center;
  gap:8px;
}

.dropdown-arrow{
  font-size:.8rem;
  transition:transform .25s ease;
}

.dropdown.open .dropdown-arrow,
.dropdown:hover .dropdown-arrow{
  transform:rotate(180deg);
}

.dropdown-menu{
  position:absolute;
  top:calc(100% + 14px);
  left:0;
  min-width:200px;
  background:rgba(255, 250, 244, 0.98);
  border:1px solid rgba(176, 138, 103, 0.14);
  border-radius:16px;
  padding:10px;
  list-style:none;
  box-shadow:0 18px 35px rgba(35, 28, 22, 0.10);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:all .25s ease;
  z-index:50;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.dropdown-menu li{
  width:100%;
}

.dropdown-menu a{
  display:block;
  padding:11px 14px;
  border-radius:12px;
}

.dropdown-menu a::after{
  display:none;
}

.dropdown-menu a:hover{
  background:rgba(176, 138, 103, 0.08);
  color:var(--primary-dark);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}

.search-toggle,
.cart-btn,
.menu-toggle{
  width:48px;
  height:48px;
  border:1px solid rgba(176, 138, 103, 0.18);
  background:rgba(255,255,255,0.78);
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position:relative !important;
  padding:0;
  margin:0 !important;
  left:auto !important;
  right:auto !important;
  top:auto !important;
  bottom:auto !important;
  appearance:none;
  -webkit-appearance:none;
}

.search-toggle:hover,
.cart-btn:hover,
.menu-toggle:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(80,60,40,0.10);
  border-color:rgba(176, 138, 103, 0.40);
  background:rgba(255,255,255,0.95);
}

.search-toggle-icon,
.cart-icon{
  width:22px;
  height:22px;
  stroke:#3d3229;
  stroke-width:1.8;
}

.cart-btn{
  gap:0;
}

.cart-count{
  position:absolute;
  top:-5px;
  right:-4px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  background:linear-gradient(135deg, #b08a67, #8f6d4f);
  color:#fff;
  font-size:.72rem;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 16px rgba(176, 138, 103, 0.25);
}

.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
}

.menu-toggle span{
  width:20px;
  height:2px;
  background:#3c3128;
  border-radius:999px;
  transition:all .25s ease;
}

.menu-toggle.active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
  opacity:0;
}

.menu-toggle.active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

.mobile-only{
  display:none;
}

/* ROW */
.search-row{
  position:relative;
  top:auto;
  z-index:1;
  padding:12px 0 16px;
  background:rgba(255, 248, 241, 0.88);
  backdrop-filter:blur(14px);
  border-top:1px solid rgba(0,0,0,0.04);
  border-bottom:1px solid rgba(0,0,0,0.06);
  transition:all .3s ease;
}

.search-row-container{
  display:flex;
  align-items:center;
  gap:14px;
}

.search-large{
  flex:1;
  max-width:none;
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  background:rgba(255,255,255,0.95);
  border:1px solid rgba(176, 138, 103, 0.16) !important;
  border-radius:16px !important;
  padding:0 16px !important;
  min-height:54px;
  box-shadow:0 10px 30px rgba(60,45,30,0.04) !important;
  transform:none !important;
}

.search-large:hover{
  box-shadow:0 14px 34px rgba(60,45,30,0.07) !important;
}

.search-large:focus-within{
  border-color:rgba(139,94,60,0.45) !important;
  box-shadow:0 0 0 4px rgba(139,94,60,0.12) !important;
  background:#fff;
}

.search-ico{
  width:18px;
  height:18px;
  color:#8c7a69;
  flex:0 0 auto;
}

.search-large input{
  border:none;
  outline:none;
  background:transparent;
  width:100%;
  font-size:15px !important;
  color:var(--text);
  letter-spacing:.2px;
}

.search-large input::placeholder{
  color:#9a8a7b;
}

#clearSearch{
  border:none;
  background:rgba(0,0,0,0.04);
  width:30px;
  height:30px;
  border-radius:999px;
  cursor:pointer;
  color:#8a7869;
  transition:.2s ease;
}

#clearSearch:hover{
  background:rgba(139,94,60,0.10);
  color:var(--primary-dark);
}

.search-filter{
  min-width:150px;
  min-height:54px;
  border-radius:16px !important;
  border:1px solid rgba(176, 138, 103, 0.16) !important;
  background:
    rgba(255,255,255,0.95)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235c3a21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 16px center;
  padding:0 44px 0 16px !important;
  font-family:'Poppins', sans-serif;
  font-size:14px;
  color:var(--text);
  outline:none;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  box-shadow:0 10px 30px rgba(60,45,30,0.04) !important;
}

.search-filter:hover{
  box-shadow:0 14px 34px rgba(60,45,30,0.07) !important;
  transform:none;
}

/* compact scroll */
.header.scrolled .header-container{
  min-height:78px;
}

.header.scrolled .logo img{
  width:50px;
  height:50px;
}

.header.scrolled .logo-title{
  font-size:1.35rem;
}

/* HERO PREMIUM OVERRIDE */
.hero{
  position:relative;
  min-height:92vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  isolation:isolate;
  padding:0;
  background:#111;
}

.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  transform:scale(1.02);
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg, rgba(19, 14, 10, 0.82) 0%, rgba(19, 14, 10, 0.58) 38%, rgba(19, 14, 10, 0.20) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.hero-glow{
  position:absolute;
  right:-120px;
  bottom:-120px;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(176, 138, 103, 0.22) 0%, rgba(176, 138, 103, 0.08) 35%, rgba(176, 138, 103, 0) 72%);
  filter:blur(12px);
  z-index:1;
  pointer-events:none;
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:760px;
  padding:90px 0 90px 60px;
  opacity:0;
  transform:translateY(28px);
  animation:heroFadeUp 1s ease forwards;
}

@keyframes heroFadeUp{
  from{
    opacity:0;
    transform:translateY(28px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.hero-kicker{
  display:inline-block;
  margin-bottom:18px;
  padding:8px 14px;
  border:1px solid rgba(255, 255, 255, 0.16);
  border-radius:999px;
  background:rgba(255, 255, 255, 0.08);
  color:rgba(255, 248, 242, 0.95);
  font-size:0.78rem;
  font-weight:500;
  letter-spacing:2px;
  text-transform:uppercase;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.hero h1{
  margin:0 0 22px;
  max-width:720px;
  font-family:'Playfair Display', serif;
  font-size:clamp(3rem, 6vw, 5.4rem);
  line-height:0.98;
  font-weight:700;
  letter-spacing:-1.4px;
  color:#fff;
  text-shadow:0 14px 40px rgba(0, 0, 0, 0.34);
}

.hero-text{
  max-width:620px;
  font-size:1.1rem;
  line-height:1.85;
  color:rgba(255, 255, 255, 0.92);
  margin-bottom:22px;
  text-shadow:0 3px 14px rgba(0, 0, 0, 0.22);
}

.hero-trust{
  font-size:1rem;
  font-weight:500;
  color:rgba(255, 243, 233, 0.96);
  margin-bottom:34px;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.btn-dark-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:0 34px;
  border:none;
  border-radius:999px;
  background:linear-gradient(145deg, var(--primary), var(--primary-dark));
  color:#fff;
  font-weight:700;
  font-size:1rem;
  letter-spacing:0.3px;
  cursor:pointer;
  box-shadow:0 16px 34px rgba(92, 58, 33, 0.30);
  transition:transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn-dark-link:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 40px rgba(92, 58, 33, 0.38);
}

.hero-secondary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:0 30px;
  border-radius:999px;
  border:1px solid rgba(255, 255, 255, 0.18);
  background:rgba(255, 255, 255, 0.08);
  color:#fff;
  font-weight:600;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  transition:transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-secondary-btn:hover{
  transform:translateY(-3px);
  background:rgba(255, 255, 255, 0.14);
  border-color:rgba(255, 255, 255, 0.28);
}

.product-detail-badge-promo{
  position:absolute;
  top:16px;
  left:16px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:linear-gradient(135deg, #b08a67, #8f6d4f);
  color:#fff;
  font-size:0.8rem;
  font-weight:700;
  box-shadow:0 10px 22px rgba(176, 138, 103, 0.25);
}

.product-detail-price-wrap{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.product-detail-old-price{
  font-size:1.05rem;
  color:rgba(0, 0, 0, 0.42);
  text-decoration:line-through;
  font-weight:500;
}

.product-detail-price.is-promo{
  color:var(--primary-dark);
}

/* ===== TABLES PAGE FINAL CLEAN ===== */

.products{
  padding:40px 0 50px;
}

.collection-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:22px;
  flex-wrap:wrap;
}

.collection-kicker{
  margin:0 0 8px;
  font-size:0.75rem;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#aa9a8c;
}

.section-title{
  margin:0;
  text-align:left;
  font-size:clamp(2.4rem, 5vw, 4.2rem);
  line-height:0.95;
}

.controls-minimal{
  margin:0;
}

.controls-minimal .control-inline{
  display:flex;
  align-items:center;
  gap:12px;
}

.controls-minimal .control-inline span{
  font-size:0.95rem;
  color:#6e5d4f;
  white-space:nowrap;
}

.controls-minimal select{
  min-width:230px;
  height:46px;
  padding:0 42px 0 16px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,0.06);
  background:#f8f6f3;
  font-size:0.95rem;
  color:#2c241e;
  outline:none;
  box-shadow:none;
  cursor:pointer;
}

.controls-minimal select:hover{
  border-color:rgba(139,94,60,0.18);
  background:#fbfaf8;
}

.controls-minimal select:focus{
  border-color:rgba(139,94,60,0.35);
  box-shadow:0 0 0 4px rgba(139,94,60,0.08);
}

.product-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.product-card{
  border-radius:18px;
  box-shadow:none;
  border:1px solid rgba(0,0,0,0.05);
}


.product-card:hover,
.product-card-link:hover .product-card{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,0.06);
}

.product-info{
  padding:16px 14px;
}

.add-to-cart{
  margin:10px 14px 16px;
}

@media (max-width:1100px){
  .nav-links{
    gap:22px;
  }

  .logo-subtitle{
    display:none;
  }
}

@media (max-width:980px){
  .product-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .payment-layout{
    grid-template-columns:1fr;
  }

  .payment-summary{
    position:static;
    top:auto;
  }
}

@media (max-width:950px){
  .testimonials{
    grid-template-columns:1fr;
  }
}

@media (max-width:920px){
  body{
    padding-top:90px;
  }

  .menu-toggle{
    display:inline-flex;
  }

  .mobile-only{
    display:inline-flex;
  }

  .main-nav{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:rgba(255, 250, 244, 0.98);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border-top:1px solid rgba(176, 138, 103, 0.10);
    box-shadow:0 18px 30px rgba(30,22,15,0.08);
    padding:10px 20px 22px;
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    transition:all .28s ease;
    display:block;
  }

  .main-nav.open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }

  .nav-links{
    flex-direction:column;
    align-items:stretch;
    gap:2px;
    width:100%;
  }

  .nav-links li{
    width:100%;
  }

  .nav-links a,
  .dropdown-toggle{
    width:100%;
    text-align:left;
    padding:15px 10px;
    border-radius:12px;
  }

  .nav-links a:hover,
  .dropdown-toggle:hover{
    background:rgba(176, 138, 103, 0.06);
  }

  .nav-links a::after,
  .dropdown-toggle::after{
    display:none;
  }

  .dropdown-menu{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    display:none;
    box-shadow:none;
    border:none;
    background:transparent;
    padding:4px 0 8px 12px;
    min-width:unset;
  }

  .dropdown.open .dropdown-menu{
    display:block;
  }

  .search-row{
    display:none;
    padding:12px 0 16px;
  }

  .search-row.open{
    display:block;
  }

  .search-row-container{
    flex-direction:column;
    align-items:stretch;
  }

  .search-filter{
    width:100%;
  }

  .contact-grid,
  .footer-grid,
  .product-detail-layout{
    grid-template-columns:1fr;
  }

  .product-detail-layout{
    gap:30px;
  }

  .product-detail-info h1{
    font-size:1.8rem;
  }
}

@media (max-width:768px){
  body{
    padding-top:86px;
  }

  .header-container{
    min-height:78px;
    gap:12px;
    padding:12px 16px;
  }

  .logo{
    gap:10px;
  }

  .logo img{
    width:50px;
    height:50px;
  }

  .logo-title{
    font-size:1.2rem;
  }

  .search-toggle,
  .cart-btn,
  .menu-toggle{
    width:44px;
    height:44px;
    border-radius:12px;
  }

  .header-actions{
    gap:8px;
  }

  .hero{
    min-height:82vh;
  }

  .hero h1{
    font-size:2.2rem;
    text-align:center;
  }

  .hero-overlay{
    background:
      linear-gradient(180deg, rgba(19, 14, 10, 0.72) 0%, rgba(19, 14, 10, 0.48) 44%, rgba(19, 14, 10, 0.42) 100%);
  }

  .hero-content{
    max-width:100%;
    padding:80px 24px 70px;
    text-align:center;
  }

  .hero-text,
  .hero h1{
    max-width:100%;
  }

  .hero-actions{
    justify-content:center;
  }

  .legal-page{
    padding:40px 0;
  }

  .legal-container{
    padding:28px 22px;
    border-radius:18px;
  }

  .legal-page h1{
    font-size:2.1rem;
  }

  .legal-page h2{
    font-size:1.3rem;
  }

  .products{
    padding:28px 0 40px;
  }

  .collection-head{
    align-items:flex-start;
  }

  .controls-minimal{
    width:100%;
  }

  .controls-minimal .control-inline{
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  .controls-minimal select{
    width:100%;
    min-width:unset;
  }

  .product-grid{
    grid-template-columns:1fr;
  }

  .product-card img{
    height:300px;
  }
}

@media (max-width:650px){
  .form-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .payment-summary,
  .payment-form-box{
    padding:22px;
    border-radius:20px;
  }

  .payment-summary h2,
  .payment-form-box h2{
    font-size:1.65rem;
  }

  #payment-form{
    grid-template-columns:1fr;
  }

  #nom,
  #email,
  #telephone,
  #adresse,
  #codePostal,
  #ville,
  #pays{
    grid-column:span 1;
  }

  .payment-form-box #submit.premium-btn{
    font-size:17px;
    padding:16px 18px;
  }

  .hero{
    min-height:78vh;
  }

  .hero-content{
    padding:70px 18px 60px;
  }

  .hero h1{
    font-size:2.6rem;
    line-height:1.02;
  }

  .hero-text{
    font-size:1rem;
    line-height:1.75;
  }

  .hero-trust{
    font-size:0.94rem;
    line-height:1.7;
  }

  .btn-dark-link,
  .hero-secondary-btn{
    width:100%;
  }
}

.products-page-tables .collection-head{
  margin-top:10px;
}

.products-page-tables .section-title{
  font-size:clamp(2.6rem, 4.5vw, 3.8rem);
}


/* ===== FIX PANIER HEADER FINAL ===== */

.header .cart-btn{
  position:relative !important;
  display:inline-flex !important;
  overflow:visible;
}

.cart-count{
  display:none !important;
}

.header .cart-btn .cart-count{
  display:flex !important;
  position:absolute !important;
  top:-6px;
  right:-6px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  background:linear-gradient(135deg, #b08a67, #8f6d4f);
  color:#fff;
  font-size:.72rem;
  font-weight:600;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 16px rgba(176, 138, 103, 0.25);
  z-index:3;
}

body > .cart-count,
body > .cart-btn,
body > button.cart-btn{
  display:none !important;
}



.collection-center-logo{
  display:flex;
  justify-content:center;
  align-items:center;
}

.collection-center-logo a{
  display:inline-block;
}

.collection-center-logo img{
  width:140px;
  height:auto;
  opacity:0.85;
  transition:transform .25s ease, opacity .25s ease;
}

.collection-center-logo a:hover img{
  transform:scale(1.08);
  opacity:1;
}

.controls-minimal{
  justify-self:end;
}
.products-page-chaises {
  padding-top: 56px;
}

.collection-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 10px;
}

.collection-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: #b79b7a;
}

.products-page-chaises .section-title {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1;
  color: #6f4528;
}

.collection-center-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.collection-center-logo img {
  max-width: 120px;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
}

.controls-minimal {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.control-inline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.control-inline span {
  font-size: 18px;
  color: #8e6d52;
}

.control-inline select {
  min-width: 220px;
  padding: 12px 18px;
  border: 1px solid #ddd2c8;
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
  color: #3a2a1f;
}

.chairs-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.chairs-filters .control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chairs-filters .control span {
  font-size: 16px;
  color: #8e6d52;
}

.chairs-filters input {
  min-width: 140px;
  padding: 10px 12px;
  border: 1px solid #ddd2c8;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}
.products-page-chaises .btn-dark-link.btn-small {
  padding: 6px 18px !important;
  min-height: 44px;
  font-size: 12px !important;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(92, 58, 33, 0.16);
}
@media (max-width: 1024px) {
  .collection-head {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .collection-center-logo {
    justify-content: flex-start;
  }

  .controls-minimal {
    justify-content: flex-start;
  }
}
.logo a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.insta-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(176, 138, 103, 0.18);
  background: rgba(255,255,255,0.78);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3d3229;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease;
}

.insta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(80,60,40,0.10);
  border-color: rgba(176, 138, 103, 0.40);
  background: linear-gradient(135deg, #fd5949, #d6249f, #285AEB);
  color: #fff;
}
/* ===== SEARCH BAR FINAL FIX ===== */
.search-row{
  margin-top: 0 !important;
  padding: 4px 0 8px !important;
  background: rgba(255, 248, 241, 0.72) !important;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.search-row-container{
  display:flex;
  align-items:center;
  gap:12px;
  background:transparent !important;
  padding:0 !important;
  box-shadow:none !important;
}

.search-large{
  min-height:48px;
  border-radius:14px !important;
}

.search-filter{
  min-height:48px;
  border-radius:14px !important;
}
/* ===== GALERIE PRODUIT FINAL ===== */

  display:grid !important;
  grid-template-columns:90px minmax(0, 1fr);
  gap:18px;
  align-items:start;
}

.product-detail-image > img#mainProductImage{
  grid-column:2;
  grid-row:1;
  width:100% !important;
  height:620px !important;
  object-fit:contain !important;
  border-radius:24px;
  background:#fff;
}

.product-thumbnails{
  grid-column:1;
  grid-row:1;
  display:flex !important;
  flex-direction:column !important;
  gap:12px;
}

.product-thumb-btn{
  width:82px !important;
  height:82px !important;
  padding:0 !important;
  border-radius:14px;
  border:1px solid #ddd2c8;
  background:#fff;
  overflow:hidden;
  cursor:pointer;
}

.product-thumb-btn img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block;
  border-radius:0 !important;
}

.product-thumb-btn.active{
  border:2px solid #8b5e3c;
}

@media (max-width:768px){
  .product-detail-image{
    display:flex !important;
    flex-direction:column;
  }

  .product-thumbnails{
    flex-direction:row !important;
  }

  .product-detail-image > img#mainProductImage{
    height:420px !important;
  }
}
/* ===== CONFIG DROPDOWN PREMIUM ===== */

.product-configurator {
  margin: 28px 0;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(139,94,60,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.05);
}

.product-configurator h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.config-group {
  margin-bottom: 22px;
}

.config-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2d221b;
}

.config-dropdown {
  position: relative;
}

.config-dropdown-btn {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(139,94,60,0.16);
  background: #fff;
  border-radius: 16px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #2d221b;
}

.config-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  padding: 8px;
  display: none;
  z-index: 50;
}

.config-dropdown.open .config-dropdown-menu {
  display: block;
}

.config-option {
  width: 100%;
  border: none;
  background: none;
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 14px;
}

.config-option:hover,
.config-option.active {
  background: rgba(139,94,60,0.08);
}

.config-option span {
  color: #8b5e3c;
  font-weight: 600;
}

.config-btn-disabled {
  opacity: .45;
  cursor: not-allowed;
}
.product-detail-image{
    display:flex;
}
.product-thumbnails{
    position:absolute;
    bottom:20px;
    left:20px;
    display:flex;
    gap:10px;
    z-index:5;
}

/* ===== IMAGE PRODUCT PAGE FINAL FIX ===== */

.product-detail-layout{
    align-items:start !important;
}

.product-detail-image{
    width:100% !important;
    height:auto !important;

    display:block !important;
    overflow:hidden !important;

    padding:0 !important;
    margin:0 !important;

    line-height:0 !important;
    background:transparent !important;
}

.product-detail-image img,
#mainProductImage{
    width:100% !important;
    height:auto !important;

    display:block !important;

    object-fit:unset !important;
    object-position:initial !important;

    margin:0 !important;
    padding:0 !important;
}
/* ===== FINAL PRODUCT IMAGE FIX ===== */

.product-detail-layout{
    align-items:start !important;
}

.product-detail-image,
.product-detail-image img,
#mainProductImage{
    transform:none !important;
    filter:none !important;
    max-height:none !important;
    min-height:unset !important;
}
/* ===== CARTES PIEDS CONFIGURATEUR ===== */

.leg-cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}

.leg-card{
  background:#fff;
  border:2px solid rgba(139,94,60,0.14);
  border-radius:18px;
  padding:12px;
  cursor:pointer;
  transition:all .25s ease;
  text-align:center;
}

.leg-card:hover{
  transform:translateY(-3px);
  border-color:rgba(139,94,60,0.45);
  box-shadow:0 14px 30px rgba(0,0,0,0.08);
}

.leg-card.active{
  border-color:#8b5e3c;
  box-shadow:0 0 0 3px rgba(139,94,60,0.12);
}

.leg-card img{
  width:100%;
  height:120px;
  object-fit:contain;
  margin-bottom:8px;
}

.leg-name{
  display:block;
  font-size:14px;
  font-weight:700;
  color:#2c241e;
}

.leg-price{
  display:block;
  margin-top:3px;
  font-size:13px;
  color:#8b5e3c;
  font-weight:600;
}

@media (max-width:650px){
  .leg-cards{
    grid-template-columns:1fr;
  }

  .leg-card img{
    height:150px;
  }
}
.product-detail-image{
  height:520px !important;
  align-items:flex-start !important;
}

.product-detail-image img,
#mainProductImage{
  height:100% !important;
  object-fit:cover !important;
  object-position:center top !important;
}
/* CORRECTION IMAGE PAGE PRODUIT */
.product-detail-image{
  width:100%;
  height:260px !important;
  overflow:hidden !important;
  background:#fff;
  border-radius:24px;
}

.product-detail-image img,
#mainProductImage{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center top !important;
  display:block !important;
}
.top-description-box{
  margin-top:18px;
  background:#fff;
  border-radius:22px;
  padding:20px 24px;
  box-shadow:0 10px 28px rgba(0,0,0,0.04);
}

.top-description-box h3{
  font-family:'Playfair Display', serif;
  font-size:1.35rem;
  color:#5c3a21;
  margin-bottom:8px;
}

.top-description-box p{
  font-size:14.5px;
  line-height:1.75;
  color:#444;
  margin:0;
}
/* DESCRIPTION SOUS IMAGE */
.top-description-box{
  margin-top:18px;
  background:#fff;
  border:1px solid rgba(0,0,0,0.06);
  border-radius:20px;
  padding:22px;
  box-shadow:0 8px 25px rgba(0,0,0,0.04);
}

.top-description-box h3{
  font-family:'Playfair Display', serif;
  font-size:1.3rem;
  color:#5c3a21;
  margin-bottom:10px;
}

.top-description-box p{
  margin:0;
  color:#555;
  line-height:1.8;
  font-size:14px;
}
.top-description-box{
  margin-top:20px;
  background:#fff;
  border-radius:20px;
  padding:22px;
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 8px 25px rgba(0,0,0,0.04);
}

.top-description-box h3{
  font-family:'Playfair Display', serif;
  margin-bottom:10px;
  color:#5c3a21;
}

.top-description-box p{
  margin:0;
  color:#555;
  line-height:1.7;
}
/* CORRECTION IMAGE PRODUIT + MINIATURES */
.product-detail-image{
  position:relative !important;
  display:block !important;
  background:#fff !important;
  overflow:hidden !important;
}

#mainProductImage{
  width:100% !important;
  height:auto !important;
  max-height:520px !important;
  object-fit:contain !important;
  display:block !important;
}

.product-thumbnails{
  position:absolute !important;
  top:18px !important;
  left:18px !important;
  z-index:5 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
}

.product-thumb-btn{
  width:86px !important;
  height:86px !important;
  border-radius:14px !important;
  overflow:hidden !important;
  background:#fff !important;
}

.product-thumb-btn img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
/* IMAGE NORMALE POUR TOUS LES PRODUITS */
.product-detail-image,
.product-detail-image img,
#mainProductImage{
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  overflow:visible !important;
}

/* EXCEPTION UNIQUEMENT PRODUIT CONFIGURABLE */
.is-configurable-product .product-detail-image{
  height:260px !important;
  max-height:260px !important;
  overflow:hidden !important;
}

.is-configurable-product #mainProductImage{
  height:100% !important;
  object-fit:cover !important;
}
.product-left{
  display:flex;
  flex-direction:column;
  gap:22px;
}
/* ===== CONFIGURATEUR TABLE PREMIUM ===== */

.product-left{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.top-description-box{
  background:#fff;
  border-radius:24px;
  padding:20px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

.selected-top-image{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:18px;
  margin-bottom:15px;
}

.top-description-box h3{
  font-size:22px;
  margin-bottom:10px;
  color:#5c3a21;
}

.top-description-box p{
  color:#555;
  line-height:1.8;
}

.is-configurable-product .product-detail-image{
  background:#fff;
  padding:20px;
  border-radius:24px;
}

.is-configurable-product #mainProductImage{
  width:100%;
  height:auto !important;
  max-height:650px;
  object-fit:contain !important;
}
/* FIX IMAGE TABLE CONFIGURABLE */
.is-configurable-product .product-detail-image{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  padding:0 !important;
  background:#fff;
  display:block !important;
  overflow:visible !important;
}

.is-configurable-product .product-detail-image img,
.is-configurable-product #mainProductImage{
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center !important;
  display:block !important;
  border-radius:24px;
}
/* Miniatures galerie produit */
.product-thumbnails{
    position:absolute;
    left:20px;
    top:20px;

    display:flex;
    flex-direction:column;
    gap:12px;

    max-height:320px;
    overflow-y:auto;

    padding-right:6px;
}

.product-thumbnails::-webkit-scrollbar{
    width:4px;
}

.product-thumbnails::-webkit-scrollbar-thumb{
    background:#8b5e3c;
    border-radius:20px;
}

.product-thumb-btn{
  width:80px;
  height:80px;
  border:none;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  cursor:pointer;
}

.product-thumb-btn img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center !important;
  display:block;
}
/* Décaler les images défilantes à gauche */
.product-detail-image{
  position:relative;
  overflow:visible !important;
}

.product-thumbnails{
  position:absolute;
  left:-95px;
  top:0;
  z-index:5;
}
/* Zoom image produit */
.image-zoom-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  z-index:99999;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:30px;
  cursor:zoom-out;
}

.image-zoom-overlay img{
  max-width:95%;
  max-height:95%;
  object-fit:contain;
  border-radius:12px;
}
/* Fiche produit simple premium */
.product-detail-info{
  background:#fff;
  padding:38px;
  border-radius:28px;
  box-shadow:0 18px 45px rgba(0,0,0,0.06);
  border:1px solid rgba(139,94,60,0.08);
}

.product-detail-info h1{
  font-size:2.6rem;
  line-height:1.05;
}

.product-detail-price{
  font-size:1.8rem;
  font-weight:700;
  margin-bottom:24px;
}

.product-benefits{
  background:#f8f4ef;
  border-radius:18px;
  padding:18px 20px;
  margin:22px 0;
}

.product-benefits li{
  font-size:15px;
  margin-bottom:10px;
  color:#3a3028;
}

.product-btn{
  width:100%;
  max-width:320px;
  justify-content:center;
  padding:16px 28px;
  font-size:16px;
  margin:20px 0;
}
/* ===== FICHE PRODUIT SIMPLE PREMIUM ===== */

.product-detail-layout{
    display:grid;
    grid-template-columns:1.35fr 0.95fr;
    gap:60px;
    align-items:start;
}

.product-detail-image{
    background:#fff;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,0.08);
}

.product-detail-image img{
    width:100%;
    display:block;
    object-fit:cover;
}

.product-detail-info{
    background:#fff;
    padding:40px;
    border-radius:28px;
    box-shadow:0 20px 50px rgba(0,0,0,0.08);
    border:1px solid rgba(139,94,60,0.08);
}

.product-detail-info h1{
    font-size:3rem;
    line-height:1.05;
    margin-bottom:20px;
}

.product-detail-price{
    font-size:2rem;
    font-weight:700;
    color:#111;
    margin-bottom:25px;
}

.product-detail-description{
    margin-top:30px;
}

.product-detail-description p{
    font-size:15px;
    line-height:1.9;
    color:#555;
}

.add-to-cart{
    margin-top:25px;
    min-width:260px;
    padding:16px 30px;
    font-size:16px;
}
/* Réduction espace fiche produit simple */
.product-detail-info{
  gap:0 !important;
}

.product-detail-price-wrap{
  margin-bottom:8px !important;
}

.product-detail-price{
  margin-bottom:8px !important;
}

.product-detail-description{
  margin-top:12px !important;
}
/* Case premium pour l'image principale */
.product-left,
.product-detail-image{
  background:#fff;
  border-radius:32px;
  padding:18px;
  box-shadow:0 24px 60px rgba(0,0,0,0.08);
  border:1px solid rgba(139,94,60,0.08);
}

.product-detail-image{
  overflow:hidden;
}

.product-detail-image img,
#mainProductImage{
  border-radius:24px;
}
.selected-top-preview{
    margin-top:20px;
    padding:18px;
    background:#fff;
    border-radius:18px;
    border:1px solid #eee;
}

.selected-top-preview img{
    width:100%;
    border-radius:12px;
    margin-bottom:12px;
}
.selected-top-preview{
    margin-top:20px;
    padding:18px;
    background:#fff;
    border-radius:18px;
    border:1px solid #e5e5e5;
    box-shadow:0 8px 20px rgba(0,0,0,0.05);
}

.selected-top-preview img{
    width:100%;
    display:block;
    border-radius:12px;
    margin-bottom:12px;
}

.selected-top-preview h3{
    margin-bottom:8px;
    color:#5c3a21;
}

.selected-top-preview p{
    color:#666;
    line-height:1.6;
}
.product-configurator {
  margin: 28px 0;
  padding: 24px;
  border: 1px solid rgba(120, 85, 55, 0.16);
  border-radius: 26px;
  background: linear-gradient(145deg, #fffaf5, #ffffff);
  box-shadow: 0 18px 45px rgba(60, 35, 20, 0.08);
}

.product-configurator h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin-bottom: 22px;
  color: #3b2417;
}

.config-group {
  margin-bottom: 24px;
}

.config-label {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 12px;
  color: #2b211b;
}

.config-dropdown-btn {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(120, 85, 55, 0.22);
  background: #fff;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.config-dropdown-menu {
  margin-top: 10px;
  display: none;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(120, 85, 55, 0.18);
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.config-dropdown.open .config-dropdown-menu {
  display: block;
}

.config-option {
  width: 100%;
  padding: 14px 18px;
  border: none;
  background: #fff;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.config-option:hover,
.config-option.active {
  background: #f6eee7;
  color: #7a4a2a;
}

.leg-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.leg-card {
  border: 1px solid rgba(120, 85, 55, 0.18);
  border-radius: 22px;
  background: #fff;
  padding: 14px;
  cursor: pointer;
  transition: 0.25s ease;
  text-align: center;
}

.leg-card img {
  width: 100%;
  height: 105px;
  object-fit: contain;
  margin-bottom: 10px;
}

.leg-card.active,
.leg-card:hover {
  border-color: #8b5e3c;
  box-shadow: 0 14px 35px rgba(120, 85, 55, 0.16);
  transform: translateY(-2px);
}

.leg-name {
  display: block;
  font-weight: 600;
  color: #2b211b;
}

.leg-price {
  display: block;
  font-size: 13px;
  color: #8b5e3c;
  margin-top: 4px;
}

.selected-top-preview {
  margin-top: 24px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(0,0,0,0.07);
  display: flex;
  gap: 18px;
  align-items: center;
}

.selected-top-preview img {
  width: 110px;
  height: 85px;
  object-fit: cover;
  border-radius: 16px;
}

.selected-top-preview h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #3b2417;
}

.selected-top-preview p {
  margin: 0;
  color: #6f625b;
  line-height: 1.6;
}
/* =========================================
   CONFIGURATEUR PREMIUM
========================================= */

.configurator-card{
  background:#fff;
  border:1px solid #ece6e0;
  border-radius:24px;
  padding:25px;
  margin:25px 0;
}

.config-step{
  margin-bottom:25px;
}

.config-step-title{
  font-size:18px;
  font-weight:600;
  margin-bottom:15px;
}

.option-cards{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.option-card{
  width:120px;
  min-width:120px;
  background:#fff;
  border:1px solid #e6dfd8;
  border-radius:18px;
  padding:12px;
  cursor:pointer;
  text-align:center;
  transition:.25s;
}

.option-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.option-card.active{
  border:2px solid #8b5e3c;
}

.option-card img{
  width:70px;
  height:70px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  margin:0 auto 10px;
}

.option-card strong{
  display:block;
  font-size:14px;
  margin-bottom:5px;
}

.option-card small{
  color:#777;
}

/* Description plateau */

.selected-top-preview{
  display:flex;
  align-items:center;
  gap:15px;
  margin-top:20px;
  padding:15px;
  background:#fff;
  border:1px solid #ece6e0;
  border-radius:18px;
}

.selected-top-preview img{
  width:90px;
  height:90px;
  object-fit:cover;
  border-radius:12px;
}

.selected-top-preview h3{
  font-size:18px;
  margin-bottom:5px;
}

.selected-top-preview p{
  font-size:14px;
  color:#666;
  line-height:1.6;
}

/* Prix total */

.config-total{
  margin-top:25px;
  padding-top:20px;
  border-top:1px solid #ece6e0;
  font-size:22px;
  font-weight:700;
  color:#111;
}
.option-card{
  width:150px !important;
  min-width:150px !important;
  height:150px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
}

.option-card strong{
  font-size:14px !important;
  line-height:1.2 !important;
  text-align:center !important;
  max-width:120px !important;
}

.option-card small{
  font-size:13px !important;
  line-height:1 !important;
  text-align:center !important;
}

.option-card img{
  width:70px !important;
  height:70px !important;
  flex-shrink:0 !important;
}

.option-cards{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:16px !important;
  align-items:flex-start !important;
}

.premium-configurator{
  max-width:520px;
}
.option-cards{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  gap:14px !important;
  overflow-x:auto !important;
  align-items:stretch !important;
}

.option-card{
  flex:0 0 150px !important;
  width:150px !important;
  min-width:150px !important;
}

.option-cards-small{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
}
/* Agrandir l’image principale fiche produit */
.product-detail-image{
  min-height: 520px !important;
}

.product-detail-image img,
#mainProductImage{
  width: 100% !important;
  height: 520px !important;
  object-fit: cover !important;
}
/* Galerie produit propre : image principale + vignettes défilantes */
.product-detail-image{
  display:block !important;
  padding:18px !important;
  background:#fff !important;
  border-radius:28px !important;
}

#mainProductImage{
  width:100% !important;
  height:500px !important;
  object-fit:cover !important;
  border-radius:20px !important;
}

.product-thumbnails{
  display:flex !important;
  gap:12px !important;
  margin-top:14px !important;
  overflow-x:auto !important;
  padding-bottom:8px !important;
}

.product-thumb-btn{
  flex:0 0 90px !important;
  width:90px !important;
  height:70px !important;
  border:2px solid transparent !important;
  border-radius:14px !important;
  overflow:hidden !important;
  padding:0 !important;
  background:#fff !important;
  cursor:pointer !important;
}

.product-thumb-btn.active{
  border-color:#8b5e3c !important;
}

.product-thumb-btn img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}
.product-detail-image{
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.product-thumbnails{
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  width: 100% !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 4px 0 8px !important;
}

.product-thumb-btn{
  flex: 0 0 95px !important;
  width: 95px !important;
  height: 72px !important;
  border-radius: 14px !important;
}

.product-thumb-btn img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
/* ===== GALERIE PRODUIT VERTICALE ===== */

.product-detail-image{
    position:relative;
    padding-left:140px;
}

.product-thumbnails{
    position:absolute;
    left:20px;
    top:20px;

    display:flex;
    flex-direction:column;
    gap:12px;

    width:100px;
    max-height:500px;

    overflow-y:auto;
    overflow-x:hidden;

    padding-right:6px;
}

.product-thumbnails::-webkit-scrollbar{
    width:4px;
}

.product-thumbnails::-webkit-scrollbar-thumb{
    background:#8b5e3c;
    border-radius:20px;
}

.product-thumbnail{
    width:90px;
    height:90px;
    border-radius:14px;
    overflow:hidden;
    cursor:pointer;
    border:1px solid rgba(0,0,0,0.08);
    flex-shrink:0;
}

.product-thumbnail img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

#mainProductImage{
    width:100%;
    border-radius:24px;
}
/* Galerie produit : miniatures verticales défilantes */
.product-detail-image {
  position: relative !important;
  display: block !important;
  padding: 18px 18px 18px 135px !important;
  background: #fff !important;
  border-radius: 28px !important;
  overflow: hidden !important;
}

#mainProductImage {
  width: 100% !important;
  height: 500px !important;
  object-fit: cover !important;
  border-radius: 22px !important;
  display: block !important;
}

.product-thumbnails {
  position: absolute !important;
  left: 22px !important;
  top: 18px !important;
  width: 95px !important;
  max-height: 500px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding-right: 6px !important;
}

.product-thumb-btn {
  width: 88px !important;
  height: 72px !important;
  flex: 0 0 72px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  background: #fff !important;
  padding: 0 !important;
  cursor: pointer !important;
}

.product-thumb-btn.active {
  border-color: #8b5e3c !important;
}

.product-thumb-btn img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
/* GALERIE PREMIUM */

.product-thumbnails{
    position:absolute;
    left:20px;
    top:20px;

    display:flex;
    flex-direction:column;

    gap:12px;

    max-height:290px;
    overflow-y:auto;

    padding-right:6px;

    z-index:10;
}

.product-thumbnails::-webkit-scrollbar{
    width:4px;
}

.product-thumbnails::-webkit-scrollbar-thumb{
    background:#8b5e3c;
    border-radius:20px;
}

.product-thumb-btn{
    width:120px !important;
    height:85px !important;

    flex-shrink:0;

    border-radius:18px;
    overflow:hidden;
}

.product-thumb-btn img{
    width:100%;
    height:100%;
    object-fit:cover;
}
/* Galerie : 1 miniature visible, autres au clic */
.product-thumbnails{
  max-height: 95px !important;
  height: 95px !important;
  overflow: hidden !important;
  transition: max-height .3s ease, height .3s ease;
  cursor: pointer;
}

.product-thumbnails.open{
  max-height: 500px !important;
  height: 500px !important;
  overflow-y: auto !important;
}

.product-thumb-btn{
  height: 85px !important;
  min-height: 85px !important;
  flex: 0 0 85px !important;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  font-size: 30px;
  z-index: 10;
  opacity: 0;
  transition: .3s;
}

.product-detail-image:hover .gallery-arrow {
  opacity: 1;
}

.gallery-arrow.left {
  left: 15px;
}

.gallery-arrow.right {
  right: 15px;
}

.product-thumbnails {
  display: none !important;
}
/* ===== GALERIE PRODUIT ===== */

.product-thumbnails{
    display:none !important;
}

.product-detail-image{
    position:relative;
}

.gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.95);
    color:#333;
    font-size:32px;
    font-weight:700;
    cursor:pointer;
    z-index:100;
    opacity:0;
    transition:all .25s ease;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.product-detail-image:hover .gallery-arrow{
    opacity:1;
}

.gallery-arrow.left{
    left:15px;
}

.gallery-arrow.right{
    right:15px;
}

.gallery-arrow:hover{
    transform:translateY(-50%) scale(1.08);
}
.selected-top-preview{
    cursor: zoom-in;
    position: relative;
    z-index: 10;
}

.selected-top-preview img{
    cursor: zoom-in;
}

.image-zoom-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-zoom-overlay img{
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
    background: white;
}
.premium-gallery-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-gallery-overlay img{
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
}

.zoom-close{
  position: absolute;
  top: 28px;
  right: 34px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  font-size: 34px;
  cursor: pointer;
  z-index: 100000;
}

.zoom-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  font-size: 42px;
  cursor: pointer;
  z-index: 100000;
}

.zoom-prev{
  left: 32px;
}

.zoom-next{
  right: 32px;
}
.gallery-dots{
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:20;
}

.gallery-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.6);
}

.gallery-dot.active{
  background:#fff;
  transform:scale(1.35);
}
/* ================= CORRECTION MOBILE PAGE PRODUIT ================= */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .product-page,
  .product-detail,
  .product-container,
  .product-layout,
  .product-info,
  .product-gallery {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-layout,
  .product-detail {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .product-gallery {
    overflow: hidden;
  }

  .product-gallery img,
  .main-product-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .configurator,
  .table-configurator,
  .option-grid,
  .variant-grid {
    width: 100%;
    max-width: 100%;
  }

  .option-grid,
  .variant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .option-card,
  .variant-card {
    min-width: 0;
  }

  .product-info {
    padding: 20px;
  }

  .product-description {
    overflow-wrap: break-word;
  }

  .add-to-cart-btn,
  .product-add-cart {
    width: 100%;
    margin-bottom: 80px;
  }
}
/* Correction images produit mobile */
@media (max-width: 768px) {
  .product-card img,
  .product-image img,
  .product-gallery img,
  .main-product-image {
    width: 100%;
    height: auto;
    object-fit: contain !important;
  }

  .product-card,
  .product-image,
  .product-gallery {
    overflow: hidden;
  }

  .product-card img {
    max-height: 420px;
  }
}
@media (max-width: 768px) {
  .product-card img {
    height: 320px;
    object-fit: contain !important;
    background: #f7f4f1;
  }
}
/* ===== FIX MOBILE FICHE PRODUIT ===== */
@media (max-width: 768px) {
  body {
    padding-top: 150px !important;
    overflow-x: hidden !important;
  }

  .header-container {
    min-height: auto !important;
    padding: 10px 14px !important;
    gap: 10px !important;
  }

  .logo img {
    width: 42px !important;
    height: 42px !important;
  }

  .logo-title {
    font-size: 1.25rem !important;
  }

  .main-nav {
    display: none !important;
  }

  .main-nav.open {
    display: block !important;
  }

  .product-detail-layout {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 24px !important;
  }

  .product-left,
  .product-detail-info {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-detail-image {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 320px !important;
  }

  #mainProductImage {
    width: 100% !important;
    height: auto !important;
    max-height: 420px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .product-detail-info {
    padding: 0 18px 40px !important;
  }
}
/* ===== IMAGE PRODUIT MOBILE PREMIUM ===== */
@media (max-width: 768px) {
  .product-detail-image {
    width: 100% !important;
    height: 430px !important;
    min-height: 430px !important;
    border-radius: 28px !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  #mainProductImage {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .gallery-arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}
/* ===== FINITION PREMIUM MOBILE PRODUIT ===== */
@media (max-width: 768px) {
  .product-detail-info h1 {
    font-size: 2.7rem !important;
    line-height: 1.05 !important;
  }

  .product-detail-price {
    font-size: 2rem !important;
  }

  .product-btn,
  .add-to-cart {
    width: 100% !important;
    min-height: 56px !important;
    margin: 18px 0 30px !important;
    font-size: 1rem !important;
  }

  .product-detail-info {
    padding-bottom: 100px !important;
  }

  .header-container {
    padding: 8px 14px !important;
  }

  .logo img {
    width: 46px !important;
    height: 46px !important;
  }

  .logo-title {
    font-size: 1.45rem !important;
  }

  .nav-links a,
  .dropdown-toggle {
    padding: 8px 10px !important;
    font-size: 0.95rem !important;
  }
}
/* ===== MOBILE HEADER HORIZONTAL + IMAGE PRODUIT PREMIUM ===== */
@media (max-width: 768px) {
  body {
    padding-top: 125px !important;
  }

  .header-container {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
  }

  .logo {
    width: 100% !important;
    justify-content: center !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 14px !important;
  }

  .nav-links a,
  .dropdown-toggle {
    font-size: 0.85rem !important;
    padding: 4px 6px !important;
  }

  .cart-btn {
    width: 42px !important;
    height: 42px !important;
  }

  .product-detail-image {
    height: 520px !important;
    min-height: 520px !important;
    padding: 0 !important;
  }

  #mainProductImage {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}
/* ===== FICHE PRODUIT MOBILE STYLE PREMIUM TYPE BEST MOBILIER ===== */
@media (max-width: 768px) {
  .product-detail-image {
    width: 100% !important;
    height: 560px !important;
    min-height: 560px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  #mainProductImage {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #fff !important;
  }

  .gallery-arrow {
    background: transparent !important;
    box-shadow: none !important;
    color: #111 !important;
    font-size: 56px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .gallery-arrow.left {
    left: 12px !important;
  }

  .gallery-arrow.right {
    right: 12px !important;
  }

  .gallery-dots {
    bottom: 20px !important;
  }

  .gallery-dot {
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #111 !important;
    background: transparent !important;
  }

  .gallery-dot.active {
    background: #111 !important;
  }

  .product-detail-info {
    margin-top: 20px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }
}
/* ===== HEADER MOBILE IDENTIQUE HOME SUR PAGE PRODUIT ===== */
@media (max-width: 768px) {
  body {
    padding-top: 220px !important;
  }

  .header-container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    padding: 14px 12px !important;
  }

  .main-nav {
    display: none !important;
  }

  .main-nav.open {
    display: block !important;
  }

  .header-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 14px !important;
  }

  .search-toggle,
  .cart-btn,
  .menu-toggle {
    width: 54px !important;
    height: 54px !important;
  }
}
/* ===== FORCER HEADER MOBILE COMME HOME ===== */
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  .main-nav.open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    padding: 10px 20px 22px !important;
  }

  .header-actions {
    display: flex !important;
  }

  body {
    padding-top: 185px !important;
  }
}
/* ===== CACHE LE MENU TEXTE SUR MOBILE ===== */
@media (max-width: 768px) {
  .header .main-nav,
  .header .nav-links {
    display: none !important;
  }

  .header .main-nav.open,
  .header .main-nav.open .nav-links {
    display: flex !important;
  }

  .header-actions {
    display: flex !important;
    justify-content: center !important;
  }

  body {
    padding-top: 185px !important;
  }
}
/* ===== MENU MOBILE COMME PAGE ACCUEIL ===== */
@media (max-width: 768px) {
  .header .main-nav {
    display: none !important;
  }

  .header .main-nav.open {
    display: block !important;
  }

  .header .main-nav.open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .header .nav-links {
    display: flex !important;
  }

  .header-actions {
    display: flex !important;
  }

  .menu-toggle {
    display: inline-flex !important;
  }

  body {
    padding-top: 185px !important;
  }
}
/* ===== MENU MOBILE PAGE PRODUIT ===== */
@media (max-width: 768px) {
  .header .main-nav {
    display: none !important;
  }

  .header .main-nav.open {
    display: block !important;
  }

  .header .main-nav.open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .menu-toggle {
    display: inline-flex !important;
  }

  .header-actions {
    display: flex !important;
    justify-content: center !important;
  }
}
/* ===== CORRECTION OUVERTURE MENU MOBILE PRODUCT ===== */
@media (max-width: 768px) {
  .header .main-nav {
    display: none !important;
  }

  .header .main-nav.open {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    background: rgba(255, 250, 244, 0.98) !important;
    padding: 18px 20px !important;
    z-index: 9999 !important;
  }

  .header .main-nav.open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .header .main-nav.open .nav-links li,
  .header .main-nav.open .nav-links a {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
/* ===== FIX DEFINITIF MENU MOBILE PRODUCT ===== */
@media (max-width: 768px) {
  .header .main-nav {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .header .main-nav.open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(255, 250, 244, 0.98) !important;
    padding: 18px 20px !important;
    z-index: 9999 !important;
  }

  .header .main-nav.open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
}
/* ===== FIX VIDEO HERO MOBILE ===== */
.hero {
  position: relative !important;
  background: #111 !important;
}

.hero-video {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 0 !important;
  object-fit: cover !important;
}

.hero-overlay,
.hero::before {
  z-index: 1 !important;
  pointer-events: none !important;
}

.hero-content {
  z-index: 2 !important;
}
/* Icônes menu mobile - page chaises */
.mobile-icons {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .mobile-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
  }

  .mobile-icon-btn {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    border: 1px solid #eee5dc;
    background: #fffaf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #4b2e1f;
    text-decoration: none;
    position: relative;
  }

  .mobile-icon-btn .cart-count {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
  }
}
/* ===== CHAISES PREMIUM ===== */

.products-page-chaises .collection-head {
  text-align: center;
  margin-bottom: 25px;
}

.products-page-chaises .collection-kicker {
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #b69b84;
  font-size: 14px;
}

.products-page-chaises .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 58px;
  color: #7a4d2a;
  margin-top: 10px;
  margin-bottom: 15px;
}

.products-page-chaises .controls {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.products-page-chaises .product-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  transition: all .3s ease;
}

.products-page-chaises .product-card:hover {
  transform: translateY(-5px);
}

.products-page-chaises .product-card img {
  border-radius: 24px 24px 0 0;
}

.products-page-chaises .product-info h3 {
  font-size: 22px;
  font-weight: 500;
}

.products-page-chaises .product-price {
  color: #8b5e3c;
  font-size: 20px;
  font-weight: 600;
}
/* ===== TABLES PREMIUM ===== */

.products-page-tables .collection-head {
  text-align: center;
  margin-bottom: 25px;
}

.products-page-tables .collection-kicker {
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #b69b84;
  font-size: 14px;
}

.products-page-tables .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 58px;
  color: #7a4d2a;
  margin-top: 10px;
  margin-bottom: 15px;
}

.products-page-tables .controls {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.products-page-tables .product-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  transition: all .3s ease;
}

.products-page-tables .product-card:hover {
  transform: translateY(-5px);
}

.products-page-tables .product-card img {
  border-radius: 24px 24px 0 0;
}

.products-page-tables .product-info h3 {
  font-size: 22px;
  font-weight: 500;
}

.products-page-tables .product-price {
  color: #8b5e3c;
  font-size: 20px;
  font-weight: 600;
}
/* ===== FIX FINAL ICONES MOBILE TABLES / CHAISES ===== */

@media (max-width: 768px) {
  .products-page-tables ~ *,
  .products-page-chaises ~ * {
    position: relative;
  }

  .header .nav-links,
  .header .main-nav {
    display: none !important;
  }

  .mobile-icons {
    display: flex !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 16px !important;
    position: relative !important;
    z-index: 9999 !important;
  }

  .mobile-icon-btn {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
    border: 1px solid #eee5dc !important;
    background: #fffaf5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: #4b2e1f !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
  }

  .mobile-menu-toggle {
    cursor: pointer !important;
    pointer-events: auto !important;
  }
}
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .products-grid,
  .product-grid,
  .products-container {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .product-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 24px;
    box-sizing: border-box;
  }

  .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
.option-cards::-webkit-scrollbar {
  display: none;
}

.option-cards {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
/* Cartes dimensions premium */
#sizeOptions {
  display: flex;
  gap: 14px;
  overflow: visible;
}

#sizeOptions .size-card {
  width: 140px;
  min-height: 100px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e8dfd7;
  transition: all .25s ease;
  cursor: pointer;
}

#sizeOptions .size-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

#sizeOptions .size-card.active {
  border: 2px solid #8b5e3c;
  background: #faf6f2;
  box-shadow: 0 15px 35px rgba(139,94,60,.15);
}

#sizeOptions .size-card strong {
  font-size: 1.15rem;
  display: block;
}

#sizeOptions .size-card small {
  color: #8b5e3c;
  font-weight: 600;
}

/* Badge sélection */
#sizeOptions .size-card.active::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #8b5e3c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.size-card.config-btn-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  filter: grayscale(1);
  pointer-events: none;
}
/* Tapis uniquement */
.product-detail-image.tapis-image{
  height:700px;
}

.product-detail-image.tapis-image img,
.product-detail-image.tapis-image #mainProductImage{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
/* Fiche produit tapis uniquement */
.product-detail-image.tapis-image{
  height:700px;
  padding:0;
}

.product-detail-image.tapis-image img,
.product-detail-image.tapis-image #mainProductImage{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* Bloc fiche produit plus premium */
.product-detail-layout{
  grid-template-columns:1.25fr 0.85fr;
  gap:60px;
}

.product-detail-info{
  max-width:520px;
}
/* ===== FICHE PRODUIT PREMIUM TAPIS ===== */

.product-detail-layout{
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.product-left{
  background: #fff;
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.05);
}

.product-detail-image{
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
}

.product-detail-image img,
#mainProductImage{
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

.product-detail-info{
  background: #fff;
  border-radius: 26px;
  padding: 46px 44px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.05);
}

.product-detail-info h1{
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 0.95;
}

.product-detail-description{
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 24px;
}
/* ===== Galerie miniatures produit ===== */

.product-thumbnails{
  display:flex;
  gap:12px;
  margin-top:16px;
  justify-content:center;
  flex-wrap:wrap;
}

.product-thumb-btn{
  width:90px;
  height:90px;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  cursor:pointer;
  padding:0;
  transition:.2s ease;
}

.product-thumb-btn:hover{
  border-color:#8b5e3c;
}

.product-thumb-btn.active{
  border:2px solid #8b5e3c;
}

.product-thumb-btn img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
/* ===== Miniatures visibles sous image produit ===== */

.product-left{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.product-thumbnails{
  display:flex !important;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-top:18px;
  width:100%;
  z-index:10;
  position:relative;
}

.product-thumb-btn{
  width:88px !important;
  height:88px !important;
  min-width:88px;
  border:1px solid rgba(0,0,0,0.12);
  border-radius:14px;
  background:#fff;
  padding:4px;
  cursor:pointer;
  overflow:hidden;
  display:block !important;
}
/* Galerie produit propre */
.product-left{
  display:block !important;
}

.product-detail-image{
  height:auto !important;
  max-height:none !important;
  padding:0 !important;
}

.product-detail-image img,
#mainProductImage{
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  display:block !important;
}

.product-thumbnails{
  display:flex !important;
  flex-direction:row !important;
  justify-content:center !important;
  align-items:center !important;
  gap:14px !important;
  margin:18px auto 0 !important;
  padding:0 !important;
  width:100% !important;
  position:static !important;
}

.product-thumb-btn{
  width:88px !important;
  height:88px !important;
  min-width:88px !important;
  position:static !important;
  border-radius:14px !important;
  overflow:hidden !important;
  border:1px solid rgba(0,0,0,0.12) !important;
  background:#fff !important;
  padding:4px !important;
}

.product-thumb-btn.active{
  border:2px solid #8b5e3c !important;
}

.product-thumb-btn img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:10px !important;
}
/* Stabiliser la grande image produit */
.product-detail-image{
  height:640px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}

.product-detail-image img,
#mainProductImage{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
}
.product-icons-benefits{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
  margin-top:34px;
  text-align:center;
}

.product-icons-benefits div{
  color:#7a4f30;
}

.product-icons-benefits span{
  display:block;
  font-size:34px;
  line-height:1;
  margin-bottom:10px;
}

.product-icons-benefits p{
  font-size:13px;
  line-height:1.35;
  color:#333;
}
/* Réduction espace fiche produit */
.product-detail-price-wrap{
  margin-bottom:20px !important;
}

.product-btn,
#addToCartBtn{
  margin-bottom:26px !important;
}

.product-detail-description{
  margin-top:8px !important;
  padding-top:22px !important;
}

.product-detail-info{
  gap:0 !important;
}
/* Réduire l'espace entre prix et bouton */
.product-detail-price-wrap{
  margin-bottom:12px !important;
}

.product-detail-price{
  margin-bottom:0 !important;
}

#addToCartBtn,
.product-btn{
  margin-top:10px !important;
}
/* ===== Configurateur plus compact ===== */

.premium-configurator{
  margin-top:12px !important;
}

.config-step{
  margin-top:18px !important;
  margin-bottom:18px !important;
}

.config-step-title{
  font-size:1.15rem !important;
  margin-bottom:14px !important;
}

.option-cards{
  gap:14px !important;
}

.option-card{
  min-height:130px !important;
  padding:14px 16px !important;
  border-radius:18px !important;
}

.option-card strong{
  font-size:0.95rem !important;
}

.option-card small{
  font-size:0.85rem !important;
  margin-top:4px !important;
}

.option-img-wrap{
  height:58px !important;
  margin-bottom:8px !important;
}

.option-img-wrap img{
  max-height:58px !important;
  object-fit:contain !important;
}

.option-cards-small .option-card{
  width:150px !important;
  min-height:120px !important;
}

.size-card{
  height:120px !important;
  min-height:120px !important;


.options-grid,
.top-options-grid,
.leg-options-grid {
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.option-card h4,
.dimension-card h4,
.top-option-card h4,
.leg-option-card h4 {
    font-size: 14px !important;
}

.option-card .price,
.dimension-card .price,
.top-option-card .price,
.leg-option-card .price {
    font-size: 13px !important;
}
/* Configurateur plus compact */

#topOptions {
    gap: 10px !important;
}

#topOptions .option-card {
    width: 140px !important;
    min-width: 140px !important;
    padding: 12px !important;
}

#topOptions .option-img-wrap {
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 8px !important;
}

#topOptions .option-img-wrap img {
    max-width: 70px !important;
    max-height: 70px !important;
}

#topOptions strong {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

#topOptions small {
    font-size: 13px !important;
}

.top-mini-description,
.selected-top-preview {
    margin-top: 15px !important;
    padding: 15px !important;
}
/* Voir toutes les finitions plateau */
#topOptions{
  display:grid !important;
  grid-template-columns:repeat(3, 1fr) !important;
  gap:12px !important;
  overflow:visible !important;
}

#topOptions .option-card{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  padding:12px !important;
}

#topOptions .option-img-wrap{
  height:55px !important;
}

#topOptions .option-img-wrap img{
  max-width:70px !important;
  max-height:55px !important;
  object-fit:contain !important;
}

#topOptions strong{
  font-size:14px !important;
  line-height:1.15 !important;
}

#topOptions small{
  font-size:12px !important;
}
/* Afficher les 3 finitions plateau */
#topOptions{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:10px !important;
  width:100% !important;
  overflow:visible !important;
}

#topOptions .option-card{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  padding:10px 8px !important;
}

#topOptions .option-img-wrap{
  height:48px !important;
  margin-bottom:8px !important;
}

#topOptions .option-img-wrap img{
  max-width:60px !important;
  max-height:48px !important;
  object-fit:contain !important;
}

#topOptions strong{
  font-size:13px !important;
  line-height:1.15 !important;
}

#topOptions small{
  font-size:12px !important;
}
/* FORCE les 3 finitions sur une ligne */

.premium-configurator,
.product-configurator{
  overflow:visible !important;
}

#topOptions.option-cards{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  gap:8px !important;
  width:100% !important;
  max-width:100% !important;
  overflow:visible !important;
}

#topOptions .option-card{
  flex:1 1 0 !important;
  width:0 !important;
  min-width:0 !important;
  max-width:none !important;
  height:150px !important;
  min-height:150px !important;
  padding:10px 6px !important;
}

#topOptions .option-img-wrap{
  height:44px !important;
  margin-bottom:8px !important;
}

#topOptions .option-img-wrap img{
  max-width:56px !important;
  max-height:44px !important;
  object-fit:contain !important;
}

#topOptions .option-card strong{
  font-size:12.5px !important;
  line-height:1.15 !important;
  word-break:normal !important;
}

#topOptions .option-card small{
  font-size:11.5px !important;
}
#topOptions{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:10px !important;
    overflow:visible !important;
}

#topOptions .option-card{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    padding:12px 8px !important;
}

#topOptions .option-img-wrap img{
    width:70px !important;
    height:70px !important;
    object-fit:cover;
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .main-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    z-index: 3000;
  }

  .main-nav.active .nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .main-nav.active .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    padding: 10px 0 0;
  }
}
@media (max-width: 768px) {
  body {
    padding-top: 120px !important;
    overflow-x: hidden !important;
  }

  .products {
    padding-top: 45px !important;
  }

  .collection-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 25px !important;
    padding: 0 18px !important;
  }

  .collection-kicker {
    font-size: 13px !important;
    letter-spacing: 8px !important;
    margin-bottom: 10px !important;
  }

  .section-title {
    font-size: 52px !important;
    line-height: 1 !important;
    word-break: normal !important;
  }

  .controls-minimal {
    width: 100% !important;
    margin: 0 !important;
  }

  .control-inline {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .control-inline select {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
    padding: 0 18px !important;
  }
}
html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

@media (max-width: 768px) {
  .container,
  .products,
  .product-grid,
  .collection-head,
  .controls,
  .controls-minimal,
  .chairs-filters {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .product-card-wrapper,
  .product-card,
  .product-card img {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .section-title {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }
}
@media (max-width: 768px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .products,
  .products .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .collection-head,
  .controls,
  .chairs-filters,
  .product-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .product-card-wrapper,
  .product-card,
  .product-card img {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
@media (max-width: 920px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .header-container {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .logo {
    min-width: 0;
  }

  .logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .logo-title {
    font-size: 1.25rem;
    white-space: nowrap;
  }

  .logo-subtitle {
    display: none;
  }

  .header-actions {
    margin-left: auto;
    flex-shrink: 0;
  }

  .main-nav {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ===== OFFRES DE LANCEMENT ===== */

.launch-packs{
  padding:80px 0;
  background:#f8f5f2;
}

.packs-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.pack-card{
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition:.3s;
}

.pack-card:hover{
  transform:translateY(-5px);
}
.pack-card img{
  width:100%;
  height:80px;
  object-fit:contain;
  object-position:center;
  background:#f7f4f1;
  display:block;
  padding:8px;
}


.pack-content{
  padding:25px;
  text-align:center;
}

.pack-badge{
  display:inline-block;
  padding:8px 15px;
  background:#8b5e3c;
  color:#fff;
  border-radius:30px;
  font-size:12px;
  font-weight:600;
  margin-bottom:15px;
}

.old-price{
  text-decoration:line-through;
  color:#999;
  font-size:18px;
  margin-top:10px;
}

.promo-price{
  color:#8b5e3c;
  font-size:42px;
  font-weight:700;
  margin-top:5px;
}

.featured-pack{
  border:3px solid #8b5e3c;
}
.launch-packs {
  padding: 70px 0;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.pack-card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}
.pack-img{
  height:80px !important;
  max-height:80px !important;
  width:100% !important;
  object-fit:contain !important;
  display:block !important;
  padding:6px !important;
  background:#f7f4f1 !important;
}

@media (max-width: 768px) {
  .launch-packs .packs-grid {
    grid-template-columns: 1fr;
  }

  .launch-packs .pack-img {
    height: 260px !important;
    max-height: 260px !important;
    width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 0 !important;
  }

  .launch-packs .pack-card {
    overflow: hidden;
  }

  .promo-price {
    font-size: 32px;
  }
}
@media (max-width: 768px) {
  .launch-packs .container {
    width: 100%;
    padding: 0 16px;
    overflow: hidden;
  }

  .launch-packs .packs-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .launch-packs .pack-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .launch-packs .pack-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
  }
}
/* ===== CONTACT FLOTTANT PREMIUM ===== */

.floating-contact{
  position:fixed;
  right:20px;
  bottom:110px;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:9999;
}

.float-btn{
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#fff;
  font-size:24px;
  font-weight:600;

  box-shadow:0 10px 25px rgba(0,0,0,.18);
  border:2px solid rgba(255,255,255,.9);

  transition:.3s;
}

.float-btn:hover{
  transform:translateY(-3px);
}

.float-phone{
  background:#1f2937;
}

.float-map{
  background:#8b5e3c;
}

.float-whatsapp{
  background:#25D366;
}

@media(max-width:768px){

  .floating-contact{
    right:12px;
    bottom:90px;
  }

  .float-btn{
    width:50px;
    height:50px;
    font-size:20px;
  }

}
.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    gap:20px;
    flex-wrap:wrap;
}

.section-link{
    color:#8b5e3c;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.section-link:hover{
    color:#5c3a21;
    transform:translateX(4px);
}
.home-collections{
  padding:80px 0;
  background:#f7f4f1;
}

.collections-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.collection-card{
  position:relative;
  display:block;
  min-height:260px;
  border-radius:24px;
  overflow:hidden;
  text-decoration:none;
  color:#fff;
  background:#ddd;
  box-shadow:0 18px 45px rgba(0,0,0,.10);
}

.collection-card img{
  width:100%;
  height:100%;
  min-height:260px;
  object-fit:cover;
  display:block;
  transition:.5s;
}

.collection-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,.05));
}

.collection-card div{
  position:absolute;
  left:22px;
  right:22px;
  bottom:22px;
  z-index:2;
}

.collection-card span{
  display:block;
  font-family:"Playfair Display",serif;
  font-size:26px;
  font-weight:700;
}

.collection-card small{
  display:block;
  margin-top:8px;
  font-size:14px;
  opacity:.9;
}

.collection-card:hover img{
  transform:scale(1.06);
}

.collection-card-featured{
  grid-column:span 2;
}

@media(max-width:900px){
  .collections-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .collection-card-featured{
    grid-column:span 2;
  }
}

@media(max-width:560px){
  .home-collections{
    padding:55px 0;
  }

  .collections-grid{
    grid-template-columns:1fr;
  }

  .collection-card,
  .collection-card img{
    min-height:220px;
  }

  .collection-card-featured{
    grid-column:span 1;
  }
}

.address-link{
    color:#8b5e3c;
    font-weight:600;
    text-decoration:none;
}

.address-link:hover{
    text-decoration:underline;
}

.btn-map{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin:18px 0 24px;
    padding:12px 18px;
    background:#8b5e3c;
    color:#fff;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.btn-map:hover{
    background:#6f492d;
    transform:translateY(-2px);
}
.showroom-block{
    margin:30px 0;
}

.showroom-block h3{
    font-size:24px;
    font-weight:600;
    margin-bottom:18px;
}

.showroom-block p{
    margin:6px 0;
    color:#666;
    font-size:18px;
    line-height:1.5;
}

.showroom-map-link{
    display:inline-block;
    margin-top:18px;
    color:#8b5e3c;
    font-weight:600;
    text-decoration:none;
}

.showroom-map-link:hover{
    text-decoration:underline;
}

.whatsapp-btn {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  font-size: 22px;
}
.products-section {
  padding: 80px 0;
  background: #fff;
}

.products-section h2 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 38px;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.no-results {
  text-align: center;
  padding: 30px;
  color: #777;
}
@media (max-width: 920px) {
  .search-row {
    display: none;
  }

  .search-row.open {
    display: block;
    position: relative;
    z-index: 50;
  }
}
/* Correction du glissement horizontal sur mobile */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container,
  .header-container,
  .products,
  .products-page-tables,
  .collection-head,
  .controls,
  .product-grid,
  .product-card-wrapper,
  .product-card,
  .product-card-link {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .header-actions {
    flex-shrink: 0;
  }
}
/* ===== CORRECTION FINALE PAGES COLLECTIONS MOBILE ===== */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
}

@media (max-width: 768px) {

  .products-page-tables,
  .products-page-chaises,
  .products-page-tables-salon,
  main.products {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  .products-page-tables > .container,
  .products-page-chaises > .container,
  .products-page-tables-salon > .container,
  main.products > .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .collection-head,
  .controls,
  .controls-minimal,
  .chairs-filters {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }

  .collection-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }

  .section-title {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  .controls-minimal .control-inline {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .controls-minimal select,
  .controls select,
  .controls input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .product-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    transform: none !important;
  }

  .product-card-wrapper,
  .product-card-link,
  .product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none;
  }

  .product-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: 320px !important;
    object-fit: contain !important;
  }

  .cart-sidebar {
    right: 0 !important;
    transform: translateX(100%);
  }

  .cart-sidebar.active {
    transform: translateX(0);
  }
}