/* Accessibility Focus Indicator (WCAG 2.2 AA) */
*:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════ */
/* DEDICATED OFFRES PAGE: KAN3AN CENTER-MODE PRODUCTIVITY SLIDER*/
/* ═══════════════════════════════════════════════════════════ */

/* Header Elements on Offres Page */
.offres-brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.offres-brand-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.offres-brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: #D97706;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offres-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #25D366;
  color: #FFFFFF !important;
  text-decoration: none !important;
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
  transition: all 0.2s ease;
}

.btn-header-wa-link:hover {
  background: #1EBE5D;
  transform: translateY(-1px);
  color: #FFFFFF !important;
}

.offres-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #1E293B;
  color: #FFFFFF;
  border: none;
  border-radius: 25px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(30, 41, 59, 0.25);
  transition: all 0.2s ease;
}

.offres-cart-btn:hover {
  background: #0F172A;
  transform: translateY(-1px);
}

.offres-cart-badge {
  background: #D97706;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}


/* Category Navigation Bar on Offres Page (Desktop & Mobile) */
.offres-cat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  white-space: nowrap;
  flex-wrap: nowrap;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
}

.offres-cat-bar::-webkit-scrollbar {
  height: 6px;
}

.offres-cat-bar::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 999px;
}

.offres-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #FFFFFF;
  color: #334155;
  border: 1.5px solid #CBD5E1;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.offres-cat-btn:hover {
  border-color: #94A3B8;
  color: #0F172A;
  transform: translateY(-1px);
}

.offres-cat-btn.active {
  background: #1E293B;
  color: #FFFFFF;
  border-color: #1E293B;
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.25);
}

.offres-cat-btn .cat-count {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 12px;
  background: #E2E8F0;
  color: #475569;
  font-weight: 800;
}

.offres-cat-btn.active .cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* ═══════════════════════════════════════════════════════════ */
/* NIDAL95 3D CARD CAROUSEL (COVERFLOW PRO)                    */
/* ═══════════════════════════════════════════════════════════ */
.nidal-slider-section {
  max-width: 1300px;
  margin: 0 auto 40px;
  position: relative;
}

.head {
  max-width: 1200px;
  margin: auto;
  padding: 16px 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.head-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.head-badge {
  font-size: 0.76rem;
  font-weight: 800;
  color: #B45309;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 3px 12px;
  border-radius: 999px;
  width: fit-content;
  letter-spacing: 0.04em;
}

.head h2 {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.2;
}

.controls {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  align-items: center;
}

.controls .nav-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 50%;
  background: #FFFFFF;
  color: #1E293B;
  font-size: 1.7rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  user-select: none;
}

.controls .nav-btn:hover:not(:disabled) {
  background: #D97706;
  color: #FFFFFF;
  border-color: #D97706;
  transform: scale(1.08);
}

.controls .nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* 3D Carousel Container & Track */
.nidal-carousel-container {
  width: 100%;
  max-width: 1200px;
  margin: 10px auto 20px;
  height: 520px;
  position: relative;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 3D Cards */
.card {
  position: absolute;
  width: 350px;
  height: 485px;
  background: #0F172A;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transition: all 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #FFFFFF;
}

/* Floating Card Tags */
.card-floating-tags {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.card-ref-badge {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #FCD34D;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.card-discount-badge {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Hover Fullscreen Hint on Center Card */
.card.center {
  cursor: zoom-in;
}

.card-fullscreen-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.9);
  color: #FFFFFF;
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  z-index: 6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card.center:hover .card-fullscreen-hint {
  opacity: 1;
  transform: translateY(0);
}

.card-fullscreen-hint:hover {
  background: #D97706;
  border-color: #FCD34D;
}

/* 3D Coverflow Positions */
.card.center {
  z-index: 10;
  transform: scale(1.08) translateZ(0);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.45), 0 0 0 3px #F59E0B;
  border-color: #FCD34D;
}

.card.center img {
  filter: none;
}

.card.left-1 {
  z-index: 5;
  transform: translateX(-275px) scale(0.86) translateZ(-120px) rotateY(16deg);
  opacity: 0.88;
}

.card.left-1 img {
  filter: brightness(0.7) saturate(75%);
}

.card.left-2 {
  z-index: 2;
  transform: translateX(-500px) scale(0.72) translateZ(-260px) rotateY(26deg);
  opacity: 0.55;
}

.card.left-2 img {
  filter: brightness(0.5) saturate(50%);
}

.card.right-1 {
  z-index: 5;
  transform: translateX(275px) scale(0.86) translateZ(-120px) rotateY(-16deg);
  opacity: 0.88;
}

.card.right-1 img {
  filter: brightness(0.7) saturate(75%);
}

.card.right-2 {
  z-index: 2;
  transform: translateX(500px) scale(0.72) translateZ(-260px) rotateY(-26deg);
  opacity: 0.55;
}

.card.right-2 img {
  filter: brightness(0.5) saturate(50%);
}

.card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5) translateZ(-400px);
}

/* Lateral Navigation Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 41, 59, 0.85);
  color: #FFFFFF;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.25s ease;
  font-size: 1.8rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  padding-bottom: 2px;
}

.nav-arrow:hover {
  background: #D97706;
  border-color: #FCD34D;
  transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
  left: 15px;
  padding-right: 2px;
}

.nav-arrow.right {
  right: 15px;
  padding-left: 2px;
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION DÉTAILS, RÉFÉRENCES ET PRIX SOUS L'IMAGE           */
/* ═══════════════════════════════════════════════════════════ */
.offer-under-info {
  max-width: 680px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 41, 59, 0.98) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 14px;
  padding: 12px 18px;
  color: #FFFFFF;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.32);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.under-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 5px;
}

.under-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.under-ref-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.under-cat-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

.under-pack-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
}

.under-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.under-desc {
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.35;
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════ */
/* COMPTE À REBOURS DYNAMIQUE D'EXPIRATION (SENTIMENT D'URGENCE) */
/* ═══════════════════════════════════════════════════════════ */
.under-countdown-banner {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(217, 119, 6, 0.2) 100%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
  animation: pulseCountdownGlow 3s infinite ease-in-out;
}

@keyframes pulseCountdownGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.45);
  }
  50% {
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
    border-color: rgba(239, 68, 68, 0.6);
  }
}

.countdown-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.countdown-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.countdown-pulse-icon {
  font-size: 1.2rem;
}

.countdown-text-group {
  display: flex;
  flex-direction: column;
}

.countdown-headline {
  font-size: 0.82rem;
  font-weight: 800;
  color: #FDE68A;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.countdown-sub {
  font-size: 0.72rem;
  color: #FCD34D;
  opacity: 0.9;
}

.countdown-clock {
  display: flex;
  align-items: center;
  gap: 3px;
}

.cd-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0F172A;
  border: 1px solid rgba(245, 158, 11, 0.6);
  border-radius: 6px;
  min-width: 30px;
  padding: 2px 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.cd-num {
  font-family: 'SF Pro Display', -apple-system, monospace, sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  color: #F59E0B;
  line-height: 1;
}

.cd-num.cd-sec {
  color: #EF4444;
}

.cd-lbl {
  font-size: 0.56rem;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
}

.cd-sep {
  font-size: 0.88rem;
  font-weight: 900;
  color: #F59E0B;
}

.countdown-expired-badge {
  background: #DC2626;
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════ */
/* BLOC PRIX : PRIX BARRÉ PROMOTIONNEL VS PRIX ACTUEL BOUTIQUE  */
/* ═══════════════════════════════════════════════════════════ */
.under-deal-pricing {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 8px;
}

.deal-pricing-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.deal-price-item {
  display: flex;
  flex-direction: column;
}

.deal-price-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.deal-price-item.original .deal-price-label {
  color: #94A3B8;
}

.deal-price-item.current .deal-price-label {
  color: #FCD34D;
}

.deal-price-val.strike {
  font-size: 0.88rem;
  font-weight: 700;
  color: #94A3B8;
  text-decoration: line-through;
}

.deal-price-val.active {
  font-size: 1.25rem;
  font-weight: 900;
  color: #10B981;
  text-shadow: 0 1px 8px rgba(16, 185, 129, 0.35);
}

.deal-savings-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.45);
  padding: 3px 8px;
  border-radius: 20px;
}

.discount-pill {
  background: #DC2626;
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 99px;
}

.savings-amount {
  font-size: 0.74rem;
  color: #FECACA;
  font-weight: 600;
}

.product-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-item-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.prod-strike-price {
  font-size: 0.66rem;
  color: #94A3B8;
  text-decoration: line-through;
  line-height: 1;
}

.prod-site-price {
  font-size: 0.8rem;
  color: #34D399;
  font-weight: 800;
  line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════════ */
/* RÉFÉRENCES ET NOMS DES PRODUITS SOUS L'IMAGE                */
/* ═══════════════════════════════════════════════════════════ */
.under-products-wrapper {
  background: rgba(10, 15, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 8px;
}

.under-products-heading {
  font-size: 0.76rem;
  font-weight: 800;
  color: #FCD34D;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.under-products-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 8px;
  gap: 8px;
  transition: all 0.2s ease;
}

.product-item-row:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(245, 158, 11, 0.4);
}

.product-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.product-item-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.product-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.product-item-ref {
  display: inline-flex;
  align-items: center;
  background: rgba(245, 158, 11, 0.2);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  width: fit-content;
}

.product-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.btn-product-add {
  background: rgba(217, 119, 6, 0.25);
  color: #FCD34D;
  border: 1px solid rgba(217, 119, 6, 0.5);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-product-add:hover {
  background: #D97706;
  color: #FFFFFF;
  border-color: #F59E0B;
}

/* Offre individuelle (sans sous-produits) */
.single-product-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 8px;
}

.single-product-ref {
  background: rgba(245, 158, 11, 0.25);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.5);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.single-product-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* ═══════════════════════════════════════════════════════════ */
/* STYLES PACKS ET ARTICLES EN RUPTURE DE STOCK (NON DISPONIBLE) */
/* ═══════════════════════════════════════════════════════════ */
.card.card-oos .card-img,
.card-img.img-oos,
.product-item-thumb.img-oos {
  filter: grayscale(20%) contrast(0.95);
  opacity: 0.82;
}

.card-oos-badge {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.5) !important;
  border: 1px solid rgba(254, 202, 202, 0.4) !important;
  letter-spacing: 0.2px;
}

.card-oos-watermark {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(185, 28, 28, 0.94);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid rgba(254, 202, 202, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 6;
}

.under-oos-alert {
  background: rgba(225, 29, 72, 0.14);
  border: 1.5px solid rgba(244, 63, 94, 0.55);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 12px 0 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.15);
}

.under-oos-alert-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.under-oos-alert-content {
  flex: 1;
}

.under-oos-alert-title {
  display: block;
  color: #FDA4AF;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.under-oos-alert-desc {
  margin: 0;
  font-size: 0.83rem;
  color: #FFE4E6;
  line-height: 1.45;
}

.product-item-row.oos {
  background: rgba(239, 68, 68, 0.14) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
}

.product-item-oos-tag {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #FECDD3;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  vertical-align: middle;
}

.btn-product-add.oos,
.btn-product-add:disabled {
  background: rgba(148, 163, 184, 0.2) !important;
  color: #94A3B8 !important;
  border-color: rgba(148, 163, 184, 0.4) !important;
  cursor: not-allowed !important;
  opacity: 0.65 !important;
}

.btn-buy-under:disabled,
.btn-buy-under.btn-oos,
.btn-fullscreen-buy:disabled,
.btn-fullscreen-buy.btn-oos,
.opm-btn-buy:disabled,
.opm-btn-buy.btn-oos {
  background: #475569 !important;
  border-color: #475569 !important;
  color: #CBD5E1 !important;
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Actions sous l'image */
.under-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  margin-bottom: 2px;
}

.btn-buy-under {
  flex: 1;
  min-width: 170px;
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  border: none;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transition: all 0.25s ease;
  min-height: 38px;
}

.btn-buy-under:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.5);
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.btn-fullscreen-under {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  min-height: 38px;
}

.btn-fullscreen-under:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Pagination Dots */
.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 18px 0 25px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #CBD5E1;
  cursor: pointer;
  transition: all 0.35s ease;
}

.dot.active {
  width: 34px;
  background: #D97706;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
}

/* ═══════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN: MOBILE & TABLET ADAPTATION              */
/* ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nidal-carousel-container {
    height: 480px;
  }
  .card {
    width: 310px;
    height: 435px;
  }
  .card.left-1 {
    transform: translateX(-220px) scale(0.86) translateZ(-100px) rotateY(15deg);
  }
  .card.right-1 {
    transform: translateX(220px) scale(0.86) translateZ(-100px) rotateY(-15deg);
  }
  .card.left-2 {
    transform: translateX(-400px) scale(0.72) translateZ(-240px) rotateY(24deg);
  }
  .card.right-2 {
    transform: translateX(400px) scale(0.72) translateZ(-240px) rotateY(-24deg);
  }
}

@media (max-width: 768px) {
  /* Header adjustments on mobile */
  .offres-header-inner {
    padding: 8px 12px !important;
    gap: 8px !important;
  }

  .offres-header-inner {
    padding: 8px 10px !important;
    gap: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
  }

  .btn-back-main-menu {
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
    border-radius: 20px !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    z-index: 2 !important;
  }

  .btn-back-main-menu .btn-back-text {
    display: none !important;
  }

  .btn-back-main-menu::after {
    content: "Accueil";
    font-weight: 700;
  }

  .offres-brand-link {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: center !important;
    margin: 0 4px !important;
    overflow: hidden !important;
  }

  .offres-brand-title {
    font-size: 0.92rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    line-height: 1.2 !important;
  }

  .offres-brand-subtitle {
    display: none !important;
  }

  .offres-header-actions {
    gap: 6px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    z-index: 2 !important;
  }

  /* Hide Share button in mobile header to eliminate overcrowding */
  #btn-header-share {
    display: none !important;
  }

  /* Hide Account button in mobile header on compact screens (already in main menu/nav) */
  #btn-header-account {
    display: none !important;
  }

  .btn-header-wa-link {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .header-wa-label,
  .cart-btn-text,
  #offres-account-label,
  .header-share-label {
    display: none !important;
  }

  .offres-cart-btn {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
  }

  .offres-cart-badge {
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    font-size: 0.65rem !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Hero Banner on mobile: Compact & Centered */
  .offres-hero-banner {
    padding: 16px 12px 14px !important;
    margin-bottom: 16px !important;
    border-radius: 16px !important;
  }

  .offres-breadcrumb {
    font-size: 0.72rem !important;
    margin-bottom: 6px !important;
  }

  .offres-hero-tag {
    font-size: 0.68rem !important;
    padding: 3px 10px !important;
    margin-bottom: 6px !important;
  }

  .offres-hero-title {
    font-size: 1.28rem !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.25 !important;
  }

  .offres-hero-desc {
    display: none !important;
  }

  /* HORIZONTAL CATEGORY MENU: Multi-line wrapped to guarantee '3- Autres' is never truncated */
  .offres-cat-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px 8px !important;
    padding: 8px 0 0 !important;
    margin-bottom: 0 !important;
    white-space: normal !important;
    overflow-x: visible !important;
  }

  .offres-cat-btn {
    padding: 6px 11px !important;
    font-size: 0.76rem !important;
    border-radius: 20px !important;
    background: #FFFFFF !important;
    color: #1E293B !important;
    border: 1px solid #CBD5E1 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08) !important;
    flex: 0 0 auto !important;
  }

  .offres-cat-btn.active {
    background: #F59E0B !important;
    color: #0F172A !important;
    border-color: #D97706 !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3) !important;
  }

  .offres-cat-btn .cat-count {
    font-size: 0.68rem !important;
    padding: 1px 6px !important;
  }

  .offres-cat-btn[data-category="autres"] {
    background: #FFF1F2 !important;
    color: #BE123C !important;
    border-color: #FDA4AF !important;
    font-weight: 800 !important;
  }

  .offres-cat-btn[data-category="autres"].active {
    background: #E11D48 !important;
    color: #FFFFFF !important;
    border-color: #BE123C !important;
  }

  /* NIDAL95 CAROUSEL ON MOBILE: No horizontal overflow, scaled 3D */
  .nidal-carousel-container {
    height: 425px !important;
    margin: 8px auto 14px !important;
    perspective: 850px !important;
  }

  .card {
    width: 255px !important;
    height: 360px !important;
    border-radius: 16px !important;
  }

  .card.center {
    transform: scale(1.05) translateZ(0) !important;
  }

  .card.left-1 {
    transform: translateX(-125px) scale(0.82) translateZ(-80px) rotateY(12deg) !important;
    opacity: 0.85 !important;
  }

  .card.left-2 {
    transform: translateX(-215px) scale(0.68) translateZ(-160px) rotateY(18deg) !important;
    opacity: 0.3 !important;
  }

  .card.right-1 {
    transform: translateX(125px) scale(0.82) translateZ(-80px) rotateY(-12deg) !important;
    opacity: 0.85 !important;
  }

  .card.right-2 {
    transform: translateX(215px) scale(0.68) translateZ(-160px) rotateY(-18deg) !important;
    opacity: 0.3 !important;
  }

  .nav-arrow {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.4rem !important;
  }

  .nav-arrow.left {
    left: 4px !important;
  }

  .nav-arrow.right {
    right: 4px !important;
  }

  .head {
    padding: 10px 6px 10px !important;
    gap: 0.5rem !important;
  }

  .head h2 {
    font-size: 1.25rem !important;
  }

  .controls .nav-btn {
    width: 2.25rem !important;
    height: 2.25rem !important;
    font-size: 1.35rem !important;
  }

  .slider-section {
    margin-bottom: 80px !important;
  }

  /* Under info section on Mobile */
  .offer-under-info {
    padding: 10px 12px !important;
    margin: 0 auto 14px !important;
    border-radius: 12px !important;
  }

  .under-title {
    font-size: 1.05rem !important;
    margin-bottom: 2px !important;
  }

  .under-desc {
    font-size: 0.76rem !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .under-products-wrapper {
    padding: 6px 8px !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
  }

  .under-products-heading {
    font-size: 0.72rem !important;
    margin-bottom: 5px !important;
  }

  .product-item-row {
    padding: 4px 8px !important;
    gap: 6px !important;
  }

  .product-item-thumb {
    width: 28px !important;
    height: 28px !important;
  }

  .product-item-ref {
    font-size: 0.66rem !important;
    padding: 1px 5px !important;
  }

  .product-item-name {
    font-size: 0.76rem !important;
  }

  .btn-product-add {
    padding: 3px 8px !important;
    font-size: 0.7rem !important;
  }

  .under-pricing-card {
    padding: 8px 10px !important;
    margin-bottom: 8px !important;
    gap: 6px !important;
  }

  .under-price-val {
    font-size: 1.45rem !important;
  }

  .under-price-curr {
    font-size: 0.85rem !important;
  }

  .under-price-orig {
    font-size: 0.88rem !important;
  }

  .under-savings-badge {
    font-size: 0.72rem !important;
    padding: 2px 7px !important;
  }

  .under-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .btn-buy-under {
    grid-column: 1 / -1 !important;
    min-width: 100% !important;
    padding: 9px 12px !important;
    font-size: 0.84rem !important;
    min-height: 36px !important;
  }

  .btn-fullscreen-under,
  .btn-share-under {
    width: 100% !important;
    justify-content: center !important;
    padding: 7px 10px !important;
    font-size: 0.78rem !important;
    min-height: 34px !important;
  }

  .subitem-mini-card {
    padding: 4px 8px !important;
    gap: 6px !important;
  }

  .subitem-mini-card img {
    width: 26px !important;
    height: 26px !important;
  }
}

/* Mobile Sticky Bottom Navigation Bar */
.offres-mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .offres-mobile-sticky-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    gap: 8px !important;
  }

  .mobile-sticky-return-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    background: #F1F5F9 !important;
    color: #334155 !important;
    text-decoration: none !important;
    padding: 5px 8px !important;
    border-radius: 10px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    border: 1px solid #E2E8F0 !important;
    transition: all 0.2s ease !important;
  }

  .mobile-sticky-return-btn:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
  }

  .mobile-sticky-categories {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    flex: 1 !important;
    min-width: 0 !important;
    padding: 2px 0 !important;
  }

  .mobile-sticky-categories::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-pill-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 11px !important;
    border-radius: 20px !important;
    background: #F8FAFC !important;
    color: #475569 !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    border: 1px solid #CBD5E1 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
  }

  .mobile-pill-btn.active {
    background: #1E293B !important;
    color: #FFFFFF !important;
    border-color: #1E293B !important;
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.2) !important;
  }

  .mobile-pill-btn[data-category="autres"] {
    background: #FFF1F2 !important;
    color: #E11D48 !important;
    border-color: #FECDD3 !important;
    font-weight: 800 !important;
  }

  .mobile-pill-btn[data-category="autres"].active {
    background: #E11D48 !important;
    color: #FFFFFF !important;
    border-color: #E11D48 !important;
  }

  .mobile-sticky-cart-btn {
    position: relative !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #1E293B !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.25) !important;
  }

  .mobile-cart-badge {
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    background: #EF4444 !important;
    color: white !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    min-width: 17px !important;
    height: 17px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid white !important;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════ */
/* MODAL PLEIN ÉCRAN POUR LES AFFICHES DU CARROUSEL             */
/* ═══════════════════════════════════════════════════════════ */
.offres-fullscreen-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 10, 22, 0.96);
  backdrop-filter: blur(20px);
}

.fullscreen-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.fullscreen-modal-window {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fullscreen-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  gap: 12px;
  z-index: 5;
}

.btn-return-carousel {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-return-carousel:hover {
  background: #F59E0B;
  transform: translateX(-2px);
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.5);
}

.btn-return-text-desktop {
  display: inline;
}

.btn-return-text-mobile {
  display: none;
}

.fullscreen-title-area {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.fullscreen-ref-badge {
  background: rgba(245, 158, 11, 0.25);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.5);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.fullscreen-poster-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fullscreen-close-btn {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.fullscreen-close-btn:hover {
  background: #EF4444;
  color: #FFFFFF;
}

.fullscreen-stage-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  overflow: hidden;
  min-height: 0;
}

.fullscreen-img-element {
  max-width: 95vw;
  max-height: calc(100vh - 135px);
  width: auto;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  cursor: default;
  transition: transform 0.2s ease;
}

.fullscreen-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 23, 42, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  gap: 12px;
  flex-wrap: wrap;
  z-index: 5;
}

.fullscreen-deal-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.fullscreen-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-fullscreen-buy {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  border: none;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.4);
}

.btn-fullscreen-buy:hover {
  transform: translateY(-1px);
  background: #F59E0B;
}

.btn-return-carousel-bottom {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-return-carousel-bottom:hover {
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .fullscreen-modal-header {
    padding: 8px 12px;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
  }
  .btn-return-text-desktop {
    display: none;
  }
  .btn-return-text-mobile {
    display: inline;
    font-size: 0.8rem;
    font-weight: 700;
  }
  .btn-return-carousel {
    padding: 6px 10px;
    font-size: 0.8rem;
    gap: 4px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .fullscreen-title-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    margin: 0 4px;
  }
  .fullscreen-poster-title {
    display: none;
  }
  .fullscreen-ref-badge {
    font-size: 0.74rem;
    padding: 3px 8px;
    margin: 0 auto;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    overflow: hidden;
  }
  #btn-fullscreen-share-top {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
  }
  #btn-fullscreen-share-top span {
    display: none;
  }
  #btn-fullscreen-share-top svg {
    width: 18px;
    height: 18px;
  }
  .fullscreen-close-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .fullscreen-img-element {
    max-height: calc(100vh - 150px);
  }
  .fullscreen-modal-footer {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .fullscreen-footer-actions {
    width: 100%;
    justify-content: stretch;
  }
  .btn-fullscreen-buy, .btn-fullscreen-share, .btn-return-carousel-bottom {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* SOCIAL SHARE & FLOATING WIDGETS (CART & CHATBOT)            */
/* ═══════════════════════════════════════════════════════════ */
.btn-share-under {
  background: rgba(37, 99, 235, 0.2);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-share-under:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #3B82F6;
  transform: translateY(-1px);
}

.btn-fullscreen-share {
  background: rgba(37, 99, 235, 0.25);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.45);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-fullscreen-share:hover {
  background: #2563EB;
  color: #FFFFFF;
}

/* Share Modal Overlay & Card */
#offres-share-modal {
  z-index: 100005 !important;
}

#cart-drawer-overlay {
  z-index: 100010 !important;
}

.share-modal-card {
  max-width: 440px;
  width: 92vw;
  padding: 24px;
  border-radius: 18px;
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: modalFadeIn 0.25s ease-out;
}

.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.share-modal-header h3 {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.3rem;
  color: #0F172A;
  margin: 0;
}

.share-modal-subtitle {
  font-size: 0.86rem;
  color: #64748B;
  margin: 0 0 16px 0;
  line-height: 1.45;
}

.share-preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.share-preview-thumb {
  width: 54px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
  flex-shrink: 0;
}

.share-preview-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.share-preview-ref {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FCD34D;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  width: fit-content;
}

.share-preview-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-preview-site {
  font-size: 0.75rem;
  color: #2563EB;
}

.share-social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.social-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-share-wa {
  background: #25D366;
  color: #FFFFFF;
}
.btn-share-wa:hover {
  background: #1EBE5D;
  transform: translateY(-1px);
}

.btn-share-fb {
  background: #1877F2;
  color: #FFFFFF;
}
.btn-share-fb:hover {
  background: #166FE5;
  transform: translateY(-1px);
}

.btn-share-messenger {
  background: linear-gradient(135deg, #0084FF 0%, #00C6FF 100%);
  color: #FFFFFF;
}
.btn-share-messenger:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-share-copy {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1 !important;
}
.btn-share-copy:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* Floating Cart & Messenger Positioning on Offres Page */
.offres-page-body .floating-cart-btn {
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  width: auto !important;
  max-width: max-content !important;
  z-index: 945;
  background: #0F172A;
  color: #FFFFFF;
  border: 1.5px solid #F59E0B;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.92rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[dir="rtl"] .offres-page-body .floating-cart-btn,
[dir="rtl"] .floating-cart-btn {
  right: auto !important;
  left: 24px !important;
  width: auto !important;
  max-width: max-content !important;
}

[dir="ltr"] .offres-page-body .floating-cart-btn,
[dir="ltr"] .floating-cart-btn {
  left: auto !important;
  right: 24px !important;
  width: auto !important;
  max-width: max-content !important;
}

.offres-page-body .floating-cart-btn:hover {
  transform: translateY(-3px) scale(1.04);
  background: #D97706;
  border-color: #FCD34D;
  box-shadow: 0 14px 35px rgba(217, 119, 6, 0.5);
}

.offres-page-body .messenger-chat-widget {
  bottom: 84px;
  right: 24px;
  z-index: 940;
}

@media (max-width: 768px) {
  .offres-page-body .floating-cart-btn {
    display: none; /* Accessible in .offres-mobile-sticky-bar via #btn-mobile-cart */
  }
  .offres-page-body .messenger-chat-widget {
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    z-index: 990;
  }
  .offres-page-body .messenger-chat-trigger {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: #FDF2F4 !important;
    border: 2px solid #D4AF37 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 14px rgba(212, 175, 55, 0.3) !important;
  }
  .offres-page-body .messenger-chat-trigger img,
  .offres-page-body .chat-trigger-brand-logo {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .offres-page-body .messenger-trigger-badge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    background: linear-gradient(135deg, #FFF0B8 0%, #D4AF37 50%, #A0720E 100%) !important;
    color: #07070A !important;
    font-size: 0.62rem !important;
    font-weight: 900 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
    z-index: 2 !important;
  }
  .offres-page-body .messenger-avatar-wrap {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    border: 1.5px solid #D4AF37 !important;
    background: #FDF2F4 !important;
    overflow: hidden !important;
  }
  .offres-page-body .messenger-avatar-wrap img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }
  .share-social-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile responsiveness for countdown & pricing */
  .countdown-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .countdown-clock {
    align-self: center;
    width: 100%;
    justify-content: center;
  }
  .deal-pricing-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .deal-savings-badge {
    align-self: flex-start;
  }
  .product-item-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .product-item-right {
    width: 100%;
    justify-content: space-between;
    padding-top: 4px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* MODAL POPUP : FICHE & DESCRIPTION DÉTAILLÉE DU PRODUIT       */
/* ═══════════════════════════════════════════════════════════ */
.product-item-clickable {
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 4px;
  margin: -2px -4px;
  transition: all 0.2s ease;
}

.product-item-clickable:hover {
  background: rgba(245, 158, 11, 0.12);
}

.product-item-clickable:hover .product-item-ref {
  background: rgba(245, 158, 11, 0.4);
  border-color: #F59E0B;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.product-item-clickable:hover .product-item-name {
  color: #FCD34D;
  text-decoration: underline;
}

.product-item-ref-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-item-view-hint {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 1px 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.product-item-clickable:hover .product-item-view-hint {
  color: #FCD34D;
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.4);
}

.single-product-clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.single-product-clickable:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}

.offres-product-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 10, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: opmFadeIn 0.25s ease-out;
}

.opm-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.opm-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: opmSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.opm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  gap: 10px;
  z-index: 5;
}

.opm-btn-return {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  border: none;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.opm-btn-return:hover {
  background: #F59E0B;
  transform: translateX(-2px);
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.5);
}

.opm-return-text-desktop {
  display: inline;
}

.opm-return-text-mobile {
  display: none;
}

.opm-header-center {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.opm-header-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.45);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.opm-header-title-cut {
  font-size: 0.88rem;
  font-weight: 700;
  color: #F1F5F9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opm-btn-close {
  background: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.opm-btn-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.opm-body {
  overflow-y: auto;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  color: #F8FAFC;
}

.opm-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
}

.opm-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.opm-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.3s ease;
}

.opm-image-frame:hover img {
  transform: scale(1.05);
}

.opm-hero-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.opm-meta-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.opm-cat-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(14, 165, 233, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.opm-discount-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(225, 29, 72, 0.2);
  color: #FB7185;
  border: 1px solid rgba(225, 29, 72, 0.4);
}

.opm-product-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0;
  font-family: var(--font-serif, inherit);
}

.opm-pricing-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 12px;
  border-radius: 10px;
}

.opm-strike-price {
  font-size: 0.85rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;
}

.opm-site-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #10B981;
}

.opm-savings-amount {
  font-size: 0.76rem;
  font-weight: 700;
  color: #34D399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
}

.opm-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.opm-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 3px 8px;
}

.opm-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
}

.opm-section-heading {
  font-size: 0.84rem;
  font-weight: 800;
  color: #FCD34D;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.opm-description-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #CBD5E1;
  margin: 0;
}

/* Dark Theme Rich Text for Offres Product Modal */
.opm-dialog .product-rich-text .qv-rich-p,
.opm-dialog .product-rich-text p {
  color: #CBD5E1;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.opm-dialog .qv-rich-heading {
  color: #F8FAFC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.opm-dialog .qv-inline-sub {
  color: #F1F5F9;
}

.opm-dialog .qv-pyramid-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.opm-dialog .qv-pyramid-title {
  color: #F8FAFC;
}

.opm-dialog .qv-tier-val {
  color: #E2E8F0;
}

.opm-dialog .qv-pyramid-tier {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.opm-dialog .qv-family-badge {
  background: rgba(254, 243, 199, 0.12);
  border: 1px solid rgba(253, 230, 138, 0.3);
  color: #FDE68A;
}

.opm-dialog .qv-family-name {
  color: #FEF3C7;
}

.opm-dialog .qv-hero-note-badge {
  background: rgba(30, 41, 59, 0.6);
  border-left: 3px solid #C5A880;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
}

.opm-dialog .qv-hero-note-text {
  color: #F8FAFC;
}

.opm-dialog .qv-active-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.opm-dialog .qv-active-title {
  color: #F8FAFC;
}

.opm-dialog .qv-active-desc {
  color: #94A3B8;
}

.opm-dialog .qv-rich-list li {
  color: #CBD5E1;
}

.opm-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.opm-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #E2E8F0;
  line-height: 1.4;
}

.opm-benefit-icon {
  color: #10B981;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.opm-usage-box {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #FEF3C7;
}

.opm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 5;
}

.opm-btn-buy {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  flex: 1;
}

.opm-btn-buy:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

.opm-btn-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.opm-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

@keyframes opmFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes opmSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .offres-product-modal {
    padding: 0;
    align-items: flex-end;
  }

  .opm-dialog {
    max-width: 100%;
    max-height: 92vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .opm-hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .opm-image-frame {
    max-width: 150px;
    margin: 0 auto;
  }

  .opm-return-text-desktop {
    display: none;
  }

  .opm-return-text-mobile {
    display: inline;
  }

  .opm-footer {
    flex-direction: column;
    gap: 8px;
  }

  .opm-btn-buy {
    width: 100%;
    padding: 12px;
  }

  .opm-btn-cancel {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* ACCESSIBILITY & SKELETON LOADER STYLES                      */
/* ═══════════════════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skeleton Loading Shimmer */
@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-box {
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 8px;
}

.cat-count.skeleton-count {
  display: inline-block;
  min-width: 20px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 10px;
  background: #E2E8F0;
  color: #94A3B8;
  font-weight: 700;
  animation: skeletonShimmer 1.5s infinite;
}

/* Skeleton Container Layout */
.offres-skeleton-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 12px 30px;
}

.skeleton-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.skeleton-badge {
  width: 180px;
  height: 22px;
  border-radius: 20px;
}

.skeleton-title {
  width: 320px;
  max-width: 80%;
  height: 32px;
  border-radius: 6px;
}

.skeleton-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 340px;
  margin: 20px 0 24px;
}

.skeleton-card {
  border-radius: 16px;
  flex-shrink: 0;
}

.skeleton-card-side {
  width: 180px;
  height: 250px;
  opacity: 0.6;
}

.skeleton-card-center {
  width: 280px;
  height: 340px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.skeleton-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.skeleton-info-line-lg {
  width: 260px;
  height: 24px;
}

.skeleton-info-line-md {
  width: 160px;
  height: 20px;
}

.skeleton-info-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.skeleton-btn {
  width: 140px;
  height: 42px;
  border-radius: 8px;
}

/* Error State */
.offres-error-box {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  color: #991B1B;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  max-width: 620px;
  margin: 20px auto 40px;
}

.offres-error-box .state-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.offres-error-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #991B1B;
}

.offres-error-box p {
  font-size: 0.95rem;
  color: #7F1D1D;
  margin-bottom: 20px;
  line-height: 1.5;
}

.offres-error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-retry-offers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #DC2626;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
  transition: all 0.2s ease;
}

.btn-retry-offers:hover {
  background: #B91C1C;
  transform: translateY(-1px);
}

.btn-retry-offers:focus-visible {
  outline: 3px solid #DC2626;
  outline-offset: 2px;
}

/* Active Tab Visual Distinction Beyond Color */
.offres-cat-btn.active {
  background: #1E293B !important;
  color: #FFFFFF !important;
  border-color: #D4AF37 !important;
  box-shadow: 0 0 0 2px #D4AF37, 0 4px 14px rgba(30, 41, 59, 0.25) !important;
  font-weight: 800 !important;
}

.offres-cat-btn:focus-visible {
  outline: 3px solid #D4AF37 !important;
  outline-offset: 3px !important;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .skeleton-box,
  .cat-count.skeleton-count {
    animation: none !important;
    background: #E2E8F0 !important;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* OFFRES CART DRAWER & CHECKOUT CONTAINMENT GUARDS            */
/* ═══════════════════════════════════════════════════════════ */
.drawer-panel {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

.drawer-panel .checkout-step-view {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.drawer-panel .drawer-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
}

.drawer-panel .drawer-footer {
  flex-shrink: 0 !important;
}

/* Cart Item Sizing & Layout Constraints */
.drawer-panel .cart-item,
.drawer-panel .cart-item-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  margin-bottom: 10px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.drawer-panel .cart-item-img,
.drawer-panel .cart-item-image {
  width: 62px !important;
  height: 62px !important;
  max-width: 62px !important;
  max-height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: #FAF8F5 !important;
  border: 1px solid #F1F5F9 !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  display: block !important;
}

.drawer-panel .cart-item-info,
.drawer-panel .cart-item-details {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.drawer-panel .cart-item-title {
  font-weight: 600 !important;
  font-size: 0.86rem !important;
  color: #1E293B !important;
  line-height: 1.35 !important;
  margin-bottom: 3px !important;
  word-break: break-word !important;
}

.drawer-panel .cart-item-price {
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  color: #0F172A !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.drawer-panel .cart-item-controls {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex-shrink: 0 !important;
}

.drawer-panel .btn-qty {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  border-radius: 6px !important;
  border: 1px solid #CBD5E1 !important;
  background: #F8FAFC !important;
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.drawer-panel .btn-qty:hover {
  background: #1E293B !important;
  color: #FFFFFF !important;
  border-color: #1E293B !important;
}

.drawer-panel .qty-val {
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  color: #1E293B !important;
  min-width: 20px !important;
  text-align: center !important;
}

.drawer-panel .btn-remove-item,
.drawer-panel .btn-cart-remove {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  border: none !important;
  background: transparent !important;
  color: #94A3B8 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 0.85rem !important;
  transition: all 0.15s ease !important;
}

.drawer-panel .btn-remove-item:hover,
.drawer-panel .btn-cart-remove:hover {
  background: #FEE2E2 !important;
  color: #DC2626 !important;
}


/* Hide floating cart button when chatbot window is open to avoid overlapping send button */
body.chat-open #floating-cart-btn,
body.chat-open .floating-cart-btn,
body:has(#messenger-chat-box.open) #floating-cart-btn,
body:has(.messenger-chat-box.open) #floating-cart-btn {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* RTL Support for Fullscreen Modal & Deal Pricing */
html[dir="rtl"] .fullscreen-modal-header,
body.rtl-layout .fullscreen-modal-header {
  direction: rtl;
}

html[dir="rtl"] .btn-return-carousel svg,
body.rtl-layout .btn-return-carousel svg {
  transform: rotate(180deg);
}

html[dir="rtl"] .fullscreen-modal-footer,
body.rtl-layout .fullscreen-modal-footer {
  direction: rtl;
}

html[dir="rtl"] .fullscreen-deal-info,
body.rtl-layout .fullscreen-deal-info {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .fullscreen-footer-actions,
body.rtl-layout .fullscreen-footer-actions {
  direction: rtl;
}

html[dir="rtl"] .under-deal-pricing,
body.rtl-layout .under-deal-pricing {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .deal-pricing-container,
body.rtl-layout .deal-pricing-container {
  direction: rtl;
}
