/*!
Theme Name: Kadence
Theme URI: https://www.kadencewp.com/kadence-theme/
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Version: 1.5.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence
Requires at least: 6.3
Tested up to: 6.9.1
Tags: translation-ready, accessibility-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share
what you've learned with others.
*/
/* ============================================
   YLIHTAB CARE — Personnalisation panier/checkout
   ============================================ */

/* Masquer le header Kadence sur /cart et /checkout */
.woocommerce-cart .site-header,
.woocommerce-checkout .site-header,
.woocommerce-cart #masthead,
.woocommerce-checkout #masthead,
.woocommerce-cart .kadence-sticky-header,
.woocommerce-checkout .kadence-sticky-header {
  display: none !important;
}

/* Variables de couleur */
.woocommerce-cart,
.woocommerce-checkout {
  --cream:  #F7F3EE;
  --sand:   #E8DFD0;
  --clay:   #C4A882;
  --accent: #495e44;
  --mid:    #6B5740;
  --deep:   #2C2417;
  --light:  #FAF7F3;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: #FAF7F3;
  color: #2C2417;
}

/* Charger les polices */
.woocommerce-cart,
.woocommerce-checkout {
  font-family: 'Jost', sans-serif !important;
}

/* Zone de contenu */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
}

/* Titre de page */
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 42px !important;
  font-weight: 300 !important;
  color: #2C2417 !important;
  letter-spacing: 0.02em;
  margin-bottom: 48px;
}

/* ── Tableau panier ── */
.woocommerce table.shop_table {
  border: 0.5px solid #E8DFD0 !important;
  border-collapse: collapse !important;
  background: #F7F3EE;
}

.woocommerce table.shop_table th {
  font-family: 'Jost', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #6B5740 !important;
  font-weight: 400 !important;
  padding: 16px 20px !important;
  border-bottom: 0.5px solid #E8DFD0 !important;
  background: none !important;
}

.woocommerce table.shop_table td {
  padding: 24px 20px !important;
  border-bottom: 0.5px solid #E8DFD0 !important;
  vertical-align: middle !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 14px !important;
  color: #6B5740 !important;
}

/* Nom du produit */
.woocommerce table.shop_table td.product-name a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 18px !important;
  color: #2C2417 !important;
  font-weight: 300 !important;
}

/* Bouton supprimer */
.woocommerce table.shop_table td .remove {
  color: #C4A882 !important;
  font-size: 18px !important;
}

.woocommerce table.shop_table td .remove:hover {
  color: #2C2417 !important;
  background: none !important;
}

/* Champ code promo */
.woocommerce table.shop_table td.actions .input-text {
  border: 0.5px solid #E8DFD0 !important;
  background: transparent !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 13px !important;
  color: #2C2417 !important;
  padding: 12px 16px !important;
  border-radius: 0 !important;
}

/* Boutons panier (code promo, mettre à jour) */
.woocommerce table.shop_table td.actions .button,
.woocommerce table.shop_table td.actions button {
  background: transparent !important;
  color: #2C2417 !important;
  border: 0.5px solid #2C2417 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 12px 24px !important;
  transition: all 0.25s !important;
}

.woocommerce table.shop_table td.actions .button:hover {
  background: #2C2417 !important;
  color: #F7F3EE !important;
}

/* ── Bloc total panier ── */
.woocommerce .cart_totals {
  background: #F7F3EE;
  border: 0.5px solid #E8DFD0;
  padding: 40px 36px;
}

.woocommerce .cart_totals h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  color: #2C2417 !important;
  margin-bottom: 24px !important;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
  font-family: 'Jost', sans-serif !important;
  font-size: 13px !important;
  color: #6B5740 !important;
  padding: 12px 0 !important;
  border-bottom: 0.5px solid #E8DFD0 !important;
  background: none !important;
}

/* Bouton valider la commande */
.woocommerce .cart_totals .checkout-button,
.woocommerce a.checkout-button {
  display: block !important;
  background: #2C2417 !important;
  color: #F7F3EE !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 18px 40px !important;
  text-align: center !important;
  transition: background 0.25s !important;
  border: none !important;
  margin-top: 24px !important;
}

.woocommerce .cart_totals .checkout-button:hover,
.woocommerce a.checkout-button:hover {
  background: #495e44 !important;
  color: #F7F3EE !important;
}

/* ── Page checkout ── */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 24px !important;
  font-weight: 300 !important;
  color: #2C2417 !important;
  margin-bottom: 24px !important;
}

.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select,
.woocommerce-checkout .woocommerce-input-wrapper textarea {
  border: 0.5px solid #E8DFD0 !important;
  background: transparent !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 13px !important;
  color: #2C2417 !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
}

.woocommerce-checkout .woocommerce-input-wrapper input:focus,
.woocommerce-checkout .woocommerce-input-wrapper select:focus {
  border-color: #C4A882 !important;
  outline: none !important;
  box-shadow: none !important;
}

.woocommerce-checkout label {
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #6B5740 !important;
  font-weight: 400 !important;
}

/* Bouton passer la commande */
.woocommerce #place_order {
  background: #2C2417 !important;
  color: #F7F3EE !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 18px 40px !important;
  border: none !important;
  transition: background 0.25s !important;
  width: 100% !important;
}

.woocommerce #place_order:hover {
  background: #495e44 !important;
}

/* Récapitulatif commande checkout */
.woocommerce-checkout #order_review {
  background: #F7F3EE;
  border: 0.5px solid #E8DFD0;
  padding: 40px 36px;
}

/* ── Footer Kadence masqué ── */
.woocommerce-cart .site-footer,
.woocommerce-checkout .site-footer {
  display: none !important;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce {
    padding: 40px 24px !important;
  }
}