/*
 Theme Name:   Astra Child
 Template:     astra
 Version:      1.1
 Text Domain:  astra-child
*/
/* Quixelle — Dark & Elegant storefront skin
   Layered on Astra via Customizer > Additional CSS.
   Fully reversible: delete this block to restore defaults. */

/* ---- Fonts: Playfair Display (headings) + Jost (body) ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Jost:wght@300;400;500;600&display=swap');

/* ---- Design tokens ---- */
:root{
  --qx-bg:#0E0F13;          /* near-black charcoal   */
  --qx-surface:#17181F;     /* cards / product boxes  */
  --qx-surface-2:#1E2029;   /* raised / inputs        */
  --qx-text:#E9E6DF;        /* primary text (off-white)*/
  --qx-muted:#A6A39B;       /* secondary text         */
  --qx-line:#2A2D36;        /* hairline borders       */
  --qx-gold:#C6A15B;        /* accent                 */
  --qx-gold-2:#A67C34;      /* accent hover/pressed   */
  --qx-gold-soft:rgba(198,161,91,.22);
}

/* ---- Base canvas ---- */
body,
body.ast-box-layout #page,
.site,
#content,
.ast-outer-wrapper{
  background-color:var(--qx-bg)!important;
  color:var(--qx-text);
}
p,li,dd{ color:var(--qx-text); }
a{ color:var(--qx-gold); }
a:hover{ color:var(--qx-gold-2); }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6,
.entry-title,
.site-title,
.widget-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title{
  font-family:'Playfair Display',Georgia,serif;
  color:var(--qx-text);
  letter-spacing:.2px;
}
body,button,input,select,textarea,.main-navigation a,.ast-button,
.woocommerce-message,.woocommerce-info{
  font-family:'Jost',system-ui,sans-serif;
}

/* ---- Header ---- */
.site-header,
.ast-primary-header-bar,
.ast-header-break-point .main-header-bar{
  background-color:var(--qx-bg)!important;
  border-bottom:1px solid var(--qx-line);
}
.ast-site-identity .site-title,
.ast-site-identity .site-title a{
  font-family:'Playfair Display',serif;
  font-weight:600;
  font-size:1.9rem;
  letter-spacing:4px;
  text-transform:uppercase;
  color:var(--qx-text)!important;
}
.ast-site-identity .site-description{ display:none; }

/* Nav links */
.main-navigation a{ color:var(--qx-text); font-weight:400; letter-spacing:.4px; }
.main-navigation .current-menu-item > a,
.main-navigation a:hover{ color:var(--qx-gold); }

/* ---- Stylized text logo accent underline ---- */
.ast-site-identity .site-title{ position:relative; }

/* ---- Footer ---- */
.site-footer,
.ast-small-footer,
footer.site-footer{
  background-color:#0A0B0E!important;
  color:var(--qx-muted);
  border-top:1px solid var(--qx-line);
}
.site-footer a{ color:var(--qx-muted); }
.site-footer a:hover{ color:var(--qx-gold); }
.widget-title{ color:var(--qx-text)!important; }

/* ---- Buttons (Astra + WooCommerce) ---- */
.ast-button, .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.add_to_cart_button, .woocommerce .single_add_to_cart_button,
.woocommerce #place_order, .woocommerce .checkout-button,
.woocommerce .button, .woocommerce button.button.alt{
  background-color:var(--qx-gold)!important;
  color:#12131A!important;
  border:none!important;
  border-radius:2px;
  padding:.75em 1.6em;
  font-family:'Jost',sans-serif;
  font-weight:500;
  letter-spacing:1.5px;
  text-transform:uppercase;
  transition:background-color .2s ease,color .2s ease;
}
.ast-button:hover, .wp-block-button__link:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #place_order:hover, .woocommerce .button:hover,
.woocommerce button.button.alt:hover{
  background-color:var(--qx-gold-2)!important;
  color:#0A0B0E!important;
}

/* ---- Product grid ---- */
.woocommerce ul.products li.product{
  background-color:var(--qx-surface);
  border:1px solid var(--qx-line);
  border-radius:4px;
  padding:14px;
}
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price ins{ color:var(--qx-gold); }
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  color:var(--qx-text); font-size:1.05rem;
}
.woocommerce .onsale{
  background-color:var(--qx-gold); color:#12131A;
  border:none; border-radius:2px;
}

/* ---- Single product ---- */
.woocommerce div.product{ background:transparent; }
.woocommerce div.product .product_title{ color:var(--qx-text); }
.woocommerce div.product .woocommerce-product-details__short-description{ color:var(--qx-muted); }
.woocommerce div.product p.price,
.woocommerce div.product span.price{ color:var(--qx-gold)!important; font-size:1.3rem; }
.woocommerce div.product form.cart .regular-price,
.woocommerce div.product .woocommerce-variation-price{ color:var(--qx-gold); }
.woocommerce-tabs ul.tabs li a{ color:var(--qx-muted); }
.woocommerce-tabs ul.tabs li.active a{ color:var(--qx-gold); }
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  background:var(--qx-surface); border-color:var(--qx-line);
}
.woocommerce-tabs .panel{ color:var(--qx-text); }

/* ---- Forms: cart / checkout / account ---- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
input[type=text],input[type=email],input[type=tel],
input[type=password],input[type=number],input[type=search],
textarea,select{
  background-color:var(--qx-surface-2)!important;
  color:var(--qx-text)!important;
  border:1px solid var(--qx-line)!important;
  border-radius:3px;
}
input:focus,textarea:focus,select:focus{
  outline:none!important; border-color:var(--qx-gold)!important;
}
::placeholder{ color:var(--qx-muted); opacity:.8; }
.woocommerce-checkout h3,
.woocommerce-account h2,
.woocommerce .woocommerce-checkout-review-order h3{ color:var(--qx-text); }
.woocommerce-checkout #customer_details,
.woocommerce-checkout .woocommerce-checkout-payment{ background:transparent; }
.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single{
  background:var(--qx-surface-2); color:var(--qx-text);
  border:1px solid var(--qx-line);
}
.select2-container--default .select2-selection--single .select2-selection__rendered{ color:var(--qx-text); }

/* ---- Tables: cart / order review / my-account ---- */
.woocommerce table.shop_table,
.woocommerce-account .woocommerce table.my_account_orders{
  border:1px solid var(--qx-line);
  background:var(--qx-surface);
  color:var(--qx-text);
}
.woocommerce table.shop_table th{
  color:var(--qx-gold); border-bottom:1px solid var(--qx-line);
}
.woocommerce table.shop_table td,
.woocommerce-cart .cart-subtotal td,
.woocommerce-checkout .order-total td{ color:var(--qx-text); border-color:var(--qx-line); }

/* ---- Notices ---- */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notices-wrapper .woocommerce-Message{
  background:var(--qx-surface); color:var(--qx-text);
  border-top-color:var(--qx-gold);
}
.woocommerce-message::before,.woocommerce-info::before{ color:var(--qx-gold); }

/* ---- Sidebar / widgets on shop ---- */
.widget_price_filter .price_slider_wrapper .ui-widget-content{ background:var(--qx-line); }
.widget ul li a{ color:var(--qx-muted); }
.widget ul li a:hover{ color:var(--qx-gold); }

/* ---- Selection + scrollbar polish ---- */
::selection{ background:var(--qx-gold); color:#12131A; }

/* ---- Registered palette utility classes (fallback) ---- */
.has-qx-bg-background-color{background-color:#0E0F13!important}
.has-qx-surface-background-color{background-color:#17181F!important}
.has-qx-text-color{color:#E9E6DF!important}
.has-qx-muted-color{color:#A6A39B!important}
.has-qx-gold-color{color:#C6A15B!important}
.qx-button-outline .wp-block-button__link{background:transparent!important;color:#C6A15B!important;border:1px solid #C6A15B!important}
.qx-button-outline .wp-block-button__link:hover{background:#C6A15B!important;color:#12131A!important}
