@charset "UTF-8";
:root {
  --black: #000000;
  --white: #ffffff;
  --gold: #d4af37;
  --gradient: linear-gradient(90deg, #FF5C7A, #FF8A3D);
  --sanguine: #FF5C7A;
  --orange: #FF8A3D;
  --sanguine-rgb: 255, 92, 122;
  --orange-rgb: 255, 138, 61;
  --vh: 100%;
}

/* Dashboard global */
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
  display: contents !important; /* supprime leur layout */
}

.btn-sm {
  padding: 0.5em 1em !important;
  font-size: 0.975em !important;
  font-weight: 200;
}

/* Section shop */
.shop {
  padding: 3rem 2rem !important;
  background: #ffffff !important;
  min-height: 100vh;
  margin: auto 0;
}

.head {
  height: 20em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
}

.section-title {
  font-size: clamp(1.3em, 5vh, 2.4rem);
  text-align: center;
  margin-bottom: 3rem;
  font-family: "Playfair Display", serif;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  margin: 1rem 0;
  border-radius: 4px;
}

@media (max-width: 991px) {
  .shop .section-title::after {
    margin: 1rem auto 1rem;
  }
}

.category-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-family: "Playfair Display", serif;
  position: relative;
}

/* Grille produits */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, max-content));
  gap: 2rem;
  justify-content: start !important;
  margin-bottom: 2rem;
}

.shop .badge-sale {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.glow-gradient {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 -6px 15px rgba(255, 92, 122, 0.3), 8px 0 20px rgba(255, 138, 61, 0.3), -8px 0 20px rgba(255, 92, 122, 0.3);
  animation: glowPulse 4s ease-in-out infinite;
}

.glow-box {
  background: #222;
  box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #fff;
}

/* Animation respirante */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 -6px 15px rgba(255, 92, 122, 0.3), 8px 0 20px rgba(255, 138, 61, 0.3), -8px 0 20px rgba(255, 92, 122, 0.3);
  }
  50% {
    box-shadow: 0 -12px 25px rgba(255, 92, 122, 0.6), 14px 0 35px rgba(255, 138, 61, 0.6), -14px 0 35px rgba(255, 92, 122, 0.6);
  }
}
/* Carte produit compacte */
.shop .product-card {
  text-align: center;
  background: var(--gradient);
  color: var(--white);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  max-width: 320px; /* limite la largeur */
  min-height: 300px;
  padding: 5em 0 2em 0;
  margin: auto;
  z-index: 1 !important;
}
@media (min-width: 568px) {
  .shop .product-card {
    border-radius: 25em;
  }
}
@media (max-width: 567px) {
  .shop .product-card {
    border-radius: 25em;
  }
}

.shop .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* Image produit */
.shop .product-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  height: 250px; /* fixe la hauteur */
}

.shop .product-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* garde le ratio, coupe si besoin */
  transition: transform 0.5s ease;
  zoom: -1;
}

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

/* Infos produit compactes */
.shop .product-info {
  padding: 1rem 1.2rem;
}

.shop .product-title {
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 auto 1em;
  line-height: 1.3;
  height: 75px;
  max-width: 230px;
  font-family: "Playfair Display", serif;
}

.shop .product-excerpt {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 1rem;
  min-height: 130px; /* bloque la hauteur du texte */
}

/* Footer produit aligné */
.shop .product-footer {
  display: block;
}
.shop .product-footer a, .shop .product-footer .price {
  display: block;
  margin-bottom: 1em;
}
.shop .product-footer .btn-gradient {
  font-size: 1em !important;
}

.shop .price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #000;
}

.dashboard {
  display: grid !important;
  grid-template-columns: 260px 1fr !important; /* Sidebar fixe + contenu */
  min-height: 80vh;
  background: #fafafa;
  border-radius: 16px;
  overflow: hidden;
  margin: 3rem auto;
  max-width: 1400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Sidebar desktop */
.sidebar {
  width: 260px;
  background: var(--black);
  color: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar h2 {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
}

.sidebar nav a {
  display: block;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  border-radius: 8px;
  color: #ccc;
  font-weight: 400;
  transition: all 0.3s ease;
}

.sidebar nav a:hover,
.sidebar nav .is-active {
  background: var(--gradient);
  color: var(--white);
  font-weight: 500;
}

/* Bouton hamburger (caché en desktop) */
.sidebar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.sidebar-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Contenu */
.dashboard-content {
  padding: 3rem 4rem;
  background: #fff;
}

.dashboard-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-family: "SF Pro Display", serif;
}

.dashboard-content p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 992px) {
  .dashboard {
    grid-template-columns: 1fr;
  }
  .sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-toggle {
    display: flex;
  }
  .sidebar nav {
    display: none;
    flex-direction: column;
    margin-top: 1rem;
    width: 100%;
  }
  .sidebar.open nav {
    display: flex;
  }
  .sidebar.open .sidebar-toggle span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
  }
  .sidebar.open .sidebar-toggle span:nth-child(2) {
    opacity: 0;
  }
  .sidebar.open .sidebar-toggle span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
  }
  .dashboard-content {
    padding: 2rem;
  }
}
/* === FORMS PREMIUM === */
.woocommerce form .form-row {
  margin-bottom: 1.5rem;
}

.woocommerce form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #444;
}

.woocommerce form input.input-text,
.woocommerce form textarea,
.woocommerce form select {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
}

.woocommerce form input.input-text:focus,
.woocommerce form textarea:focus,
.woocommerce form select:focus {
  border-color: #FF5C7A;
  box-shadow: 0 0 0 3px rgba(255, 92, 122, 0.2);
  outline: none;
}

/* Boutons */
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover {
  background: transparent;
  color: #FF5C7A;
  border: 1px solid #FF5C7A;
}

/* Messages WooCommerce */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.woocommerce-error {
  border: 1px solid #ff5c7a;
  background: rgba(255, 92, 122, 0.1);
  color: #ff1e4d;
}

.woocommerce-info {
  border: 1px solid #0073aa;
  background: rgba(0, 115, 170, 0.1);
  color: #004f75;
}

.woocommerce-message {
  border: 1px solid #28a745;
  background: rgba(40, 167, 69, 0.1);
  color: #1e7e34;
}

/* === CHECKOUT PREMIUM === */
.checkout-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}
.checkout-review {
  padding-top: 2rem;
}

.woocommerce-shipping-fields {
  display: none !important;
}

/* Sections */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-family: "SF Pro Display", serif;
}

/* Inputs */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fafafa;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: #FF5C7A;
  box-shadow: 0 0 0 3px rgba(255, 92, 122, 0.15);
  background: #fff;
  outline: none;
}

/* --- Select natif (avec chevron) --- */
.woocommerce form .form-row select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.5rem; /* place pour la flèche */
  cursor: pointer;
  /* chevron en SVG inline (couleur #777) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 14px 14px;
}

/* Masquer la flèche IE/Edge Legacy */
.woocommerce form .form-row select::-ms-expand {
  display: none;
}

/* Hover & focus */
.woocommerce form .form-row select:hover {
  border-color: #cfcfcf;
}

.woocommerce form .form-row select:focus {
  outline: none;
  border-color: #6b8cff;
  box-shadow: 0 0 0 3px rgba(107, 140, 255, 0.15);
  background-color: #fff;
}

/* Disabled */
.woocommerce form .form-row select:disabled {
  color: #999;
  background-color: #f1f1f1;
  cursor: not-allowed;
}

/* Invalid (HTML5) */
.woocommerce form .form-row select:invalid {
  border-color: #ff6b6b;
}

/* Multiple / size > 1 : pas de chevron + padding normal */
.woocommerce form .form-row select[multiple],
.woocommerce form .form-row select[size]:not([size="1"]) {
  background-image: none;
  padding-right: 1.2rem;
  height: auto;
  min-height: 3rem;
  cursor: default;
}

/* Options (facultatif) */
.woocommerce form .form-row select option {
  color: #333;
}

/* --- Compat : petit réglage de line-height pour un meilleur alignement vertical --- */
.woocommerce form .form-row select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  line-height: 1.2;
}

/* ================================
   Select2 (WooCommerce)
   ================================ */
.select2-container .select2-selection--single {
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 48px;
  padding: 0 2.5rem 0 1.2rem; /* place flèche + padding gauche */
  color: #333;
}

.select2-container .select2-selection--single .select2-selection__arrow {
  height: 48px;
  right: 0.6rem;
}

/* Hover / Focus */
.select2-container--default .select2-selection--single:hover {
  border-color: #cfcfcf;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default .select2-selection--single:focus {
  border-color: #6b8cff;
  box-shadow: 0 0 0 3px rgba(107, 140, 255, 0.15);
  background: #fff;
}

/* Dropdown */
.select2-container .select2-dropdown {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.select2-container .select2-results__option {
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.select2-container .select2-results__option--highlighted[aria-selected] {
  background: #eef2ff;
  color: #1f2a5a;
}

.select2-container .select2-results__option[aria-selected=true] {
  background: #e9f5ff;
}

/* Disabled */
.select2-container--default.select2-container--disabled .select2-selection--single {
  background: #f1f1f1;
  color: #999;
  cursor: not-allowed;
  border-color: #e5e5e5;
}

/* Multiple (tags) */
.select2-container .select2-selection--multiple {
  min-height: 48px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fafafa;
  padding: 0.25rem 0.4rem;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  border: none;
  background: #eef2ff;
  color: #1f2a5a;
  margin-top: 0.35rem;
}

.select2-container .select2-selection--multiple .select2-search__field {
  margin-top: 0.35rem;
  padding: 0.35rem 0.6rem;
}

.shop_table {
  --bs-table-color-type: initial;
  --bs-table-bg-type: initial;
  --bs-table-color-state: initial;
  --bs-table-bg-state: initial;
  --bs-table-color: var(--bs-emphasis-color);
  --bs-table-bg: var(--bs-body-bg);
  --bs-table-border-color: var(--bs-border-color);
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--bs-emphasis-color);
  --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);
  --bs-table-active-color: var(--bs-emphasis-color);
  --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1);
  --bs-table-hover-color: var(--bs-emphasis-color);
  --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075);
  width: 100%;
  margin-bottom: 1rem;
  vertical-align: top;
  border-color: var(--bs-table-border-color);
}

/* Review order (colonne droite) */
#order_review {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#order_review table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

#order_review table.shop_table th,
#order_review table.shop_table td {
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
}

#order_review table.shop_table th {
  font-weight: 600;
  font-size: 0.95rem;
}

#order_review .order-total td {
  font-weight: 700;
  font-size: 1.1rem;
}

/* Payment methods */
#payment {
  margin-top: 2rem;
}

#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0;
}

#payment ul.payment_methods li {
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

#payment ul.payment_methods li:hover {
  border-color: #FF5C7A;
  background: rgba(255, 92, 122, 0.05);
}

/* Bouton Commander */
#place_order {
  width: 100%;
  text-align: center;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

#place_order:hover {
  background: transparent;
  color: #FF5C7A;
  border: 1px solid #FF5C7A;
}

/* === PANIER PREMIUM === */
.woocommerce-cart-form {
  margin-top: 3rem;
}

.woocommerce-cart-form table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.woocommerce-cart-form table.shop_table th,
.woocommerce-cart-form table.shop_table td {
  padding: 1.2rem;
  border-bottom: 1px solid #f5f5f5;
  text-align: left;
  vertical-align: middle;
}

.woocommerce-cart-form table.shop_table th {
  background: #fafafa;
  font-weight: 600;
  font-size: 0.95rem;
}

.woocommerce-cart-form table.shop_table td.product-remove a {
  color: #ff5c7a;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.woocommerce-cart-form table.shop_table td.product-remove a:hover {
  color: #ff1e4d;
}

.woocommerce-cart-form table.shop_table td.product-thumbnail img {
  border-radius: 12px;
  max-width: 70px;
}

.woocommerce-cart-form table.shop_table td.product-name a {
  font-weight: 500;
  color: #333;
}

.woocommerce-cart-form table.shop_table td.product-name a:hover {
  color: #ff5c7a;
}

.woocommerce-cart-form table.shop_table td.product-price,
.woocommerce-cart-form table.shop_table td.product-subtotal {
  font-weight: 600;
  color: #000;
}

.woocommerce-cart-form input.qty {
  width: 70px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.4rem;
  transition: all 0.3s ease;
}

.woocommerce-cart-form input.qty:focus {
  border-color: #ff5c7a;
  box-shadow: 0 0 0 2px rgba(255, 92, 122, 0.2);
  outline: none;
}

/* Boutons du panier */
.woocommerce button.button[name=update_cart],
.woocommerce a.button.continue-shopping {
  background: transparent;
  border: 1px solid #FF8A3D;
  color: #FF8A3D;
  border-radius: 50px;
  padding: 0.8rem 1.6rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.woocommerce button.button[name=update_cart]:hover,
.woocommerce a.button.continue-shopping:hover {
  background: var(--gradient);
  border: none;
  color: #fff;
}

/* Totaux Panier */
.cart-collaterals {
  margin-top: 2rem;
}

.cart_totals {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cart_totals h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-family: "SF Pro Display", serif;
}

.cart_totals table {
  width: 100%;
  border-collapse: collapse;
}

.cart_totals table th,
.cart_totals table td {
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
}

.cart_totals .order-total td {
  font-weight: 700;
  font-size: 1.2rem;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  display: block;
  text-align: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 50px;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background: transparent;
  border: 1px solid #FF5C7A;
  color: #FF5C7A;
}

/* Grille abonnements */
.subscriptions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Carte abonnement */
.subscription-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  position: relative;
}

.subscription-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.subscription-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subscription-card p {
  font-size: 0.95rem;
  color: #444;
  margin: 0.4rem 0;
}

/* Bouton annulation */
.cancel-form {
  margin-top: 1.5rem;
}

.btn-cancel {
  background: #ff5c7a;
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel:hover {
  background: #e14c68;
}

/* === SINGLE PRODUCT PREMIUM === */
.single-product-section {
  padding: 2rem 0;
  min-height: 100vh;
  height: 100%;
  background: var(--gradient) !important;
}

.product-summary .product-title {
  font-size: clamp(1em, 5vh, 2.75em) !important;
  font-weight: 700;
  margin-left: 0 !important;
}

.single-product-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  background: #fff;
  border-radius: 50px;
  padding: 3rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  align-items: start;
}

.product-title {
  font-weight: 700;
  margin: 1rem;
  font-family: "SF Pro Display", serif;
  color: #222;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ff5c7a;
}

.product-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2rem;
}
.product-desc h3 {
  font-size: 1.3rem !important;
}

/* Bloc abonnement */
.product-subscription {
  background: rgba(255, 92, 122, 0.08);
  border: 1px solid rgba(255, 92, 122, 0.2);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #333;
}

.product-subscription strong {
  color: #ff5c7a;
}

/* Bouton Add to cart premium */
.single-product-section .single_add_to_cart_button {
  background: var(--gradient);
  border: none;
  color: #fff;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.single-product-section .single_add_to_cart_button:hover {
  background: transparent;
  border: 2px solid #ff5c7a;
  color: #ff5c7a;
}

/* Galerie produit */
.product-gallery {
  position: relative; /* Permet au badge de se placer correctement */
  border-radius: 16px;
  overflow: hidden;
  padding: 0.5em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.product-gallery img {
  width: 100%;
  height: auto; /* Garde proportions */
  display: block;
  -o-object-fit: contain;
     object-fit: contain; /* évite le crop */
}

/* Badge Abonnement */
.badge-subscription {
  position: absolute;
  top: 25px;
  left: 25px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 5;
}

/* Prix avec unité /mois etc. */
.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.subscription-price-unit {
  font-size: 1rem;
  font-weight: 500;
  color: #666;
}

/* Responsive amélioré */
@media (max-width: 992px) {
  .single-product-wrapper {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 2rem;
  }
  .product-title {
    font-size: 1.6rem;
  }
  .product-price {
    font-size: 1.3rem;
  }
}
@media (max-width: 600px) {
  .product-gallery img {
    max-height: 300px;
    -o-object-fit: contain;
       object-fit: contain; /* Évite que ça se coupe */
  }
  .badge-subscription {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
}
/* === Badge Panier Flottant === */
#cart-badge-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.5rem;
  width: 260px;
  z-index: 9999;
  text-align: center;
  /* état caché par défaut */
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

#cart-badge-popup.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#cart-badge-popup p {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #333;
}

#cart-badge-popup .btn-checkout {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  border-radius: 30px;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

#cart-badge-popup .btn-checkout:hover {
  background: transparent;
  border: 1px solid #ff5c7a;
  color: #ff5c7a;
}

/* Progress bar */
#cart-badge-popup .progress-bar {
  margin-top: 1rem;
  background: #eee;
  border-radius: 6px;
  height: 6px;
  width: 100%;
  overflow: hidden;
}

#cart-badge-popup .progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 6px;
  transition: width 5s linear;
}

#mat360_accept_terms_field {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 92, 122, 0.08);
  border: 1px solid rgba(255, 92, 122, 0.3);
  border-radius: 12px;
}

#mat360_accept_terms_field label {
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
}

/* === Boutons principaux (Panier & Checkout) === */
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce #place_order {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  background: var(--gradient) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 1.2rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin-top: 1.5rem !important;
  box-shadow: 0 8px 20px rgba(255, 92, 122, 0.3) !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #place_order:hover {
  background: transparent !important;
  color: #FF5C7A !important;
  border: 2px solid #FF5C7A !important;
  box-shadow: 0 8px 20px rgba(255, 92, 122, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* === Loader dans les boutons === */
.button-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.button-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.wc-block-components-express-payment__event-buttons {
  margin-top: 3em !important;
}

.wc-block-components-express-payment__event-buttons > li {
  list-style: none !important;
}

.page-content.card-style ul {
  list-style: none !important;
}

.mat360-service-terms .woocommerce-form__label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.mat360-service-terms input[type=checkbox] {
  margin-top: 0.2rem;
}

.woocommerce-notices-wrapper {
  display: none !important;
}

/* Panier flottant */
#floating-cart {
  position: fixed;
  right: 20px;
  bottom: 95px; /* au-dessus du bouton chat */
  z-index: 9998;
}

#floating-cart .cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  position: relative;
  font-size: 22px;
}

#floating-cart .count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff5c7a;
  color: #fff;
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Container du dropdown (tu l’as déjà) */
#cart-dropdown {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: 340px;
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border: 1px solid #ECECF1;
  border-radius: 18px 18px 0 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  padding: 14px;
  display: none;
}

#cart-dropdown[data-open=true] {
  display: block;
}

/* Mini-cart custom */
.mat360-mini-cart {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mat360-mini-cart__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mat360-mini-cart__item {
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 6px;
  border-radius: 12px;
}

.mat360-mini-cart__item + .mat360-mini-cart__item {
  border-top: 1px dashed #eee;
}

.mat360-mini-cart__thumb img {
  width: 64px;
  height: 64px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  border: 1px solid #f1f1f4;
  background: #fafafe;
}

.mat360-mini-cart__body {
  min-width: 0;
}

.mat360-mini-cart__name {
  display: block;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  line-height: 1.25;
}

.mat360-mini-cart__name:hover {
  text-decoration: underline;
}

.mat360-mini-cart__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
  font-size: 13px;
  color: #555;
}

.mat360-mini-cart__qty {
  background: #FFE8ED;
  color: #C21C45;
  padding: 2px 8px;
  border-radius: 999px;
}

.mat360-mini-cart__price {
  font-weight: 600;
}

.mat360-mini-cart__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #999;
  text-decoration: none;
  margin-top: 2px;
}

.mat360-mini-cart__remove:hover {
  background: #f3f3f6;
  color: #111;
}

/* Footer */
.mat360-mini-cart__footer {
  padding-top: 12px;
  border-top: 1px solid #EFEFF3;
  margin-top: 10px;
}

.mat360-mini-cart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  margin-bottom: 10px;
}

.mat360-mini-cart__subtotal strong {
  font-size: 16px;
}

.btn-checkout-dropdown {
  display: block;
  width: 100%;
  background: linear-gradient(45deg, #ff5c7a, #ff7b92);
  color: #fff;
  text-align: center;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 92, 122, 0.35);
}

.btn-checkout-dropdown:hover {
  filter: brightness(1.02);
}

/* État vide */
.mat360-mini-cart__empty {
  text-align: center;
  padding: 24px 8px;
  color: #666;
}

.mat360-mini-cart__browse {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px dashed #ff5c7a;
  color: #ff5c7a;
  border-radius: 10px;
  text-decoration: none;
}

.mat360-mini-cart__browse:hover {
  background: #fff4f6;
}

/* Accessibilité et petits écrans */
@media (max-width: 480px) {
  #cart-dropdown {
    width: 92vw;
    right: 4vw;
    bottom: 70px;
  }
}/*# sourceMappingURL=woocommerce.css.map */