/* =========================================================
   Babu Ka Dhaba — main stylesheet
   Brand: Forest Green #17301F · Dhaba Gold #C98A32
          Warm Cream #EFE2C8 · Soft Ivory #FAF5E8
   ========================================================= */

:root {
	--bkd-green: #17301F;
	--bkd-green-700: #1f4029;
	--bkd-gold: #C98A32;
	--bkd-gold-600: #b3781f;
	--bkd-cream: #EFE2C8;
	--bkd-ivory: #FAF5E8;
	--bkd-text: #1b2a20;
	--bkd-muted: #5f6b62;
	--bkd-border: #e2d8c2;
	--bkd-white: #ffffff;
	--bkd-radius: 10px;
	--bkd-shadow: 0 2px 10px rgba(23, 48, 31, 0.08);
	--bkd-maxw: 1200px;
	--bkd-gutter: 16px;
	--bkd-font-head: "Playfair Display", Georgia, serif;
	--bkd-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--bkd-font-body);
	color: var(--bkd-text);
	background: var(--bkd-ivory);
	line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--bkd-font-head); color: var(--bkd-green); line-height: 1.2; }
a { color: var(--bkd-green); }
img { max-width: 100%; height: auto; display: block; }

.bkd-container {
	width: 100%;
	max-width: var(--bkd-maxw);
	margin: 0 auto;
	padding-left: var(--bkd-gutter);
	padding-right: var(--bkd-gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.bkd-skip-link { position: absolute; left: -9999px; }
.bkd-skip-link:focus { left: 16px; top: 8px; background: var(--bkd-gold); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 1000; }

/* ---- Buttons ---- */
.bkd-btn {
	display: inline-block;
	padding: 11px 22px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background .18s, color .18s, border-color .18s;
}
.bkd-btn--gold { background: var(--bkd-gold); color: #fff; border-color: var(--bkd-gold); }
.bkd-btn--gold:hover { background: var(--bkd-gold-600); border-color: var(--bkd-gold-600); color: #fff; }
.bkd-btn--ghost { background: transparent; color: var(--bkd-green); border-color: var(--bkd-green); }
.bkd-btn--ghost:hover { background: var(--bkd-green); color: #fff; }

/* ---- Utility bar ---- */
.bkd-utility {
	background: var(--bkd-green);
	color: var(--bkd-cream);
	font-size: 13px;
}
.bkd-utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 16px; flex-wrap: wrap; }
.bkd-utility a { color: var(--bkd-cream); text-decoration: none; }
.bkd-utility a:hover { color: #fff; text-decoration: underline; }
.bkd-utility__left { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bkd-utility__right { color: var(--bkd-gold); font-weight: 600; }

/* ---- Header ---- */
.bkd-header { background: var(--bkd-ivory); border-bottom: 1px solid var(--bkd-border); position: sticky; top: 0; z-index: 50; }
.bkd-header__inner { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.bkd-header__brand { flex: 0 0 auto; }
.bkd-header__brand img, .custom-logo { max-height: 56px; width: auto; }
.bkd-logo-text { font-family: var(--bkd-font-head); font-weight: 800; font-size: 22px; text-decoration: none; }
.bkd-nav { flex: 1 1 auto; }
.bkd-menu { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.bkd-menu li { position: relative; }
.bkd-menu a { text-decoration: none; font-weight: 600; color: var(--bkd-green); padding: 6px 0; display: inline-block; }
.bkd-menu a:hover, .bkd-menu .current-menu-item > a { color: var(--bkd-gold); }
.bkd-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 210px;
	background: #fff; border: 1px solid var(--bkd-border); border-radius: 8px;
	box-shadow: var(--bkd-shadow); padding: 8px 0; list-style: none; margin: 0;
	display: none; z-index: 60;
}
.bkd-menu li:hover > .sub-menu, .bkd-menu li:focus-within > .sub-menu { display: block; }
.bkd-menu .sub-menu a { padding: 7px 16px; display: block; font-weight: 500; }
.bkd-menu .sub-menu a:hover { background: var(--bkd-cream); }

.bkd-header__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

/* Search */
.bkd-search { display: flex; align-items: center; background: #fff; border: 1px solid var(--bkd-border); border-radius: 30px; overflow: hidden; }
.bkd-search__input { border: 0; padding: 8px 14px; font-size: 14px; background: transparent; width: 150px; outline: none; }
.bkd-search__btn { border: 0; background: transparent; padding: 0 12px; cursor: pointer; font-size: 15px; }

/* Cart */
.bkd-cart { position: relative; text-decoration: none; background: var(--bkd-green); color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.bkd-cart__count { position: absolute; top: -4px; right: -4px; background: var(--bkd-gold); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Nav toggle (mobile) */
.bkd-nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.bkd-nav-toggle__bars, .bkd-nav-toggle__bars::before, .bkd-nav-toggle__bars::after { content: ""; position: absolute; left: 8px; width: 24px; height: 2.5px; background: var(--bkd-green); border-radius: 2px; transition: .2s; }
.bkd-nav-toggle__bars { top: 19px; }
.bkd-nav-toggle__bars::before { top: -7px; }
.bkd-nav-toggle__bars::after { top: 7px; }

/* ---- Hero ---- */
.bkd-hero { background: var(--bkd-green); color: var(--bkd-cream); }
.bkd-hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 48px 16px; }
.bkd-hero__title { color: #fff; font-size: 40px; margin: 0 0 14px; }
.bkd-hero__title::after { content: ""; display: block; width: 70px; height: 4px; background: var(--bkd-gold); margin-top: 14px; border-radius: 2px; }
.bkd-hero__sub { font-size: 17px; max-width: 46ch; margin: 0 0 24px; color: var(--bkd-cream); }
.bkd-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.bkd-hero__cta .bkd-btn--ghost { color: #fff; border-color: var(--bkd-cream); }
.bkd-hero__cta .bkd-btn--ghost:hover { background: #fff; color: var(--bkd-green); }
.bkd-hero__media { display: flex; justify-content: center; }
.bkd-hero__logo, .bkd-hero__logo-fallback { max-width: 320px; border-radius: 16px; background: var(--bkd-cream); }
.bkd-hero__logo-fallback { aspect-ratio: 1; width: 280px; display: flex; align-items: center; justify-content: center; font-family: var(--bkd-font-head); color: var(--bkd-green); font-size: 24px; text-align: center; padding: 20px; }

/* ---- Sections ---- */
.bkd-section { padding: 42px 0; }
.bkd-section__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.bkd-section__title { font-size: 28px; margin: 0; }
.bkd-section__more { color: var(--bkd-gold); text-decoration: none; font-weight: 600; font-size: 14px; }
.bkd-section__more:hover { text-decoration: underline; }
.bkd-empty { color: var(--bkd-muted); font-style: italic; }

/* Category shortcuts */
.bkd-cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.bkd-cat { text-decoration: none; text-align: center; color: var(--bkd-green); }
.bkd-cat__media { display: block; width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden; background: var(--bkd-cream); border: 2px solid var(--bkd-gold); }
.bkd-cat__media img { width: 100%; height: 100%; object-fit: cover; }
.bkd-cat__circle { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 50% 45%, var(--bkd-gold) 0 36%, var(--bkd-cream) 38%); }
.bkd-cat__name { font-weight: 600; font-size: 14px; }

/* ---- Trust strip ---- */
.bkd-trust { background: var(--bkd-cream); }
.bkd-trust__inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px; padding: 18px 16px; }
.bkd-trust__item { font-weight: 600; color: var(--bkd-green); display: flex; align-items: center; gap: 8px; }
.bkd-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bkd-gold); display: inline-block; }

/* ---- Footer ---- */
.bkd-footer { background: var(--bkd-green); color: var(--bkd-cream); margin-top: 48px; }
.bkd-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px; padding: 42px 16px; }
.bkd-footer__title { color: var(--bkd-gold); margin: 0 0 4px; font-size: 20px; }
.bkd-footer__tag { color: var(--bkd-cream); margin: 0 0 14px; font-style: italic; }
.bkd-footer__meta { margin: 4px 0; font-size: 14px; }
.bkd-footer__meta a { color: var(--bkd-cream); text-decoration: none; }
.bkd-footer__meta a:hover { color: #fff; text-decoration: underline; }
.bkd-footer__heading { color: var(--bkd-gold); font-size: 15px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .04em; }
.bkd-footer__links { list-style: none; margin: 0; padding: 0; }
.bkd-footer__links li { margin-bottom: 8px; }
.bkd-footer__links a, .bkd-footer__social a { color: var(--bkd-cream); text-decoration: none; font-size: 14px; display: block; margin-bottom: 8px; }
.bkd-footer__links a:hover, .bkd-footer__social a:hover { color: #fff; text-decoration: underline; }
.bkd-footer__bar { background: #0f2115; text-align: center; padding: 12px 16px; font-size: 13px; color: var(--bkd-cream); }

/* ---- Pages & posts ---- */
.bkd-main { min-height: 40vh; }
.bkd-page, .bkd-post { padding: 30px 0; }
.bkd-page-title { font-size: 32px; margin: 24px 0 18px; }
.bkd-page__content { max-width: 820px; }
.bkd-page__thumb { margin-bottom: 20px; }
.bkd-404 { text-align: center; padding: 60px 16px; }

/* ---- WhatsApp float ---- */
.bkd-wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 200;
	background: #25D366; color: #fff; text-decoration: none;
	border-radius: 30px; padding: 12px 16px; display: flex; align-items: center; gap: 8px;
	box-shadow: 0 6px 18px rgba(0,0,0,.2); font-weight: 600;
}
.bkd-wa-float__label { font-size: 14px; }
.bkd-wa-float:hover { background: #1fb457; }

/* ---- WooCommerce accents ---- */
.woocommerce ul.products li.product .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button.alt,
.woocommerce .single_add_to_cart_button {
	background: var(--bkd-green) !important;
	color: #fff !important;
	border-radius: 7px !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce .single_add_to_cart_button:hover { background: var(--bkd-gold) !important; }
.woocommerce span.price, .woocommerce div.product p.price, .woocommerce ul.products li.product .price { color: var(--bkd-gold) !important; font-weight: 700; }
.woocommerce .woocommerce-message, .woocommerce-info { border-top-color: var(--bkd-gold); }
.bkd-wa-product { background: #25D366 !important; margin-top: 10px; display: inline-block; }
.bkd-wa-product:hover { background: #1fb457 !important; }
.bkd-delivery-note { background: var(--bkd-cream); border-radius: 8px; padding: 10px 14px; font-size: 14px; color: var(--bkd-green); margin-top: 14px; }
.bkd-shop { padding: 24px 0; }
.bkd-specials__grid.products { margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.bkd-hero__inner { grid-template-columns: 1fr; text-align: center; }
	.bkd-hero__title { font-size: 32px; }
	.bkd-hero__title::after { margin-left: auto; margin-right: auto; }
	.bkd-hero__cta { justify-content: center; }
	.bkd-hero__sub { margin-left: auto; margin-right: auto; }
	.bkd-cat-grid { grid-template-columns: repeat(4, 1fr); }
	.bkd-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	.bkd-nav-toggle { display: block; order: 3; }
	.bkd-nav { order: 5; flex-basis: 100%; display: none; }
	.bkd-nav.is-open { display: block; }
	.bkd-menu { flex-direction: column; gap: 0; }
	.bkd-menu li { border-bottom: 1px solid var(--bkd-border); }
	.bkd-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding-left: 14px; }
	.bkd-header__inner { flex-wrap: wrap; }
	.bkd-header__actions { order: 2; margin-left: auto; }
	.bkd-search__input { width: 110px; }
	.bkd-wa-float__label { display: none; }
}

@media (max-width: 560px) {
	.bkd-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.bkd-footer__grid { grid-template-columns: 1fr; }
	.bkd-hero__title { font-size: 27px; }
	.bkd-utility__right { display: none; }
}
