/*
Theme Name: Footprints Footwear
Theme URI: https://f2wgh.com
Author: Footprints Footwear
Description: Custom retail theme for Footprints Footwear — native store + POS, bold red/white/black branding, mobile-first.
Version: 1.3.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: footprints-footwear
*/

/* Base tokens — primary red #FF0000 */
:root {
	--fp-red: #ff0000;
	--fp-white: #ffffff;
	--fp-black: #000000;
	--fp-grey: #f4f4f4;
	--fp-grey-dark: #e8e8e8;
	--fp-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--fp-font);
	color: var(--fp-black);
	background: var(--fp-white);
	line-height: 1.5;
	font-size: 16px;
}

a {
	color: var(--fp-red);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.site-header {
	background: var(--fp-black);
	color: var(--fp-white);
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 2px solid var(--fp-red);
}

.site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.site-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.site-title a {
	color: var(--fp-white);
	text-decoration: none;
}

.site-title a span {
	color: var(--fp-red);
}

.site-branding {
	display: flex;
	align-items: center;
}

.site-logo-wrap .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-logo-wrap .custom-logo {
	max-height: 56px;
	width: auto;
}

.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}

.main-nav a {
	color: var(--fp-white);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}

.main-nav a:hover {
	color: var(--fp-red);
}

.main-nav a {
	padding: 0.25rem 0;
}

.site-main {
	min-height: 50vh;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.25rem;
}

.hero {
	background: linear-gradient(135deg, var(--fp-black) 0%, #1a1a1a 100%);
	color: var(--fp-white);
	padding: 4rem 1.25rem;
	text-align: center;
	background-size: cover;
	background-position: center;
}

.hero h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 800;
}

.hero p {
	margin: 0 auto 1.5rem;
	max-width: 36rem;
	opacity: 0.92;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	font-weight: 700;
	border-radius: 4px;
	border: 2px solid transparent;
	cursor: pointer;
	font-size: 1rem;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
	background: var(--fp-red);
	color: var(--fp-white);
	border-color: var(--fp-red);
}

.btn--primary:hover {
	background: #cc0000;
	border-color: #cc0000;
	color: var(--fp-white);
	text-decoration: none;
}

.btn--outline {
	background: transparent;
	color: var(--fp-white);
	border-color: var(--fp-white);
}

.btn--outline:hover {
	background: var(--fp-white);
	color: var(--fp-black);
	text-decoration: none;
}

.section-muted {
	background: var(--fp-grey);
}

.grid-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

.card {
	background: var(--fp-white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	border: 1px solid #efefef;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card__body {
	padding: 1.25rem;
}

.site-footer {
	background: var(--fp-black);
	color: var(--fp-white);
	padding: 2rem 1.25rem;
	margin-top: 3rem;
}

.site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer a {
	color: var(--fp-red);
}

.site-footer__bottom {
	max-width: 1200px;
	margin: 1.25rem auto 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.9rem;
}

.site-footer__bottom p {
	margin: 0;
}

.whatsapp-float {
	position: fixed;
	bottom: 1.25rem;
	right: 1.25rem;
	z-index: 99;
	background: #25d366;
	color: #fff !important;
	padding: 0.85rem 1.1rem;
	border-radius: 999px;
	font-weight: 700;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	text-decoration: none !important;
}

.whatsapp-float:hover {
	filter: brightness(1.05);
}

/* Native store (Footprints commerce shortcodes) */
.fp-shop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.25rem;
}

.fp-shop-card {
	background: var(--fp-white);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	border: 2px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fp-shop-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.fp-shop-card__img img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
	background: var(--fp-grey);
}

.fp-shop-card__body {
	padding: 0.85rem 0.95rem 1rem;
}

.fp-shop-card__title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	line-height: 1.25;
}

.fp-shop-card__price {
	margin: 0 0 0.75rem;
	font-weight: 800;
	color: var(--fp-red);
}

.fp-shop-card__form {
	display: grid;
	gap: 0.5rem;
}

.fp-input,
.fp-select {
	width: 100%;
	padding: 0.55rem 0.65rem;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	font-size: 1rem;
	min-height: 44px;
}

.fp-store {
	padding-top: 2.25rem;
	padding-bottom: 2.25rem;
}

.fp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 1rem;
	border-radius: 6px;
	font-weight: 800;
	border: 2px solid var(--fp-red);
	background: var(--fp-red);
	color: var(--fp-white);
	cursor: pointer;
	text-decoration: none;
}

.fp-table {
	width: 100%;
	border-collapse: collapse;
}

.fp-table th,
.fp-table td {
	padding: 0.55rem 0.35rem;
	border-bottom: 1px solid #eee;
	text-align: left;
	vertical-align: top;
}

.fp-link {
	background: transparent;
	border: none;
	color: var(--fp-red);
	font-weight: 800;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
}

.contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.contact-list li {
	margin-bottom: 0.75rem;
	font-size: 1.05rem;
}

.contact-list a {
	font-weight: 600;
}

@media (max-width: 600px) {
	.site-header__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-logo-wrap .custom-logo {
		max-height: 48px;
	}

	.hero {
		padding: 3.25rem 1rem;
	}
}
