/* ============================================
   LA FORTUNE — Palette Chaude Globale
   ============================================ */

:root {
  --lf-warm-white:  #FAF7F2;
  --lf-ivory:       #F2EDE4;
  --lf-ivory-deep:  #E8E0D0;
  --lf-parchment:   #D4C9B0;
  --lf-ink:         #1C1A16;
  --lf-ink-soft:    #2E2B24;
  --lf-muted:       #7A7468;
  --lf-muted-light: #A09890;
  --lf-gold:        #C4973E;
  --lf-gold-light:  #D9B96A;
  --lf-gold-pale:   #EDD99A;
  --lf-copper:      #A0714A;
  --lf-divider:     #DDD5C4;
  --lf-card:        #FDFAF5;
}

/* ── BODY & BACKGROUNDS ── */
body {
  background-color: var(--lf-warm-white) !important;
  color: var(--lf-ink) !important;
}

/* ── HEADER ── */
#masthead, .site-header, header.site-header, .header-wrap {
  background-color: var(--lf-warm-white) !important;
  border-bottom: 1px solid var(--lf-divider) !important;
}

/* Nav links */
#masthead nav a,
.main-navigation a,
.nav-menu > li > a,
.site-header nav a {
  color: var(--lf-muted) !important;
  transition: color 0.2s !important;
}

#masthead nav a:hover,
.main-navigation a:hover,
.nav-menu > li > a:hover {
  color: var(--lf-ink) !important;
}

/* Nav underline accent on hover */
.main-navigation ul li a {
  position: relative;
}

.main-navigation ul > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--lf-gold);
  transition: width 0.3s;
}

.main-navigation ul > li > a:hover::after,
.main-navigation ul > li.current-menu-item > a::after {
  width: 100%;
}

/* Dropdown */
.main-navigation ul ul,
.nav-menu ul ul {
  background: var(--lf-warm-white) !important;
  border: 1px solid var(--lf-divider) !important;
  border-top: 2px solid var(--lf-gold) !important;
  box-shadow: 0 8px 32px rgba(28,26,22,0.08) !important;
}

.main-navigation ul ul a,
.nav-menu ul ul a {
  color: var(--lf-muted) !important;
  border-bottom: 1px solid var(--lf-divider) !important;
}

.main-navigation ul ul a:hover,
.nav-menu ul ul a:hover {
  color: var(--lf-ink) !important;
  background: var(--lf-ivory) !important;
  padding-left: 20px !important;
}

/* ── SITE CONTENT BACKGROUND ── */
#content, #primary, .site-content, main#main,
.woocommerce-page #primary {
  background: var(--lf-warm-white) !important;
}

/* ── WOOCOMMERCE — GENERAL ── */
/* Page titles */
.woocommerce-products-header__title,
.page-title, h1.entry-title, h1.page-title,
.woocommerce h1, .woocommerce-page h1 {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 300 !important;
  color: var(--lf-ink) !important;
  letter-spacing: 0.03em !important;
}

/* Breadcrumb */
.woocommerce-breadcrumb,
.woocommerce nav.woocommerce-breadcrumb {
  color: var(--lf-muted) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.12em !important;
}

.woocommerce-breadcrumb a { color: var(--lf-muted) !important; }
.woocommerce-breadcrumb a:hover { color: var(--lf-gold) !important; }

/* ── PRODUCT CARDS ── */
ul.products li.product,
.woocommerce ul.products li.product {
  background: var(--lf-card) !important;
}

/* Product image wrapper */
ul.products li.product a img {
  transition: transform 0.5s ease !important;
}

ul.products li.product:hover a img {
  transform: scale(1.04) !important;
}

/* Product title */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 400 !important;
  color: #1C1A16 !important;
  font-size: 1rem !important;
  letter-spacing: 0.02em !important;
}

/* Product category label */
ul.products li.product .wc-block-product-tag,
ul.products li.product .ast-woo-product-category,
ul.products li.product .posted_in,
.woocommerce-loop-category__title,
.posted_in a,
.lf-product-cat {
  color: #8A6A1E !important;
  font-size: 0.62rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

/* Product price */
ul.products li.product .price,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount {
  color: #2E2B24 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
}

/* Add to cart button on cards */
ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  background: var(--lf-ink) !important;
  color: var(--lf-ivory) !important;
  border: 1px solid var(--lf-ink) !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  transition: all 0.3s !important;
}

ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: transparent !important;
  color: var(--lf-ink) !important;
}

/* ── SINGLE PRODUCT PAGE ── */
.single-product div.product {
  background: var(--lf-warm-white) !important;
}

/* Product title */
.single-product h1.product_title {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 300 !important;
  font-size: 2.4rem !important;
  color: var(--lf-ink) !important;
  letter-spacing: 0.02em !important;
  line-height: 1.15 !important;
}

/* Price */
.single-product .price,
.woocommerce div.product p.price {
  color: var(--lf-ink) !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.8rem !important;
  font-weight: 300 !important;
}

/* Variation selects */
.woocommerce div.product form.cart .variations select,
.woocommerce div.product form.cart select {
  border: 1px solid var(--lf-divider) !important;
  border-radius: 0 !important;
  background: var(--lf-warm-white) !important;
  color: var(--lf-ink) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.82rem !important;
  padding: 10px 14px !important;
}

/* Add to cart button — single product */
.single-product .cart .single_add_to_cart_button,
.woocommerce div.product form.cart .button {
  background: var(--lf-ink) !important;
  color: var(--lf-ivory) !important;
  border: 1px solid var(--lf-ink) !important;
  border-radius: 0 !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  padding: 16px 32px !important;
  transition: all 0.3s !important;
  font-family: 'Jost', sans-serif !important;
}

.single-product .cart .single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button:hover {
  background: transparent !important;
  color: var(--lf-ink) !important;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: var(--lf-ivory) !important;
  border: 1px solid var(--lf-divider) !important;
  border-radius: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--lf-warm-white) !important;
  border-bottom-color: var(--lf-warm-white) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-size: 0.68rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--lf-muted) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--lf-ink) !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  border: 1px solid var(--lf-divider) !important;
  background: var(--lf-warm-white) !important;
}

/* ── CATEGORY PAGES ── */
.woocommerce-products-header {
  background: var(--lf-ivory) !important;
  border-bottom: 1px solid var(--lf-divider) !important;
  padding: 32px 0 24px !important;
}

/* Sorting dropdown */
.woocommerce-ordering select,
.woocommerce form.woocommerce-ordering select {
  border: 1px solid var(--lf-divider) !important;
  background: var(--lf-warm-white) !important;
  color: var(--lf-muted) !important;
  border-radius: 0 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em !important;
}

/* Result count */
.woocommerce-result-count {
  color: #5A554E !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em !important;
}

/* Sorting dropdown — darker text */
.woocommerce-ordering select {
  color: #5A554E !important;
}

/* Product meta — darker */
.product_meta,
.product_meta a,
.sku_wrapper,
.posted_in {
  color: #5A554E !important;
}

/* Section labels (e.g. "Fraîchement arrivés") */
.section-label, [class*="section-label"],
.lf-nouveautes-label {
  color: #8A6A1E !important;
  font-weight: 500 !important;
}

/* Section titles */
.section-title, h2.section-title,
.lf-nouveautes-title {
  color: #1C1A16 !important;
  font-weight: 300 !important;
}

/* ── SALE BADGE ── */
.woocommerce span.onsale,
ul.products li.product .onsale {
  background: var(--lf-gold) !important;
  color: var(--lf-warm-white) !important;
  border-radius: 0 !important;
  font-size: 0.6rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-family: 'Jost', sans-serif !important;
  min-width: auto !important;
  min-height: auto !important;
  padding: 4px 10px !important;
  line-height: 1.4 !important;
}

/* ── CART & CHECKOUT ── */
.woocommerce-cart table.cart,
.woocommerce-checkout form.checkout {
  background: var(--lf-warm-white) !important;
}

.woocommerce table.shop_table {
  border: 1px solid var(--lf-divider) !important;
  border-radius: 0 !important;
}

.woocommerce table.shop_table th {
  background: var(--lf-ivory) !important;
  color: var(--lf-muted) !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  border-bottom: 1px solid var(--lf-divider) !important;
}

.woocommerce table.shop_table td {
  border-top: 1px solid var(--lf-divider) !important;
  color: var(--lf-ink) !important;
}

/* Order total */
.woocommerce-checkout .order-total th,
.woocommerce-checkout .order-total td,
.cart_totals .order-total th,
.cart_totals .order-total td {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.3rem !important;
  color: var(--lf-ink) !important;
}

/* Checkout inputs */
.woocommerce form .input-text,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select {
  border: 1px solid var(--lf-divider) !important;
  border-radius: 0 !important;
  background: var(--lf-warm-white) !important;
  color: var(--lf-ink) !important;
  font-family: 'Jost', sans-serif !important;
  transition: border-color 0.2s !important;
}

.woocommerce form .input-text:focus,
.woocommerce-checkout input:focus {
  border-color: var(--lf-gold) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Place order button */
#place_order,
.woocommerce #payment #place_order {
  background: var(--lf-ink) !important;
  color: var(--lf-ivory) !important;
  border: 1px solid var(--lf-ink) !important;
  border-radius: 0 !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  transition: all 0.3s !important;
}

#place_order:hover {
  background: transparent !important;
  color: var(--lf-ink) !important;
}

/* ── FOOTER ── */
.lf-footer {
  background: var(--lf-ink) !important;
  border-top: 3px solid var(--lf-gold) !important;
}

.lf-footer-logo {
  color: var(--lf-ivory) !important;
}

.lf-footer-tagline {
  color: var(--lf-muted-light) !important;
}

.lf-footer-heading {
  color: var(--lf-gold) !important;
}

.lf-footer-col ul li a,
.lf-footer-col ul li span {
  color: var(--lf-muted-light) !important;
}

.lf-footer-col ul li a:hover {
  color: var(--lf-ivory) !important;
}

.lf-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}

.lf-footer-bottom p {
  color: var(--lf-muted-light) !important;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--lf-ivory); }
::-webkit-scrollbar-thumb { background: var(--lf-parchment); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--lf-gold); }

/* ── SELECTION ── */
::selection {
  background: var(--lf-gold-pale);
  color: var(--lf-ink);
}

/* ── HIDE TAX/VAT LABELS ── */
.woocommerce-Price-taxLabel,
.tax_label,
.includes_tax,
.woocommerce small.tax_label,
.woocommerce-tax-rate,
p.woocommerce-shipping-destination,
.woocommerce-shipping-totals,
.tax-rate,
small.includes_tax,
small.tax_label {
  display: none !important;
}
