/* Peptara design fixes – Nov 22, 2026. Each block is independent; delete a block to undo it. */

/* === Step 03: Cookie banner (Complianz) – brand navy, Accept & Reject equal, compact on phones === */
html:root {
	--cmplz_button_accept_background_color: #0b2945;
	--cmplz_button_accept_border_color: #0b2945;
	--cmplz_button_accept_text_color: #ffffff;
	--cmplz_button_deny_background_color: #0b2945;
	--cmplz_button_deny_border_color: #0b2945;
	--cmplz_button_deny_text_color: #ffffff;
	--cmplz_button_settings_background_color: #ffffff;
	--cmplz_button_settings_border_color: #0b2945;
	--cmplz_button_settings_text_color: #0b2945;
	--cmplz_hyperlink_color: #1159af;
	--cmplz_slider_active_color: #0b2945;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept,
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny {
	font-weight: 600;
}
@media (max-width: 600px) {
	.cmplz-cookiebanner {
		padding: 14px 16px !important;
		grid-row-gap: 8px !important;
		row-gap: 8px !important;
		max-height: 60vh;
		overflow-y: auto;
	}
	.cmplz-cookiebanner .cmplz-header .cmplz-title { font-size: 14px !important; }
	.cmplz-cookiebanner .cmplz-message,
	.cmplz-cookiebanner .cmplz-message p {
		font-size: 12px !important;
		line-height: 1.45 !important;
		margin: 0 !important;
	}
	.cmplz-cookiebanner .cmplz-buttons {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 8px !important;
		flex-direction: unset !important;
	}
	.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
		height: 42px !important;
		min-height: 42px !important;
		margin: 0 !important;
		padding: 0 10px !important;
		font-size: 14px !important;
		width: 100% !important;
	}
	.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences,
	.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences {
		grid-column: 1 / -1;
		height: 36px !important;
		min-height: 36px !important;
		font-size: 13px !important;
	}
	.cmplz-cookiebanner .cmplz-links.cmplz-documents { margin-top: 0 !important; }
}

/* === Step 05a: Contact form phone field matches the other dark fields === */
.wpcf7-form .iti {
	background: rgba(2, 15, 26, 0.68) !important;
	border: 1px solid rgba(126, 204, 237, 0.36) !important;
	border-radius: 13px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
.wpcf7-form .iti input.cf_phone,
.wpcf7-form .iti input.iti__tel {
	background: transparent !important;
	color: #ffffff !important;
	border-radius: 13px !important;
}
.wpcf7-form .iti input.cf_phone::placeholder { color: rgba(255, 255, 255, 0.55) !important; }
.wpcf7-form .iti .iti__selected-country,
.wpcf7-form .iti .iti__selected-dial-code { color: #ffffff !important; }
.wpcf7-form .iti .iti__arrow::after { filter: invert(1) brightness(1.6); }
.wpcf7-form .iti .iti__country-container { border-right-color: rgba(126, 204, 237, 0.36) !important; }

/* === Step 05b: Product Description tab – clearer headings and tables === */
.single-product .peptara-product-description h3 {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #0b2945 !important;
	margin: 28px 0 12px !important;
	line-height: 1.3 !important;
}
.single-product .peptara-product-description p strong { color: #0b2945; }
.single-product .peptara-product-description table {
	width: 100%;
	border-collapse: collapse !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 8px;
	margin: 0 0 18px !important;
	font-size: 15px;
	table-layout: auto;
}
.single-product .peptara-product-description table th,
.single-product .peptara-product-description table td {
	padding: 10px 14px !important;
	border-bottom: 1px solid #e4eaf1 !important;
	text-align: left !important;
	vertical-align: top !important;
	line-height: 1.45 !important;
	overflow-wrap: anywhere;
}
.single-product .peptara-product-description table th[scope="row"] {
	width: 30%;
	background: #f3f6fa !important;
	color: #0b2945 !important;
	font-weight: 600 !important;
}
.single-product .peptara-product-description table tr:last-child th,
.single-product .peptara-product-description table tr:last-child td { border-bottom: 0 !important; }
@media (max-width: 600px) {
	.single-product .peptara-product-description h3 { font-size: 18px !important; }
	.single-product .peptara-product-description table { font-size: 14px; }
	.single-product .peptara-product-description table th,
	.single-product .peptara-product-description table td { padding: 8px 10px !important; }
	.single-product .peptara-product-description table th[scope="row"] { width: 36%; }
}

/* === Step 05d: Button styles – one primary (navy gradient) + one secondary (outline), same corner radius === */
/* Checkout sign-in step: "Sign In" becomes the outline secondary button (was brushed silver) */
html body .peptara-checkout-login a.peptara-signin {
	background: transparent !important;
	background-image: none !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	border: 2px solid rgba(213, 229, 243, 0.85) !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
html body .peptara-checkout-login a.peptara-signin:hover,
html body .peptara-checkout-login a.peptara-signin:focus-visible {
	background: rgba(255, 255, 255, 0.08) !important;
}
/* Cart: same 6px corners for every button */
html body.woocommerce-cart .woocommerce-cart-form .button,
html body.woocommerce-cart .cart-collaterals .button,
html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	border-radius: 6px !important;
}
/* Cart: Update cart = outline secondary instead of grey pill */
html body.woocommerce-cart .woocommerce-cart-form button.button[name="update_cart"] {
	background: #ffffff !important;
	background-image: none !important;
	color: #0b2945 !important;
	-webkit-text-fill-color: #0b2945 !important;
	border: 1px solid #0b2945 !important;
	box-shadow: none !important;
}
html body.woocommerce-cart .woocommerce-cart-form button.button[name="update_cart"]:disabled {
	opacity: 0.45 !important;
}

/* === Step 05e: Shop header – shipping bar lines up with page content; purity pill aligned with the search/filters === */
body.post-type-archive-product :not(.kadence-mini-cart-refresh) > .peptara-elite-shipping {
	box-sizing: border-box;
	max-width: 1290px;
	width: calc(100% - 28px);
	margin-left: auto !important;
	margin-right: auto !important;
}
body.post-type-archive-product .pcf26-purity {
	display: flex !important;
	justify-content: flex-start !important;
	text-align: left !important;
}

/* === Step 08: Footer – columns 1 and 4 left-aligned so all three footer columns line up left ===
   Scoped to the footer top row only (#colophon .site-top-footer-wrap). Overrides
   `.site-footer-top-section-3 { text-align:center !important }`, the custom-css-js 23929 `#block-19` center rule, the `#block-13 .kt-adv-heading…` right rule
   and the Kadence block centering/right alignment. Widget content is unchanged. Undo: delete this block. */
html body #colophon#colophon .site-top-footer-wrap .footer-widget1,
html body #colophon#colophon .site-top-footer-wrap .footer-widget4,
html body #colophon#colophon .site-top-footer-wrap .site-footer-top-section-1,
html body #colophon#colophon .site-top-footer-wrap .site-footer-top-section-3 {
	text-align: left !important;
}
/* Column 1: logo, Shop button, copyright lines, Semper Fi badge */
html body #colophon#colophon .site-top-footer-wrap .footer-widget1 .widget,
html body #colophon#colophon .site-top-footer-wrap .footer-widget1 #block-20,
html body #colophon#colophon .site-top-footer-wrap .footer-widget1 #block-19,
html body #colophon#colophon .site-top-footer-wrap .footer-widget1 p,
html body #colophon#colophon .site-top-footer-wrap .footer-widget1 #block-19 p,
html body #colophon#colophon .site-top-footer-wrap .footer-widget1 #block-27 p {
	text-align: left !important;
}
html body #colophon#colophon .site-top-footer-wrap .footer-widget1 figure,
html body #colophon#colophon .site-top-footer-wrap .footer-widget1 .wp-block-image,
html body #colophon#colophon .site-top-footer-wrap .footer-widget1 .wp-block-kadence-image {
	margin-left: 0 !important;
	margin-right: auto !important;
	text-align: left !important;
}
html body #colophon#colophon .site-top-footer-wrap .footer-widget1 .peptara-button {
	padding-left: 0 !important;
	justify-content: flex-start !important;
	text-align: left !important;
}
html body #colophon#colophon .site-top-footer-wrap .footer-widget1 .peptara-button__inner {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	text-align: left !important;
}
/* Column 4: advanced headings, veteran badge, veteran listings */
html body #colophon#colophon .site-top-footer-wrap .footer-widget4 *:not(svg):not(path) {
	text-align: left !important;
}
html body #colophon#colophon .site-top-footer-wrap .footer-widget4 .wp-block-kadence-column {
	align-self: flex-start !important;
}
html body #colophon#colophon .site-top-footer-wrap .footer-widget4 .kt-inside-inner-col {
	justify-content: flex-start !important;
	align-items: flex-start !important;
}
html body #colophon#colophon .site-top-footer-wrap .footer-widget4 .wp-block-kadence-advancedheading,
html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-13 .wp-block-kadence-advancedheading {
	text-align: left !important;
	justify-content: flex-start !important;
}
html body #colophon#colophon .site-top-footer-wrap .footer-widget4 figure,
html body #colophon#colophon .site-top-footer-wrap .footer-widget4 .wp-block-image {
	margin-left: 0 !important;
	margin-right: auto !important;
}
html body #colophon#colophon .site-top-footer-wrap .footer-widget4 .is-layout-flex,
html body #colophon#colophon .site-top-footer-wrap .footer-widget4 .wp-block-buttons,
html body #colophon#colophon .site-top-footer-wrap .footer-widget4 .wp-block-group {
	justify-content: flex-start !important;
}

/* === Step 09: Homepage mobile fixes (2026-11-22) ===
   Root cause for both: on the cached (Breeze-optimized) homepage, the Custom CSS & JS files
   23388.css / 23929.css load AFTER the theme's inline <style> blocks, so their older rules win:
   - 23388: @media (max-width:767px) body.home .peptara-fp-card__title { display:none !important }
   - 23929: @media (max-width:1024px) html body.home #inner-wrap .peptara-home-vnext { padding-top:126px !important }
   These rules win regardless of load order by using higher specificity. Undo: delete this block. */

/* 09a – Featured product cards: always show the product name (above "In Stock"), max 2 lines */
html body.home .peptara-home-vnext .peptara-fp .peptara-fp-card .peptara-fp-card__title {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	line-clamp: 2;
	overflow: hidden !important;
	visibility: visible !important;
	opacity: 1 !important;
}
@media (max-width: 767px) {
	html body.home .peptara-home-vnext .peptara-fp .peptara-fp-card .peptara-fp-card__title {
		margin: 10px 0 4px !important;
		font-size: 15px !important;
		line-height: 1.25 !important;
		font-weight: 600 !important;
		color: #111 !important;
	}
}

/* 09b – No gap between the sticky mobile header and the hero: pad by the real header height */
@media (max-width: 1024px) {
	html body.home #wrapper#wrapper #inner-wrap .peptara-home-vnext {
		padding-top: var(--peptara-menu-height, 94px) !important;
	}
}

/* 09c – Mobile hero: background art runs down behind all hero copy (to the reviews line),
   then fades into the hero gradient instead of ending in a hard edge mid-text */
@media (max-width: 767px) {
	html body.home .peptara-home-vnext .phn-hero .phn-hero-art {
		height: 760px !important;
		bottom: auto !important;
		background-size: cover !important;
		background-position: 100% 0 !important;
		-webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
		mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
	}
}

/* === Step 08b: Footer on MOBILE (≤767px) – re-center selected items (owner request 2026-11-22) ===
   Column 1: "Shop Elite Research Peptides" link + the two lines under it (#block-20, #block-19, #block-27).
   Column 4: the three lines (Kadence row #block-13 headings) + the Texas VETERAN badge.
   Desktop/tablet stay left-aligned (Step 08). Logo, Semper Fi image, listings block and links column unchanged.
   Undo: delete this block. */
@media (max-width: 767px) {
	html body #colophon#colophon .site-top-footer-wrap .footer-widget1 #block-20,
	html body #colophon#colophon .site-top-footer-wrap .footer-widget1 #block-19,
	html body #colophon#colophon .site-top-footer-wrap .footer-widget1 #block-19 p,
	html body #colophon#colophon .site-top-footer-wrap .footer-widget1 #block-27,
	html body #colophon#colophon .site-top-footer-wrap .footer-widget1 #block-27 p {
		text-align: center !important;
	}
	html body #colophon#colophon .site-top-footer-wrap .footer-widget1 #block-20 .peptara-button {
		padding-left: 20px !important;
		justify-content: center !important;
		text-align: center !important;
	}
	html body #colophon#colophon .site-top-footer-wrap .footer-widget1 #block-20 .peptara-button__inner {
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
	}
	html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-13 .kt-inside-inner-col {
		align-items: center !important;
	}
	html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-13 *:not(svg):not(path),
	html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-13 .wp-block-kadence-advancedheading {
		text-align: center !important;
	}
	html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-13 figure,
	html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-13 .wp-block-image {
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* === Step 09b: Homepage featured cards (mobile <=767px) - name / In Stock / price sit right under the image ===
   Owner: "Too much gap between product name and image ... leave pills and add to cart at bottom".
   Was: 8px card gap + 8px body padding + 10px title margin (~26px). Now ~10px, tight meta lines.
   Pills + Add To Cart stay pinned to the card bottom (margin-top:auto) so buttons align across a row.
   Desktop/tablet unchanged. Undo: delete this block. */
@media (max-width: 767px) {
	html body.home .peptara-home-vnext .peptara-fp .peptara-fp-card {
		row-gap: 0 !important;
	}
	html body.home .peptara-home-vnext .peptara-fp .peptara-fp-card .peptara-fp-card__body {
		padding-top: 10px !important;
	}
	html body.home .peptara-home-vnext .peptara-fp .peptara-fp-card .peptara-fp-card__meta {
		gap: 0 !important;
	}
	html body.home .peptara-home-vnext .peptara-fp .peptara-fp-card .peptara-fp-card__title {
		margin: 0 0 3px !important;
	}
	html body.home .peptara-home-vnext .peptara-fp .peptara-fp-card .peptara-fp-card__mobile-stock {
		margin: 0 0 2px !important;
	}
	html body.home .peptara-home-vnext .peptara-fp .peptara-fp-card .peptara-fp-card__variations {
		margin-top: auto !important;
	}
}

/* === Step 08c: Footer on MOBILE (<=767px) - center the veteran listings block under the VETERAN badge ===
   #block-28: "VETERAN-OWNED BUSINESS LISTINGS" heading + "Veteran Owned Business Directory" / "Texas Veteran Business".
   Owner: "I want this three vet lines under vet logo centered on Mobile". Desktop unchanged. Undo: delete this block. */
@media (max-width: 767px) {
	html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-28,
	html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-28 *:not(svg):not(path) {
		text-align: center !important;
	}
	html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-28 .is-layout-flex,
	html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-28 ul,
	html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-28 div,
	html body #colophon#colophon .site-top-footer-wrap .footer-widget4 #block-28 nav {
		justify-content: center !important;
		align-items: center !important;
	}
}
