/* ============================================================
   Pizza Olive — main stylesheet
   Brand: olive #526539 · gold #d9a51f · cream #fdf6e3
   ============================================================ */

:root {
	--po-olive: #526539;
	--po-olive-dark: #3e4f2b;
	--po-olive-deep: #2f3d21;
	--po-gold: #d9a51f;
	--po-gold-dark: #b9860f;
	--po-cream: #fdf6e3;
	--po-cream-dark: #f4e8cd;
	--po-ink: #2b2a24;
	--po-muted: #6f695b;
	--po-white: #ffffff;
	--po-radius: 18px;
	--po-shadow: 0 10px 30px rgba(43, 42, 36, 0.12);
	--po-font-head: 'Anton', Impact, 'Arial Narrow', sans-serif;
	--po-font-body: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--po-font-body);
	color: var(--po-ink);
	background: var(--po-cream);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--po-olive); }
a:hover { color: var(--po-olive-dark); }

h1, h2, h3, h4 {
	font-family: var(--po-font-head);
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.05;
	margin: 0 0 0.6em;
	text-transform: uppercase;
}

.po-container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.po-center { text-align: center; margin-top: 32px; }

/* ---------- Buttons ---------- */
.po-btn {
	display: inline-block;
	font-family: var(--po-font-body);
	font-weight: 700;
	text-decoration: none;
	border-radius: 999px;
	padding: 13px 30px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	border: 2px solid transparent;
	cursor: pointer;
	line-height: 1.2;
}
.po-btn:hover { transform: translateY(-2px); }
.po-btn-gold { background: var(--po-gold); color: #fff; box-shadow: 0 6px 18px rgba(217, 165, 31, 0.45); }
.po-btn-gold:hover { background: var(--po-gold-dark); color: #fff; }
.po-btn-dark { background: var(--po-ink); color: #fff; }
.po-btn-dark:hover { background: #000; color: #fff; }
.po-btn-light { background: #fff; color: var(--po-olive); }
.po-btn-light:hover { color: var(--po-olive-dark); }
.po-btn-outline { background: transparent; color: #fff; border-color: #fff; }
.po-btn-outline:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.po-btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.po-btn-sm { padding: 9px 20px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.po-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--po-cream);
	border-bottom: 1px solid rgba(82, 101, 57, 0.15);
}
.po-header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.po-brand img { width: 88px; height: auto; }
.po-nav { margin-left: auto; }
.po-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 26px;
}
.po-menu a {
	text-decoration: none;
	color: var(--po-ink);
	font-weight: 600;
	font-size: 0.95rem;
}
.po-menu a:hover { color: var(--po-olive); }
.po-header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: 8px;
}
.po-phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--po-olive);
	text-decoration: none;
	white-space: nowrap;
}
.po-cart-link {
	position: relative;
	text-decoration: none;
	font-weight: 700;
	color: var(--po-ink);
	background: var(--po-cream-dark);
	border-radius: 999px;
	padding: 8px 16px;
}
.po-cart-count {
	background: var(--po-gold);
	color: #fff;
	border-radius: 999px;
	padding: 1px 8px;
	font-size: 0.8rem;
	margin-left: 4px;
}
.po-nav-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.po-nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--po-ink);
	margin: 5px 0;
}

/* ---------- Hero ---------- */
.po-hero {
	display: grid;
	grid-template-columns: 1fr;
}
.po-hero-left {
	background: var(--po-cream);
	padding: 44px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.po-hero-right {
	background: var(--po-olive);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
	position: relative;
	overflow: hidden;
}
.po-eyebrow {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--po-gold-dark);
	margin: 0 0 12px;
}
.po-eyebrow-center { text-align: center; }
.po-hero-title { font-size: clamp(2.6rem, 8vw, 4.6rem); color: var(--po-ink); }
.po-hero-title span { display: block; }
.po-hero-accent { color: var(--po-olive); }
.po-hero-sub { font-size: 1.1rem; color: var(--po-muted); max-width: 44ch; }
.po-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.po-hero-note { font-weight: 600; color: var(--po-olive); margin-top: 18px; }

.po-medallion {
	position: relative;
	width: min(320px, 74vw);
	aspect-ratio: 1 / 1;
}
.po-medallion img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 10px solid var(--po-cream);
	box-shadow: var(--po-shadow);
}
.po-badge {
	position: absolute;
	top: -14px;
	right: -6px;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	background: var(--po-gold);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: var(--po-font-head);
	font-size: 1rem;
	line-height: 1.15;
	padding: 18px;
	border: 3px dashed #fff;
	transform: rotate(12deg);
	box-shadow: var(--po-shadow);
}

/* ---------- Category strip ---------- */
.po-catstrip { background: var(--po-ink); }
.po-catstrip-list {
	list-style: none;
	margin: 0;
	padding: 14px 0;
	display: flex;
	gap: 10px;
	overflow-x: auto;
	justify-content: flex-start;
}
.po-catstrip-list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--po-cream);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
	padding: 8px 16px;
	border: 1px solid rgba(253, 246, 227, 0.25);
	border-radius: 999px;
}
.po-catstrip-list a:hover { border-color: var(--po-gold); color: var(--po-gold); }
.po-catdot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--po-gold);
	flex: none;
}

/* ---------- Sections & cards ---------- */
.po-section { padding: 72px 0; }
.po-section-title {
	text-align: center;
	font-size: clamp(1.8rem, 4.5vw, 2.8rem);
	color: var(--po-ink);
	margin-bottom: 36px;
}
.po-title-left { text-align: left; }

.po-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: 1fr;
}
.po-grid-3, .po-grid-4 { grid-template-columns: 1fr; }

.po-card {
	background: #fff;
	border-radius: var(--po-radius);
	overflow: hidden;
	box-shadow: var(--po-shadow);
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease;
}
.po-card:hover { transform: translateY(-4px); }
.po-card-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 30%;
}
.po-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.po-card-title { font-size: 1.25rem; margin-bottom: 8px; }
.po-card-title a { color: var(--po-ink); text-decoration: none; }
.po-card-title a:hover { color: var(--po-olive); }
.po-card-desc { color: var(--po-muted); font-size: 0.93rem; flex: 1; margin: 0 0 14px; }
.po-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.po-card-price {
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--po-olive-dark);
	white-space: nowrap;
}
.po-card-price del { color: var(--po-muted); font-weight: 400; font-size: 0.9rem; margin-right: 6px; }
.po-card-price ins { text-decoration: none; }
.po-card-offer { border: 2px solid var(--po-gold); }

/* ---------- Story / Visit ---------- */
.po-story { background: #fff; }
.po-story-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	align-items: center;
}
.po-story-img img { border-radius: var(--po-radius); box-shadow: var(--po-shadow); }
.po-story-text p { color: var(--po-muted); }
.po-story-points { list-style: none; padding: 0; margin: 18px 0 0; }
.po-story-points li {
	padding: 8px 0 8px 30px;
	position: relative;
	font-weight: 600;
}
.po-story-points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--po-gold-dark);
	font-weight: 700;
}

/* ---------- Catering ---------- */
.po-catering { background: var(--po-cream-dark); }
.po-catering-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	align-items: center;
}
.po-catering-img img { border-radius: var(--po-radius); box-shadow: var(--po-shadow); }
.po-catering-text p { color: var(--po-muted); }
.po-catering-quote { font-weight: 600; color: var(--po-ink); margin: 18px 0 24px; }

.po-visit { background: var(--po-olive); color: var(--po-cream); }.po-visit .po-section-title, .po-visit .po-eyebrow { color: var(--po-cream); }
.po-visit .po-eyebrow { color: var(--po-gold); }
.po-visit-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.po-visit a { color: var(--po-gold); }
.po-visit-address { font-size: 1.1rem; font-weight: 600; }
.po-hours { list-style: none; padding: 0; margin: 0; }
.po-hours li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(253, 246, 227, 0.2);
}
.po-hours-card {
	background: rgba(0, 0, 0, 0.18);
	border-radius: var(--po-radius);
	padding: 8px 22px;
}

/* ---------- CTA band ---------- */
.po-cta-band {
	background: var(--po-gold);
	color: #fff;
	padding: 64px 0;
	text-align: center;
}
.po-cta-band h2 { font-size: clamp(1.8rem, 5vw, 3rem); }
.po-cta-band p { font-size: 1.1rem; opacity: 0.95; }

/* ---------- Footer ---------- */
.po-footer { background: var(--po-ink); color: #cfc9b8; }
.po-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	padding-top: 56px;
	padding-bottom: 40px;
}
.po-footer h4 {
	color: #fff;
	font-size: 1rem;
	margin-bottom: 14px;
}
.po-footer a { color: #cfc9b8; text-decoration: none; }
.po-footer a:hover { color: var(--po-gold); }
.po-footer-brand img { margin-bottom: 12px; }
.po-footer-menu { list-style: none; margin: 0 0 18px; padding: 0; }
.po-footer .po-hours li span { white-space: nowrap; }

/* ---------- Reviews ---------- */
.po-reviews { background: var(--po-cream); }
.po-footer-menu li { padding: 4px 0; }
.po-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 18px 0;
	font-size: 0.85rem;
	text-align: center;
}

/* ---------- Sticky mobile order bar ---------- */
.po-sticky-bar {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 200;
	background: var(--po-olive-deep);
	color: #fff;
	border-radius: 999px;
	padding: 10px 10px 10px 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.po-sticky-text { font-weight: 600; font-size: 0.9rem; flex: 1; }

/* ---------- Generic page ---------- */
.po-page-wrap { padding-top: 48px; padding-bottom: 64px; }
.po-page-title { font-size: clamp(2rem, 5vw, 3rem); }
.po-entry { max-width: 72ch; }
.po-featured { margin: 0 0 24px; }
.po-featured img { border-radius: var(--po-radius); }
.po-404 { text-align: center; padding-top: 80px; padding-bottom: 100px; }
.po-meta { color: var(--po-muted); font-size: 0.9rem; }

/* ---------- WooCommerce ---------- */
.po-woo-wrap { padding-top: 40px; padding-bottom: 64px; }
.po-archive-header { text-align: center; margin-bottom: 32px; }
.po-archive-title { font-size: clamp(2rem, 5vw, 3rem); }
.po-archive-sub { color: var(--po-muted); }

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 22px;
	margin: 0;
	padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: 100% !important; margin: 0 !important; float: none !important; }

.woocommerce .button, .woocommerce button.button, .woocommerce a.button,
.woocommerce input.button, .woocommerce #respond input#submit {
	background: var(--po-gold);
	color: #fff;
	border-radius: 999px;
	padding: 12px 28px;
	font-weight: 700;
	font-family: var(--po-font-body);
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover {
	background: var(--po-gold-dark);
	color: #fff;
}
.woocommerce a.added_to_cart {
	display: inline-block;
	margin-top: 8px;
	font-weight: 600;
}
.woocommerce div.product .price, .woocommerce ul.products li.product .price {
	color: var(--po-olive-dark);
	font-weight: 700;
	font-size: 1.15rem;
}
.woocommerce div.product .price del, .woocommerce ul.products li.product .price del {
	color: var(--po-muted);
	font-weight: 400;
}

/* Single product */
.woocommerce div.product { background: #fff; border-radius: var(--po-radius); padding: 28px; box-shadow: var(--po-shadow); }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.woocommerce div.product form.cart { margin: 24px 0; }

/* Variation (size) selector */
.woocommerce div.product form.cart .variations { margin-bottom: 18px; }
.woocommerce div.product form.cart .variations th.label,
.woocommerce div.product form.cart .variations td.value {
	display: block;
	text-align: left;
	padding: 4px 0;
}
.woocommerce div.product form.cart .variations label {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	color: var(--po-olive-dark);
}
.woocommerce div.product form.cart .variations select {
	width: 100%;
	max-width: 340px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 2px solid var(--po-cream-dark);
	font-family: var(--po-font-body);
	font-size: 1rem;
	background: var(--po-cream);
}
.woocommerce-variation-price { font-size: 1.4rem; font-weight: 700; color: var(--po-olive-dark); margin: 12px 0; }
.woocommerce div.product form.cart .quantity input.qty {
	padding: 11px;
	border-radius: 12px;
	border: 2px solid var(--po-cream-dark);
	width: 76px;
}

/* Extra toppings (companion plugin) */
.po-extras {
	border: 2px dashed var(--po-cream-dark);
	border-radius: var(--po-radius);
	padding: 18px 20px;
	margin: 20px 0;
	background: var(--po-cream);
}
.po-extras h4 {
	font-size: 1rem;
	margin: 0 0 12px;
	color: var(--po-olive-dark);
}
.po-extra {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	font-size: 0.95rem;
	cursor: pointer;
	border-bottom: 1px solid rgba(82, 101, 57, 0.08);
}
.po-extra:last-child { border-bottom: 0; }
.po-extra input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--po-olive); }
.po-extra span { margin-left: auto; font-weight: 700; color: var(--po-olive-dark); }

/* Cart / checkout */
.woocommerce-cart table.cart td, .woocommerce table.shop_table { border-radius: 8px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { font-size: 1.05rem; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
	border: 2px solid var(--po-cream-dark);
	border-radius: 12px;
	padding: 12px;
}

/* Breadcrumbs + notices */
.woocommerce .woocommerce-breadcrumb { color: var(--po-muted); margin-bottom: 18px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--po-olive); }
.woocommerce-message, .woocommerce-info {
	border-top-color: var(--po-gold);
	background: #fff;
	border-radius: 0 12px 12px 0;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
	.po-grid-3, .po-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.po-story-grid { grid-template-columns: 1fr 1fr; }
	.po-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	.po-hero {
		grid-template-columns: 1fr 1fr;
		height: clamp(500px, calc(100vh - 140px), 640px);
		height: clamp(500px, calc(100svh - 140px), 640px);
	}
	.po-hero-left { padding: 32px 52px; }
	.po-hero-title { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.08; }
	.po-hero-sub { font-size: 1rem; margin-top: 12px; }
	.po-hero-ctas { margin-top: 18px; }
	.po-hero-note { margin-top: 12px; }
	.po-hero-right { padding: 28px 20px; }
	.po-medallion { width: auto; height: min(84%, 400px); aspect-ratio: 1 / 1; max-width: 94%; }
	.po-badge { width: 96px; height: 96px; font-size: 0.85rem; }
	.po-grid-3 { grid-template-columns: repeat(3, 1fr); }
	.po-grid-4 { grid-template-columns: repeat(4, 1fr); }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
	.po-visit-grid { grid-template-columns: 1fr 1fr; }
	.po-catering-grid { grid-template-columns: 1fr 1fr; }
	.po-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.po-catstrip-list { justify-content: center; }
	.po-sticky-bar { display: none; }
}

@media (max-width: 899px) {
	.po-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--po-cream);
		border-bottom: 1px solid rgba(82, 101, 57, 0.15);
		padding: 10px 20px 20px;
	}
	.po-nav.open { display: block; }
	.po-menu { flex-direction: column; gap: 4px; }
	.po-menu a { display: block; padding: 10px 0; font-size: 1.05rem; }
	.po-nav-toggle { display: block; }
	.po-header-inner { position: relative; flex-wrap: wrap; }
	.po-phone-num { display: none; }
	/* Category strip: show all categories at once on mobile, no sideways scroll */
	.po-catstrip-list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		overflow: visible;
		padding: 14px 16px;
	}
	.po-catstrip-list a {
		display: flex;
		justify-content: center;
		white-space: normal;
		text-align: center;
	}
}
