/*
Theme Name: Kadence Child (UFEP)
Template: kadence
Description: Child theme for usedfitnessequipmentparts.com. Holds SEO tags and store tweaks.
Version: 1.0.3
*/

/* Brand palette: navy + safety orange */
:root {
	--global-palette1: #e8590c;
	--global-palette2: #c44a08;
	--global-palette3: #0f2238;
	--global-palette4: #1f2f43;
	--global-palette5: #4a5868;
	--global-palette6: #6f7c8a;
	--global-palette7: #eef2f6;
	--global-palette8: #f6f8fa;
	--global-palette9: #ffffff;
	--ufep-radius: 10px;
}

/* Header */
.site-header .site-title { font-weight: 800; letter-spacing: -.01em; }
#masthead .site-header-main-section-right .header-navigation a { font-weight: 600; }

/* Hero */
.ufep-hero { padding: 72px 20px; margin-bottom: 0 !important; }
.entry-content > .ufep-section, .entry-content > .ufep-trust { margin-top: 0 !important; margin-bottom: 0 !important; }
.ufep-hero .ufep-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: #ffb27a; margin-bottom: 10px; }
.ufep-hero .ufep-hero-title { color: #fff; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.1; font-weight: 800; margin: 0 0 16px; }
.ufep-hero .ufep-hero-sub { color: #dbe3ec; font-size: 18px; }
.ufep-btn-primary .wp-block-button__link { background: var(--global-palette1); color: #fff; border-radius: var(--ufep-radius); padding: 14px 26px; font-weight: 700; }
.ufep-btn-primary .wp-block-button__link:hover { background: var(--global-palette2); color: #fff; }
.wp-block-button.is-style-outline.ufep-btn-ghost .wp-block-button__link { color: #fff !important; border: 2px solid rgba(255,255,255,.7) !important; border-radius: var(--ufep-radius); padding: 12px 24px; font-weight: 700; background: transparent !important; }
.wp-block-button.is-style-outline.ufep-btn-ghost .wp-block-button__link:hover { background: #fff !important; color: var(--global-palette3) !important; }

/* Footer */
.site-footer { background: var(--global-palette3); color: #c9d3de; }
.site-footer a { color: #fff; }
.ufep-footer-links a { margin: 0 10px; text-decoration: none; }

/* Trust strip */
.ufep-trust { background: var(--global-palette3); color: #dbe3ec; padding: 22px 20px; margin-top: 0 !important; }
.ufep-trust p { margin: 0; font-size: 14px; line-height: 1.45; }
.ufep-trust strong { color: #fff; font-size: 15px; }
.ufep-trust-row { margin-bottom: 0 !important; max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }

/* Sections */
.ufep-section { padding: 64px 20px; }
.ufep-section h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 32px; }
.ufep-alt { background: var(--global-palette8); }

/* Category cards */
.ufep-cat { background: #fff; border: 1px solid var(--global-palette7); border-radius: var(--ufep-radius); padding: 20px; transition: box-shadow .2s, transform .2s; }
.ufep-cat:hover { box-shadow: 0 10px 30px rgba(15,34,56,.10); transform: translateY(-2px); }
.ufep-cat figure { margin: 0 0 14px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--global-palette8); display: flex; align-items: center; justify-content: center; }
.ufep-cat figure a { display: block; width: 100%; height: 100%; }
.ufep-cat figure img { width: 100%; height: 100%; object-fit: contain; }
.ufep-cat h3 { font-size: 20px; margin: 0 0 6px; }
.ufep-cat h3 a { color: var(--global-palette3); text-decoration: none; }
.ufep-cat p { color: var(--global-palette5); margin: 0; font-size: 15px; }

/* Steps */
.ufep-steps h3 { font-size: 18px; color: var(--global-palette1); }
.ufep-steps p { color: var(--global-palette5); }

/* Product grid: uniform square thumbnails */
.woocommerce ul.products li.product .woocommerce-loop-image-link,
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.woocommerce ul.products li.product { border: 1px solid var(--global-palette7); border-radius: var(--ufep-radius); padding: 14px; background: #fff; transition: box-shadow .2s; }
.woocommerce ul.products li.product:hover { box-shadow: 0 10px 30px rgba(15,34,56,.10); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; line-height: 1.35; }
.woocommerce ul.products li.product .price { color: var(--global-palette3); font-weight: 800; font-size: 18px; }

/* Single product */
.single-product div.product .product_title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.single-product div.product p.price { color: var(--global-palette1); font-weight: 800; font-size: 28px; }
.single-product .woocommerce-product-gallery img { background: #fff; object-fit: contain; }
