/* ================================
   Variables & Reset
================================ */
:root {
  --primary: #c9a87c;
  --primary-dark: #b8956a;
  --primary-light: #e8d5c4;
  --secondary: #6b5b4f;
  --accent: #d4a574;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg: #ffffff;
  --bg-light: #faf8f5;
  --bg-dark: #f5f0eb;
  --border: #e8e0d8;
  --success: #5cb85c;
  --error: #d9534f;
  --warning: #f0ad4e;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

/* ================================
   Page Transitions
================================ */
.main-content {
  animation: pageFadeIn 0.4s ease-out;
}

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

body.page-leaving .main-content {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease-in, transform 0.2s ease-in;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================================
   Layout
================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  min-height: calc(100vh - 400px);
}

.section {
  padding: 60px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary);
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ================================
   Buttons
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.btn-disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}

.btn-danger {
  background: var(--error);
  color: white;
  border-color: var(--error);
}

/* ================================
   Header
================================ */
.header {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--secondary);
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

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

.cart-link {
  position: relative;
  color: var(--text);
  padding: 8px;
}

.cart-icon {
  width: 24px;
  height: 24px;
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.dropdown-arrow {
  width: 16px;
  height: 16px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
}

.dropdown-item:hover {
  background: var(--bg-light);
}

.dropdown-menu hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}

.mobile-menu-toggle {
  display: none;
}

/* Cacher les éléments mobile-only sur desktop */
.mobile-only,
.mobile-nav-divider {
  display: none !important;
}

/* ================================
   Maintenance Banner
================================ */
.maintenance-banner {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  padding: 12px 0;
  position: relative;
  z-index: 999;
}

.maintenance-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.maintenance-banner-icon {
  font-size: 20px;
  animation: pulse-icon 2s ease-in-out infinite;
}

.maintenance-banner-text {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@media (max-width: 768px) {
  .maintenance-banner-text {
    font-size: 13px;
  }
}

/* ================================
   Hero
================================ */
.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
  padding: 100px 0;
  text-align: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   Categories
================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

.category-card {
  display: block;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.category-image {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Ratio 1:1 = carré */
  overflow: hidden;
}

.category-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-name {
  padding: 16px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--secondary);
  background: white;
}

/* Category Collage (Pêle-mêle) */
.category-collage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  background: var(--bg-dark);
}

.category-collage-1 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.category-collage-2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

.category-collage-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.category-collage-3 .collage-img-1 {
  grid-row: span 2;
}

.category-collage-4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.category-card:hover .collage-img {
  transform: scale(1.05);
}

/* ================================
   Products
================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.products-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  display: block;
  height: 280px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-out {
  background: var(--error);
  left: auto;
  right: 12px;
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 8px 0;
}

.product-name a {
  color: var(--secondary);
}

.product-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.product-stock-info {
  font-size: 13px;
  color: var(--success);
  margin-bottom: 12px;
}

.product-stock-info.low-stock {
  color: #e67e22;
  font-weight: 600;
}

.product-stock-info.out-of-stock {
  color: var(--error);
}

.product-form {
  margin-top: auto;
}

/* ================================
   Product Detail
================================ */
.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-light);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.product-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
}

.product-main-image img {
  width: 100%;
  transition: transform 0.3s ease;
}

.product-main-image:hover img {
  transform: scale(1.02);
}

/* Thumbnails */
.product-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-thumb {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.6;
}

.product-thumb:hover {
  opacity: 0.85;
}

.product-thumb.active {
  border-color: var(--primary);
  opacity: 1;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.product-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

.product-lightbox.active {
  display: flex;
}

.product-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 2.5rem;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  background: rgba(0,0,0,0.5);
  padding: 6px 16px;
  border-radius: 20px;
}

.product-category-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 12px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.product-price-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.product-description {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.product-stock {
  margin-bottom: 24px;
}

.stock-available {
  color: var(--success);
  font-weight: 500;
}

.stock-unavailable {
  color: var(--error);
  font-weight: 500;
}

/* Champ de personnalisation */
.customization-field {
  margin-bottom: 20px;
  padding: 16px;
  background: #fff9e6;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
}

.customization-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-dark);
}

.customization-field input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  margin-bottom: 6px;
}

.customization-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 168, 124, 0.2);
}

.customization-field small {
  color: var(--text-muted);
  font-size: 12px;
}

.customization-field .custom-note {
  margin-top: 12px;
  padding: 10px;
  background: #f8f8f8;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

.customization-field .custom-note a {
  color: #1877f2;
  font-weight: 600;
}

.customization-field .custom-note a:hover {
  text-decoration: underline;
}

.quantity-selector {
  margin-bottom: 20px;
}

.quantity-selector label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.quantity-input {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius);
}

.qty-btn {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text);
}

.qty-btn:hover {
  background: var(--bg-light);
}

.quantity-input input {
  width: 60px;
  text-align: center;
  border: none;
  font-size: 16px;
}

.product-features {
  display: flex;
  gap: 24px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.feature-icon {
  font-size: 20px;
}

/* ================================
   Products Page
================================ */
.products-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
}

.products-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.filter-section {
  margin-bottom: 30px;
}

.filter-section h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.filter-list {
  list-style: none;
}

.filter-list li {
  margin-bottom: 8px;
}

.filter-list a {
  color: var(--text-light);
  font-size: 14px;
}

.filter-list a.active {
  color: var(--primary-dark);
  font-weight: 600;
}

.sort-select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
}

.products-count {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ================================
   Cart
================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-unavailable {
  opacity: 0.6;
  background: #fff5f5;
  padding: 20px;
  margin: 0 -20px;
  border-radius: var(--radius);
}

.cart-item-warning {
  background: #fff9e6;
  padding: 20px;
  margin: 0 -20px;
  border-radius: var(--radius);
}

.cart-item-stock {
  font-size: 12px;
  color: var(--success);
  margin-top: 4px;
}

.cart-item-stock.out-of-stock {
  color: var(--error);
  font-weight: 600;
}

.cart-item-stock.low-stock {
  color: #e67e22;
  font-weight: 600;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--secondary);
}

.cart-item-price {
  color: var(--text-light);
  font-size: 14px;
}

.cart-item-custom {
  background: #fff9e6;
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--primary-dark);
  margin: 8px 0;
}

.cart-item-custom strong {
  color: var(--secondary);
}

.quantity-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-value {
  width: 40px;
  text-align: center;
  font-weight: 600;
}

.cart-item-total {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.cart-item-remove {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.cart-item-remove:hover {
  color: var(--error);
}

.cart-summary {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius-lg);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.cart-summary h2 {
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.summary-total {
  font-weight: 700;
  font-size: 1.2rem;
  border-bottom: none;
  margin: 20px 0;
}

.shipping-info {
  font-size: 13px;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.cart-login-hint {
  text-align: center;
  font-size: 13px;
  margin-top: 12px;
}

.clear-cart-form {
  margin-top: 16px;
}

/* ================================
   Checkout
================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
}

.checkout-step {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.checkout-step h2 {
  font-family: var(--font-heading);
  margin-bottom: 24px;
}

.address-list {
  display: grid;
  gap: 16px;
}

.address-option {
  cursor: pointer;
}

.address-option input {
  display: none;
}

.address-card {
  padding: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.address-option input:checked + .address-card {
  border-color: var(--primary);
  background: var(--primary-light);
}

.address-new {
  text-align: center;
  color: var(--primary-dark);
}

.new-address-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.checkout-summary {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius-lg);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.checkout-items {
  margin-bottom: 20px;
}

.checkout-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}

.checkout-item-qty {
  color: var(--text-muted);
}

.checkout-item-name {
  flex: 1;
}

.checkout-item-price {
  font-weight: 500;
}

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* Shipping Options */
.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.shipping-option {
  cursor: pointer;
}

.shipping-option input {
  display: none;
}

.shipping-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.shipping-option input:checked + .shipping-card {
  border-color: var(--primary);
  background: var(--primary-light);
}

.shipping-icon {
  font-size: 32px;
}

.shipping-details {
  flex: 1;
}

.shipping-details strong {
  display: block;
  margin-bottom: 4px;
}

.shipping-details p {
  margin: 0;
  font-size: 14px;
  color: var(--text-light);
}

.shipping-time {
  font-style: italic;
  margin-top: 4px !important;
}

.shipping-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
}

.shipping-price.free {
  color: var(--success);
}

/* Pickup Info */
.pickup-info {
  margin-top: 20px;
}

.info-box {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.info-box h4 {
  margin-bottom: 12px;
}

.info-box p {
  margin: 4px 0;
  font-size: 14px;
}

.pickup-hours {
  margin-top: 12px !important;
  color: var(--text-light);
}

.checkout-secure {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ================================
   Confirmation
================================ */
.confirmation-section, .cancelled-section {
  padding: 80px 0;
}

.confirmation-content, .cancelled-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-icon, .cancelled-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  color: white;
  font-size: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.cancelled-icon {
  background: var(--warning);
}

.confirmation-order-number {
  font-size: 1.2rem;
  margin: 16px 0;
}

.confirmation-details, .order-summary-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius-lg);
  margin: 30px 0;
  text-align: left;
}

.order-items, .order-totals {
  margin-bottom: 20px;
}

.order-item, .total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.total-final {
  font-weight: 700;
  font-size: 1.2rem;
  border-top: 2px solid var(--border);
  margin-top: 12px;
  padding-top: 12px;
}

.shipping-address h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.confirmation-actions, .cancelled-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 30px;
}

/* ================================
   Orders List
================================ */
.orders-list {
  display: grid;
  gap: 20px;
}

.order-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.order-number {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.order-date {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
}

.order-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-paid { background: #d4edda; color: #155724; }
.status-processing { background: #cce5ff; color: #004085; }
.status-shipped { background: #d1ecf1; color: #0c5460; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

.order-items-preview {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.order-item-preview {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
}

.order-item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-more {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.order-total {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

/* ================================
   Order Detail
================================ */
.order-detail-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

.order-detail-status {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-large {
  font-size: 14px;
  padding: 8px 20px;
}

.order-detail-items h2 {
  margin-bottom: 20px;
}

.order-detail-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.order-detail-sidebar > * {
  margin-bottom: 20px;
}

.order-summary-card, .order-address-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ================================
   Auth Pages
================================ */
.auth-section {
  padding: 60px 0;
  background: var(--bg-light);
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
}

.auth-card {
  max-width: 450px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.social-auth {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.btn-social:hover {
  background: var(--bg-light);
  color: var(--text);
}

.social-icon {
  width: 20px;
  height: 20px;
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 24px 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  background: white;
  padding: 0 16px;
  color: var(--text-muted);
  font-size: 13px;
  position: relative;
}

.auth-form {
  margin-top: 20px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-light);
}

/* ================================
   Account
================================ */
.account-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-nav-item {
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--text);
}

.account-nav-item:hover, .account-nav-item.active {
  background: var(--bg-light);
  color: var(--primary-dark);
}

.account-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.account-card h2 {
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

.orders-mini-list {
  margin-bottom: 20px;
}

.order-mini {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.order-mini-info {
  flex: 1;
}

/* ================================
   Forms
================================ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 168, 124, 0.2);
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-label input {
  width: auto;
}

/* ================================
   About Preview
================================ */
.about-preview {
  background: var(--bg-dark);
}

.about-preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-text p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.about-preview-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ================================
   Testimonials
================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ================================
   Testimonials Section - Avis Facebook
================================ */
.testimonials-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: -20px;
  flex-wrap: wrap;
}

.rating-stars {
  color: var(--primary);
  font-size: 24px;
  letter-spacing: 2px;
}

.rating-text {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.rating-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1877f2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  background: #f0f7ff;
  border-radius: 20px;
  transition: var(--transition);
}

.rating-link:hover {
  background: #e0efff;
  color: #166fe5;
}

/* Carousel d'avis */
.reviews-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* Carte d'avis */
.review-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

/* Carte mise en avant */
.review-card.featured {
  background: linear-gradient(135deg, #fffdf8 0%, #fff9f0 100%);
  border: 2px solid var(--primary);
  transform: scale(1.02);
}

.review-card.featured:hover {
  transform: scale(1.02) translateY(-8px);
}

.review-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

/* Header de l'avis */
.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.reviewer-info {
  flex: 1;
  min-width: 0;
}

.reviewer-name {
  display: block;
  font-weight: 600;
  color: var(--secondary);
  font-size: 15px;
  margin-bottom: 4px;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-stars {
  color: #ffc107;
  font-size: 13px;
  letter-spacing: 1px;
}

.review-date {
  color: var(--text-muted);
  font-size: 12px;
}

/* Texte de l'avis */
.review-text {
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 18px;
  font-style: italic;
}

/* Source Facebook */
.review-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #1877f2;
  text-decoration: none;
  padding: 6px 12px;
  background: #f0f7ff;
  border-radius: 20px;
  transition: var(--transition);
}

.review-source:hover {
  background: #e0efff;
  color: #166fe5;
}

/* CTA */
.testimonials-cta {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.testimonials-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .reviews-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .review-card.featured {
    grid-column: span 2;
    transform: none;
  }
  
  .review-card.featured:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 700px) {
  .reviews-carousel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .review-card.featured {
    grid-column: span 1;
  }
  
  .testimonials-rating {
    flex-direction: column;
    gap: 10px;
  }
  
  .testimonials-cta {
    flex-direction: column;
  }
  
  .testimonials-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================
   Page Header
================================ */
.page-header {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-light);
}

/* ================================
   About Page
================================ */
.about-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.about-text h3 {
  margin-top: 30px;
  margin-bottom: 16px;
}

.about-text ul {
  list-style: none;
}

.about-text li {
  padding: 8px 0;
  color: var(--text-light);
}

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

.value-card {
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-light);
  font-size: 14px;
}

/* ================================
   Contact Page
================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.contact-methods {
  margin: 30px 0;
}

.contact-method {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 24px;
}

.contact-method h4 {
  margin-bottom: 4px;
}

.contact-faq {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  padding: 12px 0;
}

.faq-item p {
  padding: 0 0 12px 0;
  color: var(--text-light);
}

.contact-form-wrapper {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ================================
   Legal Pages
================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-heading);
  margin: 30px 0 16px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text-light);
}

/* ================================
   Error Page
================================ */
.error-section {
  padding: 100px 0;
  text-align: center;
}

.error-icon {
  font-size: 80px;
  margin-bottom: 24px;
}

.error-message {
  color: var(--text-light);
  margin: 16px 0 30px;
}

/* ================================
   Empty State
================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.empty-state h2 {
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ================================
   Alerts
================================ */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alert-success {
  background: #d4edda;
  color: #155724;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
}

.alert-icon {
  font-weight: bold;
}

.alert-message {
  flex: 1;
}

.alert-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.5;
}

.alert-close:hover {
  opacity: 1;
}

/* ================================
   Footer
================================ */
.footer {
  background: var(--secondary);
  color: white;
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-subtitle {
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-text {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: white;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-links a:hover {
  color: white;
}

.footer-payment {
  margin-top: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.7;
}

/* ================================
   Featured Section - Coups de Cœur
================================ */
.featured-section .section-title {
  margin-bottom: 30px;
}

.featured-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.featured-card {
  position: relative;
}

.featured-heart-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 20px;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  animation: heart-float 2s ease-in-out infinite;
}

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

.featured-rentals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.rental-featured-card {
  display: block;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
  position: relative;
}

.rental-featured-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.rental-featured-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.rental-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rental-featured-card:hover .rental-featured-image img {
  transform: scale(1.05);
}

.rental-badge-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rental-featured-info {
  padding: 16px;
}

.rental-featured-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 6px;
}

.rental-featured-price {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 1rem;
}

.rental-featured-price span {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .featured-categories-grid,
  .featured-rentals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .featured-categories-grid,
  .featured-rentals-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ================================
   Responsive
================================ */
@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 200px 1fr;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
  }
  
  .checkout-layout, .cart-layout, .order-detail-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 24px;
  }

  .nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    padding: 12px 0;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav.mobile-open {
    display: flex;
  }
  
  .nav .nav-link {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  
  .nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav .nav-link::after {
    display: none;
  }
  
  .header-actions .btn {
    display: none;
  }

  .header-actions .dropdown {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
  }
  
  /* Animation hamburger → X */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Éléments mobile uniquement */
  .mobile-nav-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
  }
  
  .nav-link.mobile-only {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .nav-link-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff9f0 100%);
    color: var(--primary-dark) !important;
    font-weight: 600;
  }
  
  .nav-link-admin {
    background: var(--bg-light);
    color: var(--secondary) !important;
  }
  
  .nav-link-logout {
    color: var(--error) !important;
  }
  
  /* Afficher les éléments mobile-only sur mobile */
  .mobile-only {
    display: flex !important;
  }
  
  .mobile-nav-divider {
    display: block !important;
  }
  
  .hero {
    padding: 60px 0;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    padding: 0 20px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .page-header {
    padding: 40px 0;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .products-layout {
    grid-template-columns: 1fr;
  }
  
  .products-sidebar {
    position: static;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .product-image {
    height: 180px;
  }

  .product-info {
    padding: 14px;
  }

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

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

  .product-info .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 12px;
    min-height: 44px;
  }

  /* Product detail mobile */
  .product-thumbnails {
    gap: 6px;
    margin-top: 8px;
  }

  .product-thumb {
    width: 56px;
    height: 56px;
  }

  .lightbox-nav {
    font-size: 2rem;
    padding: 8px 14px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

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

  .product-price-large {
    font-size: 1.5rem;
  }

  .product-features {
    flex-wrap: wrap;
    gap: 16px;
  }

  /* Cart mobile - refonte complète */
  .cart-layout {
    gap: 24px;
  }

  .cart-item {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 0;
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  .cart-item-details {
    flex: 1;
    min-width: 0;
  }

  .cart-item-name {
    font-size: 0.95rem;
  }

  .cart-item-quantity {
    display: flex;
    align-items: center;
  }

  .cart-item-total {
    font-size: 1rem;
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .cart-item-remove {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cart-summary {
    position: static;
    padding: 20px;
  }

  /* Checkout mobile */
  .checkout-step {
    padding: 20px;
  }

  .payment-method-info {
    flex-direction: column;
    text-align: center;
  }

  .shipping-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

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

  /* Form rows mobile */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* About page mobile */
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-content .about-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .about-preview-content, .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
  
  .testimonials-grid, .values-grid {
    grid-template-columns: 1fr;
  }
  
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .account-nav-item {
    padding: 10px 14px;
    font-size: 13px;
    background: var(--bg-light);
    border-radius: 20px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .account-card {
    padding: 20px;
  }

  /* Order lists mobile */
  .order-card {
    padding: 16px;
  }

  .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .order-items-preview {
    flex-wrap: wrap;
  }

  .order-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .order-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* Order detail mobile */
  .order-detail-status {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .order-detail-item {
    grid-template-columns: 60px 1fr;
    gap: 12px;
  }

  .order-detail-item > *:last-child {
    grid-column: 1 / -1;
    text-align: right;
  }

  /* Bank details mobile */
  .bank-detail {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    padding: 12px 16px;
  }

  .bank-value.iban {
    font-size: 12px;
    word-break: break-all;
  }

  .payment-instructions {
    padding: 20px;
  }

  .confirmation-actions, .cancelled-actions {
    flex-direction: column;
  }

  .confirmation-actions .btn,
  .cancelled-actions .btn {
    width: 100%;
  }

  /* Footer mobile */
  .footer {
    padding: 40px 0 20px;
    margin-top: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .footer-social {
    justify-content: center;
  }

  /* Auth pages mobile */
  .auth-card {
    padding: 24px;
    margin: 0 8px;
  }

  .auth-title {
    font-size: 1.6rem;
  }

  /* Conversations mobile */
  .conversation-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Rentals mobile */
  .rentals-grid {
    grid-template-columns: 1fr;
  }

  /* Confirmation page mobile */
  .confirmation-content, .cancelled-content {
    padding: 0 16px;
  }

  .confirmation-details, .order-summary-card {
    padding: 20px;
  }

  /* Touch targets minimum size */
  .btn, button, a.btn {
    min-height: 44px;
  }

  .btn-sm {
    min-height: 36px;
  }

  /* Better breadcrumb on mobile */
  .breadcrumb {
    font-size: 13px;
    flex-wrap: wrap;
  }

  /* Quantity buttons bigger */
  .qty-btn {
    min-width: 44px;
    min-height: 44px;
    font-size: 16px;
  }

  /* Customization field mobile */
  .customization-field {
    padding: 14px;
  }

  /* Filter list / sidebar mobile */
  .filter-section {
    margin-bottom: 20px;
  }

  .filter-list li {
    padding: 4px 0;
  }

  .filter-list a {
    padding: 8px 0;
    display: block;
    min-height: 36px;
    display: flex;
    align-items: center;
  }

  /* Dropdown menu: pour la page contact etc. */
  .contact-method {
    gap: 12px;
  }

  /* Rental detail pricing mobile */
  .rental-detail-pricing {
    gap: 12px;
    padding: 16px;
  }

  /* Better spacing on forms */
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

/* ================================
   Extra Small Screens (< 480px)
================================ */
@media (max-width: 480px) {
  .header-container {
    height: 64px;
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .logo-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
  }

  .nav {
    top: 64px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .hero-buttons {
    padding: 0 10px;
  }

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

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

  .product-image {
    height: 220px;
  }

  .product-detail {
    gap: 24px;
  }

  .product-title {
    font-size: 1.5rem;
  }

  /* Cart even more compact */
  .cart-item-image {
    width: 65px;
    height: 65px;
  }

  .quantity-form {
    gap: 4px;
  }

  .qty-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 14px 20px;
    font-size: 14px;
  }

  .page-header h1 {
    font-size: 1.4rem;
  }

  .page-header {
    padding: 30px 0;
  }

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

  .about-text h2 {
    font-size: 1.5rem;
  }

  .values-grid {
    gap: 16px;
  }

  .value-card {
    padding: 24px 20px;
  }

  .footer-title {
    font-size: 1.2rem;
  }

  .alert {
    padding: 12px 14px;
    font-size: 14px;
  }

  /* Account cards tighter */
  .account-card {
    padding: 16px;
  }

  .account-nav-item {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Order cards */
  .order-item-preview {
    width: 50px;
    height: 50px;
  }

  .order-more {
    width: 50px;
    height: 50px;
  }

  /* Category cards single column */
  .categories-grid {
    gap: 16px;
  }

  /* Cart summary */
  .cart-summary {
    padding: 16px;
  }

  .summary-total {
    font-size: 1.1rem;
  }

  /* Checkout compact */
  .checkout-step {
    padding: 16px;
  }

  .checkout-summary {
    padding: 20px;
  }

  /* Contact page */
  .contact-form-wrapper {
    padding: 20px;
  }
}

/* ================================
   Bank Transfer / Payment
================================ */
.payment-instructions {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius-lg);
  margin: 30px 0;
  text-align: left;
}

.payment-instructions h2 {
  font-family: var(--font-heading);
  margin-bottom: 16px;
  color: var(--secondary);
}

.payment-notice {
  margin-bottom: 20px;
  color: var(--text-light);
}

.bank-details {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.bank-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.bank-detail:last-child {
  border-bottom: none;
}

.bank-detail.highlight {
  background: var(--primary-light);
}

.bank-detail.important {
  background: var(--primary);
}

.bank-detail.important .bank-label,
.bank-detail.important .bank-value {
  color: white;
}

.bank-label {
  font-size: 14px;
  color: var(--text-light);
}

.bank-value {
  font-weight: 600;
  color: var(--text);
}

.bank-value.iban {
  font-family: monospace;
  letter-spacing: 1px;
}

.bank-value.amount {
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.bank-value.reference {
  font-family: monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.payment-warning {
  margin-top: 20px;
  padding: 16px;
  background: #fff3cd;
  border-radius: var(--radius);
  color: #856404;
  font-size: 14px;
}

.confirmation-next-steps {
  margin-top: 30px;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.confirmation-next-steps h3 {
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.confirmation-next-steps ol {
  margin-left: 20px;
}

.confirmation-next-steps li {
  padding: 8px 0;
  color: var(--text-light);
}

/* Payment method on checkout */
.payment-method-info {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 2px solid var(--primary);
}

.payment-method-icon {
  font-size: 40px;
}

.payment-method-details h3 {
  margin-bottom: 8px;
  color: var(--secondary);
}

.payment-method-details p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 8px;
}

.payment-note {
  color: var(--primary-dark) !important;
  font-weight: 500;
}

/* Payment reminder on order detail */
.payment-reminder {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 30px;
}

.payment-reminder h3 {
  margin-bottom: 12px;
  color: #856404;
}

.payment-reminder p {
  color: #856404;
  margin-bottom: 12px;
}

.bank-details-compact {
  background: white;
  padding: 16px;
  border-radius: var(--radius);
  margin: 16px 0;
}

.bank-details-compact p {
  margin-bottom: 6px;
  color: var(--text);
}

.bank-details-compact .reference {
  font-family: monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.payment-warning-small {
  font-size: 13px;
  font-style: italic;
}

/* Cancel button style */
.btn-danger-outline {
  color: var(--error);
  border-color: var(--error);
}

.btn-danger-outline:hover {
  background: var(--error);
  color: white;
}

/* ================================
   Admin Ribbon (visible sur tout le site)
================================ */
.admin-ribbon {
  background: linear-gradient(135deg, var(--secondary) 0%, #5a4a3f 100%);
  border-bottom: 2px solid var(--primary);
  position: relative;
  z-index: 999;
}

.admin-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.admin-ribbon-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.admin-ribbon-brand:hover {
  color: var(--primary);
}

.admin-ribbon-icon {
  color: var(--primary);
  font-size: 16px;
}

.admin-ribbon-notifications {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.ribbon-notif {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.ribbon-notif:hover {
  transform: translateY(-1px);
}

.ribbon-notif .notif-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 11px;
}

.ribbon-notif .notif-text {
  font-weight: 500;
}

/* Nouvelle commande - Rouge élégant */
.notif-new {
  background: rgba(192, 57, 43, 0.15);
  color: #ff8a80;
  border-color: rgba(192, 57, 43, 0.3);
}
.notif-new .notif-count {
  background: #c0392b;
  color: white;
}
.notif-new:hover {
  background: rgba(192, 57, 43, 0.25);
  color: #ff8a80;
}

/* Paiement en attente - Doré */
.notif-pending {
  background: rgba(201, 168, 124, 0.15);
  color: var(--primary);
  border-color: rgba(201, 168, 124, 0.3);
}
.notif-pending .notif-count {
  background: var(--primary);
  color: var(--secondary);
}
.notif-pending:hover {
  background: rgba(201, 168, 124, 0.25);
  color: var(--primary);
}

/* À préparer - Vert */
.notif-ready {
  background: rgba(39, 174, 96, 0.15);
  color: #69db7c;
  border-color: rgba(39, 174, 96, 0.3);
}
.notif-ready .notif-count {
  background: #27ae60;
  color: white;
}
.notif-ready:hover {
  background: rgba(39, 174, 96, 0.25);
  color: #69db7c;
}

/* Rupture de stock - Orange */
.notif-stock {
  background: rgba(230, 126, 34, 0.15);
  color: #ffa94d;
  border-color: rgba(230, 126, 34, 0.3);
}
.notif-stock .notif-count {
  background: #e67e22;
  color: white;
}
.notif-stock:hover {
  background: rgba(230, 126, 34, 0.25);
  color: #ffa94d;
}

/* Nouvelle demande de location - Violet */
.notif-rental {
  background: rgba(142, 68, 173, 0.15);
  color: #d4a3ff;
  border-color: rgba(142, 68, 173, 0.3);
}
.notif-rental .notif-count {
  background: #8e44ad;
  color: white;
}
.notif-rental:hover {
  background: rgba(142, 68, 173, 0.25);
  color: #d4a3ff;
}

/* Location en attente - Bleu */
.notif-rental-pending {
  background: rgba(52, 152, 219, 0.15);
  color: #74c0fc;
  border-color: rgba(52, 152, 219, 0.3);
}
.notif-rental-pending .notif-count {
  background: #3498db;
  color: white;
}
.notif-rental-pending:hover {
  background: rgba(52, 152, 219, 0.25);
  color: #74c0fc;
}

/* Status OK */
.ribbon-status-ok {
  color: #69db7c;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  background: rgba(39, 174, 96, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(39, 174, 96, 0.2);
}

/* Bouton admin */
.admin-ribbon-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: var(--primary);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  transition: var(--transition);
}

.admin-ribbon-btn:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
}

/* Notification badge dans le dropdown */
.dropdown-item-admin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--primary);
  color: var(--secondary);
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
}

/* Client notification badge */
.client-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #c9a227;
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  margin-left: 8px;
}

/* Responsive admin ribbon */
@media (max-width: 768px) {
  .admin-ribbon-inner {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .admin-ribbon-brand span:not(.admin-ribbon-icon) {
    display: none;
  }
  
  .admin-ribbon-notifications {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .ribbon-notif .notif-text {
    display: none;
  }
  
  .hide-mobile {
    display: none;
  }
  
  .admin-ribbon-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ================================
   Conversations (Client)
================================ */
.conv-container {
  max-width: 800px;
  margin: 0 auto;
}

.conv-header-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.conv-header-card h1 {
  margin: 0 0 12px 0;
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  word-break: break-word;
}

.conv-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.conv-status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.conv-status-badge.open {
  background: #e8f5e9;
  color: #2e7d32;
}

.conv-status-badge.closed {
  background: #f5f5f5;
  color: #666;
}

.conv-ref-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.conv-ref-badge.order {
  background: #e3f2fd;
  color: #1565c0;
}

.conv-ref-badge.rental {
  background: #f3e5f5;
  color: #7b1fa2;
}

.conv-messages-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.conv-bubble {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.conv-bubble-admin {
  border-left-color: #c9a227;
  background: #fffbf0;
  margin-right: 10%;
}

.conv-bubble-user {
  margin-left: 10%;
}

.conv-bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
  flex-wrap: wrap;
}

.conv-bubble-header strong {
  color: var(--primary-dark);
  font-size: 14px;
}

.conv-bubble-header small {
  color: var(--text-muted);
  font-size: 12px;
}

.conv-bubble p {
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
  word-break: break-word;
}

.conv-reply-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.conv-reply-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-dark);
}

.conv-textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 12px;
  resize: vertical;
  min-height: 100px;
  box-sizing: border-box;
}

.conv-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.conv-reply-submit {
  text-align: right;
}

.conv-closed-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.conv-closed-card p {
  margin: 0;
  color: var(--text-muted);
}

.conv-closed-card a {
  color: var(--primary-dark);
  font-weight: 500;
}

/* Conversation list */
.conv-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.conv-empty {
  text-align: center;
  padding: 60px 24px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.conv-empty-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

.conv-empty h3 {
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.conv-empty p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.conv-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.conv-list-item {
  display: block;
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.conv-list-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.conv-list-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 8px;
}

.conv-list-item-header h3 {
  margin: 0;
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  word-break: break-word;
}

.conv-list-item-ref {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.conv-list-item-date {
  color: var(--text-muted);
  font-size: 12px;
}

@media (max-width: 768px) {
  .conv-header-card {
    padding: 16px;
  }
  
  .conv-header-card h1 {
    font-size: 1.2rem;
  }

  .conv-bubble {
    padding: 12px;
  }

  .conv-bubble-admin {
    margin-right: 0;
  }

  .conv-bubble-user {
    margin-left: 0;
  }

  .conv-reply-card {
    padding: 16px;
  }

  .conv-textarea {
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .conv-list-item {
    padding: 16px;
  }

  .conv-list-item-header {
    flex-direction: column;
    gap: 6px;
  }

  .conv-list-item-header h3 {
    font-size: 1rem;
  }

  .conv-empty {
    padding: 40px 16px;
  }
}

/* ================================
   Section Facebook - Widget Personnalisé
================================ */
.facebook-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-dark) 100%);
  overflow: hidden;
}

.facebook-section .section-title {
  margin-bottom: 50px;
}

.facebook-custom-widget {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
}

/* Carte Facebook principale */
.fb-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.fb-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.fb-card-header {
  position: relative;
  height: 120px;
  background: linear-gradient(135deg, #1877f2 0%, #42a5f5 50%, var(--primary) 100%);
}

.fb-cover-gradient {
  position: absolute;
  inset: 0;
  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.08'%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");
}

.fb-profile-area {
  position: absolute;
  bottom: -40px;
  left: 24px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.fb-avatar {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  border: 4px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fb-avatar-letter {
  font-family: var(--font-heading);
  font-size: 40px;
  color: white;
  font-weight: 600;
}

.fb-profile-info {
  padding-bottom: 8px;
}

.fb-page-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: white;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.fb-page-type {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.fb-card-body {
  padding: 55px 24px 20px;
}

.fb-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.fb-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.fb-stat-icon {
  font-size: 24px;
}

.fb-stat-info {
  display: flex;
  flex-direction: column;
}

.fb-stat-number {
  font-weight: 700;
  color: var(--secondary);
  font-size: 15px;
}

.fb-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.fb-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fb-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-light);
  border-radius: 10px;
  font-size: 13px;
  color: var(--secondary);
  transition: var(--transition);
}

.fb-highlight:hover {
  background: var(--bg-dark);
  transform: translateX(3px);
}

.fb-highlight-icon {
  font-size: 18px;
}

.fb-card-footer {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fb-follow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: #1877f2;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.fb-follow-btn:hover {
  background: #166fe5;
  color: white;
  transform: scale(1.02);
}

.fb-message-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 500;
  border: 2px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.fb-message-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: #fff9f0;
}

/* Publications Facebook */
.fb-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fb-posts-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.fb-post-card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.fb-post-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
  border-left-color: #1877f2;
}

.fb-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.fb-post-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
}

.fb-post-meta {
  display: flex;
  flex-direction: column;
}

.fb-post-author {
  font-weight: 600;
  color: var(--secondary);
  font-size: 14px;
}

.fb-post-date {
  font-size: 12px;
  color: var(--text-muted);
}

.fb-post-content {
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.fb-post-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #1877f2;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.fb-post-link:hover {
  color: #166fe5;
  text-decoration: underline;
}

.fb-see-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  margin-top: 8px;
}

.fb-see-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
  color: white;
}

/* Responsive Facebook */
@media (max-width: 900px) {
  .facebook-custom-widget {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 420px;
    margin: 0 auto;
  }
  
  .fb-testimonials {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .fb-highlights {
    grid-template-columns: 1fr;
  }
  
  .fb-profile-area {
    left: 16px;
  }
  
  .fb-avatar {
    width: 70px;
    height: 70px;
  }
  
  .fb-avatar-letter {
    font-size: 32px;
  }
  
  .fb-card-body {
    padding: 45px 16px 20px;
  }
  
  .fb-card-footer {
    padding: 16px;
  }
}

/* Footer Facebook Button */
.footer-facebook-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 20px;
  background: #1877f2;
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-radius: 20px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-facebook-btn:hover {
  background: #166fe5;
  color: white;
  transform: translateY(-2px);
}

.footer-facebook-btn svg {
  flex-shrink: 0;
}

/* ================================
   Page Locations
================================ */

/* Grille des produits en location */
.rentals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

/* Carte de location */
.rental-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.rental-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.rental-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-light);
  min-height: 200px;
}

.rental-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.rental-card:hover .rental-image img {
  transform: scale(1.05);
}

.rental-image .no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 60px;
  color: var(--text-muted);
}

.rental-content {
  padding: 24px;
}

.rental-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.rental-description {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.rental-pricing {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.rental-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.price-unit {
  font-size: 14px;
  color: var(--text-muted);
}

.rental-deposit {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 6px 12px;
  border-radius: 20px;
}

/* Page détail location */
.rental-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.rental-detail-image {
  position: sticky;
  top: 100px;
}

.rental-detail-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.rental-detail-image .no-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 120px;
  color: var(--text-muted);
}

.rental-detail-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.rental-detail-pricing {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #fffdf8 0%, #fff9f0 100%);
  border-radius: 16px;
  border: 1px solid var(--primary-light);
  margin-bottom: 30px;
}

.rental-price-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.price-label {
  font-size: 16px;
  color: var(--text-muted);
}

.rental-deposit-info {
  padding-left: 24px;
  border-left: 2px solid var(--border);
}

.deposit-label {
  font-size: 14px;
  color: var(--text-muted);
}

.deposit-value {
  font-weight: 600;
  color: var(--secondary);
}

.rental-detail-description {
  margin-bottom: 30px;
}

.rental-detail-description h3 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.rental-detail-description p {
  color: var(--text);
  line-height: 1.8;
}

/* Formulaire de demande */
.rental-request-form {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.rental-request-form h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-light);
}

/* Calculateur de prix */
.price-calculator {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
}

.calc-total {
  font-weight: 700;
  font-size: 16px;
  color: var(--secondary);
  border-top: 2px solid var(--primary);
  margin-top: 12px;
  padding-top: 12px;
}

.form-note {
  text-align: center;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Info boxes */
.info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.info-box {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
}

.info-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.info-box h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.info-box p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.info-steps {
  text-align: left;
  padding-left: 20px;
  color: var(--text);
  font-size: 14px;
  line-height: 2;
}

/* Responsive location */
@media (max-width: 900px) {
  .rental-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .rental-detail-image {
    position: static;
  }
  
  .rental-detail-pricing {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .rental-deposit-info {
    padding-left: 0;
    padding-top: 16px;
    border-left: none;
    border-top: 1px solid var(--border);
    width: 100%;
  }
}

@media (max-width: 600px) {
  .rentals-grid {
    grid-template-columns: 1fr;
  }
  
  .rental-detail-title {
    font-size: 1.5rem;
  }
  
  .price-value {
    font-size: 1.5rem;
  }
  
  .rental-request-form {
    padding: 20px;
  }
}
