/*
Theme Name: Pitbulls
Theme URI: https://pitbulls.store
Author: Pitbulls
Description: A bold, light WooCommerce theme for Pitbulls. Cream background, black type, electric blue accents and chunky headlines.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pitbulls
Tags: e-commerce, blog, custom-menu, featured-images, two-columns
*/

:root {
	--bg: #FFFBF2;
	--surface: #FFFFFF;
	--ink: #111111;
	--ink-soft: #2b2b2b;
	--accent: #1E40FF;
	--accent-dark: #1430CC;
	--accent-tint: #E6EBFF;
	--line: #111111;
	--radius: 14px;
	--shadow: 5px 5px 0 var(--line);
	--shadow-sm: 3px 3px 0 var(--line);
	--wrap: 1180px;
	--font-head: "Archivo Black", "Arial Black", Impact, sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--accent-dark); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0 0 .6em;
	color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.2em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn,
.wp-block-button__link,
button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--font-head); font-weight: 400; font-size: 1rem; letter-spacing: .02em;
	text-transform: uppercase; text-decoration: none; line-height: 1.2;
	background: var(--accent); color: #fff;
	border: 3px solid var(--line); border-radius: 999px;
	padding: .85em 1.6em; cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover,
button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--accent-dark); color: #fff;
	transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--line);
}
.btn--ghost { background: var(--surface); color: var(--ink); }
.btn--ghost:hover { background: var(--accent-tint); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--bg);
	border-bottom: 3px solid var(--line);
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	min-height: 76px;
}
.site-logo {
	font-family: var(--font-head); font-size: 1.7rem; letter-spacing: .02em;
	color: var(--ink); text-decoration: none; text-transform: uppercase;
	display: inline-flex; align-items: center; gap: 10px;
}
.site-logo:hover { color: var(--ink); }
.site-logo__mark {
	display: inline-grid; place-items: center; width: 42px; height: 42px;
	background: var(--accent); border: 3px solid var(--line); border-radius: 50%;
	box-shadow: 2px 2px 0 var(--line);
}
.site-logo__mark svg { width: 22px; height: 22px; fill: #fff; }
.custom-logo { max-height: 56px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.main-nav a {
	display: block; padding: 8px 14px; border-radius: 999px;
	font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none;
}
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--accent-tint); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-link {
	position: relative; display: inline-grid; place-items: center;
	width: 46px; height: 46px; border: 3px solid var(--line); border-radius: 50%;
	background: var(--surface); color: var(--ink); box-shadow: 2px 2px 0 var(--line);
}
.cart-link svg { width: 20px; height: 20px; }
.cart-count {
	position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px;
	display: grid; place-items: center; font-size: .75rem; font-weight: 800;
	background: var(--accent); color: #fff; border: 2px solid var(--line); border-radius: 999px;
}

.nav-toggle {
	display: none; background: var(--surface); color: var(--ink); padding: 10px 14px;
	font-size: .85rem; box-shadow: 2px 2px 0 var(--line);
}

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--bg); border-bottom: 3px solid var(--line);
		display: none; padding: 12px 20px 20px;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; }
	.main-nav a { padding: 12px 14px; font-size: 1.05rem; }
}

/* ---------- Announcement bar ---------- */
.announce {
	background: var(--accent); color: #fff; text-align: center;
	font-weight: 700; font-size: .9rem; padding: 8px 16px; border-bottom: 3px solid var(--line);
}
.announce a { color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; border-bottom: 3px solid var(--line); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__eyebrow {
	display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
	background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero__lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__art {
	position: relative; aspect-ratio: 1/1; border: 3px solid var(--line); border-radius: 28px;
	background: var(--accent); box-shadow: 10px 10px 0 var(--line); overflow: hidden;
	display: grid; place-items: center;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art svg { width: 62%; height: auto; fill: #fff; }
.hero__badge {
	position: absolute; bottom: 18px; left: 18px; right: 18px;
	background: var(--surface); border: 3px solid var(--line); border-radius: 14px;
	padding: 12px 16px; font-weight: 800; font-size: .95rem; color: var(--ink);
}

@media (max-width: 860px) {
	.hero { padding: 44px 0; }
	.hero__grid { grid-template-columns: 1fr; gap: 32px; }
	.hero__art { max-width: 420px; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--tint { background: var(--surface); border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__head p { margin: 6px 0 0; color: var(--ink-soft); }

/* Value strip */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-bottom: 3px solid var(--line); background: var(--surface); }
.values__item { padding: 22px 24px; display: flex; gap: 14px; align-items: center; font-weight: 700; }
.values__item + .values__item { border-left: 3px solid var(--line); }
.values__icon {
	flex: none; width: 44px; height: 44px; display: grid; place-items: center;
	background: var(--accent-tint); border: 2px solid var(--line); border-radius: 50%;
}
.values__icon svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 2.2; }
@media (max-width: 760px) {
	.values { grid-template-columns: 1fr; }
	.values__item + .values__item { border-left: 0; border-top: 3px solid var(--line); }
}

/* Topic cards */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.topic {
	display: block; padding: 28px; background: var(--surface); color: var(--ink); text-decoration: none;
	border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	transition: transform .12s ease, box-shadow .12s ease;
}
.topic:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--line); color: var(--ink); }
.topic__num { font-family: var(--font-head); color: var(--accent); font-size: 2.4rem; line-height: 1; margin-bottom: 14px; }
.topic h3 { margin-bottom: .35em; }
.topic p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.topic__go { display: inline-block; margin-top: 16px; font-weight: 800; color: var(--accent); }
@media (max-width: 860px) { .topics { grid-template-columns: 1fr; } }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.card {
	display: flex; flex-direction: column; background: var(--surface);
	border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.card__thumb { aspect-ratio: 16/10; background: var(--accent-tint); border-bottom: 3px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__thumb svg { width: 56px; height: 56px; fill: var(--accent); }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__cat {
	align-self: flex-start; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; text-decoration: none;
}
.card__cat:hover { color: #fff; background: var(--accent-dark); }
.card h3 { font-size: 1.3rem; margin-bottom: .5em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { font-size: .98rem; color: var(--ink-soft); margin-bottom: 1em; }
.card__more { margin-top: auto; font-weight: 800; text-decoration: none; }

/* CTA band */
.cta-band {
	background: var(--accent); color: #fff; border: 3px solid var(--line); border-radius: 24px;
	box-shadow: 10px 10px 0 var(--line); padding: 48px; display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn { background: var(--surface); color: var(--ink); }
.cta-band .btn:hover { background: var(--accent-tint); color: var(--ink); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Content / single ---------- */
.page-head { padding: 56px 0 36px; border-bottom: 3px solid var(--line); }
.page-head p { color: var(--ink-soft); font-size: 1.15rem; margin: 0; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.entry-hero { margin: 32px 0 0; border: 3px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.entry-content { padding: 44px 0 24px; }
.entry-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--accent); font-weight: 800; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 20px 24px; background: var(--accent-tint);
	border: 3px solid var(--line); border-radius: var(--radius); font-weight: 600;
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content .callout {
	background: var(--surface); border: 3px solid var(--line); border-left: 10px solid var(--accent);
	border-radius: var(--radius); padding: 18px 22px; margin: 1.6em 0;
}
.entry-content .callout p:last-child { margin: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; background: var(--surface); }
.entry-content th, .entry-content td { border: 2px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--accent-tint); }

.post-shop-cta {
	margin: 24px 0 56px; padding: 26px 28px; background: var(--surface);
	border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.post-shop-cta h3 { margin: 0 0 .2em; }
.post-shop-cta p { margin: 0; color: var(--ink-soft); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 64px; }
.post-nav a {
	display: block; padding: 18px 20px; background: var(--surface); border: 3px solid var(--line); border-radius: var(--radius);
	color: var(--ink); text-decoration: none; font-weight: 700;
}
.post-nav a:hover { background: var(--accent-tint); }
.post-nav small { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 800; }
.post-nav .next { text-align: right; }
@media (max-width: 620px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { text-align: left; } }

.pagination { display: flex; gap: 8px; justify-content: center; padding: 40px 0 72px; flex-wrap: wrap; }
.pagination .page-numbers {
	min-width: 46px; height: 46px; display: grid; place-items: center; padding: 0 12px;
	border: 3px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 800;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--accent); color: #fff; }

/* Forms */
input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="password"], input[type="number"], textarea, select {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
	border: 3px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.search-form { display: flex; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 3px solid var(--line); padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { color: var(--ink-soft); max-width: 30em; }
.footer-bottom {
	margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--line);
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .9rem; font-weight: 600;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- WooCommerce ---------- */
.woo-main { padding: 48px 0 72px; }
.woocommerce .woocommerce-breadcrumb { font-weight: 600; font-size: .9rem; margin-bottom: 20px; color: var(--ink-soft); }
.woocommerce .woocommerce-breadcrumb a { color: var(--ink); }
.woocommerce-products-header__title, .woocommerce div.product .product_title { font-family: var(--font-head); }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: var(--surface); border: 3px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-sm); padding: 0 0 18px; overflow: hidden; text-align: left;
	transition: transform .12s ease, box-shadow .12s ease;
}
.woocommerce ul.products li.product:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--line); }
.woocommerce ul.products li.product a img { margin: 0 0 14px; border-bottom: 3px solid var(--line); background: var(--accent-tint); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; color: var(--ink); padding: 0 18px;
}
.woocommerce ul.products li.product .price { color: var(--ink); font-weight: 800; font-size: 1.05rem; padding: 0 18px; }
.woocommerce ul.products li.product .button { margin: 10px 18px 0; font-size: .85rem; padding: .7em 1.2em; }
.woocommerce span.onsale {
	background: var(--accent); color: #fff; border: 2px solid var(--line); font-weight: 800; min-height: auto; min-width: auto;
	padding: 4px 12px; border-radius: 999px; line-height: 1.5; top: 12px; left: 12px; right: auto; margin: 0;
}
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-weight: 800; font-size: 1.5rem; }
.woocommerce div.product div.images img { border: 3px solid var(--line); border-radius: var(--radius); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--surface); border: 2px solid var(--line); border-radius: 10px 10px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--accent-tint); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--ink); font-weight: 800; }
.woocommerce .quantity .qty { width: 80px; text-align: center; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border: 3px solid var(--line) !important; border-radius: var(--radius); background: var(--surface) !important; color: var(--ink);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent) !important; }
.woocommerce table.shop_table { border: 3px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { font-weight: 800; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--accent); color: #fff; }

/* Utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.empty-state { padding: 72px 0; text-align: center; }
