/* =========================
   ÉSTIA JEWELRY – PREMIUM VERSION
========================= */

/* ===== VARIABLES ===== */
:root {
  --gold: #C6A84F;
  --gold-light: #E5C97A;
  --black: #0a0a0a;
  --white: #fff;
  --cream: #FAF8F4;
  --gray-light: #f4f2ee;
  --text: #1a1a1a;
  --text-muted: #888;
}

/* ===== GLOBAL ===== */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== TOP BAR ===== */
.top-bar {
  height: 36px;
  background: var(--black);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  overflow: hidden;
}

.top-bar p {
  margin: 0;
  white-space: nowrap;
  animation: scrollText 18s linear infinite;
}

@keyframes scrollText {
  from { transform: translateX(60%); }
  to { transform: translateX(-100%); }
}

/* ===== HEADER ===== */
.main-header {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  z-index: 1000;
  box-sizing: border-box;
  transition: all 0.4s ease;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}

.header-left i {
  font-size: 18px;
  cursor: pointer;
  color: white;
  transition: color 0.3s;
}

.logo {
  flex: 1;
  text-align: center;
}

.logo a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
}

.logo span {
  color: white;
  transition: color 0.3s;
}

.header-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex: 1;
}

.header-icons i {
  font-size: 18px;
  cursor: pointer;
  color: white;
  transition: color 0.3s;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

#cartCount {
  font-size: 12px;
  color: white;
  transition: color 0.3s;
}

/* Header scrolled */
.main-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  top: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}

.main-header.scrolled .header-left i,
.main-header.scrolled .header-icons i {
  color: var(--text);
}

.main-header.scrolled .logo span {
  color: var(--text);
}

.main-header.scrolled #cartCount {
  color: var(--text);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: #1a1410;
  background-image: linear-gradient(to right, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.15) 100%),
                    url('../images/Bague Ondine 1.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
  padding-top: 106px;
  color: white;
}

.hero-content {
  max-width: 520px;
  animation: fadeUp 1s ease both;
}

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

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
  font-weight: 400;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 2px;
  margin: 0 0 24px;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.85;
  margin: 0 0 40px;
  line-height: 1.8;
}

.hero-btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--gold);
  color: white;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  transition: left 0.3s ease;
  z-index: -1;
}

.hero-btn:hover::before { left: 0; }
.hero-btn:hover { color: var(--black); }

/* ===== ABOUT SECTION ===== */
.about-section {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 520px;
  background: var(--cream);
}

.about-image {
  flex: 1;
  min-height: 520px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-text {
  flex: 1;
  padding: 60px 70px;
}

.about-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
  font-weight: 500;
}

.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 28px;
  color: var(--black);
}

.about-text h2 em {
  font-style: italic;
  color: var(--gold);
}

.about-text p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin: 0 0 16px;
  font-weight: 300;
}

.about-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 13px 32px;
  background: var(--black);
  color: white;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
}

.about-btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
  padding: 90px 60px;
  background: var(--white);
}

.section-title {
  text-align: center;
  margin: 0 0 60px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--black);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.category-card {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.category-img-wrap {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: var(--gray-light);
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.06);
}

.category-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e0d0, #d4c8b0);
}

.category-placeholder i {
  font-size: 48px;
  color: var(--gold);
  opacity: 0.5;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
  transition: background 0.3s;
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
}

.category-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.category-label span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.category-label i {
  font-size: 14px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
  color: var(--gold);
}

.category-card:hover .category-label i {
  opacity: 1;
  transform: translateX(0);
}

/* ===== PRODUCT GRID (pour autres pages) ===== */
#productGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 60px 80px;
}

.product-card {
  background: var(--white);
  border: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
  border-radius: 4px;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.product-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 2px;
}

.product-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  margin: 14px 0 6px;
  letter-spacing: 1px;
}

.product-card p {
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 14px;
}

.view-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--black);
  color: white;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.view-btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: #aaa;
  padding: 70px 40px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.footer-title {
  color: white;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 300;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
  border-top: 1px solid #222;
  padding-top: 24px;
  color: #555;
}

/* ===== MOBILE MENU ===== */
.mobile-nav {
  position: fixed;
  top: 0; left: 0;
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 3000;
  padding: 80px 35px;
  transition: transform 0.35s ease;
  transform: translateX(-100%);
  box-shadow: 5px 0 30px rgba(0,0,0,0.12);
}

.mobile-nav.active { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 45px;
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 600;
}

.mobile-menu-header i { font-size: 18px; cursor: pointer; }

.menu-section a {
  display: block;
  margin-bottom: 22px;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text);
  font-weight: 400;
  transition: all 0.3s;
  padding-left: 0;
}

.menu-section a:hover {
  color: var(--gold);
  padding-left: 8px;
}

.menu-section a i {
  margin-right: 12px;
  width: 18px;
  color: var(--gold);
}

.menu-divider {
  height: 1px;
  background: #eee;
  margin: 28px 0;
}

.logout { color: #b02a2a !important; }
.logout:hover { color: red !important; }

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2500;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== PRODUCT PAGE ===== */
.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1100px;
  margin: 100px auto;
  padding: 20px 40px;
  align-items: flex-start;
  justify-content: center;
}

.product-page-image {
  width: 100%;
  max-width: 480px;
  height: 480px;
  object-fit: cover;
  border-radius: 4px;
}

.product-page-info { flex: 1; min-width: 300px; }

.price {
  font-size: 26px;
  margin: 20px 0;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
}

.add-to-cart-btn {
  padding: 14px 32px;
  background: var(--black);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
}

.add-to-cart-btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===== RELATED PRODUCTS ===== */
.related-products {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 40px;
  justify-content: center;
}

.related-products .product-card { width: 230px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .category-img-wrap { height: 340px; }
}

@media (max-width: 768px) {
  .hero { padding: 0 6%; padding-top: 106px; justify-content: center; text-align: center; }
  .hero-content h1 { font-size: 48px; }

  .about-section { flex-direction: column; }
  .about-image { min-height: 300px; width: 100%; }
  .about-image img { height: 300px; }
  .about-text { padding: 50px 30px; }
  .about-text h2 { font-size: 34px; }

  .categories-section { padding: 60px 20px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-img-wrap { height: 220px; }

  #productGrid { padding: 0 20px 60px; }

  .related-products .product-card { width: 45%; }

  .product-container { padding: 20px; margin-top: 80px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 38px; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-img-wrap { height: 180px; }
  .category-label span { font-size: 13px; }
}

/* =========================
   AJOUT CSS – PAGES PRODUITS
   À coller à la fin de style.css
========================= */

/* ===== PAGE HERO (products.html) ===== */
.page-hero {
  padding: 140px 60px 60px;
  text-align: center;
  background: var(--cream);
}

.page-hero .hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 400;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  margin: 0 0 24px;
  letter-spacing: 3px;
  color: var(--black);
}

.page-hero-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
}

/* ===== LISTE PRODUITS ALTERNÉE ===== */
.products-list-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 60px;
}

.product-list-item {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 100px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
}

.product-list-item:nth-child(2) { animation-delay: 0.1s; }
.product-list-item:nth-child(3) { animation-delay: 0.2s; }
.product-list-item:nth-child(4) { animation-delay: 0.3s; }

.product-list-item.reverse {
  flex-direction: row-reverse;
}

.pli-image {
  flex: 1;
  overflow: hidden;
  border-radius: 2px;
}

.pli-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.pli-image:hover img {
  transform: scale(1.04);
}

.pli-info {
  flex: 1;
  padding: 20px 0;
}

.pli-category {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 500;
}

.pli-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  margin: 0 0 20px;
  letter-spacing: 1px;
  line-height: 1.2;
  color: var(--black);
}

.pli-description {
  font-size: 14px;
  line-height: 1.9;
  color: #666;
  font-weight: 300;
  margin: 0 0 24px;
}

.pli-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--gold);
  font-weight: 400;
  margin: 0 0 32px;
}

.pli-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pli-btn-cart {
  padding: 14px 32px;
  background: var(--black);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s;
}

.pli-btn-cart:hover {
  background: var(--gold);
  color: var(--black);
}

.pli-btn-view {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 500;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: all 0.3s;
}

.pli-btn-view:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Séparateur entre produits */
.product-list-item:not(:last-child)::after {
  content: none;
}

/* Message vide */
.empty-message {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  color: #999;
  gap: 20px;
}

.empty-message i {
  font-size: 48px;
  color: var(--gold);
  opacity: 0.4;
}

.empty-message p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

/* ===== PAGE DÉTAIL PRODUIT ===== */
.product-detail-main {
  padding-top: 106px;
}

.product-detail-container {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 60px;
}

.product-detail-image {
  flex: 1;
  overflow: hidden;
  border-radius: 2px;
}

.product-detail-image img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.product-detail-image:hover img {
  transform: scale(1.03);
}

.product-detail-info {
  flex: 1;
  padding: 20px 0;
}

.product-detail-category {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 500;
}

.product-detail-category a {
  color: var(--gold);
  transition: opacity 0.3s;
}

.product-detail-category a:hover { opacity: 0.7; }

.product-detail-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  margin: 0 0 24px;
  line-height: 1.15;
  letter-spacing: 1px;
  color: var(--black);
}

.product-detail-divider {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 28px;
}

.product-detail-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--gold);
  font-weight: 400;
  margin: 0 0 24px;
}

.product-detail-desc {
  font-size: 14px;
  line-height: 1.9;
  color: #666;
  font-weight: 300;
  margin: 0 0 28px;
}

.product-detail-cities {
  font-size: 12px;
  color: #999;
  letter-spacing: 1px;
  margin-bottom: 36px;
}

.product-detail-cities i {
  color: var(--gold);
  margin-right: 6px;
}

.product-detail-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--black);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s;
  margin-bottom: 20px;
  width: 100%;
}

.product-detail-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.product-detail-back {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  color: #999;
  transition: color 0.3s;
}

.product-detail-back:hover { color: var(--gold); }

/* ===== PRODUITS SIMILAIRES ===== */
.similar-section {
  background: var(--cream);
  padding: 70px 60px;
  margin-top: 60px;
}

.similar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  text-align: center;
  margin: 0 0 50px;
  color: var(--black);
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.similar-card a {
  display: block;
  color: inherit;
}

.similar-card-img {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 16px;
}

.similar-card-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.similar-card-info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 6px;
  letter-spacing: 1px;
}

.similar-card-info p {
  font-size: 14px;
  color: var(--gold);
  margin: 0;
  font-weight: 500;
}

/* ===== RESPONSIVE PRODUITS ===== */
@media (max-width: 900px) {
  .product-list-item,
  .product-list-item.reverse {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 70px;
  }

  .pli-image img { height: 320px; }
  .pli-name { font-size: 32px; }

  .products-list-section { padding: 50px 24px; }
  .page-hero { padding: 120px 24px 50px; }
  .page-hero h1 { font-size: 36px; }

  .product-detail-container {
    flex-direction: column;
    padding: 0 24px;
    gap: 40px;
  }

  .product-detail-image img { height: 360px; }
  .product-detail-name { font-size: 36px; }
  .similar-section { padding: 50px 24px; }
}

/* =========================
   AJOUT CSS – PANIER & CHECKOUT
   À coller à la fin de style.css
========================= */

/* ===== PANIER ===== */
.cart-main {
  padding-top: 106px;
  min-height: 80vh;
}

.cart-layout {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 60px 100px;
  align-items: flex-start;
}

.cart-items-section {
  flex: 1.5;
}

/* Article panier */
.cart-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #f0ece4;
  position: relative;
  animation: fadeUp 0.5s ease both;
}

.cart-item-image {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 2px;
}

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

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}

.cart-item-price {
  font-size: 13px;
  color: #888;
  margin: 0 0 6px;
  font-weight: 300;
}

.cart-item-qty {
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
}

.cart-item-subtotal {
  font-size: 14px;
  color: var(--gold);
  margin: 0;
}

.cart-item-remove {
  position: absolute;
  top: 28px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #bbb;
  font-size: 16px;
  transition: color 0.3s;
  padding: 4px;
}

.cart-item-remove:hover { color: #c0392b; }

/* Panier vide */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  text-align: center;
  gap: 20px;
}

.cart-empty i {
  font-size: 52px;
  color: var(--gold);
  opacity: 0.35;
}

.cart-empty p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: #888;
  margin: 0;
}

/* Résumé panier */
.cart-summary-box {
  flex: 0.8;
  background: var(--cream);
  padding: 40px 36px;
  position: sticky;
  top: 120px;
}

.cart-summary-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0 0 30px;
  color: var(--black);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
  font-weight: 300;
}

.cart-summary-divider {
  height: 1px;
  background: #e0dbd0;
  margin: 20px 0;
}

.cart-summary-total {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 28px;
}

.cart-checkout-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--black);
  color: white;
  text-align: center;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  margin-bottom: 16px;
}

.cart-checkout-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.cart-continue-link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #999;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.cart-continue-link:hover { color: var(--gold); }

/* ===== CHECKOUT ===== */
.checkout-main {
  padding-top: 106px;
  min-height: 80vh;
}

.checkout-layout {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 60px 100px;
  align-items: flex-start;
}

.checkout-form-section {
  flex: 1.3;
}

.checkout-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0 0 32px;
  color: var(--black);
}

.checkout-section-title i {
  color: var(--gold);
  margin-right: 10px;
  font-size: 18px;
}

/* Formulaire */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 14px 16px;
  border: 1px solid #e0dbd0;
  background: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group input::placeholder {
  color: #bbb;
  font-weight: 300;
}

.checkout-submit-btn {
  padding: 18px;
  background: var(--black);
  color: white;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  margin-top: 10px;
}

.checkout-submit-btn:hover:not(:disabled) {
  background: var(--gold);
  color: var(--black);
}

.checkout-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Messages */
.order-message {
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-message.success {
  background: #f0faf4;
  color: #2d7a4f;
  border-left: 3px solid #2d7a4f;
}

.order-message.error {
  background: #fdf0f0;
  color: #c0392b;
  border-left: 3px solid #c0392b;
}

/* Résumé checkout */
.checkout-summary-box {
  flex: 0.9;
  background: var(--cream);
  padding: 40px 36px;
  position: sticky;
  top: 120px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}

.checkout-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.checkout-item-left img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 2px;
}

.checkout-item-name {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--black);
}

.checkout-item-qty {
  font-size: 12px;
  color: #999;
  margin: 0;
  font-weight: 300;
}

.checkout-item-price {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.checkout-summary-divider {
  height: 1px;
  background: #e0dbd0;
  margin: 20px 0;
}

.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 24px;
}

.checkout-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #999;
  letter-spacing: 1px;
}

.checkout-secure i {
  color: var(--gold);
  font-size: 12px;
}

.checkout-empty {
  text-align: center;
  padding: 30px 0;
}

/* ===== RESPONSIVE PANIER & CHECKOUT ===== */
@media (max-width: 900px) {
  .cart-layout,
  .checkout-layout {
    flex-direction: column;
    padding: 40px 24px 80px;
    gap: 40px;
  }

  .cart-summary-box,
  .checkout-summary-box {
    position: static;
    width: 100%;
  }
}

/* =========================
   AJOUT CSS – PAGE CONFIRMATION
   À coller à la fin de style.css
========================= */

.confirmation-main {
  padding-top: 106px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding-bottom: 80px;
}

.confirmation-box {
  text-align: center;
  max-width: 600px;
  padding: 60px 40px;
  background: white;
  box-shadow: 0 10px 60px rgba(0,0,0,0.06);
  animation: fadeUp 0.8s ease both;
}

.confirmation-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 28px;
}

.confirmation-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
  font-weight: 500;
}

.confirmation-box h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  margin: 0 0 20px;
  color: var(--black);
}

.confirmation-text {
  font-size: 14px;
  line-height: 1.9;
  color: #666;
  font-weight: 300;
  margin: 24px 0 28px;
}

.confirmation-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #d1fae5;
  padding: 14px 20px;
  margin-bottom: 32px;
  font-size: 13px;
  color: #2d7a4f;
  border-radius: 2px;
}

.confirmation-whatsapp i {
  font-size: 20px;
  color: #25D366;
}

.confirmation-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--black);
  color: white;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
}

.confirmation-btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* =========================
   AJOUT CSS – PAGES LÉGALES
   À coller à la fin de style.css
========================= */

.legal-main {
  padding-top: 106px;
  min-height: 80vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px 100px;
}

.legal-section {
  margin-bottom: 48px;
  animation: fadeUp 0.5s ease both;
}

.legal-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0ece4;
}

.legal-section p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  font-weight: 300;
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.legal-section ul li {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  font-weight: 300;
  padding: 6px 0 6px 20px;
  position: relative;
}

.legal-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.legal-section a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.legal-section a:hover {
  border-color: var(--gold);
}

@media (max-width: 768px) {
  .legal-content { padding: 40px 24px 80px; }
  .legal-section h2 { font-size: 22px; }
}

/* =========================
   AJOUT CSS – BARRE DE RECHERCHE
   À coller à la fin de style.css
========================= */

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: white;
  padding: 0;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.search-overlay.active {
  transform: translateY(0);
}

.search-overlay-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-overlay-inner input {
  flex: 1;
  border: none;
  border-bottom: 1px solid #e0dbd0;
  padding: 12px 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1px;
  outline: none;
  color: var(--black);
  background: transparent;
}

.search-overlay-inner input::placeholder {
  color: #ccc;
  font-style: italic;
}

.search-overlay-inner input:focus {
  border-bottom-color: var(--gold);
}

.search-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  font-size: 20px;
  transition: color 0.3s;
  padding: 8px;
}

.search-close-btn:hover { color: var(--black); }

/* Résultats */
.search-results {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px 28px;
  max-height: 60vh;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.search-result-item:hover { padding-left: 8px; }

.search-result-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
}

.search-result-info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 3px;
}

.search-result-info p {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
}

.search-no-result {
  text-align: center;
  padding: 30px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: #ccc;
  font-style: italic;
}

.search-hint {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  color: #ccc;
  letter-spacing: 1px;
}