/* HeaKaup: Aaloe kasvuhoone.
   The shop is an aloe greenhouse: Forest Olive glazing bars divide Oat Cream glass into panes where the deals
   grow; products stand in strict rows on a potting bench; the free-shipping line is a thermometer. */

:root {
  --hk-cream: #f0e6da;
  --hk-glass: #e7dacb;       /* glass one step into shade */
  --hk-olive: #425b07;
  --hk-olive-deep: #2f4204;  /* hover on solid olive */
  --hk-ink: #1f2a06;
  --hk-ink-2: #4a5530;       /* secondary text, tinted from the olive (no greys) */
  --hk-pot: #ffffff;         /* only behind product photos */
  --hk-bar: clamp(8px, 0.75vw, 11px);
  --hk-gutter: clamp(16px, 3.5vw, 44px);
  --hk-wrap: 1360px;
  --hk-sans: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --hk-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hk-lift: 0 16px 30px -18px rgb(31 42 6 / 0.55);
}

/* ------------------------------------------------------------------ base (scoped, theme-proof) */
.hk-page { margin: 0; background: var(--hk-cream); color: var(--hk-ink); }
.hk-page, .hk-page * { box-sizing: border-box; }
.hk-page :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; padding: 0; }
.hk-page :where(ul, ol) { list-style: none; }
.hk-page :where(img) { display: block; max-width: 100%; height: auto; }
.hk-page :where(a) { color: inherit; }
.hk-page {
  font-family: var(--hk-sans); font-size: 1.03rem; line-height: 1.5; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; scrollbar-color: var(--hk-olive) var(--hk-cream);
}
.hk-page ::selection { background: var(--hk-olive); color: var(--hk-cream); }
.hk-page :focus-visible { outline: 3px solid var(--hk-olive); outline-offset: 3px; }
.hk-num, .hk-page .amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hk-wrap { width: min(var(--hk-wrap), 100% - 2 * var(--hk-gutter)); margin-inline: auto; }
.hk-icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hk-vh, .hk-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hk-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--hk-olive); color: var(--hk-cream); padding: 10px 16px; font-weight: 700; }
.hk-skip:focus { top: 12px; }
.hk-h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3.1rem); font-weight: 800; font-stretch: 78%; line-height: 0.95; letter-spacing: -0.02em; color: var(--hk-olive); text-wrap: balance; }
.hk-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(20px, 2.6vw, 34px); }
.hk-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--hk-olive); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: rgb(66 91 7 / 0.35); }
.hk-more:hover { text-decoration-color: var(--hk-olive); }
.hk-more .hk-icon { transition: transform 0.3s var(--hk-ease); }
.hk-more:hover .hk-icon { transform: translateX(4px); }
.hk-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 24px;
  background: var(--hk-olive); color: var(--hk-cream); font-weight: 700; font-size: 1.08rem; text-decoration: none;
  transition: background-color 0.25s var(--hk-ease);
}
.hk-section { padding-block: clamp(48px, 6vw, 88px); }

/* ------------------------------------------------------------------ header */
.hk-header { position: relative; z-index: 40; background: var(--hk-cream); }
.hk-announce { background: var(--hk-olive); color: var(--hk-cream); }
.hk-freeship { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 22px; min-height: 42px; padding: 6px var(--hk-gutter); font-weight: 600; font-size: 0.95rem; }
.hk-freeship__meter { display: inline-flex; align-items: center; gap: 0; }
.hk-freeship__bulb { width: 20px; height: 20px; border-radius: 50%; background: var(--hk-cream); flex: none; }
.hk-freeship__tube { position: relative; width: clamp(90px, 12vw, 160px); height: 12px; margin-left: -3px; border: 2px solid var(--hk-cream); border-left: 0; border-radius: 0 6px 6px 0; overflow: hidden; }
.hk-freeship__fill { position: absolute; inset: 0 auto 0 0; width: var(--hk-fill, 0%); background: var(--hk-cream); transition: width 0.8s var(--hk-ease); }
.hk-freeship__left { margin-left: 10px; font-weight: 500; }
.hk-freeship__left b { font-weight: 800; }
.hk-freeship.is-free .hk-freeship__left { font-weight: 700; }

.hk-header__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 3vw, 44px); min-height: 84px; }
.hk-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--hk-olive); text-decoration: none; }
.hk-mark__house { width: 40px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.hk-mark__name { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); font-weight: 500; font-stretch: 85%; letter-spacing: -0.02em; line-height: 1; }
.hk-mark__name b { font-weight: 800; }
.hk-search { display: flex; max-width: 640px; width: 100%; justify-self: center; }
.hk-search input {
  flex: 1; min-width: 0; height: 50px; padding: 0 16px; font: inherit; color: var(--hk-ink);
  background: var(--hk-pot); border: 2px solid var(--hk-olive); border-right: 0; border-radius: 0; outline: none;
}
.hk-search input::placeholder { color: var(--hk-ink-2); }
.hk-search input:focus-visible { box-shadow: inset 0 0 0 2px var(--hk-olive); }
.hk-search button .hk-icon { width: 22px; height: 22px; stroke-width: 2; }
.hk-search button { width: 56px; height: 50px; display: grid; place-items: center; border: 0; background: var(--hk-olive); color: var(--hk-cream); cursor: pointer; }
.hk-search button:hover { background: var(--hk-olive-deep); }
.hk-cartlink { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--hk-olive); font-weight: 700; padding: 6px 4px; }
.hk-cartlink__icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--hk-olive); }
.hk-cartlink__icon .hk-icon { width: 24px; height: 24px; }
.hk-cartlink__count { position: absolute; right: -9px; top: -9px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; border-radius: 11px; background: var(--hk-olive); color: var(--hk-cream); font-size: 0.78rem; font-weight: 800; box-shadow: 0 0 0 2px var(--hk-cream); }
.hk-cartlink__label { display: none; }
.hk-cartlink__total { font-size: 1.08rem; color: var(--hk-ink); }
.hk-cartlink:hover .hk-cartlink__icon { background: var(--hk-olive); color: var(--hk-cream); }

/* category nav: a row of panes divided by glazing bars */
.hk-nav { border-block: var(--hk-bar) solid var(--hk-olive); background: var(--hk-cream); }
.hk-nav__row { display: flex; overflow-x: auto; scrollbar-width: none; }
.hk-nav__row::-webkit-scrollbar { display: none; }
.hk-nav a {
  flex: none; display: flex; align-items: center; min-height: 50px; padding: 0 clamp(12px, 1.4vw, 22px);
  font-weight: 600; text-decoration: none; color: var(--hk-ink); white-space: nowrap;
  border-right: 2px solid var(--hk-olive); transition: background-color 0.2s, color 0.2s;
}
.hk-nav a:first-child { border-left: 2px solid var(--hk-olive); }
.hk-nav a.is-deal { color: var(--hk-olive); font-weight: 800; }
.hk-nav a:hover, .hk-nav a[aria-current="page"] { background: var(--hk-olive); color: var(--hk-cream); }
@media (max-width: 760px) {
  .hk-header__bar { grid-template-columns: 1fr auto; min-height: 0; padding-block: 12px; row-gap: 12px; }
  .hk-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .hk-cartlink__total { font-size: 0.98rem; }
  .hk-nav__row { width: 100%; padding-inline: var(--hk-gutter); }
  .hk-freeship__text { flex-basis: 100%; text-align: center; font-size: 0.88rem; }
}

/* ------------------------------------------------------------------ panes (shared) */
.hk-pane { position: relative; display: block; overflow: hidden; background: var(--hk-cream); text-decoration: none; color: var(--hk-ink); isolation: isolate; }
.hk-pane__photo { position: absolute; inset: 0; z-index: -2; background: var(--hk-pot); }
.hk-pane__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--hk-ease), filter 0.7s var(--hk-ease); filter: saturate(0.9); }
/* condensation on the glass: wiped off on hover/focus (the signature) */
.hk-pane__fog {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(170deg, rgb(240 230 218 / 0.42), rgb(240 230 218 / 0.12) 55%, rgb(240 230 218 / 0.3));
  -webkit-backdrop-filter: blur(1.4px); backdrop-filter: blur(1.4px);
  clip-path: inset(0 0 0 0); transition: clip-path 0.75s var(--hk-ease);
}
.hk-pane:hover .hk-pane__fog, .hk-pane:focus-visible .hk-pane__fog, .hk-pane.is-clear .hk-pane__fog { clip-path: inset(0 0 0 100%); }
.hk-pane.is-clear .hk-pane__photo img { filter: none; }
.hk-pane:hover .hk-pane__photo img, .hk-pane:focus-visible .hk-pane__photo img { transform: scale(1.04); filter: none; }
.hk-pane:focus-visible { outline-offset: -6px; outline-color: var(--hk-olive); }
.hk-pane__body { position: absolute; left: 0; bottom: 0; display: grid; gap: 2px; max-width: calc(100% - 20px); padding: 12px 18px 14px; background: var(--hk-cream); }
.hk-pane__title { font-size: clamp(1.4rem, 1rem + 1.2vw, 2.2rem); font-weight: 800; font-stretch: 78%; line-height: 1; letter-spacing: -0.015em; color: var(--hk-olive); }
.hk-pane__note { font-size: 0.95rem; font-weight: 500; color: var(--hk-ink); }

/* ------------------------------------------------------------------ hero: the greenhouse */
.hk-gh { padding-block: clamp(16px, 2vw, 28px) clamp(40px, 5vw, 72px); }
.hk-gh__roof { display: block; width: 100%; height: clamp(40px, 5.6vw, 84px); fill: var(--hk-glass); stroke: var(--hk-olive); stroke-width: var(--hk-bar); vector-effect: non-scaling-stroke; overflow: visible; }
.hk-gh__roof path { vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.hk-gh__roof path:last-child { stroke-width: 3px; }
.hk-gh__frame {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(190px, 17.5vw, 270px));
  gap: var(--hk-bar); padding: var(--hk-bar); background: var(--hk-olive); margin-top: calc(var(--hk-bar) * -0.5);
}
.hk-pane--main { grid-row: span 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.hk-pane--main .hk-pane__photo { position: relative; inset: auto; z-index: 0; grid-column: 2; grid-row: 1; background: #d6e5c4; }
.hk-pane--main .hk-pane__photo img { object-fit: cover; object-position: center 40%; }
.hk-pane--main .hk-pane__body { position: relative; grid-column: 1; grid-row: 1; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; max-width: none; padding: clamp(24px, 3vw, 44px); }
.hk-gh__title { font-size: clamp(2.5rem, 1.2rem + 3.9vw, 5.1rem); font-weight: 800; font-stretch: 75%; line-height: 0.9; letter-spacing: -0.025em; color: var(--hk-olive); text-wrap: balance; }
.hk-gh__text { max-width: 34ch; font-size: clamp(1.02rem, 0.95rem + 0.25vw, 1.18rem); color: var(--hk-ink); }
.hk-pane--main .hk-btn { align-self: start; }
.hk-pane--main:hover .hk-btn, .hk-pane--main:focus-visible .hk-btn { background: var(--hk-olive-deep); }
.hk-pane--main:hover .hk-btn .hk-icon { transform: translateX(4px); }
.hk-btn .hk-icon { transition: transform 0.3s var(--hk-ease); }
@media (max-width: 980px) {
  .hk-gh__frame { grid-template-columns: 1fr 1fr; grid-template-rows: auto repeat(2, clamp(170px, 34vw, 260px)); }
  .hk-pane--main { grid-column: 1 / -1; grid-row: auto; }
  .hk-pane--main .hk-pane__photo { min-height: 240px; }
}
@media (max-width: 560px) {
  .hk-pane--main { grid-template-columns: 1fr; }
  .hk-pane--main .hk-pane__photo { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 10; }
  .hk-pane--main .hk-pane__body { grid-row: 2; padding: 22px 20px 24px; }
  .hk-gh__frame { grid-template-rows: auto repeat(2, 150px); }
  .hk-pane__body { padding: 8px 12px 10px; }
  .hk-pane__note { font-size: 0.84rem; }
}

/* ------------------------------------------------------------------ product benches (WooCommerce loop) */
.hk-page .woocommerce ul.products, .hk-page ul.products {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) 0; margin: 0; padding: 0;
}
.hk-page .hk-shop__main ul.products { clear: both; }
.hk-page ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hk-page ul.products::before, .hk-page ul.products::after { display: none !important; content: none !important; }
.hk-page ul.products li.product {
  position: relative; float: none !important; width: auto !important; margin: 0 !important; padding: 0 clamp(10px, 1.2vw, 18px) 18px;
  display: flex; flex-direction: column; text-align: left;
  border-bottom: var(--hk-bar) solid var(--hk-olive); /* the bench plank: continuous along each row */
}
.hk-page ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--hk-ink); }
.hk-page ul.products li.product a img {
  width: 100%; aspect-ratio: 1; object-fit: contain; margin: 0 0 14px !important; padding: 8px; background: var(--hk-pot);
  border: 2px solid var(--hk-olive); transition: transform 0.45s var(--hk-ease), box-shadow 0.45s var(--hk-ease);
}
.hk-page ul.products li.product:hover a img { transform: translateY(-6px); box-shadow: var(--hk-lift); }
.hk-page ul.products li.product .woocommerce-loop-product__title {
  padding: 0 !important; margin: 0 0 8px; font-family: var(--hk-sans); font-size: 1rem !important; font-weight: 600; line-height: 1.3; color: var(--hk-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.hk-page ul.products li.product a:hover .woocommerce-loop-product__title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
/* price: the one accent. Sale price is the only filled olive mark on a card */
.hk-page .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: auto 0 12px !important; color: var(--hk-olive) !important; font-size: 1.15rem !important; font-weight: 800; }
.hk-page .price del { order: 2; color: var(--hk-ink-2); opacity: 1 !important; font-weight: 500; font-size: 0.92em; text-decoration-thickness: 1.5px; }
.hk-page .price ins { order: 1; text-decoration: none; background: var(--hk-olive); color: var(--hk-cream); padding: 4px 8px 4px; font-weight: 800; }
/* sale tag: a plant label tied to the pot, outline only */
.hk-page span.onsale {
  position: absolute !important; top: 10px !important; left: calc(clamp(10px, 1.2vw, 18px) + 10px) !important; right: auto !important; z-index: 2;
  min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 4px 10px 4px 16px !important; line-height: 1.2 !important;
  border-radius: 0 !important; color: var(--hk-olive) !important; border: 2px solid var(--hk-olive);
  background: radial-gradient(circle at 8px 50%, var(--hk-olive) 0 2.5px, transparent 3px), var(--hk-cream) !important;
  font-size: 0.86rem !important; font-weight: 800 !important;
}
.hk-page ul.products li.product .button {
  display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin: 0 !important; padding: 10px 14px !important;
  border-radius: 0 !important; border: 2px solid var(--hk-olive) !important; background: transparent !important; color: var(--hk-olive) !important;
  font-family: var(--hk-sans); font-size: 0.98rem !important; font-weight: 700 !important; line-height: 1.2; text-align: center;
  transition: background-color 0.2s, color 0.2s;
}
.hk-page ul.products li.product .button:hover { background: var(--hk-olive) !important; color: var(--hk-cream) !important; }
.hk-page ul.products li.product .button.loading { opacity: 0.6; }
.hk-page ul.products li.product .added_to_cart { display: block; margin-top: 8px; font-weight: 700; color: var(--hk-olive); font-size: 0.92rem; }
@media (max-width: 980px) { .hk-page .woocommerce ul.products, .hk-page ul.products, .hk-page ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .hk-page .woocommerce ul.products, .hk-page ul.products, .hk-page ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ categories */
.hk-cats { background: var(--hk-glass); }
.hk-cats__frame { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--hk-bar); padding: var(--hk-bar); background: var(--hk-olive); }
.hk-cats__frame .hk-pane { aspect-ratio: 4 / 3; }
/* a pane with no photo is clear glass: the shaded glass tone, inset rule, olive lettering; it fills olive on hover */
.hk-pane--glass { background: var(--hk-glass); box-shadow: inset 0 0 0 2px rgb(66 91 7 / 0.28); transition: background-color 0.3s var(--hk-ease); }
.hk-pane--glass .hk-pane__body { background: transparent; }
.hk-pane--glass:hover, .hk-pane--glass:focus-visible { background: var(--hk-olive); }
.hk-pane--glass:hover .hk-pane__title, .hk-pane--glass:focus-visible .hk-pane__title, .hk-pane--glass:hover .hk-pane__note, .hk-pane--glass:focus-visible .hk-pane__note { color: var(--hk-cream); }
@media (max-width: 860px) { .hk-cats__frame { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ brands: plant labels */
.hk-brands .hk-h2 { margin-bottom: clamp(20px, 2.4vw, 30px); }
.hk-brands__row { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.hk-stake {
  display: inline-flex; align-items: center; min-height: 46px; padding: 8px 18px 8px 26px; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; color: var(--hk-olive); border: 2px solid var(--hk-olive);
  background: radial-gradient(circle at 12px 50%, var(--hk-olive) 0 3px, transparent 3.5px), var(--hk-pot); transition: background-color 0.2s, color 0.2s;
}
.hk-stake:hover { background: var(--hk-olive); color: var(--hk-cream); }

/* ------------------------------------------------------------------ trust row */
.hk-trust { padding-bottom: clamp(48px, 6vw, 80px); }
.hk-trust__frame { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hk-bar); padding: var(--hk-bar); background: var(--hk-olive); }
.hk-trust__pane { display: flex; align-items: flex-start; gap: 14px; padding: clamp(18px, 2vw, 26px); background: var(--hk-cream); text-decoration: none; color: var(--hk-ink); }
.hk-trust__pane .hk-icon { width: 32px; height: 32px; color: var(--hk-olive); stroke-width: 1.6; }
.hk-trust__pane strong { display: block; font-size: 1.2rem; font-weight: 800; color: var(--hk-olive); }
.hk-trust__pane a { color: var(--hk-ink); font-weight: 600; text-underline-offset: 3px; }
a.hk-trust__pane:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .hk-trust__frame { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ footer */
.hk-footer { background: var(--hk-olive); color: var(--hk-cream); padding-top: clamp(44px, 5vw, 72px); }
.hk-footer :focus-visible { outline-color: var(--hk-cream); }
.hk-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; }
.hk-footer__grid > * { display: grid; gap: 10px; align-content: start; }
.hk-mark--cream { color: var(--hk-cream); }
.hk-footer__brand p { max-width: 36ch; }
.hk-footer__h { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.hk-footer a { color: var(--hk-cream); text-decoration-color: rgb(240 230 218 / 0.4); text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 8px; }
.hk-footer a:hover { text-decoration-color: var(--hk-cream); }
.hk-footer__social { display: flex; gap: 10px; }
.hk-footer__social a { width: 44px; height: 44px; justify-content: center; border: 2px solid var(--hk-cream); }
.hk-footer__social a:hover { background: var(--hk-cream); color: var(--hk-olive); }
.hk-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; border-top: 2px solid rgb(240 230 218 / 0.3); font-size: 0.92rem; }
@media (max-width: 860px) { .hk-footer__grid { grid-template-columns: 1fr 1fr; } .hk-footer__brand { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ WooCommerce pages */
.hk-shop { padding-block: clamp(24px, 3vw, 44px) clamp(56px, 6vw, 96px); }
.hk-shop__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.hk-shop__aside { border: var(--hk-bar) solid var(--hk-olive); background: var(--hk-cream); padding: 18px 20px 22px; position: sticky; top: 16px; }
.hk-aside__h { font-size: 1.25rem; font-weight: 800; font-stretch: 80%; color: var(--hk-olive); margin: 0 0 8px; }
.hk-aside__h:not(:first-child) { margin-top: 22px; padding-top: 16px; border-top: 2px solid var(--hk-olive); }
.hk-shop__aside a { display: block; padding: 6px 0; text-decoration: none; font-weight: 600; color: var(--hk-ink); }
.hk-shop__aside a:hover { color: var(--hk-olive); text-decoration: underline; text-underline-offset: 3px; }
.hk-shop__aside .children { padding-left: 14px; border-left: 2px solid var(--hk-glass); margin: 2px 0 6px; }
.hk-shop__aside .children a { font-weight: 500; font-size: 0.95rem; padding: 4px 0; }
.hk-shop__aside .current-cat > a { color: var(--hk-olive); font-weight: 800; }
.hk-aside__deals a { color: var(--hk-olive); font-weight: 800; }
@media (max-width: 900px) { .hk-shop__grid { grid-template-columns: 1fr; } .hk-shop__aside { position: static; } }

.hk-page .woocommerce-breadcrumb { margin: 0 0 16px !important; font-size: 0.92rem !important; color: var(--hk-ink-2) !important; }
.hk-page .woocommerce-breadcrumb a { color: var(--hk-olive) !important; font-weight: 600; }
.hk-page .woocommerce-products-header__title, .hk-page .product_title {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem) !important; font-weight: 800; font-stretch: 78%; line-height: 0.98; letter-spacing: -0.02em; color: var(--hk-olive); margin: 0 0 18px !important;
}
.hk-page .woocommerce-result-count { float: none !important; display: inline-block; margin: 0 0 22px !important; color: var(--hk-ink-2); }
.hk-page .woocommerce-ordering { float: right; margin: 0 0 22px !important; }
.hk-page select, .hk-page .input-text, .hk-page input[type="text"], .hk-page input[type="email"], .hk-page input[type="tel"], .hk-page input[type="number"], .hk-page textarea {
  min-height: 46px; padding: 8px 12px; font: inherit; color: var(--hk-ink); background: var(--hk-pot); border: 2px solid var(--hk-olive); border-radius: 0;
}
.hk-page .woocommerce-pagination { margin-top: 36px; }
.hk-page .woocommerce-pagination ul.page-numbers { display: inline-flex !important; border: 0 !important; gap: 6px; }
.hk-page .woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.hk-page .woocommerce-pagination .page-numbers a, .hk-page .woocommerce-pagination .page-numbers span {
  display: grid !important; place-items: center; min-width: 44px; height: 44px; padding: 0 8px !important; border: 2px solid var(--hk-olive); color: var(--hk-olive); font-weight: 700; text-decoration: none;
}
.hk-page .woocommerce-pagination .page-numbers .current, .hk-page .woocommerce-pagination .page-numbers a:hover { background: var(--hk-olive) !important; color: var(--hk-cream) !important; }

/* single product */
.hk-page.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); position: relative; }
.hk-page.single-product div.product > span.onsale { top: 14px !important; left: 14px !important; font-size: 1.05rem !important; }
.hk-page.single-product div.product .images, .hk-page.single-product div.product .summary { float: none !important; width: auto !important; margin: 0 !important; }
.hk-page.single-product .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 16px; background: var(--hk-pot); border: var(--hk-bar) solid var(--hk-olive); }
.hk-page.single-product .summary .price { font-size: 1.7rem !important; margin: 0 0 18px !important; }
.hk-page.single-product .summary .price ins { padding: 4px 12px 5px; }
.hk-page .woocommerce-product-details__short-description { max-width: 52ch; margin-bottom: 16px; }
.hk-page .stock { color: var(--hk-olive) !important; font-weight: 700; }
.hk-page form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 24px !important; }
.hk-page form.cart .quantity input.qty { width: 84px; height: 56px; text-align: center; font-weight: 700; }
.hk-page .product_meta { padding-top: 16px; border-top: 2px solid var(--hk-olive); color: var(--hk-ink-2); font-size: 0.95rem; }
.hk-page .product_meta a { color: var(--hk-olive); font-weight: 600; }
.hk-page .woocommerce-tabs, .hk-page section.related { grid-column: 1 / -1; }
.hk-page .woocommerce-tabs ul.tabs { display: flex; gap: 0; padding: 0 !important; margin: 0 !important; border-bottom: var(--hk-bar) solid var(--hk-olive); }
.hk-page .woocommerce-tabs ul.tabs::before, .hk-page .woocommerce-tabs ul.tabs li::before, .hk-page .woocommerce-tabs ul.tabs li::after { display: none !important; }
.hk-page .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.hk-page .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 20px !important; font-weight: 700; color: var(--hk-ink) !important; text-decoration: none; }
.hk-page .woocommerce-tabs ul.tabs li.active a { background: var(--hk-olive); color: var(--hk-cream) !important; }
.hk-page .woocommerce-Tabs-panel { padding: 22px 0 0; max-width: 72ch; }
.hk-page .woocommerce-Tabs-panel h2 { font-size: 1.5rem; font-weight: 800; color: var(--hk-olive); margin-bottom: 10px; }
.hk-page section.related > h2 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 800; font-stretch: 78%; color: var(--hk-olive); margin: 24px 0 22px; }
@media (max-width: 800px) { .hk-page.single-product div.product { grid-template-columns: 1fr; } }

/* buttons, notices, cart and checkout (classic and block markup) */
.hk-page .woocommerce a.button, .hk-page .woocommerce button.button, .hk-page .woocommerce input.button, .hk-page .woocommerce #respond input#submit,
.hk-page button.single_add_to_cart_button, .hk-page .wc-block-components-button:not(.is-link), .hk-page .wp-element-button {
  min-height: 52px; padding: 12px 26px !important; border-radius: 0 !important; border: 0 !important; background: var(--hk-olive) !important; color: var(--hk-cream) !important;
  font-family: var(--hk-sans) !important; font-size: 1.05rem !important; font-weight: 700 !important; line-height: 1.2;
}
.hk-page .woocommerce a.button:hover, .hk-page .woocommerce button.button:hover, .hk-page button.single_add_to_cart_button:hover, .hk-page .wc-block-components-button:not(.is-link):hover { background: var(--hk-olive-deep) !important; }
.hk-page .woocommerce-message, .hk-page .woocommerce-info, .hk-page .woocommerce-error {
  border-top: 0 !important; border-left: var(--hk-bar) solid var(--hk-olive) !important; background: var(--hk-pot) !important; color: var(--hk-ink) !important;
}
.hk-page .woocommerce-message::before, .hk-page .woocommerce-info::before { color: var(--hk-olive) !important; }
.hk-page table.shop_table { border: 2px solid var(--hk-olive) !important; border-radius: 0 !important; border-collapse: collapse !important; background: var(--hk-pot); }
.hk-page table.shop_table th, .hk-page table.shop_table td { border-top: 1px solid var(--hk-glass) !important; padding: 12px 14px !important; }
.hk-page table.shop_table th { color: var(--hk-olive); }
.hk-page .cart_totals h2, .hk-page #order_review_heading, .hk-page .woocommerce-billing-fields h3 { font-size: 1.6rem; font-weight: 800; font-stretch: 80%; color: var(--hk-olive); margin-bottom: 12px; }
.hk-page .woocommerce form .form-row label { font-weight: 600; }
.hk-page .woocommerce-checkout #payment { background: var(--hk-glass) !important; border-radius: 0 !important; }

/* ordinary pages (Tasub teada, Tingimused, ...) and cart/checkout pages */
.hk-article { max-width: 980px; }
.hk-article__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); font-weight: 800; font-stretch: 78%; line-height: 0.98; letter-spacing: -0.02em; color: var(--hk-olive); margin-bottom: clamp(18px, 2vw, 28px); }
.hk-prose > * + * { margin-top: 1em; }
.hk-prose :where(p, li) { max-width: 70ch; }
.hk-prose :where(h2, h3) { font-weight: 800; color: var(--hk-olive); line-height: 1.1; margin-top: 1.6em; }
.hk-prose h2 { font-size: 1.7rem; } .hk-prose h3 { font-size: 1.3rem; }
.hk-prose :where(ul, ol) { padding-left: 1.3em; list-style: disc; }
.hk-prose a { color: var(--hk-olive); font-weight: 600; text-underline-offset: 3px; }

/* hero small panes: the product photo sits whole on its white pot, the label is a bar beneath it */
.hk-gh .hk-pane:not(.hk-pane--main) { display: flex; flex-direction: column; }
.hk-gh .hk-pane:not(.hk-pane--main) .hk-pane__photo { position: relative; inset: auto; flex: 1; min-height: 0; z-index: 0; }
.hk-gh .hk-pane:not(.hk-pane--main) .hk-pane__photo img { object-fit: cover; object-position: center; }
.hk-gh .hk-pane:not(.hk-pane--main) .hk-pane__fog { z-index: 1; }
.hk-gh .hk-pane:not(.hk-pane--main) .hk-pane__body { position: relative; z-index: 2; max-width: none; border-top: 3px solid var(--hk-olive); }
@media (max-width: 560px) {
  .hk-pane__note { display: none; }
  .hk-gh .hk-pane:not(.hk-pane--main) .hk-pane__title, .hk-cats .hk-pane__title { font-size: 1.3rem; }
  .hk-cats__frame .hk-pane__body { padding: 6px 10px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hk-page *, .hk-page *::before, .hk-page *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
