/* ==========================================
   SHOP 2026 - Modern E-Commerce Design
   La Miellerie Belfortaine
   Trends: Bento Grid, Glassmorphism, Micro-interactions
   ========================================== */

/* Fix: Force preloader to hide after load */
body.loaded #preloader,
body.page-loaded #preloader {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Fallback: Auto-hide preloader after 4s max */
@keyframes hidePreloader {
  0%, 99% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

#preloader {
  animation: hidePreloader 4s ease-out forwards;
}

/* ==========================================
   CSS Variables for Shop
   ========================================== */
:root {
  --shop-gold: #D4A017;
  --shop-gold-light: #F5E6B3;
  --shop-gold-dark: #8B6914;
  --shop-brown: #5C3D2E;
  --shop-cream: #FDF8F0;
  --shop-dark: #0a0a0a;
  --shop-dark-card: #141414;
  --shop-glass: rgba(255, 255, 255, 0.05);
  --shop-glass-border: rgba(255, 255, 255, 0.1);
  --shop-radius: 20px;
  --shop-radius-sm: 12px;
  --shop-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   1. HERO SECTION
   ========================================== */
.shop-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.shop-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.shop-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(139, 105, 20, 0.3) 100%
  );
}

.shop-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 0 80px;
}

.shop-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--shop-gold), var(--shop-gold-dark));
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(212, 160, 23, 0.3);
}

.shop-hero-badge.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.shop-hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--shop-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shop-hero-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.shop-hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 25px 35px;
  background: var(--shop-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--shop-glass-border);
  border-radius: var(--shop-radius);
  width: fit-content;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--shop-gold);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--shop-gold);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ==========================================
   2. BENTO GRID CATEGORIES
   ========================================== */
.shop-categories-bento {
  padding: 100px 0;
  background: var(--shop-dark);
}

.section-header {
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(212, 160, 23, 0.1);
  color: var(--shop-gold);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid rgba(212, 160, 23, 0.2);
  margin-bottom: 20px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 20px;
}

.bento-item {
  position: relative;
  border-radius: var(--shop-radius);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: var(--delay);
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-tall {
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

.bento-small {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover .bento-bg {
  transform: scale(1.1);
}

.bento-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.9) 100%
  );
  transition: var(--shop-transition);
}

.bento-item:hover .bento-overlay {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212, 160, 23, 0.2) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  z-index: 2;
}

.bento-count {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--shop-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.bento-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin: 0;
  transition: var(--shop-transition);
}

.bento-large .bento-title {
  font-size: 1.8rem;
}

.bento-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--shop-gold);
  color: white;
  border-radius: 50%;
  position: absolute;
  right: 25px;
  bottom: 25px;
  transform: translateX(60px);
  opacity: 0;
  transition: var(--shop-transition);
}

.bento-item:hover .bento-arrow {
  transform: translateX(0);
  opacity: 1;
}

.bento-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: none;
}

.bento-item:hover .bento-shine {
  animation: shine 0.8s ease;
}

@keyframes shine {
  to { left: 100%; }
}

/* ==========================================
   3. FILTER BAR - GLASSMORPHISM
   ========================================== */
.shop-main {
  padding: 80px 0;
  background: var(--shop-dark);
}

.filter-bar-wrapper {
  margin-bottom: 40px;
  position: sticky;
  top: 80px;
  z-index: 100;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 25px;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--shop-radius);
  flex-wrap: wrap;
}

/* Search */
.filter-search {
  flex: 0 0 280px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 15px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

.search-input {
  width: 100%;
  padding: 12px 45px 12px 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: white;
  font-size: 0.9rem;
  transition: var(--shop-transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--shop-gold);
  background: rgba(255, 255, 255, 0.08);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-clear {
  position: absolute;
  right: 15px;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--shop-transition);
}

.search-clear:hover {
  color: var(--shop-gold);
}

/* Category Pills */
.filter-categories {
  flex: 1;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 0;
  scrollbar-width: none;
}

.filter-categories::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--shop-transition);
}

.category-pill:hover {
  background: rgba(212, 160, 23, 0.1);
  border-color: rgba(212, 160, 23, 0.3);
  color: var(--shop-gold);
}

.category-pill.active {
  background: linear-gradient(135deg, var(--shop-gold), var(--shop-gold-dark));
  border-color: transparent;
  color: white;
  box-shadow: 0 5px 20px rgba(212, 160, 23, 0.3);
}

.pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 0.75rem;
}

.category-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
}

/* Sort & View */
.filter-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sort-select {
  padding: 10px 35px 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--shop-radius-sm);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' fill-opacity='0.5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: var(--shop-transition);
}

.sort-select:focus {
  outline: none;
  border-color: var(--shop-gold);
}

.view-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--shop-radius-sm);
  padding: 4px;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--shop-transition);
}

.view-btn:hover {
  color: white;
}

.view-btn.active {
  background: var(--shop-gold);
  color: white;
}

/* Active Filters */
.active-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filters-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 50px;
  color: var(--shop-gold);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--shop-transition);
}

.filter-tag:hover {
  background: rgba(212, 160, 23, 0.2);
}

.filter-tag i:last-child {
  font-size: 0.7rem;
  opacity: 0.7;
}

.clear-all-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--shop-transition);
}

.clear-all-filters:hover {
  color: white;
}

/* ==========================================
   4. PRODUCTS GRID
   ========================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.products-grid.list-view {
  grid-template-columns: 1fr;
}

.products-grid.list-view .product-card-v2 {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

.products-grid.list-view .product-image-container {
  height: 200px;
}

.products-grid.list-view .product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 20px 20px 0;
}

/* Product Card V2 */
.product-card-v2 {
  position: relative;
  background: var(--shop-dark-card);
  border-radius: var(--shop-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--shop-transition);
}

.product-card-v2:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 160, 23, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.product-card-v2:hover .product-glow {
  opacity: 1;
}

.product-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(212, 160, 23, 0.08) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: var(--shop-transition);
  pointer-events: none;
}

/* Image Container */
.product-image-container {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

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

.product-card-v2:hover .product-image {
  transform: scale(1.08);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--shop-gold-dark), var(--shop-brown));
  color: rgba(255, 255, 255, 0.3);
  font-size: 4rem;
}

.product-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--shop-transition);
}

.product-card-v2:hover .product-image-overlay {
  opacity: 1;
}

.quick-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  color: var(--shop-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  transform: translateY(20px);
  transition: var(--shop-transition);
}

.product-card-v2:hover .quick-view-btn {
  transform: translateY(0);
}

.quick-view-btn:hover {
  background: var(--shop-gold);
  color: white;
}

/* Badges */
.product-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

.product-badges span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
}

.badge-featured {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
}

.badge-bio {
  background: linear-gradient(135deg, #2d9a4a, #4ade80);
  color: white;
}

.badge-discount {
  background: linear-gradient(135deg, #dc2626, #f87171);
  color: white;
}

.badge-stock {
  background: rgba(100, 100, 100, 0.9);
  color: white;
}

/* Wishlist Button */
.wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  color: #666;
  font-size: 1rem;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--shop-transition);
}

.product-card-v2:hover .wishlist-btn {
  opacity: 1;
  transform: translateY(0);
}

.wishlist-btn:hover {
  background: white;
  color: #dc2626;
  transform: scale(1.1);
}

.wishlist-btn.active {
  color: #dc2626;
}

/* Product Info */
.product-info {
  padding: 20px;
}

.product-category {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--shop-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}

.product-name a {
  color: white;
  text-decoration: none;
  transition: var(--shop-transition);
}

.product-name a:hover {
  color: var(--shop-gold);
}

.product-excerpt {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 15px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-old {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.price-current {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--shop-gold);
}

/* Add to Cart Button */
.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--shop-gold), var(--shop-gold-dark));
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--shop-transition);
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(212, 160, 23, 0.4);
}

.add-to-cart-btn.disabled {
  background: rgba(100, 100, 100, 0.5);
  cursor: not-allowed;
}

.add-to-cart-btn .btn-text {
  transition: var(--shop-transition);
}

.add-to-cart-btn .btn-success {
  position: absolute;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--shop-transition);
}

.add-to-cart-btn.loading .btn-text,
.add-to-cart-btn.loading i:first-child {
  opacity: 0;
}

.add-to-cart-btn.loading::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.add-to-cart-btn.success .btn-text,
.add-to-cart-btn.success i:first-child {
  opacity: 0;
}

.add-to-cart-btn.success .btn-success {
  opacity: 1;
  transform: scale(1);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================
   5. EMPTY STATE
   ========================================== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.2);
}

.empty-state h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 10px;
}

.empty-state p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 30px;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--shop-gold), var(--shop-gold-dark));
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--shop-transition);
}

.btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 160, 23, 0.4);
  color: white;
}

/* ==========================================
   6. TRUST SECTION
   ========================================== */
.trust-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--shop-dark) 0%, #1a1a1a 100%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--shop-radius);
  transition: var(--shop-transition);
}

.trust-item:hover {
  background: rgba(212, 160, 23, 0.05);
  border-color: rgba(212, 160, 23, 0.2);
  transform: translateY(-5px);
}

.trust-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.2), rgba(212, 160, 23, 0.1));
  border-radius: 16px;
  color: var(--shop-gold);
  font-size: 1.5rem;
}

.trust-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin: 0 0 5px;
}

.trust-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ==========================================
   7. NEWSLETTER SECTION
   ========================================== */
.newsletter-section {
  padding: 0 0 100px;
  background: #1a1a1a;
}

.newsletter-card {
  position: relative;
  padding: 60px;
  border-radius: var(--shop-radius);
  overflow: hidden;
  text-align: center;
}

.newsletter-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--shop-gold-dark), var(--shop-brown));
  opacity: 0.9;
}

.newsletter-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter-content {
  position: relative;
  z-index: 2;
}

.newsletter-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 2rem;
  color: white;
}

.newsletter-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}

.newsletter-content > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input-group {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 6px;
}

.newsletter-input-group input {
  flex: 1;
  padding: 15px 25px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1rem;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-group input:focus {
  outline: none;
}

.newsletter-input-group button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background: white;
  border: none;
  border-radius: 50px;
  color: var(--shop-brown);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--shop-transition);
}

.newsletter-input-group button:hover {
  background: var(--shop-gold-light);
  transform: scale(1.05);
}

.newsletter-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   8. TOAST NOTIFICATION
   ========================================== */
.shop-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 25px;
  background: white;
  border-radius: var(--shop-radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--shop-transition);
}

.shop-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.shop-toast .toast-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--shop-gold), var(--shop-gold-dark));
  border-radius: 50%;
  color: white;
  font-size: 1rem;
}

.shop-toast.error .toast-icon {
  background: linear-gradient(135deg, #dc2626, #f87171);
}

.shop-toast .toast-content {
  display: flex;
  flex-direction: column;
}

.shop-toast .toast-content strong {
  font-size: 0.95rem;
  color: var(--shop-dark);
}

.shop-toast .toast-content span {
  font-size: 0.85rem;
  color: #666;
}

/* ==========================================
   9. RESPONSIVE
   ========================================== */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .bento-large {
    grid-column: span 2;
  }
}

@media (max-width: 991px) {
  .shop-hero {
    min-height: 60vh;
  }

  .shop-hero-title {
    font-size: 2.5rem;
  }

  .shop-hero-stats {
    padding: 20px 25px;
    gap: 20px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .bento-large,
  .bento-tall,
  .bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-item {
    min-height: 200px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-search {
    flex: none;
    width: 100%;
  }

  .filter-categories {
    order: 3;
    width: 100%;
    padding-bottom: 10px;
  }

  .filter-actions {
    justify-content: space-between;
    width: 100%;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .newsletter-card {
    padding: 40px 30px;
  }
}

@media (max-width: 767px) {
  .shop-hero-content {
    padding: 100px 0 60px;
  }

  .shop-hero-stats {
    width: 100%;
    justify-content: space-around;
  }

  .stat-divider {
    height: 30px;
  }

  .scroll-indicator {
    display: none;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item {
    min-height: 180px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image-container {
    height: 250px;
  }

  .products-grid.list-view .product-card-v2 {
    grid-template-columns: 1fr;
  }

  .products-grid.list-view .product-image-container {
    height: 250px;
  }

  .products-grid.list-view .product-info {
    padding: 20px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-input-group {
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 15px;
  }

  .newsletter-input-group input {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
  }

  .newsletter-input-group button {
    width: 100%;
    justify-content: center;
  }

  .shop-toast {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .shop-hero-badge {
    font-size: 0.75rem;
    padding: 8px 15px;
  }

  .shop-hero-title {
    font-size: 2rem;
  }

  .shop-hero-desc {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .category-pill {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .product-info {
    padding: 15px;
  }

  .product-name {
    font-size: 1rem;
  }

  .price-current {
    font-size: 1.1rem;
  }

  .add-to-cart-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* ==========================================
   HEADER/NAVBAR - DESIGN 2026
   ========================================== */

/* Badge panier amélioré */
.nav-cart-badge.cart-badge {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.7rem;
  background: linear-gradient(135deg, var(--shop-gold), var(--shop-gold-dark));
  color: #0a0a0a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow:
    0 2px 8px rgba(212, 160, 23, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 2px solid #0a0a0a;
  animation: cartBadgePulse2026 2s ease-in-out infinite;
  z-index: 10;
}

@keyframes cartBadgePulse2026 {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(212, 160, 23, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.7);
  }
}

/* Animation d'ajout au panier */
.nav-cart-badge.cart-badge.cart-bounce {
  animation: cartBounce2026 0.6s ease-out;
}

@keyframes cartBounce2026 {
  0% { transform: scale(1); }
  25% { transform: scale(1.4); }
  50% { transform: scale(0.9); }
  75% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Navbar glassmorphism effect on scroll */
.shock-header .navbar.scrolled,
.miellerie-nav.scrolled {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(212, 160, 23, 0.1);
}

/* Bouton panier hover effet */
.nav-cart-link:hover {
  transform: scale(1.05);
}

.nav-cart-link:hover i {
  color: var(--shop-gold) !important;
}

/* Dropdown compte client - style glassmorphism */
.navbar-action-items .dropdown-menu {
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
}

.navbar-action-items .dropdown-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  transition: all 0.2s ease;
}

.navbar-action-items .dropdown-menu .dropdown-item:hover {
  background: rgba(212, 160, 23, 0.15);
  color: var(--shop-gold);
}

.navbar-action-items .dropdown-menu .dropdown-item i {
  color: var(--shop-gold);
  opacity: 0.7;
}

.navbar-action-items .dropdown-menu .dropdown-item:hover i {
  opacity: 1;
}

.navbar-action-items .dropdown-menu .dropdown-divider {
  border-color: rgba(212, 160, 23, 0.15);
  margin: 0.3rem 0;
}

.navbar-action-items .dropdown-menu .dropdown-item.text-danger {
  color: #ef4444 !important;
}

.navbar-action-items .dropdown-menu .dropdown-item.text-danger i {
  color: #ef4444;
}

/* Megamenu style 2026 */
.megamenu {
  background: rgba(15, 15, 15, 0.98) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 160, 23, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.megamenu-title {
  color: var(--shop-gold) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem !important;
}

.megamenu .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  transition: all 0.2s ease;
  padding: 0.4rem 0 !important;
}

.megamenu .nav-link:hover {
  color: var(--shop-gold) !important;
  padding-left: 8px !important;
}

.megamenu-cta {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 160, 23, 0.2);
  transition: all 0.3s ease;
}

.megamenu-cta:hover {
  border-color: var(--shop-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(212, 160, 23, 0.2);
}

.megamenu-cta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  flex-direction: column;
}

.megamenu-cta-overlay .h5 {
  margin-bottom: 0.25rem;
}
