
/* Tropik Shoes theme */
:root{
  --tropik-start: #06b3a9;
  --tropik-mid: #19d59b;
  --tropik-end: #f4d23a;
  --accent-dark: #0f5b4b;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
  margin: 0;
  padding: 0;
}

#topbar {
  background: linear-gradient(90deg, var(--tropik-start), var(--tropik-mid), var(--tropik-end));
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.navbar-brand { color: #fff !important; text-decoration: none; }

.brand-badge{
  width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,0.14);display:flex;align-items:center;justify-content:center;font-weight:700;
  box-shadow: inset 0 -4px 10px rgba(0,0,0,0.08);
}

/* Layout */
.main-wrapper { max-width: 1200px; margin: 0 auto; padding: 8px; }
.sidebar-card { background: rgba(255,255,255,0.95); border-radius:8px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.sidebar-card h6 { margin:0 0 6px 0; }

/* Hero */
.hero-image { height: 280px; object-fit:cover; border-radius:8px; }

/* Sections */
.quick-section { margin-bottom: 22px; padding: 6px 4px; }
.quick-section .card { border-radius: 8px; overflow: hidden; }
.quick-section .card img { height: 140px; object-fit: cover; }

/* Buttons */
.btn-success { background: linear-gradient(180deg,var(--tropik-mid), var(--tropik-end)); border-color: transparent; color: #fff; }
.btn-primary { background: var(--accent-dark); border-color: transparent; }
.btn { background: linear-gradient(180deg,var(--tropik-mid), var(--tropik-end)); border-color: transparent; color: #fff; }
/* Brand list */
#brand-list a { color: #0b4d3f; }
#brand-list .brand-item { padding: 4px 2px; }

/* Misc */
.no-items { margin: 10px 0; }


/* Grille produits */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.product-card {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Image wrapper pour uniformiser les vignettes */
.product-card img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* Effet hover */
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Container produit */
.product-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Galerie principale */
.gallery {
  flex: 1 1 400px;
  max-width: 480px;
  text-align: center;
}

/* Image principale */
.gallery .main-image {
  width: 100%;
  max-width: 350px;   /* limite la taille */
  max-height: 350px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 12px;
}

/* Miniatures */
.thumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.thumbs .thumb {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumbs .thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Partie info produit */
.product-detail .info {
  flex: 1 1 300px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-image { height: 180px; }
  aside.col-md-3 { order: 2; }
  main.col-md-9 { order: 1; }
}
