/* ==========================================================================
   HaridwarMart Fresh — main stylesheet (mobile-first, no framework)
   1. Tokens          5. Hero & home sections   9. Cart drawer
   2. Base            6. Product card / grid   10. Pages (about, contact, 404)
   3. Layout & utils  7. Price list            11. Footer
   4. Header / nav    8. Product page          12. Motion & print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	/* Brand greens — primary actions, headings accents */
	--g-900: #143823;
	--g-800: #1a4a2e;
	--g-700: #1f5f3a;   /* primary */
	--g-600: #2a7a4b;
	--g-200: #cfe3d3;
	--g-100: #e5f0e6;
	--g-50:  #f1f6ef;

	/* Neutrals — warm, like kraft paper & cotton */
	--paper: #faf8f2;   /* page background (off-white) */
	--white: #ffffff;
	--ink:   #1b231d;   /* body text  (15.6:1 on paper) */
	--ink-2: #4b564e;   /* secondary  (7.2:1) */
	--ink-3: #6b746d;   /* muted      (4.7:1) */
	--line:  #e6e3d8;
	--line-2:#d8d4c6;

	/* Natural accents — used sparingly */
	--turmeric: #e7a91d;
	--turmeric-50: #fdf3dc;
	--tomato: #b93a25;
	--tomato-50: #fbeae6;

	/* WhatsApp action (dark text keeps contrast on the bright green) */
	--wa: #25d366;
	--wa-hover: #1ebe5b;
	--wa-ink: #0b2b16;

	--font: "Mukta", "Nirmala UI", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--r-sm: 10px;
	--r: 14px;
	--r-lg: 22px;
	--shadow-1: 0 1px 2px rgba(20, 40, 25, .06), 0 1px 1px rgba(20, 40, 25, .04);
	--shadow-2: 0 10px 30px -12px rgba(20, 40, 25, .25);
	--wrap: 1180px;
	--gutter: 16px;
	--header-h: 64px;
	--tap: 44px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 72px); }
html.hm-lock { overflow: hidden; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.55;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.hm-has-cartbar { padding-bottom: 84px; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5.5vw, 2.8rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--g-700); text-underline-offset: .18em; }
a:hover { color: var(--g-900); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; border-radius: 6px; }
[lang="hi"] { font-family: var(--font); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hm-skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--g-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.hm-skip:focus { top: 12px; color: #fff; }

/* 3. Layout & utilities ---------------------------------------------------- */
.hm-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.hm-main { display: block; min-height: 50vh; }
.hm-section { padding-block: 40px; }
.hm-section--tint { background: var(--g-50); }
.hm-section__title { margin-bottom: 20px; }
.hm-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.hm-section__head h2 { margin: 0; }
.hm-section__head p { margin: 2px 0 0; }
.hm-muted { color: var(--ink-3); }
.hm-small { font-size: .9rem; }
.hm-lead { font-size: 1.2rem; color: var(--ink-2); }
.hm-eyebrow {
	display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px;
	font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--g-600);
}
.hm-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.hm-link:hover { text-decoration: underline; }
.hm-link .hm-icon { transition: transform .15s; }
.hm-link:hover .hm-icon { transform: translateX(3px); }
.hm-label { font-weight: 600; font-size: .95rem; }
.hm-note {
	background: var(--g-50); border: 1px solid var(--g-200); color: var(--g-900);
	border-radius: var(--r-sm); padding: 10px 14px; font-size: .95rem; margin: 0 0 16px;
}
.hm-note p { margin: 0; }
.hm-note p + p { margin-top: 4px; }
.hm-note--warn { background: var(--turmeric-50); border-color: #f1d690; color: #5a3f00; }
.hm-note ul { margin: 0; padding-left: 18px; }
.hm-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hm-tags li { background: var(--white); border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; font-size: .95rem; }

/* Buttons */
.hm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: var(--tap); padding: 8px 18px; border-radius: 999px;
	border: 1.5px solid transparent; background: var(--g-700); color: #fff;
	font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.hm-btn:hover { background: var(--g-800); color: #fff; }
.hm-btn:active { transform: translateY(1px); }
.hm-btn[disabled] { opacity: .5; cursor: not-allowed; }
.hm-btn--primary { background: var(--g-700); }
.hm-btn--wa { background: var(--wa); color: var(--wa-ink); }
.hm-btn--wa:hover { background: var(--wa-hover); color: var(--wa-ink); }
.hm-btn--ghost { background: var(--white); color: var(--g-800); border-color: var(--line-2); }
.hm-btn--ghost:hover { background: var(--g-50); color: var(--g-900); border-color: var(--g-600); }
.hm-btn--sm { min-height: 38px; padding: 6px 14px; font-size: .95rem; }
.hm-btn--lg { min-height: 52px; padding: 12px 24px; font-size: 1.075rem; }
.hm-btn--block { width: 100%; }
.hm-btn--add { min-width: 76px; padding-inline: 16px; }
.hm-btn--add.is-added { background: var(--g-900); }

.hm-iconbtn {
	display: inline-grid; place-items: center; width: var(--tap); height: var(--tap);
	border: 0; background: transparent; border-radius: 12px; color: var(--ink);
}
.hm-iconbtn:hover { background: var(--g-50); }
.hm-iconbtn--add { background: var(--g-700); color: #fff; border-radius: 12px; width: 40px; height: 40px; }
.hm-iconbtn--add:hover { background: var(--g-900); }
.hm-linkbtn { background: none; border: 0; padding: 6px 2px; color: var(--g-700); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; min-height: 36px; }
.hm-linkbtn--danger { color: var(--tomato); }
.hm-linkbtn.is-confirm { color: #fff; background: var(--tomato); text-decoration: none; padding-inline: 10px; border-radius: 8px; }

/* Search field */
.hm-search { position: relative; display: flex; align-items: center; }
.hm-search .hm-icon { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; }
.hm-search input {
	width: 100%; min-height: var(--tap); padding: 8px 14px 8px 42px;
	border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white);
	-webkit-appearance: none; appearance: none;
}
.hm-search input:focus { outline: none; border-color: var(--g-600); box-shadow: 0 0 0 3px var(--g-100); }
.hm-search--big input { min-height: 52px; font-size: 1.05rem; }

/* Chips */
.hm-chips { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.hm-chips::-webkit-scrollbar { display: none; }
.hm-chips--page { margin: 0 0 20px; }
.hm-chip {
	flex: none; min-height: 40px; padding: 6px 16px; border-radius: 999px;
	border: 1.5px solid var(--line-2); background: var(--white); font-weight: 600; color: var(--ink-2);
}
.hm-chip:hover { border-color: var(--g-600); color: var(--g-800); }
.hm-chip[aria-pressed="true"] { background: var(--g-700); border-color: var(--g-700); color: #fff; }

/* Quantity stepper */
.hm-stepper {
	display: inline-flex; align-items: center; border: 1.5px solid var(--line-2);
	border-radius: 999px; background: var(--white); height: var(--tap); flex: none;
}
.hm-stepper__btn {
	display: grid; place-items: center; width: var(--tap); height: 100%;
	border: 0; background: transparent; border-radius: 999px; color: var(--g-800);
}
.hm-stepper__btn:hover:not([disabled]) { background: var(--g-50); }
.hm-stepper__btn[disabled] { opacity: .35; cursor: not-allowed; }
.hm-stepper__input {
	width: 2.4em; height: 100%; border: 0; background: transparent; text-align: center; font-weight: 700;
	-moz-appearance: textfield; appearance: textfield; padding: 0;
}
.hm-stepper__input::-webkit-outer-spin-button,
.hm-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hm-stepper__input:focus { outline: none; }
.hm-stepper:focus-within { border-color: var(--g-600); box-shadow: 0 0 0 3px var(--g-100); }
.hm-stepper--sm { height: 40px; }
.hm-stepper--sm .hm-stepper__btn { width: 40px; }
.hm-stepper__val { min-width: 4.5em; text-align: center; font-weight: 700; font-size: .95rem; white-space: nowrap; }

/* Price */
.hm-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 2px; }
.hm-price__now { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.hm-price__unit { color: var(--ink-3); font-size: .95rem; white-space: nowrap; }
.hm-price__old { color: var(--ink-3); font-size: .9rem; margin-right: 4px; }
.hm-unavailable {
	display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 999px;
	background: var(--tomato-50); color: var(--tomato); font-weight: 600; font-size: .9rem;
}
.hm-incart { margin: 6px 0 0; font-size: .9rem; font-weight: 600; color: var(--g-600); }
.hm-incart::before { content: "✓ "; }

/* Media / placeholders */
.hm-media { position: relative; display: block; overflow: hidden; background: var(--g-50); }
.hm-media img { width: 100%; height: 100%; object-fit: cover; }
.hm-media__ph {
	display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 1;
	font-weight: 700; color: var(--g-800); text-align: center; line-height: 1.1;
}
.hm-media__ph span { font-size: clamp(1rem, 22cqw, 2.4rem); padding: 8px; }
.hm-tint-leaf { background: radial-gradient(circle at 30% 25%, #eef6e9, #d8ead6); color: #1f5f3a; }
.hm-tint-sun  { background: radial-gradient(circle at 30% 25%, #fff6dc, #f6e3ac); color: #7a5300; }
.hm-tint-clay { background: radial-gradient(circle at 30% 25%, #fcece6, #f1cfc2); color: #8d2f1c; }
.hm-tint-sky  { background: radial-gradient(circle at 30% 25%, #eaf4ef, #cfe6dc); color: #1c5845; }
.hm-tint-plum { background: radial-gradient(circle at 30% 25%, #f3ecf5, #e0d0e6); color: #5a2e6e; }
.hm-badge {
	position: absolute; top: 10px; left: 10px; padding: 2px 10px; border-radius: 999px;
	background: var(--turmeric); color: #3b2900; font-size: .8rem; font-weight: 700;
}
.hm-badge--off { background: var(--white); color: var(--tomato); border: 1px solid #efc6bd; }

/* Breadcrumbs */
.hm-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 12px; padding: 0; font-size: .9rem; color: var(--ink-3); }
.hm-crumbs li + li::before { content: "›"; margin-right: 4px; color: var(--line-2); }
.hm-crumbs a { color: var(--ink-2); text-decoration: none; }
.hm-crumbs a:hover { text-decoration: underline; }

/* Forms (cart details) */
.hm-field { margin-bottom: 10px; }
.hm-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.hm-field input, .hm-field textarea {
	width: 100%; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); min-height: var(--tap);
}
.hm-field input:focus, .hm-field textarea:focus { outline: none; border-color: var(--g-600); box-shadow: 0 0 0 3px var(--g-100); }

/* 4. Header / nav ---------------------------------------------------------- */
.hm-topbar { background: var(--g-900); color: #dfeee2; font-size: .88rem; }
.hm-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.hm-topbar p { margin: 0; display: flex; align-items: center; gap: 6px; }
.hm-topbar a { color: #fff; }
.hm-topbar .hm-icon { color: var(--turmeric); flex: none; }
.hm-topbar__wa { display: none; align-items: center; gap: 6px; text-decoration: none; }
.hm-topbar__wa .hm-icon { color: var(--wa); }

.hm-header {
	position: sticky; top: 0; z-index: 40;
	background: rgba(250, 248, 242, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .hm-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .hm-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .hm-header { top: 0; } }
.hm-header__inner { display: flex; align-items: center; gap: 8px; min-height: var(--header-h); }
.hm-header__menu { margin-left: -8px; }
.hm-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin-right: auto; }
.hm-logo__mark { color: var(--g-700); display: inline-flex; }
.hm-logo__text { font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em; }
.hm-logo__text b { color: var(--g-700); font-weight: 700; }
.hm-logo__img { max-height: 44px; width: auto; }
.hm-header__actions { display: flex; align-items: center; gap: 4px; }
.hm-header__wa { display: none; }
.hm-search--header { display: none; }

.hm-cartbtn {
	position: relative; display: inline-grid; place-items: center; width: var(--tap); height: var(--tap);
	border-radius: 12px; border: 0; background: var(--g-700); color: #fff;
}
.hm-cartbtn:hover { background: var(--g-900); }
.hm-cartbtn__count {
	position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px;
	display: grid; place-items: center; border-radius: 99px; border: 2px solid var(--paper);
	background: var(--turmeric); color: #2d1f00; font-size: .78rem; font-weight: 700; line-height: 1;
}

/* Mobile nav drawer (drops below header) */
.hm-nav {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
	display: none;
}
.hm-nav.is-open { display: block; }
.hm-menu { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.hm-menu a {
	display: flex; align-items: center; min-height: 48px; padding: 0 4px;
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line);
}
.hm-menu .current-menu-item > a, .hm-menu a[aria-current="page"] { color: var(--g-700); }
.hm-menu .sub-menu { list-style: none; padding-left: 16px; margin: 0; }

.hm-searchpanel { display: none; padding: 0 0 12px; }
.hm-searchpanel.is-open { display: block; }

@media (min-width: 600px) {
	.hm-topbar__wa { display: inline-flex; }
	.hm-header__wa { display: inline-flex; }
}

@media (min-width: 1000px) {
	:root { --header-h: 76px; }
	.hm-header__menu { display: none; }
	.hm-header__inner { gap: 24px; }
	.hm-logo { margin-right: 0; }
	.hm-nav { position: static; display: block; background: none; border: 0; box-shadow: none; }
	.hm-menu { display: flex; gap: 4px; padding: 0; }
	.hm-menu > li { position: relative; }
	.hm-menu a { min-height: 40px; padding: 0 12px; border: 0; border-radius: 99px; font-size: 1rem; color: var(--ink-2); }
	.hm-menu a:hover { background: var(--g-50); color: var(--g-900); }
	.hm-menu .current-menu-item > a, .hm-menu a[aria-current="page"] { background: var(--g-100); color: var(--g-900); }
	.hm-menu .sub-menu {
		display: none; position: absolute; top: 100%; left: 0; min-width: 200px; padding: 8px;
		background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2);
	}
	.hm-menu li:hover > .sub-menu, .hm-menu li:focus-within > .sub-menu { display: block; }
	.hm-header__actions { margin-left: auto; }
}
@media (min-width: 99999px) { /* Header search box: icon + panel is used at all widths (menu needs the room). */
	.hm-header__searchbtn, .hm-searchpanel, .hm-searchpanel.is-open { display: none; }
	.hm-search--header { display: flex; flex: 1; max-width: 300px; margin-left: auto; }
	.hm-header__actions { margin-left: 0; }
}

/* 5. Hero & home ----------------------------------------------------------- */
.hm-hero { padding: 28px 0 8px; overflow: hidden; }
.hm-hero__grid { display: grid; gap: 24px; align-items: center; }
.hm-hero__title { font-size: clamp(2.1rem, 8vw, 3.6rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 14px; max-width: 14ch; }
.hm-hero__lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); color: var(--ink-2); max-width: 36ch; }
.hm-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.hm-hero__cta .hm-btn { flex: 1 1 220px; }
.hm-hero__points { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: .98rem; }
.hm-hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.hm-hero__points .hm-icon { color: var(--g-600); }
.hm-hero__visual { position: relative; }
.hm-hero__art { display: block; width: 100%; max-width: 560px; margin-inline: auto; }
.hm-hero__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.hm-ticket {
	position: absolute; right: 4px; bottom: 6px; width: min(230px, 62%);
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2);
	padding: 12px 14px; font-size: .95rem;
}
.hm-ticket__head { display: flex; justify-content: space-between; margin: 0 0 6px; font-weight: 700; color: var(--g-800); }
.hm-ticket__head time { font-weight: 500; color: var(--ink-3); font-size: .85rem; }
.hm-ticket ul { list-style: none; margin: 0; padding: 0; }
.hm-ticket li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-top: 1px dashed var(--line); }
.hm-ticket small { font-weight: 400; color: var(--ink-3); }

@media (min-width: 900px) {
	.hm-hero { padding: 48px 0 24px; }
	.hm-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
	.hm-hero__cta .hm-btn { flex: 0 0 auto; }
	.hm-ticket { right: 0; bottom: 24px; }
}

/* Today's price chips (horizontal scroll on mobile) */
.hm-today { padding-top: 24px; }
.hm-pricechips {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 72%);
	gap: 12px; list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.hm-pricechip {
	scroll-snap-align: start; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
	align-items: center; gap: 2px 10px; padding: 14px 14px 14px 16px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1);
}
.hm-pricechip__name { font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.2; }
.hm-pricechip__name span { display: block; font-weight: 500; color: var(--ink-3); font-size: .9rem; }
.hm-pricechip__price { grid-row: 2; font-weight: 700; font-size: 1.15rem; }
.hm-pricechip__price small { font-weight: 400; color: var(--ink-3); font-size: .9rem; }
.hm-pricechip .hm-iconbtn--add { grid-row: 1 / span 2; grid-column: 2; }
@media (min-width: 700px) {
	.hm-pricechips { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin: 0; padding: 0; overflow: visible; }
}

/* Category tiles */
.hm-cats { display: grid; gap: 14px; }
.hm-cat {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	min-height: 128px; padding: 20px; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); overflow: hidden;
	border: 1px solid var(--line); transition: transform .15s, box-shadow .15s;
}
.hm-cat:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); color: var(--ink); }
.hm-cat--a { background: linear-gradient(135deg, #e9f3e5, #d6ead3); }
.hm-cat--b { background: linear-gradient(135deg, #fff5dd, #fbe6b8); }
.hm-cat__name { display: block; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.hm-cat__count { color: var(--ink-2); }
.hm-cat__thumbs { display: flex; margin-left: auto; }
.hm-cat__thumbs .hm-media {
	width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--white); margin-left: -16px; box-shadow: var(--shadow-1);
}
.hm-cat__thumbs .hm-media__ph span { font-size: .8rem; }
.hm-cat__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--g-700); flex: none; }
@media (min-width: 700px) { .hm-cats { grid-template-columns: repeat(2, 1fr); } }

/* How it works */
.hm-steps { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.hm-steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.hm-steps h3 { margin: 12px 0 6px; }
.hm-steps p { margin: 0; color: var(--ink-2); }
.hm-steps__n {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
	background: var(--g-700); color: #fff; font-weight: 700; font-size: 1.2rem;
}
@media (min-width: 800px) { .hm-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Why */
.hm-why { display: grid; gap: 24px; }
.hm-why__intro p { color: var(--ink-2); font-size: 1.1rem; max-width: 42ch; }
.hm-why__list { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.hm-why__list li { display: flex; gap: 14px; align-items: flex-start; }
.hm-why__list h3 { margin: 2px 0 4px; }
.hm-why__list p { margin: 0; color: var(--ink-2); }
.hm-why__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--g-100); color: var(--g-700); }
@media (min-width: 900px) {
	.hm-why { grid-template-columns: 1fr 1.6fr; gap: 48px; }
	.hm-why__list { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* WhatsApp band */
.hm-waband {
	display: grid; gap: 18px; align-items: center; padding: 28px 24px; border-radius: var(--r-lg);
	background: var(--g-800) radial-gradient(circle at 100% 0, rgba(37, 211, 102, .25), transparent 55%);
	color: #eaf4ec;
}
.hm-waband h2 { color: #fff; }
.hm-waband p { margin: 0; color: #cfe3d3; }
@media (min-width: 800px) { .hm-waband { grid-template-columns: 1fr auto; padding: 36px 40px; } }

/* Delivery */
.hm-delivery { display: grid; gap: 20px; }
.hm-facts { display: grid; gap: 12px; margin: 0; }
.hm-facts > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.hm-facts dt { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--g-800); }
.hm-facts dd { margin: 2px 0 0 28px; color: var(--ink-2); }
.hm-facts--stack > div { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; }
@media (min-width: 800px) {
	.hm-delivery { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
	.hm-delivery .hm-facts { grid-template-columns: 1fr 1fr; }
}

/* 6. Product card / grid --------------------------------------------------- */
.hm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .hm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .hm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.hm-grid--page { padding-bottom: 40px; }
.hm-grid__cell { display: flex; }
.hm-grid__cell > .hm-card { flex: 1; }

.hm-card {
	display: flex; flex-direction: column; background: var(--white);
	border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
	transition: box-shadow .15s, border-color .15s;
}
.hm-card:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); }
.hm-card__media { aspect-ratio: 1; container-type: inline-size; }
.hm-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px; }
.hm-card__title { font-size: 1.05rem; margin: 0; line-height: 1.25; }
.hm-card__title a { color: var(--ink); text-decoration: none; }
.hm-card__title a:hover { color: var(--g-700); }
.hm-card__hi { margin: 0; color: var(--ink-3); font-size: .92rem; }
.hm-card__price { margin: 6px 0 10px; }
.hm-card__buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; align-items: center; }
.hm-card__buy .hm-stepper { flex: 1 1 auto; justify-content: space-between; }
.hm-card__buy .hm-btn--add { flex: 1 1 auto; }
.hm-card.is-off .hm-card__media img, .hm-card.is-off .hm-media__ph { filter: grayscale(.8); opacity: .7; }
@media (max-width: 420px) {
	.hm-card__body { padding: 10px; }
	.hm-card__buy .hm-stepper, .hm-card__buy .hm-btn--add { flex-basis: 100%; }
}

/* 7. Price list ------------------------------------------------------------ */
.hm-pagehead { padding: 20px 0 8px; }
.hm-pagehead--prices { background: linear-gradient(180deg, var(--g-50), var(--paper)); padding-bottom: 16px; }
.hm-pagehead h1 { margin-bottom: 6px; }
.hm-pagehead__lead { color: var(--ink-2); max-width: 60ch; margin-bottom: 0; }
.hm-pagehead__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.hm-pagehead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hm-updated {
	display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 14px; border-radius: 999px;
	background: var(--white); border: 1px solid var(--g-200); color: var(--g-800); font-weight: 600; font-size: .95rem;
}

.hm-toolbar {
	position: sticky; top: var(--header-h); z-index: 30;
	background: rgba(250, 248, 242, .96); border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	padding: 10px 0;
}
.admin-bar .hm-toolbar { top: calc(var(--header-h) + 46px); }
@media (min-width: 783px) { .admin-bar .hm-toolbar { top: calc(var(--header-h) + 32px); } }
@media (max-width: 600px) { .admin-bar .hm-toolbar { top: var(--header-h); } }
.hm-toolbar__inner { display: grid; gap: 10px; }
@media (min-width: 800px) { .hm-toolbar__inner { grid-template-columns: minmax(280px, 420px) 1fr; align-items: center; } }

.hm-pricelist { padding-top: 16px; padding-bottom: 40px; }
.hm-group { margin-bottom: 24px; }
.hm-group__title { display: flex; align-items: baseline; gap: 8px; font-size: 1.3rem; margin: 8px 0 10px; }
.hm-group__title .hm-muted { font-size: .95rem; font-weight: 500; }
.hm-rows { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }

.hm-row {
	display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "media name price" "media buy buy";
	align-items: center; gap: 6px 12px; padding: 12px;
}
.hm-row + .hm-row { border-top: 1px solid var(--line); }
.hm-row__media { grid-area: media; align-self: start; width: 56px; height: 56px; border-radius: 12px; container-type: inline-size; }
.hm-row__media .hm-media__ph span { font-size: .8rem; }
.hm-row__name { grid-area: name; min-width: 0; line-height: 1.25; }
.hm-row__name a { color: var(--ink); font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.hm-row__name a:hover { color: var(--g-700); text-decoration: underline; }
.hm-row__hi { display: block; color: var(--ink-3); font-size: .92rem; }
.hm-row__name .hm-incart { margin: 2px 0 0; font-size: .85rem; }
.hm-row__price { grid-area: price; text-align: right; }
.hm-row__price .hm-price { justify-content: flex-end; }
.hm-row__buy { grid-area: buy; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.hm-row.is-off .hm-row__name a, .hm-row.is-off .hm-price { color: var(--ink-3); }
.hm-row.is-off .hm-row__media { filter: grayscale(1); opacity: .6; }
@media (min-width: 760px) {
	.hm-row {
		grid-template-columns: 56px minmax(0, 1fr) 150px auto; grid-template-areas: "media name price buy";
		padding: 10px 16px;
	}
	.hm-row__buy { min-width: 250px; }
	.hm-row__media { align-self: center; }
}
.hm-pricelist__foot { margin-top: 20px; }

/* Empty states */
.hm-empty { text-align: center; padding: 40px 16px; }
.hm-empty__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--g-100); color: var(--g-700); margin-bottom: 12px; }
.hm-empty__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.hm-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }

/* 8. Product page ---------------------------------------------------------- */
.hm-product { display: grid; gap: 20px; padding: 4px 0 24px; }
.hm-product__media { border-radius: var(--r-lg); aspect-ratio: 1; container-type: inline-size; }
.hm-product__media .hm-media__ph span { font-size: 18cqw; }
.hm-product__title { margin-bottom: 4px; }
.hm-product__alt { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 1.1rem; margin-bottom: 12px; }
.hm-product__price .hm-price__now { font-size: 2rem; }
.hm-product__price .hm-price__unit { font-size: 1.1rem; }
.hm-stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; padding: 4px 12px; border-radius: 99px; }
.hm-stock.is-in { background: var(--g-100); color: var(--g-800); }
.hm-stock.is-out { background: var(--tomato-50); color: var(--tomato); }
.hm-product__buy { display: grid; gap: 10px; margin: 16px 0; max-width: 440px; }
.hm-product__qty { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.hm-product__qty .hm-stepper { height: 52px; }
.hm-product__qty .hm-stepper__btn { width: 52px; }
.hm-qtyhint { color: var(--ink-2); font-weight: 600; }
.hm-product__excerpt { color: var(--ink-2); font-size: 1.05rem; }
@media (min-width: 860px) {
	.hm-product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
	.hm-product__media { position: sticky; top: calc(var(--header-h) + 16px); }
}
.hm-prose { max-width: 72ch; }
.hm-prose--page { padding: 8px 0 48px; }
.hm-prose h2 { margin-top: 1.4em; }
.hm-prose img { border-radius: var(--r); }
.hm-prose__hero { margin: 0 0 20px; }

/* 9. Cart drawer ----------------------------------------------------------- */
.hm-drawer { position: fixed; inset: 0; z-index: 90; }
.hm-drawer__backdrop { position: absolute; inset: 0; background: rgba(15, 30, 20, .45); opacity: 0; transition: opacity .2s; }
.hm-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
	display: flex; flex-direction: column; background: var(--paper);
	transform: translateX(100%); transition: transform .22s ease-out; outline: none;
	box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
}
.hm-drawer.is-open .hm-drawer__backdrop { opacity: 1; }
.hm-drawer.is-open .hm-drawer__panel { transform: none; }
.hm-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 10px 20px; border-bottom: 1px solid var(--line); background: var(--white); }
.hm-drawer__head h2 { margin: 0; font-size: 1.35rem; }
.hm-drawer__count { color: var(--ink-3); font-weight: 500; font-size: 1rem; }
.hm-drawer__scroll { flex: 1; overflow-y: auto; padding: 12px 16px; overscroll-behavior: contain; }
.hm-drawer__foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.hm-drawer__foot .hm-note, .hm-drawer__foot p { margin: 0; }
.hm-drawer__row { display: flex; justify-content: space-between; align-items: center; }
.hm-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; }
.hm-total strong { font-size: 1.6rem; }

.hm-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.hm-line { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hm-line__media img, .hm-line__ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.hm-line__ph { display: grid; place-items: center; background: var(--g-100); color: var(--g-800); font-weight: 700; font-size: .8rem; text-align: center; }
.hm-line__top { display: flex; justify-content: space-between; gap: 8px; }
.hm-line__name { color: var(--ink); font-weight: 700; text-decoration: none; }
.hm-line__meta { color: var(--ink-3); font-size: .9rem; margin: 0 0 6px; }
.hm-line__actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hm-line.is-off .hm-line__name { color: var(--ink-3); text-decoration: line-through; }
.hm-details { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: 0 14px; }
.hm-details summary { cursor: pointer; font-weight: 600; min-height: var(--tap); display: flex; align-items: center; gap: 6px; }
.hm-details summary span { color: var(--ink-3); font-weight: 400; }
.hm-details[open] { padding-bottom: 12px; }

/* Floating cart bar (mobile) */
.hm-cartbar {
	position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
}
.hm-cartbar__btn {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
	min-height: 56px; padding: 8px 10px 8px 18px; border: 0; border-radius: 18px;
	background: var(--g-800); color: #fff; box-shadow: 0 12px 30px -10px rgba(20, 56, 35, .6);
}
.hm-cartbar__info { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.hm-cartbar__cta { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 12px; background: var(--wa); color: var(--wa-ink); font-weight: 700; }
@media (min-width: 1000px) {
	.hm-cartbar { left: auto; right: 24px; bottom: 24px; width: 360px; }
	body.hm-has-cartbar { padding-bottom: 0; }
}
.hm-drawer:not([hidden]) ~ .hm-cartbar { display: none; }

/* Toast */
.hm-toast {
	position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 95;
	transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
	display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 24px);
	padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-2);
	transition: opacity .18s, transform .18s;
}
.hm-toast:empty { display: none; }
.hm-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.hm-toast__btn { border: 0; border-radius: 10px; padding: 8px 12px; background: var(--wa); color: var(--wa-ink); font-weight: 700; white-space: nowrap; }
@media (min-width: 1000px) { .hm-toast { bottom: 100px; } }

/* 10. Pages --------------------------------------------------------------- */
.hm-about, .hm-contact { display: grid; gap: 24px; padding: 8px var(--gutter) 48px; }
.hm-sidecard { align-self: start; display: grid; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.hm-sidecard h2 { font-size: 1.3rem; margin: 0; }
.hm-sidecard p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
	.hm-about, .hm-contact { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
	.hm-sidecard { position: sticky; top: calc(var(--header-h) + 16px); }
}
.hm-contact__main { display: grid; gap: 12px; align-content: start; }
.hm-contactcard {
	display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg);
	background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.hm-contactcard > .hm-icon:last-child { margin-left: auto; color: var(--ink-3); flex: none; }
.hm-contactcard:hover { border-color: var(--g-600); color: var(--ink); }
.hm-contactcard__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--g-100); color: var(--g-700); }
.hm-contactcard--wa { background: #eafbf0; border-color: #bfe9cf; }
.hm-contactcard--wa .hm-contactcard__icon { background: var(--wa); color: var(--wa-ink); }
.hm-contactcard__label { display: block; color: var(--ink-2); font-size: .95rem; }
.hm-contactcard__value { display: block; font-size: 1.2rem; word-break: break-word; }

.hm-404 { text-align: center; padding: 56px 0 72px; max-width: 560px; margin-inline: auto; }
.hm-404__code { font-size: clamp(4rem, 18vw, 7rem); font-weight: 700; line-height: 1; margin: 0; color: var(--g-200); letter-spacing: -.04em; }
.hm-404__search { margin-top: 24px; }

.hm-postlist { display: grid; gap: 16px; padding-bottom: 40px; }
.hm-postcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.hm-postcard h2 { font-size: 1.2rem; }
.nav-links { display: flex; gap: 8px; padding-bottom: 40px; }
.page-numbers { padding: 6px 12px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.page-numbers.current { background: var(--g-700); color: #fff; }

/* 11. Footer --------------------------------------------------------------- */
.hm-footer { background: var(--g-900); color: #cfe0d3; margin-top: 24px; }
.hm-footer a { color: #fff; text-decoration: none; }
.hm-footer a:hover { text-decoration: underline; }
.hm-footer__grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.hm-footer__logo { font-size: 1.6rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.hm-footer__logo b { color: var(--turmeric); }
.hm-footer h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: #9fc1a8; margin-bottom: 10px; }
.hm-footer__links { list-style: none; margin: 0; padding: 0; }
.hm-footer__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.hm-footer__addr { display: flex; gap: 6px; }
.hm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.hm-footer__bottom p { margin: 0; }
@media (min-width: 800px) { .hm-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* 12. Motion & print ------------------------------------------------------- */
@keyframes hm-bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
.is-bump { animation: hm-bump .35s ease-out; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.hm-topbar, .hm-header, .hm-toolbar, .hm-footer, .hm-cartbar, .hm-toast, .hm-drawer, .hm-row__buy, .hm-row__media, .hm-pagehead__meta { display: none !important; }
	body { background: #fff; }
	.hm-row { grid-template-columns: 1fr auto; grid-template-areas: "name price"; padding: 4px 0; }
	.hm-rows { border: 0; }
}

/* Refinements */
a.hm-media, .hm-line__media { text-decoration: none; }
[data-hm-resultcount] { white-space: nowrap; flex: none; }
@media (min-width: 1000px) {
	.hm-menu a { white-space: nowrap; }
	.hm-header__inner { gap: 16px; }
}
@media (min-width: 1200px) {
	.hm-search--header { min-width: 200px; }
}
@media (min-width: 1000px) {
	.hm-menu a { padding: 0 9px; }
	.hm-header__wa { padding-inline: 10px; }
	.hm-header__wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}

/* Mobile polish (audit at 320–412 px) ----------------------------------- */
.hm-iconbtn, .hm-cartbtn, .hm-logo__mark { flex-shrink: 0; }
.hm-logo { min-width: 0; min-height: var(--tap); }
.hm-logo__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-link { min-height: var(--tap); }
.hm-ticket small, .hm-cat__thumbs .hm-media__ph span, .hm-row__media .hm-media__ph span, .hm-line__ph { font-size: .85rem; }
.hm-line { grid-template-columns: 56px minmax(0, 1fr); }
.hm-line__main { min-width: 0; }
.hm-line__name { overflow-wrap: anywhere; }
.hm-line__total { flex: none; }
.hm-line__actions { flex-wrap: wrap; }
.hm-details summary { flex-wrap: wrap; column-gap: 6px; row-gap: 0; }
@media (max-width: 480px) {
	.hm-pagehead--prices .hm-pagehead__lead { display: none; } /* Get to the list faster on phones. */
	.hm-pagehead--prices { padding-top: 12px; }
	.hm-pagehead--prices h1 { font-size: 1.8rem; }
	.hm-pagehead__meta { width: 100%; justify-content: space-between; }
	.hm-hero { padding-top: 20px; }
	.hm-hero__title { font-size: clamp(2rem, 9.5vw, 2.4rem); }
	.hm-section { padding-block: 32px; }
}
@media (max-width: 380px) {
	:root { --gutter: 14px; }
	.hm-logo__text { font-size: 1.25rem; }
	.hm-logo__mark svg { width: 30px; height: 30px; }
	.hm-header__inner { gap: 4px; }
	.hm-row { grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 10px; padding: 10px; }
	.hm-row__media { width: 44px; height: 44px; }
	.hm-row__buy .hm-stepper__btn { width: 40px; }
	.hm-row__buy .hm-btn--add { min-width: 64px; padding-inline: 12px; }
	.hm-drawer__row { flex-wrap: wrap; }
}
@media (max-width: 340px) {
	.hm-logo__mark { display: none; }
}
@media (max-width: 480px) {
	.hm-pricelist > .hm-note { font-size: .88rem; padding: 8px 12px; }
	.hm-product__media { aspect-ratio: 16 / 10; }
	.hm-product__media .hm-media__ph span { font-size: 12cqw; }
}

/* "Order sent?" prompt ---------------------------------------------------- */
.hm-sent {
	position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
	display: flex; gap: 12px; align-items: flex-start;
	padding: 16px; border-radius: 20px; background: var(--white); border: 1px solid var(--line);
	box-shadow: 0 18px 50px -12px rgba(20, 40, 25, .45);
	transform: translateY(16px); opacity: 0; transition: transform .2s ease-out, opacity .2s;
}
.hm-sent.is-open { transform: none; opacity: 1; }
.hm-sent__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--wa); color: var(--wa-ink); }
.hm-sent__body { min-width: 0; flex: 1; }
.hm-sent__title { margin: 0; font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.hm-sent__summary { margin: 2px 0 12px; color: var(--ink-2); }
.hm-sent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-sent__actions .hm-btn { flex: 1 1 150px; }
.hm-sent .hm-linkbtn { margin-top: 6px; font-weight: 500; font-size: .95rem; }
body.hm-sent-open .hm-cartbar, body.hm-sent-open .hm-toast { display: none; }
@media (min-width: 700px) {
	.hm-sent { left: auto; right: 24px; bottom: 24px; width: 420px; }
}
.hm-sent:focus { outline: none; }
@media (max-width: 440px) {
	.hm-logo__text { font-size: 1.3rem; }
	.hm-logo__mark svg { width: 32px; height: 32px; }
	.hm-sent__icon { display: none; }
	.hm-sent .hm-linkbtn { display: block; text-align: left; }
}
@media (max-width: 380px) {
	.hm-logo__text { font-size: 1.15rem; }
}

/* View switch: Order online ↔ Price list ------------------------------- */
.hm-viewswitch {
	display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 14px 0 0; padding: 4px;
	background: var(--white); border: 1px solid var(--line); border-radius: 16px; max-width: 520px;
}
.hm-viewswitch__opt {
	display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px; border-radius: 12px;
	color: var(--ink-2); text-decoration: none; line-height: 1.15;
}
.hm-viewswitch__opt .hm-icon { flex: none; }
.hm-viewswitch__opt span { display: flex; flex-direction: column; min-width: 0; }
.hm-viewswitch__opt small { color: var(--ink-3); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-viewswitch__opt:hover { background: var(--g-50); color: var(--g-900); }
.hm-viewswitch__opt[aria-current="page"] { background: var(--g-700); color: #fff; }
.hm-viewswitch__opt[aria-current="page"] small { color: #cfe3d3; }
@media (max-width: 380px) { .hm-viewswitch__opt small { display: none; } .hm-viewswitch__opt { min-height: 46px; } }

/* Section with two links */
.hm-section__links { display: flex; flex-wrap: wrap; gap: 0 18px; }

/* Bulk CTA ---------------------------------------------------------------- */
.hm-bulkcta {
	display: grid; gap: 12px; align-items: center; margin-top: 14px; padding: 14px 16px;
	border-radius: var(--r); background: var(--turmeric-50); border: 1px solid #f1d690;
}
.hm-bulkcta__text { display: flex; flex-direction: column; line-height: 1.3; }
.hm-bulkcta__text strong { font-size: 1.05rem; }
.hm-bulkcta__text span { color: #5a4a1f; }
.hm-bulkcta__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-bulkcta__actions .hm-btn { flex: 1 1 180px; }
.hm-bulkcta__alt { margin: 0; grid-column: 1 / -1; }
.hm-bulkcta--end { margin: 28px 0 8px; }
@media (min-width: 860px) { .hm-bulkcta { grid-template-columns: 1fr auto; } .hm-bulkcta__actions .hm-btn { flex: 0 0 auto; } }

/* Rate table ---------------------------------------------------------------- */
.hm-ratelist { padding-top: 14px; padding-bottom: 32px; }
.hm-ratelist__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; }
.hm-ratelist__bar p { margin: 0; }
.hm-ratelist__tools { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-ratelist__note { margin-top: 14px; }
.hm-ratetable {
	width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
	font-variant-numeric: tabular-nums; counter-reset: hmrow;
}
.hm-ratetable th, .hm-ratetable td { padding: 9px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.hm-ratetable thead th {
	background: var(--g-800); color: #fff; font-size: .9rem; font-weight: 600; letter-spacing: .02em; border-bottom: 0;
}
.hm-ratetable thead button {
	all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 32px;
}
.hm-ratetable thead button:focus-visible { outline: 3px solid var(--turmeric); border-radius: 4px; }
.hm-sorticon::after { content: "↕"; opacity: .55; font-size: .85em; }
th[aria-sort="ascending"] .hm-sorticon::after { content: "↑"; opacity: 1; }
th[aria-sort="descending"] .hm-sorticon::after { content: "↓"; opacity: 1; }
.hm-rt__group th {
	background: var(--g-50); color: var(--g-900); font-weight: 700; font-size: 1rem; padding-top: 10px; padding-bottom: 10px;
}
.hm-rt__group .hm-muted { font-weight: 500; font-size: .9rem; margin-left: 4px; }
.hm-rt__row { counter-increment: hmrow; }
.hm-rt__row:nth-child(even) td, .hm-rt__row:nth-child(even) th { background: #fbfaf6; }
.hm-rt__row:hover td, .hm-rt__row:hover th { background: var(--g-50); }
.hm-rt__n { width: 44px; color: var(--ink-3); text-align: right !important; }
td.hm-rt__n::before { content: counter(hmrow); }
.hm-rt__name { font-weight: 400; }
.hm-rt__name a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hm-rt__name a:hover { color: var(--g-700); text-decoration: underline; }
.hm-rt__hi { display: block; color: var(--ink-3); font-size: .9rem; line-height: 1.2; }
.hm-rt__price { width: 110px; text-align: right !important; white-space: nowrap; }
.hm-rt__price strong { font-size: 1.08rem; }
.hm-rt__price del { color: var(--ink-3); font-size: .85rem; }
.hm-ratetable thead .hm-rt__price button { justify-content: flex-end; }
.hm-rt__unit { width: 96px; white-space: nowrap; color: var(--ink-2); }
.hm-rt__status { width: 130px; }
.hm-status { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.hm-status__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.hm-status.is-in { color: var(--g-700); }
.hm-status.is-in .hm-status__dot { background: #2fa35a; }
.hm-status.is-out { color: var(--tomato); }
.hm-status.is-out .hm-status__dot { background: var(--tomato); }
.hm-rt__row.is-off .hm-rt__name a, .hm-rt__row.is-off .hm-rt__price strong { color: var(--ink-3); }
.hm-rt__row.is-off .hm-rt__price strong { text-decoration: line-through; text-decoration-thickness: 1px; }
.hm-ratetable tbody:last-child tr:last-child > * { border-bottom: 0; }
.hm-print-only { display: none; }

/* Phones: keep it a table (easy to scan like the old sheet), just tighter. */
@media (max-width: 640px) {
	.hm-ratelist { padding-inline: 8px; }
	.hm-ratelist__bar, .hm-ratelist__note, .hm-ratelist .hm-bulkcta { margin-inline: 6px; }
	.hm-ratetable th, .hm-ratetable td { padding: 8px 8px; }
	.hm-rt__n { width: 30px; font-size: .8rem; padding-right: 4px !important; }
	.hm-rt__price { width: 74px; }
	.hm-rt__price strong { font-size: 1rem; }
	.hm-rt__price del { display: none; }
	.hm-rt__unit { width: 64px; font-size: .92rem; }
	.hm-rt__status { width: 30px; text-align: center !important; }
	.hm-rt__status .hm-status__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.hm-ratetable thead .hm-rt__status { font-size: 0; }
	.hm-ratetable thead .hm-rt__status::after { content: "✓"; font-size: .9rem; }
	.hm-status__dot { width: 11px; height: 11px; }
	.hm-ratelist__tools .hm-btn { padding-inline: 10px; }
}
@media (max-width: 360px) {
	.hm-rt__n { width: 22px; font-size: .72rem; padding-left: 2px !important; padding-right: 2px !important; }
	.hm-rt__price { width: 68px; }
	.hm-rt__unit { width: 56px; }
}

/* Print: a clean one-page style rate sheet. */
@media print {
	.hm-viewswitch, .hm-bulkcta, .hm-ratelist__bar, .hm-ratelist__note, .hm-sent, .hm-crumbs, .hm-pagehead { display: none !important; }
	.hm-print-only { display: block; font-weight: 700; margin: 0 0 8px; }
	.hm-ratetable { border: 1px solid #999; border-radius: 0; font-size: 11pt; }
	.hm-ratetable th, .hm-ratetable td { padding: 3px 6px; border-bottom: 1px solid #ccc; }
	.hm-ratetable thead th { background: #eee !important; color: #000; position: static; }
	.hm-rt__group th { background: #f4f4f4 !important; }
	.hm-rt__name a { color: #000; }
	.hm-sorticon { display: none; }
	.hm-rt__row { break-inside: avoid; }
}
.hm-show-sm { display: none; }
@media (max-width: 640px) {
	.hm-hide-sm { display: none; }
	.hm-show-sm { display: inline; }
	.hm-pagehead--rates .hm-updated { font-size: .88rem; padding: 4px 12px; }
	.hm-pagehead--rates h1 { margin-bottom: 2px; }
	.hm-pagehead--rates .hm-viewswitch { margin-top: 10px; }
	.hm-bulkcta--top { padding: 10px 12px; gap: 8px; margin-top: 10px; }
	.hm-bulkcta--top .hm-bulkcta__text span { display: none; }
	.hm-bulkcta--top .hm-bulkcta__actions { display: grid; grid-template-columns: 1.6fr 1fr; }
	.hm-bulkcta--top .hm-btn { padding-inline: 10px; font-size: .92rem; }
}
@media (max-width: 480px) {
	.hm-viewswitch__opt small { display: none; }
	.hm-viewswitch__opt { min-height: 46px; justify-content: center; }
}
.hm-rt__name a { display: inline-block; padding: 8px 0 3px; }
.hm-ratetable thead button { min-height: 40px; }
.hm-badge { font-size: .85rem; }
@media (max-width: 360px) {
	.hm-bulkcta--top .hm-bulkcta__actions { grid-template-columns: 1fr; }
	.hm-ratelist__tools { width: 100%; }
	.hm-ratelist__tools .hm-btn { flex: 1 1 auto; padding-inline: 8px; font-size: .88rem; }
}

@media (min-width: 1000px) {
	.hm-logo { flex-shrink: 0; }
	.hm-logo__text { overflow: visible; }
	.hm-nav { min-width: 0; }
}
@media (min-width: 1000px) and (max-width: 1100px) {
	.hm-menu a { padding: 0 7px; font-size: .95rem; }
	.hm-logo__mark { display: none; }
}
@media (min-width: 900px) {
	.hm-ratetable, .hm-ratelist__bar, .hm-ratelist__note { max-width: 980px; }
}

@media (min-width: 1000px) {
	.hm-nav { flex: 1 1 auto; }
	.hm-menu { flex-wrap: nowrap; gap: 0; }
	.hm-menu a { padding: 0 10px; }
}

.hm-legend { margin-left: 6px; white-space: nowrap; }
.hm-legend .hm-status { font-weight: 500; font-size: .85rem; margin-left: 6px; }
@media (max-width: 640px) { .hm-legend.hm-show-sm { display: block; margin: 4px 0 0; } .hm-legend .hm-status:first-child { margin-left: 0; } }
