:root {
	--green-900: #123f2a;
	--green-700: #167345;
	--green-600: #1f8a50;
	--green-100: #e8f4ec;
	--orange-600: #ef6c28;
	--orange-100: #fff0e7;
	--ink: #19211d;
	--muted: #66736c;
	--line: #dce5df;
	--surface: #ffffff;
	--page: #f5f7f5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; letter-spacing: 0; }
img { display: block; max-width: 100%; }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(12px);
}
.header-inner,
.catalog-inner,
.footer-inner {
	width: min(1240px, calc(100% - 40px));
	margin: 0 auto;
}
.header-inner {
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 152px; height: 54px; object-fit: contain; object-position: left center; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.download-app-prompt {
	display: inline-flex;
	align-items: center;
	color: var(--green-900);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	white-space: nowrap;
}
.download-app-prompt strong {
	color: var(--orange-600);
	border-bottom: 2px solid var(--orange-600);
	padding-bottom: 2px;
}
.app-download-links { display: flex; align-items: center; gap: 8px; }
.app-download-link {
	min-height: 38px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border: 1px solid #c9d6ce;
	border-radius: 6px;
	background: #fff;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
	transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.app-download-link i { font-size: 18px; }
.app-download-android { color: #287a3f; }
.app-download-ios { color: #1d2521; }
.app-download-link:hover { border-color: #94ac9d; background: #f1f7f3; transform: translateY(-1px); }

.hero {
	width: 100%;
	background: #dfe9e1;
	border-bottom: 1px solid var(--line);
}
.banner-carousel { position: relative; width: 100%; overflow: hidden; }
.banner-track { position: relative; width: 100%; aspect-ratio: 1115 / 445; max-height: 500px; min-height: 250px; }
.banner-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 360ms ease; }
.banner-slide.is-active { opacity: 1; pointer-events: auto; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.carousel-control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(18, 63, 42, 0.88);
	color: #fff;
	cursor: pointer;
}
.carousel-control:hover { background: var(--green-900); }
.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }
.carousel-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; }
.carousel-dot { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(255, 255, 255, 0.45); cursor: pointer; }
.carousel-dot.is-active { background: var(--orange-600); border-color: var(--orange-600); }
.hero-fallback {
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	width: min(1240px, calc(100% - 40px));
	margin: 0 auto;
	padding: 48px 0;
}
.hero-fallback h1 { margin: 4px 0 10px; font-size: clamp(42px, 7vw, 78px); line-height: 1; color: var(--green-900); }
.hero-fallback p { color: var(--muted); }
.hero-fallback img { width: min(420px, 44vw); }
.hero-kicker,
.section-kicker { margin: 0; color: var(--orange-600) !important; font-size: 13px; font-weight: 900; text-transform: uppercase; }

.catalog { padding: 52px 0 72px; }
.catalog-toolbar {
	position: sticky;
	top: 72px;
	z-index: 25;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 34px;
	padding: 10px 0;
	background: var(--page);
	box-shadow: 0 5px 8px -8px rgba(18, 63, 42, 0.45);
}
.product-search {
	flex: 0 0 330px;
	width: min(330px, 100%);
	height: 46px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
	color: var(--muted);
}
.product-search:focus-within { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(31, 138, 80, 0.12); }
.product-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.category-nav {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 2px 0;
	overflow-x: auto;
	scrollbar-width: thin;
}
.category-nav button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid #c8d8ce;
	border-radius: 6px;
	background: var(--surface);
	color: var(--green-900);
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
}
.category-nav button:hover { border-color: var(--green-600); background: var(--green-100); }
.category-nav button.is-active { border-color: var(--green-700); background: var(--green-700); color: #fff; }
.category-list { display: flex; flex-direction: column; gap: 46px; }
.category-list { scroll-margin-top: 145px; }
.category-section { scroll-margin-top: 145px; }
.category-section[hidden] { display: none; }
.category-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--green-700);
}
.category-heading h3 { margin: 0; color: var(--green-900); font-size: 22px; }
.category-heading span { color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.product-card {
	min-width: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.product-card:hover { border-color: #b9cec0; box-shadow: 0 12px 28px rgba(18, 63, 42, 0.10); transform: translateY(-2px); }
.product-card[hidden] { display: none; }
.product-image-wrap { aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid #edf1ee; overflow: hidden; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 9px; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 12px; }
.product-card h4 { margin: 0; font-size: 15px; line-height: 1.35; min-height: 41px; overflow-wrap: anywhere; }
.product-name-hindi { display: block; margin-top: 2px; color: #52685b; font-size: 13px; font-weight: 600; }
.product-description { margin: 7px 0 9px; color: var(--muted); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.description-toggle {
	margin: 0 0 0 4px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--green-700);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}
.description-toggle:hover,
.description-toggle:focus-visible { color: var(--orange-600); text-decoration: underline; }
.product-variation-options {
	display: flex;
	gap: 5px;
	margin-top: 8px;
	padding-bottom: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}
.product-variation-options::-webkit-scrollbar { display: none; }
.product-variation-option {
	min-height: 28px;
	padding: 0 8px;
	border: 1px solid #d8e1db;
	border-radius: 4px;
	background: #fff;
	color: var(--green-900);
	font-size: 10px;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
}
.product-variation-option:hover { border-color: var(--green-600); background: var(--green-100); }
.product-variation-option.is-active { border-color: var(--green-700); background: var(--green-700); color: #fff; }
.product-unit { display: inline-flex; align-self: flex-end; margin: 0; padding: 4px 7px; border-radius: 4px; background: var(--orange-100); color: #93441b; font-size: 11px; font-weight: 800; }
.product-footer { min-height: 35px; margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.product-price { margin-left: auto; display: flex; align-items: flex-end; flex-direction: column; gap: 2px; min-width: 0; text-align: right; }
.product-price strong { color: var(--green-900); font-size: 17px; white-space: nowrap; }
.product-price del { color: #8b948f; font-size: 12px; }
.empty-catalog,
.empty-search { padding: 48px 20px; text-align: center; border: 1px dashed #b9c8be; color: var(--muted); background: var(--surface); border-radius: 8px; }
.category-empty {
	grid-column: 1 / -1;
	padding: 32px 20px;
	text-align: center;
	border: 1px dashed #b9c8be;
	border-radius: 8px;
	background: var(--surface);
	color: var(--muted);
}

body.has-category-alert { overflow: hidden; }
.category-alert-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.category-alert-modal[hidden] { display: none; }
.category-alert-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 31, 21, 0.68);
}
.category-alert-dialog {
	position: relative;
	z-index: 1;
	width: min(470px, 100%);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 30px 30px 24px;
	border: 1px solid #c9d9cf;
	border-top: 5px solid var(--orange-600);
	border-radius: 8px;
	background: var(--surface);
	box-shadow: 0 24px 60px rgba(10, 32, 19, 0.32);
	text-align: center;
}
.category-alert-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}
.category-alert-close:hover,
.category-alert-close:focus-visible { background: var(--green-100); color: var(--green-900); }
.category-alert-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--orange-100);
	color: var(--orange-600);
	font-size: 22px;
}
.category-alert-dialog h2 {
	margin: 0 32px 12px;
	color: var(--green-900);
	font-size: 22px;
	line-height: 1.3;
}
.category-alert-dialog p {
	margin: 0;
	color: #4c5d53;
	font-size: 15px;
	line-height: 1.65;
	white-space: pre-line;
}
.category-alert-confirm {
	min-width: 112px;
	min-height: 40px;
	margin-top: 22px;
	padding: 0 24px;
	border: 0;
	border-radius: 6px;
	background: var(--green-700);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}
.category-alert-confirm:hover,
.category-alert-confirm:focus-visible { background: var(--green-900); }

.floating-contact {
	position: fixed;
	bottom: max(20px, env(safe-area-inset-bottom));
	z-index: 50;
	width: 54px;
	height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
	border-radius: 50%;
	color: #fff;
	font-size: 23px;
	box-shadow: 0 8px 24px rgba(20, 40, 29, 0.24);
	transition: transform 160ms ease, box-shadow 160ms ease;
}
.floating-contact:hover,
.floating-contact:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 40, 29, 0.3); }
.floating-call { left: max(20px, env(safe-area-inset-left)); background: var(--orange-600); }
.floating-whatsapp { right: max(20px, env(safe-area-inset-right)); background: #168744; }

.site-footer { background: var(--green-900); color: #fff; }
.footer-inner { min-height: 128px; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-brand { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 4px; background: #fff; }
.footer-logo { width: 150px; height: 58px; object-fit: contain; object-position: left center; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 24px; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: #ffb48f; }

@media (max-width: 1100px) {
	.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.banner-track { min-height: 230px; }
}

@media (max-width: 820px) {
	.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
	.header-inner,
	.catalog-inner,
	.footer-inner { width: min(100% - 28px, 1240px); }
	.header-inner { height: 76px; gap: 8px; }
	.brand { flex: 0 0 auto; }
	.brand-logo { width: 104px; height: 42px; }
	.header-actions { width: calc(100% - 112px); min-width: 0; margin-left: auto; flex-direction: column; align-items: flex-end; gap: 4px; }
	.download-app-prompt { width: 100%; justify-content: flex-end; font-size: 11px; line-height: 1.2; text-align: right; white-space: normal; }
	.download-app-prompt > span { max-width: 100%; }
	.download-app-prompt strong { border-bottom-width: 1px; padding-bottom: 1px; }
	.desktop-only { display: none; }
	.app-download-links { gap: 6px; }
	.app-download-link { width: 38px; min-height: 38px; padding: 0; }
	.app-download-link span { display: none; }
	.banner-track { aspect-ratio: 16 / 8; min-height: 0; }
	.carousel-control { width: 36px; height: 36px; }
	.carousel-prev { left: 10px; }
	.carousel-next { right: 10px; }
	.carousel-dots { bottom: 10px; }
	.catalog { padding: 36px 0 54px; }
	.catalog-toolbar { top: 76px; align-items: stretch; flex-direction: column-reverse; gap: 8px; margin-bottom: 28px; }
	.product-search { flex: 0 0 auto; width: 100%; }
	.category-nav { flex: 0 0 auto; width: 100%; }
	.category-list { gap: 38px; }
	.category-heading { margin-bottom: 12px; }
	.category-heading h3 { font-size: 19px; }
	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.product-body { padding: 10px; }
	.product-card h4 { font-size: 14px; min-height: 38px; }
	.product-variation-options { gap: 3px; }
	.product-variation-option { min-height: 26px; padding: 0 5px; font-size: 9px; }
	.product-footer { gap: 7px; }
	.product-price { gap: 1px; }
	.category-alert-modal { padding: 14px; }
	.category-alert-dialog { max-height: calc(100vh - 28px); padding: 26px 20px 20px; }
	.category-alert-dialog h2 { margin: 0 32px 10px; font-size: 19px; }
	.category-alert-dialog p { font-size: 14px; line-height: 1.55; }
	.floating-contact { bottom: max(14px, env(safe-area-inset-bottom)); width: 48px; height: 48px; font-size: 21px; }
	.floating-call { left: max(14px, env(safe-area-inset-left)); }
	.floating-whatsapp { right: max(14px, env(safe-area-inset-right)); }
	.footer-inner { min-height: 116px; padding: 22px 0; align-items: center; gap: 12px; }
	.footer-logo { width: 100px; height: 42px; }
	.footer-contact { align-items: flex-end; justify-content: flex-end; flex-direction: column; gap: 8px; font-size: 13px; text-align: right; }
	.footer-contact a { overflow-wrap: anywhere; }
}

@media (max-width: 380px) {
	.header-inner,
	.catalog-inner,
	.footer-inner { width: min(100% - 20px, 1240px); }
	.brand-logo { width: 96px; }
	.footer-logo { width: 88px; }
	.footer-contact { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
