/* =========================
   HEADER / LOGO / TITRE
========================= */

.topbar{
  position:sticky;
  top:0;
  z-index:999;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 25px;
  background:rgba(5,5,5,.92);
  backdrop-filter:blur(15px);
  border-bottom:1px solid var(--border);
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.logo-zone{
  display:flex;
  align-items:center;
  gap:15px;
}

.logo{
  width:65px;
  height:65px;
  object-fit:contain;
  border-radius:50%;
  background:rgba(255,255,255,.04);
  padding:6px;
  border:1px solid var(--border);
}

.logo-zone h1{
  margin:0;
  font-size:28px;
  font-weight:900;
  color:var(--gold2);
  line-height:1;
}

.logo-zone p{
  margin-top:6px;
  color:var(--muted);
  font-size:14px;
  font-weight:600;
}

.back-btn{
  padding:13px 22px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#111;
  font-weight:900;
  box-shadow:0 10px 25px rgba(200,155,60,.25);
}

/* =========================
   HERO BOUTIQUE
========================= */

.page-hero{
  max-width:1300px;
  margin:30px auto;
  padding:0 25px;
}

.shop-hero{
  background:linear-gradient(135deg,rgba(200,155,60,.14),rgba(200,155,60,.04));
  border:1px solid var(--border);
  border-radius:34px;
  padding:38px;
  box-shadow:var(--shadow);
}

.shop-hero h2{
  font-size:44px;
  margin:15px 0;
  color:var(--text);
}

.shop-hero p{
  color:var(--muted);
  max-width:850px;
  line-height:1.8;
}

/* =========================
   CATEGORIES
========================= */

.shop-category-grid{
  max-width:1300px;
  margin:25px auto;
  padding:0 25px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.shop-category-grid button{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:28px;
  min-height:165px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  cursor:pointer;
  color:var(--text);
  transition:.25s;
  box-shadow:var(--shadow);
}

.shop-category-grid button:hover{
  transform:translateY(-5px);
}

.shop-category-grid button.active{
  background:linear-gradient(135deg,rgba(200,155,60,.22),rgba(200,155,60,.06));
  border-color:var(--gold2);
}

.shop-category-grid img{
  width:68px;
  height:68px;
  object-fit:contain;
}

.shop-category-grid span{
  font-weight:900;
  text-align:center;
}

/* =========================
   FILTRES
========================= */

.filter-panel{
  max-width:1300px;
  margin:30px auto;
  padding:0 25px;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:15px;
}

.filter-panel input,
.filter-panel select,
.filter-panel button{
  width:100%;
  padding:15px;
  border-radius:18px;
  border:1px solid var(--border);
  background:var(--card);
  color:var(--text);
  outline:none;
}

.filter-panel button{
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#111;
  font-weight:900;
  cursor:pointer;
}

/* =========================
   TITRE SECTION
========================= */

.section-title{
  max-width:1300px;
  margin:25px auto;
  padding:0 25px;
}

.section-title h2{
  margin-bottom:8px;
  font-size:30px;
}

.section-title p{
  color:var(--muted);
}

/* =========================
   GRILLE PRODUITS
========================= */

.items-grid{
  max-width:1300px;
  margin:0 auto 60px;
  padding:0 25px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.product-card,
.item-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:.25s;
}

.product-card:hover,
.item-card:hover{
  transform:translateY(-6px);
}

.product-card img,
.item-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  background:var(--card2);
}

.product-body,
.item-body{
  padding:20px;
}

.product-body h3,
.item-body h3{
  font-size:22px;
  margin-bottom:10px;
  color:var(--text);
}

.product-description,
.item-description{
  color:var(--muted);
  line-height:1.7;
  margin-bottom:15px;
  min-height:72px;
}

/* =========================
   BADGES
========================= */

.category-tag{
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(200,155,60,.13);
  color:var(--gold2);
  font-size:12px;
  font-weight:900;
  margin-bottom:12px;
}

.promo-tag,
.promo-badge{
  display:inline-flex;
  margin-left:8px;
  padding:8px 14px;
  border-radius:999px;
  background:#fef3c7;
  color:#92400e;
  font-size:12px;
  font-weight:900;
}

.stock,
.stock-badge{
  display:inline-flex;
  margin-top:12px;
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

.stock.disponible,
.stock-badge.disponible{
  background:#ccfbf1;
  color:#0f766e;
}

.stock.rupture,
.stock-badge.rupture{
  background:#fee2e2;
  color:#991b1b;
}

/* =========================
   PRIX
========================= */

.prices,
.product-price{
  margin-top:14px;
}

.old-price{
  color:#ef4444;
  text-decoration:line-through;
  font-size:15px;
  margin-bottom:6px;
}

.price,
.current-price{
  color:var(--gold2);
  font-size:28px;
  font-weight:900;
}

/* =========================
   LIVRAISON
========================= */

.delivery,
.delivery-box{
  margin-top:14px;
  padding:12px;
  border-radius:16px;
  background:rgba(200,155,60,.10);
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

/* =========================
   ACTIONS
========================= */

.item-actions,
.product-actions{
  margin-top:18px;
  display:grid;
  gap:10px;
}

.item-actions a,
.product-actions a{
  padding:14px;
  border-radius:16px;
  text-align:center;
  font-weight:900;
  transition:.25s;
}

.item-actions a:hover,
.product-actions a:hover{
  transform:translateY(-2px);
}

.whatsapp-btn,
.order-btn{
  background:#22c55e;
  color:white;
}

.detail-btn,
.details-btn{
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#111;
}

/* =========================
   EMPTY
========================= */

.empty{
  grid-column:1/-1;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:28px;
  padding:40px;
  text-align:center;
  color:var(--muted);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){
  .items-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .shop-category-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .filter-panel{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:760px){
  .topbar{
    padding:12px 15px;
  }

  .logo{
    width:52px;
    height:52px;
  }

  .logo-zone h1{
    font-size:21px;
  }

  .logo-zone p{
    font-size:12px;
  }

  .back-btn{
    padding:10px 16px;
    font-size:13px;
  }

  .page-hero,
  .shop-category-grid,
  .filter-panel,
  .items-grid,
  .section-title{
    padding-left:18px;
    padding-right:18px;
  }

  .shop-hero{
    padding:25px;
  }

  .shop-hero h2{
    font-size:32px;
  }

  .shop-category-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .filter-panel{
    grid-template-columns:1fr;
  }

  .items-grid{
    grid-template-columns:1fr;
  }

  .product-card img,
  .item-card img{
    height:240px;
  }
}