/* ==========================================================================
   HUSSSH: WooCommerce (shop, product, notices, account, cart/checkout blocks)
   Loaded after WooCommerce's styles. Tokens (--hh-*) come from css/theme.css.
   ========================================================================== */

/* ---------- Page titles (shop archive, cart, checkout, account) ---------- */
.page-header .page-title,
.woocommerce-products-header__title.page-title {
	margin: 0;
	font-size: clamp(36px, 4vw, 51px);
	line-height: 1;
	letter-spacing: -0.03em;
}

/* ---------- Buttons: WooCommerce buttons match the site's "Button: Dark" (.hh-btn--primary in theme.css) ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.hh-site .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 58px; padding: 0 34px;
	border: 1.5px solid var(--hh-ink); border-radius: var(--hh-radius);
	background: var(--hh-ink); color: var(--hh-white); box-shadow: none; text-shadow: none;
	font-family: var(--hh-font-body); font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center;
	transition: background-color var(--hh-t) var(--hh-ease), color var(--hh-t) var(--hh-ease),
	            border-color var(--hh-t) var(--hh-ease), box-shadow var(--hh-t) var(--hh-ease);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.hh-site .wc-block-components-button:not(.is-link):hover, .hh-site .wc-block-components-button:not(.is-link):focus {
	border-color: var(--hh-green); background: var(--hh-green); color: var(--hh-white);
	box-shadow: 0 10px 22px -10px rgba(15, 95, 80, .6);
}
.woocommerce a.button:focus-visible, .woocommerce button.button:focus-visible, .hh-site .wc-block-components-button:not(.is-link):focus-visible {
	outline: 3px solid var(--hh-green-bright); outline-offset: 3px;
}
.woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled, .woocommerce button.button:disabled[disabled] {
	border-color: var(--hh-ink); background: var(--hh-ink); color: var(--hh-white); box-shadow: none; opacity: .5;
}
.hh-site .wc-block-components-button:not(.is-link) .wc-block-components-button__text { line-height: 1.2; }
/* Blocks set min-height: 3em with a more specific selector (body:not(...) ...) */
body .hh-site .wc-block-components-button:not(.is-link) { min-height: 58px; }
/* ---------- Forms ---------- */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .quantity .qty {
	min-height: 52px; padding: 0 16px;
	border: 1px solid var(--hh-line-strong); border-radius: var(--hh-radius);
	background: var(--hh-white); color: var(--hh-ink); font-size: 16px;
}
.woocommerce form .form-row textarea { padding: 14px 16px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce .quantity .qty:focus {
	outline: none; border-color: var(--hh-green); box-shadow: 0 0 0 1px var(--hh-green);
}
.woocommerce form .form-row label { font-weight: 600; color: var(--hh-ink); }

/* ---------- Notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top: 0; border-left: 4px solid var(--hh-green); border-radius: var(--hh-radius);
	background: var(--hh-mint); color: var(--hh-ink);
}
.woocommerce-error { border-left-color: var(--hh-maple); background: #FBEDEC; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--hh-green); }
.woocommerce-error::before { color: var(--hh-maple); }
.woocommerce-message .button, .woocommerce-info .button { min-height: 44px; padding: 0 22px; font-size: 14px; }

/* ---------- Prices ---------- */
.woocommerce .price, .hh .hh-prod__price { color: var(--hh-ink); }
.woocommerce .price del, .hh .hh-prod__price del { color: var(--hh-muted); font-weight: 400; opacity: 1; }
.woocommerce .price ins, .hh .hh-prod__price ins { text-decoration: none; }

/* ---------- Product cards: shop archive + related (woocommerce/content-product.php) ---------- */
.woocommerce ul.products { display: flex; flex-wrap: wrap; gap: 30px; margin: 32px 0 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product.hh-shop__col {
	display: flex; float: none; width: calc((100% - 60px) / 3); margin: 0; padding: 0; font-size: 16px;
}
.woocommerce ul.products li.product .hh-prod__img img { width: auto; height: 78%; max-width: 86%; margin: 0; object-fit: contain; }
.woocommerce ul.products li.product .hh-prod__title { padding: 0; font-size: clamp(22px, 1.8vw, 26px); }
.woocommerce .related ul.products li.product .hh-prod__img, .woocommerce .upsells ul.products li.product .hh-prod__img { aspect-ratio: 4 / 3; }
.hh .hh-prod__price .woocommerce-Price-amount { font-family: var(--hh-font-display); font-weight: 700; font-size: 30px; line-height: 1; }
.hh .hh-prod__price del .woocommerce-Price-amount { font-family: var(--hh-font-body); font-size: 17px; }
.hh .hh-prod .add_to_cart_button, .hh .hh-prod .button { margin-top: 12px; min-height: 56px; }
/* Add to cart buttons (any AJAX one): spinner while adding, tick once added.
   WooCommerce's own "View cart" link is hidden: the "Added to your cart" panel links to the cart. */
/* Loading: the label gives way to a spinner (same button size), and the product card is dimmed. */
.hh .add_to_cart_button.loading, .hh .hh-btn.is-loading { position: relative; z-index: 3; color: transparent !important; pointer-events: none; }
.hh .add_to_cart_button.loading::after, .hh .hh-btn.is-loading::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px;
	border: 2.5px solid var(--hh-btn-fg, var(--hh-ink)); border-right-color: transparent; border-radius: 50%;
	animation: hh-spin .7s linear infinite;
}
.hh .hh-prod { position: relative; }
.hh .hh-prod::after, .hh .hh-p2packs::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: rgba(255, 255, 255, .6); opacity: 0; pointer-events: none; transition: opacity 200ms var(--hh-ease); }
.hh .hh-prod.is-adding::after, .hh .hh-p2packs.is-adding::after { opacity: 1; pointer-events: auto; cursor: progress; }
.hh .hh-p2packs { position: relative; }
.hh .add_to_cart_button.added::after { content: "✓"; margin-left: 8px; }
.hh .added_to_cart { display: none !important; }
.hh .hh-p2buy__cta.is-added { --hh-btn-bg: var(--hh-green); --hh-btn-bd: var(--hh-green); opacity: 1; }
@keyframes hh-spin { to { transform: rotate(360deg); } }
@media (max-width: 991px) {
	.woocommerce ul.products li.product.hh-shop__col { width: calc((100% - 30px) / 2); }
}
@media (max-width: 600px) {
	.woocommerce ul.products li.product.hh-shop__col { width: 100%; }
}

/* ---------- Sale badge ---------- */
.woocommerce span.onsale {
	top: 20px; left: 20px; right: auto; z-index: 2;
	min-width: 0; min-height: 0; margin: 0; padding: 7px 16px;
	border-radius: 999px; background: var(--hh-forest); color: var(--hh-white);
	font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: 1.8px; text-transform: uppercase;
}

/* ---------- Single product (template-parts/product-page.php) ----------
   Buy area here; its WPBakery sections (Botanical Callouts, Routine Timer,
   Rating & Quotes) are styled in pages.css. */
.hh .hh-p2 .hh-breadcrumb { margin-bottom: 20px; }
.hh .hh-p2top { padding: 20px 0 96px; }
.hh .hh-p2top__row { row-gap: 36px; }

/* Gallery: cut-out bottle on a field of label green; photos fill the frame */
.hh .hh-p2gal__main { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 4px; background: var(--hh-forest); }
.hh .hh-p2gal__art { position: absolute; fill: none; stroke: var(--hh-aqua); stroke-width: 1.2; stroke-linecap: round; opacity: .22; pointer-events: none; transform-origin: 50% 100%; animation: hh-sway 12s ease-in-out infinite; }
.hh .hh-p2gal__art--1 { width: 46%; left: -8%; top: 10%; transform: rotate(-18deg); }
.hh .hh-p2gal__art--2 { width: 40%; right: -6%; top: -8%; transform: rotate(150deg); animation-delay: -4s; }
.hh .hh-p2gal__art--3 { width: 34%; right: 4%; bottom: -14%; transform: rotate(24deg); animation-delay: -7s; }
.hh .hh-p2gal__main img { position: absolute; left: 50%; top: 50%; width: auto; height: 86%; max-width: 90%; object-fit: contain; translate: -50% -50%; filter: drop-shadow(0 28px 26px rgba(0, 0, 0, .35)); transition: opacity 250ms var(--hh-ease); }
.hh .hh-p2gal__main.is-cover img { left: 0; top: 0; width: 100%; height: 100%; max-width: none; translate: none; object-fit: cover; filter: none; }
.hh .hh-p2gal__main.is-cover .hh-p2gal__art { display: none; }
.hh .hh-p2gal__main img.is-fading { opacity: 0; }
.hh .hh-p2gal__thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.hh .hh-p2gal__thumb { position: relative; flex: 0 0 calc((100% - 36px) / 4); aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: 4px; background: #F3F1ED; cursor: pointer; }
.hh .hh-p2gal__thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--hh-green); transform: scaleX(0); transition: transform var(--hh-t) var(--hh-ease); }
.hh .hh-p2gal__thumb.is-active::after, .hh .hh-p2gal__thumb:hover::after { transform: scaleX(1); }
.hh .hh-p2gal__thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--hh-t) var(--hh-ease); }
.hh .hh-p2gal__thumb.is-cutout { background: var(--hh-forest); }
.hh .hh-p2gal__thumb.is-cutout img { object-fit: contain; padding: 10% 0; }
.hh .hh-p2gal__thumb:not(.is-active) img { opacity: .75; }
.hh .hh-p2gal__thumb:hover img { opacity: 1; }

/* Buy column */
.hh .hh-p2buy { padding-left: clamp(0px, 2vw, 28px); }
.hh .hh-p2buy__meta { font-size: 14px; color: var(--hh-muted); }
.hh .hh-p2buy__title { margin-top: 6px; font-family: var(--hh-font-display); font-weight: 700; font-size: clamp(34px, 3.1vw, 46px); line-height: .98; letter-spacing: -0.03em; color: var(--hh-ink); }
.hh .hh-p2buy__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--hh-muted); text-decoration: none; }
.hh .hh-p2buy__rating:hover span:last-child { color: var(--hh-ink); text-decoration: underline; }
.hh .hh-p2buy__lede { margin-top: 12px; }
.hh .hh-p2buy__lede p { font-size: 17px; line-height: 1.6; color: var(--hh-body); }
.hh .hh-p2buy__lede p + p { margin-top: 10px; }
.hh .hh-p2buy__facts { margin-top: 10px; font-size: 13.5px; font-weight: 600; letter-spacing: .3px; color: var(--hh-green); }
.hh .hh-p2buy__facts span { margin: 0 6px; color: var(--hh-line-strong); }

/* Supply options: hairlines, no boxes */
.hh .hh-p2packs { margin-top: 20px; }
.hh .hh-p2packs fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.hh .hh-p2packs__legend { float: left; width: 100%; margin: 0 0 12px; padding: 0; border: 0; font-size: 14px; font-weight: 700; color: var(--hh-ink); }
.hh .hh-p2pack { display: block; clear: both; margin: 0; font-weight: 400; cursor: pointer; }
.hh .hh-p2packs__legend + .hh-p2pack .hh-p2pack__row { border-top: 1px solid var(--hh-ink); }
.hh .hh-p2pack input { position: absolute; opacity: 0; pointer-events: none; }
.hh .hh-p2pack__row { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--hh-line-strong); transition: background-color var(--hh-t) var(--hh-ease); }
.hh .hh-p2pack__row::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 4px; background: var(--hh-green); transform: scaleY(0); transition: transform var(--hh-t) var(--hh-ease); }
.hh .hh-p2pack:hover .hh-p2pack__row { background: var(--hh-paper); }
.hh .hh-p2pack input:checked + .hh-p2pack__row { background: var(--hh-mint); }
.hh .hh-p2pack input:checked + .hh-p2pack__row::before { transform: scaleY(1); }
.hh .hh-p2pack input:focus-visible + .hh-p2pack__row { outline: 3px solid var(--hh-green-bright); outline-offset: -3px; }
.hh .hh-p2pack__dot { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 18px; height: 18px; border: 1.5px solid var(--hh-ink); border-radius: 50%; }
.hh .hh-p2pack__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hh-green); transform: scale(0); transition: transform var(--hh-t) var(--hh-ease); }
.hh .hh-p2pack input:checked + .hh-p2pack__row .hh-p2pack__dot { border-color: var(--hh-green); }
.hh .hh-p2pack input:checked + .hh-p2pack__row .hh-p2pack__dot::after { transform: scale(1); }
.hh .hh-p2pack__text { display: flex; flex-direction: column; flex-grow: 1; gap: 2px; }
.hh .hh-p2pack__name { font-size: 16px; font-weight: 700; color: var(--hh-ink); }
.hh .hh-p2pack__note { font-size: 13px; color: var(--hh-muted); }
.hh .hh-p2pack__price { display: flex; flex-direction: column; align-items: flex-end; font-family: var(--hh-font-logo); font-weight: 800; font-size: 28px; line-height: 1; color: var(--hh-ink); white-space: nowrap; }
.hh .hh-p2pack__price s { margin-bottom: 3px; font-family: var(--hh-font-body); font-weight: 400; font-size: 13px; color: var(--hh-muted); }

/* Discount starburst (gold) */
.hh .hh-burst { position: absolute; right: 96px; top: -22px; z-index: 1; width: 60px; height: 60px; transform: rotate(-12deg); transition: transform 400ms var(--hh-ease); }
.hh .hh-burst polygon { fill: var(--hh-gold); }
.hh .hh-burst text { fill: var(--hh-white); font-family: var(--hh-font-logo); font-weight: 800; }
.hh .hh-burst__small { font-size: 15px; letter-spacing: 1px; }
.hh .hh-burst__big { font-size: 26px; }
.hh .hh-p2pack--deal:hover .hh-burst { transform: rotate(4deg) scale(1.06); }

/* Add-on */
.hh .hh-p2addon { display: flex; align-items: center; gap: 12px; margin: 12px 0 14px; font-weight: 400; cursor: pointer; }
.hh .hh-p2addon[hidden] { display: none; }
.hh .hh-p2addon input { position: absolute; opacity: 0; pointer-events: none; }
.hh .hh-p2addon__box { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; border: 1.5px solid var(--hh-ink); border-radius: 3px; transition: background-color var(--hh-t) var(--hh-ease), border-color var(--hh-t) var(--hh-ease); }
.hh .hh-p2addon__box::after { content: ""; width: 10px; height: 6px; margin-top: -2px; border-left: 2px solid var(--hh-white); border-bottom: 2px solid var(--hh-white); transform: rotate(-45deg) scale(0); transition: transform var(--hh-t) var(--hh-ease); }
.hh .hh-p2addon input:checked + .hh-p2addon__box { background: var(--hh-green); border-color: var(--hh-green); }
.hh .hh-p2addon input:checked + .hh-p2addon__box::after { transform: rotate(-45deg) scale(1); }
.hh .hh-p2addon input:focus-visible + .hh-p2addon__box { outline: 3px solid var(--hh-green-bright); outline-offset: 2px; }
.hh .hh-p2addon img { width: 40px; height: 40px; object-fit: contain; }
.hh .hh-p2addon__text { font-size: 15px; color: var(--hh-ink); }
.hh .hh-p2addon__text span { margin-left: 4px; font-weight: 700; }
.hh .hh-p2buy__cta { min-height: 62px; font-size: 17px; }
.hh .hh-p2packs fieldset + .hh-p2buy__cta { margin-top: 16px; }
.hh .hh-p2buy__status { min-height: 1.4em; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--hh-green); }
.hh .hh-p2assure { margin: 6px 0 24px; }
.hh .hh-p2assure li { position: relative; padding: 5px 0 5px 22px; font-size: 14px; color: var(--hh-body); }
.hh .hh-p2assure li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 10px; height: 1.5px; background: var(--hh-green); }
.hh .hh-p2assure__ca::before { display: none; }
.hh .hh-p2assure__ca svg { position: absolute; left: 0; top: 7px; width: 15px; height: 15px; fill: var(--hh-maple); }
.hh .hh-p2acc.panel-group { max-width: none; margin: 0; border-top: 1px solid var(--hh-line-strong); }
.hh .hh-p2acc .panel-title { font-family: var(--hh-font-body); font-size: 15.5px; font-weight: 700; }
.hh .hh-p2acc .hh-qa__q { padding: 16px 0; }
.hh .hh-p2acc .hh-qa__a p { font-size: 15px; }

/* Sticky bar */
.hh .hh-p2sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; padding: 12px 0; background: var(--hh-white); border-top: 1px solid var(--hh-ink); transform: translateY(110%); transition: transform 300ms var(--hh-ease); }
.hh .hh-p2sticky.is-visible { transform: translateY(0); }
.hh .hh-p2sticky__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hh .hh-p2sticky__inner::before, .hh .hh-p2sticky__inner::after { display: none; }
.hh .hh-p2sticky__info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hh .hh-p2sticky__info img { width: 48px; height: 48px; object-fit: contain; }
.hh .hh-p2sticky__name { font-family: var(--hh-font-display); font-size: 17px; font-weight: 700; color: var(--hh-ink); }
.hh .hh-p2sticky__opt { font-size: 13.5px; color: var(--hh-muted); }
.hh .hh-p2sticky__btn { min-height: 50px; padding: 0 30px; }

@media (max-width: 991px) {
  .hh .hh-p2buy { padding-left: 0; }
}
@media (max-width: 767px) {
  .hh .hh-burst { right: 84px; top: -18px; width: 50px; height: 50px; }
  .hh .hh-p2pack__row { padding: 16px 12px 16px 16px; gap: 12px; }
  .hh .hh-p2pack__price { font-size: 24px; }
  .hh .hh-p2sticky__info div { display: none; }
  .hh .hh-p2sticky__btn { flex: 1; }
}
@media (max-width: 420px) {
  .hh .hh-burst { right: 6px; top: -20px; width: 44px; height: 44px; }
}

.woocommerce .quantity .qty { width: 84px; min-height: 58px; text-align: center; }

/* Related products */
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.03em; }

/* ---------- "Added to your cart" panel (inc/woocommerce.php, js/theme.js) ----------
   Drops in under the header, lined up with the cart icon; a bottom sheet on phones. */
.hh-added {
	position: fixed; z-index: 1040; top: 110px;
	right: max(16px, calc((100vw - 1440px) / 2 + var(--hh-pad) - 8px));
	width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - 140px); overflow-y: auto;
	padding: 22px 24px 18px; border: 1px solid var(--hh-line); border-top: 4px solid var(--hh-green);
	border-radius: 0 0 var(--hh-radius-md) var(--hh-radius-md); background: var(--hh-white);
	box-shadow: 0 24px 60px -18px rgba(7, 53, 44, .35);
	opacity: 0; transform: translateY(-10px);
	transition: opacity 220ms var(--hh-ease), transform 220ms var(--hh-ease);
}
.hh-added[hidden] { display: none; }
.hh-added.is-open { opacity: 1; transform: none; }
.hh-added__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hh .hh-added__title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--hh-font-display); font-size: 19px; font-weight: 700; color: var(--hh-ink); }
.hh-added__title svg { flex-shrink: 0; width: 26px; height: 26px; fill: var(--hh-green); stroke: var(--hh-white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: hh-pop 420ms var(--hh-ease); }
.hh-added__close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: -6px -8px 0 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--hh-muted); cursor: pointer; }
.hh-added__close:hover, .hh-added__close:focus-visible { background: var(--hh-paper); color: var(--hh-ink); }
.hh-added__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hh .hh-added__items { margin: 16px 0 0; padding: 0; border-top: 1px solid var(--hh-line); }
.hh-added__item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hh-line); }
.hh-added__img { flex-shrink: 0; width: 56px; height: 64px; border-radius: 8px; background: linear-gradient(180deg, #F3F1ED 0%, #F9F8F5 100%); }
.hh-added__img img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.hh-added__text { display: flex; flex-direction: column; flex-grow: 1; gap: 2px; min-width: 0; }
.hh-added__name { font-size: 15px; font-weight: 700; color: var(--hh-ink); }
.hh-added__meta { font-size: 13px; color: var(--hh-muted); }
.hh-added__price { font-size: 15px; font-weight: 700; color: var(--hh-ink); white-space: nowrap; }
.hh .hh-added__sub { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 0; font-size: 14px; color: var(--hh-body); }
.hh-added__sub strong { font-size: 16px; color: var(--hh-ink); }
.hh-added__actions { display: flex; gap: 10px; margin-top: 16px; }
.hh .hh-added__actions .hh-btn { flex: 1 1 0; min-height: 50px; padding: 0 16px; }
.hh-added__continue { display: block; margin: 12px auto 0; padding: 4px 8px; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--hh-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hh-added__continue:hover, .hh-added__continue:focus-visible { color: var(--hh-ink); }
@keyframes hh-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (max-width: 600px) {
	.hh-added { top: auto !important; left: 12px; right: 12px; bottom: 12px; width: auto; max-height: calc(100vh - 24px); border-radius: var(--hh-radius-md); transform: translateY(24px); }
}
@media (prefers-reduced-motion: reduce) {
	.hh-added, .hh-added__title svg { transition: none; animation: none; }
}

/* ---------- My account ---------- */
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon, .woocommerce form.lost_reset_password {
	margin: 0; padding: 32px; border: 1px solid var(--hh-line); border-radius: var(--hh-radius-md); background: var(--hh-white);
}
.woocommerce-account .woocommerce > h2, .woocommerce-account .u-column1 > h2, .woocommerce-account .u-column2 > h2 { margin-bottom: 18px; font-size: 28px; }

/* Logged out (log in, lost password, reset password): the page title ("My account",
   "Lost password") centred over one centred card; WooCommerce's duplicate "Login" heading hidden. */
.woocommerce-account:not(.logged-in) .page-title { margin-top: clamp(24px, 5vw, 56px); text-align: center; font-size: clamp(34px, 4vw, 46px); }
.woocommerce-account:not(.logged-in) .hh-site__content .woocommerce { max-width: 460px; margin: 28px auto clamp(48px, 7vw, 96px); }
.woocommerce-account:not(.logged-in) .woocommerce > h2 { display: none; }
.woocommerce-account:not(.logged-in) .woocommerce form.login,
.woocommerce-account:not(.logged-in) .woocommerce form.lost_reset_password { padding: clamp(24px, 4vw, 40px); border-radius: 20px; box-shadow: 0 24px 48px -32px rgba(18, 18, 18, .22); }
.woocommerce form.login .form-row, .woocommerce form.lost_reset_password .form-row { margin: 0 0 18px; padding: 0; }
.woocommerce form.login .form-row label, .woocommerce form.lost_reset_password .form-row label { margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--hh-ink); }
.woocommerce form.login .form-row .required, .woocommerce form.lost_reset_password .form-row .required { color: var(--hh-green); }
.woocommerce form.login input.input-text, .woocommerce form.lost_reset_password input.input-text {
	height: 52px; padding: 0 14px; border: 1.5px solid var(--hh-line-strong); border-radius: 10px; background: var(--hh-white); font-size: 16px; color: var(--hh-ink);
	transition: border-color var(--hh-t) var(--hh-ease), box-shadow var(--hh-t) var(--hh-ease);
}
.woocommerce form.login input.input-text:focus, .woocommerce form.lost_reset_password input.input-text:focus { outline: none; border-color: var(--hh-green); box-shadow: 0 0 0 3px rgba(13, 89, 74, .15); }
.woocommerce form.login .password-input { display: block; }
.woocommerce form.login .show-password-input { top: 50%; right: 14px; transform: translateY(-50%); }
/* Remember me above a full-width button */
.woocommerce form.login p.form-row:has(.woocommerce-form-login__submit) { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-top: 4px; }
.woocommerce form.login .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 400; color: var(--hh-body); cursor: pointer; }
.woocommerce form.login .woocommerce-form-login__rememberme input { width: 18px; height: 18px; margin: 0; accent-color: var(--hh-green); }
.woocommerce form.login .woocommerce-form-login__submit, .woocommerce form.lost_reset_password button[type="submit"] { float: none; width: 100%; margin: 0; }
.woocommerce form.login .lost_password { margin: 18px 0 0; text-align: center; font-size: 15px; }
.woocommerce form.login .lost_password a { color: var(--hh-green); font-weight: 600; }
.woocommerce form.lost_reset_password > p:first-of-type { margin-bottom: 20px; font-size: 15.5px; color: var(--hh-body); }
.woocommerce form.lost_reset_password .form-row-first { float: none; width: 100%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hh-line); }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--hh-line); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 14px 4px; font-weight: 600; color: var(--hh-ink); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation li a:hover { color: var(--hh-green); }

/* ---------- Empty cart: message, then compact Shop Cards (Cart page content) ---------- */
.wp-block-woocommerce-empty-cart-block { padding: clamp(16px, 3vw, 40px) 0 clamp(40px, 6vw, 72px); }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { margin: 0; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; color: var(--hh-ink); }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	width: 56px; height: 56px; margin-bottom: 16px; background-color: var(--hh-green); opacity: .9;
	-webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.wp-block-woocommerce-empty-cart-block .hh-emptycart__text { margin-top: 10px; font-size: 17px; color: var(--hh-body); }
.wp-block-woocommerce-empty-cart-block .hh-emptycart__shop { margin-top: 32px; }
/* Three compact Product Cards in a row (a Group of Shortcode blocks) */
.hh-emptycart__shop.hh, .hh-emptycart__shop.hh > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.hh-emptycart__shop.hh { max-width: 880px; margin-left: auto; margin-right: auto; }
.hh-emptycart__shop.hh > .wp-block-group__inner-container { width: 100%; }
.hh-emptycart__shop.hh .hh-prod { flex: 1 1 220px; max-width: 280px; }

/* ---------- Cart & checkout blocks ---------- */
.wc-block-cart, .wc-block-checkout { color: var(--hh-body); }
/* Block form fields (cart coupon, checkout): soft border and rounded corners like the site's forms */
.hh-site .wc-block-components-text-input input[type],
.hh-site .wc-block-components-combobox .wc-block-components-combobox-control input,
.hh-site .wc-blocks-components-select .wc-blocks-components-select__select,
.hh-site .wc-block-components-textarea {
	border: 1px solid var(--hh-line-strong); border-radius: var(--hh-radius); background: var(--hh-white); color: var(--hh-ink);
}

/* Coupon: field and an outline "Apply" button of the same height */
.hh-site .wc-block-components-totals-coupon__form { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 10px; }
.hh-site .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input { flex: 1 1 auto; min-width: 0; margin: 0; }
body .hh-site .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link) {
	flex: 0 0 auto; min-height: 50px; height: auto; margin: 0; padding: 0 22px;
	border-color: var(--hh-ink); background: transparent; color: var(--hh-ink); box-shadow: none;
}
body .hh-site .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link):not(:disabled):hover {
	background: var(--hh-ink); color: var(--hh-white); box-shadow: none;
}
body .hh-site .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link):disabled {
	border-color: var(--hh-line-strong); background: transparent; color: var(--hh-muted); opacity: 1; cursor: default;
}
/* Cart item images: shorter and wider, whole product shown, space before the details */
.hh-site .wc-block-cart-items td.wc-block-cart-item__image { width: 132px; padding-right: 28px; }
.hh-site .wc-block-cart-item__image img {
	display: block; width: 104px; height: 92px; max-width: none; object-fit: contain;
	border-radius: var(--hh-radius); background: linear-gradient(180deg, #F3F1ED 0%, #F9F8F5 100%);
}
/* Narrower carts switch to a grid with an 80px image column: widen it to fit the image + spacing */
.hh-site .wc-block-cart:is(.is-medium, .is-small, .is-mobile) .wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 124px 132px; }
.hh-site .wc-block-cart:is(.is-medium, .is-small, .is-mobile) .wc-block-cart-items td.wc-block-cart-item__image { width: auto; padding-right: 20px; }
/* Phones: smaller image box so the price column still fits */
.hh-site .wc-block-cart.is-mobile .wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 96px minmax(0, 1fr); }
.hh-site .wc-block-cart.is-mobile .wc-block-cart-items td.wc-block-cart-item__image { padding-right: 16px; }
.hh-site .wc-block-cart.is-mobile .wc-block-cart-item__image img { width: 80px; height: 72px; }.hh-site .wc-block-components-quantity-selector { border: 1px solid var(--hh-line-strong); border-radius: var(--hh-radius); }
.hh-site .wc-block-components-quantity-selector::after { display: none; }
.hh-site .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--hh-ink); }
.hh-site .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover { color: var(--hh-green); }
.hh-site .wc-block-components-product-name { color: var(--hh-ink); font-weight: 700; }
.hh-site .wc-block-components-product-name:hover { color: var(--hh-green); }
.hh-site .wc-block-components-sale-badge { border: 0; border-radius: 999px; background: var(--hh-mint); color: var(--hh-green); font-weight: 700; }
.hh-site .wc-block-components-product-price__value.is-discounted, .hh-site .wc-block-components-product-price ins { color: var(--hh-ink); }
.hh-site .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.hh-site .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--hh-font-display); font-weight: 700; color: var(--hh-ink); }
.hh-site .wc-block-components-title.wc-block-components-title,
.hh-site .wc-block-cart__totals-title { font-family: var(--hh-font-display); font-weight: 700; color: var(--hh-ink); letter-spacing: -0.01em; }
.hh-site .wc-block-components-text-input input:focus,
.hh-site .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.hh-site .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--hh-green); box-shadow: 0 0 0 1px var(--hh-green); outline: none;
}
.hh-site .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--hh-green); border-color: var(--hh-green); }
.hh-site .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--hh-white); }
.hh-site .wc-block-components-radio-control__input:checked { border-color: var(--hh-green); }
.hh-site .wc-block-components-radio-control__input:checked::before { background: var(--hh-green); }
.hh-site .wc-block-components-order-summary-item__quantity { border-color: var(--hh-green); background: var(--hh-white); color: var(--hh-green); box-shadow: none; }
.hh-site .wc-block-components-sidebar-layout .wc-block-components-sidebar .wc-block-components-panel,
.hh-site .wc-block-components-sidebar-layout .wc-block-components-sidebar .wc-block-components-totals-coupon { border-color: var(--hh-line); }
