body{
  margin:0;
  background:#0d0d0d;
  font-family: Arial, sans-serif;
  color:#fff;
}

.header{
  background:#ff0000;
  padding:14px;
  text-align:center;
  font-size:18px;
  font-weight:bold;
}

.shop-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap:12px;
  padding:12px;
}

.shop-item{
  background:#111;
  border-radius:12px;
  padding:8px;
  text-align:center;
  cursor:pointer;
  position:relative;
}

.shop-item img{
  width:100%;
  height:120px;
  object-fit:cover;
  border-radius:10px;
}

.shop-item h4{
  font-size:14px;
  margin:6px 0 4px;
}

.price-usd{
  color:#ff4d4d;
  font-weight:bold;
  font-size:15px;
}

.price-zar{
  font-size:13px;
  opacity:0.85;
}

.zoom-badge{
  position:absolute;
  top:6px;
  right:6px;
  background:#e50914;
  font-size:10px;
  padding:3px 6px;
  border-radius:5px;
}

/* MODAL */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.modal-content{
  background:#111;
  padding:16px;
  border-radius:14px;
  max-width:320px;
  text-align:center;
  position:relative;
}

.modal-content img{
  width:100%;
  border-radius:12px;
}

.quantity-box{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin-top:8px;
}

.quantity-box button{
  width:36px;
  height:36px;
  border:none;
  border-radius:50%;
  background:#25d366; /* vert WhatsApp */
  color:#fff;
  font-size:16px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.quantity-box button i{
  pointer-events:none; /* clic sur le bouton, pas l’icône */
}

.quantity-box span{
  min-width:30px;
  text-align:center;
  display:inline-block;
}

/* BOUTON WhatsApp rouge */
.buy-btn{
  display:block;
  margin-top:8px;
  padding:10px;
  background:#e50914; /* Rouge */
  color:#fff;
  text-decoration:none;
  font-weight:bold;
  border-radius:25px;
  font-size:14px;
}

/* BOUTON FERMER X */
.close-btn{
  position:absolute;
  top:8px;
  right:8px;
  background:#e50914; /* Rouge */
  border:none;
  color:#fff;
  font-size:18px;
  width:32px;
  height:32px;
  border-radius:50%;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.country-choice {
  margin: 15px 0;
  text-align: center;
}

.country-choice label {
  cursor: pointer;
  font-size: 14px;
}

.search-bar{
  display:flex;
  align-items:center;
  background:#1a1a1a;              /* plus clair que le fond */
  margin:12px;
  padding:12px 14px;
  border-radius:30px;
  border:1px solid #333;
  box-shadow:0 0 0 1px rgba(255,255,255,0.05),
             0 4px 12px rgba(0,0,0,0.6);
  transition:0.3s;
}

.search-bar:focus-within{
  border-color:#e50914;            /* rouge Netflix style */
  box-shadow:0 0 0 1px rgba(229,9,20,0.4),
             0 4px 16px rgba(229,9,20,0.2);
}

.search-bar i{
  color:#aaa;
  font-size:15px;
}

#searchInput{
  flex:1;
  background:transparent;
  border:none;
  outline:none;
  color:#fff;
  font-size:15px;
  margin:0 10px;
}

#searchInput::placeholder{
  color:#777;
}

#clearSearch{
  cursor:pointer;
  color:#888;
  transition:0.2s;
}

#clearSearch:hover{
  color:#fff;
  transform:scale(1.1);
}

#scrollTopBtn{
  position:fixed;
  bottom:20px;
  right:20px;
  width:45px;
  height:45px;
  border:none;
  border-radius:50%;
  background:#e50914;
  color:white;
  font-size:18px;
  cursor:pointer;
  display:none;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 12px rgba(0,0,0,0.5);
  z-index:9999;
  transition:0.3s;
}

#scrollTopBtn:hover{
  transform:scale(1.1);
}