/* Our Neck of the Woods store — palette from the official festival artwork:
   deep teal #093e52, mid teal #007178, orange #f89c23, cream #f5f3ea,
   line-art blue #4a98b7, paper #e4d9c3 (matches the badge background). */

:root {
	--deep: #093e52;
	--teal: #007178;
	--orange: #f89c23;
	--orange-dark: #d97f0e;
	--cream: #f5f3ea;
	--paper: #e4d9c3;
	--sky: #4a98b7;
	--ink: #23333b;
	--card: #fdfbf5;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: 'Nunito', system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

h1, h2, h3, .display {
	font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
	font-weight: 400;
	letter-spacing: .035em;
	color: var(--deep);
	margin: 0 0 .35em;
}
h1 { font-size: 42px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }

a { color: var(--teal); }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.c { text-align: center; }

/* ---- header */

.site-header {
	background: var(--paper);
	border-bottom: 4px solid var(--deep);
}
.header-row {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.badge-link img { display: block; height: 92px; width: auto; }
.header-title { display: flex; flex-direction: column; line-height: 1.15; }
.header-title .kicker {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--teal);
}
.header-title .wordmark {
	font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
	font-size: 34px;
	color: var(--deep);
	letter-spacing: .04em;
}
.header-title .sub { font-size: 13px; font-weight: 700; color: #7c6f52; }
.header-title .dot { color: var(--orange); }

.header-nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.header-nav a {
	font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
	font-size: 21px;
	letter-spacing: .05em;
	text-decoration: none;
	color: var(--deep);
	padding: 6px 14px;
	border-radius: 999px;
}
.header-nav a:hover { background: rgba(9, 62, 82, .08); }
.header-nav a.current { background: var(--deep); color: var(--cream); }
.cart-count {
	display: inline-block;
	min-width: 22px;
	text-align: center;
	background: var(--orange);
	color: var(--deep);
	border-radius: 999px;
	font-size: 15px;
	padding: 1px 6px;
	margin-left: 2px;
	font-family: 'Nunito', sans-serif;
	font-weight: 900;
}

/* ---- hero */

.hero { margin: 22px 0 0; }
.hero-art {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(9, 62, 82, .28);
}
.hero-strip {
	background: var(--orange);
	color: var(--deep);
	border-radius: 10px;
	margin: 14px 0 0;
	padding: 10px 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 26px;
	align-items: center;
	justify-content: center;
	font-weight: 800;
}
.hero-strip .big {
	font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
	font-size: 24px;
	letter-spacing: .05em;
}

/* ---- sections & cards */

section.panel {
	background: var(--card);
	border-radius: 14px;
	padding: 26px 30px;
	margin: 26px 0;
	box-shadow: 0 6px 18px rgba(9, 62, 82, .10);
}
.lede { font-size: 18px; }

.section-head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 34px 0 16px;
}
.section-head h2 { margin: 0; font-size: 34px; }
.section-head .rule { flex: 1; height: 4px; background: var(--deep); border-radius: 2px; opacity: .85; }

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
	gap: 18px;
	margin-bottom: 34px;
}
.card {
	background: var(--card);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: var(--ink);
	box-shadow: 0 4px 14px rgba(9, 62, 82, .12);
	transition: transform .12s ease, box-shadow .12s ease;
	display: flex;
	flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(9, 62, 82, .2); }
.card .pic {
	aspect-ratio: 1 / 1;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.card .pic img { max-width: 92%; max-height: 92%; object-fit: contain; }
.card .meta { padding: 12px 15px 15px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card .name { font-weight: 800; color: var(--deep); line-height: 1.25; }
.card .price {
	font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
	font-size: 22px;
	color: var(--teal);
	margin-top: auto;
}
.swatches { display: flex; gap: 5px; }
.swatch {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(9, 62, 82, .25);
	display: inline-block;
}
.ribbon {
	position: absolute;
	top: 10px;
	left: -34px;
	transform: rotate(-35deg);
	background: #c0392b;
	color: #fff;
	font-weight: 900;
	font-size: 13px;
	padding: 3px 40px;
}

/* ---- buttons & forms */

.btn {
	display: inline-block;
	background: var(--orange);
	color: var(--deep);
	border: none;
	border-radius: 999px;
	font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
	font-size: 22px;
	letter-spacing: .06em;
	padding: 9px 30px 7px;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 3px 0 var(--orange-dark);
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn.teal { background: var(--teal); color: var(--cream); box-shadow: 0 3px 0 #00565c; }
.btn.ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

label { font-weight: 800; color: var(--deep); display: block; margin: 12px 0 4px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
	font: inherit;
	width: 100%;
	padding: 9px 12px;
	border: 2px solid #cdbfa2;
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); }

.flash {
	margin: 18px 0 0;
	padding: 12px 18px;
	border-radius: 10px;
	font-weight: 800;
}
.flash.ok { background: #d9ead5; color: #2c5e2e; }
.flash.err { background: #f6d7d2; color: #8c2f23; }

/* ---- product page */

.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; margin-top: 26px; }
.gallery .main {
	background: #fff;
	border-radius: 14px;
	padding: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	box-shadow: 0 6px 18px rgba(9, 62, 82, .10);
}
.gallery .main img { max-width: 100%; max-height: 560px; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs img {
	width: 76px;
	height: 76px;
	object-fit: contain;
	background: #fff;
	border-radius: 8px;
	border: 2px solid transparent;
	cursor: pointer;
	padding: 3px;
}
.thumbs img.selected { border-color: var(--orange); }

.buy { background: var(--card); border-radius: 14px; padding: 24px 26px; box-shadow: 0 6px 18px rgba(9, 62, 82, .10); align-self: start; }
.buy h1 { font-size: 34px; }
.buy .price {
	font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
	font-size: 34px;
	color: var(--teal);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 2px solid #cdbfa2;
	border-radius: 999px;
	background: #fff;
	padding: 5px 13px;
	font-weight: 800;
	font-size: 14px;
	cursor: pointer;
	color: var(--ink);
}
.chip .swatch { width: 14px; height: 14px; }
.chip.selected { border-color: var(--deep); background: var(--deep); color: var(--cream); }
.chip.soldout { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
	min-width: 52px;
	text-align: center;
	border: 2px solid #cdbfa2;
	border-radius: 8px;
	background: #fff;
	padding: 7px 10px;
	font-weight: 800;
	cursor: pointer;
}
.size.selected { border-color: var(--orange); background: var(--orange); color: var(--deep); }
.size.soldout { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.qty-row input { width: 84px; text-align: center; }
.desc { margin-top: 20px; }
.desc ul { padding-left: 20px; }
.stock-note { font-size: 14px; font-weight: 800; color: #a4611c; }

/* ---- cart & checkout */

table.cart { width: 100%; border-collapse: collapse; }
table.cart th {
	text-align: left;
	font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
	font-size: 19px;
	letter-spacing: .05em;
	color: var(--deep);
	border-bottom: 3px solid var(--deep);
	padding: 8px 10px;
}
table.cart td { padding: 12px 10px; border-bottom: 1px solid #d8ccb2; vertical-align: middle; }
table.cart .thumb img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; padding: 2px; }
table.cart .money { text-align: right; white-space: nowrap; }
table.cart input.qty { width: 70px; text-align: center; }
.cart-total {
	text-align: right;
	font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
	font-size: 28px;
	color: var(--deep);
	margin: 16px 0;
}
.cart-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }

/* ---- event info */

.event-info { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
.event-info img { width: 100%; border-radius: 12px; box-shadow: 0 6px 18px rgba(9, 62, 82, .15); }

/* ---- footer */

.site-footer {
	margin-top: 50px;
	background: var(--deep);
	color: var(--cream);
}
.footer-row {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
	padding-top: 26px;
	padding-bottom: 30px;
	font-size: 14px;
}
.site-footer a { color: var(--orange); }

@media (max-width: 860px) {
	.header-title .kicker, .header-title .sub { display: none; }
	.badge-link img { height: 64px; }
	.product, .event-info, .two-col { grid-template-columns: 1fr; }
	h1 { font-size: 32px; }
}
