/*
Theme Name: Astra Child - Lunelle Atelier
Theme URI: https://lunelleatelier.com
Description: Official child theme for Lunelle Atelier handmade crochet brand. Built for Astra, Elementor, and WooCommerce.
Author: Lunelle Atelier
Author URI: https://lunelleatelier.com
Template: astra
Version: 1.0.0
Text Domain: astra-child-lunelle
*/

/* ==========================================================================
   LUNELLE ATELIER - BRAND DESIGN SYSTEM & WOOCOMMERCE STYLING
   Palette:
     Cream:       #F8F1E9
     Dusty Pink:  #D9A5A5
     Dark Brown:  #684B43
     Main Text:   #3D302C
     Border:      #E5D5CC
     White:       #FFFFFF
   Tagline: "Handmade with Love, Crafted to Cherish"
   ========================================================================== */

/* 1. BRAND DESIGN TOKENS */
:root {
  --lunelle-cream: #F8F1E9;
  --lunelle-dusty-pink: #D9A5A5;
  --lunelle-dark-brown: #684B43;
  --lunelle-text: #3D302C;
  --lunelle-border: #E5D5CC;
  --lunelle-white: #FFFFFF;
  --lunelle-radius: 8px;
  --lunelle-shadow: 0 4px 15px rgba(104, 75, 67, 0.07);
  --lunelle-shadow-hover: 0 8px 24px rgba(104, 75, 67, 0.12);
}

/* 2. BASE TYPOGRAPHY & LINKS */
body {
  color: var(--lunelle-text);
}

a {
  color: var(--lunelle-dark-brown);
  transition: color 0.25s ease;
}

a:hover,
a:focus {
  color: var(--lunelle-dusty-pink);
}

/* 3. PRIMARY & WOOCOMMERCE BUTTONS */
.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.lunelle-btn {
  background-color: var(--lunelle-dark-brown) !important;
  color: var(--lunelle-white) !important;
  border: 1px solid var(--lunelle-dark-brown) !important;
  border-radius: var(--lunelle-radius) !important;
  padding: 12px 26px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block;
  cursor: pointer;
}

.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.lunelle-btn:hover {
  background-color: var(--lunelle-dusty-pink) !important;
  border-color: var(--lunelle-dusty-pink) !important;
  color: var(--lunelle-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 165, 165, 0.35);
}

/* 4. WOOCOMMERCE PRODUCT CARDS */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--lunelle-white);
  border: 1px solid var(--lunelle-border);
  border-radius: var(--lunelle-radius);
  padding: 16px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--lunelle-shadow);
  text-align: center;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--lunelle-shadow-hover);
  border-color: var(--lunelle-dusty-pink);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--lunelle-dark-brown) !important;
  font-size: 1.05rem !important;
  padding: 10px 0 4px 0 !important;
  font-weight: 600;
}

.woocommerce ul.products li.product .price {
  color: var(--lunelle-dark-brown) !important;
  font-weight: 700;
  margin-bottom: 12px !important;
}

.woocommerce ul.products li.product .price ins {
  color: var(--lunelle-dusty-pink) !important;
  text-decoration: none;
}

/* 5. SALE BADGE */
.woocommerce span.onsale {
  background-color: var(--lunelle-dusty-pink) !important;
  color: var(--lunelle-white) !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  padding: 4px 10px !important;
  min-height: auto !important;
  line-height: 1.4 !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
}

/* 6. QUANTITY & FORM INPUTS */
.woocommerce .quantity .qty,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  border: 1px solid var(--lunelle-border) !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  color: var(--lunelle-text) !important;
  background-color: var(--lunelle-white) !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--lunelle-dusty-pink) !important;
  outline: none !important;
}

/* 7. WOOCOMMERCE NOTICES */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--lunelle-dusty-pink) !important;
  background-color: var(--lunelle-cream) !important;
  color: var(--lunelle-text) !important;
  border-radius: var(--lunelle-radius);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--lunelle-dark-brown) !important;
}

/* 8. SINGLE PRODUCT PAGE */
.woocommerce div.product .product_title {
  color: var(--lunelle-dark-brown);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.woocommerce div.product p.price {
  color: var(--lunelle-dark-brown);
  font-size: 1.35rem;
  font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  margin: 18px 0;
  line-height: 1.7;
}

.woocommerce div.product form.cart {
  padding: 20px 0;
  border-top: 1px solid var(--lunelle-border);
  border-bottom: 1px solid var(--lunelle-border);
  margin-bottom: 25px;
}

/* 9. CART & CHECKOUT */
.woocommerce-cart table.cart,
.woocommerce-checkout table.shop_table {
  border: 1px solid var(--lunelle-border) !important;
  border-radius: var(--lunelle-radius);
  overflow: hidden;
}

.woocommerce-cart table.cart th,
.woocommerce-checkout table.shop_table th {
  background-color: var(--lunelle-cream);
  color: var(--lunelle-dark-brown);
  font-weight: 600;
}

/* 10. REUSABLE HELPER CLASSES */
.lunelle-bg-cream {
  background-color: var(--lunelle-cream) !important;
}

.lunelle-tagline {
  color: var(--lunelle-dusty-pink);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.lunelle-card {
  background: var(--lunelle-white);
  border: 1px solid var(--lunelle-border);
  border-radius: var(--lunelle-radius);
  padding: 24px;
  box-shadow: var(--lunelle-shadow);
}
