/* ========================================
   Cricker's Creamery — Theme Styles
   ======================================== */

/* --- Fonts --- */
@font-face {
	font-family: 'Salmond';
	src: url('../fonts/Salmond-Bold.otf') format('opentype');
	font-weight: 700;
}
@font-face {
	font-family: 'Sign Brush';
	src: url('../fonts/SignBrush.otf') format('opentype');
	font-weight: 400;
}
@font-face {
	font-family: 'Axiforma';
	src: url('../fonts/Axiforma-Regular.ttf') format('trueType');
	font-weight: 400;
}
@font-face {
	font-family: 'Axiforma';
	src: url('../fonts/Axiforma-SemiBold.ttf') format('trueType');
	font-weight: 600;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--primary: #000;
	--secondary: #fff;
	--accent: #69cee0;
	--heading: 'Salmond', serif;
	--body: 'Axiforma', sans-serif;
	--accent-font: 'Sign Brush', cursive;
}

body {
	overflow-x: hidden;
	font-family: var(--body);
	color: var(--primary);
	background: url(/wp-content/uploads/2026/04/shiplap-bg-white.png);
    background-repeat: repeat;
    background-size: 250px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--heading);
	color: var(--primary);
	margin-top: 0;
	text-transform: uppercase;
}

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

.serif {
	font-family: serif;
	font-style: italic;
}

.wp-block-button__link.wp-element-button {
	font-family: var(--accent-font), sans-serif;
}

/* Image placeholders for empty src */
img[src=""],
img:not([src]) {
	background: #f0f0f0;
	min-height: 280px;
	width: 100%;
	border: 2px dashed #ccc;
	object-fit: cover;
}

.pies-cta-card img[src=""],
.pies-cta-card img:not([src]) {
	background: #1a1a1a;
	border-color: #333;
}

/* Gallery image placeholders */
.wp-block-gallery img[src=""],
.wp-block-gallery img:not([src]) {
	min-height: 200px;
	border: none;
	background: #e8e8e8;
}

/* --- Utility Classes --- */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
	border-bottom: none;
	background: #fff;
}

/* Top bar: Social | Logo | CTA — flexbox row */
.header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem 5rem;
	position: relative;
}

/* Social icons */
.header-social-icons {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.header-social-icons .social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: #000;
	transition: opacity 0.2s ease;
}

.header-social-icons .social-icon:hover {
	opacity: 0.6;
}

.header-social-icons .social-icon svg {
	width: 18px;
	height: 18px;
}

/* Logo center */
.header-logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.header-logo a {
	text-decoration: none;
	color: inherit;
}

.header-logo-img {
	max-height: 5rem;
	width: auto;
}

.header-site-title {
	font-family: var(--accent-font);
	font-size: 2.2rem;
	color: #000;
	white-space: nowrap;
}

/* Header CTA — pill button */
.header-cta {
	display: flex;
	justify-content: flex-end;
}

a.header-pill-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    border: var(--accent);
    border-radius: 80px;
    font-family: var(--accent-font);
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 0.8em 1.5em 0.6rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

a.header-pill-btn:hover {
	filter:brightness(90%);
}

/* Nav Bar (black, full-width) */
.nav-bar {
	margin: 0;
	background: #000;
	padding: 0.6rem 5rem 0.5rem;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	margin: 0 auto;
}

.nav-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	margin: 4px 0;
	transition: all 0.25s ease;
}

/* Menu list from wp_nav_menu */
.nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 3rem;
}

.nav-menu li a {
	color: #fff;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transition: opacity 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
	opacity: 0.7;
}

/* ── Mobile header ─────────────────────── */
@media (max-width: 768px) {
	.header-top {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.header-social-icons {
		display: none;
	}

	.header-logo {
		position: static;
		transform: none;
	}

	.header-site-title {
		font-size: 1.6rem;
	}

	.nav-bar {
		padding: 0.75rem 1.25rem;
		position: relative;
	}

	.nav-toggle {
		display: block;
	}

	.nav-menu {
		display: none;
		flex-direction: column;
		align-items: center;
		gap: 0;
		padding-top: 0.5rem;
	}

	.nav-menu.is-open {
		display: flex;
	}

	.nav-menu li {
		width: 100%;
		text-align: center;
	}

	.nav-menu li a {
		display: block;
		padding: 0.6rem 0;
	}
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

main {
	margin-top: 0;
}


/* ========================================
   HOMEPAGE HERO
   ======================================== */
.homepage-hero {
	overflow: hidden;
}

.homepage-hero .hero-columns {
	min-height: 600px;
}

.homepage-hero .hero-columns > .wp-block-column {
	margin: 0 !important;
}

.hero-tagline {
	color: #555;
	margin-bottom: 0.5rem !important;
}

.hero-heading {
	margin-bottom: 1rem !important;
}

/* Hero image: full height, cover, rounded bottom-left corner */
.hero-image-col {
	position: relative;
	overflow: hidden;
}

.hero-image-col .wp-block-image {
	height: 100%;
	margin: 0 !important;
}

.hero-image-col .wp-block-image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-bottom-left-radius: 22px;
	min-height: 500px;
	max-height: 45rem;
}

.hero-image-col img[src=""],
.hero-image-col img:not([src]) {
	min-height: 500px;
	border-bottom-left-radius: 22px;
}

/* Hero buttons - pill style */
.hero-menu-btn .wp-block-button__link {
	background: var(--accent) !important;
	color: #fff !important;
	border: 2px solid var(--accent) !important;
	border-radius: 160px !important;
	padding: 0.8em 2em 0.6rem !important;
	transition: 0.2s all;
}

.hero-menu-btn .wp-block-button__link:hover {
	filter: brightness(90%) !important;
}

.hero-pie-btn .wp-block-button__link {
	background: transparent !important;
	color: #000 !IMPORTANT;
	border: 2px solid #000 !important;
	border-radius: 160px !important;
	padding: 0.8em 2em 0.6rem !important;
	transition: 0.2s all;
}

.hero-pie-btn .wp-block-button__link:hover {
	background: #000 !important;
	color: #fff !important;
	border-color: #000 !important;
}

/* ========================================
   PIES CTA (Rounded Card)
   ======================================== */
.pies-cta-card {
	position: relative;
	overflow: hidden;
}

/* Circular image for pie */
.pies-cta-card .pies-cta-image img {
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0 auto;
}

.pies-cta-card .pies-cta-image img[src=""],
.pies-cta-card .pies-cta-image img:not([src]) {
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	min-height: auto;
	width: 100%;
	background: #1a1a1a;
	border-color: #333;
}

/* Pies checklist */
.pies-checklist p {
	margin-bottom: 0.3rem !important;
	padding: 0.15rem 0;
}

/* Pie order button - white outline pill on dark bg */
.pie-order-btn .wp-block-button__link {
	border-radius: 160px !important;
	border: 2px solid #fff !important;
	padding: 0.5em 1.5em !important;
}

.pie-order-btn .wp-block-button__link:hover {
	background: transparent !important;
	color: #fff !important;
}

/* ========================================
   MENU SECTION
   ======================================== */

.crickers-menu-layout {
	display: flex;
    gap: 5rem;
}

.menu-content {
	flex: 1;
}

/* Menu Category Nav */
.menu-category-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	border-left: 3px solid #000;
	padding-left: 20px;
	position: sticky;
	top: 2rem;
}

.menu-intro {
	font-family: serif;
	font-style: italic;
	margin-top: 0;
}

.menu-category-nav li {
	margin-bottom: 0.65rem;
}

.menu-category-nav a {
	display: block;
	padding: 0.5rem 1rem;
	text-decoration: none;
	color: #000;
	font-family: var(--accent-font);
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	transition: all 0.2s ease;
	background: #ebebeb;
	border-radius: 5px;
	text-align: center;
}

.menu-category-nav a:hover,
.menu-category-nav a.active {
	background: #000;
	color: #fff;
}

.menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.75rem;
}

.menu-grid .menu-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem;
	font-size: 0.9rem;
	line-height: 150%;
}

.menu-grid .menu-item::before {
	content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSIyMSIgdmlld0JveD0iMCAwIDIxIDIxIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTcuODA0NCA2LjYxODM2TDguNTI5NDEgMTUuODkzM0M4LjQ0NzI3IDE1Ljk3NjIgOC4zMzU0NCAxNi4wMjI3IDguMjE4NzkgMTYuMDIyN0M4LjEwMjEzIDE2LjAyMjcgNy45OTAzMSAxNS45NzYyIDcuOTA4MTYgMTUuODkzM0wzLjE5MTkxIDExLjE3NzFDMy4xMDkwOSAxMS4wOTUgMy4wNjI1IDEwLjk4MzIgMy4wNjI1IDEwLjg2NjVDMy4wNjI1IDEwLjc0OTggMy4xMDkwOSAxMC42MzggMy4xOTE5MSAxMC41NTU4TDMuODA0NDEgOS45NDMzM0MzLjg4NjU2IDkuODYwNTUgMy45OTgzOCA5LjgxMzkyIDQuMTE1MDQgOS44MTM5MkM0LjIzMTY5IDkuODEzOTIgNC4zNDM1MiA5Ljg2MDU1IDQuNDI1NjYgOS45NDMzM0w4LjIxNDQxIDEzLjczMjFMMTYuNTcwNyA1LjM3NTg2QzE2Ljc0MzcgNS4yMDgwNSAxNy4wMTg4IDUuMjA4MDUgMTcuMTkxOSA1LjM3NTg2TDE3LjgwNDQgNS45OTcxMUMxNy44ODczIDYuMDc5MjYgMTcuOTMzOCA2LjE5MTA4IDE3LjkzMzggNi4zMDc3NEMxNy45MzM4IDYuNDI0MzkgMTcuODg3MyA2LjUzNjIxIDE3LjgwNDQgNi42MTgzNloiIGZpbGw9IiM2QUNFREQiLz4KPC9zdmc+);
	color: #000;
	font-weight: bold;
	flex-shrink: 0;
}

.menu-category-title {
    font-family: var(--accent-font);
    text-transform: uppercase;
    text-align: center;
    font-size: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
}

/* Menu section cards */
.menu-section-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 2rem;
}
.menu-section-card:nth-of-type(even) {
	background: #f3fafc;
	border: 1px solid #c8e1e8;
}

/* Menu category cards + modal shortcode */
.crickers-menu-cards {
	padding: 2rem 0;
}

.crickers-menu-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
}

.menu-modal-card {
	position: relative;
	border: 0;
	border-radius: 28px;
	padding: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	transition: transform 0.2s ease;
	overflow: visible;
}

.menu-modal-card:hover {
	transform: translateY(-4px);
}

.menu-modal-card-top {
	position: relative;
	height: 210px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	z-index: 2;
	margin-bottom: -5rem;
}

.menu-modal-card-top::before {
	content: "";
	position: absolute;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0.95;
	z-index: -1;
}

.menu-modal-card-image {
	max-width: min(82%, 300px);
	max-height: 205px;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.12));
}

.menu-modal-card-body {
	position: relative;
	border-radius: 28px;
	padding: 7.4rem 1.4rem 2.35rem;
	gap: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

.menu-modal-card-title {
	margin: 0;
	font-size: clamp(1.45rem, 1.9vw, 2rem);
	line-height: 1.1;
	text-align: center;
	font-family: var(--wp--preset--font-family--heading);
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: #fff;
}

.menu-modal-card-arrow {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #db3e72;
	font-size: 2rem;
	line-height: 1;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.menu-modal-card.is-pink .menu-modal-card-body {
	background: #e8a9bb;
}

.menu-modal-card.is-beige .menu-modal-card-body {
	background: #e3c89d;
}

.menu-modal-card.is-green .menu-modal-card-body {
	background: #b7d78b;
}

.menu-modal-card.is-pink .menu-modal-card-top::before {
	background: #f2d6df;
}

.menu-modal-card.is-beige .menu-modal-card-top::before {
	background: #edd8b4;
}

.menu-modal-card.is-green .menu-modal-card-top::before {
	background: #c8e29f;
}

.menu-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(20, 18, 18, 0.52);
	display: grid;
	place-items: center;
	padding: 1.25rem;
}

.menu-modal[hidden] {
	display: none;
}

.menu-modal-dialog {
	position: relative;
	width: min(640px, 100%);
	max-height: min(80vh, 780px);
	overflow: auto;
	border-radius: 20px;
	background: #fff;
	padding: 1.8rem 1.5rem 1.5rem;
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.menu-modal-title {
	margin: 0 2.2rem 1rem 0;
	font-size: clamp(1.3rem, 2.2vw, 1.8rem);
	text-transform: uppercase;
	font-family: var(--wp--preset--font-family--heading);
}

.menu-modal-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem 1rem;
}

.menu-modal-items li {
	padding: 0.5rem 0.65rem;
	border-radius: 10px;
	background: #faf7f2;
	font-size: 0.95rem;
	line-height: 1.35;
}

.menu-modal-empty {
	margin: 0;
	color: #666;
}

.menu-modal-close {
	position: absolute;
	top: 0.65rem;
	right: 0.7rem;
	border: 0;
	background: transparent;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	color: #444;
}

body.menu-modal-open {
	overflow: hidden;
}

@media (max-width: 1024px) {
	.crickers-menu-cards-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.crickers-menu-cards-grid {
		grid-template-columns: 1fr;
		gap: 1.4rem;
	}

	.menu-modal-card-top {
		height: 185px;
	}

	.menu-modal-card-body {
		min-height: 220px;
		padding-top: 2.7rem;
	}

	.menu-modal-items {
		grid-template-columns: 1fr;
	}
}

/* ========================================
   VISIT THE CRICK / CONTACT
   ======================================== */
.visit-section .contact-details {
	gap: 2rem;
}

.hours-card {
	min-width: 16rem;
}

.hours-card p {
	margin-bottom: 0 !important;
}

.visit-image img {
	border-radius: 20px;
	object-fit: cover;
}

.visit-image img[src=""],
.visit-image img:not([src]) {
	border-radius: 20px;
	min-height: 380px;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-section {
	background: #fff;
}

.gallery-section .wp-block-gallery img[src=""],
.gallery-section .wp-block-gallery img:not([src]) {
	min-height: 200px;
	aspect-ratio: 1 / 1;
	background: #e8e8e8;
	border: none;
}

/* ========================================
   GALLERY STRIP (above footer)
   ======================================== */
.site-gallery-strip {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	width: 100%;
	line-height: 0;
	margin: 0;
	border: 7px solid white;
    gap: 7px;
}

.site-gallery-item {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.site-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 768px) {
	.site-gallery-strip {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 480px) {
	.site-gallery-strip {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
	background: var(--accent);
	color: #fff;
	padding: 5rem 5rem 1rem;
	margin-top: 0;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.site-footer a:hover {
	opacity: 0.7;
}

/* Main 3-column row */
.footer-main {
	display: grid;
	grid-template-columns: 1fr 1.5fr 1fr;
	gap: 4rem;
	align-items: start;
}

/* Brand / Logo */
.footer-brand a {
	display: inline-block;
}

.footer-logo-img {
	max-width: 220px;
	height: auto;
}

.footer-site-title {
	font-family: var(--accent-font);
	font-size: 2.5rem;
	color: #fff;
	white-space: nowrap;
}

/* Footer nav — 2-column grid */
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem 3rem;
}

.footer-menu li a {
	font-size: 0.85rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Contact column */
.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.85rem;
	line-height: 1.5;
}

.footer-contact-item svg {
	flex-shrink: 0;
	margin-top: 2px;
}

/* Divider */
.footer-divider {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	margin: 3rem 0 1rem;
}

/* Bottom row */
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 0 1rem;
}

.footer-copyright {
	font-size: 0.8rem;
	margin: 0;
	opacity: 0.7;
}

.footer-social {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.footer-social .social-icon {
	display: inline-flex;
	color: #fff;
	transition: opacity 0.2s ease;
}

.footer-social .social-icon:hover {
	opacity: 0.7;
}

/* ── Mobile footer ─────────────────────── */
@media (max-width: 768px) {
	.site-footer {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}

	.footer-brand {
		display: flex;
		justify-content: center;
	}

	.footer-menu {
		justify-items: center;
	}

	.footer-contact {
		align-items: center;
	}

	.footer-contact-item {
		justify-content: center;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
}

/* ========================================
   PIE ORDER FORM
   ======================================== */

.pie-order-field {
	margin-bottom: 1.5rem;
}

.pie-order-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}

.pie-note {
	font-size: 0.8rem;
	color: #666;
	margin-bottom: 0.75rem;
}

.pie-base-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.pie-base-btn {
    padding: 1em 1.2em 0.7rem;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 7px;
}

.pie-base-btn:hover,
.pie-base-btn.active {
	background: #000;
	color: #fff;
}

.pie-topping-select,
.pie-gf-select {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
	appearance: none;
	background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path d="M0 0l6 8 6-8z" fill="%23333"/></svg>') no-repeat right 1rem center;
	background-size: 10px;
}

.pie-order-summary {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 1rem 0;
	border-top: 1px solid #e0e0e0;
	margin-top: 1rem;
}

.pie-quantity-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.pie-qty-input {
	width: 60px;
	padding: 0.5rem;
	border: 1px solid #ccc;
	text-align: center;
	font-size: 1rem;
	border-radius: 8px;
}

.pie-price-display {
	font-size: 1.2rem;
	font-weight: 700;
}

.pie-price-display small {
	font-weight: 400;
	color: #888;
}

.pie-notice {
	font-size: 0.85rem;
	color: #666;
	font-style: italic;
}

.pie-coming-soon-notice {
	color: #000;
	font-style: normal;
	background: #fdf8f0;
	padding: 1rem;
	border-left: 3px solid #d4a843;
}

/* ========================================
   CONTACT FORM (Gravity Forms — global)
   These rules apply to all Gravity Forms EXCEPT the pie order form,
   which is scoped separately via .crickers-pie-order-gf below.
   ======================================== */

.gform_required_legend {
	display: none;
}

.gform_wrapper:not(.crickers-pie-order-gf_wrapper) {
	background: #000;
	border-radius: 15px;
	padding: 2rem;
}

.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) .gfield_label {
    font-size: 15px;
    margin-bottom: 0;
    color: #fff;
}

.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=color],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=date],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=datetime-local],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=datetime],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=email],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=month],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=number],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=password],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=search],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=tel],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=text],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=time],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=url],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) input[type=week],
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) select,
.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) textarea {
    font-size: 15px;
    margin-bottom: 0;
    margin-top: 0;
    padding: 20px !important;
    border-radius: 5px;
	border: 0;
}

.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) .gform_footer input {
    background: var(--accent);
    border: 0;
    padding: 20px;
    width: 100%;
    border-radius: 6px;
    font-size: 17px;
    text-transform: uppercase;
    cursor: pointer;
	color: #fff;
}

.gform_wrapper.gravity-theme:not(.crickers-pie-order-gf_wrapper) .gform_footer input:hover {
	filter: brightness(110%);
}

/* ========================================
   NEWS & UPDATES
   ======================================== */
.news-updates-columns {
	display: flex;
	gap: 3rem;
}

.news-updates-sidebar {
	flex: 0 0 25%;
}

.news-updates-list {
	flex: 1;
	min-width: 0;
}

@media (max-width: 768px) {
	.news-updates-columns {
		flex-direction: column;
		gap: 1.5rem;
	}
	.news-updates-sidebar {
		flex: none;
	}
	.update-filters {
		flex-direction: row;
		flex-wrap: wrap;
	}
}

.update-item {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1.25rem 1.5rem;
	background: #fdf8f0;
	border-radius: 8px;
	margin-bottom: 0.75rem;
	transition: box-shadow 0.2s ease;
}

.update-item:hover {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.update-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff3cd;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 1.2rem;
}

.update-content {
	flex: 1;
}

.update-title {
	font-family: var(--wp--preset--font-family--heading);
	text-transform: uppercase;
	font-size: 0.9rem;
	margin: 0 0 0.25rem;
}

.update-excerpt {
	font-size: 0.85rem;
	color: #666;
	margin: 0;
}

.update-date {
	font-size: 0.8rem;
	color: #888;
	white-space: nowrap;
}

.update-filters {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.update-filter-btn {
	display: block;
	padding: 0.6em 1.5em;
	border: 2px solid #000;
	background: #fff;
	color: #000;
	font-family: var(--accent-font);
	text-transform: uppercase;
	font-size: 0.75rem;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
	border-radius: 160px;
}

.update-filter-btn:hover,
.update-filter-btn.active {
	background: #000;
	color: #fff;
}

/* ========================================
   MERCH / COMING SOON
   ======================================== */
.coming-soon-section {
	text-align: center;
	padding: 4rem 2rem;
}

.coming-soon-section h2 {
	font-size: clamp(2rem, 5vw, 3.5rem);
}

.coming-soon-section p {
	max-width: 600px;
	margin: 0 auto 1.5rem;
	color: #666;
}

/* ========================================
   OPENING BANNER
   ======================================== */
.opening-banner {
	background: #000 !important;
	color: #fff !important;
	text-align: center;
	padding: 0.75rem 2rem !important;
	font-family: var(--wp--preset--font-family--heading);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.opening-banner p {
	font-size: 0.75rem !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0;
}

.opening-banner a {
	color: #d4a843 !important;
	text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 781px) {
	.hide-mobile {
		display: none !important;
	}

	.header-cta {
		display: none;
	}

	.site-header,
	.site-footer {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}

	.nav-bar {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}

	.header-logo {
		position: static;
		transform: none;
	}

	.homepage-hero .hero-text-col > .wp-block-group {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}

	.homepage-hero .hero-columns {
		min-height: auto;
	}

	.hero-image-col .wp-block-image img {
		border-bottom-left-radius: 0;
		min-height: 300px;
	}

	.visit-section,
	.pies-cta-card {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}

	.visit-section > div > .wp-block-columns,
	.pies-cta-card .wp-block-columns {
		flex-direction: column;
	}

	.contact-details {
		flex-direction: column !important;
	}

	.wp-block-gallery img[src=""],
	.wp-block-gallery img:not([src]) {
		min-height: 150px;
	}
}

@media (min-width: 782px) {
	.hide-desktop {
		display: none !important;
	}
}

/* ========================================
   GLOBAL UTILS
   ======================================== */
html {
	scroll-behavior: smooth;
}

@media print {
	.site-header,
	.site-footer,
	.opening-banner {
		display: none;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease forwards;
}

:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.skip-link {
	position: absolute;
	top: -100%;
	left: 0;
	background: #000;
	color: #fff;
	padding: 0.5rem 1rem;
	z-index: 9999;
	transition: top 0.2s;
}

.skip-link:focus {
	top: 0;
}

/* ========================================
   PIE ORDER FORM — GRAVITY FORMS RENDERING
   Scoped to .crickers-pie-order-gf only. Matches the legacy
   custom-HTML form's compact light-background look.
   The global .gform_wrapper rules above are scoped via
   :not(.crickers-pie-order-gf_wrapper) so they don't bleed in here.
   ======================================== */

.gform_wrapper.crickers-pie-order-gf_wrapper {
	background: transparent;
	padding: 0;
	border-radius: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.95rem;
	line-height: 1.45;
	color: #000;
	max-width: 100%;
}

.gform_wrapper.crickers-pie-order-gf_wrapper form {
	margin: 0;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .gform_body,
.gform_wrapper.crickers-pie-order-gf_wrapper .gform-body {
	margin: 0;
	padding: 0;
}

/* Reset fieldset/legend used by GF for radio groups & complex fields. */
.gform_wrapper.crickers-pie-order-gf_wrapper fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
	width: 100%;
	display: block;
}

.gform_wrapper.crickers-pie-order-gf_wrapper legend {
	display: block;
	width: 100%;
	float: none;
	padding: 0;
	margin: 0 0 0.5rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: #000;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .gform_fields {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .gfield {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* --- Labels (force dark color, override global gravity-theme white) --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .gfield_label,
.gform_wrapper.crickers-pie-order-gf_wrapper .gform-field-label {
	display: block;
	font-weight: 600;
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	color: #000;
	line-height: 1.3;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .gfield_required {
	color: #d4a843;
	font-weight: 400;
	font-style: italic;
	font-size: 0.78rem;
	margin-left: 0.35rem;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .gfield_required .gfield_required_text {
	color: #d4a843;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .gfield_description {
	font-size: 0.8rem;
	color: #666;
	margin: 0 0 0.75rem;
	padding: 0;
}

/* --- Tighten the gap between consecutive topping dropdowns
       so they read as one grouped block, matching the legacy form. --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .gform_fields > .pie-topping-field + .pie-topping-field {
	margin-top: -1rem;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .gform_fields > .pie-topping-field + .pie-topping-field .gfield_label {
	font-size: 0.78rem;
	color: #777;
	font-weight: 500;
	margin-bottom: 0.35rem;
}

/* --- Base radio styled as inline pill buttons (matches .pie-base-btn) --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .pie-base-field .ginput_container_radio {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	clear: both;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .pie-base-field .gchoice {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline-block;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .pie-base-field .gchoice input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
	margin: 0;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .pie-base-field .gchoice label {
	display: inline-block;
	padding: 1em 1.2em 0.7em;
	border: 1px solid #000;
	background: #fff;
	color: #000;
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: all 0.2s ease;
	border-radius: 7px;
	line-height: 1;
	margin: 0;
	white-space: nowrap;
	width: auto;
	max-width: none;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .pie-base-field .gchoice label:hover,
.gform_wrapper.crickers-pie-order-gf_wrapper .pie-base-field .gchoice input[type="radio"]:checked + label {
	background: #000;
	color: #fff;
	border-color: #000;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .pie-base-field .gchoice input[type="radio"]:focus-visible + label {
	outline: 2px solid #d4a843;
	outline-offset: 2px;
}

/* --- Select inputs (match .pie-topping-select / .pie-gf-select) --- */
.gform_wrapper.crickers-pie-order-gf_wrapper select {
	width: 100%;
	padding: 0.75rem 2.25rem 0.75rem 0.85rem;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9rem;
	background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path d="M0 0l6 8 6-8z" fill="%23333"/></svg>') no-repeat right 1rem center;
	background-size: 10px;
	appearance: none;
	color: #000;
	line-height: 1.2;
	box-sizing: border-box;
}

/* --- Text / number / email / tel / date inputs + textarea --- */
.gform_wrapper.crickers-pie-order-gf_wrapper input[type="text"],
.gform_wrapper.crickers-pie-order-gf_wrapper input[type="email"],
.gform_wrapper.crickers-pie-order-gf_wrapper input[type="tel"],
.gform_wrapper.crickers-pie-order-gf_wrapper input[type="number"],
.gform_wrapper.crickers-pie-order-gf_wrapper input[type="date"],
.gform_wrapper.crickers-pie-order-gf_wrapper input.datepicker,
.gform_wrapper.crickers-pie-order-gf_wrapper textarea {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9rem;
	background: #fff;
	color: #000;
	box-sizing: border-box;
	line-height: 1.3;
}

.gform_wrapper.crickers-pie-order-gf_wrapper textarea {
	min-height: 90px;
	resize: vertical;
}

.gform_wrapper.crickers-pie-order-gf_wrapper input:focus,
.gform_wrapper.crickers-pie-order-gf_wrapper select:focus,
.gform_wrapper.crickers-pie-order-gf_wrapper textarea:focus {
	outline: none;
	border-color: #000;
	box-shadow: 0 0 0 2px rgba(212, 168, 67, 0.35);
}

/* --- Visually hide the bare singleproduct row, but keep it in the DOM
   so Gravity Forms' total calculator still reads the $28.99 base price.
   Using display:none would exclude it from the Total field. --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .pie-product-field {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --- Quantity: compact inline input --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .pie-qty-field input[type="number"] {
	width: 80px;
	padding: 0.5rem;
	text-align: center;
	font-size: 1rem;
}

/* --- Date field --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .pie-date-field .ginput_container_date {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .pie-date-field input.datepicker {
	max-width: 220px;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .pie-date-field img.ui-datepicker-trigger {
	cursor: pointer;
	width: 20px;
	height: 20px;
}

/* --- Total field (matches .pie-order-summary / .pie-price-display) --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .pie-total-field {
	padding: 1rem 0;
	border-top: 1px solid #e0e0e0;
	margin-top: 0;
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .pie-total-field .gfield_label {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #000;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .pie-total-field .ginput_total,
.gform_wrapper.crickers-pie-order-gf_wrapper .pie-total-field .ginput_container_total {
	font-size: 1.25rem;
	font-weight: 700;
	color: #000;
	display: inline-block;
	background: transparent;
	border: 0;
	padding: 0;
}

/* --- Product / option inline price labels --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .ginput_product_price,
.gform_wrapper.crickers-pie-order-gf_wrapper .ginput_price {
	color: #888;
	font-weight: 500;
	font-size: 0.85rem;
}

/* --- HTML notice field (matches .pie-notice / .pie-coming-soon-notice) --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .pie-notices-field {
	margin-top: 0.25rem;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .pie-notices-field .pie-notice {
	font-size: 0.85rem;
	color: #666;
	font-style: italic;
	margin: 0 0 0.75rem;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .pie-notices-field .pie-coming-soon-notice {
	color: #000;
	font-style: normal;
	background: #fdf8f0;
	padding: 1rem;
	border-left: 3px solid #d4a843;
	border-radius: 4px;
	font-size: 0.9rem;
}

/* --- Submit button (pill style, on-brand) --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .gform_footer {
	margin-top: 1.25rem;
	padding: 0;
	display: flex;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .gform_footer input[type="submit"],
.gform_wrapper.crickers-pie-order-gf_wrapper .gform_footer button[type="submit"] {
	display: inline-block;
	width: auto;
	padding: 1em 2.5em 0.85em;
	border: 1px solid #000;
	background: #000;
	color: #fff;
	text-transform: uppercase;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: all 0.2s ease;
	border-radius: 7px;
	font-family: var(--wp--preset--font-family--body);
	line-height: 1;
	display:none; /* Temporary */
}

.gform_wrapper.crickers-pie-order-gf_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper.crickers-pie-order-gf_wrapper .gform_footer button[type="submit"]:hover {
	background: #fff;
	color: #000;
	border-color: #000;
}

/* --- AJAX spinner --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .gform_ajax_spinner {
	margin-left: 0.75rem;
	vertical-align: middle;
}

/* --- Validation messaging --- */
.gform_wrapper.crickers-pie-order-gf_wrapper .gfield_error .gfield_label {
	color: #b3261e;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .gfield_error input,
.gform_wrapper.crickers-pie-order-gf_wrapper .gfield_error select,
.gform_wrapper.crickers-pie-order-gf_wrapper .gfield_error textarea {
	border-color: #b3261e;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .validation_message,
.gform_wrapper.crickers-pie-order-gf_wrapper .gfield_validation_message {
	color: #b3261e;
	font-size: 0.82rem;
	margin-top: 0.3rem;
}

.gform_wrapper.crickers-pie-order-gf_wrapper .gform_validation_errors {
	border: 1px solid #b3261e;
	background: #fdecea;
	color: #b3261e;
	padding: 0.85rem 1rem;
	border-radius: 8px;
	margin-bottom: 1.25rem;
	font-size: 0.85rem;
	list-style: none;
}

/* --- Confirmation message after submit --- */
.gform_confirmation_wrapper .gform_confirmation_message,
.gform_confirmation_message_crickers-pie-order-gf {
	background: #fdf8f0;
	color: #000;
	padding: 1.25rem 1.5rem;
	border-left: 3px solid #d4a843;
	border-radius: 4px;
	font-size: 0.95rem;
}
