/*
Theme Name: Man Cave Market
Theme URI: https://man-cave-market.zwarren23.chatgpt.site
Author: Perpetual Designs
Description: Mobile-first WooCommerce showroom for vintage, garage, sports, bar, decor, and collectible products.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: man-cave-market
*/

:root {
	--ink: #161410;
	--paper: #eee9df;
	--rust: #b84d25;
	--rust-bright: #d05a2e;
	--gold: #d7a84c;
	--cream: #f7f1e6;
	--line: #c8c0b3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }

.mcm-topbar {
	min-height: 74px;
	padding: 12px clamp(18px, 4vw, 64px);
	background: #171713;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 30px;
	position: sticky;
	top: 0;
	z-index: 30;
	border-bottom: 1px solid #3b382f;
}

.admin-bar .mcm-topbar { top: 32px; }
.mcm-brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-size: 13px; letter-spacing: 0.12em; white-space: nowrap; }
.mcm-brand b { color: var(--gold); }
.mcm-brand-mark { width: 35px; height: 35px; border: 2px solid var(--gold); display: grid; place-items: center; font-family: Georgia, serif; font-weight: 900; font-size: 22px; transform: rotate(-3deg); }
.mcm-nav { display: flex; gap: 28px; margin-left: auto; }
.mcm-nav a { color: #bbb4a7; text-decoration: none; font-size: 13px; }
.mcm-nav a:hover { color: #fff; }

.mcm-admin,
.mcm-primary {
	border: 0;
	background: var(--rust);
	color: #fff;
	padding: 13px 19px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 11px;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	text-decoration: none;
}

.mcm-admin:hover,
.mcm-primary:hover { background: var(--rust-bright); color: #fff; }

.mcm-hero {
	background: #1b1a16;
	color: var(--cream);
	min-height: 570px;
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(35px, 6vw, 90px);
	padding: clamp(60px, 8vw, 110px) clamp(20px, 7vw, 110px) 90px;
}

.mcm-hero::before { content: ""; position: absolute; inset: 0; opacity: 0.16; background-image: repeating-linear-gradient(90deg, transparent 0 30px, #ffffff05 31px), radial-gradient(circle at 20% 20%, #9a692c 0, transparent 28%); }
.mcm-hero-copy { position: relative; z-index: 2; max-width: 700px; }
.mcm-eyebrow,
.mcm-kicker { font-size: 11px; letter-spacing: 0.22em; font-weight: 900; text-transform: uppercase; color: var(--rust); }
.mcm-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--gold); }
.mcm-eyebrow::before { content: ""; height: 2px; width: 30px; background: var(--rust); }
.mcm-hero h1 { font-family: Georgia, serif; font-size: clamp(46px, 6vw, 82px); line-height: 0.98; letter-spacing: -0.04em; margin: 22px 0; }
.mcm-hero h1 em { color: var(--gold); font-weight: 400; }

.mcm-hero-art { position: relative; min-height: 330px; border: 1px solid #4d473c; background: linear-gradient(145deg, #29261f, #11110e); box-shadow: 22px 22px 0 #111; }
.mcm-hero-art::before { content: ""; position: absolute; inset: 18px; border: 1px solid #494236; }
.mcm-neon { position: absolute; top: 55px; left: 50%; transform: translateX(-50%) rotate(-3deg); font: italic 800 64px Arial, sans-serif; color: #f1bc57; text-shadow: 0 0 8px #ef6e31, 0 0 28px #dc4f21; border: 3px solid #db713e; padding: 4px 20px; border-radius: 8px; }
.mcm-shelf { position: absolute; left: 10%; right: 10%; height: 8px; background: #79502d; box-shadow: 0 5px 0 #291b10; }
.mcm-shelf.one { bottom: 120px; }
.mcm-shelf.two { bottom: 55px; }
.mcm-tag { position: absolute; border: 2px solid #aaa08e; padding: 10px 14px; font-weight: 900; font-size: 12px; letter-spacing: 0.15em; }
.mcm-tag.one { bottom: 140px; left: 14%; transform: rotate(-5deg); color: #d4ccc0; }
.mcm-tag.two { bottom: 73px; right: 15%; transform: rotate(4deg); color: var(--gold); }

.mcm-ticker { position: absolute; bottom: 0; left: 0; right: 0; min-height: 46px; background: var(--rust); display: flex; align-items: center; justify-content: space-around; gap: 18px; font-size: 10px; letter-spacing: 0.22em; font-weight: 900; padding: 8px 18px; }
.mcm-ticker i { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

.mcm-shop { padding: 80px clamp(18px, 6vw, 90px) 100px; max-width: 1500px; margin: auto; }
.mcm-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; border-bottom: 2px solid var(--ink); padding-bottom: 25px; }
.mcm-section-head h2,
.mcm-about h2 { font-family: Georgia, serif; font-size: clamp(34px, 4vw, 55px); margin: 8px 0 0; letter-spacing: -0.03em; }
.mcm-count { font-size: 12px; text-transform: uppercase; font-weight: bold; letter-spacing: 0.1em; }

.mcm-toolbar { display: flex; gap: 12px; margin: 25px 0 14px; }
.mcm-search { flex: 1; display: flex; align-items: center; background: #fff; border: 1px solid var(--line); }
.mcm-search input { border: 0; outline: 0; background: transparent; width: 100%; padding: 14px; font: inherit; }
.mcm-sort { background: #fff; border: 1px solid var(--line); padding: 0 12px; }
.mcm-sort select { border: 0; background: transparent; padding: 14px; outline: none; font: inherit; }
.mcm-categories { display: flex; gap: 8px; overflow: auto; padding: 3px 0 25px; scrollbar-width: none; }
.mcm-categories button { white-space: nowrap; border: 1px solid #bdb4a5; background: transparent; padding: 9px 14px; font-weight: bold; font-size: 11px; cursor: pointer; }
.mcm-categories button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.mcm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.mcm-card { background: #f7f3eb; border: 1px solid #cac1b3; transition: transform 0.2s, box-shadow 0.2s; }
.mcm-card[hidden] { display: none; }
.mcm-card:hover { transform: translateY(-5px); box-shadow: 8px 10px 0 #c5b9a8; }
.mcm-photo { aspect-ratio: 4 / 3; background: radial-gradient(circle, #514635, #25221d); position: relative; overflow: hidden; display: grid; place-items: center; }
.mcm-photo img { width: 100%; height: 100%; object-fit: cover; }
.mcm-fallback { font: 900 28px Georgia, serif; color: #c99d4a; border: 3px solid #c99d4a; padding: 18px; transform: rotate(-5deg); }
.mcm-condition { position: absolute; top: 12px; left: 12px; background: #ece5d8; color: var(--ink); padding: 6px 9px; font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.mcm-card-body { padding: 18px; }
.mcm-category { color: var(--rust); font-size: 9px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 900; }
.mcm-card h3 { font-family: Georgia, serif; font-size: 22px; margin: 7px 0 18px; }
.mcm-card h3 a { color: inherit; text-decoration: none; }
.mcm-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #d3cabd; padding-top: 14px; }
.mcm-price { font-family: Georgia, serif; font-size: 22px; font-weight: bold; }
.mcm-price del { opacity: 0.55; font-size: 0.72em; }
.mcm-view { font-size: 9px; letter-spacing: 0.15em; font-weight: 900; color: inherit; text-decoration: none; text-transform: uppercase; }

.mcm-empty { border: 1px dashed #aaa092; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.mcm-empty h3 { font: 30px Georgia, serif; margin: 10px; }
.mcm-about { background: #26231d; color: #f6f0e5; padding: 90px clamp(20px, 7vw, 110px); text-align: center; }
.mcm-about h2 { max-width: 750px; margin: 12px auto 45px; }
.mcm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; margin: auto; border: 1px solid #4c463b; }
.mcm-steps > div { padding: 35px; border-right: 1px solid #4c463b; position: relative; }
.mcm-steps > div:last-child { border: 0; }
.mcm-steps b { color: var(--gold); font-size: 22px; }
.mcm-steps h3 { font: 24px Georgia, serif; margin: 13px 0 7px; }
.mcm-steps p { margin: 0; color: #aaa296; font-size: 13px; }

.mcm-content-page,
.mcm-commerce-page { width: min(1180px, calc(100% - 40px)); min-height: 60vh; margin: 0 auto; padding: clamp(45px, 7vw, 90px) 0; }
.mcm-entry > h1,
.mcm-commerce-page .page-title,
.mcm-commerce-page .product_title { font-family: Georgia, serif; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.mcm-entry h1 a { color: inherit; text-decoration: none; }
.mcm-entry-content { line-height: 1.7; }

.mcm-footer { background: #11110e; color: #b5aea2; display: flex; align-items: center; gap: 30px; padding: 35px clamp(20px, 6vw, 90px); font-size: 12px; }
.mcm-footer p { margin-left: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

@media (max-width: 850px) {
	.mcm-nav { display: none; }
	.mcm-hero { grid-template-columns: 1fr; padding-bottom: 75px; }
	.mcm-hero-art { display: none; }
	.mcm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mcm-steps { grid-template-columns: 1fr; }
	.mcm-steps > div { border-right: 0; border-bottom: 1px solid #4c463b; }
}

@media (max-width: 782px) {
	.admin-bar .mcm-topbar { top: 46px; }
}

@media (max-width: 620px) {
	.mcm-topbar { min-height: 64px; gap: 13px; }
	.mcm-brand > span:last-child { display: none; }
	.mcm-admin { padding: 10px; }
	.mcm-hero { min-height: 440px; padding-top: 65px; }
	.mcm-hero h1 { font-size: 48px; }
	.mcm-ticker span:nth-of-type(n + 3),
	.mcm-ticker i:nth-of-type(n + 3) { display: none; }
	.mcm-shop { padding-top: 55px; }
	.mcm-toolbar { display: grid; }
	.mcm-sort select { width: 100%; }
	.mcm-grid { grid-template-columns: 1fr; }
	.mcm-section-head { align-items: start; }
	.mcm-count { display: none; }
	.mcm-footer { flex-wrap: wrap; }
	.mcm-footer p { order: 3; width: 100%; margin: 0; }
}

