/* ════════════════════════════════════════════════════════════
   BESTSELLERS SECTION - Grid Products Premium
   ════════════════════════════════════════════════════════════ */

.btr-bestsellers {
  background: var(--g);
  padding: 80px 0 100px;
  position: relative;
  margin-left: calc(-50vw + 50%);
  width: 100vw;
}

.btr-bestsellers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.btr-bestsellers__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.btr-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.btr-section-header--light {
}

.btr-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g);
  margin-bottom: 10px;
}

.btr-eyebrow--gold {
  color: var(--gold);
}

.btr-eyebrow--white {
  color: rgba(255, 255, 255, 0.6);
}

.btr-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--weight-bold);
  color: var(--black);
  line-height: 1.15;
  margin: 0;
}

.btr-section-title em {
  font-style: italic;
  color: var(--g);
}

.btr-section-title--white {
  color: var(--white);
}

.btr-section-title--white em {
  color: var(--gold);
}

.btr-bestsellers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

/* Product Card */
.btr-product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 24px 18px 18px;
}

.btr-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.btr-product-card__link {
  text-decoration: none;
}

.btr-product-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  margin-bottom: 32px;
}

.btr-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btr-product-card:hover .btr-product-card__img {
  transform: scale(1.08);
}

.btr-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.btr-badge--sale {
  background: var(--gold);
  color: #fff;
}

.btr-product-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  flex: 1;
}

.btr-product-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: var(--weight-bold);
  color: var(--black);
  text-decoration: none;
  line-height: 1.25;
}

.btr-product-card__name:hover {
  color: var(--gold);
}

.btr-product-card__price .woocommerce-Price-amount,
.btr-product-card__price .price {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--weight-semibold);
  color: var(--muted);
}

.btr-product-card__price del .woocommerce-Price-amount {
  font-weight: var(--weight-regular);
  font-size: 13px;
  text-decoration: line-through;
  margin-right: 6px;
}

.btr-product-card__footer {
  margin-top: 24px;
  width: 100%;
}

.btr-product-card .add_to_cart_button,
.btr-product-card .button {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: var(--weight-semibold) !important;
  padding: 14px 24px !important;
  border-radius: var(--radius-md) !important;
  background: var(--gray) !important;
  color: var(--black) !important;
  border: none !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
}

.btr-product-card:hover .add_to_cart_button,
.btr-product-card:hover .button {
  background: var(--g) !important;
  color: #fff !important;
}

.btr-bestsellers__cta {
  text-align: center;
}

.btr-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: var(--weight-semibold);
  padding: 15px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.22s var(--ease);
  border: none;
  cursor: pointer;
}

.btr-btn--gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 160, 32, 0.25);
}

.btr-btn--gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232, 160, 32, 0.38);
  color: #fff;
}

.btr-btn--dark {
  background: var(--g);
  color: #fff;
}

.btr-btn--dark:hover {
  background: var(--g-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 74, 53, 0.3);
  color: #fff;
}

/* ════════════════════════════════════════════════════════════
   SÉPARATEUR VAGUE
   ════════════════════════════════════════════════════════════ */

.btr-divider-wave {
  background: var(--g);
  margin-left: calc(-50vw + 50%);
  width: 100vw;
  position: relative;
  margin-top: -2px;
}

.btr-divider-wave svg {
  display: block;
  width: 100%;
  height: 72px;
}

.btr-divider-wave__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 0 32px;
  background: var(--gray);
}

.btr-divider-wave__line span {
  display: block;
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--border));
}

.btr-divider-wave__line span:last-child {
  background: linear-gradient(to left, transparent, var(--border));
}

.btr-divider-wave__line svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   REVEAL ANIMATION
   ════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE BESTSELLERS
   ════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .btr-bestsellers__inner {
    padding: 0 32px;
  }
  .btr-bestsellers__grid {
    gap: 16px;
  }
  .btr-product-card {
    padding: 24px 16px 16px;
  }
}

@media (max-width: 960px) {
  .btr-bestsellers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .btr-bestsellers {
    padding: 80px 0;
  }
  .btr-bestsellers__inner {
    padding: 0 16px;
  }
  .btr-bestsellers__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
  }
  .btr-product-card {
    padding: 16px 12px 12px;
    border-radius: 16px;
  }
  .btr-product-card__name {
    font-size: 1.1rem;
  }
  .btr-product-card__price .woocommerce-Price-amount {
    font-size: 14px;
  }
  .btr-product-card .add_to_cart_button,
  .btr-product-card .button {
    font-size: 11px !important;
    padding: 10px !important;
    border-radius: var(--radius-sm) !important;
  }
}

@media (max-width: 480px) {
  .btr-bestsellers {
    padding: 72px 0;
  }
  .btr-bestsellers__inner {
    padding: 0 12px;
  }
  .btr-bestsellers__grid {
    gap: 10px;
  }
  .btr-section-title {
    font-size: 1.75rem;
  }
  .btr-product-card {
    padding: 12px 8px 8px;
  }
  .btr-product-card__name {
    font-size: 1rem;
  }
}
