/* ==========================================================================
   Good ATF - Site Toolkit visual refresh
   Layers on top of your existing theme. Adjust the CSS variables below
   to tune colors without touching anything else.
   ========================================================================== */

:root{
	--goodatf-navy: #10233f;
	--goodatf-navy-dark: #0a1729;
	--goodatf-red: #b31f2b;
	--goodatf-red-dark: #8f181f;
	--goodatf-cream: #f6f3ec;
	--goodatf-gold: #c9a227;
	--goodatf-text: #1b1b1b;
	--goodatf-radius: 8px;
}

/* Trust bar - fast shipping / secure checkout / FFL transfer info.
   Add a widget/section with class "goodatf-trust-bar" and these child spans,
   or reference this class from Elementor's custom CSS panel. */
.goodatf-trust-bar{
	display:flex;
	flex-wrap:wrap;
	gap:24px;
	justify-content:center;
	background:var(--goodatf-navy);
	color:#fff;
	padding:14px 20px;
	font-size:14px;
	letter-spacing:.02em;
}
.goodatf-trust-bar span{ display:flex; align-items:center; gap:8px; }

/* Buttons - override the theme's default CTA styling for consistency */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
a.goodatf-btn{
	background:var(--goodatf-red) !important;
	border-color:var(--goodatf-red) !important;
	color:#fff !important;
	border-radius:var(--goodatf-radius) !important;
	font-weight:600 !important;
	letter-spacing:.02em;
	transition:background .15s ease, transform .1s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
a.goodatf-btn:hover{
	background:var(--goodatf-red-dark) !important;
	transform:translateY(-1px);
}

/* Product grid - cleaner cards, consistent spacing */
.woocommerce ul.products li.product{
	background:#fff;
	border-radius:var(--goodatf-radius);
	padding:14px;
	box-shadow:0 1px 3px rgba(0,0,0,.08);
	transition:box-shadow .15s ease, transform .1s ease;
}
.woocommerce ul.products li.product:hover{
	box-shadow:0 6px 18px rgba(0,0,0,.12);
	transform:translateY(-2px);
}
.woocommerce ul.products li.product .price{
	color:var(--goodatf-navy);
	font-weight:700;
}
.woocommerce ul.products li.product .price ins{
	color:var(--goodatf-red);
}

/* Out-of-stock / license-pending badges (use on Alcohol/Tobacco categories
   while those licenses are pending, instead of slider copy) */
.goodatf-badge{
	display:inline-block;
	font-size:12px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:.04em;
	padding:4px 10px;
	border-radius:999px;
	background:var(--goodatf-gold);
	color:var(--goodatf-navy-dark);
}
.goodatf-badge--pending{ background:#e9e4d6; color:#6b6248; }

/* Category cards on shop landing (Alcohol / Tobacco / Firearms) */
.goodatf-category-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
	gap:20px;
	margin:32px 0;
}
.goodatf-category-card{
	position:relative;
	border-radius:var(--goodatf-radius);
	overflow:hidden;
	min-height:220px;
	display:flex;
	align-items:flex-end;
	padding:20px;
	color:#fff;
	background:linear-gradient(180deg, rgba(16,35,63,0) 40%, rgba(16,35,63,.9) 100%), var(--goodatf-navy);
	background-size:cover;
	background-position:center;
	text-decoration:none;
}
.goodatf-category-card h3{ margin:0; font-size:22px; }

/* Header contact/social shortcodes */
.goodatf-phone, .goodatf-email{
	color:inherit;
	text-decoration:none;
	font-weight:600;
}
.goodatf-socials a{
	margin-right:10px;
	color:inherit;
	text-decoration:none;
}

/* Search box emphasis - make it obvious and prominent since search is a
   primary navigation path for a large catalog */
.woocommerce-product-search input[type="search"]{
	border-radius:var(--goodatf-radius) 0 0 var(--goodatf-radius) !important;
	border:2px solid var(--goodatf-navy) !important;
	padding:10px 14px !important;
}
.woocommerce-product-search button{
	border-radius:0 var(--goodatf-radius) var(--goodatf-radius) 0 !important;
	background:var(--goodatf-navy) !important;
}

/* Mobile nav polish */
@media (max-width: 782px){
	.goodatf-trust-bar{ font-size:12px; gap:14px; }
	.goodatf-category-grid{ grid-template-columns:1fr; }
}
