/* =============================================================
   BT-QC Custom Styles
   Niet aanpassen in style.bundle.css — dit is het bronbestand.
   ============================================================= */

/* ==================== CUSTOM BREAKPOINTS ==================== */
/* xxxl  ≥ 2000px  |  xxxxl ≥ 3000px                         */

@media (min-width: 2000px) {
  .col-xxxl-1  { flex: 0 0 auto; width: 8.3333%; }
  .col-xxxl-2  { flex: 0 0 auto; width: 16.6667%; }
  .col-xxxl-3  { flex: 0 0 auto; width: 25%; }
  .col-xxxl-4  { flex: 0 0 auto; width: 33.3333%; }
  .col-xxxl-5  { flex: 0 0 auto; width: 41.6667%; }
  .col-xxxl-6  { flex: 0 0 auto; width: 50%; }
  .col-xxxl-7  { flex: 0 0 auto; width: 58.3333%; }
  .col-xxxl-8  { flex: 0 0 auto; width: 66.6667%; }
  .col-xxxl-9  { flex: 0 0 auto; width: 75%; }
  .col-xxxl-10 { flex: 0 0 auto; width: 83.3333%; }
  .col-xxxl-11 { flex: 0 0 auto; width: 91.6667%; }
  .col-xxxl-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 3000px) {
  .col-xxxxl-1  { flex: 0 0 auto; width: 8.3333%; }
  .col-xxxxl-2  { flex: 0 0 auto; width: 16.6667%; }
  .col-xxxxl-3  { flex: 0 0 auto; width: 25%; }
  .col-xxxxl-4  { flex: 0 0 auto; width: 33.3333%; }
  .col-xxxxl-5  { flex: 0 0 auto; width: 41.6667%; }
  .col-xxxxl-6  { flex: 0 0 auto; width: 50%; }
  .col-xxxxl-7  { flex: 0 0 auto; width: 58.3333%; }
  .col-xxxxl-8  { flex: 0 0 auto; width: 66.6667%; }
  .col-xxxxl-9  { flex: 0 0 auto; width: 75%; }
  .col-xxxxl-10 { flex: 0 0 auto; width: 83.3333%; }
  .col-xxxxl-11 { flex: 0 0 auto; width: 91.6667%; }
  .col-xxxxl-12 { flex: 0 0 auto; width: 100%; }
}

/* ==================== IMAGE ERROR PLACEHOLDER ==================== */

.btqc-img-placeholder {
  position: relative;
  width: 100%;
  min-height: 260px;
  background: linear-gradient(
    90deg,
    var(--bs-secondary-bg) 25%,
    var(--bs-tertiary-bg) 50%,
    var(--bs-secondary-bg) 75%
  );
  background-size: 200% 100%;
  animation: btqc-shimmer 1.6s ease-in-out infinite;
}

@keyframes btqc-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.btqc-img-countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ==================== CAROUSEL OVERLAY WRAP ==================== */

.carousel-overlay-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  isolation: isolate;
  clip-path: inset(0 round 12px);
  -webkit-clip-path: inset(0 round 12px);
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}

.carousel-overlay-wrap .carousel-inner {
  border-radius: 12px;
  overflow: hidden;
}

.carousel-overlay-wrap .carousel-item img {
  width: 100%;
  display: block;
  pointer-events: none;
}

.carousel-overlay-wrap .carousel-control-prev,
.carousel-overlay-wrap .carousel-control-next {
  z-index: 25;
}

.carousel-control-prev,
.carousel-control-next {
  transition: opacity 0.2s ease;
}

/* ==================== CARD ACTION OVERLAY (animatie) ==================== */

.cardActionOverlay {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  display: flex !important;
}

.cardActionOverlay.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* ==================== CATALOGUE GRID ==================== */

/* ── Masonry containers ── */
#cardsContainer,
#favCardsContainer {
  position: relative;
}

/* Base card — herbruikbaar overal, breedte via Bootstrap col-* */
.catalogue-card-item {
  padding: 0 10px 20px;
}

.card-transparent {
  background: transparent;
}

/* ==================== KAART ELEMENTEN (op afbeelding — altijd donker) ==================== */

.btqc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  background: rgba(10, 10, 15, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btqc-badge-light {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btqc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  display: inline-block;
  flex-shrink: 0;
}

.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 24px 12px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
  border-radius: 0 0 12px 12px;
}

.product-title {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.product-price {
  color: #f59e0b;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

/* ==================== CARD ACTION OVERLAY (inhoud) ==================== */

.cardActionOverlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 14px 14px 12px;
  border-radius: inherit;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.overlay-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overlay-brand-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.overlay-close-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.overlay-view-btn {
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.overlay-view-btn:hover {
  background: rgba(96, 165, 250, 0.28);
  border-color: rgba(96, 165, 250, 0.6);
}

.overlay-view-btn .ki-duotone {
  color: #60a5fa;
}

.overlay-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.overlay-price-eur {
  color: var(--bs-orange);
  font-size: 15px;
  font-weight: 800;
}

.overlay-price-sep {
  color: rgba(255, 255, 255, 0.3);
}

.overlay-price-rmb {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 600;
}

.overlay-weight-badge {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px 9px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==================== ACTION BUTTONS ==================== */

.overlay-actions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.overlay-action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 8px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.overlay-action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.overlay-action-btn .icon-buy {
  color: #f59e0b;
}
.overlay-action-btn .icon-fav {
  color: #f43f5e;
}
.overlay-action-btn .icon-cart {
  color: #34d399;
}
.overlay-action-btn .icon-basket {
  color: #a78bfa;
}
.overlay-action-btn .icon-share {
  color: #60a5fa;
}

.overlay-action-btn--fav-active {
  border-color: #f43f5e;
  box-shadow: 0 0 8px rgba(244, 63, 94, 0.35);
}
.overlay-action-btn--fav-active .icon-fav {
  filter: drop-shadow(0 0 4px #f43f5e);
}

.overlay-action-btn--cart-active {
  border-color: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.35);
}
.overlay-action-btn--cart-active .icon-cart {
  filter: drop-shadow(0 0 4px #34d399);
}

/* ==================== ANIMATIES ==================== */

@keyframes fav-add {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.55) rotate(-8deg);
  }
  55% {
    transform: scale(0.85) rotate(4deg);
  }
  75% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes fav-remove {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(0.6) rotate(10deg);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
.icon-fav.anim-fav-add {
  animation: fav-add 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
.icon-fav.anim-fav-remove {
  animation: fav-remove 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes cart-add {
  0% {
    transform: translateY(0) scale(1);
  }
  30% {
    transform: translateY(-7px) scale(1.15);
  }
  60% {
    transform: translateY(3px) scale(0.95);
  }
  80% {
    transform: translateY(-2px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@keyframes cart-remove {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px) rotate(-5deg);
  }
  40% {
    transform: translateX(5px) rotate(5deg);
  }
  60% {
    transform: translateX(-3px) rotate(-3deg);
  }
  80% {
    transform: translateX(3px) rotate(2deg);
  }
  100% {
    transform: translateX(0) rotate(0);
  }
}
.icon-cart.anim-cart-add {
  animation: cart-add 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
.icon-cart.anim-cart-remove {
  animation: cart-remove 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes share-pop {
  0% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.45) rotate(-15deg);
  }
  55% {
    transform: scale(0.85) rotate(8deg);
  }
  78% {
    transform: scale(1.12) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}
.icon-share.anim-share {
  animation: share-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  color: #93c5fd;
  filter: drop-shadow(0 0 6px #60a5fa);
}

/* ==================== OVERLAY — LIGHT MODE ==================== */

[data-bs-theme="light"] .cardActionOverlay {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-bs-theme="light"] .overlay-brand-label {
  color: rgba(0, 0, 0, 0.4);
}

[data-bs-theme="light"] .overlay-view-btn {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #1e3a5f;
}

[data-bs-theme="light"] .overlay-view-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.55);
}

[data-bs-theme="light"] .overlay-price-sep {
  color: rgba(0, 0, 0, 0.25);
}

[data-bs-theme="light"] .overlay-price-rmb {
  color: rgba(0, 0, 0, 0.45);
}

[data-bs-theme="light"] .overlay-weight-badge {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.45);
}

[data-bs-theme="light"] .overlay-action-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

[data-bs-theme="light"] .overlay-action-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
}

[data-bs-theme="light"] .overlay-action-btn--fav-active {
  border-color: #f43f5e;
  box-shadow: 0 0 8px rgba(244, 63, 94, 0.25);
}

[data-bs-theme="light"] .overlay-action-btn--cart-active {
  border-color: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.25);
}

/* ==================== CONTEXT MENU ==================== */

#btqc-context-menu {
  position: fixed;
  z-index: 999999;
  animation: ctx-pop 0.18s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes ctx-pop {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Trend Section */
.trend-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: trendScroll 120s linear infinite;
}
.trend-track:hover {
  animation-play-state: paused;
}
.trend-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 4%,
    black 96%,
    transparent
  );
}
.product-card {
  width: 220px; /* Aangepast naar jouw grotere formaat */
  flex-shrink: 0;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;

  /* Gebruik de Bootstrap variabele voor de border kleur */
  border: 1px solid var(--bs-border-color);

  /* Gebruik de Bootstrap variabele voor de achtergrond als je wilt dat deze ook meekleurt */
  background-color: var(--bs-body-bg);

  transition:
    transform 0.5s,
    border-color 0.3s;
}
.product-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.product-card:hover {
  border-color: var(--bs-orange);
}
.product-card:hover img {
  transform: scale(1.05);
}
.product-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
}
.product-card:hover .overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    transparent 100%
  );
}
.btqc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.btqc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bs-orange);
  flex-shrink: 0;
}
.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
}

.product-title {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}
.product-price {
  font-size: 13px;
  font-weight: 700;
  color: #e79930;
}
@keyframes trendScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
