/* ==========================================================================
   Homoeo At Home — shared components
   Every class is prefixed .hah- so nothing here can clash with plugins.
   ========================================================================== */

.hah,
.hah * {
	box-sizing: border-box;
}
.hah {
	font-family: var(--hah-font);
	font-size: var(--hah-fs-body);
	line-height: 1.5;
	color: var(--hah-ink);
	-webkit-font-smoothing: antialiased;
	font-variant-numeric: tabular-nums;
}
.hah img {
	max-width: 100%;
	height: auto;
	display: block;
}
.hah-icon {
	flex: none;
	display: inline-block;
	vertical-align: middle;
}
.hah-container {
	width: 100%;
	max-width: var(--hah-container);
	margin-inline: auto;
	padding-inline: var(--hah-4);
}
.hah-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---- Type ------------------------------------------------------------- */
.hah-display { font-size: var(--hah-fs-display); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.hah-h1 { font-size: var(--hah-fs-h1); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
.hah-h2 { font-size: var(--hah-fs-h2); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.hah-h3 { font-size: var(--hah-fs-h3); line-height: 1.35; font-weight: 700; margin: 0; }
.hah-body { font-size: var(--hah-fs-body); line-height: 1.55; margin: 0; }
.hah-sm { font-size: var(--hah-fs-sm); line-height: 1.45; margin: 0; }
.hah-xs { font-size: var(--hah-fs-xs); line-height: 1.35; margin: 0; }
.hah-eyebrow { font-size: var(--hah-fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hah-green-600); margin: 0; }
.hah-muted { color: var(--hah-muted); }

/* ---- Buttons ---------------------------------------------------------- */
.hah-btn {
	--btn-bg: var(--hah-green-600);
	--btn-bg-hover: var(--hah-green-700);
	--btn-fg: #fff;
	--btn-bd: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--hah-2);
	min-height: 48px;
	padding: 0 var(--hah-5);
	border: 1.5px solid var(--btn-bd);
	border-radius: var(--hah-r-md);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font: 700 var(--hah-fs-body) / 1 var(--hah-font);
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--hah-fast) var(--hah-ease), transform var(--hah-fast) var(--hah-ease), box-shadow var(--hah-fast) var(--hah-ease), border-color var(--hah-fast) var(--hah-ease);
	-webkit-tap-highlight-color: transparent;
}
.hah-btn:hover { background: var(--btn-bg-hover); }
@media (hover: hover) and (pointer: fine) { .hah-btn:active { transform: scale(0.98); } }
.hah-btn:focus-visible,
.hah-chip:focus-visible,
.hah-input:focus-visible,
.hah-stepper button:focus-visible {
	outline: 3px solid var(--hah-green-200);
	outline-offset: 2px;
}
.hah-btn--buy { --btn-bg: var(--hah-accent-600); --btn-bg-hover: var(--hah-accent-700); }
.hah-btn--outline { --btn-bg: #fff; --btn-bg-hover: var(--hah-green-50); --btn-fg: var(--hah-green-700); --btn-bd: var(--hah-green-600); }
.hah-btn--ghost { --btn-bg: transparent; --btn-bg-hover: var(--hah-green-50); --btn-fg: var(--hah-green-700); padding-inline: var(--hah-3); }
.hah-btn--sm { min-height: 36px; padding: 0 var(--hah-3); font-size: var(--hah-fs-sm); border-radius: var(--hah-r-sm); }
.hah-btn--lg { min-height: 54px; font-size: 1.0625rem; padding: 0 var(--hah-6); }
.hah-btn--block { width: 100%; }
.hah-btn[disabled],
.hah-btn.is-disabled { background: var(--hah-line); color: var(--hah-muted); border-color: transparent; cursor: not-allowed; transform: none; }
.hah-btn.is-loading { color: transparent; position: relative; pointer-events: none; }
.hah-btn.is-loading::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2.5px solid rgba(255, 255, 255, 0.45);
	border-top-color: #fff;
	animation: hah-spin 0.7s linear infinite;
}
@keyframes hah-spin { to { transform: rotate(360deg); } }

/* ---- ADD button and quantity stepper ---------------------------------- */
.hah-add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 76px;
	height: 36px;
	padding: 0 var(--hah-3);
	border: 1.5px solid var(--hah-accent-600);
	border-radius: var(--hah-r-sm);
	background: #fff;
	color: var(--hah-accent-600);
	font: 800 var(--hah-fs-sm) / 1 var(--hah-font);
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background var(--hah-fast) var(--hah-ease), color var(--hah-fast) var(--hah-ease), transform var(--hah-fast) var(--hah-ease);
}
.hah-add:hover { background: var(--hah-accent-600); color: #fff; }
@media (hover: hover) and (pointer: fine) { .hah-add:active { transform: scale(0.96); } }
.hah-stepper {
	display: inline-grid;
	grid-template-columns: 30px minmax(24px, auto) 30px;
	align-items: center;
	height: 36px;
	min-width: 88px;
	border-radius: var(--hah-r-sm);
	background: var(--hah-accent-600);
	color: #fff;
	overflow: hidden;
	animation: hah-pop var(--hah-med) var(--hah-ease);
}
.hah-stepper button {
	height: 100%;
	border: 0;
	background: transparent;
	color: inherit;
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
}
.hah-stepper button:hover { background: rgba(0, 0, 0, 0.12); }
.hah-stepper output { text-align: center; font-weight: 800; font-size: var(--hah-fs-sm); }
.hah-stepper--lg { height: 48px; grid-template-columns: 44px minmax(36px, auto) 44px; border-radius: var(--hah-r-md); }
@keyframes hah-pop { from { transform: scale(0.92); opacity: 0.6; } to { transform: none; opacity: 1; } }

/* ---- Fields ----------------------------------------------------------- */
.hah-field { display: grid; gap: 6px; }
.hah-label { font-size: var(--hah-fs-sm); font-weight: 600; color: var(--hah-ink-2); }
.hah-input {
	width: 100%;
	min-height: 48px;
	padding: 0 var(--hah-4);
	border: 1.5px solid var(--hah-line-strong);
	border-radius: var(--hah-r-md);
	background: #fff;
	color: var(--hah-ink);
	font: 500 var(--hah-fs-body) / 1.2 var(--hah-font);
	transition: border-color var(--hah-fast) var(--hah-ease), box-shadow var(--hah-fast) var(--hah-ease);
}
.hah-input::placeholder { color: var(--hah-muted); font-weight: 400; }
.hah-input:focus { border-color: var(--hah-green-600); outline: none; box-shadow: 0 0 0 4px var(--hah-green-100); }
.hah-field.is-error .hah-input { border-color: var(--hah-danger); box-shadow: 0 0 0 4px var(--hah-danger-bg); }
.hah-help { font-size: var(--hah-fs-xs); color: var(--hah-muted); }
.hah-field.is-error .hah-help { color: var(--hah-danger); font-weight: 600; display: flex; gap: 4px; align-items: center; }
.hah-inline { display: flex; gap: var(--hah-2); }
.hah-inline .hah-input { flex: 1; min-width: 0; }

.hah-search {
	display: flex;
	align-items: center;
	gap: var(--hah-2);
	height: 48px;
	padding: 0 var(--hah-4);
	border-radius: var(--hah-r-pill);
	background: var(--hah-bg);
	border: 1.5px solid transparent;
	color: var(--hah-muted);
	transition: border-color var(--hah-fast), background var(--hah-fast), box-shadow var(--hah-fast);
}
.hah-search:focus-within { background: #fff; border-color: var(--hah-green-600); box-shadow: 0 0 0 4px var(--hah-green-100); }
.hah-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font: 500 var(--hah-fs-body) var(--hah-font); color: var(--hah-ink); }

/* ---- Chips, tags, pills ---------------------------------------------- */
.hah-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 0 var(--hah-3);
	border: 1.5px solid var(--hah-line-strong);
	border-radius: var(--hah-r-pill);
	background: #fff;
	color: var(--hah-ink-2);
	font: 600 var(--hah-fs-sm) / 1 var(--hah-font);
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
	transition: all var(--hah-fast) var(--hah-ease);
}
.hah-add { text-decoration: none; }
.hah-chip:hover { border-color: var(--hah-green-600); color: var(--hah-green-700); }
.hah-chip.is-active { background: var(--hah-green-50); border-color: var(--hah-green-600); color: var(--hah-green-700); }
.hah-chip--pin { border-style: dashed; color: var(--hah-green-700); border-color: var(--hah-green-200); background: var(--hah-green-50); }
.hah-option {
	min-width: 64px;
	min-height: 44px;
	padding: 6px var(--hah-3);
	border: 1.5px solid var(--hah-line-strong);
	border-radius: var(--hah-r-md);
	background: #fff;
	font: 700 var(--hah-fs-sm) / 1.2 var(--hah-font);
	color: var(--hah-ink);
	cursor: pointer;
	text-align: center;
	transition: all var(--hah-fast) var(--hah-ease);
}
.hah-option small { display: block; font-weight: 500; color: var(--hah-muted); font-size: var(--hah-fs-xs); }
.hah-option.is-active { border-color: var(--hah-green-600); background: var(--hah-green-50); box-shadow: inset 0 0 0 1px var(--hah-green-600); }
.hah-option.is-out { color: var(--hah-muted); background: var(--hah-bg); text-decoration: line-through; cursor: not-allowed; }

.hah-off {
	display: inline-flex;
	align-items: center;
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--hah-green-100);
	color: var(--hah-green-700);
	font-size: var(--hah-fs-xs);
	font-weight: 800;
	white-space: nowrap;
}
.hah-flag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--hah-accent-600);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.hah-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--hah-r-pill); font-size: var(--hah-fs-xs); font-weight: 700; }
.hah-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hah-pill--ok { background: var(--hah-green-100); color: var(--hah-green-700); }
.hah-pill--wait { background: var(--hah-warn-bg); color: var(--hah-warn); }
.hah-pill--info { background: var(--hah-info-bg); color: var(--hah-info); }
.hah-pill--bad { background: var(--hah-danger-bg); color: var(--hah-danger); }

/* ---- Price ------------------------------------------------------------ */
.hah-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.hah-price__now { font-size: 1.0625rem; font-weight: 800; color: var(--hah-ink); }
.hah-price__from { font-size: var(--hah-fs-xs); color: var(--hah-muted); font-weight: 500; }
.hah-price__mrp { font-size: var(--hah-fs-xs); color: var(--hah-muted); text-decoration: line-through; }
.hah-price--lg .hah-price__now { font-size: 1.75rem; letter-spacing: -0.01em; }
.hah-price--lg .hah-price__mrp { font-size: var(--hah-fs-sm); }

/* ---- Card + product card --------------------------------------------- */
.hah-card {
	background: var(--hah-surface);
	border: 1px solid var(--hah-line);
	border-radius: var(--hah-r-lg);
	box-shadow: var(--hah-shadow-1);
}
.hah-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--hah-2);
}
@media (min-width: 640px) { .hah-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hah-3); } }
@media (min-width: 900px) { .hah-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--hah-4); } }
@media (min-width: 1180px) { .hah-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.hah-pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--hah-line);
	border-radius: var(--hah-r-md);
	overflow: hidden;
	transition: box-shadow var(--hah-med) var(--hah-ease), transform var(--hah-med) var(--hah-ease), border-color var(--hah-med) var(--hah-ease);
}
@media (hover: hover) {
	.hah-pcard:hover { box-shadow: var(--hah-shadow-2); border-color: var(--hah-line-strong); }
}
@media (hover: hover) and (pointer: fine) { .hah-pcard:hover { transform: translateY(-2px); } }
.hah-pcard__media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: #fff;
	padding: 10px;
	display: block;
}
.hah-pcard__media img {
	position: absolute;
	inset: 10px;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	max-width: none;
	object-fit: contain; /* whole pack always visible, never cropped */
}
.hah-pcard__flag { position: absolute; top: 8px; left: 8px; z-index: 1; }
.hah-pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 0 10px 10px; flex: 1; }
.hah-pcard__brand { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hah-muted); }
.hah-pcard__title {
	font-size: var(--hah-fs-sm);
	font-weight: 600;
	line-height: 1.3;
	color: var(--hah-ink);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em; /* keeps every card the same height */
}
.hah-pcard__meta { font-size: var(--hah-fs-xs); color: var(--hah-muted); min-height: 1.35em; }
.hah-pcard__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.hah-pcard__foot .hah-price { flex-direction: column; gap: 0; align-items: flex-start; }
.hah-pcard__mrpline { display: flex; align-items: center; gap: 5px; }
@media (min-width: 900px) {
	.hah-pcard__media img { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
	.hah-pcard__body { padding: 0 14px 14px; }
}

/* ---- Skeleton loading ------------------------------------------------- */
.hah-skel {
	display: block;
	border-radius: 6px;
	background: linear-gradient(100deg, #e9eeea 30%, #f6f9f7 50%, #e9eeea 70%);
	background-size: 300% 100%;
	animation: hah-shimmer 1.3s linear infinite;
}
@keyframes hah-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .hah-skel { animation: none; } }

/* ---- Messages --------------------------------------------------------- */
.hah-note { display: flex; gap: var(--hah-3); align-items: flex-start; padding: var(--hah-3) var(--hah-4); border-radius: var(--hah-r-md); font-size: var(--hah-fs-sm); font-weight: 500; }
.hah-note--ok { background: var(--hah-green-50); color: var(--hah-green-800); border: 1px solid var(--hah-green-200); }
.hah-note--err { background: var(--hah-danger-bg); color: #8e1c1c; border: 1px solid #f3c4c4; }
.hah-note--warn { background: var(--hah-warn-bg); color: #6f4200; border: 1px solid #f0d9a8; }
.hah-toast {
	display: inline-flex;
	align-items: center;
	gap: var(--hah-3);
	padding: var(--hah-3) var(--hah-4);
	border-radius: var(--hah-r-md);
	background: var(--hah-ink);
	color: #fff;
	font-size: var(--hah-fs-sm);
	font-weight: 600;
	box-shadow: var(--hah-shadow-3);
}
.hah-toast .hah-icon { color: var(--hah-lime-500); }
.hah-toast a { color: var(--hah-lime-500); font-weight: 700; text-decoration: none; margin-left: var(--hah-2); }

.hah-progress { display: grid; gap: 6px; font-size: var(--hah-fs-sm); font-weight: 600; }
.hah-progress__bar { height: 8px; border-radius: 99px; background: var(--hah-green-100); overflow: hidden; }
.hah-progress__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--hah-lime-500), var(--hah-green-600)); transition: width var(--hah-med) var(--hah-ease); }

.hah-empty { text-align: center; padding: var(--hah-8) var(--hah-4); display: grid; justify-items: center; gap: var(--hah-3); }
.hah-empty__art { width: 132px; height: 132px; }

/* ---- Tiles, trust strip ---------------------------------------------- */
.hah-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--hah-2); }
@media (min-width: 720px) { .hah-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--hah-3); } }
@media (min-width: 1100px) { .hah-tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.hah-tile {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: var(--hah-3) 4px;
	border-radius: var(--hah-r-lg);
	text-decoration: none;
	color: var(--hah-ink);
	font-size: var(--hah-fs-xs);
	font-weight: 600;
	text-align: center;
	line-height: 1.25;
	transition: transform var(--hah-med) var(--hah-ease);
}
.hah-tile__art {
	position: relative;
	width: 60px;
	height: 60px;
	border-radius: 20px;
	display: grid;
	place-items: center;
	color: var(--hah-green-700);
	background: var(--tile-bg, var(--hah-green-100));
	overflow: hidden;
	transition: transform var(--hah-med) var(--hah-ease), box-shadow var(--hah-med) var(--hah-ease);
}
.hah-tile__art::before {
	content: "";
	position: absolute;
	width: 38px;
	height: 38px;
	right: -10px;
	bottom: -12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.65);
}
.hah-tile__art .hah-icon { position: relative; }
.hah-tile:hover .hah-tile__art { box-shadow: var(--hah-shadow-2); }
@media (hover: hover) and (pointer: fine) { .hah-tile:hover .hah-tile__art { transform: translateY(-3px) rotate(-3deg); } }
.hah-tile:nth-child(4n + 2) { --tile-bg: var(--hah-lime-100); }
.hah-tile:nth-child(4n + 3) { --tile-bg: var(--hah-accent-50); }
.hah-tile:nth-child(4n + 3) .hah-tile__art { color: var(--hah-accent-700); }
.hah-tile:nth-child(4n + 4) { --tile-bg: #e6f1f7; }
.hah-tile:nth-child(4n + 4) .hah-tile__art { color: #1f5f7a; }
@media (min-width: 720px) {
	.hah-tile { font-size: var(--hah-fs-sm); }
	.hah-tile__art { width: 76px; height: 76px; border-radius: 24px; }
	.hah-tile__art .hah-icon { width: 38px; height: 38px; }
}

.hah-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hah-2); }
@media (min-width: 800px) { .hah-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--hah-4); } }
.hah-trust__item { display: flex; gap: var(--hah-3); align-items: center; padding: var(--hah-3); border-radius: var(--hah-r-md); background: #fff; border: 1px solid var(--hah-line); }
.hah-trust__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--hah-green-100); color: var(--hah-green-700); flex: none; }
.hah-trust__item b { display: block; font-size: var(--hah-fs-sm); line-height: 1.25; }
.hah-trust__item div > span { font-size: var(--hah-fs-xs); color: var(--hah-muted); line-height: 1.3; display: block; }
.hah-trust__item .hah-trust__icon { display: grid; place-items: center; }
.hah-trust__item .hah-trust__icon svg { display: block; margin: auto; }

/* ---- Banner (real text over a designed background) -------------------- */
.hah-banner {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	gap: var(--hah-3);
	min-height: 180px;
	padding: var(--hah-5);
	border-radius: var(--hah-r-xl);
	overflow: hidden;
	color: #fff;
	background: radial-gradient(120% 140% at 0% 0%, #0a9a45 0%, var(--hah-green-600) 42%, var(--hah-green-800) 100%);
	isolation: isolate;
}
.hah-banner__deco { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hah-banner__eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.16); font-size: var(--hah-fs-xs); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.hah-banner__title { font-size: clamp(1.375rem, 0.9rem + 2.6vw, 2.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 6px; }
.hah-banner__title em { font-style: normal; color: #d9ef8a; }
.hah-banner__text { font-size: var(--hah-fs-sm); opacity: 0.92; margin: 0 0 var(--hah-4); max-width: 38ch; }
.hah-banner .hah-btn { --btn-bg: #fff; --btn-bg-hover: var(--hah-lime-100); --btn-fg: var(--hah-green-800); min-height: 42px; }
.hah-banner__shot {
	justify-self: center;
	width: min(100%, 230px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: #fff;
	position: relative;
	box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.14), 0 24px 40px rgba(0, 0, 0, 0.22);
}
.hah-banner__shot img { position: absolute; inset: 17%; width: 66%; height: 66%; max-width: none; object-fit: contain; }
@media (min-width: 800px) {
	.hah-banner { min-height: 300px; padding: var(--hah-12); }
	.hah-banner__text { font-size: var(--hah-fs-body); }
	.hah-banner__shot { width: 300px; }
	.hah-banner .hah-btn { min-height: 48px; }
}

/* ---- Mobile bottom bar ------------------------------------------------ */
.hah-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--hah-line); box-shadow: 0 -4px 16px rgba(16, 40, 28, 0.06); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.hah-tabbar a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 4px 0; font-size: 0.6875rem; font-weight: 600; color: var(--hah-muted); text-decoration: none; }
.hah-tabbar a.is-active { color: var(--hah-green-700); }
.hah-tabbar a.is-active::before { content: ""; position: absolute; top: -6px; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--hah-green-600); }
.hah-count { position: absolute; top: -2px; left: calc(50% + 4px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--hah-accent-600); color: #fff; font-size: 0.625rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; box-sizing: content-box; }

/* ---- Product card: phone layout ---------------------------------------
   On phones the ADD button sits on the corner of the product image, so the
   card stays short and four or more products fit on one screen. */
.hah-pcard__meta { min-height: 0; }
.hah-pcard__cta { display: inline-flex; flex: none; }
@media (max-width: 639px) {
	.hah-pcard__cta {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		aspect-ratio: 1 / 1;
		padding: 8px;
		align-items: flex-end;
		justify-content: flex-end;
		pointer-events: none;
		z-index: 2;
	}
	.hah-pcard__cta > * { pointer-events: auto; box-shadow: var(--hah-shadow-2); }
	.hah-pcard__cta .hah-add { min-width: 64px; height: 34px; }
	.hah-pcard__cta .hah-stepper { height: 34px; min-width: 84px; grid-template-columns: 28px minmax(24px, auto) 28px; }
	.hah-pcard__media { margin-bottom: 2px; }
	.hah-pcard__title { font-size: 0.8125rem; }
}
.hah-pill { white-space: nowrap; }

/* Phones (320 to 480 wide): product card titles 13px, every other small label at least 11.5px */
@media (max-width: 480px) {
	.hah-site .hah-pcard__title { font-size: 13px; line-height: 1.3; }
	.hah-site .hah-pcard__brand,
	.hah-site .hah-flag,
	.hah-site .hah-pcard__flag,
	.hah-site .hah-pcard__meta,
	.hah-site .hah-pcard .hah-off,
	.hah-site .hah-pcard .hah-price__mrp,
	.hah-site .hah-pcard .hah-price__from,
	.hah-site .hah-off,
	.hah-site .hah-eyebrow,
	.hah-site .hah-banner__eyebrow,
	.hah-site .hah-tabbar a,
	.hah-site .hah-pinchip__text small,
	.hah-site .hah-filters__n { font-size: 11.5px; }
	.hah-site .hah-pcard__brand { letter-spacing: 0.04em; }
	.hah-site .hah-count { font-size: 11.5px; min-width: 18px; height: 18px; line-height: 18px; }
}
