/*
Theme Name: Bejewelled
Template: astra
Description: Bejewelled child theme. With enough pressure, a coal can be turned into a diamond.
Version: 1.0.0
Text Domain: bejewelled
*/

:root {
  --bj-coal: #0f0f12;
  --bj-graphite: #1c1c22;
  --bj-slate: #2a2a33;
  --bj-ash: #8f8f9c;
  --bj-pearl: #f7f5f0;
  --bj-white: #ffffff;
  --bj-gold: #c8a24a;
  --bj-gold-light: #e6c878;
  --bj-ice: #bfe3f2;
  --bj-radius: 14px;
  --bj-serif: "Playfair Display", Georgia, serif;
  --bj-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body { background: var(--bj-pearl); color: var(--bj-coal); font-family: var(--bj-sans); }
h1, h2, h3, h4, .entry-title, .woocommerce-loop-product__title, .product_title {
  font-family: var(--bj-serif); color: inherit; letter-spacing: -0.01em;
}
a { color: #8a6a1f; }
a:hover { color: var(--bj-gold); }

/* Header */
.site-header, .ast-primary-header-bar, .main-header-bar { background: var(--bj-coal) !important; border-bottom: 1px solid #ffffff14; }
.site-header .site-title a, .site-header .main-header-menu a, .ast-header-woo-cart .ast-cart-menu-wrap,
.ast-mobile-menu-trigger-minimal, .site-header .menu-link { color: var(--bj-pearl) !important; }
.site-header .site-title a { font-family: var(--bj-serif); letter-spacing: 0.04em; }
.site-header .site-title a::before { content: "◆ "; color: var(--bj-gold); }
.site-header .menu-link:hover, .site-header .current-menu-item > .menu-link { color: var(--bj-gold-light) !important; }
.ast-site-identity .site-description { color: var(--bj-ash) !important; }

/* Buttons */
.wp-block-button__link, .button, button.button, .woocommerce a.button, .woocommerce button.button,
.woocommerce #respond input#submit, .woocommerce .checkout-button, #place_order, .single_add_to_cart_button {
  background: var(--bj-gold) !important; color: var(--bj-coal) !important; border: 0 !important;
  border-radius: 999px !important; font-weight: 600 !important; padding: 0.85em 1.6em !important;
  transition: transform .15s ease, background .15s ease;
}
.wp-block-button__link:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, #place_order:hover {
  background: var(--bj-gold-light) !important; transform: translateY(-1px);
}
.bj-btn-ghost .wp-block-button__link { background: transparent !important; color: var(--bj-pearl) !important; box-shadow: inset 0 0 0 1.5px #ffffff55; }
.bj-btn-ghost .wp-block-button__link:hover { box-shadow: inset 0 0 0 1.5px var(--bj-gold-light); color: var(--bj-gold-light) !important; }

/* Homepage sections */
.bj-section { padding: clamp(48px, 8vw, 96px) 20px; }
.bj-section > * { max-width: 1120px; margin-left: auto !important; margin-right: auto !important; }
.bj-dark { background: var(--bj-coal); color: var(--bj-pearl); }
.bj-dark h1, .bj-dark h2, .bj-dark h3 { color: var(--bj-white); }
.bj-graphite { background: var(--bj-graphite); color: var(--bj-pearl); }
.bj-graphite h2, .bj-graphite h3 { color: var(--bj-white); }

.bj-hero {
  background:
    radial-gradient(900px 420px at 80% 10%, #c8a24a22, transparent 60%),
    radial-gradient(600px 300px at 10% 90%, #bfe3f214, transparent 60%),
    var(--bj-coal);
  color: var(--bj-pearl); padding: clamp(72px, 12vw, 140px) 20px; text-align: center;
}
.bj-eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 600; color: var(--bj-gold-light); }
.bj-hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; color: var(--bj-white) !important; max-width: 900px; margin: 0.3em auto; }
.bj-hero-title em { font-style: normal; background: linear-gradient(100deg, var(--bj-gold-light), var(--bj-ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bj-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #d9d7d0; max-width: 680px; margin: 0 auto 1.6em; }
.bj-hero .wp-block-buttons { justify-content: center; gap: 12px; }
.bj-microcopy { font-size: 0.85rem; color: var(--bj-ash); margin-top: 1.2em; }

.bj-cards .wp-block-column {
  background: var(--bj-white); border: 1px solid #0f0f1214; border-radius: var(--bj-radius);
  padding: 28px; box-shadow: 0 1px 2px #0000000a;
}
.bj-dark .bj-cards .wp-block-column, .bj-graphite .bj-cards .wp-block-column { background: #ffffff08; border-color: #ffffff14; }
.bj-num { font-family: var(--bj-serif); font-size: 2.2rem; color: var(--bj-gold); margin-bottom: 0.2em; }

.bj-checklist { list-style: none; padding: 0; margin: 0; columns: 2 300px; column-gap: 32px; }
.bj-checklist li { break-inside: avoid; padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid #ffffff12; }
.bj-checklist li::before { content: "◆"; position: absolute; left: 4px; color: var(--bj-gold); }

.bj-vault {
  background: linear-gradient(135deg, #1c1c22, #0f0f12 60%); color: var(--bj-pearl);
  border: 1px solid #c8a24a55; border-radius: 22px; padding: clamp(28px, 5vw, 56px) !important; text-align: center;
}
.bj-vault h2 { color: var(--bj-white); }
.bj-price { font-family: var(--bj-serif); font-size: clamp(2.6rem, 6vw, 3.6rem); color: var(--bj-gold-light); margin: 0.1em 0; }
.bj-vault .wp-block-buttons { justify-content: center; }

.bj-quote { font-family: var(--bj-serif); font-size: clamp(1.4rem, 3vw, 2rem); text-align: center; max-width: 820px; }

.wp-block-details { border-bottom: 1px solid #0f0f1222; padding: 16px 0; }
.wp-block-details summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; }
.wp-block-details[open] summary { color: #8a6a1f; }

/* Products */
.woocommerce ul.products li.product {
  background: var(--bj-white); border-radius: var(--bj-radius); padding: 0 0 20px !important;
  border: 1px solid #0f0f1214; overflow: hidden; text-align: left; transition: transform .2s ease, box-shadow .2s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #0f0f1218; }
.woocommerce ul.products li.product img { margin-bottom: 14px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-left: 18px !important; margin-right: 18px !important; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: #8a6a1f !important; font-weight: 700; font-size: 1.15rem; }
.woocommerce span.onsale { background: var(--bj-gold); color: var(--bj-coal); }
.bj-trust { list-style: none; margin: 18px 0; padding: 16px 18px; background: var(--bj-white); border-radius: 12px; border: 1px solid #0f0f1214; }
.bj-trust li { padding: 4px 0 4px 26px; position: relative; }
.bj-trust li::before { content: "✓"; position: absolute; left: 4px; color: #2e8b57; font-weight: 700; }
.bj-independent, .bj-small { font-size: 0.82rem; color: #6b6b76; }
.bj-hook { font-size: 1.1rem; }

/* Footer disclaimer */
.bj-disclaimer { background: var(--bj-graphite); color: #b9b8c0; font-size: 0.82rem; padding: 22px 20px; }
.bj-disclaimer p { max-width: 1120px; margin: 0 auto; }
.site-footer, .site-below-footer-wrap, .ast-small-footer { background: var(--bj-coal) !important; color: var(--bj-ash) !important; }
.site-footer a { color: #d9d7d0 !important; }

@media (max-width: 600px) {
  .bj-hero .wp-block-button { width: 100%; }
  .bj-hero .wp-block-button__link { width: 100%; }
}
