/*
Theme Name: MrGunStuff Premium Theme
Theme URI: https://mrgunstuff.com
Description: Premium dark full-width child theme for firearms and tactical gear WooCommerce stores. Hostinger and LiteSpeed ready.
Author: MrGunStuff
Template: astra
Version: 1.1.0
Text Domain: mrgunstuff-premium-theme
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ==========================================================================
   Recovered premium storefront styles (inlined for Hostinger asset-path safety)
   Source: storefront-premium-ORIGINAL-RESTORE.css
   ========================================================================== */
/**
 * Firearms Store — Premium outdoor retailer storefront
 * Inspired by high-contrast pro shops (Brownells / MidwayUSA style)
 * --------------------------------------------------------------------------
 * Loaded by inc/storefront-ui.php — do not enqueue twice.
 */

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--fs-slate-950: #0f1216;
	--fs-slate-900: #161b22;
	--fs-slate-850: #1c222b;
	--fs-slate-800: #242b36;
	--fs-slate-700: #323b49;
	--fs-slate-500: #6b7687;
	--fs-slate-300: #b4bdc9;
	--fs-slate-100: #e8ecf1;
	--fs-white: #ffffff;
	--fs-accent: #c45c26;          /* burnt orange / brass accent */
	--fs-accent-hover: #d96b2f;
	--fs-accent-soft: rgba(196, 92, 38, 0.12);
	--fs-price: #1a7f37;           /* strong in-stock green for price emphasis */
	--fs-price-dark: #0f5c28;
	--fs-stock-in: #1a7f37;
	--fs-stock-low: #b54708;
	--fs-stock-out: #b42318;
	--fs-shadow: 0 1px 2px rgba(15, 18, 22, 0.06), 0 8px 24px rgba(15, 18, 22, 0.08);
	--fs-shadow-card: 0 1px 3px rgba(15, 18, 22, 0.08), 0 4px 14px rgba(15, 18, 22, 0.06);
	--fs-radius: 6px;
	--fs-radius-sm: 4px;
	--fs-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--fs-header-h: 64px;
	--fs-container: 1280px;
}

/* ==========================================================================
   Base page polish
   ========================================================================== */
body.fs-premium-ui {
	font-family: var(--fs-font);
	color: var(--fs-slate-900);
	background: #f4f6f8;
	-webkit-font-smoothing: antialiased;
}

body.fs-premium-ui a {
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

/* ==========================================================================
   HIGH-CONTRAST DARK NAV / HEADER (sticky)
   ========================================================================== */

/* Generic + common theme header shells */
body.fs-premium-ui .site-header,
body.fs-premium-ui header.site-header,
body.fs-premium-ui .ast-primary-header-bar,
body.fs-premium-ui .main-header-bar,
body.fs-premium-ui #masthead,
body.fs-premium-ui .gh-header,
body.fs-premium-ui .elementor-location-header {
	background: var(--fs-slate-900) !important;
	border-bottom: 1px solid var(--fs-slate-800);
	color: var(--fs-slate-100);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

/* Sticky header stack */
body.fs-premium-ui .fs-sticky-header-shell,
body.fs-premium-ui .site-header,
body.fs-premium-ui #masthead,
body.fs-premium-ui .ast-primary-header-bar {
	position: sticky;
	top: 0;
	z-index: 1000;
}

/* Admin bar offset */
body.admin-bar.fs-premium-ui .fs-sticky-header-shell,
body.admin-bar.fs-premium-ui .site-header,
body.admin-bar.fs-premium-ui #masthead {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar.fs-premium-ui .fs-sticky-header-shell,
	body.admin-bar.fs-premium-ui .site-header,
	body.admin-bar.fs-premium-ui #masthead {
		top: 46px;
	}
}

/* Header text / nav links */
body.fs-premium-ui .site-header a,
body.fs-premium-ui #masthead a,
body.fs-premium-ui .main-navigation a,
body.fs-premium-ui .ast-header-menu a,
body.fs-premium-ui .site-title a,
body.fs-premium-ui .site-description {
	color: var(--fs-slate-100) !important;
}

body.fs-premium-ui .main-navigation a:hover,
body.fs-premium-ui .ast-header-menu a:hover,
body.fs-premium-ui .site-header a:hover {
	color: var(--fs-accent) !important;
}

/* ---------- Center-stage search bar (custom markup from storefront-ui.php) ---------- */
.fs-header-search-bar {
	background: linear-gradient(180deg, var(--fs-slate-900) 0%, var(--fs-slate-950) 100%);
	border-bottom: 1px solid var(--fs-slate-800);
	padding: 0.65rem 1rem 0.85rem;
	position: sticky;
	top: 0;
	z-index: 999;
}

body.admin-bar .fs-header-search-bar {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .fs-header-search-bar {
		top: 46px;
	}
}

.fs-header-search-bar__inner {
	max-width: var(--fs-container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(100px, 180px) 1fr minmax(100px, 160px);
	gap: 1rem;
	align-items: center;
}

@media (max-width: 900px) {
	.fs-header-search-bar__inner {
		grid-template-columns: 1fr;
		gap: 0.65rem;
	}
	.fs-header-search-bar__brand,
	.fs-header-search-bar__meta {
		display: none;
	}
}

.fs-header-search-bar__brand {
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fs-white);
	text-decoration: none;
	white-space: nowrap;
}

.fs-header-search-bar__brand span {
	color: var(--fs-accent);
}

.fs-header-search-bar__meta {
	text-align: right;
	font-size: 0.8rem;
	color: var(--fs-slate-300);
}

.fs-header-search-bar__meta a {
	color: var(--fs-slate-100);
	text-decoration: none;
	font-weight: 600;
}

.fs-header-search-bar__meta a:hover {
	color: var(--fs-accent);
}

/* Prominent search input block */
.fs-product-search {
	display: flex;
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	background: var(--fs-white);
	border-radius: var(--fs-radius);
	overflow: hidden;
	box-shadow: 0 0 0 2px var(--fs-slate-700), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.fs-product-search:focus-within {
	box-shadow: 0 0 0 2px var(--fs-accent), 0 4px 18px rgba(0, 0, 0, 0.4);
}

.fs-product-search__input {
	flex: 1;
	border: 0 !important;
	margin: 0 !important;
	padding: 0.85rem 1rem !important;
	font-size: 1rem !important;
	line-height: 1.3 !important;
	color: var(--fs-slate-900) !important;
	background: var(--fs-white) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	min-height: 48px;
}

.fs-product-search__input::placeholder {
	color: var(--fs-slate-500);
}

.fs-product-search__submit {
	border: 0 !important;
	margin: 0 !important;
	padding: 0 1.35rem !important;
	background: var(--fs-accent) !important;
	color: var(--fs-white) !important;
	font-weight: 700 !important;
	font-size: 0.9rem !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 0 !important;
	min-height: 48px;
	white-space: nowrap;
}

.fs-product-search__submit:hover {
	background: var(--fs-accent-hover) !important;
}

/* Theme native search fields inside dark header */
body.fs-premium-ui .site-header input[type="search"],
body.fs-premium-ui #masthead input[type="search"],
body.fs-premium-ui .ast-search-menu-icon input[type="search"],
body.fs-premium-ui .woocommerce-product-search input[type="search"] {
	background: var(--fs-white) !important;
	color: var(--fs-slate-900) !important;
	border: 2px solid var(--fs-slate-700) !important;
	border-radius: var(--fs-radius-sm) !important;
	min-height: 42px;
	padding: 0.5rem 0.75rem !important;
}

/* ==========================================================================
   CLEAN PRODUCT GRID (shop / category / related)
   ========================================================================== */
body.fs-premium-ui ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.1rem !important;
	margin: 0 0 2rem !important;
	padding: 0 !important;
	list-style: none !important;
}

@media (max-width: 1100px) {
	body.fs-premium-ui ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	body.fs-premium-ui ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem !important;
	}
}

@media (max-width: 420px) {
	body.fs-premium-ui ul.products {
		grid-template-columns: 1fr;
	}
}

/* Kill legacy float layouts */
body.fs-premium-ui ul.products::before,
body.fs-premium-ui ul.products::after {
	display: none !important;
}

body.fs-premium-ui ul.products li.product {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--fs-white);
	border: 1px solid #e2e6ec;
	border-radius: var(--fs-radius);
	box-shadow: var(--fs-shadow-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	position: relative;
}

body.fs-premium-ui ul.products li.product:hover {
	transform: translateY(-2px);
	border-color: var(--fs-slate-500);
	box-shadow: 0 8px 28px rgba(15, 18, 22, 0.12);
}

/* Compact image area */
body.fs-premium-ui ul.products li.product a img,
body.fs-premium-ui ul.products li.product img.attachment-woocommerce_thumbnail {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fafbfc;
	margin: 0 !important;
	padding: 0.75rem;
	border-bottom: 1px solid #eef1f4;
}

/* Card body padding */
body.fs-premium-ui ul.products li.product .woocommerce-loop-product__title,
body.fs-premium-ui ul.products li.product .price,
body.fs-premium-ui ul.products li.product .fs-stock-badge,
body.fs-premium-ui ul.products li.product .button,
body.fs-premium-ui ul.products li.product .add_to_cart_button {
	margin-left: 0.85rem !important;
	margin-right: 0.85rem !important;
}

/* High-contrast dark product titles */
body.fs-premium-ui ul.products li.product .woocommerce-loop-product__title,
body.fs-premium-ui ul.products li.product h2,
body.fs-premium-ui ul.products li.product h3,
body.fs-premium-ui ul.products li.product .ast-loop-product__title {
	color: var(--fs-slate-950) !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	letter-spacing: -0.01em;
	margin: 0.75rem 0.85rem 0.4rem !important;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.fs-premium-ui ul.products li.product a .woocommerce-loop-product__title:hover {
	color: var(--fs-accent) !important;
}

/* Prominent pricing typography */
body.fs-premium-ui ul.products li.product .price {
	display: block !important;
	margin: 0.25rem 0.85rem 0.65rem !important;
	color: var(--fs-price) !important;
	font-size: 1.2rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

body.fs-premium-ui ul.products li.product .price del {
	color: var(--fs-slate-500) !important;
	font-size: 0.85rem !important;
	font-weight: 500 !important;
	opacity: 0.85;
	margin-right: 0.35rem;
}

body.fs-premium-ui ul.products li.product .price ins {
	text-decoration: none !important;
	color: var(--fs-price) !important;
	font-weight: 800 !important;
}

body.fs-premium-ui ul.products li.product .price .woocommerce-Price-amount {
	font-variant-numeric: tabular-nums;
}

/* Stock badge counters */
body.fs-premium-ui .fs-stock-badge,
body.fs-premium-ui ul.products li.product .stock,
body.fs-premium-ui ul.products li.product .ast-stock-data {
	display: inline-flex !important;
	align-items: center;
	gap: 0.3rem;
	margin: 0 0.85rem 0.65rem !important;
	padding: 0.22rem 0.55rem !important;
	border-radius: 999px;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.2 !important;
	width: fit-content;
	border: 1px solid transparent;
}

body.fs-premium-ui .fs-stock-badge--in,
body.fs-premium-ui ul.products li.product .stock.in-stock {
	background: #e8f7ed !important;
	color: var(--fs-stock-in) !important;
	border-color: #b7e4c7 !important;
}

body.fs-premium-ui .fs-stock-badge--low {
	background: #fff4e5 !important;
	color: var(--fs-stock-low) !important;
	border-color: #f5d0a9 !important;
}

body.fs-premium-ui .fs-stock-badge--out,
body.fs-premium-ui ul.products li.product .stock.out-of-stock {
	background: #fdecea !important;
	color: var(--fs-stock-out) !important;
	border-color: #f5c2c0 !important;
}

body.fs-premium-ui .fs-stock-badge__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35em;
	padding: 0 0.3em;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	font-variant-numeric: tabular-nums;
}

/* Loop buttons */
body.fs-premium-ui ul.products li.product .button,
body.fs-premium-ui ul.products li.product .add_to_cart_button,
body.fs-premium-ui ul.products li.product .product_type_simple {
	margin: auto 0.85rem 0.9rem !important;
	padding: 0.65rem 0.9rem !important;
	background: var(--fs-slate-900) !important;
	color: var(--fs-white) !important;
	border: none !important;
	border-radius: var(--fs-radius-sm) !important;
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	width: calc(100% - 1.7rem) !important;
}

body.fs-premium-ui ul.products li.product .button:hover,
body.fs-premium-ui ul.products li.product .add_to_cart_button:hover {
	background: var(--fs-accent) !important;
	color: var(--fs-white) !important;
}

/* Sale flash — keep compact, high contrast */
body.fs-premium-ui ul.products li.product .onsale {
	background: var(--fs-accent) !important;
	color: var(--fs-white) !important;
	border-radius: var(--fs-radius-sm) !important;
	font-weight: 800 !important;
	font-size: 0.7rem !important;
	min-height: auto !important;
	line-height: 1.2 !important;
	padding: 0.35rem 0.5rem !important;
	top: 0.5rem !important;
	left: 0.5rem !important;
	right: auto !important;
}

/* ==========================================================================
   Shop toolbar / breadcrumbs / archive header
   ========================================================================== */
body.fs-premium-ui .woocommerce-products-header__title,
body.fs-premium-ui .woocommerce-products-header h1,
body.fs-premium-ui h1.page-title {
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--fs-slate-950);
}

body.fs-premium-ui .woocommerce-result-count,
body.fs-premium-ui .woocommerce-ordering select {
	font-size: 0.9rem;
	color: var(--fs-slate-700);
}

body.fs-premium-ui .woocommerce-breadcrumb {
	font-size: 0.85rem;
	color: var(--fs-slate-500);
	margin-bottom: 1rem;
}

/* ==========================================================================
   Single product (light touch — consistent with grid)
   ========================================================================== */
body.fs-premium-ui.single-product .summary .price {
	color: var(--fs-price) !important;
	font-size: 1.65rem !important;
	font-weight: 800 !important;
}

body.fs-premium-ui.single-product .single_add_to_cart_button {
	background: var(--fs-accent) !important;
	color: var(--fs-white) !important;
	font-weight: 700 !important;
	border-radius: var(--fs-radius-sm) !important;
	padding: 0.85rem 1.5rem !important;
}

body.fs-premium-ui.single-product .single_add_to_cart_button:hover {
	background: var(--fs-accent-hover) !important;
}

/* ==========================================================================
   Buttons / forms global polish
   ========================================================================== */
body.fs-premium-ui .woocommerce a.button.alt,
body.fs-premium-ui .woocommerce button.button.alt,
body.fs-premium-ui .woocommerce input.button.alt,
body.fs-premium-ui .checkout-button {
	background: var(--fs-accent) !important;
	color: var(--fs-white) !important;
	font-weight: 700 !important;
	border-radius: var(--fs-radius-sm) !important;
}

body.fs-premium-ui .woocommerce a.button.alt:hover,
body.fs-premium-ui .woocommerce button.button.alt:hover {
	background: var(--fs-accent-hover) !important;
}

/* Cart count pill in header meta */
.fs-header-search-bar__cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.4em;
	height: 1.4em;
	padding: 0 0.35em;
	margin-left: 0.25rem;
	background: var(--fs-accent);
	color: var(--fs-white);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 800;
}

/* Reduce theme padding clashes on shop */
body.fs-premium-ui.woocommerce .site-content,
body.fs-premium-ui.woocommerce-page .site-content {
	padding-top: 1.25rem;
}

/* ==========================================================================
   Regulatory badges + stock pills (native loop overrides)
   ========================================================================== */

/* Flexbox positioning for compliance badge strip */
.ffl-badge-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.4rem;
	margin: 0.55rem 0.85rem 0.15rem;
	min-height: 1.55rem;
	width: calc(100% - 1.7rem);
	box-sizing: border-box;
}

body.fs-premium-ui ul.products li.product .ffl-badge-wrapper {
	position: relative;
	z-index: 2;
}

/* FFL required — dark crimson */
.badge-ffl-required {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.28rem 0.55rem;
	background: #6b1219;
	border: 1px solid #8f1a24;
	color: #ffe8ea;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.15;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
	white-space: nowrap;
}

/* Direct to home — deep moss green */
.badge-direct-home {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.28rem 0.55rem;
	background: #1a3d2b;
	border: 1px solid #2a5c40;
	color: #e3f5ea;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.15;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
	white-space: nowrap;
}

.badge-ffl-required .fs-badge-icon,
.badge-direct-home .fs-badge-icon {
	flex-shrink: 0;
	display: block;
}

/* Stock pills — structural shape + tactical colors */
.stock-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.15rem 0.85rem 0.55rem;
	padding: 0.3rem 0.6rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.15;
	border: 1px solid transparent;
	width: fit-content;
	max-width: calc(100% - 1.7rem);
	box-sizing: border-box;
}

.stock-pill strong {
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
}

/* Vivid green — network in stock */
.stock-pill.pill-in-stock {
	background: #12b76a;
	border-color: #039855;
	color: #052e1c;
}

/* Tactical orange — low stock 1–5 */
.stock-pill.pill-low-stock {
	background: #f79009;
	border-color: #dc6803;
	color: #3b1a00;
}

/* Bright red — out of stock */
.stock-pill.pill-out-of-stock {
	background: #f04438;
	border-color: #d92d20;
	color: #3b0a08;
}

/* Enforce 2-line title clamp + fixed height so grid rows stay level */
body.fs-premium-ui .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.fs-premium-ui ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	height: 2.8em !important;
	min-height: 2.8em !important;
	max-height: 2.8em !important;
	line-height: 1.4em !important;
	margin-top: 0.45rem !important;
	margin-bottom: 0.35rem !important;
}

/* ==========================================================================
   PAGE TEMPLATE: Storefront Premium UI (hero + dark nav + CTAs)
   ========================================================================== */
body.fs-premium-page-template .site-content,
body.fs-premium-page-template #content,
body.fs-premium-page-template .ast-container {
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100% !important;
}

body.fs-premium-page-template .entry-header,
body.fs-premium-page-template .ast-archive-description,
body.fs-premium-page-template .page-header {
	display: none !important;
}

.fs-premium-shell {
	background: #0f1216;
	color: #e8ecf1;
	min-height: 70vh;
}

/* --- Dark top nav --- */
.fs-premium-nav {
	background: #161b22;
	border-bottom: 1px solid #242b36;
	position: sticky;
	top: 0;
	z-index: 1100;
	box-shadow: 0 2px 14px rgba(0,0,0,.35);
}
body.admin-bar .fs-premium-nav { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .fs-premium-nav { top: 46px; }
}

.fs-premium-nav__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0.85rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.fs-premium-nav__brand {
	color: #fff !important;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none !important;
	font-size: 0.95rem;
}
.fs-premium-nav__brand span {
	color: #e11d2e;
	margin-left: 0.25rem;
}

.fs-premium-nav__list {
	display: flex;
	gap: 1.25rem;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-wrap: wrap;
}
.fs-premium-nav__list a {
	color: #e8ecf1 !important;
	text-decoration: none !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.fs-premium-nav__list a:hover {
	color: #e11d2e !important;
}

.fs-premium-nav__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

/* WooCommerce cart bag */
.fs-cart-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	text-decoration: none !important;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	background: #242b36;
	border: 1px solid #323b49;
}
.fs-cart-icon:hover {
	background: #e11d2e;
	border-color: #e11d2e;
	color: #fff !important;
}
.fs-cart-icon__count {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: #e11d2e;
	color: #fff;
	font-size: 0.65rem;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* --- Hero --- */
.fs-premium-hero {
	background-color: #0f1216;
	background-size: cover;
	background-position: center;
	min-height: 62vh;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #242b36;
}
.fs-premium-hero:not([style*="background-image"]) {
	background-image:
		linear-gradient(115deg, rgba(15,18,22,.97) 0%, rgba(22,27,34,.88) 45%, rgba(90,20,28,.55) 100%),
		repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 10px);
}

.fs-premium-hero__inner {
	max-width: 860px;
	margin: 0 auto;
	padding: 4.5rem 1.5rem;
}

.fs-premium-hero__eyebrow {
	color: #e11d2e;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 1rem;
}

.fs-premium-hero__title {
	color: #fff !important;
	font-size: clamp(2.2rem, 5vw, 3.6rem) !important;
	font-weight: 900 !important;
	letter-spacing: 0.02em;
	line-height: 1.05 !important;
	margin: 0 0 1.1rem !important;
	text-transform: uppercase;
}

.fs-premium-hero__lead {
	color: #b4bdc9;
	font-size: 1.08rem;
	line-height: 1.65;
	margin: 0 0 1.75rem;
	max-width: 38rem;
}

.fs-premium-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

/* Red + black CTAs */
.fs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.95rem 1.6rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none !important;
	border-radius: 4px;
	border: 2px solid transparent;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.fs-btn--red {
	background: #e11d2e !important;
	color: #fff !important;
	border-color: #e11d2e !important;
}
.fs-btn--red:hover {
	background: #b91422 !important;
	border-color: #b91422 !important;
	color: #fff !important;
}
.fs-btn--black {
	background: #0a0c0f !important;
	color: #fff !important;
	border-color: #e8ecf1 !important;
}
.fs-btn--black:hover {
	background: #fff !important;
	color: #0a0c0f !important;
}

/* Main / featured */
.fs-premium-main {
	background: #f4f6f8;
	color: #161b22;
	padding: 2.5rem 0 3rem;
}
.fs-premium-main__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.25rem;
}
.fs-premium-featured__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin: 0 0 1.25rem;
}
.fs-premium-featured__head h2 {
	margin: 0 !important;
	font-size: 1.15rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.fs-premium-featured__all {
	font-size: 0.85rem;
	font-weight: 700;
	color: #e11d2e !important;
	text-decoration: none !important;
}

.fs-premium-footer {
	background: #0f1216;
	color: #6b7687;
	border-top: 1px solid #242b36;
	padding: 1.5rem;
	text-align: center;
	font-size: 0.85rem;
}
.fs-premium-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
}

/* ==========================================================================
   GLOBAL FULL-WIDTH OVERRIDES (break Astra container clamps)
   Force primary wrappers to 100% width — no half-screen max-width.
   ========================================================================== */

/* --- Core document / layout shells --- */
html body.fs-premium-ui,
html body.fs-premium-page-template,
html body.fs-premium-home {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: hidden !important;
}

html body.fs-premium-ui #page,
html body.fs-premium-ui #content,
html body.fs-premium-ui #primary,
html body.fs-premium-ui #main,
html body.fs-premium-ui .site,
html body.fs-premium-ui .site-content,
html body.fs-premium-ui .site-content > .ast-container,
html body.fs-premium-ui .ast-container,
html body.fs-premium-ui .ast-container--full,
html body.fs-premium-ui .ast-page-builder-template,
html body.fs-premium-ui .ast-plain-container,
html body.fs-premium-ui .ast-separate-container,
html body.fs-premium-ui .ast-separate-container .ast-article-single,
html body.fs-premium-ui .ast-separate-container .ast-article-post,
html body.fs-premium-ui .entry-content,
html body.fs-premium-ui .entry-content-wrap,
html body.fs-premium-ui .content-area,
html body.fs-premium-ui .content-area.primary,
html body.fs-premium-ui main.site-main,
html body.fs-premium-ui .site-main,
html body.fs-premium-ui .ast-row,
html body.fs-premium-ui .ast-width-md-100,
html body.fs-premium-ui .ast-article-single,
html body.fs-premium-ui article.hentry,
html body.fs-premium-ui .hentry,
html body.fs-premium-page-template #page,
html body.fs-premium-page-template #content,
html body.fs-premium-page-template #primary,
html body.fs-premium-page-template .site-content,
html body.fs-premium-page-template .ast-container,
html body.fs-premium-page-template .content-area,
html body.fs-premium-page-template .site-main,
html body.fs-premium-page-template article.hentry {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	float: none !important;
	flex: 1 1 100% !important;
	box-sizing: border-box !important;
}

/* Zero outer padding/margin that leaves a right "sidebar" gutter */
html body.fs-premium-ui #content,
html body.fs-premium-ui .site-content,
html body.fs-premium-ui .ast-container,
html body.fs-premium-ui .ast-separate-container #content .ast-container,
html body.fs-premium-ui .ast-separate-container .site-main > *,
html body.fs-premium-ui .ast-plain-container #content .ast-container,
html body.fs-premium-page-template #content,
html body.fs-premium-page-template .site-content,
html body.fs-premium-page-template .ast-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-top: 0 !important;
}

html body.fs-premium-ui #primary,
html body.fs-premium-ui .content-area,
html body.fs-premium-page-template #primary {
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
}

/* Kill sidebar column so primary never shares half width */
html body.fs-premium-ui #secondary,
html body.fs-premium-ui .widget-area,
html body.fs-premium-ui .sidebar-main,
html body.fs-premium-ui aside.sidebar,
html body.fs-premium-page-template #secondary,
html body.fs-premium-page-template .widget-area {
	display: none !important;
	width: 0 !important;
	max-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

/* Astra flex/grid content rows: force single full column */
html body.fs-premium-ui .site-content > .ast-container,
html body.fs-premium-ui #content > .ast-container,
html body.fs-premium-ui .ast-row {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}

html body.fs-premium-ui .ast-left-sidebar #primary,
html body.fs-premium-ui .ast-right-sidebar #primary,
html body.fs-premium-ui.ast-left-sidebar #primary,
html body.fs-premium-ui.ast-right-sidebar #primary,
html body.fs-premium-ui.ast-both-sidebars #primary {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* WooCommerce shop wrappers */
html body.fs-premium-ui.woocommerce .site-content,
html body.fs-premium-ui.woocommerce-page .site-content,
html body.fs-premium-ui.woocommerce .ast-container,
html body.fs-premium-ui.woocommerce-page .ast-container,
html body.fs-premium-ui .woocommerce,
html body.fs-premium-ui .woocommerce-page {
	width: 100% !important;
	max-width: 100% !important;
}

/* Our premium shell always edge-to-edge */
.fs-premium-shell,
.fs-premium-nav,
.fs-premium-hero,
.fs-premium-main,
.fs-premium-footer {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
}

/* Inner content may keep readable max-width, but sit centered in full bleed */
.fs-premium-nav__inner,
.fs-premium-hero__inner,
.fs-premium-main__inner,
.fs-premium-footer__inner {
	width: 100% !important;
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

/* Hero / nav remain full bleed even if Astra wraps content */
body.fs-premium-page-template .fs-premium-nav,
body.fs-premium-page-template .fs-premium-hero {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	left: 0 !important;
	right: 0 !important;
	position: relative !important;
}

/* Product grids use full available width */
body.fs-premium-ui ul.products {
	width: 100% !important;
	max-width: 100% !important;
}

/* Remove Astra boxed article card side gaps on premium template */
body.fs-premium-page-template.ast-separate-container .ast-article-single,
body.fs-premium-page-template .ast-separate-container .ast-article-post,
body.fs-premium-page-template .ast-article-single {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}

/* Elementor / builder full width helpers when mixed in */
body.fs-premium-ui .elementor-section.elementor-section-boxed > .elementor-container,
body.fs-premium-ui .elementor-section.elementor-section-full_width > .elementor-container {
	max-width: 100% !important;
	width: 100% !important;
}

/* Align restored CTA markup class with hero action layout */
.fs-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

/* ==========================================================================
   Split hero layout (text left / image right) for home-premium.php
   ========================================================================== */
.fs-premium-hero--split {
	min-height: 70vh;
	display: block;
	background: #0f1216;
	border-bottom: 1px solid #242b36;
}

.fs-premium-hero__grid {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	min-height: 70vh;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.fs-premium-hero__copy {
	flex: 1 1 48%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 4rem 3rem 4rem clamp(1.25rem, 5vw, 4rem);
	max-width: 640px;
	box-sizing: border-box;
}

.fs-premium-hero__media {
	flex: 1 1 52%;
	min-height: 70vh;
	position: relative;
}

.fs-premium-hero__media-frame {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.fs-premium-hero__media-frame--placeholder {
	background:
		linear-gradient(145deg, rgba(15,18,22,.2) 0%, rgba(90,20,28,.45) 100%),
		repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px);
	background-color: #1a1518;
}

.fs-premium-hero__eyebrow {
	color: #e11d2e !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	margin: 0 0 1.1rem !important;
}

.fs-premium-hero__title {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
	margin: 0 0 1.25rem !important;
	line-height: 0.95 !important;
	font-size: clamp(2.6rem, 6vw, 4.25rem) !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.01em !important;
}

.fs-premium-hero__title-white {
	color: #ffffff !important;
	display: block;
}

.fs-premium-hero__title-crimson {
	color: #e11d2e !important;
	display: block;
}

.fs-premium-hero__lead {
	color: #b4bdc9 !important;
	font-size: 1.05rem !important;
	line-height: 1.65 !important;
	margin: 0 0 1.85rem !important;
	max-width: 34rem;
}

.fs-hero-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.85rem !important;
	align-items: center !important;
}

@media (max-width: 900px) {
	.fs-premium-hero__grid {
		flex-direction: column;
		min-height: 0;
	}
	.fs-premium-hero__copy {
		max-width: 100%;
		padding: 3rem 1.5rem 2rem;
	}
	.fs-premium-hero__media {
		min-height: 42vh;
		width: 100%;
	}
}
