css  /* =====================
   BASE
===================== */

body{
  margin:0;
  font-family:"Poppins", sans-serif;
  background:linear-gradient(135deg,#f7f7f2,#eef5ea);
  color:#1f2a2e;
}

/* =====================
   HEADER
===================== */

header{
  text-align:center;
  padding:25px;
  background:linear-gradient(90deg,#1f3b2c,#2f4f4f);
  color:white;
}

.logo{
  width:140px;
  height:140px;
  object-fit:cover;
  border-radius:50%;
  border:3px solid #b6ffb0;
  box-shadow:0 0 25px rgba(182,255,176,0.4);
  margin-bottom:10px;
}

/* =====================
   NAV (premium propre)
===================== */

nav{
  display:flex;
  justify-content:center;
  gap:10px;
  padding:12px;
  flex-wrap:wrap;
}

nav button{
  padding:10px 18px;
  border:none;
  border-radius:30px;
  cursor:pointer;
  background:#2f4f4f;
  color:white;
  font-weight:600;
  box-shadow:0 6px 15px rgba(0,0,0,0.1);
  width:auto;
}

/* =====================
   PAGES
===================== */

.page{
  display:none;
  padding:20px;
}

.page.active{
  display:block;
}

/* =====================
   HOME CARD
===================== */

.card{
  background:white;
  padding:20px;
  border-radius:18px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  line-height:1.6;
}

/* =====================
   SHOP GRID (3 catégories centrées + grandes)
===================== */

.shop-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:20px;
}

/* cartes catégories grandes */
.shop-card{
  height:220px;
  border-radius:18px;
  overflow:hidden;
  position:relative;
  cursor:pointer;
  transition:0.3s;
  box-shadow:0 10px 20px rgba(0,0,0,0.08);
}

.shop-card:hover{
  transform:scale(1.03);
}

.shop-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(0.75);
}

.shop-card h2{
  position:absolute;
  bottom:12px;
  left:15px;
  color:white;
  font-size:20px;
}

/* =====================
   PRODUITS (5 par ligne)
===================== */

#products{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:12px;
  margin-top:15px;
}

/* tablette */
@media (max-width:1100px){
  #products{
    grid-template-columns:repeat(3, 1fr);
  }
}

/* mobile */
@media (max-width:700px){
  #products{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width:450px){
  #products{
    grid-template-columns:repeat(1, 1fr);
  }
}

/* cartes produits petites premium */
.product-card{
  background:white;
  border-radius:14px;
  padding:5px;
  text-align:center;
  font-size:13px;
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
}

.product-card img{
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius:12px;
}

/* titres produits */
.product-card h3{
  font-size:14px;
  margin:5px 0;
}

/* =====================
   PANIER
===================== */

.cart-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px;
  margin:10px 0;
  background:white;
  border-radius:12px;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.cart-item button{
  width:auto;
  background:#2f4f4f;
  color:white;
  padding:6px 10px;
  border:none;
  border-radius:8px;
  cursor:pointer;
}

/* =====================
   INPUTS
===================== */

input{
  width:100%;
  padding:12px;
  margin-top:10px;
  border:none;
  border-radius:10px;
  outline:none;
  background:#f5f5f0;
}

/* =====================
   BUTTONS
===================== */

button{
  margin-top:10px;
  padding:12px;
  width:100%;
  border:none;
  border-radius:25px;
  background:#2f4f4f;   /* kaki/bleu sombre */
  color:white;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}

button:hover{
  background:#3f6b5c; /* vert-kaki doux */
}

/* =====================
   ACOMPTE BOX
===================== */

.deposit-box{
  margin-top:15px;
  padding:15px;
  border-radius:12px;
  background:#f0f5ef;
}

/* =====================
   TITRES
===================== */

h1,h2,h3{
  text-align:center;
  font-weight:600;
}

/* =====================
   PREVIEW PANIER
===================== */

#cartPreview{
  position:fixed;
  right:10px;
  bottom:10px;
  background:white;
  color:#1f2a2e;
  padding:12px;
  border-radius:12px;
  width:220px;
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.back-text:hover{
  opacity:0.7;
}

/* catégories plus visibles */
.shop-card{
  height:320px;
  border-radius:22px;
}
.shop-grid{
  grid-template-columns:repeat(3, 1fr);
  gap:25px;
}

/* léger rendu premium */
body{
  background:linear-gradient(135deg,#ffffff,#ffe6db,#d7f5ff);
}
.back-text{
  position:relative;
  top:-10px;
}
.shop-card{
  height:100px !important;
  border-radius:26px !important;
}
.shop-card{
  width:100px !important;
  border-radius:26px !important;
}

.shop-card h2{
  font-size:28px !important;
}

.shop-grid{
  gap:30px !important;
}
.colors{
  display:flex;
  gap:6px;
  justify-content:center;
  margin-top:8px;
}

.color-circle{
  width:18px;
  height:18px;
  border-radius:50%;
  border:2px solid #ddd;
  cursor:pointer;
  transition:0.2s;
}

.color-circle:hover{
  transform:scale(1.2);
  border-color:#333;
}
.colors{
  display:flex;
  gap:6px;
  justify-content:center;
  margin:8px 0;
}

.color-circle{
  width:18px;
  height:18px;
  border-radius:50%;
  cursor:pointer;
  border:2px solid transparent;
  transition:0.2s;
}

.color-circle:hover{
  transform:scale(1.2);
  border-color:#000;
}