/*
Theme Name: Cashflow Manifest Child
Template: blocksy
Author: Cashflow Manifest
Version: 1.0.4
Description: Clean, high-contrast, trusted WooCommerce styling (light product & checkout) with gold brand accents. Safe, reversible child of Blocksy.
*/

:root{
  --cf-gold:#D4A843; --cf-gold-hi:#E8C674; --cf-gold-lo:#B8912F;
  --cf-ink:#18181b; --cf-muted:#5f5f68;
  --cf-surface:#ffffff; --cf-surface-2:#f8f6f1; --cf-border:#e7e3da;
}
:root, body{
  --theme-palette-color-1:#D4A843;
  --theme-palette-color-2:#B8912F;
  --theme-link-color:#B8912F;
  --theme-link-hover-color:#D4A843;
}

/* ===== FIX: trust badges were rendering full-screen ===== */
#cfm-badges-src{ display:none !important; }
.cfm-trust{ display:flex; flex-wrap:wrap; gap:10px 14px; align-items:center; justify-content:center; margin:20px 0; }
.cfm-badge{ display:inline-flex; align-items:center; gap:8px; line-height:1; font-size:13px; font-weight:600; color:var(--cf-ink); background:var(--cf-surface-2); border:1px solid var(--cf-border); border-radius:999px; padding:9px 15px; }
.cfm-badge svg{ width:16px !important; height:16px !important; min-width:0 !important; flex:none; color:var(--cf-gold-lo); stroke:var(--cf-gold-lo); }

/* ===== buttons: gold, dark text ===== */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce .button.alt,
.woocommerce #place_order, .wc-block-components-button,
.wp-block-button__link, .wc-proceed-to-checkout .checkout-button,
.woocommerce .single_add_to_cart_button{
  background:var(--cf-gold) !important; color:#0A0A0F !important; border:none !important;
  border-radius:999px !important; font-weight:600 !important; letter-spacing:.01em;
  padding:.85em 1.8em !important; box-shadow:0 6px 18px rgba(212,168,67,.22);
  transition:transform .15s ease, box-shadow .25s ease, background .2s ease !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce .button.alt:hover,
.woocommerce #place_order:hover, .wc-block-components-button:hover,
.wp-block-button__link:hover, .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce .single_add_to_cart_button:hover{
  background:var(--cf-gold-hi) !important; transform:translateY(-2px); box-shadow:0 12px 28px rgba(212,168,67,.32);
}

/* ===== prices: dark ink for contrast ===== */
.woocommerce div.product p.price, .woocommerce div.product span.price,
.woocommerce ul.products li.product .price, .wc-block-components-product-price{
  color:var(--cf-ink) !important; font-weight:700 !important;
}
.woocommerce .price ins{ color:var(--cf-ink) !important; text-decoration:none; }
.woocommerce del, .woocommerce .price del{ color:var(--cf-muted) !important; opacity:.8; }

/* ===== single product ===== */
.woocommerce div.product .product_title{ font-family:'Playfair Display',serif !important; letter-spacing:-.01em; color:var(--cf-ink); }
.woocommerce div.product .woocommerce-product-gallery{ border-radius:14px; overflow:hidden; }
.woocommerce div.product form.cart .qty{ background:var(--cf-surface) !important; color:var(--cf-ink) !important; border:1px solid var(--cf-border) !important; border-radius:10px !important; padding:.6em !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li{ background:var(--cf-surface-2); border:1px solid var(--cf-border); border-radius:10px 10px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{ background:var(--cf-surface); border-bottom-color:var(--cf-surface); }

/* ===== shop loop cards: light & clean ===== */
.woocommerce ul.products li.product{ background:var(--cf-surface); border:1px solid var(--cf-border); border-radius:14px; padding:12px 12px 18px; box-shadow:0 1px 3px rgba(0,0,0,.05); transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.woocommerce ul.products li.product:hover{ transform:translateY(-4px); border-color:var(--cf-gold); box-shadow:0 16px 34px rgba(0,0,0,.12); }
.woocommerce ul.products li.product img{ border-radius:9px; }

/* ===== forms: light, high contrast ===== */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .select2-container .select2-selection,
.woocommerce-checkout input[type=text],
.woocommerce-checkout input[type=email],
.woocommerce-checkout input[type=tel],
.woocommerce-checkout textarea,
.wc-block-components-text-input input{
  background:var(--cf-surface) !important; color:var(--cf-ink) !important;
  border:1px solid var(--cf-border) !important; border-radius:11px !important; padding:13px 15px !important; box-shadow:none !important;
  transition:border-color .18s ease, box-shadow .18s ease !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-checkout input:focus, .woocommerce-checkout textarea:focus,
.wc-block-components-text-input input:focus{ outline:none !important; border-color:var(--cf-gold) !important; box-shadow:0 0 0 3px rgba(212,168,67,.22) !important; }
.woocommerce form .form-row label, .woocommerce-checkout label{ color:var(--cf-muted) !important; font-weight:500; }
.woocommerce-checkout h3, .woocommerce-billing-fields h3, #order_review_heading{ color:var(--cf-ink) !important; font-family:'Playfair Display',serif !important; }

/* ===== order review / totals: light card ===== */
.woocommerce-checkout #order_review, .woocommerce .cart_totals, .wc-block-components-sidebar{ background:var(--cf-surface-2) !important; border:1px solid var(--cf-border) !important; border-radius:16px !important; padding:22px !important; }
.woocommerce table.shop_table{ background:transparent !important; border:1px solid var(--cf-border) !important; border-radius:12px; overflow:hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td{ color:var(--cf-ink) !important; border-top-color:var(--cf-border) !important; }
.woocommerce-checkout #order_review .order-total .amount, .woocommerce .cart_totals .order-total .amount{ color:var(--cf-ink) !important; font-weight:800; }
.woocommerce-checkout #payment{ background:transparent !important; }
.woocommerce-checkout #payment ul.payment_methods{ background:var(--cf-surface) !important; border:1px solid var(--cf-border) !important; border-radius:12px !important; padding:14px !important; }
.woocommerce-checkout #payment div.payment_box{ background:var(--cf-surface-2) !important; color:var(--cf-ink) !important; border:1px solid var(--cf-border); border-radius:10px; }
.woocommerce-checkout #payment div.payment_box::before{ border-bottom-color:var(--cf-surface-2) !important; }
.woocommerce #place_order{ width:100%; padding:15px !important; font-size:16px !important; margin-top:6px; }
.woocommerce form.checkout_coupon{ background:var(--cf-surface-2) !important; border:1px solid var(--cf-border) !important; border-radius:12px !important; }

/* ===== notices ===== */
.woocommerce-message, .woocommerce-info, .woocommerce-error{ background:var(--cf-surface-2) !important; color:var(--cf-ink) !important; border-top:3px solid var(--cf-gold) !important; border-radius:10px; }
.woocommerce-message::before, .woocommerce-info::before{ color:var(--cf-gold-lo) !important; }
/* ================= v1.0.3 additions ================= */
@keyframes cfmFadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes cfmPop{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){*{animation:none!important}}

/* payment badges strip (were rendering full-screen) */
.cfm-pay{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:6px 0 2px}
.cfm-pay svg{height:30px!important;width:auto!important;max-width:58px;min-width:0!important;flex:none;filter:drop-shadow(0 1px 1px rgba(0,0,0,.06))}
.cfm-pay-label{display:block;width:100%;text-align:center;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--cf-muted);margin:2px 0 8px}

/* trust badges row + entrance */
.cfm-trust{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 10px;margin:16px 0 10px}
.cfm-trust .cfm-badge{animation:cfmPop .45s ease both}
.cfm-trust .cfm-badge:nth-child(2){animation-delay:.07s}
.cfm-trust .cfm-badge:nth-child(3){animation-delay:.14s}

/* product + shop entrance */
.woocommerce div.product .entry-summary>*{animation:cfmFadeUp .5s ease both}
.woocommerce div.product .entry-summary>*:nth-child(2){animation-delay:.05s}
.woocommerce div.product .entry-summary>*:nth-child(3){animation-delay:.1s}
.woocommerce div.product .entry-summary>*:nth-child(4){animation-delay:.15s}
.woocommerce ul.products li.product{animation:cfmFadeUp .5s ease both}

/* checkout entrance + thank-you */
.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review{animation:cfmFadeUp .5s ease both}
.woocommerce-checkout #order_review{animation-delay:.08s}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{width:100%!important;float:none!important}
.cfm-thanks{display:block;animation:cfmPop .6s ease both;font-size:18px;line-height:1.55;color:var(--cf-ink);font-weight:600}

/* ===== HEADER: dark, centered logo, light nav, no site name ===== */
header#header.ct-header{background:#0A0A0F!important;border-bottom:1px solid rgba(212,168,67,.18)}
header#header [data-column=middle]{display:flex;justify-content:center}
header#header .site-branding{margin:0 auto;text-align:center}
header#header .site-logo-container img{height:48px!important;width:auto!important}
header#header .site-title,header#header .site-description,.ct-header .site-title,.ct-header .site-description{display:none!important}
header#header .ct-menu-link{color:#F5F1E6!important}
header#header .ct-menu-link:hover,header#header .current-menu-item>.ct-menu-link,header#header .current-menu-ancestor>.ct-menu-link{color:var(--cf-gold)!important}
header#header .ct-icon{color:#F5F1E6!important}
header#header .sub-menu{background:#111119!important;border:1px solid rgba(212,168,67,.16)!important}
header#header .sub-menu .ct-menu-link{color:#e8e6df!important}
/* ================= v1.0.4: payment strip polish ================= */
.cfm-pay{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;margin:2px auto 0;max-width:360px}
.cfm-pay-label{display:block;width:100%;text-align:center;font-size:10.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--cf-muted);margin:0 0 8px}
.cfm-pay svg{height:26px!important;width:auto!important;max-width:44px;min-width:0!important;flex:none;border-radius:5px;box-shadow:0 1px 3px rgba(0,0,0,.14);transition:transform .18s ease,box-shadow .18s ease}
.cfm-pay svg:hover{transform:translateY(-2px);box-shadow:0 5px 12px rgba(0,0,0,.18)}
@media(max-width:480px){.cfm-pay svg{height:23px!important;max-width:40px}}