/*
Theme Name: Fated AOG Astra Child
Theme URI: https://fatedaog.com/
Description: Fated AOG child theme for Astra, converted from the Electro Bootstrap ecommerce template and integrated with WordPress and WooCommerce.
Author: Fated AOG
Author URI: https://fatedaog.com/
Template: astra
Version: 1.1.0
Text Domain: fated-astra-child
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
*/

:root { --fated-primary:#0d6efd; }
html { scroll-behavior:smooth; }
body { overflow-x:hidden; }
.fated-site-brand { text-decoration:none; font-weight:700; }
.fated-site-brand:hover { text-decoration:none; }
.fated-product-card .card-img-top { height:220px; object-fit:contain; padding:18px; background:#fff; }
.fated-product-card .card-body { min-height:185px; }
.fated-product-card .woocommerce-loop-product__title { font-size:1rem; margin-bottom:.5rem; }
.fated-product-card .price { color:#111; font-weight:600; }
.fated-product-card .price del { color:#888; font-weight:400; margin-right:.35rem; }
.fated-product-card .onsale { z-index:2; }
.fated-page-content img { max-width:100%; height:auto; }
.fated-footer a { text-decoration:none; }
.fated-footer a:hover { text-decoration:underline; }
.fated-hero img { width:100%; height:100%; object-fit:cover; }
.fated-woocommerce .woocommerce-breadcrumb { margin:0 0 1rem; }
.fated-woocommerce .woocommerce-result-count, .fated-woocommerce .woocommerce-ordering { margin-bottom:1rem; }
.fated-woocommerce ul.products { margin:0; }
.fated-woocommerce .woocommerce ul.products li.product { width:auto; }
.fated-woo-cart .woocommerce, .fated-woo-checkout .woocommerce { background:#fff; }
.widget ul { list-style:none; margin:0; padding:0; }
.widget li { margin-bottom:.5rem; }
@media (max-width: 767.98px) {
  .fated-product-card .card-img-top { height:180px; }
}

/* =========================================================
   FATED A.O.G BRAND SYSTEM — BLACK / IVORY / METALLIC GOLD
   Inspired by the current Fated A.O.G visual direction:
   premium, fashion-forward, creative and global.
   ========================================================= */
:root {
  --fated-black: #0A0A0A;
  --fated-black-soft: #151515;
  --fated-ivory: #F7F4EE;
  --fated-white: #FFFFFF;
  --fated-gold: #C8A24A;
  --fated-gold-dark: #9B7628;
  --fated-border: #D8D1C2;
  --fated-muted: #6B675F;
  --fated-primary: var(--fated-black);
  --fated-secondary: var(--fated-gold);
  --bs-primary: var(--fated-black) !important;
  --bs-secondary: var(--fated-gold) !important;
  --bs-dark: var(--fated-black) !important;
  --bs-light: var(--fated-ivory) !important;
}

body {
  background: var(--fated-white);
  color: var(--fated-black);
}

a { color: var(--fated-black); }
a:hover, a:focus { color: var(--fated-gold-dark); }

/* Astra global controls */
.ast-primary-header-bar,
.ast-builder-menu-1,
.ast-header-break-point .main-header-bar {
  background: var(--fated-black) !important;
}
.ast-primary-header-bar a,
.ast-primary-header-bar .menu-link,
.ast-primary-header-bar .ast-icon,
.ast-primary-header-bar .ast-header-search .ast-search-menu-icon {
  color: var(--fated-white) !important;
}
.ast-primary-header-bar a:hover,
.ast-primary-header-bar .menu-link:hover {
  color: var(--fated-gold) !important;
}

/* Bootstrap/template navigation */
.navbar,
.navbar-dark,
.bg-primary,
.bg-dark,
.topbar {
  background: var(--fated-black) !important;
}
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-brand,
.navbar-dark .navbar-toggler,
.topbar,
.topbar a {
  color: var(--fated-white) !important;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.topbar a:hover {
  color: var(--fated-gold) !important;
}

/* Brand gold accents */
.text-primary,
.fated-gold,
.woocommerce .price,
.fated-product-card .price,
.product_meta a {
  color: var(--fated-gold-dark) !important;
}

.btn.btn-primary,
.btn-primary,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--fated-black) !important;
  border-color: var(--fated-black) !important;
  color: var(--fated-white) !important;
  border-radius: 0;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .25s ease;
}
.btn.btn-primary:hover,
.btn-primary:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--fated-gold) !important;
  border-color: var(--fated-gold) !important;
  color: var(--fated-black) !important;
}

.btn.btn-secondary,
.btn-secondary {
  background: var(--fated-gold) !important;
  border-color: var(--fated-gold) !important;
  color: var(--fated-black) !important;
}
.btn.btn-secondary:hover,
.btn-secondary:hover {
  background: var(--fated-black) !important;
  border-color: var(--fated-black) !important;
  color: var(--fated-white) !important;
}

/* Headings and premium section treatment */
h1, h2, h3, h4, h5, h6 {
  color: var(--fated-black);
}
.fated-section-title,
.section-title h1,
.section-title h2 {
  letter-spacing: .025em;
}

/* Product cards */
.fated-product-card,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--fated-white);
  border: 1px solid var(--fated-border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fated-product-card:hover,
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-3px);
  border-color: var(--fated-gold);
  box-shadow: 0 12px 35px rgba(10,10,10,.10);
}
.fated-product-card .card-img-top {
  background: var(--fated-ivory);
}
.fated-product-card .price,
.woocommerce ul.products li.product .price {
  color: var(--fated-gold-dark) !important;
}
.woocommerce span.onsale,
.fated-product-card .onsale {
  background: var(--fated-gold) !important;
  color: var(--fated-black) !important;
}

/* Forms / inputs */
input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], input[type=search], select, textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: 1px solid var(--fated-border);
  border-radius: 0;
  background: var(--fated-white);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--fated-gold) !important;
  box-shadow: 0 0 0 2px rgba(200,162,74,.14) !important;
  outline: none;
}

/* Hero / banners */
.fated-hero,
.banner,
.page-header {
  background-color: var(--fated-black);
}

/* Footer */
.fated-footer,
footer.site-footer,
.site-footer-primary-section-1,
.site-footer-primary-section-2,
.site-footer-primary-section-3,
.site-footer-primary-section-4 {
  background: var(--fated-black) !important;
  color: var(--fated-white);
}
.fated-footer h1, .fated-footer h2, .fated-footer h3,
.fated-footer h4, .fated-footer h5, .fated-footer h6,
.fated-footer a,
.site-footer a,
.site-footer .widget-title {
  color: var(--fated-white) !important;
}
.fated-footer a:hover,
.site-footer a:hover {
  color: var(--fated-gold) !important;
}

/* Cart / checkout */
.woocommerce-cart .cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
  border: 1px solid var(--fated-border);
  background: var(--fated-white);
}

/* Utility gold rules */
.fated-gold-rule {
  width: 64px;
  height: 2px;
  background: var(--fated-gold);
  margin: 12px 0 24px;
}

@media (max-width: 767.98px) {
  .fated-product-card .card-img-top { height: 180px; }
}
