/*
 * Foxhound theme: what the compiled Tailwind output (tailwind.css) does not cover.
 * Markup uses the original React build's exact class names and inline style values.
 */

/* Helpers for <a> elements standing in for the original <button>s (button base: weight 500, inline-block). */
@layer components {
	.fh-a { display: inline-block; font-weight: 500; }
}

.fh-skip {
	position: absolute; left: 8px; top: -60px; z-index: 400;
	background: #8B0000; color: #fff; padding: 8px 14px; text-decoration: none;
}
.fh-skip:focus { top: 8px; }

/* Honeypot (Support form): off-screen, not display:none, so naive bots still fill it. */
.fh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Header dropdown rows. Colors flip on hover exactly like the original's inline handlers. */
.fh-dd-item { color: rgba(100, 116, 139, 0.85); cursor: pointer; }
.fh-dd-item:hover, .fh-dd-item:focus-visible { color: #8B0000; }
.fh-dd-item.is-disabled, .fh-dd-item.is-disabled:hover { color: rgba(100, 116, 139, 0.35); cursor: default; }

/* Product page button (original: inline style + JS hover). */
.fh-addbtn, .single_add_to_cart_button.fh-addbtn {
	display: block; width: 100%; background-color: #8B0000; color: #F3EEE4; border: none; cursor: pointer;
	letter-spacing: 0.16em; text-align: center; text-decoration: none; font-weight: 500;
}
.fh-addbtn:hover { background-color: #6B0000; color: #F3EEE4; }

/* Home carousel buttons. */
.fh-buy, .fh-see {
	padding: 9px 22px; letter-spacing: 0.14em; font-size: 0.68rem; text-transform: uppercase; cursor: pointer;
	font-weight: 500; text-align: center; line-height: 1.5; display: inline-block;
}
.fh-buy { background: #8B0000; color: #F3EEE4; border: none; transition: background 0.2s ease; }
.fh-buy:hover { background: #6B0000; }
.fh-buy:disabled { cursor: not-allowed; background: transparent; color: rgba(15, 13, 13, .6); border: 1px solid rgba(15, 13, 13, .3); }
.fh-see { background: transparent; color: rgba(100, 116, 139, 0.85); border: 1px solid rgba(100, 116, 139, 0.35); transition: border-color 0.2s ease, color 0.2s ease; }
.fh-see:hover { border-color: rgba(100, 116, 139, 0.7); color: rgba(100, 116, 139, 1); }
/* Header account and cart icons (added 2026-10-13, not in the Make draft). */
.fh-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: rgb(100, 116, 139); transition: color 0.2s ease; }
.fh-icon:hover { color: #8B0000; }
.fh-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fh-cart-count {
	position: absolute; top: 0; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
	background: #8B0000; color: #F3EEE4; font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; letter-spacing: 0;
}
.fh-cart-count[hidden] { display: none; }
.fh-mobile-tools { display: flex; align-items: center; gap: 4px; }
@media (min-width: 768px) { .fh-mobile-tools { display: none; } }

/* Home carousel arrows (added 2026-10-13, not in the Make draft). */
.fh-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 110; width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center; background: none; border: none; padding: 0; cursor: pointer;
	color: rgba(100, 116, 139, 0.6); transition: color 0.2s ease;
}
.fh-arrow svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fh-arrow:hover { color: #8B0000; }
.fh-arrow:disabled { cursor: default; }
.fh-arrow[hidden] { display: none; }
.fh-arrow-l { left: 1rem; }
.fh-arrow-r { right: 1rem; }
@media (min-width: 768px) { .fh-arrow-l { left: 2rem; } .fh-arrow-r { right: 2rem; } }
.fh-back { background: none; border: none; cursor: pointer; padding: 0; }
#fh-home button:focus-visible, #fh-home a:focus-visible, .fh-itw:focus-visible { outline: 2px solid #8B0000; outline-offset: 2px; }

/* WooCommerce notices (login errors, cart messages), styled like the original's cards. */
.woocommerce-error, .woocommerce-message, .woocommerce-info {
	list-style: none; border: 1px solid oklch(87.2% .01 258.338); border-radius: .25rem;
	padding: .5rem 1rem; margin-bottom: 1rem; color: oklch(37.3% .034 259.733);
}
.woocommerce-error { color: #8B0000; }

/* WooCommerce add-to-cart form for non-simple products renders inside this wrapper. */
.fh-woo-cart form.cart { display: block; }
.fh-woo-cart .quantity { margin-bottom: 1rem; }
.fh-woo-cart .quantity input, .fh-woo-cart select { padding: .5rem 1rem; border: 1px solid oklch(87.2% .01 258.338); border-radius: .25rem; background: #fff; }

/* Site footer (added 2026-10-13 on Colton's gunnar.com direction; the Make draft had none). */
.fh-footer { position: relative; z-index: 10; background: #121010; color: rgba(243, 238, 228, .7); font-size: .88rem; }
.fh-footer-inner {
	max-width: 72rem; margin: 0 auto; padding: 4rem 1.5rem 3rem; display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .fh-footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; padding: 4.5rem 2rem 3.5rem; } }
.fh-footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .fh-footer-brand { grid-column: auto; } }
.fh-footer-logo { display: inline-block; color: #F3EEE4; text-decoration: none; text-transform: uppercase; letter-spacing: .32em; font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; }
.fh-footer-logo:hover { color: #fff; }
.fh-footer-brand p { max-width: 19rem; line-height: 1.7; margin: 0; }
.fh-footer-contact { font-style: normal; line-height: 1.7; margin-top: 1rem; font-size: .85rem; }
.fh-footer-contact a { color: rgba(243, 238, 228, .85); }
.fh-footer-contact a:hover { color: #fff; }
.fh-sp-contact { font-style: normal; line-height: 1.7; }
.fh-footer-col h2 { color: #F3EEE4; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 1.1rem; }
.fh-footer-col ul { list-style: none; margin: 0; padding: 0; }
.fh-footer-col li + li { margin-top: .7rem; }
.fh-footer-col a { color: rgba(243, 238, 228, .7); text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; transition: color .2s ease; }
.fh-footer-col a:hover { color: #F3EEE4; }
.fh-footer a:focus-visible { outline: 2px solid #F3EEE4; outline-offset: 3px; }
.fh-footer-base {
	max-width: 72rem; margin: 0 auto; padding: 1.4rem 1.5rem 1.8rem; border-top: 1px solid rgba(243, 238, 228, .12);
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
	font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(243, 238, 228, .45);
}
.fh-footer-base p { margin: 0; }
@media (min-width: 768px) { .fh-footer-base { padding-left: 2rem; padding-right: 2rem; } }

/* ---------- Site-wide finish (2026-10-13 mobile pass) ---------- */
:root { --fh-display: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif; }

/* Inner pages fade the header bar to .3 until hovered (Make draft). Touch screens cannot hover, so it stays solid there. */
@media (hover: none), (max-width: 767px) { #fh-header-inner { opacity: 1 !important; } }
#fh-logo { letter-spacing: .2em; font-weight: 600; }

/* Mobile menu: solid panel, display type, brand line at the foot. */
#fh-mobile { background-color: #F3EEE4 !important; z-index: 190; display: flex; flex-direction: column; }
#fh-mobile[hidden] { display: none; }
#fh-mobile:not([hidden]) { animation: fh-menu-in .32s cubic-bezier(.22, 1, .36, 1); }
@keyframes fh-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
#fh-mobile nav { padding: 1.25rem 1.5rem 2rem; }
#fh-mobile nav > a, #fh-mobile-toggle {
	font-family: var(--fh-display); font-weight: 800; font-size: 2rem; line-height: 1.1; letter-spacing: .01em;
	color: #0f0d0d; padding: 1rem 0; border-color: rgba(15, 13, 13, .12);
}
#fh-mobile nav > a:hover, #fh-mobile-toggle:hover, #fh-mobile-toggle[aria-expanded="true"] { color: #8B0000; }
#fh-mobile-sign { font-family: system-ui, sans-serif; font-weight: 300; color: #8B0000; }
#fh-mobile-products { padding: .25rem 0 1rem 0; border-bottom: 1px solid rgba(15, 13, 13, .12); }
#fh-mobile-products a, #fh-mobile-products span { letter-spacing: .14em; }
#fh-mobile::after {
	content: "Manufactured in Ogden, Utah"; margin-top: auto; padding: 1.5rem; border-top: 1px solid rgba(15, 13, 13, .1);
	font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(15, 13, 13, .45);
}

/* Page titles (Cart, Checkout, Account, Legal, 404, Our Products): the display face used by About and Support. */
.fh-page-title {
	margin: 0 0 2rem; font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
	line-height: .95; font-size: clamp(2.6rem, 9vw, 4rem); color: #0f0d0d;
}
.fh-kicker, .fh-login-kicker {
	display: flex; align-items: center; gap: .8rem; margin: 0 0 .9rem; font-size: .72rem; font-weight: 600;
	letter-spacing: .3em; text-transform: uppercase; color: #8B0000;
}
.fh-kicker::before { content: ""; width: 2.25rem; height: 2px; background: #8B0000; }

/* Buttons. */
.fh-btn, .fh-btn-outline {
	display: inline-block; text-align: center; text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .2em;
	text-transform: uppercase; border-radius: 0; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.fh-btn { background: #8B0000; color: #F3EEE4; border: 1px solid #8B0000; }
.fh-btn:hover { background: #6B0000; border-color: #6B0000; color: #F3EEE4; }
.fh-btn-outline { background: transparent; color: #0f0d0d; border: 1px solid rgba(15, 13, 13, .55); }
.fh-btn-outline:hover { background: #0f0d0d; color: #F3EEE4; border-color: #0f0d0d; }

/* Our Products (Home and /products/). */
.fh-products { padding: 3.5rem 1.25rem 4rem; }
@media (min-width: 768px) { .fh-products { padding: 5rem 2rem; } }
.fh-products-intro { max-width: 44rem; margin: 0 0 2.5rem; font-size: 1.05rem; line-height: 1.75; color: rgb(65, 75, 85); }
.fh-pcards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .fh-pcards { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.fh-pcard { display: flex; flex-direction: column; background: #fbf8f2; color: inherit; text-decoration: none; box-shadow: 0 1px 0 rgba(15, 13, 13, .06), 0 10px 30px -18px rgba(15, 13, 13, .35); transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease; }
a.fh-pcard:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(15, 13, 13, .06), 0 22px 40px -20px rgba(15, 13, 13, .45); }
.fh-pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0f0d0d; }
.fh-pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
a.fh-pcard:hover .fh-pcard-media img { transform: scale(1.05); }
.fh-pcard-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.fh-pcard-name { margin: 0 0 .6rem; font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: #0f0d0d; }
.fh-pcard-text { margin: 0 0 1.2rem; color: rgb(65, 75, 85); line-height: 1.65; font-size: .95rem; }
.fh-pcard-cta { margin-top: auto; color: #8B0000; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.fh-pcard-cta span { display: inline-block; transition: transform .25s ease; }
a.fh-pcard:hover .fh-pcard-cta span { transform: translateX(4px); }
/* A category without products yet: a dark plate with the name set large, not a grey placeholder. */
.fh-pcard.is-soon { background: #161313; box-shadow: none; }
.fh-pcard.is-soon .fh-pcard-media { background: radial-gradient(120% 90% at 70% 20%, #2a1d1b 0%, #0f0d0d 70%); display: flex; align-items: center; justify-content: center; }
.fh-pcard-soon { font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; font-size: clamp(3.4rem, 15vw, 5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(243, 238, 228, .4); letter-spacing: .02em; }
.fh-pcard.is-soon .fh-pcard-name { color: #F3EEE4; }
.fh-pcard.is-soon .fh-pcard-text { color: #d9534a; font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin: 0; }
@media (min-width: 768px) and (max-width: 1023px) { .fh-pcard-name { font-size: 1.5rem; } }

.fh-help {
	margin-top: 3.5rem; padding: 2rem 1.5rem; background: #fbf8f2; border-top: 3px solid #8B0000;
	display: flex; flex-direction: column; gap: 1.5rem; box-shadow: 0 10px 30px -22px rgba(15, 13, 13, .4);
}
.fh-help-title { margin: 0 0 .7rem; font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: #0f0d0d; }
.fh-help p { margin: 0; max-width: 40rem; color: rgb(65, 75, 85); line-height: 1.7; }
.fh-help .fh-btn { align-self: flex-start; }
@media (min-width: 768px) { .fh-help { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem; } .fh-help .fh-btn { align-self: center; flex-shrink: 0; } }
@media (max-width: 480px) { .fh-help .fh-btn { align-self: stretch; } }

/* Login / register. */
.fh-login .text-center { text-align: center; }
.fh-login-kicker { justify-content: center; }
.fh-login-kicker::before, .fh-login-kicker::after { content: ""; width: 1.5rem; height: 2px; background: #8B0000; }
.fh-login .fh-page-title { font-size: clamp(2.4rem, 10vw, 3.2rem); }
.fh-login-card { background: #fbf8f2; border: none !important; border-top: 3px solid #8B0000 !important; border-radius: 0 !important; box-shadow: 0 10px 30px -22px rgba(15, 13, 13, .4); }
.fh-login-new { background: transparent !important; border: 1px solid rgba(15, 13, 13, .15) !important; border-radius: 0 !important; }
.fh-login-new h3 { font-family: var(--fh-display); font-weight: 800; font-size: 1.5rem !important; }
.fh-login input { border-radius: 0 !important; background: #fff; }
.fh-login label { font-size: .72rem !important; font-weight: 600; letter-spacing: .2em !important; color: #0f0d0d !important; }

/* Generic pages (Legal & Privacy): a paper card with the brand rule, not a grey outline. */
.fh-page-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px) { .fh-page-wrap { padding-left: 2rem; padding-right: 2rem; } }
.fh-page-body { background: #fbf8f2; border-top: 3px solid #8B0000; padding: 1.75rem 1.5rem; box-shadow: 0 10px 30px -22px rgba(15, 13, 13, .4); }
@media (min-width: 768px) { .fh-page-body { padding: 2.5rem; } }
/* Policy pages (2026-10-22): headings, numbered and bulleted lists, links. */
.fh-page-body h2 { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8B0000; margin: 2rem 0 .5rem; }
.fh-page-body h2:first-of-type { margin-top: .75rem; }
.fh-page-body ul, .fh-page-body ol { padding-left: 1.4rem; }
.fh-page-body ul { list-style: disc; } .fh-page-body ol { list-style: decimal; }
.fh-page-body li + li { margin-top: .5rem; }
.fh-page-body a { color: #8B0000; text-decoration: underline; text-underline-offset: 2px; }
.fh-page-body .fh-policy-date { color: #6b7280; font-size: .85rem; }
.fh-page-body .fh-policy-list { list-style: none; padding: 0; }
.fh-page-body .fh-policy-list li { border-bottom: 1px solid rgba(100,116,139,.25); padding: .6rem 0; margin: 0; }
.fh-page-title + p { margin-top: -1rem; }
.fh-products .fh-page-title, .fh-login .fh-page-title { margin-bottom: 0; }

/* Sold out: a deliberate outlined state at full opacity, not a faded red block. */
.fh-addbtn.is-soldout, .fh-addbtn.is-soldout:hover { background: transparent; color: rgba(15, 13, 13, .6); border: 1px solid rgba(15, 13, 13, .3); cursor: not-allowed; }

/* Category without products (Pistol): dark plate with the name outlined, then readable copy and a way back. */
.fh-cat-soon { height: 240px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(120% 90% at 70% 20%, #2a1d1b 0%, #0f0d0d 70%); }
.fh-cat-soon span { font-family: var(--fh-display); font-weight: 800; text-transform: uppercase; font-size: clamp(4rem, 18vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(243, 238, 228, .4); }
.fh-cat-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.fh-cat-empty-tag { margin: -1rem 0 0; color: #8B0000; font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.fh-cat-state { margin: .5rem 0 0; color: rgba(100, 116, 139, .8); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.fh-cat-state.is-pre { color: #8B0000; }
.fh-cat-empty-text { margin: 0; max-width: 36rem; color: rgb(65, 75, 85); line-height: 1.7; }

/* Rifle banner: the draft's offset crop leaves a strip of backdrop above the photo on phones; fill the band there. */
@media (max-width: 640px) { .fh-cat-rifle-img { inset: 0; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 45%; transform: none !important; } }

/* Logged in: WordPress's admin bar sits on top of the page (32px, 46px on small screens), so the fixed header, its dropdown
   and the mobile menu start below it. Logged-out visitors never get .admin-bar, so nothing moves for them. On phones the
   admin bar normally scrolls away; it is pinned here so the header never slides under it. */
body.admin-bar #fh-header { top: var(--wp-admin--admin-bar--height, 32px); }
body.admin-bar #fh-dd-panel { top: calc(64px + var(--wp-admin--admin-bar--height, 32px)) !important; }
body.admin-bar #fh-mobile { top: var(--wp-admin--admin-bar--height, 32px); }
body.admin-bar .fh-ab-story { scroll-margin-top: calc(64px + var(--wp-admin--admin-bar--height, 32px)); }
body.admin-bar .fh-sp-form { scroll-margin-top: calc(88px + var(--wp-admin--admin-bar--height, 32px)); }
@media screen and (max-width: 600px) { body.admin-bar #wpadminbar { position: fixed; } }
