/*
Theme Name: Aglae theme
Description: Thème réalisé pour Aglaé Crée
Author: Simon MALRY
Template: storefront
Version: 1.0
*/

:root {
  --bg-marron: #40352C;
  --bg-decli1: #A68A7B;
  --bg-decli2: #BFA393;
  --bg-decli3: #D9C3B0;
  --bg-decli4: #F2E0C9;
  --bg-btn: #2B7DF2;
  --bg-body: #F0F2F0;
  --color-police: #6B5B4D;
}

@font-face {
  font-family: 'Capitolium';
  src: url('assets/fonts/Capitolium2\ Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Coolvetica-lt';
  src: url('assets/fonts/Coolvetica\ Light.ttf');
}

@font-face {
  font-family: 'Coolvetica-rg';
  src: url('assets/fonts/Coolvetica\ Regular.ttf');
}

body,
html {
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--bg-body);
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Capitolium';
}

/* ========================================
   NAVIGATION MOBILE SIMPLE - AGLAÉ CRÉE
   ======================================== */

/* Variables pour la navigation */
:root {
  --header-height: 80px;
  --mobile-menu-width: 320px;
  --animation-speed: 0.3s;
  --z-mobile-menu: 9999;
}

/* ========================================
   HEADER PRINCIPAL
   ======================================== */

.site-header.aglae-header {
  background-color: var(--bg-marron, #40352c);
  padding: 0 !important;
  margin-bottom: 2rem !important;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .col-full {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* ========================================
   LOGO ET BRANDING
   ======================================== */

.site-branding {
  flex: 1;
  text-align: left;
  margin: 0;
  max-width: fit-content !important;
  z-index: 101;
}

.site-branding img {
  max-width: 120px !important;
  height: auto;
  transition: transform 0.3s ease;
}

.site-branding img:hover {
  transform: scale(1.05);
}

.site-title {
  font-family: "Capitolium", serif;
  font-size: 1.5rem;
  color: white !important;
  text-decoration: none;
  font-weight: normal;
}

/* ========================================
   NAVIGATION DESKTOP
   ======================================== */

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  gap: 2rem;
}

.main-navigation ul.nav-menu>li>a {
  padding: 0.5em 1em !important;
}

.desktop-menu {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: white !important;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bg-btn, #2b7df2);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--bg-btn, #2b7df2) !important;
}

/* ========================================
   ACTIONS DE NAVIGATION
   ======================================== */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Panier */
.cart-link {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0 !important;
}

.cart-icon-wrapper {
  position: relative;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.cart-link:hover .cart-icon-wrapper {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.cart-icon {
  color: white;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--bg-btn, #2b7df2);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  animation: pulse 2s infinite;
}

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

/* ========================================
   BOUTON MENU MOBILE
   ======================================== */


.menu-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.burger-bar {
  display: block;
  width: 100%;
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: background 0.2s;
}

/* ========================================
   MENU MOBILE
   ======================================== */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: var(--z-mobile-menu);
  visibility: hidden;
  opacity: 0;
  transition: all var(--animation-speed) ease;
}

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

.mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  transition: all var(--animation-speed) ease;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--mobile-menu-width);
  max-width: 90vw;
  height: 100%;
  background: white;
  transform: translateX(100%);
  transition: transform var(--animation-speed) ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

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

/* Header du menu mobile */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-marron, #40352c);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo img {
  max-height: 40px;
  width: auto;
}

.mobile-site-title {
  font-family: "Capitolium", serif;
  font-size: 1.25rem;
  color: white;
  font-weight: normal;
}

.menu-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

/* ========================================
   NAVIGATION MOBILE - LIENS SIMPLES
   ======================================== */

.mobile-menu-nav {
  flex: 1;
  padding: 1rem 0;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu li:last-child {
  border-bottom: none;
}

.mobile-nav-menu a {
  display: block;
  padding: 1.25rem 1.5rem;
  color: var(--color-police, #6b5b4d) !important;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  border-left: 4px solid transparent;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu .current-menu-item a {
  background: var(--bg-decli4, #f2e0c9);
  color: var(--bg-marron, #40352c) !important;
  border-left-color: var(--bg-btn, #2b7df2);
  padding-left: 2rem;
}

/* Animation de l'indicateur */
.mobile-nav-menu a::before {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--bg-btn, #2b7df2);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-nav-menu a:hover::before,
.mobile-nav-menu .current-menu-item a::before {
  opacity: 1;
  right: 1rem;
}

/* ========================================
   ACTIONS DU MENU MOBILE
   ======================================== */

.mobile-menu-actions {
  padding: 1.5rem;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

.mobile-cart-link,
.mobile-account-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--color-police, #6b5b4d) !important;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
  position: relative;
  background: white;
  border: 2px solid #e8e3dd;
}

.mobile-cart-link:hover,
.mobile-account-link:hover {
  background: var(--bg-btn, #2b7df2);
  color: white !important;
  border-color: var(--bg-btn, #2b7df2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 125, 242, 0.3);
}

.mobile-cart-link:hover svg,
.mobile-account-link:hover svg {
  color: white;
}

.mobile-cart-link svg,
.mobile-account-link svg {
  color: var(--bg-btn, #2b7df2);
  transition: color 0.3s ease;
}

.mobile-cart-count {
  background: var(--bg-btn, #2b7df2);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: auto;
  transition: all 0.3s ease;
}

.mobile-cart-link:hover .mobile-cart-count {
  background: white;
  color: var(--bg-btn, #2b7df2);
}

/* ========================================
   FOOTER DU MENU MOBILE
   ======================================== */

.mobile-menu-footer {
  padding: 1.5rem;
  background: var(--bg-decli4, #f2e0c9);
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.mobile-menu-tagline {
  font-style: italic;
  color: var(--color-police, #6b5b4d);
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  font-family: "Capitolium", serif;
}

.mobile-social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.mobile-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  color: var(--bg-marron, #40352c);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-social-links a:hover {
  background: var(--bg-btn, #2b7df2);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(43, 125, 242, 0.4);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablettes et mobiles */
@media (max-width: 1024px) {
  .desktop-menu {
    display: none;
  }

  .menu-burger {
    display: flex;
  }

  .site-header .col-full {
    padding: 1rem 1.5rem;
  }

  .nav-actions {
    gap: 1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --mobile-menu-width: 300px;
  }

  .site-header .col-full {
    padding: 1rem;
  }

  .site-branding {
    text-align: center;
    flex: 1;
  }

  .site-branding img {
    max-width: 100px !important;
  }

  .nav-actions {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .cart-link {
    order: 1;
  }

  .menu-burger {
    order: 2;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  :root {
    --mobile-menu-width: 280px;
  }

  .mobile-menu-content {
    max-width: 95vw;
  }

  .mobile-menu-header {
    padding: 1rem;
  }

  .mobile-nav-menu a {
    padding: 1rem;
    font-size: 1rem;
  }

  .mobile-menu-actions {
    padding: 1rem;
  }

  .mobile-cart-link,
  .mobile-account-link {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .mobile-social-links a {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   ANIMATIONS ET EFFETS
   ======================================== */

/* Animation d'entrée des éléments du menu */
.mobile-nav-menu li {
  opacity: 0;
  transform: translateX(20px);
  animation: slideInLeft 0.3s ease forwards;
}

.mobile-nav-menu li:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-nav-menu li:nth-child(2) {
  animation-delay: 0.15s;
}
.mobile-nav-menu li:nth-child(3) {
  animation-delay: 0.2s;
}
.mobile-nav-menu li:nth-child(4) {
  animation-delay: 0.25s;
}
.mobile-nav-menu li:nth-child(5) {
  animation-delay: 0.3s;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation des actions */
.mobile-menu-actions > * {
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.3s ease forwards;
}

.mobile-cart-link {
  animation-delay: 0.4s;
}
.mobile-account-link {
  animation-delay: 0.45s;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Effet de focus pour l'accessibilité */
.menu-burger:focus,
.menu-close:focus,
.mobile-nav-menu a:focus,
.mobile-cart-link:focus,
.mobile-account-link:focus {
  outline: 2px solid var(--bg-btn, #2b7df2);
  outline-offset: 2px;
}

/* Désactiver le scroll du body quand le menu est ouvert */
body.mobile-menu-open {
  overflow: hidden;
}

/* ========================================
   CORRECTIONS SPÉCIFIQUES
   ======================================== */

/* Assurer que le menu ne déborde pas */
.mobile-menu-content {
  box-sizing: border-box;
}

.mobile-menu-content * {
  box-sizing: border-box;
}

/* Améliorer la lisibilité sur les petits écrans */
@media (max-width: 360px) {
  .mobile-nav-menu a {
    font-size: 0.95rem;
    padding: 0.9rem;
  }

  .site-branding img {
    max-width: 90px !important;
  }
}

/* États tactiles pour mobile */
@media (hover: none) and (pointer: coarse) {
  .mobile-nav-menu a:active {
    background: var(--bg-decli3, #d9c3b0);
    transform: scale(0.98);
  }

  .mobile-cart-link:active,
  .mobile-account-link:active {
    transform: scale(0.95);
  }
}

/* Hero Section Améliorée - Couleurs Aglaé Crée */
.hero-section {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Texte et contenu gauche */
.hero-text {
  padding-right: 2rem;
}

.hero-title {
  font-family: 'Capitolium', serif;
  font-weight: normal;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--bg-marron, #6b5b4d);
}

.hero-title-line {
  display: block;
  font-size: 0.8em;
  opacity: 0.9;
}

.hero-title-accent {
  display: block;
  position: relative;
}

.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--bg-btn, #4a90e2);
  transform: translateY(0.5rem);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #8a7a6b;
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.5;
}

/* Timer Section */
.hero-timer-section {
  margin-bottom: 2.5rem;
}

.collection-tag {
  font-size: 1.1rem;
  color: var(--bg-marron, #6b5b4d);
  margin-bottom: 1rem;
  font-weight: 500;
}

.countdown {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(107, 91, 77, 0.1);
  min-width: 80px;
}

.countdown-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--bg-btn, #4a90e2);
  line-height: 1;
}

.countdown-label {
  font-size: 0.8rem;
  color: #8a7a6b;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Bouton Hero - Caché par défaut */
.hero-button {
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.hero-button.show {
  opacity: 1;
  transform: translateY(0);
  display: block !important;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-btn, #4a90e2);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 0.375rem;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(74, 144, 226, 0.4);
  background: #357abd;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn svg {
  transition: transform 0.3s ease;
}

.hero-btn:hover svg {
  transform: translateX(3px);
}

/* Features */
.hero-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bg-marron, #6b5b4d);
  font-size: 0.95rem;
}

.hero-feature svg {
  color: var(--bg-btn, #4a90e2);
}

/* Image et contenu droit */
.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(107, 91, 77, 0.15);
  transform: perspective(1000px) rotateY(-3deg);
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-image-placeholder {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  background-color: var(--bg-decli3, #e8e3dd);
  min-height: 400px;
  object-fit: cover;
}

.hero-image-wrapper:hover .hero-image-placeholder {
  transform: scale(1.05);
}

.hero-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(74, 144, 226, 0.1);
  z-index: -1;
}

/* Responsive Design */

@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
  }

  .hero-container {
    padding: 4rem 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-text {
    padding-right: 0;
    text-align: center;
  }

  .hero-title-accent::after {
    left: 50%;
    transform: translateX(-50%) translateY(0.5rem);
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-features {
    justify-content: center;
  }

  .countdown {
    justify-content: center;
    flex-wrap: wrap;
  }

  .countdown-item {
    min-width: 70px;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 3rem 0;
  }

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

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

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-btn {
    width: 80%;
    justify-content: center;
  }

  .countdown {
    gap: 1rem;
  }

  .countdown-item {
    min-width: 60px;
    padding: 0.5rem 0.75rem;
  }

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

/* Shop Section */
.shop-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.shop-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 1;
}

.shop-half--top {
  top: 0;
  background: var(--bg-marron);
}

.shop-half--bottom {
  bottom: 0;
  background: var(--bg-body);
}

.shop-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem;
}

.shop-heading {
  color: white;
  text-align: center;
  margin-bottom: 3rem;
}

/* Enhanced Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  justify-items: center;
  width: 100%;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Enhanced Product Cards */
.product-card {
  display: flex;
  flex-direction: column;
  width: 80%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: white;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.product-image {
  background-color: var(--bg-decli2);
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

.product-badge--sale {
  background-color: #e53e3e;
  color: white;
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.product-title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.product-card:hover .product-title {
  color: var(--bg-marron, #8b4513);
}

.product-price {
  font-weight: 600;
  color: var(--bg-marron, #8b4513);
  margin-top: 0.25rem;
}

.product-price del {
  color: #888;
  font-weight: normal;
  margin-right: 0.5rem;
}

.product-price ins {
  text-decoration: none;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.star {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  font-size: 0.875rem;
  color: #d1d5db;
}

.star::before {
  content: "★";
  position: absolute;
  top: 0;
  left: 0;
}

.star--filled {
  color: #f59e0b;
}

.star--half::before {
  content: "★";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #f59e0b;
}

.rating-count {
  font-size: 0.75rem;
  color: #6b7280;
  margin-left: 0.25rem;
}

.product-category {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: auto;
}

.product-actions {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(-5px);
}

.add-to-cart-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background-color: var(--bg-marron, #8b4513) !important;
  color: white !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  padding: 0 !important;
  border: none !important;
  text-indent: 0 !important;
  position: relative;
  overflow: hidden;
}

.add-to-cart-icon:hover {
  background-color: var(--bg-marron-dark, #6b3410) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.add-to-cart-icon:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Shopping Cart Icon */
.cart-icon {
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'%3E%3C/path%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.add-to-cart-icon .cart-icon {
  margin: 0 auto;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Add to cart success animation */
.add-to-cart-icon.added::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 185, 129, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease forwards;
}

.add-to-cart-icon.added::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
  z-index: 2;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Optional: Add a subtle pulse effect on hover */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.add-to-cart-icon:hover {
  animation: pulse 1s infinite;
}

/* Contact Section - Style Aglaé Crée */
.contact-section {
  padding: 4rem 0;
  width: 100%;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
}

.contact-content {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-header {
  margin-bottom: 3rem;
  width: 100%;
}

.contact-title {
  font-family: 'Capitolium', serif;
  font-size: 2.5rem;
  color: var(--color-police);
  margin-bottom: 1rem;
  font-weight: normal;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #8a7a6b;
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.6;
}

/* Formulaire Style Aglaé - Centré et Sans Débordement */
.cf7-form {
  width: 100%;
  max-width: 700px;
  background: white;
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 32px rgba(107, 91, 77, 0.1);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  box-sizing: border-box;
}

.cf7-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4a90e2, #6b5b4d);
}

.cf7-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.cf7-row--submit {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cf7-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
  /* Empêche le débordement */
}

.cf7-field--full {
  flex: 1 1 100%;
  width: 100%;
}

.cf7-form label {
  font-family: 'Capitolium', serif;
  font-size: 1rem;
  color: var(--color-police);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.input-field {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  border: 2px solid #e8e3dd;
  background: #fafaf9;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-police);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.input-field::placeholder {
  color: #a8998a;
  opacity: 0.8;
}

.input-field:focus {
  border-color: #4a90e2;
  background: white;
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
  transform: translateY(-1px);
}

/* Textarea specific styling */
textarea.input-field {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

/* Submit Button - Style Aglaé - CENTRÉ */
.cf7-row--submit {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn-contact,
.wpcf7-submit {
  background: linear-gradient(135deg, #4a90e2, #357abd) !important;
  color: white !important;
  padding: 1rem 3rem !important;
  border: none !important;
  border-radius: 0.375rem !important;
  font-family: inherit !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(74, 144, 226, 0.3);
  position: relative;
  overflow: hidden;
  text-transform: none !important;
  display: inline-block !important;
  margin: 0 auto !important;
}

.btn-contact::before,
.wpcf7-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-contact:hover::before,
.wpcf7-submit:hover::before {
  left: 100%;
}

.btn-contact:hover,
.wpcf7-submit:hover {
  background: linear-gradient(135deg, #357abd, #2a5f8f) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* Force le centrage avec des règles spécifiques pour CF7 */
.wpcf7-form .cf7-row--submit {
  text-align: center !important;
}

.wpcf7-form .cf7-row--submit input[type="submit"] {
  margin: 0 auto !important;
  display: inline-block !important;
}

.wpcf7-spinner {
  display: none !important;
  /* Cacher le spinner de CF7 */
}

/* Mobile - Bouton centré */
@media (max-width: 768px) {

  .btn-contact,
  .wpcf7-submit {
    width: auto !important;
    padding: 1.25rem 2.5rem !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .cf7-row--submit {
    text-align: center !important;
  }
}

/* Form validation messages */
.wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.wpcf7-validation-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #dc2626;
  text-align: center;
}

.wpcf7-mail-sent-ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #166534;
  text-align: center;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 0;
  }

  .contact-container {
    padding: 0 1rem;
  }

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

  .cf7-form {
    padding: 2rem 1.5rem;
    margin: 0;
  }

  .cf7-row {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-contact,
  .wpcf7-submit {
    width: 100% !important;
    padding: 1.25rem 2rem !important;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 0 0.5rem;
  }

  .cf7-form {
    padding: 1.5rem 1rem;
  }
}

/* Remove default CF7 styles */
.wpcf7-form p {
  margin: 0;
}

.wpcf7-form br {
  display: none;
}

/* Ensure proper box-sizing for all elements */
.cf7-form *,
.cf7-form *::before,
.cf7-form *::after {
  box-sizing: border-box;
}

/* Footer */
.site-footer {
  background: var(--bg-marron, #6b5b4d);
  color: #f5f3f0;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 2rem 0;
}

/* Section Logo et Marque */
.footer-brand {
  max-width: 320px;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  max-height: 60px;
  width: auto;
}

.footer-logo-text {
  font-family: 'Capitolium', serif;
  font-size: 1.75rem;
  color: white;
  margin: 0;
  font-weight: normal;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d4c4b0;
  margin-bottom: 1.5rem;
}

/* Réseaux sociaux */
.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(245, 243, 240, 0.1);
  border-radius: 50%;
  color: #f5f3f0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--bg-btn, #4a90e2);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Titres des sections */
.footer-title {
  font-family: 'Capitolium', serif;
  font-size: 1.2rem;
  color: white !important;
  margin-bottom: 1.5rem;
  font-weight: 500;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--bg-btn, #4a90e2);
}

/* Menus du footer */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu a {
  color: #d4c4b0 !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-menu a:hover {
  color: white !important;
  padding-left: 0.5rem;
}

.footer-menu a::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--bg-btn, #4a90e2);
  transition: width 0.3s ease;
}

.footer-menu a:hover::before {
  width: 0.25rem;
}

/* Section Contact */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #d4c4b0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-item svg {
  margin-top: 0.1rem;
  flex-shrink: 0;
  color: var(--bg-btn, #4a90e2);
}

/* Barre de copyright */
.footer-bottom {
  border-top: 1px solid rgba(245, 243, 240, 0.15);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  margin: 0;
  color: #d4c4b0;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #d4c4b0 !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}

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

.footer-legal a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--bg-btn, #4a90e2);
  transition: width 0.3s ease;
}

.footer-legal a:hover::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 0 2rem 0;
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 1rem;
  }

  .footer-content {
    padding: 2rem 0 1.5rem 0;
    gap: 2rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }
}

/* Animation d'apparition */
.site-footer {
  animation: fadeInUp 0.6s ease-out;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Grille principale - Compatible avec toutes les pages */
.products-grid,
.products-grid.aglae-products-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  justify-items: center;
  width: 100%;
  margin: 0 !important;
  list-style: none !important;
  padding: 0 !important;
}

/* Cartes produits - Design unifié pour toutes les pages */
.product-card,
.aglae-product-card,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  flex-direction: column;
  width: 80%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: white;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.product-card:hover,
.aglae-product-card:hover,
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Liens produits */
.product-link,
.product-image-link,
.woocommerce ul.products li.product a,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Conteneur d'image */
.product-image-container,
.product-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1;
}

/* Images produits */
.product-image,
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
  background-color: var(--bg-decli2);
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  margin: 0 !important;
}

.product-card:hover .product-image,
.aglae-product-card:hover .product-image,
.woocommerce ul.products li.product:hover img,
.woocommerce ul.products li.product:hover .attachment-woocommerce_thumbnail {
  transform: scale(1.05);
}

/* Badges de promotion */
.product-badge,
.product-badge--sale,
.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
  background-color: #e53e3e !important;
  color: white !important;
  margin: 0 !important;
}

/* Informations produit */
.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

/* Titres produits */
.product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-size: 1rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
  transition: color 0.3s ease;
  line-height: 1.4;
  padding: 0 !important;
  color: inherit !important;
}

.product-card:hover .product-title,
.aglae-product-card:hover .product-title,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product:hover h2 {
  color: var(--bg-marron, #8b4513) !important;
}

@media (max-width: 1024px) {

  .products-grid,
  .products-grid.aglae-products-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  .product-card .product-actions {
    opacity: 1;
  }
}

@media (max-width: 768px) {

  .products-grid,
  .products-grid.aglae-products-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .product-info {
    padding: 1rem;
  }

  .product-title,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem !important;
  }

  .product-price,
  .woocommerce ul.products li.product .price {
    font-size: 1rem !important;
  }

  .add-to-cart-button,
  .add-to-cart-icon,
  .woocommerce ul.products li.product .button {
    width: 40px !important;
    height: 40px !important;
  }
}

@media (max-width: 480px) {

  .products-grid,
  .products-grid.aglae-products-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}