/* =========================================================
   AfroSwiss Cuisine — Custom Site Styles
   Brand layer on top of Kadence + Gutenberg (lean build)
   ========================================================= */

/* ---------- 1. Brand palette ---------- */
:root {
	--af-primary: #e8590c;
	--af-primary-dark: #c74c06;
	--af-primary-deep: #9a3b04;
	--af-gold: #f59e0b;
	--af-cream: #fffaf3;
	--af-dark: #241b12;
	--af-muted: #6b5d4f;
	--af-line: #f0e3d2;
	--af-dark-bg: #1e150c;
	--af-grad: linear-gradient(135deg, #ff7a18 0%, #e8590c 55%, #c74c06 100%);
}

/* ---------- 2. Typography ---------- */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--af-dark);
	background-color: var(--af-cream);
}

h1, h2, h3, h4, h5, h6,
.wp-block-button__link,
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

/* Section-heading underline accent */
.entry-content h2 {
	position: relative;
	padding-bottom: 0.35em;
	margin-bottom: 0.5em;
}
.entry-content h2::after {
	content: '';
	display: block;
	width: 64px;
	height: 5px;
	margin: 14px auto 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--af-primary), var(--af-gold));
}

/* ---------- 3. Hero ---------- */
.hero-section {
	text-align: center;
	background-color: var(--af-dark);
}
.hero-section .wp-block-cover__inner-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 20px;
}
.hero-section .eyebrow {
	display: inline-block;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 800;
	font-size: 0.95rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	background-image: var(--af-grad);
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	padding: 10px 26px;
	margin-bottom: 24px;
	box-shadow: 0 6px 20px rgba(232, 89, 12, 0.5);
	animation: af-eyebrow-bounce 1.7s ease-in-out infinite, af-eyebrow-glow 1.7s ease-in-out infinite;
	will-change: transform;
}
@keyframes af-eyebrow-bounce {
	0%, 100% { transform: translateY(0); }
	35% { transform: translateY(-9px); }
	50% { transform: translateY(0); }
	65% { transform: translateY(-5px); }
	80% { transform: translateY(0); }
}
@keyframes af-eyebrow-glow {
	0%, 100% { box-shadow: 0 6px 20px rgba(232, 89, 12, 0.5), 0 0 0 0 rgba(232, 89, 12, 0.55); }
	50% { box-shadow: 0 6px 20px rgba(232, 89, 12, 0.5), 0 0 0 12px rgba(232, 89, 12, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.hero-section .eyebrow {
		animation: none;
	}
}
.hero-section .hero-title {
	font-size: clamp(2.6rem, 7vw, 7rem);
	font-weight: 800;
	line-height: 1.02;
	color: #fff;
	margin: 0 0 18px;
	text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.hero-section .hero-sub {
	font-size: clamp(1.05rem, 2vw, 1.5rem);
	font-weight: 500;
	color: #f3e3cd;
	max-width: 720px;
	margin: 0 auto 34px;
}
.hero-section .wp-block-button__link {
	font-size: 1rem;
	padding: 16px 40px;
}

/* ---------- 4. Buttons ---------- */
.wp-block-button__link,
button.button,
a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
#place_order,
.wc-block-components-button,
button.srfm-submit-button {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.6px !important;
	border-radius: 999px !important;
	border: none !important;
	background-color: var(--af-primary) !important;
	background-image: var(--af-grad) !important;
	color: #fff !important;
	box-shadow: 0 8px 22px -8px rgba(232, 89, 12, 0.55) !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}
.wp-block-button__link:hover,
button.button:hover,
a.button:hover,
.woocommerce a.button:hover,
#place_order:hover,
button.srfm-submit-button:hover {
	transform: translateY(-2px) !important;
	filter: brightness(1.06) !important;
	box-shadow: 0 14px 30px -10px rgba(232, 89, 12, 0.65) !important;
	color: #fff !important;
	background-color: var(--af-primary-dark) !important;
	background-image: linear-gradient(135deg, #ff7a18 0%, #c74c06 70%, #9a3b04 100%) !important;
}

/* ---------- 5. Header ---------- */
/* Hide automatic page titles where the content provides its own heading */
.home .entry-header,
.page-id-1852 .entry-header,
.page-id-55 .entry-header {
	display: none;
}

.site-header {
	background: #fff;
	box-shadow: 0 6px 24px -18px rgba(36, 27, 18, 0.3);
}
.site-header .site-title,
.main-navigation .menu-item > a {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 700;
	letter-spacing: 0.2px;
	color: var(--af-dark);
}
.main-navigation .menu-item > a:hover {
	color: var(--af-primary);
}

/* "Order Now" CTA pill in the header menu */
.main-navigation .menu-item.order-now-btn > a {
	background-image: var(--af-grad);
	color: #fff !important;
	border-radius: 999px;
	padding: 10px 22px;
	box-shadow: 0 8px 20px -8px rgba(232, 89, 12, 0.55);
}
.main-navigation .menu-item.order-now-btn > a:hover {
	color: #fff !important;
	filter: brightness(1.06);
	transform: translateY(-1px);
}

/* Cart icon in the header menu */
.main-navigation .menu-item > a .af-cart-icon {
	width: 21px;
	height: 21px;
	vertical-align: middle;
}
.main-navigation .menu-item > a[href*="/cart/"] {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.main-navigation li:has(> a[href*="/cart/"]) {
	margin-right: 26px;
}
.af-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background-image: var(--af-grad);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
	box-shadow: 0 2px 6px rgba(232, 89, 12, 0.4);
}

/* ---------- OrderNow menu filter ---------- */
[hidden] {
	display: none !important;
}
.af-menu-filter {
	max-width: 620px;
	margin: 0 auto 48px;
	text-align: center;
}
.af-search-wrap {
	position: relative;
}
.af-search-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	color: var(--af-muted);
	pointer-events: none;
	transition: color 0.2s;
}
.af-search-wrap:focus-within .af-search-icon {
	color: var(--af-primary);
}
.af-menu-search {
	width: 100%;
	padding: 16px 20px 16px 52px;
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.4;
	border: 2px solid var(--af-line);
	border-radius: 16px;
	background: #fff;
	color: var(--af-dark);
	box-shadow: 0 8px 22px rgba(36, 27, 18, 0.08);
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
	-webkit-appearance: none;
}
.af-menu-search:focus {
	border-color: var(--af-primary);
	box-shadow: 0 0 0 4px rgba(232, 89, 12, 0.16), 0 8px 22px rgba(36, 27, 18, 0.08);
}
.af-menu-search::placeholder {
	color: var(--af-muted);
	font-weight: 400;
}
.af-menu-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}
.af-pill {
	padding: 9px 20px;
	border: 2px solid var(--af-line);
	border-radius: 999px;
	background: #fff;
	color: var(--af-muted);
	font-weight: 600;
	font-size: 0.92rem;
	cursor: pointer;
	transition: all 0.2s;
}
.af-pill:hover {
	border-color: var(--af-primary);
	color: var(--af-primary);
	transform: translateY(-1px);
}
.af-pill.is-active {
	background-image: var(--af-grad);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 12px rgba(232, 89, 12, 0.3);
}
.af-pill .af-pill-count {
	display: inline-block;
	margin-left: 6px;
	font-size: 0.78rem;
	font-weight: 700;
	opacity: 0.75;
}
.af-menu-count {
	margin-top: 14px;
	font-size: 0.9rem;
	color: var(--af-muted);
	font-weight: 500;
}
.af-menu-count strong {
	color: var(--af-primary);
	font-weight: 700;
}
.af-menu-empty {
	text-align: center;
	color: var(--af-muted);
	font-weight: 500;
	margin-top: 24px;
	font-size: 1rem;
}

/* ---------- GTranslate language switcher ---------- */
.menu-item-gtranslate {
	margin-left: 8px;
}
.menu-item-gtranslate .gt_selector {
	background-color: #fff;
	border: 2px solid var(--af-line);
	border-radius: 999px;
	color: var(--af-dark);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1;
	padding: 9px 34px 9px 16px;
	cursor: pointer;
	transition: border-color 0.2s;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='14' height='14'%3E%3Cpath fill='none' stroke='%23e8590c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
}
.menu-item-gtranslate .gt_selector:hover,
.menu-item-gtranslate .gt_selector:focus {
	border-color: var(--af-primary);
	outline: none;
}

/* ---------- SureForms contact form ---------- *//* Form colors were stored against Astra's palette vars (--ast-global-color-*),
   which no longer exist under Kadence — restore them against the brand palette. */
.srfm-form-container-1267 {
	--ast-global-color-0: var(--af-primary);
	--ast-global-color-2: var(--af-dark);
}
.srfm-form-container-1267 .srfm-input-common {
	background-color: #ffffff !important;
	border: 1px solid var(--af-line) !important;
	box-shadow: 0 1px 2px rgba(36, 27, 18, 0.05);
}
.srfm-form-container-1267 .srfm-input-common::placeholder {
	color: var(--af-muted);
}
.srfm-form-container-1267 .srfm-input-common:focus {
	border-color: var(--af-primary) !important;
	box-shadow: 0 0 0 3px rgba(232, 89, 12, 0.15) !important;
}


/* ---------- 6. Sections ---------- */
.welcome-section,
.menu-section,
.reviews-section {
	padding-top: 72px;
	padding-bottom: 72px;
}
.hours-section {
	padding-top: 24px;
	padding-bottom: 48px;
}
.welcome-media img {
	width: 82%;
	display: block;
	margin: 0 auto;
	border-radius: 24px;
	box-shadow: 0 28px 60px -28px rgba(36, 27, 18, 0.4);
}
.welcome-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.welcome-text h2 {
	text-align: left;
}
.welcome-text h2::after {
	margin: 14px 0 0;
}
.welcome-sub {
	color: var(--af-primary);
	font-size: 1.4rem;
}
.welcome-copy {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--af-muted);
	margin: 8px 0 26px;
}
.hours-list {
	font-size: 1.15rem;
	line-height: 2.1;
	color: var(--af-muted);
	font-weight: 500;
}
.menu-sub {
	color: var(--af-primary);
	font-size: 1.35rem;
	margin-bottom: 0.2em;
}
.menu-note {
	font-weight: 600;
	color: var(--af-muted);
	margin-bottom: 44px;
}

/* ---------- 7. Menu dish cards ---------- */
.dish-row .dish-col {
	background: #fff;
	border: 1px solid var(--af-line);
	border-radius: 18px;
	padding: 16px 16px 24px;
	text-align: center;
	box-shadow: 0 12px 30px -18px rgba(36, 27, 18, 0.28);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.dish-row .dish-col:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 44px -20px rgba(36, 27, 18, 0.38);
	border-color: rgba(232, 89, 12, 0.45);
}
.dish-thumb {
	margin: 0 0 14px;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--af-cream);
}
.dish-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.dish-row .dish-col:hover .dish-thumb img {
	transform: scale(1.06);
}
.dish-name {
	font-size: 1.12rem;
	font-weight: 800;
	color: var(--af-dark);
	margin: 0;
}
.dish-name a {
	color: inherit;
	text-decoration: none;
}
.dish-name a:hover {
	color: var(--af-primary);
}

/* ---------- 8. Reviews ---------- */
.reviews-eyebrow {
	color: var(--af-primary);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 1rem;
	margin-bottom: 28px;
}

/* ---------- 8b. Order Now page ---------- */
.order-note {
	color: var(--af-gold);
}
.order-copy {
	color: var(--af-muted);
	max-width: 640px;
	margin: 0 auto 44px;
}

/* ---------- 8c. Contact page ---------- */
.contact-title {
	margin-bottom: 0.2em;
}
.contact-tagline {
	color: var(--af-primary);
	font-weight: 600;
	font-size: 1.15rem;
	margin-bottom: 48px;
}
.contact-cols {
	gap: 3em;
}
.contact-info {
	background: #fff;
	border: 1px solid var(--af-line);
	border-radius: 18px;
	padding: 32px;
	box-shadow: 0 12px 30px -18px rgba(36, 27, 18, 0.28);
}
.contact-info .info-head {
	font-size: 1.3rem;
	text-align: left;
	margin-bottom: 0.4em;
}
.contact-info .info-head::after {
	margin: 10px 0 0;
}
.contact-phones,
.contact-hours,
.contact-address {
	color: var(--af-muted);
	font-size: 1.05rem;
	line-height: 1.9;
}
.contact-phones a {
	color: var(--af-primary);
	font-weight: 700;
	font-size: 1.15rem;
	text-decoration: none;
}
.contact-phones a:hover {
	text-decoration: underline;
}
.contact-form-col {
	background: #fff;
	border: 1px solid var(--af-line);
	border-radius: 18px;
	padding: 32px;
	box-shadow: 0 12px 30px -18px rgba(36, 27, 18, 0.28);
}
.contact-form-col .form-head {
	font-size: 1.6rem;
}
.form-intro {
	color: var(--af-muted);
}

/* ---------- 9. Footer ---------- */
.site-footer {
	background: var(--af-dark-bg);
	color: #d9c9b4;
}
.site-footer .widget-title,
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6 {
	color: #fff;
}
.site-footer a {
	color: #f3e3cd;
}

/* ---------- 10. WooCommerce (Order Now / products) ---------- */
.woocommerce ul.products li.product {
	background: #fff;
	border: 1px solid var(--af-line);
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 12px 30px -18px rgba(36, 27, 18, 0.28);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-5px);
	box-shadow: 0 24px 44px -20px rgba(36, 27, 18, 0.38);
}
.woocommerce ul.products li.product img {
	border-radius: 14px;
	margin-bottom: 14px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 700;
	color: var(--af-dark);
	font-size: 1.05rem;
}
.woocommerce ul.products li.product .price {
	color: var(--af-primary);
	font-weight: 700;
	font-size: 1.1rem;
}

/* ---------- 11. Cart ---------- */
.woocommerce table.shop_table {
	border-radius: 16px;
	border: 1px solid var(--af-line);
	background: #fff;
}
.woocommerce table.shop_table th {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	background: var(--af-cream);
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	background-color: var(--af-primary) !important;
	background-image: var(--af-grad) !important;
	color: #fff !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	background-color: var(--af-primary-dark) !important;
	color: #fff !important;
}

/* ---------- 12. Checkout ---------- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .woocommerce-input-wrapper .select2-container .select2-selection,
#add_payment_method #payment div.payment_box {
	border-radius: 12px;
	border: 1px solid var(--af-line);
	background: #fff;
	padding: 14px 16px;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	border-color: var(--af-primary);
	box-shadow: 0 0 0 3px rgba(232, 89, 12, 0.18);
	outline: none;
}
.woocommerce-checkout .wc-block-checkout .wc-block-components-totals-wrapper,
.woocommerce-checkout #order_review {
	border-radius: 16px;
	background: var(--af-cream);
}
#payment .wc_payment_methods {
	border-radius: 14px;
	background: #fff;
}

/* ---------- 13. My Account ---------- */
.woocommerce-MyAccount-navigation ul {
	border-radius: 14px;
	overflow: hidden;
}
.woocommerce-MyAccount-navigation ul li a {
	color: var(--af-dark);
}
.woocommerce-MyAccount-navigation ul li.is-active a {
	background-color: var(--af-primary) !important;
	background-image: var(--af-grad) !important;
	color: #fff;
}

/* ---------- 14. Forms ---------- */
.sureforms-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.sureforms-form textarea,
.sureforms-form select {
	border-radius: 12px;
	border: 1px solid var(--af-line);
	background: #fff;
	padding: 12px 14px;
}
.sureforms-form input:focus,
.sureforms-form textarea:focus,
.sureforms-form select:focus {
	border-color: var(--af-primary);
	box-shadow: 0 0 0 3px rgba(232, 89, 12, 0.18);
	outline: none;
}

/* ---------- 15. Delivery notice ---------- */
.geneva-postcode-delivery-no-shipping {
	background: #fff4e6;
	border: 1px dashed var(--af-primary);
	border-radius: 12px;
	padding: 14px 18px;
	color: var(--af-primary-deep);
	font-weight: 600;
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 921px) {
	.welcome-section, .menu-section, .reviews-section {
		padding-top: 48px;
		padding-bottom: 48px;
	}
	.woocommerce ul.products li.product {
		padding: 14px;
	}
}
@media (max-width: 600px) {
	.hero-section .wp-block-button__link {
		padding: 14px 28px;
		font-size: 0.9rem;
	}
	.entry-content h2 {
		font-size: 1.6rem;
	}
}
