/* ════════════════════════════════════════════════════════════
   COLLECTIONS — Grille inspirée rhinoshield
   ════════════════════════════════════════════════════════════ */

.btr-collections {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 48px;
  display: block !important;
}

/* ─── Header ────────────────────────────────────────────────── */
.btr-collections__head {
  padding: 48px 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

.btr-collections__title {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  font-weight: var(--weight-bold);
  color: var(--black);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Groupe boutons droite */
.btr-collections__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Pill "Voir plus" vert */
.btr-collections__all {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 12px 24px;
  background: var(--g);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
  color: var(--white);
  text-decoration: none;
  transition: background 0.22s ease;
  white-space: nowrap;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}

.btr-collections__all:hover {
  background: var(--g-dark);
  color: var(--white);
}

/* Flèches circulaires gauche/droite */
.btr-collections__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.18);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--black);
  flex-shrink: 0;
}

.btr-collections__arrow:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.btr-collections__arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Grille ─────────────────────────────────────────────────── */
.btr-collections__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

/* ─── Carte ──────────────────────────────────────────────────── */
.btr-col-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 400px;
  background: var(--white);
  transition: background 0.22s ease;
}

.btr-col-card:last-child {
  border-right: none;
}

.btr-col-card:hover {
  background: #f7f7f8;
}

/* ── Nom en haut (style rhinoshield) ── */
.btr-col-card__info {
  padding: 18px 20px 16px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.btr-col-card__name {
  display: block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: var(--weight-medium);
  color: var(--black);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.btr-col-card__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* ── Image qui remplit le bas ── */
.btr-col-card__img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px 16px 24px;
}

.btr-col-card__img img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.btr-col-card:hover .btr-col-card__img img {
  transform: scale(1.07) translateY(-6px);
}

/* ── Flèche discrète au survol ── */
.btr-col-card__cta {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: var(--weight-semibold);
  color: var(--g);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btr-col-card__cta svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.btr-col-card:hover .btr-col-card__cta {
  opacity: 1;
  transform: translateY(0);
}

.btr-col-card:hover .btr-col-card__cta svg {
  transform: translateX(3px);
}

/* ════════════════════════════════════════════════════════════
   DESIGN COLLECTIONS — Rhinoshield style
   ════════════════════════════════════════════════════════════ */

.btr-design-cols {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: block !important;
}

/* ── Header ── */
.btr-design-cols__head {
  padding: 48px 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

.btr-design-cols__title {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  font-weight: var(--weight-bold);
  color: var(--black);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
}

.btr-design-cols__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btr-design-cols__pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--gold);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
  color: var(--white);
  text-decoration: none;
  transition: background 0.22s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btr-design-cols__pill:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.btr-design-cols__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.18);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--black);
  flex-shrink: 0;
}

.btr-design-cols__arrow:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.btr-design-cols__arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* ── Grille horizontale scrollable ── */
.btr-design-cols__grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.btr-design-cols__grid::-webkit-scrollbar {
  display: none;
}

/* ── Carte ── */
.btr-dc-card {
  flex: 0 0 calc(100% / 6);   /* 6 visibles sur desktop */
  min-width: 200px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-right: 1px solid var(--border);
  scroll-snap-align: start;
  position: relative;
  transition: background 0.22s ease;
  background: var(--white);
}

.btr-dc-card:last-child {
  border-right: none;
}

.btr-dc-card:hover {
  background: #f7f7f8;
}

/* Nom au-dessus — identique rhinoshield */
.btr-dc-card__label {
  padding: 16px 18px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: var(--weight-medium);
  color: var(--black);
  line-height: 1.3;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

/* Zone image */
.btr-dc-card__img {
  flex: 1;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.btr-dc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s cubic-bezier(0.4,0,0.2,1);
  display: block;
}

.btr-dc-card:hover .btr-dc-card__img img {
  transform: scale(1.06);
}

/* Placeholder coloré (avant les vraies images) */
.btr-dc-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 24px;
}

.btr-dc-placeholder__emoji {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

.btr-dc-placeholder__text {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .btr-dc-card {
    flex: 0 0 calc(100% / 4);
  }
}

@media (max-width: 768px) {
  .btr-design-cols__head {
    padding: 28px 24px 22px;
  }
  .btr-design-cols__title {
    font-size: 1.9rem;
  }
  .btr-dc-card {
    flex: 0 0 calc(100% / 2.4);
    min-width: 160px;
  }
}

@media (max-width: 480px) {
  .btr-dc-card {
    flex: 0 0 calc(100% / 1.8);
  }
  .btr-dc-card__img {
    min-height: 180px;
  }
}

/* ─── BESTSELLERS BLANC (style rhinoshield) ─────────────────── */
.btr-bestsellers {
  background: var(--gray) !important;
  padding: 0 !important;
}

.btr-bestsellers__inner {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Header bestsellers */
/* ── Header Best-Sellers ── */
.btr-bs-head {
  padding: 44px 48px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(45,74,53,0.12);
}

.btr-bs-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.btr-bs-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: var(--weight-bold);
  color: var(--black);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.02em;
}

.btr-bs-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btr-bs-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.5);
  animation: bs-pulse 2s ease infinite;
}

@keyframes bs-pulse {
  0%  { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100%{ box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.btr-bs-live {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.btr-bs-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: none;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: var(--weight-semibold);
  color: var(--white);
  background: var(--g);
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.btr-bs-see-all:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--g);
}

.btr-bs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 32px 32px;
  gap: 0;
}

.btr-bs-card {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(45,74,53,0.15);
  text-decoration: none;
  padding: 32px 24px 28px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(45,74,53,0.2);
  border-radius: 16px;
  margin: 16px;
  box-shadow: 0 2px 12px rgba(45,74,53,0.06);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: bs-card-in 0.6s ease forwards;
}

@keyframes bs-card-in {
  to { opacity: 1; transform: translateY(0); }
}

.btr-bs-card:hover {
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(45,74,53,0.14);
  border-color: var(--g);
}

/* Numéro de rang en gros en fond */
.btr-bs-rank-bg {
  position: absolute;
  right: -8px;
  bottom: -20px;
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: var(--weight-extrabold);
  color: rgba(45,74,53,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.3s ease;
}

.btr-bs-card:hover .btr-bs-rank-bg {
  color: rgba(45,74,53,0.08);
}

/* Badge de rang en haut */
.btr-bs-rank {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.btr-bs-card--rank-1 .btr-bs-rank {
  background: var(--gold);
  color: var(--white);
}

.btr-bs-card--rank-2 .btr-bs-rank {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

.btr-bs-card--rank-3 .btr-bs-rank,
.btr-bs-card--rank-4 .btr-bs-rank {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
}

/* Effet shimmer au hover */
.btr-bs-shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.06) 50%,
    transparent 70%
  );
  pointer-events: none;
  transition: left 0.5s ease;
}

.btr-bs-card:hover .btr-bs-shimmer {
  left: 150%;
}

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

.btr-bs-card__img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.btr-bs-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.btr-bs-card:hover .btr-bs-card__img img {
  transform: scale(1.06) translateY(-4px);
}

.btr-bs-card__body { display: flex; flex-direction: column; flex: 1; }

.btr-bs-card__name {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: var(--weight-semibold);
  color: var(--black);
  line-height: 1.4;
  margin-bottom: 6px;
  text-decoration: none;
  display: block;
}

.btr-bs-card__name:hover { color: var(--g); }

.btr-bs-card__price {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: var(--weight-bold);
  color: var(--g);
  margin-bottom: 16px;
}

/* Bouton panier sur la carte */
.btr-bs-card .button,
.btr-bs-card .add_to_cart_button {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 11px 16px !important;
  background: var(--g) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.8rem !important;
  font-weight: var(--weight-semibold) !important;
  font-family: var(--font-body) !important;
  transition: background 0.22s ease !important;
  text-decoration: none !important;
  cursor: pointer !important;
  margin-top: auto !important;
}

.btr-bs-card:hover .button,
.btr-bs-card:hover .add_to_cart_button {
  background: var(--gold) !important;
}

/* CTA bas de section bestsellers */
.btr-bs-cta {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.btr-bs-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: background 0.22s ease, transform 0.18s ease;
  font-family: var(--font-body);
  box-shadow: 0 4px 16px rgba(232, 160, 32, 0.28);
}

.btr-bs-cta a:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(232, 160, 32, 0.38);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .btr-collections__head,
  .btr-bs-head {
    padding: 32px 32px 28px;
  }

  .btr-collections__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .btr-col-card:nth-child(3) {
    border-right: none;
  }

  .btr-col-card:nth-child(4),
  .btr-col-card:nth-child(5) {
    border-top: 1px solid var(--border);
  }

  .btr-bs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .btr-bs-card:nth-child(2) {
    border-right: none;
  }

  .btr-bs-card:nth-child(3),
  .btr-bs-card:nth-child(4) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .btr-collections__head,
  .btr-bs-head {
    padding: 24px 20px 20px;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .btr-collections__title,
  .btr-bs-title {
    font-size: 1.8rem;
  }

  /* Cacher seulement les flèches, garder le bouton "Voir plus" */
  .btr-collections__arrow { display: none !important; }

  .btr-collections__grid {
    grid-template-columns: repeat(2, 1fr);
    overflow-x: auto;
  }

  .btr-col-card {
    min-height: 280px;
    border-bottom: 1px solid var(--border);
  }

  .btr-col-card:nth-child(3) {
    border-right: 1px solid var(--border);
  }

  .btr-col-card:nth-child(odd):last-child {
    grid-column: span 2;
    border-right: none;
  }

  .btr-bs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .btr-bs-card {
    padding: 20px 16px 20px;
  }

  .btr-bs-cta {
    padding: 28px 20px;
  }
}
