/* ==========================================================================
   Homoeo At Home — home page, listing pages and product page
   ========================================================================== */

body.hah-site .site-content > .ast-container { display: block; width: 100%; max-width: var(--hah-container); margin-inline: auto; padding-inline: var(--hah-4); }
.hah-site .hah :where(h1, h2, h3, h4) { color: inherit; }
.hah-site .hah-h1, .hah-site .hah-h2, .hah-site .hah-h3 { color: var(--hah-ink); }
.hah-site .hah-banner .hah-banner__title { color: inherit; }
.hah-home,
.hah-catalog,
.hah-product { width: 100%; padding-bottom: var(--hah-8); }

/* ---- Shared bits ------------------------------------------------------- */
.hah-crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--hah-3) 0 var(--hah-2); font-size: var(--hah-fs-xs); color: var(--hah-muted); }
.hah-site .hah-crumbs a { color: var(--hah-muted); }
.hah-site .hah-crumbs a:hover { color: var(--hah-green-700); }
.hah-crumbs span { opacity: 0.6; }
.hah-row { display: flex; flex-wrap: wrap; gap: var(--hah-3); justify-content: center; }
.hah-code { display: inline-block; padding: 1px 8px; border: 1.5px dashed currentColor; border-radius: 6px; letter-spacing: 0.06em; font-weight: 800; }
.hah-sec { margin-top: var(--hah-8); }
.hah-sec--tint { margin-inline: calc(-1 * var(--hah-4)); padding: var(--hah-6) var(--hah-4); background: linear-gradient(180deg, var(--hah-accent-50), #fff8f2); }
.hah-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--hah-3); margin-bottom: var(--hah-3); }
.hah-site .hah-sechead__link,
.hah-site .hah-sechead__link:focus { display: inline-flex; align-items: center; gap: 2px; color: var(--hah-green-700); font-size: var(--hah-fs-sm); font-weight: 700; white-space: nowrap; }
.hah-site .hah-sechead__link:hover { color: var(--hah-green-800); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
	.hah-sec { margin-top: var(--hah-12); }
	.hah-sec--tint { margin-inline: 0; padding: var(--hah-8); border-radius: var(--hah-r-xl); }
	.hah-sechead { margin-bottom: var(--hah-4); }
}

.hah-prose { color: var(--hah-ink-2); font-size: 0.9688rem; line-height: 1.65; }
.hah-prose > :first-child { margin-top: 0; }
.hah-prose > :last-child { margin-bottom: 0; }
.hah-prose p { margin: 0 0 0.9em; }
.hah-prose h3,
.hah-prose h4 { margin: 1.2em 0 0.4em; font-size: 1rem; line-height: 1.35; font-weight: 700; color: var(--hah-ink); }
.hah-prose ul,
.hah-prose ol { margin: 0 0 0.9em 1.2em; padding: 0; }
.hah-prose li { margin-bottom: 0.35em; }
.hah-prose strong { color: var(--hah-ink); font-weight: 700; }
.hah-site .hah-prose a { color: var(--hah-green-700); text-decoration: underline; text-underline-offset: 2px; }
.hah-prose table { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: var(--hah-fs-sm); }
.hah-prose th,
.hah-prose td { border: 1px solid var(--hah-line); padding: 8px 10px; text-align: left; }

/* ---- Product card extras ---------------------------------------------- */
.hah-pcard .added_to_cart { display: none !important; }
.hah-pcard__oos { font-size: var(--hah-fs-xs); font-weight: 700; color: var(--hah-muted); background: var(--hah-bg); padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.hah-site .hah-add.loading { color: transparent; position: relative; pointer-events: none; background: #fff; }
.hah-site .hah-add.loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--hah-accent-100); border-top-color: var(--hah-accent-600); animation: hah-spin 0.7s linear infinite; }
.hah-add[hidden] { display: none !important; }
.hah-stepper.is-busy { opacity: 0.75; }
.hah-site .hah-add--options { border-color: var(--hah-green-600); color: var(--hah-green-700); }
.hah-site .hah-add--options:hover { background: var(--hah-green-600); color: #fff; }

/* ---- Sideways product rows -------------------------------------------- */
.hah-carousel { position: relative; }
.hah-carousel__track { display: flex; gap: var(--hah-2); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--hah-4)); padding: 4px var(--hah-4) 8px; scroll-padding-inline: var(--hah-4); }
.hah-carousel__track::-webkit-scrollbar { display: none; }
.hah-carousel__item { flex: 0 0 44%; max-width: 190px; scroll-snap-align: start; }
.hah-site .hah-carousel__nav,
.hah-site .hah-carousel__nav:focus { display: none; position: absolute; top: 38%; z-index: 3; width: 40px; height: 40px; padding: 0; border: 1px solid var(--hah-line); border-radius: 50%; background: #fff; color: var(--hah-ink); box-shadow: var(--hah-shadow-2); place-items: center; cursor: pointer; }
.hah-site .hah-carousel__nav:hover { background: var(--hah-green-600); color: #fff; border-color: var(--hah-green-600); }
.hah-carousel__nav--prev { left: -14px; }
.hah-carousel__nav--next { right: -14px; }
@media (min-width: 640px) {
	.hah-carousel__track { gap: var(--hah-3); }
	.hah-carousel__item { flex-basis: 200px; max-width: 200px; }
}
@media (min-width: 900px) {
	.hah-carousel__track { margin-inline: 0; padding-inline: 2px; scroll-padding-inline: 2px; gap: var(--hah-4); }
	.hah-carousel__item { flex: 0 0 calc((100% - 5 * var(--hah-4)) / 6); max-width: none; min-width: 180px; }
	.hah-carousel__nav:not([hidden]) { display: grid !important; }
}

/* ==========================================================================
   Search dropdown
   ========================================================================== */
.hah-header .hah-header__search { position: relative; }
.hah-suggest { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; max-height: min(70vh, 520px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--hah-line); border-radius: var(--hah-r-lg); box-shadow: var(--hah-shadow-3); padding: var(--hah-2); color: var(--hah-ink); animation: hah-drop var(--hah-fast) var(--hah-ease); }
.hah-suggest[hidden] { display: none; }
@keyframes hah-drop { from { opacity: 0; transform: translateY(-4px); } }
.hah-suggest__label { margin: 6px 8px 8px; font-size: var(--hah-fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hah-muted); }
.hah-suggest__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 6px 8px; }
.hah-suggest__chips .hah-chip { min-height: 34px; font-weight: 500; }
.hah-site .hah-suggest__item,
.hah-site .hah-suggest__item:focus { display: flex; align-items: center; gap: var(--hah-3); padding: 8px; border-radius: var(--hah-r-sm); color: var(--hah-ink); }
.hah-site .hah-suggest__item:hover,
.hah-site .hah-suggest__item.is-active { background: var(--hah-green-50); color: var(--hah-ink); }
.hah-site .hah-suggest__item img,
.hah-suggest__noimg { width: 48px; height: 48px; flex: none; object-fit: contain; background: #fff; border: 1px solid var(--hah-line); border-radius: 8px; }
.hah-suggest__text { display: grid; gap: 2px; min-width: 0; }
.hah-suggest__title { font-size: var(--hah-fs-sm); font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hah-suggest__price { font-size: var(--hah-fs-sm); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hah-suggest__price s { color: var(--hah-muted); font-size: var(--hah-fs-xs); }
.hah-suggest__price em { font-style: normal; }
.hah-suggest__price i { font-style: normal; font-size: var(--hah-fs-xs); color: var(--hah-danger); font-weight: 600; }
.hah-site .hah-suggest__all,
.hah-site .hah-suggest__all:focus { display: block; margin-top: 4px; padding: 12px 8px; border-top: 1px solid var(--hah-line); color: var(--hah-green-700); font-size: var(--hah-fs-sm); font-weight: 700; text-align: center; }
.hah-site .hah-suggest__all:hover,
.hah-site .hah-suggest__all.is-active { background: var(--hah-green-50); color: var(--hah-green-800); }
.hah-suggest__empty { display: grid; gap: 4px; padding: var(--hah-4) var(--hah-3); font-size: var(--hah-fs-sm); }
.hah-suggest__empty span { color: var(--hah-muted); }

/* ==========================================================================
   Home page
   ========================================================================== */
.hah-home { padding-top: var(--hah-3); }
.hah-hero { position: relative; }
.hah-hero__track { display: flex; gap: var(--hah-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--hah-r-xl); }
.hah-hero__track::-webkit-scrollbar { display: none; }
.hah-hero__slide { flex: 0 0 100%; scroll-snap-align: center; min-height: 200px; }
.hah-banner--saffron { background: radial-gradient(120% 140% at 0% 0%, #e2581c 0%, var(--hah-accent-600) 45%, #8f2c05 100%); }
.hah-banner--saffron .hah-banner__title em { color: #ffe2c4; }
.hah-site .hah-banner--saffron .hah-btn { --btn-fg: var(--hah-accent-700); --btn-bg-hover: var(--hah-accent-50); }
.hah-banner--lime { background: radial-gradient(120% 140% at 0% 0%, #f3f8df 0%, var(--hah-lime-100) 50%, #dcebad 100%); color: var(--hah-green-800); }
.hah-banner--lime .hah-banner__title em { color: var(--hah-green-600); }
.hah-banner--lime .hah-banner__eyebrow { background: rgba(0, 128, 53, 0.12); }
.hah-site .hah-banner--lime .hah-btn { --btn-bg: var(--hah-green-600); --btn-bg-hover: var(--hah-green-700); --btn-fg: #fff; }
.hah-hero__shots { position: relative; justify-self: center; width: min(100%, 170px); aspect-ratio: 1; }
.hah-hero__pack { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16), 0 14px 28px rgba(0, 0, 0, 0.2); overflow: hidden; }
.hah-site .hah-hero__pack img { position: absolute; inset: 16%; width: 68%; height: 68%; max-width: none; object-fit: contain; }
.hah-hero__pack--1 { width: 72%; height: 72%; left: 14%; top: 4%; z-index: 2; }
.hah-hero__pack--2 { width: 46%; height: 46%; left: -4%; bottom: 0; z-index: 3; }
.hah-hero__pack--3 { width: 42%; height: 42%; right: -4%; bottom: 4%; z-index: 1; }
.hah-hero__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.hah-site .hah-hero__dots button,
.hah-site .hah-hero__dots button:focus { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--hah-line-strong); cursor: pointer; transition: width var(--hah-med) var(--hah-ease), background var(--hah-med) var(--hah-ease); }
.hah-site .hah-hero__dots button.is-active { width: 24px; background: var(--hah-green-600); }
.hah-site .hah-hero__dots button:hover { background: var(--hah-green-600); }
@media (min-width: 800px) {
	.hah-hero__slide { min-height: 320px; }
	.hah-hero__shots { width: 300px; }
}
.hah-home__trust { margin-top: var(--hah-4); }
.home .hah-footer__trust { display: none; }

.hah-brandgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hah-2); }
.hah-site .hah-brandtile,
.hah-site .hah-brandtile:focus { display: grid; justify-items: center; gap: 6px; padding: var(--hah-3) var(--hah-2); background: #fff; border: 1px solid var(--hah-line); border-radius: var(--hah-r-md); color: var(--hah-ink); font-size: var(--hah-fs-xs); font-weight: 600; text-align: center; transition: transform var(--hah-med) var(--hah-ease), box-shadow var(--hah-med) var(--hah-ease), border-color var(--hah-med); }
.hah-site .hah-brandtile:hover { box-shadow: var(--hah-shadow-2); border-color: var(--hah-green-200); color: var(--hah-green-700); }
@media (hover: hover) and (pointer: fine) { .hah-site .hah-brandtile:hover { transform: translateY(-2px); } }
.hah-site .hah-brandtile img { width: 100%; max-width: 110px; aspect-ratio: 3 / 2; height: auto; object-fit: contain; }
@media (min-width: 640px) { .hah-brandgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--hah-3); } }
@media (min-width: 1100px) { .hah-brandgrid { grid-template-columns: repeat(9, minmax(0, 1fr)); } }

.hah-typegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hah-2); }
.hah-site .hah-typecard,
.hah-site .hah-typecard:focus { display: flex; align-items: center; gap: var(--hah-3); padding: var(--hah-3); background: #fff; border: 1px solid var(--hah-line); border-radius: var(--hah-r-md); color: var(--hah-ink); line-height: 1.25; transition: border-color var(--hah-fast), box-shadow var(--hah-med) var(--hah-ease); }
.hah-site .hah-typecard:hover { border-color: var(--hah-green-600); box-shadow: var(--hah-shadow-2); color: var(--hah-green-800); }
.hah-typecard__ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--hah-green-100); color: var(--hah-green-700); }
.hah-typecard b { display: block; font-size: var(--hah-fs-sm); }
.hah-typecard small { color: var(--hah-muted); font-size: var(--hah-fs-xs); }
@media (min-width: 700px) { .hah-typegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hah-3); } }
@media (min-width: 1100px) { .hah-typegrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ==========================================================================
   Listing pages
   ========================================================================== */
.hah-catalog__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: var(--hah-3); }
.hah-catalog__count { margin: 0; color: var(--hah-muted); font-size: var(--hah-fs-sm); }
.hah-catalog__note { flex-basis: 100%; margin-top: var(--hah-2); }
.hah-catalog__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--hah-2); margin-bottom: var(--hah-3); }
.hah-catalog__filterbtn { min-height: 40px; }
.hah-filters__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-left: 6px; border-radius: 99px; background: var(--hah-green-600); color: #fff; font-size: 0.6875rem; font-weight: 800; }
.hah-catalog__sort { position: relative; display: flex; align-items: center; margin-left: auto; color: var(--hah-ink-2); }
.hah-catalog__sort > .hah-icon { position: absolute; left: 12px; pointer-events: none; }
.hah-catalog__sort form { margin: 0; }
.hah-site .hah-catalog__sort select {
	height: 40px;
	width: auto;
	max-width: 56vw;
	padding: 0 34px 0 36px;
	border: 1.5px solid var(--hah-line-strong);
	border-radius: var(--hah-r-pill);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2342534a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	color: var(--hah-ink-2);
	font: 600 var(--hah-fs-sm) / 1 var(--hah-font);
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.hah-activechips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: var(--hah-3); }
.hah-site .hah-activechips__clear { margin-left: 4px; color: var(--hah-green-700); font-size: var(--hah-fs-sm); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.hah-catalog__layout { display: block; }
.hah-catalog__main { position: relative; min-width: 0; transition: opacity var(--hah-fast); }
.hah-catalog__main.is-loading { opacity: 0.45; pointer-events: none; }
.hah-catalog__main.is-loading::after { content: ""; position: fixed; top: 40%; left: 50%; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; border: 3.5px solid var(--hah-green-100); border-top-color: var(--hah-green-600); animation: hah-spin 0.7s linear infinite; }
.hah-catalog__about { margin-top: var(--hah-8); padding: var(--hah-5); }
.hah-catalog__about .hah-h3 { margin-bottom: var(--hah-2); }
.hah-catalog__nores { margin-top: var(--hah-4); }

/* Filters: bottom sheet on phones */
.hah-catalog__side { position: fixed; inset: var(--hah-bar, 0px) 0 0 0; z-index: 120; display: none; background: rgba(19, 37, 27, 0.55); }
.hah-catalog__side.is-open { display: flex; flex-direction: column; justify-content: flex-end; animation: hah-fade var(--hah-med) var(--hah-ease); }
.hah-catalog__sidehead { display: flex; align-items: center; justify-content: space-between; padding: var(--hah-3) var(--hah-2) var(--hah-2) var(--hah-4); background: #fff; border-radius: var(--hah-r-xl) var(--hah-r-xl) 0 0; border-bottom: 1px solid var(--hah-line); }
.hah-catalog__side.is-open .hah-catalog__sidehead { animation: hah-sheet var(--hah-med) var(--hah-ease); }
.hah-filters { background: #fff; max-height: 72vh; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--hah-4); margin: 0; }
.hah-catalog__side.is-open .hah-filters { animation: hah-sheet var(--hah-med) var(--hah-ease); }
.hah-filters__group { border-bottom: 1px solid var(--hah-line); }
.hah-filters__group summary { display: flex; align-items: center; min-height: 48px; font-size: var(--hah-fs-sm); font-weight: 700; color: var(--hah-ink); cursor: pointer; list-style: none; }
.hah-filters__group summary::-webkit-details-marker { display: none; }
.hah-filters__group summary > .hah-icon { margin-left: auto; color: var(--hah-muted); transition: transform var(--hah-fast) var(--hah-ease); }
.hah-filters__group[open] summary > .hah-icon { transform: rotate(180deg); }
.hah-filters__opts { display: grid; gap: 2px; padding-bottom: var(--hah-3); }
.hah-filters__opts.is-long:not(.is-expanded) > :nth-child(n + 9) { display: none; }
.hah-check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: var(--hah-fs-sm); color: var(--hah-ink-2); cursor: pointer; }
.hah-check span { flex: 1; min-width: 0; }
.hah-check small { color: var(--hah-muted); font-size: var(--hah-fs-xs); }
.hah-site .hah-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--hah-green-600); cursor: pointer; }
.hah-site .hah-filters__more,
.hah-site .hah-filters__more:hover,
.hah-site .hah-filters__more:focus { display: block; margin: -4px 0 var(--hah-3); padding: 4px 0; border: 0; background: none; color: var(--hah-green-700); font-size: var(--hah-fs-sm); font-weight: 700; cursor: pointer; }
.hah-filters__actions { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--hah-2); padding: var(--hah-3) 0 calc(var(--hah-3) + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--hah-line); margin-top: -1px; }

@media (min-width: 900px) {
	.hah-catalog__filterbtn { display: none !important; }
	.hah-catalog__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: var(--hah-6); align-items: start; }
	.hah-catalog__side { position: sticky; top: calc(150px + var(--hah-bar, 0px)); inset: auto; z-index: 1; display: block; background: #fff; border: 1px solid var(--hah-line); border-radius: var(--hah-r-lg); max-height: calc(100vh - 170px - var(--hah-bar, 0px)); overflow-y: auto; }
	.hah-catalog__side.is-open { display: block; animation: none; }
	.hah-catalog__sidehead { padding: var(--hah-3) var(--hah-4) 0; border: 0; border-radius: 0; background: none; }
	.hah-catalog__sidehead .hah-header__icon { display: none; }
	.hah-filters { max-height: none; overflow: visible; background: none; }
	.hah-filters__group:last-of-type { border-bottom: 0; }
	.hah-filters__actions { display: none; }
	.hah-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1180px) { .hah-grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Pagination */
.hah-pagination { margin-top: var(--hah-6); }
.hah-pagination nav.woocommerce-pagination { text-align: center; }
.hah-site .hah-pagination ul.page-numbers { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; border: 0; list-style: none; }
.hah-site .hah-pagination ul.page-numbers li { margin: 0; padding: 0; border: 0; float: none; overflow: visible; }
.hah-site .hah-pagination .page-numbers a,
.hah-site .hah-pagination .page-numbers span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1.5px solid var(--hah-line-strong); border-radius: var(--hah-r-sm); background: #fff; color: var(--hah-ink-2); font-size: var(--hah-fs-sm); font-weight: 700; line-height: 1; }
.hah-site .hah-pagination .page-numbers a:hover { border-color: var(--hah-green-600); color: var(--hah-green-700); background: var(--hah-green-50); }
.hah-site .hah-pagination .page-numbers span.current { background: var(--hah-green-600); border-color: var(--hah-green-600); color: #fff; }
.hah-site .hah-pagination .page-numbers span.dots { border-color: transparent; background: none; }

/* ==========================================================================
   Product page
   ========================================================================== */
.hah-product__top { display: grid; gap: var(--hah-4); }
.hah-gallery { min-width: 0; }
.hah-gallery__stage { position: relative; background: #fff; border: 1px solid var(--hah-line); border-radius: var(--hah-r-lg); overflow: hidden; }
.hah-gallery__flag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: var(--hah-fs-sm); padding: 4px 8px; }
.hah-gallery__flag[hidden] { display: none; }
.hah-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hah-gallery__track::-webkit-scrollbar { display: none; }
.hah-gallery__slide { position: relative; flex: 0 0 100%; aspect-ratio: 1 / 1; scroll-snap-align: center; cursor: zoom-in; display: block; }
.hah-site .hah-gallery__slide img { position: absolute; inset: 6%; width: 88%; height: 88%; max-width: none; object-fit: contain; }
.hah-gallery__thumbs { display: flex; gap: var(--hah-2); margin-top: var(--hah-2); overflow-x: auto; scrollbar-width: none; }
.hah-site .hah-gallery__thumb,
.hah-site .hah-gallery__thumb:hover,
.hah-site .hah-gallery__thumb:focus { position: relative; flex: 0 0 64px; height: 64px; padding: 0; border: 1.5px solid var(--hah-line); border-radius: var(--hah-r-sm); background: #fff; cursor: pointer; overflow: hidden; }
.hah-site .hah-gallery__thumb.is-active { border-color: var(--hah-green-600); box-shadow: inset 0 0 0 1px var(--hah-green-600); }
.hah-site .hah-gallery__thumb img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }

.hah-product__info { min-width: 0; display: grid; gap: var(--hah-3); align-content: start; }
.hah-site .hah-product__brand,
.hah-site .hah-product__brand:focus { display: inline-flex; align-items: center; gap: 2px; justify-self: start; color: var(--hah-green-700); font-size: var(--hah-fs-xs); font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.hah-site .hah-product__brand:hover { color: var(--hah-green-800); text-decoration: underline; }
.hah-product__title { font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem); }
.hah-product__price p { margin: 2px 0 0; }
.hah-product__price .hah-price--lg { align-items: center; gap: 4px 10px; }
.hah-product__price .hah-off { font-size: var(--hah-fs-sm); padding: 3px 8px; }

/* The WooCommerce add-to-cart form, restyled */
.hah-product__form form.cart { margin: 0; display: grid; gap: var(--hah-3); }
.hah-product__form table.variations { width: 100%; margin: 0; border: 0; border-collapse: collapse; display: block; }
.hah-product__form table.variations tbody,
.hah-product__form table.variations tr,
.hah-product__form table.variations th,
.hah-product__form table.variations td { display: block; padding: 0; border: 0; background: none; text-align: left; }
.hah-product__form table.variations tr + tr { margin-top: var(--hah-3); }
.hah-product__form table.variations label { display: block; margin-bottom: 6px; font-size: var(--hah-fs-sm); font-weight: 700; color: var(--hah-ink); }
.hah-options { display: flex; flex-wrap: wrap; gap: var(--hah-2); }
.hah-site .hah-product__form .reset_variations { display: inline-block; margin-top: 6px; color: var(--hah-muted); font-size: var(--hah-fs-xs); text-decoration: underline; }
.hah-product__form .single_variation_wrap { display: grid; gap: var(--hah-3); }
.hah-product__form .woocommerce-variation-price { display: none; }
.hah-product__form .woocommerce-variation-availability p,
.hah-product__form p.stock { margin: 0; font-size: var(--hah-fs-sm); font-weight: 600; color: var(--hah-green-700); }
.hah-product__form p.stock.out-of-stock { color: var(--hah-danger); }
.hah-product__form .woocommerce-variation-description p { margin: 0; font-size: var(--hah-fs-sm); color: var(--hah-ink-2); }
.hah-product__form .woocommerce-variation-add-to-cart,
.hah-product__form form.cart:not(.variations_form) { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--hah-3); align-items: center; }
.hah-product__form .hah-pinbox,
.hah-product__form .hah-offer { grid-column: 1 / -1; }
.hah-site .hah-product__form .quantity { display: inline-flex; align-items: center; height: 52px; margin: 0; border: 1.5px solid var(--hah-line-strong); border-radius: var(--hah-r-md); background: #fff; overflow: hidden; float: none; }
.hah-site .hah-product__form .quantity input.qty { width: 44px; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: center; font: 800 1rem var(--hah-font); color: var(--hah-ink); -moz-appearance: textfield; appearance: textfield; }
.hah-product__form .quantity input.qty::-webkit-outer-spin-button,
.hah-product__form .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hah-site .hah-qtybtn,
.hah-site .hah-qtybtn:focus { width: 40px; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--hah-ink); display: grid; place-items: center; cursor: pointer; }
.hah-site .hah-qtybtn:hover { background: var(--hah-green-50); color: var(--hah-green-700); }
.hah-site .hah-product__form .single_add_to_cart_button,
.hah-site .hah-product__form .single_add_to_cart_button:focus {
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 0 var(--hah-5);
	border: 0;
	border-radius: var(--hah-r-md);
	background: var(--hah-accent-600);
	color: #fff;
	font: 800 1.0625rem / 1 var(--hah-font);
	letter-spacing: 0.01em;
	cursor: pointer;
	float: none;
	transition: background var(--hah-fast) var(--hah-ease), transform var(--hah-fast) var(--hah-ease);
}
.hah-site .hah-product__form .single_add_to_cart_button:hover { background: var(--hah-accent-700); color: #fff; }
@media (hover: hover) and (pointer: fine) { .hah-site .hah-product__form .single_add_to_cart_button:active { transform: scale(0.985); } }
.hah-site .hah-product__form .single_add_to_cart_button.disabled,
.hah-site .hah-product__form .single_add_to_cart_button:disabled { background: var(--hah-line-strong); color: #fff; cursor: not-allowed; opacity: 1; }
.hah-nudge { animation: hah-nudge 0.5s var(--hah-ease) 2; }
@keyframes hah-nudge { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.hah-pinbox { padding: var(--hah-3); border: 1px solid var(--hah-line); border-radius: var(--hah-r-md); background: #fff; }
.hah-pinbox .hah-label { display: flex; align-items: center; gap: 6px; margin-bottom: var(--hah-2); color: var(--hah-ink); }
.hah-pinbox .hah-label .hah-icon { color: var(--hah-green-700); }
.hah-pinbox__result { margin: 0; font-size: var(--hah-fs-sm); color: var(--hah-ink-2); }
.hah-pinbox__result:not(:empty) { margin-top: var(--hah-2); }
.hah-pinbox__result.is-ok { color: var(--hah-green-800); }
.hah-pinbox__result.is-err { color: var(--hah-danger); font-weight: 600; }
.hah-offer { display: flex; align-items: center; gap: var(--hah-3); padding: var(--hah-3); border: 1.5px dashed #f2b48f; border-radius: var(--hah-r-md); background: var(--hah-accent-50); color: #7a2a06; font-size: var(--hah-fs-sm); line-height: 1.45; }
.hah-offer__ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--hah-accent-600); color: #fff; }

.hah-product__assure { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; font-size: var(--hah-fs-sm); font-weight: 600; color: var(--hah-ink-2); }
.hah-product__assure li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.hah-product__assure .hah-icon { color: var(--hah-green-600); }

.hah-delivery { padding: var(--hah-4); }
.hah-delivery .hah-h3 { margin-bottom: var(--hah-3); font-size: 1rem; }
.hah-delivery ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--hah-3); }
.hah-delivery li { display: flex; gap: var(--hah-3); align-items: flex-start; margin: 0; }
.hah-delivery__ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--hah-green-100); color: var(--hah-green-700); }
.hah-delivery b { display: block; font-size: var(--hah-fs-sm); color: var(--hah-ink); }
.hah-delivery li span:not(.hah-delivery__ic) { font-size: var(--hah-fs-sm); color: var(--hah-ink-2); line-height: 1.45; }
.hah-site .hah-delivery a { color: var(--hah-green-700); text-decoration: underline; text-underline-offset: 2px; }

.hah-details .hah-h2 { margin-bottom: var(--hah-3); }
.hah-details__short { margin-bottom: var(--hah-4); padding: var(--hah-4); background: #fff; border: 1px solid var(--hah-line); border-radius: var(--hah-r-lg); }
.hah-acc { background: #fff; border: 1px solid var(--hah-line); border-radius: var(--hah-r-lg); overflow: hidden; }
.hah-acc__item + .hah-acc__item { border-top: 1px solid var(--hah-line); }
.hah-acc__item summary { display: flex; align-items: center; gap: var(--hah-3); min-height: 56px; padding: 0 var(--hah-4); cursor: pointer; list-style: none; font-weight: 700; color: var(--hah-ink); }
.hah-acc__item summary::-webkit-details-marker { display: none; }
.hah-acc__item summary:hover { background: var(--hah-green-50); }
.hah-acc__ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--hah-green-100); color: var(--hah-green-700); }
.hah-acc__title { flex: 1; }
.hah-acc__chev { color: var(--hah-muted); transition: transform var(--hah-med) var(--hah-ease); }
.hah-acc__item[open] .hah-acc__chev { transform: rotate(180deg); }
.hah-acc__item > .hah-prose { padding: 0 var(--hah-4) var(--hah-4) calc(var(--hah-4) + 32px + var(--hah-3)); }
@media (max-width: 599px) { .hah-acc__item > .hah-prose { padding-left: var(--hah-4); } }

@media (min-width: 900px) {
	.hah-product__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--hah-8); align-items: start; }
	.hah-gallery { position: sticky; top: calc(150px + var(--hah-bar, 0px)); }
	.hah-details { max-width: 900px; }
}

/* Sticky buy bar (phones only) */
.hah-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; display: flex; align-items: center; gap: var(--hah-3); padding: 10px var(--hah-4) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--hah-line); box-shadow: 0 -6px 20px rgba(16, 40, 28, 0.1); transition: transform var(--hah-med) var(--hah-ease); }
.hah-buybar[hidden] { display: none; }
.hah-buybar.is-hidden { transform: translateY(110%); }
.hah-buybar__price { display: grid; line-height: 1.2; min-width: 0; }
.hah-buybar__now { font-size: 1.25rem; font-weight: 800; color: var(--hah-ink); }
.hah-buybar__now small { font-size: var(--hah-fs-xs); font-weight: 500; color: var(--hah-muted); }
.hah-buybar__mrp { font-size: var(--hah-fs-xs); color: var(--hah-muted); display: flex; gap: 6px; align-items: center; }
.hah-buybar .hah-btn { flex: 1; min-height: 50px; }
@media (max-width: 899px) {
	.hah-has-buybar .hah-tabbar--fixed { display: none; }
	body.hah-site.hah-has-buybar { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) { .hah-buybar { display: none !important; } }

dialog.hah-zoom { border: 0; padding: 0; background: #fff; border-radius: var(--hah-r-lg); max-width: min(94vw, 900px); max-height: 92vh; overflow: hidden; }
dialog.hah-zoom::backdrop { background: rgba(19, 37, 27, 0.8); }
.hah-site .hah-zoom img { display: block; max-width: 100%; max-height: 92vh; width: auto; height: auto; margin: 0 auto; }
.hah-site .hah-zoom .hah-dialog__close,
.hah-site .hah-zoom .hah-dialog__close:focus { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--hah-ink); box-shadow: var(--hah-shadow-2); cursor: pointer; }

/* WooCommerce messages, in our style */
.hah-site .woocommerce-notices-wrapper:empty { display: none; }
.hah-site .woocommerce-message,
.hah-site .woocommerce-info,
.hah-site .woocommerce-error { margin: 0 0 var(--hah-3); padding: var(--hah-3) var(--hah-4); border: 1px solid var(--hah-green-200); border-radius: var(--hah-r-md); background: var(--hah-green-50); color: var(--hah-green-800); font-size: var(--hah-fs-sm); font-weight: 600; list-style: none; }
.hah-site .woocommerce-message::before,
.hah-site .woocommerce-info::before,
.hah-site .woocommerce-error::before { display: none; }
.hah-site .woocommerce-error { border-color: #f3c4c4; background: var(--hah-danger-bg); color: #8e1c1c; }
.hah-site .woocommerce-message a.button,
.hah-site .woocommerce-info a.button { float: right; margin-left: var(--hah-3); padding: 0; background: none; border: 0; color: var(--hah-green-700); font-weight: 800; text-decoration: underline; box-shadow: none; }

/* ---- ADD button sits on the corner of the product image at every screen size,
        so narrow cards (carousels) never clip it and all cards look the same ---- */
.hah-pcard .hah-pcard__cta {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	aspect-ratio: 1 / 1;
	padding: 8px;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	pointer-events: none;
	z-index: 2;
}
.hah-pcard .hah-pcard__cta > * { pointer-events: auto; box-shadow: var(--hah-shadow-2); }
.hah-pcard .hah-pcard__cta .hah-add { min-width: 64px; height: 34px; }
.hah-pcard .hah-pcard__cta .hah-stepper { height: 34px; min-width: 88px; grid-template-columns: 29px minmax(26px, auto) 29px; }
.hah-pcard .hah-pcard__cta .hah-pcard__oos { box-shadow: none; border: 1px solid var(--hah-line); }
@media (min-width: 900px) {
	.hah-pcard .hah-pcard__cta { padding: 12px; }
	.hah-pcard .hah-pcard__cta .hah-add { min-width: 72px; height: 36px; }
	.hah-pcard .hah-pcard__cta .hah-stepper { height: 36px; min-width: 92px; }
}

/* Old "Add to Compare" / "Add to Wishlist" links from the ProductX plugin: not used in the new design */
.hah-site .hah-product [class*="wopb-compare"],
.hah-site .hah-product [class*="wopb-wishlist"],
.hah-site .hah-product [class*="wopb-wishlist-add"],
.hah-site .hah-pcard [class*="wopb-"] { display: none !important; }

@media (min-width: 900px) {
	.hah-gallery { max-width: 520px; width: 100%; justify-self: center; }
}

/* Sort box and filter close button: beat the parent theme's generic styles */
.hah-site .hah-catalog__sort .woocommerce-ordering { margin: 0; float: none; }
.hah-site .hah-catalog .hah-catalog__sort select.orderby {
	height: 40px;
	width: auto;
	max-width: 56vw;
	margin: 0;
	padding: 0 34px 0 36px;
	border: 1.5px solid var(--hah-line-strong);
	border-radius: var(--hah-r-pill);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2342534a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	color: var(--hah-ink-2);
	font: 600 var(--hah-fs-sm) / 1 var(--hah-font);
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.hah-site .hah-catalog .hah-header__icon,
.hah-site .hah-catalog .hah-header__icon:focus { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--hah-r-md); background: var(--hah-bg); color: var(--hah-ink); cursor: pointer; }
.hah-site .hah-catalog .hah-header__icon:hover { background: var(--hah-green-50); color: var(--hah-green-700); }
@media (min-width: 900px) { .hah-site .hah-catalog .hah-catalog__sidehead .hah-header__icon { display: none; } }
.hah-banner .hah-btn { white-space: nowrap; }
@media (max-width: 420px) {
	.hah-banner { grid-template-columns: 1.35fr 0.65fr; padding: var(--hah-4); }
	.hah-site .hah-banner .hah-btn { padding: 0 var(--hah-3); font-size: var(--hah-fs-sm); }
}

/* ---- Main Add to cart button: always saffron, whatever the parent theme says ---- */
body.hah-site .hah-product .hah-product__form form.cart button.single_add_to_cart_button,
body.hah-site .hah-product .hah-product__form form.cart button.single_add_to_cart_button:focus,
body.hah-site .hah-product .hah-product__form form.cart button.single_add_to_cart_button.alt {
	background: var(--hah-accent-600) !important;
	background-image: none !important;
	border: 0 !important;
	color: #fff !important;
	border-radius: var(--hah-r-md);
	min-height: 52px;
	font: 800 1.0625rem / 1 var(--hah-font);
	box-shadow: none;
	opacity: 1;
}
body.hah-site .hah-product .hah-product__form form.cart button.single_add_to_cart_button:hover { background: var(--hah-accent-700) !important; color: #fff !important; }
body.hah-site .hah-product .hah-product__form form.cart button.single_add_to_cart_button.disabled,
body.hah-site .hah-product .hah-product__form form.cart button.single_add_to_cart_button:disabled { background: var(--hah-line-strong) !important; cursor: not-allowed; }

/* ---- Potency / pack-size buttons: as in the design system, easy to tap ---- */
body.hah-site .hah-product__form .hah-options { gap: 10px; }
body.hah-site .hah-product__form .hah-options button.hah-option,
body.hah-site .hah-product__form .hah-options button.hah-option:hover,
body.hah-site .hah-product__form .hah-options button.hah-option:focus {
	min-width: 72px;
	min-height: 48px;
	padding: 8px 16px;
	border: 1.5px solid var(--hah-line-strong);
	border-radius: var(--hah-r-md);
	background: #fff;
	color: var(--hah-ink);
	font: 700 0.9375rem / 1.2 var(--hah-font);
	box-shadow: none;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: border-color var(--hah-fast) var(--hah-ease), background var(--hah-fast) var(--hah-ease), box-shadow var(--hah-fast) var(--hah-ease);
}
body.hah-site .hah-product__form .hah-options button.hah-option:hover { border-color: var(--hah-green-600); color: var(--hah-green-800); }
body.hah-site .hah-product__form .hah-options button.hah-option.is-active,
body.hah-site .hah-product__form .hah-options button.hah-option.is-active:hover,
body.hah-site .hah-product__form .hah-options button.hah-option.is-active:focus {
	border-color: var(--hah-green-600);
	background: var(--hah-green-50);
	color: var(--hah-green-800);
	box-shadow: inset 0 0 0 1.5px var(--hah-green-600);
}
body.hah-site .hah-product__form .hah-options button.hah-option.is-out,
body.hah-site .hah-product__form .hah-options button.hah-option.is-out:hover { background: var(--hah-bg); color: var(--hah-muted); border-style: dashed; text-decoration: line-through; cursor: not-allowed; }
body.hah-site .hah-product__form table.variations th.label label,
body.hah-site .hah-product__form table.variations label { font-size: 0.9375rem; font-weight: 700; color: var(--hah-ink); margin-bottom: 8px; }

/* A not-yet-ready buy button stays saffron (lighter), never grey or blue */
body.hah-site .hah-product .hah-product__form form.cart button.single_add_to_cart_button.disabled,
body.hah-site .hah-product .hah-product__form form.cart button.single_add_to_cart_button:disabled { background: var(--hah-accent-600) !important; opacity: 0.55; cursor: pointer; }
.hah-choose-hint { margin: 8px 0 0; font-size: var(--hah-fs-sm); font-weight: 700; color: var(--hah-accent-700); }
.hah-zoom__stage { display: grid; place-items: center; min-width: 200px; min-height: 200px; }

/* ---- Product card image: always inside its square, whatever the photo's shape.
        (WooCommerce's own "img { height: auto }" rule was letting tall photos
        grow past the square on product pages.) ---- */
body.hah-site .hah-pcard .hah-pcard__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
body.hah-site .hah-pcard .hah-pcard__media img {
	position: absolute !important;
	inset: 10px !important;
	width: calc(100% - 20px) !important;
	height: calc(100% - 20px) !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: contain !important;
}
@media (min-width: 900px) {
	body.hah-site .hah-pcard .hah-pcard__media img { inset: 16px !important; width: calc(100% - 32px) !important; height: calc(100% - 32px) !important; }
}
body.hah-site .hah-line__img img,
body.hah-site .hah-suggest__item img,
body.hah-site .hah-gallery__thumb img,
body.hah-site .hah-hero__pack img,
body.hah-site .hah-banner__shot img { object-fit: contain !important; max-height: 100% !important; }
body.hah-site .hah-line__img img { width: 100% !important; height: 100% !important; }
body.hah-site .hah-gallery__slide img { position: absolute !important; inset: 6% !important; width: 88% !important; height: 88% !important; max-width: none !important; object-fit: contain !important; }

/* ---- Phones: the breadcrumb stops at the category; the product name is the page heading ---- */
@media (max-width: 899px) {
	.hah-crumbs .hah-crumbs__current--product,
	.hah-crumbs .hah-crumbs__sep--last { display: none; }
}

/* ---- Product with no price: "Currently unavailable. Ask us on WhatsApp" ---- */
.hah-unavailable { margin: 0; font-size: var(--hah-fs-sm); line-height: 1.4; color: var(--hah-ink-2); }
.hah-unavailable b { color: var(--hah-ink); font-weight: 700; }
.hah-site .hah-unavailable a { color: var(--hah-green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.hah-unavailable--card { font-size: var(--hah-fs-xs); }
.hah-unavailable--card b { display: block; }
.hah-pcard__foot--na { display: block; }
.hah-unavailable--page.hah-note { display: block; font-size: 1rem; }
.hah-suggest__price i { font-style: normal; color: var(--hah-muted); font-weight: 600; }

/* ---- Home slider: the owner's own slides (image on the right, real text on the left) ---- */
.hah-hero__photo { justify-self: center; align-self: center; width: min(100%, 170px); aspect-ratio: 1; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16), 0 14px 28px rgba(0, 0, 0, 0.2); }
body.hah-site .hah-hero__photo img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: contain !important; }
.hah-hero__slide--noimg { grid-template-columns: 1fr; }
@media (min-width: 800px) { .hah-hero__photo { width: 300px; border-radius: 28px; } }

/* ==========================================================================
   Home page builder (22 Nov 2026)
   ========================================================================== */
/* Slider: each slide is exactly one screen wide, so no strip of the next slide shows. */
.hah-hero__track { gap: 0; scroll-snap-stop: always; overscroll-behavior-x: contain; }
.hah-hero__slide { flex: 0 0 100%; min-width: 100%; scroll-snap-align: start; }
.hah-hero--short .hah-hero__slide { min-height: 160px; }
.hah-hero--tall .hah-hero__slide { min-height: 260px; }
@media (min-width: 800px) {
	.hah-hero--short .hah-hero__slide { min-height: 240px; }
	.hah-hero--tall .hah-hero__slide { min-height: 420px; }
}
.hah-hero__slide--image { display: block; min-height: 0 !important; border-radius: var(--hah-r-xl); overflow: hidden; background: var(--hah-green-50); }
body.hah-site .hah-hero__slide--image img { display: block; width: 100% !important; height: auto !important; max-width: none; }
.hah-hero__arrow { position: absolute; top: calc(50% - 34px); z-index: 2; display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hah-line); background: #fff; color: var(--hah-ink); box-shadow: var(--hah-shadow-2); cursor: pointer; place-items: center; }
.hah-hero__arrow--prev { left: 10px; }
.hah-hero__arrow--next { right: 10px; }
.hah-site .hah-hero__arrow:hover { background: var(--hah-green-50); color: var(--hah-green-700); }
.hah-hero__arrow:focus-visible { outline: 3px solid var(--hah-green-200); outline-offset: 2px; }
@media (min-width: 800px) { .hah-hero__arrow { display: grid; } }
.hah-banner[style] .hah-banner__title em { color: inherit; opacity: 0.85; }

/* Image banner and banner grid. */
.hah-imgbanner { display: block; border-radius: var(--hah-r-xl); overflow: hidden; background: var(--hah-green-50); transition: box-shadow var(--hah-med) var(--hah-ease), transform var(--hah-med) var(--hah-ease); }
body.hah-site .hah-imgbanner img { display: block; width: 100% !important; height: auto !important; max-width: none; }
a.hah-imgbanner:hover { box-shadow: var(--hah-shadow-2); }
@media (hover: hover) and (pointer: fine) { a.hah-imgbanner:hover { transform: translateY(-2px); } }
a.hah-imgbanner:focus-visible { outline: 3px solid var(--hah-green-200); outline-offset: 3px; }
.hah-bannergrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hah-3); }
.hah-bannergrid .hah-imgbanner { border-radius: var(--hah-r-lg); }
@media (min-width: 800px) {
	.hah-bannergrid { gap: var(--hah-4); }
	.hah-bannergrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hah-bannergrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Section backgrounds and "desktop only / phone only". */
.hah-sec--band { margin-inline: calc(-1 * var(--hah-4)); padding: var(--hah-6) var(--hah-4); }
.hah-sec--green { background: var(--hah-green-50); }
.hah-sec--white { background: #fff; }
@media (min-width: 800px) { .hah-sec--band { margin-inline: 0; padding: var(--hah-8); border-radius: var(--hah-r-xl); } }
@media (max-width: 799px) { .hah-only-desktop { display: none !important; } }
@media (min-width: 800px) { .hah-only-phone { display: none !important; } }
.hah-sec--first { margin-top: 0; }
.hah-home .hah-sec--trust { margin-top: var(--hah-4); }
.hah-home .hah-sec--trust .hah-home__trust { margin-top: 0; }

/* Text block, WhatsApp card, offer strip, video. */
.hah-textblock { display: grid; gap: var(--hah-4); padding: var(--hah-5); align-items: center; }
.hah-textblock .hah-h2 { margin: 0 0 6px; }
.hah-textblock .hah-body { margin: 0; color: var(--hah-ink-2); max-width: 70ch; }
.hah-textblock--wa { background: var(--hah-green-50); border-color: var(--hah-green-200); }
@media (min-width: 800px) { .hah-textblock { grid-template-columns: 1fr auto; padding: var(--hah-8); } }
.hah-offer--strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hah-3); }
.hah-video { position: relative; display: block; width: 100%; max-width: 860px; margin-inline: auto; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--hah-r-xl); overflow: hidden; background: #000; cursor: pointer; }
body.hah-site .hah-video img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; opacity: 0.86; }
.hah-video__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--hah-accent-600); box-shadow: var(--hah-shadow-3); }
.hah-video__play::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.hah-video:focus-visible { outline: 3px solid var(--hah-green-200); outline-offset: 3px; }
iframe.hah-video--playing { cursor: default; }
.hah-grid--row { margin-top: var(--hah-3); }
.hah-home--inpage { margin-top: var(--hah-8); }

/* Product details as tabs (Customize > G. Product page). */
.hah-tabs { background: #fff; border: 1px solid var(--hah-line); border-radius: var(--hah-r-lg); overflow: hidden; }
.hah-tabs__list { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--hah-line); background: var(--hah-green-50); padding: 6px 6px 0; }
.hah-tabs__list::-webkit-scrollbar { display: none; }
.hah-site .hah-tabs__tab,
.hah-site .hah-tabs__tab:focus { flex: none; min-height: 44px; padding: 0 var(--hah-4); border: 0; border-radius: var(--hah-r-sm) var(--hah-r-sm) 0 0; background: transparent; color: var(--hah-ink-2); font: 600 var(--hah-fs-sm) / 1 var(--hah-font); cursor: pointer; white-space: nowrap; }
.hah-site .hah-tabs__tab:hover { background: #fff; color: var(--hah-green-700); }
.hah-site .hah-tabs__tab.is-active { background: #fff; color: var(--hah-green-700); box-shadow: inset 0 -3px 0 var(--hah-green-600); }
.hah-tabs__tab:focus-visible { outline: 3px solid var(--hah-green-200); outline-offset: -3px; }
.hah-tabs__panel { padding: var(--hah-4); }

/* ==========================================================================
   Buying helpers (switches and wording: Customize > G. Product page, I. Cart)
   ========================================================================== */
/* Buy now is the saffron button; Add to cart becomes the outlined one beside it. */
.hah-product__form--buynow .woocommerce-variation-add-to-cart,
.hah-product__form--buynow form.cart:not(.variations_form) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hah-product__form--buynow .quantity { grid-column: 1 / -1; justify-self: start; }
.hah-product__form--buynow .hah-buynow { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
@media (min-width: 600px) {
	.hah-product__form--buynow .woocommerce-variation-add-to-cart,
	.hah-product__form--buynow form.cart:not(.variations_form) { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
	.hah-product__form--buynow .quantity { grid-column: auto; }
}
body.hah-site .hah-product .hah-product__form.hah-product__form--buynow form.cart button.single_add_to_cart_button:not(.hah-buynow),
body.hah-site .hah-product .hah-product__form.hah-product__form--buynow form.cart button.single_add_to_cart_button:not(.hah-buynow):focus,
body.hah-site .hah-product .hah-product__form.hah-product__form--buynow form.cart button.single_add_to_cart_button.alt:not(.hah-buynow) {
	background: #fff !important;
	color: var(--hah-accent-700) !important;
	border: 2px solid var(--hah-accent-600) !important;
	padding: 0 var(--hah-3);
}
body.hah-site .hah-product .hah-product__form.hah-product__form--buynow form.cart button.single_add_to_cart_button:not(.hah-buynow):hover { background: var(--hah-accent-50) !important; color: var(--hah-accent-700) !important; }
body.hah-site .hah-product .hah-product__form.hah-product__form--buynow form.cart button.single_add_to_cart_button:not(.hah-buynow).disabled,
body.hah-site .hah-product .hah-product__form.hah-product__form--buynow form.cart button.single_add_to_cart_button:not(.hah-buynow):disabled { background: #fff !important; opacity: 0.55; }
body.hah-site .hah-product .hah-product__form.hah-product__form--buynow form.cart button.single_add_to_cart_button { padding: 0 var(--hah-3); }
@media (max-width: 420px) {
	body.hah-site .hah-product .hah-product__form.hah-product__form--buynow form.cart button.single_add_to_cart_button { font-size: 0.9375rem; }
}
.hah-buybar__add { flex: 0 0 auto !important; padding: 0 var(--hah-3); }
@media (max-width: 359px) { .hah-buybar__add span { display: none; } }

/* "You save" */
.hah-save { margin: 6px 0 0; display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; background: var(--hah-green-50); color: var(--hah-green-800); font-size: var(--hah-fs-sm); font-weight: 700; }
.hah-save[hidden] { display: none; }
.hah-save--sm { margin: 0; font-size: var(--hah-fs-xs); }
.hah-product__price .hah-save + p { margin-top: 6px; }
.hah-saved { display: flex; align-items: center; gap: 8px; margin: var(--hah-3) 0 0; padding: 8px 12px; border-radius: var(--hah-r-sm); background: var(--hah-green-50); color: var(--hah-green-800); font-size: var(--hah-fs-sm); font-weight: 600; line-height: 1.35; }
.hah-saved .hah-icon { flex: none; }
.hah-cartdrawer__foot .hah-saved { margin: 0 0 var(--hah-3); }

/* Free-delivery line on the product page, coupon line in the cart */
.hah-freeline,
.hah-nudge-line { display: flex; align-items: center; gap: 8px; margin: var(--hah-3) 0 0; font-size: var(--hah-fs-sm); line-height: 1.4; color: var(--hah-ink-2); }
.hah-freeline[hidden] { display: none; }
.hah-freeline .hah-icon { flex: none; color: var(--hah-green-700); }
.hah-freeline.is-done { color: var(--hah-green-800); font-weight: 600; }
.hah-nudge-line { margin: 0 0 var(--hah-3); padding: 10px 12px; border: 1.5px dashed #f2b48f; border-radius: var(--hah-r-md); background: var(--hah-accent-50); color: #7a2a06; }
.hah-nudge-line .hah-icon { flex: none; color: var(--hah-accent-700); }
.hah-cartdrawer__scroll .hah-nudge-line { margin: var(--hah-3) var(--hah-4) 0; }

/* WhatsApp buttons */
.hah-site .hah-btn--wa,
.hah-site .hah-btn--wa:focus { --btn-bg: #fff; --btn-bg-hover: #e9f9ef; --btn-fg: #0b6b34; --btn-bd: #1fa855; margin-top: var(--hah-3); }
.hah-site .hah-btn--wa-solid,
.hah-site .hah-btn--wa-solid:focus { --btn-bg: #128c48; --btn-bg-hover: #0b6b34; --btn-fg: #fff; --btn-bd: #128c48; }

/* Product facts */
.hah-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: var(--hah-3) 0; border: 1px solid var(--hah-line); border-radius: var(--hah-r-md); background: var(--hah-line); overflow: hidden; }
.hah-facts > div { padding: 8px 12px; background: #fff; min-width: 0; }
.hah-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.hah-facts dt { margin: 0; font-size: var(--hah-fs-xs); font-weight: 600; color: var(--hah-muted); }
.hah-facts dd { margin: 2px 0 0; font-size: var(--hah-fs-sm); font-weight: 700; color: var(--hah-ink); overflow-wrap: anywhere; }
.hah-facts dd a { color: var(--hah-green-700); }

/* Desktop: the price and the buy buttons stay in view beside the description */
.hah-stickybuy { display: none; }
@media (min-width: 1000px) {
	.hah-detailwrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--hah-8); align-items: start; }
	.hah-detailwrap .hah-details { max-width: none; }
	.hah-stickybuy { display: grid; gap: var(--hah-3); position: sticky; top: calc(140px + var(--hah-bar, 0px)); margin-top: var(--hah-8); padding: var(--hah-4); }
	.hah-stickybuy__head { display: flex; align-items: center; gap: var(--hah-3); }
	.hah-stickybuy__img { flex: none; width: 56px; height: 56px; border-radius: var(--hah-r-sm); background: #fff; border: 1px solid var(--hah-line); display: grid; place-items: center; overflow: hidden; }
	.hah-stickybuy__img img { width: 100%; height: 100%; object-fit: contain; }
	.hah-stickybuy__name { font-size: var(--hah-fs-sm); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.hah-stickybuy__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
	.hah-stickybuy__now { font-size: 1.5rem; font-weight: 800; color: var(--hah-ink); }
	.hah-stickybuy__now small { font-size: var(--hah-fs-xs); font-weight: 500; color: var(--hah-muted); }
	.hah-stickybuy__mrp { color: var(--hah-muted); font-size: var(--hah-fs-sm); }
	.hah-stickybuy .hah-save { justify-self: start; }
}
/* Add to cart is the saffron outlined button wherever Buy now sits beside it */
.hah-site .hah-stickybuy .hah-btn--outline,
.hah-site .hah-buybar .hah-buybar__add { --btn-bg: #fff; --btn-bg-hover: var(--hah-accent-50); --btn-fg: var(--hah-accent-700); --btn-bd: var(--hah-accent-600); }
/* A "% off" pill with nothing in it (discount below the badge limit) takes no room */
.hah-off[hidden] { display: none !important; }
body.checkout-wc .hah-saved-row td { width: 100%; }

/* Share on WhatsApp (opens the shopper's own WhatsApp; no chat with the store) */
.hah-site .hah-sharebtn,
.hah-site .hah-sharebtn:focus { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--hah-3); padding: 6px 0; color: var(--hah-green-700); font-size: var(--hah-fs-sm); font-weight: 700; text-decoration: none; }
.hah-site .hah-sharebtn:hover { color: var(--hah-green-800); text-decoration: underline; }
.hah-dynrow[hidden], .hah-sec[data-hah-dyn][hidden] { display: none !important; }

/* Listing pages: "Load more" */
.hah-loadmore { display: grid; justify-items: center; gap: var(--hah-3); margin-top: var(--hah-6); text-align: center; }
.hah-loadmore[hidden] { display: none; }
.hah-loadmore__count { margin: 0; font-size: var(--hah-fs-sm); color: var(--hah-ink-2); }
.hah-site .hah-loadmore .hah-btn { min-width: min(100%, 280px); }
.hah-site .hah-loadmore .hah-btn.is-busy,
.hah-site .hah-addall .hah-btn.is-busy { opacity: 0.6; cursor: progress; }
.hah-pagination--quiet { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Product page: "Add all to cart" under Frequently bought together */
.hah-addall { display: grid; justify-items: start; gap: 6px; margin-top: var(--hah-4); }
.hah-addall p { margin: 0; }
.hah-site .hah-addall .hah-btn b { font-weight: 800; padding-left: 6px; border-left: 1px solid rgba(255, 255, 255, 0.5); margin-left: 2px; }
@media (max-width: 599px) { .hah-site .hah-addall .hah-btn { width: 100%; } }

/* Filter and sort bar on narrow phones: the sort box shrinks to the room that is left
   (its text is cut with "..." if needed) instead of running past the edge of a 320px screen. */
.hah-catalog__bar { min-width: 0; }
.hah-catalog__sort { min-width: 0; flex: 0 1 auto; }
.hah-catalog__sort form,
.hah-site .hah-catalog__sort .woocommerce-ordering { min-width: 0; max-width: 100%; }
.hah-site .hah-catalog .hah-catalog__sort select.orderby,
.hah-site .hah-catalog__sort select { max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.hah-catalog__filterbtn { flex: none; }

