/*
Theme Name:   Namak (Astra Child)
Theme URI:    https://example.com/
Description:  Child theme for Astra with the Namak burgundy, cream and gold design. Astra stays the parent theme; all customizations live here.
Author:       Namak Indian Cuisine and Sweets
Template:     astra
Version:      1.8.6
Text Domain:  namak-astra-child
*/

/* ---------- Design tokens ---------- */
:root {
	--namak-burgundy: #6B1E2E;
	--namak-burgundy-dark: #4A1420;
	--namak-gold: #C9A227;
	--namak-gold-soft: #E3C878;
	--namak-cream: #FBF5EA;
	--namak-cream-dark: #F1E6D2;
	--namak-ink: #2B1B17;
	--namak-muted: #6E5A52;
	--namak-brand-font: 'Cinzel', 'Trajan Pro', Georgia, serif;      /* matches the NAMAK lettering on the sign */
	--namak-tagline-font: 'Oswald', 'Arial Narrow', sans-serif;       /* matches INDIAN CUISINE & SWEETS on the sign */
	--namak-heading-font: 'Playfair Display', Georgia, serif;
	--namak-body-font: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Base ---------- */
body {
	background-color: var(--namak-cream);
	color: var(--namak-ink);
	font-family: var(--namak-body-font);
	line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .site-title {
	font-family: var(--namak-heading-font);
	color: var(--namak-burgundy);
	letter-spacing: 0.01em;
}

a { color: var(--namak-burgundy); }
a:hover, a:focus { color: var(--namak-gold); }

/* ---------- Brand lettering (from the sign) ---------- */
.site-title, .site-title a, .ast-site-identity .site-title a,
h1, .entry-content h1, h1.entry-title, .namak-brand {
	font-family: var(--namak-brand-font);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.site-description, .ast-site-identity .site-description, .namak-tagline {
	font-family: var(--namak-tagline-font);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--namak-ink);
}

/* Small gold ornament under centered section headings (add class "namak-ornament" to a Heading block) */
.namak-ornament::after {
	content: "";
	display: block;
	width: 64px;
	height: 2px;
	margin: 0.75rem auto 0;
	background: linear-gradient(90deg, transparent, var(--namak-gold), transparent);
}

/* Eyebrow text above headings (add class "namak-eyebrow" to a Paragraph block) */
.namak-eyebrow {
	font-family: var(--namak-tagline-font);
	font-size: 0.8rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--namak-gold);
	font-weight: 700;
	margin-bottom: 0.5rem;
}

/* ---------- Buttons ---------- */
.wp-block-button__link,
.ast-button, button, input[type="submit"] {
	border-radius: 2px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

/* Outline style button in gold */
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid var(--namak-gold);
	color: var(--namak-gold);
	background: transparent;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--namak-gold);
	color: var(--namak-burgundy-dark);
}

/* ---------- Header & footer ---------- */
.ast-primary-header-bar {
	border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}
.site-footer, .site-primary-footer-wrap, .site-below-footer-wrap {
	background-color: var(--namak-burgundy-dark);
	color: var(--namak-cream);
}
.site-footer a { color: var(--namak-gold-soft); }

/* ---------- Content helpers ---------- */
/* Cards for dishes / menu items (add class "namak-card" to a Group block) */
.namak-card {
	background: #fff;
	border: 1px solid var(--namak-cream-dark);
	border-top: 3px solid var(--namak-gold);
	box-shadow: 0 8px 24px rgba(75, 20, 32, 0.06);
}

/* Menu rows: dish name left, price right (add class "namak-menu-item" to a Row/Group block) */
.namak-menu-item {
	border-bottom: 1px dashed var(--namak-cream-dark);
	padding-bottom: 0.75rem;
}
.namak-price {
	color: var(--namak-burgundy);
	font-family: var(--namak-heading-font);
	font-weight: 700;
	white-space: nowrap;
}

/* Gallery images: gentle zoom on hover */
.wp-block-gallery .wp-block-image img {
	transition: transform .4s ease;
}
.wp-block-gallery .wp-block-image:hover img {
	transform: scale(1.04);
}
.wp-block-gallery .wp-block-image { overflow: hidden; }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
	h1 { font-size: 2.2rem; }
	h2 { font-size: 1.7rem; }
}

/* =========================================================
   Homepage sections (used by the "Namak Homepage" pattern)
   ========================================================= */

/* Section spacing and backgrounds (add to a full-width Group block) */
.namak-section {
	padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem;
}
.namak-section-alt {
	background-color: var(--namak-cream-dark);
}
.namak-section-dark {
	background-color: var(--namak-burgundy-dark);
	color: var(--namak-cream);
}
.namak-section-dark h2, .namak-section-dark h3 {
	color: var(--namak-gold-soft);
}

/* Hero */
.namak-hero .wp-block-cover__inner-container {
	max-width: 820px;
}
.namak-hero h1.namak-hero-title,
.entry-content .namak-hero h1.namak-hero-title {
	color: var(--namak-cream);
	font-size: clamp(3.2rem, 9vw, 6.5rem);
	letter-spacing: 0.18em;
	margin: 0.25rem 0 0.5rem;
	line-height: 1.05;
}
.namak-hero .namak-hero-tagline {
	color: var(--namak-gold);
	font-size: clamp(1rem, 2.4vw, 1.4rem);
	letter-spacing: 0.3em;
	margin-bottom: 1.5rem;
}
.namak-hero .namak-hero-text {
	color: var(--namak-cream);
	font-size: 1.1rem;
	max-width: 560px;
	margin: 0 auto 2rem;
	opacity: 0.92;
}

/* Text on dark cover images */
.wp-block-cover h2, .wp-block-cover h3 {
	color: var(--namak-cream);
}
.wp-block-cover p {
	color: var(--namak-cream);
}
.wp-block-cover .namak-eyebrow,
.namak-section-dark .namak-eyebrow {
	color: var(--namak-gold);
}

/* Buttons: burgundy by default, gold variant via "namak-btn-gold" */
.wp-block-button:not(.is-style-outline) > .wp-block-button__link {
	background-color: var(--namak-burgundy);
	color: var(--namak-cream);
	padding: 0.9em 2em;
}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover {
	background-color: var(--namak-gold);
	color: var(--namak-burgundy-dark);
}
.wp-block-button.namak-btn-gold > .wp-block-button__link {
	background-color: var(--namak-gold);
	color: var(--namak-burgundy-dark);
}
.wp-block-button.namak-btn-gold > .wp-block-button__link:hover {
	background-color: var(--namak-cream);
	color: var(--namak-burgundy-dark);
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	padding: calc(0.9em - 2px) calc(2em - 2px);
}
/* Outline button on light backgrounds */
.namak-section:not(.namak-section-dark) .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: var(--namak-burgundy);
	color: var(--namak-burgundy);
}
.namak-section:not(.namak-section-dark) .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--namak-burgundy);
	color: var(--namak-cream);
}

/* Dish cards */
.namak-card {
	padding: 0;
	height: 100%;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
.namak-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(75, 20, 32, 0.12);
}
.namak-card .namak-card-image {
	margin: 0;
}
.namak-card .namak-card-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}
.namak-card-body {
	padding: 1.5rem 1.5rem 1.75rem;
}
.namak-card-body h3 {
	margin-bottom: 0.5rem;
}
.namak-card-body .namak-price {
	margin-bottom: 0;
	font-size: 1.15rem;
}
.wp-block-columns .wp-block-column > .namak-card {
	height: 100%;
}

/* Image with an offset gold frame (add class "namak-framed" to an Image block) */
.namak-framed {
	position: relative;
	margin: 1rem 1rem 1rem 0;
}
.namak-framed img {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}
.namak-framed::before {
	content: "";
	position: absolute;
	inset: 1rem -1rem -1rem 1rem;
	border: 2px solid var(--namak-gold);
	z-index: 0;
}

/* Gallery preview: square tiles */
.namak-section .wp-block-gallery.has-nested-images figure.wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Remove Astra's top/bottom page padding on full-width pages so sections touch the header/footer */
.ast-plain-container.ast-no-sidebar .entry-content > .alignfull:first-child {
	margin-top: 0;
}

@media (max-width: 781px) {
	.namak-framed { margin: 0 1rem 2rem 0; }
	.namak-section .wp-block-gallery.columns-4 { --wp--style--unstable-gallery-gap: 8px; }
}

/* =========================================================
   Inner pages: Menu, About Us, Gallery, Contact & Location
   ========================================================= */

/* Page heroes */
.namak-page-hero .wp-block-cover__inner-container { max-width: 760px; }
.namak-page-hero h1.namak-page-title,
.entry-content .namak-page-hero h1.namak-page-title {
	color: var(--namak-cream);
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	letter-spacing: 0.12em;
	margin: 0.25rem 0 1rem;
}

/* Menu: jump links under the hero */
.namak-menu-nav-wrap {
	background: var(--namak-burgundy);
	padding: 1rem 1.5rem;
	position: relative;
	z-index: 2;
}
.namak-menu-nav {
	margin: 0;
	font-family: var(--namak-tagline-font);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-size: 0.9rem;
	color: var(--namak-gold);
}
.namak-menu-nav a { color: var(--namak-cream); text-decoration: none; }
.namak-menu-nav a:hover { color: var(--namak-gold); }
.namak-menu-section { scroll-margin-top: 90px; }

/* Menu: wide photo under each category title */
.namak-menu-banner { margin: 0 auto 2.5rem; max-width: 1200px; }
.namak-menu-banner img {
	width: 100%;
	aspect-ratio: 21 / 8;
	object-fit: cover;
	display: block;
	border-bottom: 3px solid var(--namak-gold);
}

/* Menu: one dish per row, name and description on the left, price on the right */
.namak-menu-item {
	gap: 1.5rem;
	border-bottom: 1px dashed rgba(107, 30, 46, 0.25);
	padding: 0.9rem 0;
	margin: 0 !important;
}
.namak-menu-text { flex: 1 1 auto; }
.namak-menu-text > * { margin: 0 !important; }
h4.namak-menu-name,
.entry-content h4.namak-menu-name {
	font-size: 1.15rem;
	margin-bottom: 0.25rem !important;
}
.namak-menu-desc {
	font-size: 0.95rem;
	color: var(--namak-muted);
}
.namak-menu-item .namak-price {
	margin: 0;
	font-size: 1.1rem;
	padding-top: 0.1rem;
}
.namak-diet {
	font-family: var(--namak-tagline-font);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	color: var(--namak-gold);
	vertical-align: middle;
	margin-left: 0.35rem;
}
.namak-legend, .namak-small { font-size: 0.95rem; }
.namak-section-dark .namak-legend,
.namak-section-dark .namak-small { color: var(--namak-cream); }

/* About: big gold numbers above values */
.namak-number {
	font-family: var(--namak-brand-font);
	font-size: 2.6rem;
	color: var(--namak-gold);
	line-height: 1;
	margin-bottom: 0.5rem;
}

/* About: founder quote on a photo */
.namak-quote-band .wp-block-cover__inner-container { max-width: 760px; }
.namak-quote,
.wp-block-quote.namak-quote {
	border: 0;
	padding: 0;
	margin: 0 auto;
	text-align: center;
}
.namak-quote p {
	font-family: var(--namak-heading-font);
	font-style: italic;
	font-size: clamp(1.3rem, 3vw, 1.9rem);
	line-height: 1.5;
	color: var(--namak-cream);
}
.namak-quote p::before { content: "\201C"; color: var(--namak-gold); }
.namak-quote p::after { content: "\201D"; color: var(--namak-gold); }
.namak-quote cite {
	display: block;
	margin-top: 1rem;
	font-family: var(--namak-tagline-font);
	font-style: normal;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--namak-gold);
}

/* Gallery page: square tiles with gentle zoom */
.namak-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Contact: opening hours table */
.namak-hours { margin: 0.75rem 0 1.5rem; }
.namak-hours table,
.wp-block-table.namak-hours table {
	border: 0 !important;
	border-collapse: collapse;
	width: 100%;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--namak-cream-dark);
}
.namak-hours td {
	border: 0 !important;
	border-bottom: 1px solid var(--namak-cream-dark) !important;
	padding: 0.7rem 1.1rem !important;
}
.namak-hours tr:last-child td { border-bottom: 0 !important; }
.namak-hours tr:nth-child(even) td { background: rgba(241, 230, 210, 0.35); }
.namak-hours td:first-child { font-weight: 600; color: var(--namak-burgundy, inherit); }
.namak-hours td:last-child { text-align: right; font-weight: 700; }

/* Contact: box where the contact form goes */
.namak-form-placeholder {
	border: 2px dashed var(--namak-gold);
	background: #fff;
	padding: 2.5rem 1.5rem;
}

/* Contact form styling (WPForms) to match the site */
.namak-section .wpforms-container input[type="text"],
.namak-section .wpforms-container input[type="email"],
.namak-section .wpforms-container input[type="tel"],
.namak-section .wpforms-container textarea {
	border: 1px solid var(--namak-cream-dark) !important;
	border-radius: 2px !important;
	background: #fff !important;
}
.namak-section .wpforms-container button[type="submit"] {
	background: var(--namak-burgundy) !important;
	color: var(--namak-cream) !important;
	border-radius: 2px !important;
}
.namak-section .wpforms-container button[type="submit"]:hover {
	background: var(--namak-gold) !important;
	color: var(--namak-burgundy-dark) !important;
}

/* Contact: full-width map */
.namak-map-wrap { padding: 0; }
.namak-map iframe { display: block; width: 100%; height: 450px; filter: sepia(0.15); }

@media (max-width: 781px) {
	.namak-menu-banner img { aspect-ratio: 16 / 9; }
	.namak-menu-nav { font-size: 0.8rem; line-height: 2; }
	.namak-map iframe { height: 320px; }
}

/* =========================================================
   Header & hero refinements (v1.5)
   ========================================================= */

/* ---------- Header: shared ---------- */
.site-header .site-branding,
.site-header .ast-site-identity {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0;
}
.site-header .custom-logo-link img,
.site-header .site-logo-img img {
	width: 64px !important;
	max-width: 64px !important;
	height: auto;
	transition: transform .3s ease;
}
.site-header .custom-logo-link:hover img { transform: rotate(-6deg) scale(1.04); }

.site-header .ast-site-title-wrap { line-height: 1; }
.site-header .site-title,
.site-header .site-title a {
	font-family: var(--namak-brand-font) !important;
	font-size: 1.65rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.22em !important;
	line-height: 1 !important;
	margin: 0 !important;
	text-transform: uppercase;
}
.site-header .site-description {
	font-family: var(--namak-tagline-font) !important;
	font-size: 0.68rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.32em !important;
	text-transform: uppercase;
	margin: 6px 0 0 !important;
	line-height: 1 !important;
}

/* Menu links: small caps-style, generous tracking, gold underline on hover */
.site-header .main-header-menu > .menu-item > .menu-link {
	font-family: var(--namak-body-font);
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase;
	padding: 0 1.05em !important;
	position: relative;
	transition: color .25s ease;
}
.site-header .main-header-menu > .menu-item:not(.namak-nav-cta) > .menu-link::after {
	content: "";
	position: absolute;
	left: 1.05em;
	right: 1.05em;
	bottom: calc(50% - 1.1em);
	height: 1px;
	background: var(--namak-gold);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .3s ease;
}
.site-header .main-header-menu > .menu-item:not(.namak-nav-cta):hover > .menu-link::after,
.site-header .main-header-menu > .current-menu-item:not(.namak-nav-cta) > .menu-link::after {
	transform: scaleX(1);
}

/* "Order Now" button at the end of the menu */
.site-header .main-header-menu > .namak-nav-cta { margin-left: 1rem; }
.site-header .main-header-menu > .namak-nav-cta > .menu-link {
	border: 1px solid var(--namak-gold) !important;
	color: var(--namak-gold) !important;
	border-radius: 999px;
	line-height: 1 !important;
	padding: 0.9em 1.6em !important;
	height: auto !important;
	transition: background-color .25s ease, color .25s ease;
}
.site-header .main-header-menu > .namak-nav-cta > .menu-link:hover {
	background: var(--namak-gold) !important;
	color: var(--namak-burgundy-dark) !important;
}

/* Hide social icons if any are still in the header */
.site-header .ast-header-social-wrap,
.site-header [class*="ast-header-social"] { display: none !important; }

/* ---------- Header: solid (pages without a big photo) ---------- */
.site-header .ast-primary-header-bar,
.site-header .main-header-bar {
	background-color: var(--namak-cream);
	border-bottom: 1px solid rgba(201, 162, 39, 0.3);
	min-height: 92px;
}
.site-header .site-title a { color: var(--namak-burgundy) !important; }
.site-header .site-description { color: var(--namak-gold) !important; }
.site-header .main-header-menu > .menu-item > .menu-link { color: var(--namak-ink) !important; }
.site-header .main-header-menu > .menu-item:not(.namak-nav-cta):hover > .menu-link,
.site-header .main-header-menu > .current-menu-item:not(.namak-nav-cta) > .menu-link { color: var(--namak-burgundy) !important; }
.site-header .main-header-menu > .namak-nav-cta > .menu-link { color: var(--namak-burgundy) !important; border-color: var(--namak-burgundy) !important; }
.site-header .main-header-menu > .namak-nav-cta > .menu-link:hover { background: var(--namak-burgundy) !important; color: var(--namak-cream) !important; }

/* ---------- Header: see-through, on top of the hero photo ---------- */
.ast-theme-transparent-header .site-header .ast-primary-header-bar,
.ast-theme-transparent-header .site-header .main-header-bar {
	background: transparent !important;
	border-bottom: 1px solid rgba(227, 200, 120, 0.22);
	box-shadow: none;
}
.ast-theme-transparent-header .site-header .site-title a { color: var(--namak-cream) !important; }
.ast-theme-transparent-header .site-header .site-description { color: var(--namak-gold-soft) !important; }
.ast-theme-transparent-header .site-header .main-header-menu > .menu-item > .menu-link { color: rgba(251, 245, 234, 0.88) !important; }
.ast-theme-transparent-header .site-header .main-header-menu > .menu-item:not(.namak-nav-cta):hover > .menu-link,
.ast-theme-transparent-header .site-header .main-header-menu > .current-menu-item:not(.namak-nav-cta) > .menu-link { color: #fff !important; }
.ast-theme-transparent-header .site-header .main-header-menu > .namak-nav-cta > .menu-link { color: var(--namak-gold) !important; border-color: var(--namak-gold) !important; }
.ast-theme-transparent-header .site-header .main-header-menu > .namak-nav-cta > .menu-link:hover { background: var(--namak-gold) !important; color: var(--namak-burgundy-dark) !important; }

/* Mobile menu button and dropdown */
.ast-theme-transparent-header .site-header .menu-toggle,
.ast-theme-transparent-header .site-header .ast-mobile-svg { color: var(--namak-cream) !important; fill: var(--namak-cream) !important; }
.site-header .ast-mobile-header-content,
.site-header .ast-mobile-header-wrap .ast-mobile-popup-drawer .ast-mobile-popup-inner {
	background: var(--namak-burgundy-dark) !important;
}
.site-header .ast-mobile-header-content .menu-link {
	color: var(--namak-cream) !important;
	font-size: 0.85rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-color: rgba(227, 200, 120, 0.15) !important;
}

/* ---------- Hero: readable text on the photo ---------- */
.namak-hero .wp-block-cover__background,
.namak-page-hero .wp-block-cover__background {
	background: linear-gradient(180deg,
		rgba(20, 8, 6, 0.88) 0%,
		rgba(32, 14, 10, 0.55) 38%,
		rgba(32, 14, 10, 0.62) 70%,
		rgba(20, 8, 6, 0.9) 100%) !important;
	opacity: 1 !important;
}
.namak-hero .wp-block-cover__inner-container,
.namak-page-hero .wp-block-cover__inner-container {
	padding-top: 90px; /* room for the see-through header */
}
.namak-hero .wp-block-cover__inner-container .namak-eyebrow,
.namak-page-hero .wp-block-cover__inner-container .namak-eyebrow {
	color: var(--namak-gold) !important;
	font-size: 0.85rem !important;
	letter-spacing: 0.45em !important;
	margin-bottom: 0.75rem !important;
}
.namak-hero .wp-block-cover__inner-container .namak-hero-tagline {
	color: var(--namak-gold-soft) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	font-size: clamp(0.85rem, 1.6vw, 1.1rem) !important;
	letter-spacing: 0.42em !important;
	margin: 0.5rem 0 1.75rem !important;
}
.namak-hero .namak-hero-tagline::before,
.namak-hero .namak-hero-tagline::after {
	content: "";
	width: 48px;
	height: 1px;
	background: var(--namak-gold);
	opacity: 0.8;
}
.namak-hero .wp-block-cover__inner-container .namak-hero-text,
.namak-page-hero .wp-block-cover__inner-container .namak-hero-text {
	color: rgba(251, 245, 234, 0.9) !important;
	font-size: 1.12rem !important;
	line-height: 1.75;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
.namak-hero h1.namak-hero-title,
.entry-content .namak-hero h1.namak-hero-title {
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
	letter-spacing: 0.22em !important;
	margin-right: -0.22em !important; /* keeps the spaced-out word visually centred */
}

/* Hero buttons: one solid gold, one outline */
.namak-hero .wp-block-buttons { gap: 14px; }
.namak-hero .wp-block-button > .wp-block-button__link {
	border-radius: 999px !important;
	font-size: 0.8rem !important;
	letter-spacing: 0.2em !important;
	padding: 1.15em 2.4em !important;
}
.namak-hero .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent !important;
	border: 1px solid rgba(251, 245, 234, 0.7) !important;
	color: var(--namak-cream) !important;
	padding: calc(1.15em - 1px) calc(2.4em - 1px) !important;
}
.namak-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--namak-cream) !important;
	color: var(--namak-burgundy-dark) !important;
}

/* Small scroll hint at the bottom of the homepage hero */
.namak-hero::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 28px;
	width: 1px;
	height: 48px;
	background: linear-gradient(var(--namak-gold), transparent);
	z-index: 2;
}

@media (max-width: 921px) {
	.site-header .custom-logo-link img,
	.site-header .site-logo-img img { width: 48px !important; max-width: 48px !important; }
	.site-header .site-title, .site-header .site-title a { font-size: 1.25rem !important; }
	.site-header .ast-primary-header-bar, .site-header .main-header-bar { min-height: 72px; }
	.namak-hero .wp-block-cover__inner-container,
	.namak-page-hero .wp-block-cover__inner-container { padding-top: 70px; }
	.namak-hero .namak-hero-tagline::before,
	.namak-hero .namak-hero-tagline::after { width: 24px; }
	.namak-hero h1.namak-hero-title,
	.entry-content .namak-hero h1.namak-hero-title { letter-spacing: 0.14em !important; margin-right: -0.14em !important; }
}

/* =========================================================
   Modern touches (v1.6)
   ========================================================= */

html { scroll-behavior: smooth; }
::selection { background: var(--namak-gold); color: var(--namak-burgundy-dark); }
a:focus-visible, button:focus-visible, .wp-block-button__link:focus-visible {
	outline: 2px solid var(--namak-gold) !important;
	outline-offset: 3px;
}

/* ---------- Header becomes solid and slim when you scroll ---------- */
.ast-theme-transparent-header.namak-scrolled #masthead {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	animation: namakSlideDown .35s ease both;
}
.ast-theme-transparent-header.namak-scrolled #masthead .ast-primary-header-bar,
.ast-theme-transparent-header.namak-scrolled #masthead .main-header-bar {
	background: rgba(46, 13, 20, 0.92) !important;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	min-height: 72px;
	border-bottom-color: rgba(201, 162, 39, 0.35);
}
.ast-theme-transparent-header.namak-scrolled #masthead .custom-logo-link img { width: 50px !important; max-width: 50px !important; }
.site-header .ast-primary-header-bar,
.site-header .custom-logo-link img { transition: min-height .3s ease, width .3s ease, background-color .3s ease; }
@media (min-width: 783px) { .admin-bar.namak-scrolled #masthead { top: 32px; } }
@media (min-width: 601px) and (max-width: 782px) { .admin-bar.namak-scrolled #masthead { top: 46px; } }
@keyframes namakSlideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* ---------- Hero: slow zoom on the photo, text rises in ---------- */
.namak-hero, .namak-page-hero { overflow: hidden; }
.namak-hero .wp-block-cover__image-background {
	animation: namakZoom 16s ease-out both;
}
@keyframes namakZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.namak-hero .wp-block-cover__inner-container > * {
	animation: namakRise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.namak-hero .wp-block-cover__inner-container > *:nth-child(2) { animation-delay: .12s; }
.namak-hero .wp-block-cover__inner-container > *:nth-child(3) { animation-delay: .24s; }
.namak-hero .wp-block-cover__inner-container > *:nth-child(4) { animation-delay: .36s; }
.namak-hero .wp-block-cover__inner-container > *:nth-child(5) { animation-delay: .48s; }
@keyframes namakRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Sections fade up as they scroll into view ---------- */
.namak-anim .namak-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.namak-anim .namak-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Dish cards: lift, photo zoom, gold line ---------- */
.namak-card {
	position: relative;
	overflow: hidden;
	border-radius: 14px !important;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease !important;
}
.namak-card::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--namak-gold), var(--namak-gold-soft));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s ease;
}
.namak-card:hover { transform: translateY(-8px) !important; box-shadow: 0 24px 50px rgba(74, 20, 32, 0.18) !important; }
.namak-card:hover::after { transform: scaleX(1); }
.namak-card .namak-card-image { overflow: hidden; margin: 0; }
.namak-card .namak-card-image img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.namak-card:hover .namak-card-image img { transform: scale(1.07); }
.namak-card .namak-price {
	display: inline-block;
	padding: .35em .9em;
	border: 1px solid rgba(201, 162, 39, 0.5);
	border-radius: 999px;
	font-size: .9rem;
	letter-spacing: .05em;
}

/* ---------- Gallery: rounded photos that zoom with a warm tint ---------- */
.wp-block-gallery.has-nested-images figure.wp-block-image {
	overflow: hidden;
	border-radius: 10px;
	position: relative;
}
.wp-block-gallery.has-nested-images figure.wp-block-image img {
	transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .5s ease;
}
.wp-block-gallery.has-nested-images figure.wp-block-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(74, 20, 32, 0.55));
	opacity: 0;
	transition: opacity .5s ease;
	pointer-events: none;
}
.wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: scale(1.08); filter: saturate(1.1); }
.wp-block-gallery.has-nested-images figure.wp-block-image:hover::after { opacity: 1; }

/* ---------- Framed "Our Story" photo shifts slightly on hover ---------- */
.namak-framed img { transition: transform .6s ease; }
.namak-framed:hover img { transform: translate(-6px, -6px); }

/* ---------- Buttons: soft glow and lift ---------- */
.wp-block-button__link {
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease !important;
}
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(201, 162, 39, 0.28);
}

/* ---------- Sweets band: fixed photo for a depth effect on big screens ---------- */
@media (min-width: 1025px) and (hover: hover) {
	.namak-sweets-band { clip-path: inset(0); }
	.namak-sweets-band .wp-block-cover__image-background { position: fixed; }
}

/* ---------- Footer ---------- */
.site-footer,
.site-footer .site-below-footer-wrap,
.site-footer .ast-builder-grid-row-container {
	background: var(--namak-burgundy-dark) !important;
	color: rgba(251, 245, 234, 0.7) !important;
}
.site-footer { border-top: 1px solid rgba(201, 162, 39, 0.4); }
.site-footer .site-below-footer-wrap { padding: 28px 0 !important; }
.site-footer, .site-footer p, .site-footer .ast-footer-copyright {
	font-size: 0.8rem !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.site-footer a { color: var(--namak-gold-soft) !important; }
.site-footer a:hover { color: var(--namak-gold) !important; }

/* ---------- Back-to-top button ---------- */
.namak-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 998;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var(--namak-gold);
	background: var(--namak-burgundy-dark);
	color: var(--namak-gold);
	display: grid;
	place-items: center;
	padding: 0;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .3s ease, transform .3s ease, background-color .25s ease, color .25s ease, visibility .3s;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.namak-show-top .namak-to-top { opacity: 1; visibility: visible; transform: none; }
.namak-to-top:hover { background: var(--namak-gold); color: var(--namak-burgundy-dark); }

/* Respect people who turn off animations on their device */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Light text on photos and dark bands (v1.6.1)
   Astra's own text colour was winning, so these use !important.
   ========================================================= */
.wp-block-cover .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container :is(p, li, h1, h2, h3, h4, h5, h6, blockquote):not(.has-text-color):not(.namak-eyebrow):not(.namak-hero-tagline),
.namak-section-dark :is(p, li, td, th):not(.has-text-color):not(.namak-eyebrow) {
	color: var(--namak-cream) !important;
}
.wp-block-cover .wp-block-cover__inner-container .namak-eyebrow,
.namak-section-dark .namak-eyebrow,
.wp-block-cover .namak-quote cite,
.wp-block-cover .namak-quote p::before,
.wp-block-cover .namak-quote p::after { color: var(--namak-gold) !important; }
.wp-block-cover.namak-quote-band .wp-block-cover__inner-container { max-width: 820px !important; margin: 0 auto; }
.wp-block-cover .namak-quote p { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }

/* Footer text */
.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright p,
.site-footer .site-below-footer-wrap p,
.site-footer .site-below-footer-wrap div {
	color: rgba(251, 245, 234, 0.75) !important;
}
.site-footer .ast-footer-copyright a { color: var(--namak-gold-soft) !important; }

/* =========================================================
   Mobile menu (v1.6.2): burgundy panel, cream links
   ========================================================= */
#ast-mobile-header .ast-mobile-header-content,
#ast-mobile-header .ast-mobile-header-content .main-navigation,
#ast-mobile-header .ast-mobile-header-content .main-header-menu,
#ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-item,
#ast-mobile-header .ast-mobile-header-content .main-header-menu .sub-menu,
.ast-mobile-popup-drawer .ast-mobile-popup-content,
.ast-mobile-popup-drawer .main-header-menu,
.ast-mobile-popup-drawer .main-header-menu .menu-item {
	background: var(--namak-burgundy-dark) !important;
}
#ast-mobile-header .ast-mobile-header-content { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); padding-bottom: 18px; }
#ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-item > .menu-link,
.ast-mobile-popup-drawer .main-header-menu .menu-item > .menu-link {
	color: var(--namak-cream) !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase;
	padding: 16px 24px !important;
	border-bottom: 1px solid rgba(227, 200, 120, 0.14) !important;
	line-height: 1.4 !important;
}
#ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-link::after { display: none !important; }
#ast-mobile-header .ast-mobile-header-content .main-header-menu .current-menu-item > .menu-link,
#ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-item > .menu-link:hover,
.ast-mobile-popup-drawer .main-header-menu .current-menu-item > .menu-link {
	color: var(--namak-gold) !important;
	border-left: 3px solid var(--namak-gold) !important;
	padding-left: 21px !important;
}
/* Order Now as a full-width gold button inside the phone menu */
#ast-mobile-header .ast-mobile-header-content .main-header-menu > .namak-nav-cta,
.ast-mobile-popup-drawer .main-header-menu > .namak-nav-cta { margin: 18px 24px 0 !important; }
#ast-mobile-header .ast-mobile-header-content .main-header-menu > .namak-nav-cta > .menu-link,
.ast-mobile-popup-drawer .main-header-menu > .namak-nav-cta > .menu-link {
	display: block;
	text-align: center;
	background: var(--namak-gold) !important;
	color: var(--namak-burgundy-dark) !important;
	border: 0 !important;
	border-radius: 999px;
	padding: 15px 24px !important;
}
/* Menu button (☰ / ✕) */
#ast-mobile-header .menu-toggle,
#ast-mobile-header .main-header-menu-toggle {
	color: var(--namak-gold) !important;
	border: 1px solid rgba(201, 162, 39, 0.5) !important;
	border-radius: 10px !important;
	background: transparent !important;
}
#ast-mobile-header .menu-toggle .ast-mobile-svg { fill: var(--namak-gold) !important; }
@media (max-width: 921px) {
	.site-header .site-description { letter-spacing: 0.24em !important; font-size: 0.6rem !important; }
}

/* Mobile menu, stronger selectors (v1.6.3): match Astra's phone menu by class as well as id */
html body .site-header .ast-mobile-header-content,
html body .site-header .ast-builder-menu-mobile,
html body .site-header .ast-builder-menu-mobile .main-navigation,
html body .site-header .ast-builder-menu-mobile .main-header-menu,
html body .site-header .ast-builder-menu-mobile .main-header-menu .menu-item,
html body .site-header .ast-builder-menu-mobile .main-header-menu .menu-item > .menu-link,
html body .site-header #ast-hf-mobile-menu,
html body .site-header #ast-hf-mobile-menu .menu-item,
html body .site-header #ast-hf-mobile-menu .menu-item > .menu-link,
html body .ast-mobile-popup-drawer .ast-mobile-popup-inner,
html body .ast-mobile-popup-drawer .main-header-menu .menu-item > .menu-link {
	background-color: var(--namak-burgundy-dark) !important;
	background-image: none !important;
}
html body .site-header .ast-builder-menu-mobile .main-header-menu .menu-item > .menu-link,
html body .site-header #ast-hf-mobile-menu .menu-item > .menu-link,
html body .ast-mobile-popup-drawer .main-header-menu .menu-item > .menu-link {
	color: var(--namak-cream) !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase;
	padding: 16px 24px !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(227, 200, 120, 0.14) !important;
	line-height: 1.4 !important;
	height: auto !important;
}
html body .site-header .ast-builder-menu-mobile .main-header-menu .menu-link::after,
html body .site-header #ast-hf-mobile-menu .menu-link::after { display: none !important; }
html body .site-header .ast-builder-menu-mobile .main-header-menu .current-menu-item:not(.namak-nav-cta) > .menu-link,
html body .site-header #ast-hf-mobile-menu .current-menu-item:not(.namak-nav-cta) > .menu-link {
	color: var(--namak-gold) !important;
	border-left: 3px solid var(--namak-gold) !important;
	padding-left: 21px !important;
}
html body .site-header .ast-builder-menu-mobile .main-header-menu > .namak-nav-cta,
html body .site-header #ast-hf-mobile-menu > .namak-nav-cta {
	margin: 18px 24px 22px !important;
	background: transparent !important;
}
html body .site-header .ast-builder-menu-mobile .main-header-menu > .namak-nav-cta > .menu-link,
html body .site-header #ast-hf-mobile-menu > .namak-nav-cta > .menu-link {
	display: block !important;
	width: auto !important;
	text-align: center;
	background-color: var(--namak-gold) !important;
	color: var(--namak-burgundy-dark) !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 15px 24px !important;
}
html body .site-header .menu-toggle.main-header-menu-toggle {
	color: var(--namak-gold) !important;
	border: 1px solid rgba(201, 162, 39, 0.6) !important;
	border-radius: 10px !important;
	background: transparent !important;
	outline: none !important;
}
html body .site-header .menu-toggle.main-header-menu-toggle:focus-visible { outline: 2px solid var(--namak-gold) !important; outline-offset: 2px; }
html body .site-header .menu-toggle .ast-mobile-svg { fill: var(--namak-gold) !important; }

/* Open phone menu = full-screen panel joined to a solid header (v1.6.4) */
body.ast-main-header-nav-open .site-header .ast-primary-header-bar,
body.ast-main-header-nav-open .site-header .main-header-bar,
.site-header:has(.menu-toggle.toggled) .ast-primary-header-bar,
.site-header:has(.menu-toggle.toggled) .main-header-bar {
	background: var(--namak-burgundy-dark) !important;
	border-bottom-color: rgba(201, 162, 39, 0.25) !important;
	box-shadow: none !important;
}
html body .site-header .ast-mobile-header-content {
	min-height: calc(100vh - 72px);
	min-height: calc(100dvh - 72px);
	max-height: calc(100dvh - 72px);
	overflow-y: auto;
	box-shadow: none !important;
	padding-top: 12px;
	border-top: 1px solid rgba(201, 162, 39, 0.25);
	animation: namakMenuIn .3s ease both;
}
@keyframes namakMenuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
html body.ast-main-header-nav-open,
html:has(.site-header .menu-toggle.toggled) body { overflow: hidden; }
/* Small contact line at the bottom of the open menu */
html body .site-header .ast-mobile-header-content::after {
	content: "Indian Cuisine & Sweets";
	display: block;
	margin-top: 28px;
	text-align: center;
	font-family: var(--namak-tagline-font);
	font-size: 0.7rem;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: rgba(227, 200, 120, 0.6);
}

/* Second row of two homepage dish cards, centred under the row of three */
.wp-block-columns.namak-cards-pair {
	width: calc((100% - 4rem) * 2 / 3 + 2rem) !important;
	max-width: none !important;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2rem;
}

@media (max-width: 781px) {
	.wp-block-columns.namak-cards-pair {
		width: auto !important;
	}
}

/* Homepage: highlights strip under the hero (party hall, catering, sweets) */
.namak-highlights {
	padding: clamp(2.25rem, 4vw, 3.25rem) 1.5rem;
}
.namak-highlights .wp-block-columns {
	margin-bottom: 0;
	gap: 0;
}
.namak-highlights .wp-block-column {
	padding: 0.25rem 1.75rem;
}
.namak-highlights .namak-eyebrow {
	margin-bottom: 0.35rem;
}
.namak-highlights h3 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	text-wrap: balance;
}
.namak-highlights p {
	font-size: 1.05rem;
	line-height: 1.6;
	text-wrap: balance;
}
.namak-highlights p:last-child {
	margin-bottom: 0;
}
@media (min-width: 782px) {
	.namak-highlights .wp-block-column + .wp-block-column {
		border-left: 1px solid rgba(227, 200, 120, 0.35);
	}
}
@media (max-width: 781px) {
	.namak-highlights .wp-block-column {
		padding: 1.25rem 0;
	}
	.namak-highlights .wp-block-column + .wp-block-column {
		border-top: 1px solid rgba(227, 200, 120, 0.35);
	}
}

/* Highlights strip: gold line icons above each item */
.namak-highlight-icon {
	display: flex;
	justify-content: center;
	color: var(--namak-gold);
	margin-bottom: 0.65rem;
}
.namak-highlight-icon svg {
	width: 64px;
	height: 64px;
}

/* Highlights strip: beat Astra's default 100px/80px block padding and keep the content compact on wide screens */
.entry-content > .wp-block-group.namak-highlights {
	padding: clamp(2rem, 3.5vw, 3rem) 1.5rem;
}
.entry-content > .wp-block-group.namak-highlights > .wp-block-columns {
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
}

/* Homepage hero: trim the extra padding so the highlights strip below is visible without scrolling */
.entry-content .namak-hero.wp-block-cover {
	padding-top: 0;
	padding-bottom: 1.5rem;
}

/* Shorter laptop screens: a slightly more compact hero so the highlights strip below shows on the first screen */
@media (min-width: 782px) and (max-height: 900px) {
	.entry-content .namak-hero h1.namak-hero-title {
		font-size: clamp(3.25rem, 10vh, 6rem) !important;
		line-height: 1.1 !important;
	}
	.namak-hero .wp-block-cover__inner-container {
		padding-top: 112px;
	}
	.namak-hero .wp-block-cover__inner-container .namak-hero-tagline {
		margin: 0.6rem 0 1.4rem !important;
	}
	.namak-hero .wp-block-cover__inner-container .namak-hero-text {
		margin-bottom: 1.6rem;
		line-height: 1.7;
	}
	.entry-content .namak-hero.wp-block-cover {
		padding-bottom: 2rem;
	}
	.entry-content > .wp-block-group.namak-highlights {
		padding-top: 1.75rem;
		padding-bottom: 1.75rem;
	}
}

/* ---------- Small-screen and tablet polish ---------- */

/* Phones: keep each opening-hours time on one line and give the footer line side margins */
@media (max-width: 480px) {
	.namak-hours table,
	.wp-block-table.namak-hours table {
		table-layout: auto !important;
	}
	.namak-hours td {
		padding: 0.7rem 0.85rem !important;
		font-size: 0.95rem;
	}
	.namak-hours td:last-child {
		white-space: nowrap;
	}
	.site-footer .ast-footer-copyright,
	.site-footer .site-below-footer-inner-wrap {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.site-footer .ast-footer-copyright p {
		line-height: 1.6;
	}
}

/* Buttons that wrap to two lines: give the lines some room */
.wp-block-button__link {
	line-height: 1.35;
}

/* Tablets (600-781px): dish cards two across instead of one huge card per row; highlights strip stays three across */
@media (min-width: 600px) and (max-width: 781px) {
	.entry-content .wp-block-columns:has(> .wp-block-column > .namak-card) {
		flex-wrap: wrap !important;
		justify-content: center;
		gap: 1.5rem;
	}
	.entry-content .wp-block-columns:has(> .wp-block-column > .namak-card) > .wp-block-column {
		flex: 0 0 calc(50% - 0.75rem) !important;
		max-width: calc(50% - 0.75rem);
	}
	.wp-block-columns.namak-cards-pair {
		width: auto !important;
	}

	.namak-highlights .wp-block-columns {
		flex-wrap: nowrap !important;
	}
	.namak-highlights .wp-block-column {
		flex: 1 1 0 !important;
		padding: 0.25rem 1rem;
	}
	.namak-highlights .wp-block-column + .wp-block-column {
		border-top: 0;
		border-left: 1px solid rgba(227, 200, 120, 0.35);
	}
}
