/* ════════════════════════════════════════════════════════════
   HOMEPAGE — AMAZON STYLE (amz-*)
════════════════════════════════════════════════════════════ */

/* ── Promo strip ── */
.amz-strip { background: #232f3e; color: #fff; font-size: 12px; padding: 7px 0; }
.amz-strip__inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.amz-strip__sep { color: rgba(255,255,255,.3); }

/* ── Section commons ── */
.amz-section { padding: 28px 0 36px; }
.amz-section__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.amz-section__title { font-size: 22px; font-weight: 800; color: #111; margin: 0; }
.amz-section__title--orange { color: #c45500; }
.amz-section__title--green  { color: #007600; }
.amz-section__all { margin-left: auto; font-size: 13px; color: #007185; text-decoration: none; white-space: nowrap; }
.amz-section__all:hover { text-decoration: underline; color: #c45500; }

/* ── CHOIX DU MOMENT ── */
.amz-featured { background: #fff; }
.amz-featured__grid { display: grid; grid-template-columns: 320px 1fr; gap: 12px; }

.amz-featured__big {
  position: relative; background: #f7f8f9; border-radius: 10px; overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: box-shadow .2s; border: 1px solid #e8e8e8;
}
.amz-featured__big:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.amz-featured__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: #cc0c39; color: #fff; font-size: 12px; font-weight: 800;
  padding: 3px 10px; border-radius: 3px;
}
.amz-featured__badge--sm { font-size: 10px; padding: 2px 7px; }
.amz-featured__big-img {
  display: flex; align-items: center; justify-content: center;
  background: #fff; padding: 20px;
  height: 280px;
}
.amz-featured__big-img img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  transition: transform .3s;
}
.amz-featured__big:hover .amz-featured__big-img img { transform: scale(1.04); }
.amz-featured__big-info { padding: 14px 16px 18px; border-top: 1px solid #eee; background: #fff; }
.amz-featured__big-title { font-size: 14px; font-weight: 700; color: #111; margin: 0 0 8px; line-height: 1.4; }
.amz-featured__stars { display: flex; align-items: center; gap: 2px; margin-bottom: 8px; }
.amz-featured__rcount { font-size: 12px; color: #007185; margin-left: 4px; }
.amz-featured__price { display: flex; align-items: baseline; gap: 8px; }
.amz-featured__price-now { font-size: 20px; font-weight: 800; color: #111; }
.amz-featured__price-now .woocommerce-Price-amount { font-size: 20px; font-weight: 800; color: #111; }
.amz-featured__price-was { font-size: 13px; color: #888; text-decoration: line-through; }
.amz-featured__price-was .woocommerce-Price-amount { font-size: 13px; color: #888; }

.amz-featured__small-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.amz-featured__small {
  position: relative; background: #f7f8f9; border-radius: 10px; overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  border: 1px solid #e8e8e8; transition: box-shadow .2s;
}
.amz-featured__small:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.amz-featured__small-img {
  display: flex; align-items: center; justify-content: center;
  background: #fff; padding: 12px;
  height: 140px;
}
.amz-featured__small-img img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  transition: transform .3s;
}
.amz-featured__small:hover .amz-featured__small-img img { transform: scale(1.05); }
.amz-featured__small-info { padding: 10px 12px 14px; border-top: 1px solid #eee; }
.amz-featured__small-title { font-size: 12px; font-weight: 600; color: #111; margin: 0 0 5px; line-height: 1.3; }
.amz-featured__stars--sm { margin-bottom: 5px; }
.amz-featured__small-price { font-size: 15px; font-weight: 800; color: #111; }
.amz-featured__small-price .woocommerce-Price-amount { font-size: 15px; font-weight: 800; color: #111; }

/* ── OFFRES DE LIQUIDATION ── */
.amz-deals { background: #fff; position: relative; }
.amz-deals__timer { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #555; }
.amz-deals__countdown { font-weight: 800; color: #cc0c39; font-size: 14px; letter-spacing: 1px; }
.amz-deals__countdown b { font-size: 15px; }
.amz-deals__stock-badge { font-size: 12px; font-weight: 700; background: #cc0c39; color: #fff; padding: 3px 10px; border-radius: 3px; }

.amz-deals__track {
  display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth;
  padding-bottom: 10px; scrollbar-width: none;
}
.amz-deals__track::-webkit-scrollbar { display: none; }

.amz-deals__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: #fff; border: 1px solid #ddd; border-radius: 50%;
  width: 40px; height: 40px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12); z-index: 5; color: #333; transition: background .2s;
}
.amz-deals__nav:hover { background: #f5f5f5; }
.amz-deals__nav--prev { left: -8px; }
.amz-deals__nav--next { right: -8px; }

.amz-deal-card {
  flex-shrink: 0; width: 180px; background: #f7f8f9;
  border: 1px solid #e8e8e8; border-radius: 10px; overflow: hidden;
  text-decoration: none; color: inherit; transition: box-shadow .2s;
}
.amz-deal-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.amz-deal-card__img {
  position: relative; background: #fff; padding: 12px;
  display: flex; align-items: center; justify-content: center; height: 160px;
}
.amz-deal-card__img img { max-height: 130px; max-width: 100%; object-fit: contain; }
.amz-deal-card__badge {
  position: absolute; top: 8px; left: 8px; background: #cc0c39; color: #fff;
  font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 3px;
}
.amz-deal-card__body { padding: 10px 12px 14px; }
.amz-deal-card__stock-bar { height: 5px; background: #e0e0e0; border-radius: 99px; overflow: hidden; margin-bottom: 4px; }
.amz-deal-card__stock-fill { height: 100%; background: #cc0c39; border-radius: 99px; }
.amz-deal-card__stock-txt { font-size: 11px; color: #cc0c39; font-weight: 700; margin-bottom: 5px; }
.amz-deal-card__title { font-size: 12px; font-weight: 600; color: #111; margin-bottom: 5px; line-height: 1.3; }
.amz-deal-card__stars { display: flex; align-items: center; gap: 1px; margin-bottom: 6px; font-size: 11px; color: #888; }
.amz-deal-card__prices { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.amz-deal-card__price-now { font-size: 15px; font-weight: 800; color: #111; }
.amz-deal-card__price-now .woocommerce-Price-amount { font-size: 15px; font-weight: 800; color: #111; }
.amz-deal-card__price-was { font-size: 11px; color: #888; text-decoration: line-through; }
.amz-deal-card__price-was .woocommerce-Price-amount { font-size: 11px; color: #888; }

/* ── EXPLOREZ VOS CENTRES D'INTERET ── */
.amz-explore { background: #fff; }
.amz-explore__sub { font-size: 12px; color: #c45500; font-weight: 700; margin: 0 0 2px; text-transform: uppercase; letter-spacing: .5px; }
.amz-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.amz-tab {
  padding: 7px 16px; background: #f0f2f2; border: 1px solid #d5d9d9;
  border-radius: 20px; font-size: 13px; font-weight: 600; color: #111;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.amz-tab:hover { background: #e8eaea; border-color: #adb1b8; }
.amz-tab.is-active { background: #232f3e; color: #fff; border-color: #232f3e; }
.amz-explore__grid { transition: opacity .2s; }
.amz-explore__more { text-align: center; margin-top: 32px; }
.amz-explore__more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffd814; color: #111; font-weight: 700;
  padding: 12px 32px; border-radius: 8px; text-decoration: none;
  font-size: 14px; transition: background .2s; border: 1px solid #f0c14b;
}
.amz-explore__more-btn:hover { background: #f0c14b; }

/* ── TRUST BAR ── */
.amz-trust { background: #232f3e; padding: 28px 0; }
.amz-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.amz-trust__item { display: flex; align-items: flex-start; gap: 14px; padding: 0 10px; }
.amz-trust__icon { font-size: 32px; flex-shrink: 0; }
.amz-trust__item strong { display: block; color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.amz-trust__item p { color: rgba(255,255,255,.55); font-size: 12px; margin: 0; line-height: 1.5; }

/* ── AVIS CLIENTS ── */
.amz-reviews { background: #f7f8f9; }
.amz-reviews__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.amz-review-card { background: #fff; border-radius: 10px; border: 1px solid #e8e8e8; padding: 18px 16px; }
.amz-review-card__stars { display: flex; gap: 2px; margin-bottom: 10px; }
.amz-review-card__text { font-size: 13px; color: #333; line-height: 1.6; margin-bottom: 14px; }
.amz-review-card__author { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.amz-review-card__avatar {
  width: 34px; height: 34px; border-radius: 50%; background: #232f3e; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.amz-review-card__author strong { display: block; font-size: 13px; color: #111; }
.amz-review-card__author span  { font-size: 11px; color: #888; }
.amz-review-card__verified { margin-left: auto; font-size: 11px; color: #007600; font-weight: 600; }

/* ── FIDELITE ── */
.amz-loyalty { background: linear-gradient(135deg, #131921 0%, #232f3e 100%); padding: 36px 0; }
.amz-loyalty__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.amz-loyalty__text h3 { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.amz-loyalty__text p  { color: rgba(255,255,255,.6); font-size: 13px; margin: 0; }
.amz-loyalty__perks { display: flex; gap: 16px; flex-wrap: wrap; }
.amz-loyalty__perks span { color: rgba(255,255,255,.8); font-size: 13px; }
.amz-loyalty__btn {
  margin-left: auto; background: #ffd814; color: #111;
  padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 14px;
  text-decoration: none; white-space: nowrap; border: 1px solid #f0c14b; transition: background .2s;
}
.amz-loyalty__btn:hover { background: #f0c14b; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .amz-featured__grid { grid-template-columns: 260px 1fr; }
  .amz-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .amz-reviews__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .amz-featured__grid { grid-template-columns: 1fr; }
  .amz-featured__small-grid { grid-template-columns: repeat(2, 1fr); }
  .amz-trust__grid { grid-template-columns: 1fr 1fr; }
  .amz-reviews__grid { grid-template-columns: 1fr 1fr; }
  .amz-loyalty__inner { flex-direction: column; text-align: center; }
  .amz-loyalty__btn { margin-left: 0; }
  .amz-deals__nav { display: none; }
}
@media (max-width: 480px) {
  .amz-trust__grid { grid-template-columns: 1fr; }
  .amz-reviews__grid { grid-template-columns: 1fr; }
  .amz-tabs { gap: 6px; }
  .amz-tab { font-size: 12px; padding: 6px 12px; }
}
