/**
 * ChicaGuapa - WooCommerce Pages Modernes
 * Panier, Commande, Compte Client
 * Full-page, épuré, moderne
 */

/* ========================================
   LAYOUT PLEINE PAGE
======================================== */

/* Ne pas coincer body.woocommerce-cart / checkout / account (ce sont des classes BODY) */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Même largeur que boutique / navigation */
body.woocommerce-cart .cg-woo-page-shell,
body.woocommerce-checkout .cg-woo-page-shell,
body.woocommerce-account .cg-woo-page-shell {
  width: 100%;
  padding: 2.5rem 0 4rem;
}

/* Bandeau livraison offerte dès 50 € */
.cg-free-shipping-banner {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem 1.1rem;
  background: #fffefb;
  border: 1px solid var(--chicaguapa-card-border, rgba(74, 71, 66, 0.11));
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(200, 224, 196, 0.08);
}

.cg-free-shipping-banner.is-unlocked {
  background: linear-gradient(135deg, rgba(200, 224, 196, 0.28) 0%, rgba(232, 207, 203, 0.22) 100%);
}

.cg-free-shipping-banner__text {
  margin: 0 0 0.65rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--cg-texte-soft, #4A4742);
}

.cg-free-shipping-banner__bar {
  display: block;
  height: 8px;
  overflow: hidden;
  background: rgba(74, 71, 66, 0.1);
  border-radius: 999px;
}

.cg-free-shipping-banner__fill {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c8e0c4 0%, #e8cfcb 100%);
  transition: width 0.35s ease;
}

.cg-free-shipping-banner.is-hidden {
  display: none;
}

body.woocommerce-cart .cg-woo-page-container,
body.woocommerce-checkout .cg-woo-page-container,
body.woocommerce-account .cg-woo-page-container,
body.woocommerce-cart #content > .container,
body.woocommerce-checkout #content > .container,
body.woocommerce-account #content > .container,
.woocommerce-cart .content-area,
.woocommerce-checkout .content-area,
.woocommerce-account .content-area {
  width: 100% !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding-left: var(--cg-space-6, 48px) !important;
  padding-right: var(--cg-space-6, 48px) !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart.alignwide,
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Bandeau titre = même visuel que la boutique */
body.woocommerce-cart .header-image-box,
body.woocommerce-checkout .header-image-box,
body.woocommerce-account .header-image-box {
  height: auto !important;
  min-height: 0 !important;
  padding: 2.25rem 1rem 2rem !important;
  margin-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.woocommerce-cart .header-image-box::before,
body.woocommerce-cart .header-image-box:before,
body.woocommerce-checkout .header-image-box::before,
body.woocommerce-checkout .header-image-box:before,
body.woocommerce-account .header-image-box::before,
body.woocommerce-account .header-image-box:before {
  display: none !important;
}

body.woocommerce-cart .header-image-box h1,
body.woocommerce-cart .header-image-box .page-title,
body.woocommerce-checkout .header-image-box h1,
body.woocommerce-checkout .header-image-box .page-title,
body.woocommerce-account .header-image-box h1,
body.woocommerce-account .header-image-box .page-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cg-texte-soft, #4a4742) !important;
}

body.woocommerce-cart .header-image-box .crumb-box,
body.woocommerce-checkout .header-image-box .crumb-box,
body.woocommerce-account .header-image-box .crumb-box {
  display: none !important;
}

.woocommerce-cart #primary,
.woocommerce-checkout #primary,
.woocommerce-account #primary {
  width: 100% !important;
  float: none !important;
}

/* Masquer sidebar sur ces pages */
.woocommerce-cart #secondary,
.woocommerce-checkout #secondary,
.woocommerce-account #secondary {
  display: none !important;
}

/* ========================================
   TITRES & BREADCRUMBS
======================================== */

.woocommerce .page-title,
.woocommerce-page .entry-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
  margin-bottom: 12px;
  text-align: center;
}

.woocommerce .woocommerce-breadcrumb {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--cg-texte-medium, #6A645D);
  text-align: center;
  margin-bottom: 40px;
  padding: 0;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--cg-sage-pastel, #C8E0C4);
  text-decoration: none;
  transition: color 0.3s ease;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--cg-rose-nude, #E8CFCB);
}

/* ========================================
   MESSAGES & NOTICES
======================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 12px;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-message {
  background: rgba(200, 224, 196, 0.15);
  color: var(--cg-texte-soft, #4A4742);
  border-left: 4px solid var(--cg-sage-pastel, #C8E0C4);
}

.woocommerce-info {
  background: rgba(232, 207, 203, 0.15);
  color: var(--cg-texte-soft, #4A4742);
  border-left: 4px solid var(--cg-rose-nude, #E8CFCB);
}

.woocommerce-error {
  background: rgba(235, 87, 87, 0.1);
  color: #8B0000;
  border-left: 4px solid #eb5757;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none;
}

.woocommerce-message a.button,
.woocommerce-info a.button {
  background: linear-gradient(135deg, #C8E0C4 0%, #E8CFCB 100%);
  color: var(--cg-texte-soft, #4A4742);
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: auto;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 224, 196, 0.3);
}

/* ========================================
   PAGE PANIER
======================================== */

.woocommerce-cart-form {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 32px;
}

/* Table panier */
.woocommerce table.shop_table {
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce table.shop_table thead {
  background: linear-gradient(135deg, rgba(200, 224, 196, 0.15) 0%, rgba(232, 207, 203, 0.15) 100%);
}

.woocommerce table.shop_table thead th {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  border: none;
}

.woocommerce table.shop_table tbody tr {
  border-bottom: 1px solid rgba(74, 71, 66, 0.08);
  transition: background 0.3s ease;
}

.woocommerce table.shop_table tbody tr:hover {
  background: rgba(200, 224, 196, 0.05);
}

.woocommerce table.shop_table tbody td {
  padding: 24px 20px;
  border: none;
  vertical-align: middle;
  font-family: "Inter", sans-serif;
  color: var(--cg-texte-soft, #4A4742);
}

/* Image produit */
.woocommerce table.shop_table img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Nom produit */
.woocommerce table.shop_table .product-name a {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
  text-decoration: none;
  transition: color 0.3s ease;
}

.woocommerce table.shop_table .product-name a:hover {
  color: var(--cg-sage-pastel, #C8E0C4);
}

/* Prix */
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
}

/* Quantité */
.woocommerce table.shop_table .quantity {
  display: flex;
  align-items: center;
  gap: 0;
}

.woocommerce table.shop_table .quantity input.qty {
  width: 60px;
  height: 40px;
  padding: 0 12px;
  border: 2px solid rgba(74, 71, 66, 0.15);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: var(--cg-texte-soft, #4A4742);
  transition: all 0.3s ease;
}

.woocommerce table.shop_table .quantity input.qty:focus {
  outline: none;
  border-color: var(--cg-sage-pastel, #C8E0C4);
  box-shadow: 0 0 0 3px rgba(200, 224, 196, 0.2);
}

/* Bouton supprimer */
.woocommerce table.shop_table a.remove {
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(235, 87, 87, 0.1) !important;
  color: #eb5757 !important;
  border-radius: 50% !important;
  font-size: 18px !important;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1 !important;
}

.woocommerce table.shop_table a.remove:hover {
  background: #eb5757 !important;
  color: white !important;
  transform: rotate(90deg) scale(1.1);
}

/* Actions panier */
.woocommerce .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid rgba(74, 71, 66, 0.08);
}

.woocommerce .coupon {
  display: flex;
  gap: 12px;
  align-items: center;
}

.woocommerce .coupon input.input-text {
  width: 200px;
  height: 44px;
  padding: 0 16px;
  border: 2px solid rgba(74, 71, 66, 0.15);
  border-radius: 22px;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  color: var(--cg-texte-soft, #4A4742);
  transition: all 0.3s ease;
}

.woocommerce .coupon input.input-text:focus {
  outline: none;
  border-color: var(--cg-sage-pastel, #C8E0C4);
  box-shadow: 0 0 0 3px rgba(200, 224, 196, 0.2);
}

.woocommerce .coupon button.button {
  height: 44px;
  padding: 0 28px;
  background: linear-gradient(135deg, #C8E0C4 0%, #E8CFCB 100%);
  color: var(--cg-texte-soft, #4A4742);
  border: none;
  border-radius: 22px;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woocommerce .coupon button.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 224, 196, 0.3);
}

.woocommerce button[name="update_cart"] {
  height: 44px;
  padding: 0 28px;
  background: white;
  color: var(--cg-texte-soft, #4A4742);
  border: 2px solid rgba(74, 71, 66, 0.15);
  border-radius: 22px;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woocommerce button[name="update_cart"]:hover {
  border-color: var(--cg-sage-pastel, #C8E0C4);
  background: rgba(200, 224, 196, 0.1);
}

/* Total panier */
.cart-collaterals {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.cart-collaterals .cart_totals {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.cart-collaterals h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
  margin-bottom: 24px;
  text-align: center;
}

.cart-collaterals table.shop_table {
  border: none;
}

.cart-collaterals table.shop_table th,
.cart-collaterals table.shop_table td {
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid rgba(74, 71, 66, 0.08);
  font-family: "Inter", sans-serif;
}

.cart-collaterals table.shop_table th {
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
  width: 40%;
}

.cart-collaterals table.shop_table td {
  text-align: right;
  color: var(--cg-texte-soft, #4A4742);
}

.cart-collaterals .order-total th,
.cart-collaterals .order-total td {
  font-size: 1.25rem;
  font-weight: 700;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: none;
}

.woocommerce-shipping-destination {
  font-size: 0.875rem;
  color: var(--cg-texte-medium, #6A645D);
  margin-top: 8px;
}

.woocommerce .wc-proceed-to-checkout {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid rgba(74, 71, 66, 0.08);
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #C8E0C4 0%, #E8CFCB 100%);
  color: var(--cg-texte-soft, #4A4742);
  border: none;
  border-radius: 28px;
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 56px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(200, 224, 196, 0.3);
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 224, 196, 0.4);
}

/* ========================================
   PAGE COMMANDE (CHECKOUT)
======================================== */

.woocommerce-checkout {
  background: var(--cg-fond-creme, #FCFAF7);
}

/* Titres d’étapes blocs WC (Contact, Adresse de livraison, Paiement…) */
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout h2.wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading .wc-block-components-title {
  color: var(--cg-texte-soft, #4A4742) !important;
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  color: var(--cg-texte-soft, #4A4742) !important;
  opacity: 1 !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label,
body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-checkout-step__title + span {
  color: var(--cg-texte-soft, #4A4742) !important;
}

.woocommerce-checkout .woocommerce {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

/* Formulaire */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  background: white;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.woocommerce-checkout h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(74, 71, 66, 0.08);
}

.woocommerce form .form-row {
  margin-bottom: 20px;
}

.woocommerce form .form-row label {
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
  margin-bottom: 8px;
  display: block;
}

.woocommerce form .form-row label .required {
  color: #eb5757;
  margin-left: 4px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(74, 71, 66, 0.15);
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  color: var(--cg-texte-soft, #4A4742);
  transition: all 0.3s ease;
  background: white;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: var(--cg-sage-pastel, #C8E0C4);
  box-shadow: 0 0 0 3px rgba(200, 224, 196, 0.2);
}

.woocommerce form .form-row textarea {
  min-height: 100px;
  resize: vertical;
}

/* Paiement */
#order_review_heading {
  display: none;
}

#order_review {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 90px;
}

#order_review h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
  margin-bottom: 20px;
  text-align: center;
}

.woocommerce-checkout-review-order-table {
  border: none;
  margin-bottom: 24px;
}

.woocommerce-checkout-review-order-table thead {
  background: rgba(200, 224, 196, 0.1);
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid rgba(74, 71, 66, 0.08);
  font-family: "Inter", sans-serif;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  font-size: 1.25rem;
  font-weight: 700;
  padding-top: 16px;
}

/* Méthodes de paiement */
#payment {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

#payment ul.payment_methods {
  border: none;
  padding: 0;
  margin-bottom: 24px;
}

#payment ul.payment_methods li {
  background: rgba(200, 224, 196, 0.1);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

#payment ul.payment_methods li.payment_method_selected,
#payment ul.payment_methods li:hover {
  border-color: var(--cg-sage-pastel, #C8E0C4);
  background: rgba(200, 224, 196, 0.2);
}

#payment ul.payment_methods li label {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
  cursor: pointer;
}

#payment div.payment_box {
  background: rgba(232, 207, 203, 0.1);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--cg-texte-medium, #6A645D);
}

#payment #place_order {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #C8E0C4 0%, #E8CFCB 100%);
  color: var(--cg-texte-soft, #4A4742);
  border: none;
  border-radius: 28px;
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(200, 224, 196, 0.3);
}

#payment #place_order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 224, 196, 0.4);
}

.woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 20px;
}

.woocommerce-terms-and-conditions-wrapper label {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--cg-texte-medium, #6A645D);
}

/* ========================================
   ESPACE COMPTE
======================================== */

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Navigation compte */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 90px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cg-texte-soft, #4A4742);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-bottom: 6px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: linear-gradient(135deg, rgba(200, 224, 196, 0.15) 0%, rgba(232, 207, 203, 0.15) 100%);
  color: var(--cg-sage-pastel, #C8E0C4);
  padding-left: 20px;
}

/* Contenu compte */
.woocommerce-account .woocommerce-MyAccount-content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  min-height: 400px;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(74, 71, 66, 0.08);
}

.woocommerce-account .woocommerce-MyAccount-content p {
  font-family: "Inter", sans-serif;
  color: var(--cg-texte-medium, #6A645D);
  line-height: 1.6;
}

/* Orders table */
.woocommerce-orders-table {
  border: none;
}

.woocommerce-orders-table thead {
  background: linear-gradient(135deg, rgba(200, 224, 196, 0.15) 0%, rgba(232, 207, 203, 0.15) 100%);
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
  padding: 16px;
  border: none;
  border-bottom: 1px solid rgba(74, 71, 66, 0.08);
  font-family: "Inter", sans-serif;
}

.woocommerce-orders-table th {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cg-texte-soft, #4A4742);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.woocommerce-orders-table td {
  color: var(--cg-texte-medium, #6A645D);
}

.woocommerce-orders-table .woocommerce-button {
  padding: 8px 20px;
  background: linear-gradient(135deg, #C8E0C4 0%, #E8CFCB 100%);
  color: var(--cg-texte-soft, #4A4742);
  border: none;
  border-radius: 20px;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.woocommerce-orders-table .woocommerce-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 224, 196, 0.3);
}

/* Addresses */
.woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.woocommerce-Address {
  background: rgba(200, 224, 196, 0.1);
  border-radius: 12px;
  padding: 24px;
}

.woocommerce-Address-title h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

.woocommerce-Address address {
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  color: var(--cg-texte-medium, #6A645D);
  font-style: normal;
  line-height: 1.6;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 991px) {
  .woocommerce-checkout .woocommerce,
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #order_review,
  .woocommerce-account .woocommerce-MyAccount-navigation {
    position: static;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    order: -1;
  }
}

@media (max-width: 768px) {
  .woocommerce .page-title {
    font-size: 2rem;
  }

  .woocommerce-cart .content-area,
  .woocommerce-checkout .content-area,
  .woocommerce-account .content-area {
    padding: 40px 16px;
  }

  .woocommerce-cart-form,
  .cart-collaterals,
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout #order_review,
  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 24px;
  }

  /* Table responsive */
  .woocommerce table.shop_table {
    font-size: 0.875rem;
  }

  .woocommerce table.shop_table img {
    width: 60px;
    height: 60px;
  }

  .woocommerce table.shop_table thead {
    display: none;
  }

  .woocommerce table.shop_table tbody tr {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 16px;
    padding: 16px;
  }

  .woocommerce table.shop_table tbody td {
    padding: 0;
  }

  .woocommerce table.shop_table .product-thumbnail {
    grid-row: 1 / 4;
  }

  .woocommerce table.shop_table .product-name {
    grid-column: 2;
  }

  .woocommerce .actions {
    flex-direction: column;
    gap: 16px;
  }

  .woocommerce .coupon {
    width: 100%;
    flex-direction: column;
  }

  .woocommerce .coupon input.input-text {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .woocommerce .page-title {
    font-size: 1.75rem;
  }

  .woocommerce-cart-form,
  .cart-collaterals {
    padding: 20px;
  }
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.woocommerce-cart-form,
.cart-collaterals,
#order_review,
.woocommerce-MyAccount-content {
  animation: fadeIn 0.4s ease;
}

/* ========================================
   PRINT
======================================== */

@media print {
  .woocommerce-cart .actions,
  .woocommerce .wc-proceed-to-checkout,
  .woocommerce-MyAccount-navigation,
  #payment {
    display: none !important;
  }
}
