@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --hn-bg: #fff;
  --hn-fg: #3f3f46;
  --hn-primary: #28665c;
  --hn-primary-fg: #fff;
  --hn-muted: #f4f4f5;
  --hn-muted-fg: #71717a;
  --hn-accent: #e7f4f2;
  --hn-border: #e4e4e7;
  --hn-promotion: #c2413a;
  --hn-hero-fg: #1d3d38;
  --hn-hero-wash: #f3f8fa;
  --hn-radius: 0.375rem;
  --hn-header: 88px;
  --hn-nav: 52px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--hn-bg);
  color: var(--hn-fg);
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.hn-sr, .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.hn-skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--hn-primary);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.hn-skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--hn-primary); outline-offset: 2px; }

.hn-container { width: min(100% - 96px, 1320px); margin-inline: auto; }
.hn-main { min-height: 40vh; }

.hn-topbar { border-bottom: 1px solid var(--hn-border); background: var(--hn-muted); color: var(--hn-muted-fg); font-size: 12px; }
.hn-topbar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 32px; padding: 4px 0; }
.hn-topbar a, .hn-footer a { display: inline-flex; align-items: center; gap: 8px; }
.hn-topbar span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hn-topbar a { white-space: nowrap; }
.hn-phones {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.hn-phones > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hn-topbar-phones { justify-content: flex-end; }
.hn-footer-phones,
.hn-size-phones,
.hn-contact-phones,
.hn-measure-phones,
.hn-stock-phones,
.hn-dialog-phones,
.hn-footer-client-phones {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
}
.hn-footer-client-phones > a {
  display: inline-flex;
  width: auto;
}

.hn-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--hn-border); background: var(--hn-bg); }
body.admin-bar .hn-header { top: 32px; }
.hn-header-bar { display: flex; align-items: center; gap: 16px; height: var(--hn-header); }
@media (min-width: 1024px) {
  .hn-header-bar { gap: 36px; }
}
.hn-logo { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--hn-primary); font-weight: 700; font-size: 23px; }
.hn-logo img { width: 40px; height: 44px; object-fit: contain; }
.hn-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 639px) {
  .hn-logo { font-size: 16px; }
  .hn-logo img { width: 32px; height: 44px; }
}
@media (min-width: 375px) and (max-width: 639px) {
  .hn-logo { font-size: 18px; }
}
.hn-icon-button, .hn-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--hn-radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.hn-icon-button:hover, .hn-button-icon:hover { background: var(--hn-accent); color: var(--hn-primary); }
.hn-header .hn-menu-toggle { display: none; }
.hn-search { position: relative; flex: 1; display: block; }
.hn-search svg { position: absolute; left: 16px; top: 14px; color: var(--hn-muted-fg); }
.hn-search input, .hn-drawer-search input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: var(--hn-muted);
  padding: 0 16px 0 48px;
  outline: none;
}
.hn-search input:focus, .hn-drawer-search input:focus { box-shadow: 0 0 0 2px var(--hn-primary); }
.hn-search-results {
  position: absolute;
  top: 56px;
  z-index: 40;
  width: 100%;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  padding: 12px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 8%);
}
.hn-search-results a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 6px; font-size: 14px; }
.hn-search-results a:hover { background: var(--hn-muted); }
.hn-search-results img { width: 44px; height: 44px; object-fit: contain; }
.hn-search-results span { flex: 1; }
.hn-search-results p { padding: 8px; color: var(--hn-muted-fg); font-size: 14px; }
.hn-header-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
@media (min-width: 640px) {
  .hn-header-tools { gap: 12px; }
}
.hn-cart-dropdown { position: relative; }
.hn-cart-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; border: 0; border-radius: var(--hn-radius); background: transparent; color: inherit; cursor: pointer; }
.hn-cart-link:hover, .hn-cart-dropdown.is-open .hn-cart-link { background: var(--hn-accent); }
.hn-cart-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  width: min(300px, calc(100vw - 24px));
  padding: 10px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  box-shadow: 0 12px 28px rgb(0 0 0 / 12%);
}
.hn-cart-dropdown-panel[hidden] { display: none !important; }
.hn-mini-cart-title { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--hn-muted-fg); }
.hn-mini-cart-list { margin: 0; padding: 0; list-style: none; max-height: 240px; overflow: auto; }
.hn-mini-cart-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hn-border);
}
.hn-mini-cart-item:last-child { border-bottom: 0; }
.hn-mini-cart-media { display: block; overflow: hidden; border-radius: 6px; background: var(--hn-muted); }
.hn-mini-cart-thumb, .hn-mini-cart-media img { width: 44px; height: 44px; object-fit: contain; display: block; }
.hn-mini-cart-name {
  display: -webkit-box;
  overflow: hidden;
  color: var(--hn-fg);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.hn-mini-cart-copy .variation, .hn-mini-cart-copy dl { margin: 2px 0 0; color: var(--hn-muted-fg); font-size: 10px; }
.hn-mini-cart-copy dd, .hn-mini-cart-copy dt { display: inline; margin: 0; }
.hn-mini-cart-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.hn-mini-cart-price { font-size: 12px; font-weight: 600; white-space: nowrap; }
.hn-mini-qty {
  display: inline-flex;
  align-items: center;
  height: 30px;
  border: 1px solid var(--hn-border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.hn-mini-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--hn-fg);
  cursor: pointer;
}
.hn-mini-qty-btn:hover { background: var(--hn-muted); }
.hn-mini-qty-input {
  width: 34px;
  height: 30px;
  border: 0;
  border-left: 1px solid var(--hn-border);
  border-right: 1px solid var(--hn-border);
  background: transparent;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  -moz-appearance: textfield;
}
.hn-mini-qty-input::-webkit-outer-spin-button,
.hn-mini-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hn-mini-cart-foot { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--hn-border); }
.hn-mini-cart-total { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; font-size: 13px; }
.hn-mini-cart-actions { display: grid; grid-template-columns: 1fr; gap: 6px; }
.hn-mini-cart-actions .hn-button { width: 100%; margin: 0; min-height: 40px; padding: 0 12px; font-size: 13px; }
.hn-mini-cart-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 6px;
  text-align: center;
  color: var(--hn-muted-fg);
  font-size: 13px;
}
.hn-mini-cart-empty svg { color: var(--hn-primary); }
.hn-favorites-link { position: relative; }
.hn-favorites-count {
  position: absolute;
  top: 6px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--hn-primary);
  color: #fff;
  font-size: 10px;
  line-height: 1;
}
.hn-cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.hn-cart-count,
.hn-mobile-count {
  position: absolute;
  top: -6px;
  right: -10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--hn-promotion);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}
.hn-cart-count.is-zero,
.hn-mobile-count.is-zero {
  display: none;
}
.hn-cart-count.is-pulsing,
.hn-mobile-count.is-pulsing {
  animation: hn-cart-pulse 0.75s ease;
}
@keyframes hn-cart-pulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.4); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}
.hn-cart-toast {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: var(--hn-radius);
  background: var(--hn-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hn-cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hn-favorites-page { padding: 32px 0 64px; }
.hn-favorites-head { margin-bottom: 28px; }
.hn-favorites-meta { margin-top: 8px; color: var(--hn-muted-fg); font-size: 14px; }
.hn-favorites-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 48px 20px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  text-align: center;
  color: var(--hn-muted-fg);
}
.hn-favorites-empty svg { color: var(--hn-primary); }
.hn-favorites-item { display: flex; flex-direction: column; gap: 10px; }
.hn-favorites-item .hn-card { flex: 1; }
.hn-favorites-remove { width: 100%; }

.hn-nav { display: block; border-top: 1px solid var(--hn-border); }
.hn-nav-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--hn-nav); }
.hn-nav-button, .hn-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.hn-nav-button:hover, .hn-nav-link:hover, .hn-nav-item.is-open .hn-nav-button { color: var(--hn-primary); }
.hn-nav-promo { color: var(--hn-promotion); }
.hn-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--hn-nav);
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 48px;
  border: 1px solid var(--hn-border);
  border-radius: 0 0 var(--hn-radius) var(--hn-radius);
  background: #fff;
  padding: 32px;
  box-shadow: 0 16px 40px rgb(0 0 0 / 8%);
}
.hn-mega h3 { margin-bottom: 16px; font-size: 20px; }
.hn-mega-links { display: grid; grid-template-columns: 1fr 1fr; }
.hn-mega-links a { padding: 12px 0; font-size: 14px; }
.hn-mega-links a:hover { color: var(--hn-primary); }
.hn-mega img { width: 100%; height: 160px; object-fit: contain; border-radius: var(--hn-radius); background: var(--hn-muted); }
.hn-text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--hn-primary); background: transparent; border: 0; cursor: pointer; padding: 0; }

.hn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--hn-radius);
  border: 1px solid transparent;
  background: var(--hn-primary);
  color: var(--hn-primary-fg);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.hn-button:hover { background: #21574e; }
.hn-button-lg { min-height: 48px; padding: 8px 32px; gap: 20px; }
.hn-button-sm { min-height: 44px; padding: 8px 12px; font-size: 12px; }
.hn-button-outline { border-color: var(--hn-primary); background: transparent; color: var(--hn-primary); }
.hn-button-outline:hover { background: var(--hn-accent); }
.hn-button-icon { background: var(--hn-primary); color: #fff; }

.hn-hero {
  --hn-hero-height: 420px;
  position: relative;
  width: 100%;
  height: var(--hn-hero-height);
  overflow: hidden;
  background: #0b1220;
  color: #fff;
}
.hn-hero-stage {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: transparent;
}
.hn-hero-track { position: absolute; inset: 0; }
.hn-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s ease, visibility .55s ease;
}
.hn-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hn-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: inherit;
}
.hn-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hn-hero-slide.has-text::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 14, 24, .72) 0%, rgba(8, 14, 24, .38) 34%, transparent 62%);
}
.hn-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-inline: 0;
  pointer-events: none;
}
.hn-hero-copy {
  max-width: 560px;
  padding-block: 28px;
  pointer-events: none;
}
.hn-hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.12;
  font-weight: 700;
  color: #fff;
  text-wrap: balance;
}
.hn-hero-text {
  max-width: 420px;
  margin: 16px 0 0;
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255, 255, 255, .92);
}
.hn-hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-inline: 0;
  pointer-events: none;
}
.hn-hero-nav,
.hn-hero-dot {
  pointer-events: auto;
}
.hn-hero-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--hn-primary);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.hn-hero-nav:hover { background: #fff; }
.hn-hero-prev svg { transform: rotate(180deg); }
.hn-hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline: 4px 0;
}
.hn-hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hn-hero-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}
@media (prefers-reduced-motion: reduce) {
  .hn-hero-slide { transition: none; }
}

.hn-categories { padding: 36px 0 44px; }
.hn-section-head, .hn-section-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hn-section-head { margin-bottom: 24px; }
.hn-section-head h2, .hn-categories h2 { font-size: 24px; font-weight: 600; }
.hn-section-head span { color: var(--hn-muted-fg); font-size: 14px; }
.hn-category-grid, .hn-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.hn-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hn-category { overflow: hidden; border: 1px solid var(--hn-border); border-radius: var(--hn-radius); }
.hn-category:hover { border-color: var(--hn-primary); }
.hn-category-photo { background: var(--hn-muted); padding: 16px; }
.hn-category-photo img { width: 100%; height: 190px; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.hn-category:hover img { transform: scale(1.05); }
.hn-category-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 64px; padding: 12px 16px; }
.hn-category-label h3 { font-size: 16px; }
.hn-category-label svg { color: var(--hn-primary); flex: none; }

.hn-products { padding: 40px 0 56px; }
.hn-eyebrow { margin-bottom: 8px; color: var(--hn-muted-fg); font-size: 14px; }
.hn-brand .hn-eyebrow, .hn-reviews .hn-eyebrow, .hn-kicker { color: var(--hn-primary); }
.hn-section-line { margin-bottom: 28px; }
.hn-section-line h2, .hn-reviews h2 { font-size: 28px; font-weight: 600; }
.hn-card { min-width: 0; }
.hn-card-media { display: block; overflow: hidden; border-radius: var(--hn-radius); background: var(--hn-muted); }
.hn-product-photo { aspect-ratio: 1; width: 100%; object-fit: contain; transition: transform .3s; }
.hn-card:hover .hn-product-photo { transform: scale(1.025); }
.hn-product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}
.hn-product-name:hover { color: var(--hn-primary); }
.hn-card-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.hn-card .price, .hn-card .woocommerce-Price-amount { font-size: 18px; font-weight: 600; color: var(--hn-fg); }
.hn-card del { color: var(--hn-muted-fg); font-size: 14px; font-weight: 400; }
.hn-card del .woocommerce-Price-amount { color: var(--hn-muted-fg); font-size: 14px; font-weight: 400; }
.hn-card ins { text-decoration: none; }
.hn-card ins .woocommerce-Price-amount { color: var(--hn-promotion); }

.hn-size { margin: 20px 0; background: var(--hn-accent); }
.hn-size-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 0; }
.hn-size-copy { display: flex; align-items: center; gap: 20px; }
.hn-size-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--hn-primary) 20%, transparent);
  border-radius: 999px;
  color: var(--hn-primary);
}
.hn-size h2 { font-size: 20px; font-weight: 600; }
.hn-size p { margin-top: 4px; color: var(--hn-muted-fg); font-size: 14px; }
.hn-size-phones { margin-top: 12px; }
.hn-size-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--hn-radius);
  background: var(--hn-primary);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hn-size-phone:hover { background: #21574e; color: #fff !important; }
.hn-size-phone svg { flex: none; }

.hn-season { border-block: 1px solid var(--hn-border); background: var(--hn-muted); }
.hn-season-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding: 48px 0; }
.hn-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14px; }
.hn-season h2, .hn-brand h2 { font-size: 30px; font-weight: 600; line-height: 1.25; }
.hn-season p { margin: 16px 0 24px; color: var(--hn-muted-fg); }
.hn-season img { width: 100%; height: 280px; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 639px) {
  .hn-season h2 br { display: none; }
}

.hn-reviews { padding: 40px 0; }
.hn-reviews-box { border: 1px solid var(--hn-border); border-radius: var(--hn-radius); background: var(--hn-muted); padding: 32px; }
.hn-review-track { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; margin-top: 24px; }
.hn-review { width: 340px; flex: none; border: 1px solid var(--hn-border); border-radius: var(--hn-radius); background: #fff; padding: 20px; }
.hn-stars { color: var(--hn-primary); letter-spacing: 2px; }
.hn-review > p:nth-child(2) { margin-top: 16px; font-size: 14px; line-height: 1.6; }
.hn-review-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hn-border); }
.hn-review-author > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--hn-accent);
  color: var(--hn-primary);
  font-weight: 600;
}
.hn-review-author small, .hn-reviews-empty { color: var(--hn-muted-fg); }
.hn-reviews-empty { margin-top: 16px; font-size: 14px; }

.hn-brand { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding: 56px 0; }
.hn-brand h2 { margin-top: 0; }
.hn-brand > div > p:last-child { max-width: 24rem; margin-top: 20px; color: var(--hn-muted-fg); font-size: 14px; line-height: 1.75; }
.hn-faq { border-bottom: 1px solid var(--hn-border); padding: 20px 0; }
.hn-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 500; list-style: none; }
.hn-faq summary::-webkit-details-marker { display: none; }
.hn-faq p { padding-top: 16px; color: var(--hn-muted-fg); font-size: 14px; line-height: 1.75; }

.hn-footer { border-top: 1px solid var(--hn-border); background: var(--hn-muted); }
.hn-footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding: 48px 0 32px; }
.hn-footer h3 { margin-bottom: 16px; font-size: 16px; }
.hn-footer-grid a { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; color: var(--hn-muted-fg); }
.hn-footer-grid a:hover { color: var(--hn-primary); }
.hn-footer-grid p { margin-top: 16px; color: var(--hn-muted-fg); font-size: 14px; }
.hn-footer .hn-logo { font-size: 20px; }
.hn-footer .hn-logo img { width: 36px; height: 44px; }
.hn-footer-contacts { display: grid; gap: 8px; margin-top: 20px; }
.hn-footer-contacts a { color: var(--hn-fg); font-weight: 500; }
.hn-footer-phone {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px !important;
  border-radius: var(--hn-radius);
  background: var(--hn-primary);
  color: #fff !important;
  font-weight: 600;
  width: fit-content;
}
.hn-footer-phone:hover { background: #21574e; color: #fff !important; }
.hn-footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: end;
  padding: 28px 0;
  border-top: 1px solid var(--hn-border);
}
.hn-footer-newsletter h3 { margin-bottom: 8px; font-size: 18px; }
.hn-footer-newsletter p { margin: 0; color: var(--hn-muted-fg); font-size: 14px; line-height: 1.6; }
.hn-footer-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
.hn-footer-newsletter-form input[type="email"],
.hn-footer-newsletter-form input[type="text"],
.hn-footer-newsletter-form .wpcf7-form-control:not(.wpcf7-submit) {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
}
.hn-footer-newsletter-form .wpcf7-form { width: 100%; }
.hn-footer-newsletter-form .wpcf7-form p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.hn-footer-newsletter-form .wpcf7-submit,
.hn-footer-newsletter-form .hn-button {
  min-height: 48px;
  padding: 0 18px;
}
.hn-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--hn-border);
  padding: 24px 0;
  color: var(--hn-muted-fg);
  font-size: 12px;
}
@media (max-width: 1023px) {
  .hn-footer-newsletter { grid-template-columns: 1fr; }
}

.hn-mobile-nav { display: none; }
.hn-page { padding: 40px 0 64px; }
.hn-page-title { margin-bottom: 24px; font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
@media (min-width: 640px) {
  .hn-page-title { font-size: 1.875rem; }
}
.hn-commerce .hn-page { padding-top: 24px; }
@media (min-width: 640px) {
  .hn-commerce .hn-page { padding-top: 40px; }
}
.hn-page-content { max-width: 760px; font-size: 16px; line-height: 1.75; }
.hn-commerce .hn-page-content { max-width: none; }
.hn-prose .hn-page-content > * + * { margin-top: 16px; }
.hn-prose .hn-page-content h2 { margin-top: 32px; font-size: 22px; font-weight: 600; line-height: 1.3; }
.hn-prose .hn-page-content h3 { margin-top: 24px; font-size: 18px; font-weight: 600; }
.hn-prose .hn-page-content a { color: var(--hn-primary); text-decoration: underline; }
.hn-prose .hn-page-content ul, .hn-prose .hn-page-content ol { margin-left: 1.25rem; }
.hn-prose .hn-page-content li + li { margin-top: 8px; }
.hn-prose .hn-page-content img { width: auto; margin: 8px 0; }
.hn-prose .hn-page-content table { width: 100%; border-collapse: collapse; }
.hn-prose .hn-page-content th, .hn-prose .hn-page-content td { padding: 10px 8px; border-bottom: 1px solid var(--hn-border); text-align: left; vertical-align: top; }
.hn-prose .hn-page-content .wpcf7-form-control:not(.wpcf7-submit) { width: 100%; min-height: 48px; margin-top: 4px; padding: 8px 12px; border: 1px solid var(--hn-border); border-radius: var(--hn-radius); background: #fff; }
.hn-prose .hn-page-content textarea.wpcf7-form-control { min-height: 120px; }
.hn-prose .hn-page-content .wpcf7-submit { margin-top: 8px; }
.hn-contact-card { display: grid; gap: 12px; max-width: 28rem; margin-bottom: 32px; padding: 20px; border: 1px solid var(--hn-border); border-radius: var(--hn-radius); background: var(--hn-muted); }
.hn-contact-card .hn-button { width: 100%; justify-content: flex-start; }
.hn-contact-card p { color: var(--hn-muted-fg); font-size: 14px; line-height: 1.6; }
.hn-prose.is-kontakti .hn-page-content > p:first-child { margin-top: 0; color: var(--hn-muted-fg); max-width: 40rem; }
.hn-missing p { max-width: 36rem; color: var(--hn-muted-fg); }
.hn-missing-search { display: flex; gap: 8px; max-width: 36rem; margin-top: 24px; }
.hn-missing-search input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--hn-border); border-radius: var(--hn-radius); background: var(--hn-muted); }
.hn-missing-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.hn-entry { padding: 16px 0; border-bottom: 1px solid var(--hn-border); }
.hn-entry-title { font-size: 18px; font-weight: 600; }
.hn-entry p { margin-top: 8px; color: var(--hn-muted-fg); }
.hn-entry { padding: 16px 0; border-bottom: 1px solid var(--hn-border); }

[hidden] { display: none !important; }
.hn-drawer { position: fixed; inset: 0; z-index: 50; }
.hn-drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgb(0 0 0 / 40%); }
.hn-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 28rem);
  height: 100%;
  overflow: auto;
  background: #fff;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
}
.hn-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.hn-drawer-head h2 { font-size: 20px; }
[data-hn-cat-root] button, [data-hn-cat-panel] a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--hn-border);
  background: transparent;
  padding: 20px 0;
  text-align: left;
  cursor: pointer;
}
[data-hn-cat-panel] h3 { margin: 20px 0; font-size: 20px; }
[data-hn-cat-panel] .hn-button { margin-top: 24px; }
.hn-measure {
  display: grid;
  gap: 12px;
  padding: 0;
}
.hn-measure-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hn-measure-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--hn-primary) 22%, transparent);
  border-radius: 999px;
  color: var(--hn-primary);
}
.hn-measure-title h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}
.hn-measure > p {
  margin: 0;
  color: var(--hn-muted-fg);
  font-size: 13px;
  line-height: 1.45;
}
.hn-measure svg { color: var(--hn-primary); }
.hn-measure-phones .hn-button {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}
.hn-drawer-panel:has([data-hn-panel="measurements"]:not([hidden])) .hn-drawer-head {
  margin-bottom: 16px;
}
body.hn-drawer-open { overflow: hidden; }

@media (max-width: 1279px) {
  .hn-cart-label { display: none; }
}
@media (max-width: 1023px) {
  .hn-container { width: calc(100% - 48px); }
  .hn-header-bar { gap: 16px; }
  .hn-nav { display: none; }
  .hn-header .hn-menu-toggle { display: inline-flex; }
  .hn-hero-media img { object-position: left center; }
  .hn-hero-copy h1 { font-size: 44px; }
  .hn-hero-copy { max-width: 430px; }
  .hn-category-grid, .hn-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; }
  .hn-product-grid { row-gap: 32px; }
  .hn-category-photo img { height: 150px; }
  .hn-footer-grid, .hn-brand, .hn-season-grid { grid-template-columns: 1fr 1fr; }
  .hn-section-line h2 { font-size: 20px; }
}
@media (max-width: 767px) {
  .hn-search { display: none; }
  .hn-header-bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; height: 72px; gap: 8px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .hn-mobile-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--hn-border);
    background: #fff;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .hn-mobile-nav a, .hn-mobile-nav button {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 68px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 11px;
    cursor: pointer;
  }
  .hn-mobile-cart { position: relative; display: inline-flex; }
  .hn-mobile-count {
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
  }
  .hn-page { padding: 28px 0 48px; }
  .hn-page-title, .hn-catalog-head h1 { font-size: 28px; }
  .hn-prose .hn-page-content h2 { font-size: 20px; }
  .hn-catalog-head { margin-bottom: 24px; padding-bottom: 20px; }
  .hn-summary .product_title { font-size: 24px; }
  .hn-static-price .price, .hn-static-price .woocommerce-Price-amount { font-size: 26px; }
  .hn-catalog-tools, .hn-missing-search { width: 100%; }
  .hn-missing-search { flex-direction: column; }
  .hn-missing-links .hn-button { flex: 1 1 auto; }
  body.woocommerce-checkout, body.woocommerce-account { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .hn-prose .hn-page-content table, .hn-commerce .woocommerce-orders-table { display: block; max-width: 100%; overflow-x: auto; }
  .hn-section-head span { display: none; }
  .hn-categories h2 { font-size: 20px; }
  .hn-footer-grid, .hn-brand { grid-template-columns: 1fr; }
  .hn-size-inner, .hn-season-grid { display: flex; flex-direction: column; align-items: flex-start; }
  .hn-season img { height: 220px; }

  /* PDP mobile order: image → title → price → buy/options → quick order → rest. */
  .hn-single .hn-product {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .hn-single .hn-gallery { order: 1; }
  .hn-single .hn-summary {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .hn-single .hn-summary .product_title { order: 1; margin: 0; }
  .hn-single .hn-summary .hn-static-price { order: 2; margin-top: 10px; }
  .hn-single .hn-summary .hn-buy { order: 3; margin-top: 14px; padding-top: 14px; }
  .hn-single .hn-summary .hn-quick-order { order: 4; margin-top: 16px; }
  .hn-single .hn-summary .hn-eyebrow { order: 5; margin-top: 16px; }
  .hn-single .hn-summary .hn-sku { order: 6; }
  .hn-single .hn-summary .hn-short { order: 7; }
  .hn-single .hn-summary .hn-service-links { order: 8; }

  /* Compact footer newsletter on mobile. */
  .hn-footer-newsletter {
    gap: 12px;
    padding: 20px 0;
  }
  .hn-footer-newsletter h3 { margin-bottom: 4px; font-size: 16px; }
  .hn-footer-newsletter p { font-size: 13px; line-height: 1.45; }
  .hn-footer-newsletter-form {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: stretch;
  }
  .hn-footer-newsletter-form input[type="email"],
  .hn-footer-newsletter-form input[type="text"],
  .hn-footer-newsletter-form .wpcf7-form-control:not(.wpcf7-submit) {
    flex: 1 1 auto;
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }
  .hn-footer-newsletter-form .wpcf7-form p {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
  }
  .hn-footer-newsletter-form .wpcf7-submit,
  .hn-footer-newsletter-form .hn-button {
    flex: 0 0 auto;
    width: auto;
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
  .hn-footer-newsletter-form .wpcf7-form p br { display: none; }
}
@media (max-width: 639px) {
  .hn-container { width: calc(100% - 32px); }
  /* Keep profile icon visible — mobile nav also has Профил. */
  .hn-header-tools { gap: 4px; }
  .hn-hero { --hn-hero-height: 360px; }
  .hn-hero-stage.hn-container {
    width: 100%;
    margin-inline: 0;
  }
  .hn-hero-media img {
    object-position: left center;
  }
  .hn-hero-slide.has-text::after {
    background: linear-gradient(180deg, rgba(8, 14, 24, .55) 0%, rgba(8, 14, 24, .28) 42%, transparent 72%);
  }
  .hn-hero-overlay { align-items: flex-end; padding-bottom: 64px; }
  .hn-hero-copy { max-width: 350px; padding-block: 0; }
  .hn-hero-controls { bottom: 14px; gap: 8px; padding-inline: 16px; }
  .hn-hero-nav { width: 38px; height: 38px; }
  input, textarea, select { font-size: 16px; }
}
@media (max-width: 374px) {
  .hn-logo span { display: none; }
  .hn-header-bar { grid-template-columns: 44px minmax(0, 1fr) 44px; justify-items: center; }
  .hn-header-bar .hn-menu-toggle { justify-self: start; }
  .hn-header-bar .hn-header-tools { justify-self: end; }
  .hn-mobile-count { right: -6px; }
}
@media (max-width: 782px) {
  body.admin-bar .hn-header { top: 46px; }
}
.hn-catalog, .hn-single { padding: 24px 0 64px; }
.hn-crumbs,
.hn-crumbs .woocommerce-breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 32px;
  padding-bottom: 2px;
  color: var(--hn-muted-fg);
  font-size: 12px;
  line-height: 1.4;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
}
.hn-crumbs::-webkit-scrollbar,
.hn-crumbs .woocommerce-breadcrumb::-webkit-scrollbar { display: none; }
.hn-crumbs a,
.hn-crumbs span,
.hn-crumbs .hn-crumb-sep {
  flex: 0 0 auto;
  display: inline;
  white-space: nowrap;
}
.hn-crumbs a:hover { color: var(--hn-primary); }
.hn-crumb-sep { opacity: 0.7; }
@media (max-width: 767px) {
  .hn-crumbs,
  .hn-crumbs .woocommerce-breadcrumb {
    margin: 0 0 16px;
    gap: 6px;
  }
}
.hn-catalog-about {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hn-border);
}
.hn-catalog-about-body {
  color: var(--hn-muted-fg);
  font-size: 14px;
  line-height: 1.7;
}
.hn-catalog-about-body > *:first-child { margin-top: 0; }
.hn-catalog-about-body > *:last-child { margin-bottom: 0; }
.hn-catalog-about:not(.is-expanded):not(.is-short) .hn-catalog-about-body {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.hn-catalog-about-toggle {
  display: inline-flex;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hn-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.hn-catalog-about-toggle[hidden] { display: none !important; }
.hn-drawer-search {
  position: relative;
  display: block;
  margin-bottom: 24px;
}
.hn-drawer-search input[type="search"] {
  width: 100%;
  padding: 0 52px 0 16px;
}
.hn-drawer-search > .hn-button-icon {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: calc(var(--hn-radius) - 2px);
}
.hn-drawer-search-results,
.hn-drawer-search .hn-search-results {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  margin-top: 8px;
  max-height: min(50vh, 320px);
  overflow: auto;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(17, 24, 28, 0.12);
}
.hn-catalog-head { margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--hn-border); }
.hn-catalog-head .hn-eyebrow { margin-bottom: 8px; color: var(--hn-primary); }
.hn-catalog-head h1 { font-size: 30px; font-weight: 600; line-height: 1.2; }
.hn-catalog-head > p { max-width: 720px; margin-top: 12px; color: var(--hn-muted-fg); font-size: 14px; line-height: 1.6; }
.hn-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hn-catalog-layout { display: grid; gap: 36px; }
.hn-catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.hn-catalog-toolbar > p { color: var(--hn-muted-fg); font-size: 14px; }
.hn-catalog-tools { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; min-width: 0; }
.hn-catalog-tools select, .hn-price-fields input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  padding: 0 12px;
}
.hn-catalog-tools select { font-size: 12px; }
.hn-filters-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hn-filters-head h2 { font-size: 18px; }
.hn-filters-head p { color: var(--hn-muted-fg); font-size: 13px; }
.hn-filters-head button { display: inline-flex; border: 0; background: transparent; cursor: pointer; }
.hn-filter-accordion {
  margin: 0;
  border-top: 1px solid var(--hn-border);
}
.hn-filters-scroll > .hn-filter-accordion:first-child { border-top: 0; }
.hn-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.hn-filter-summary::-webkit-details-marker { display: none; }
.hn-filter-summary em { font-style: normal; color: var(--hn-primary); font-weight: 500; }
.hn-filter-summary svg {
  flex: none;
  color: var(--hn-muted-fg);
  transition: transform .15s ease;
}
.hn-filter-accordion[open] > .hn-filter-summary svg { transform: rotate(180deg); }
.hn-filter-panel { padding: 0 0 12px; }
.hn-filter-cats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 320px;
  overflow: auto;
}
.hn-cat-branch { margin: 0; border: 0; }
.hn-cat-summary {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0;
  list-style: none;
  cursor: pointer;
}
.hn-cat-summary::-webkit-details-marker { display: none; }
.hn-cat-link {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  color: var(--hn-muted-fg);
  font-size: 13px;
  line-height: 1.35;
}
.hn-cat-link.is-current { color: var(--hn-primary); font-weight: 600; }
.hn-cat-root { padding-left: 0; }
.hn-cat-chevron {
  display: inline-flex;
  flex: none;
  color: var(--hn-muted-fg);
  transition: transform .15s ease;
}
.hn-cat-branch[open] > .hn-cat-summary .hn-cat-chevron { transform: rotate(180deg); }
.hn-cat-children {
  display: grid;
  gap: 0;
  padding: 0 0 4px 12px;
  border-left: 1px solid var(--hn-border);
  margin: 0 0 4px 4px;
}
.hn-choice small, .hn-check small {
  margin-left: auto;
  color: var(--hn-muted-fg);
  font-size: 11px;
  font-weight: 500;
}
.hn-check-label { flex: 1; min-width: 0; }
.hn-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hn-choice.is-selected small { color: rgb(255 255 255 / 80%); }
.hn-price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hn-price-fields label { color: var(--hn-muted-fg); font-size: 12px; }
.hn-price-fields input { margin-top: 8px; font-size: 16px; }
.hn-choice-list, .hn-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.hn-choice, .hn-swatch, .hn-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  cursor: pointer;
}
.hn-choice.is-selected, .hn-swatch.is-selected { border-color: var(--hn-primary); background: var(--hn-primary); color: #fff; }
.hn-swatch.is-disabled { color: var(--hn-muted-fg); text-decoration: line-through; }
.hn-check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 13px; }
a.hn-check span { width: 18px; height: 18px; flex: none; border: 1px solid var(--hn-border); border-radius: 4px; }
a.hn-check.is-selected { font-weight: 600; }
a.hn-check.is-selected span { border-color: var(--hn-primary); background: var(--hn-primary); box-shadow: inset 0 0 0 3px #fff; }
.hn-check-field { margin-top: 4px; cursor: pointer; }
.hn-check-field span { display: none; }
.hn-check-field input { width: 18px; height: 18px; accent-color: var(--hn-primary); }
.hn-clear-filters { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--hn-muted-fg); font-size: 14px; }
.hn-filter-apply { display: none; width: 100%; margin-top: 20px; }
.hn-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.hn-active-filters a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 10px; border-radius: var(--hn-radius); background: var(--hn-muted); font-size: 12px; }
.hn-active-filters .hn-text-link { margin: 0; background: transparent; }
.hn-catalog-empty { padding: 64px 16px; border-top: 1px solid var(--hn-border); border-bottom: 1px solid var(--hn-border); text-align: center; }
.hn-catalog-empty h2 { font-size: 20px; font-weight: 600; }
.hn-catalog-empty p { max-width: 28rem; margin: 12px auto 0; color: var(--hn-muted-fg); font-size: 14px; }
.hn-catalog-empty .hn-button { margin-top: 24px; }
.hn-catalog ul.products,
.hn-catalog ul.products.hn-product-grid,
.hn-single ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 16px;
  row-gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hn-catalog ul.products::before, .hn-catalog ul.products::after,
.hn-single ul.products::before, .hn-single ul.products::after { content: none; display: none; }
.hn-catalog ul.products li.product, .hn-single ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; clear: none !important; }
.woocommerce-pagination,
.hn-catalog .woocommerce-pagination,
.woocommerce nav.woocommerce-pagination {
  display: flex;
  justify-content: center;
  margin: 36px 0 8px;
}
.woocommerce-pagination ul.page-numbers,
.woocommerce-pagination ul,
.hn-catalog .woocommerce-pagination ul.page-numbers,
.woocommerce nav.woocommerce-pagination ul {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: 0 !important;
}
.woocommerce-pagination ul li,
.hn-catalog .woocommerce-pagination ul li,
.woocommerce nav.woocommerce-pagination ul li {
  float: none !important;
  display: block;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers,
.hn-catalog .woocommerce-pagination a.page-numbers,
.hn-catalog .woocommerce-pagination span.page-numbers,
.woocommerce nav.woocommerce-pagination a.page-numbers,
.woocommerce nav.woocommerce-pagination span.page-numbers {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px !important;
  width: auto !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 1px solid var(--hn-border) !important;
  border-radius: var(--hn-radius) !important;
  background: #fff !important;
  color: var(--hn-fg) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.woocommerce-pagination a.page-numbers:hover,
.hn-catalog .woocommerce-pagination a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination a.page-numbers:hover {
  border-color: var(--hn-primary) !important;
  background: var(--hn-muted) !important;
  color: var(--hn-primary) !important;
}
.woocommerce-pagination span.page-numbers.current,
.hn-catalog .woocommerce-pagination span.page-numbers.current,
.woocommerce nav.woocommerce-pagination span.page-numbers.current {
  border-color: var(--hn-primary) !important;
  background: var(--hn-primary) !important;
  color: #fff !important;
}
.woocommerce-pagination span.page-numbers.dots,
.hn-catalog .woocommerce-pagination span.page-numbers.dots {
  border-color: transparent !important;
  background: transparent !important;
  color: var(--hn-muted-fg) !important;
  min-width: 28px !important;
  padding: 0 4px !important;
  cursor: default;
}
.woocommerce-pagination a.prev.page-numbers,
.woocommerce-pagination a.next.page-numbers {
  font-size: 16px !important;
}
.hn-card-media { position: relative; }
.hn-card-media-wrap { position: relative; }
.hn-badge { position: absolute; z-index: 1; top: 8px; left: 8px; padding: 4px 8px; border-radius: 999px; background: var(--hn-promotion); color: #fff; font-size: 12px; }
.hn-card-price { margin-top: 8px; min-height: 28px; }
.hn-card-catalog .price, .hn-card-catalog .woocommerce-Price-amount,
.hn-card .price, .hn-card .woocommerce-Price-amount { font-size: 18px; font-weight: 600; color: var(--hn-fg); }
.woocommerce ul.products li.product .price { color: var(--hn-fg); }
.hn-card-options { display: grid; gap: 10px; margin-top: 12px; }
.hn-card-attr-label { margin: 0; font-size: 12px; font-weight: 600; color: var(--hn-muted-fg); }
.hn-card-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.hn-card-swatch {
  min-width: 40px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  color: var(--hn-fg);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.hn-card-swatch.is-selected {
  border-color: var(--hn-primary);
  background: var(--hn-primary);
  color: #fff;
}
.hn-card-swatch.is-disabled {
  opacity: .45;
  text-decoration: line-through;
  cursor: not-allowed;
}
.hn-card-picker {
  position: absolute;
  z-index: 3;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 10px 28px rgb(0 0 0 / 12%);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.hn-card-picker.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.hn-card-picker-title {
  margin: 0;
  color: var(--hn-muted-fg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hn-card-picker-options { display: grid; gap: 10px; }
.hn-card-picker .hn-card-attr-label {
  margin: 0 0 6px;
  color: var(--hn-muted-fg);
  font-size: 11px;
  font-weight: 600;
}
.hn-card-picker .hn-card-swatches { gap: 6px; }
.hn-card-picker .hn-card-swatch {
  min-width: 36px;
  min-height: 34px;
  background: #fff;
  color: var(--hn-fg);
}
.hn-card-picker .hn-card-swatch.is-selected {
  border-color: var(--hn-primary);
  background: var(--hn-primary);
  color: #fff;
}
.hn-card-picker-add {
  margin-top: 0;
  min-height: 42px;
}
.hn-card.is-picking { z-index: 4; }
.hn-card-add,
.hn-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}
.hn-card-add:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.hn-card-add svg { flex: none; }
.hn-card-data { display: none; }
.hn-product { display: grid; gap: 24px; }
.hn-gallery-stage { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--hn-radius); background: var(--hn-muted); }
.hn-gallery-stage img { width: 100%; height: 100%; object-fit: contain; }
.hn-zoom-open { position: absolute; right: 12px; bottom: 12px; background: rgb(255 255 255 / 90%); }
.hn-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hn-thumb { width: 72px; height: 72px; padding: 4px; }
.hn-thumb.is-selected { border-color: var(--hn-primary); box-shadow: 0 0 0 1px var(--hn-primary); }
.hn-thumb img { width: 100%; height: 100%; object-fit: contain; }
.hn-summary .hn-eyebrow { display: inline-block; margin-bottom: 8px; color: var(--hn-primary); }
.hn-summary .product_title { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.3; }
.hn-sku { margin: 8px 0 0; color: var(--hn-muted-fg); font-size: 12px; }
.hn-static-price { margin-top: 16px; }
.hn-static-price .price,
.hn-static-price .woocommerce-Price-amount,
.hn-summary p.price,
.hn-summary p.price .woocommerce-Price-amount {
  margin: 0;
  font-size: 30px !important;
  font-weight: 600;
  color: var(--hn-fg) !important;
}
.hn-static-price del, .hn-summary p.price del { color: var(--hn-muted-fg) !important; font-size: 18px; font-weight: 400; }
.hn-static-price del .woocommerce-Price-amount, .hn-summary p.price del .woocommerce-Price-amount { font-size: 18px !important; color: var(--hn-muted-fg) !important; }
.hn-static-price ins, .hn-summary p.price ins { text-decoration: none; }
.hn-summary table.variations select.hn-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.hn-stock-hint,
.hn-buy .hn-stock-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--hn-primary);
  font-size: 14px;
  font-weight: 500;
}
.hn-stock-hint svg { flex: 0 0 auto; }
.hn-buy-links + .hn-stock-hint { margin-top: 0; }
.hn-short { margin-top: 16px; color: var(--hn-muted-fg); font-size: 14px; line-height: 1.7; }
.hn-short > *:first-child { margin-top: 0; }
.hn-short > *:last-child { margin-bottom: 0; }
.hn-buy { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hn-border); }
.hn-buy-links { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.hn-buy-links button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--hn-primary); font-size: 12px; cursor: pointer; }
.hn-summary form.cart,
.hn-summary form.variations_form {
  margin: 0;
}
.hn-summary .variations_button { margin-top: 0; }
.hn-summary table.variations { width: 100%; margin: 0; border: 0; }
.hn-summary table.variations td, .hn-summary table.variations th { display: block; padding: 0 0 12px; border: 0; background: transparent; text-align: left; }
.hn-summary table.variations tr:last-child td, .hn-summary table.variations tr:last-child th { padding-bottom: 0; }
.hn-summary table.variations label { font-size: 14px; font-weight: 600; }
.hn-summary .reset_variations { display: inline-block; margin: 8px 0 0; color: var(--hn-muted-fg); font-size: 12px; }
.hn-summary .woocommerce-variation-price, .hn-summary .woocommerce-variation-availability { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.hn-summary .woocommerce-variation-description { margin: 0 0 12px; color: var(--hn-muted-fg); font-size: 14px; }
.hn-summary .single_variation_wrap { margin-top: 12px; }
.woocommerce-variation-add-to-cart, .hn-summary form.cart:not(.variations_form) {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin: 0;
}
.hn-buy-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.hn-summary .quantity {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 132px;
  height: 48px;
  padding: 0 4px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
}
.hn-summary .quantity .hn-qty-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--hn-fg);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.hn-summary .quantity .hn-qty-step:hover { color: var(--hn-primary); }
.hn-summary .quantity input.qty {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  -moz-appearance: textfield;
}
.hn-summary .quantity input.qty::-webkit-outer-spin-button, .hn-summary .quantity input.qty::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.hn-favorite-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  color: var(--hn-fg);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.hn-favorite-toggle svg { flex: none; display: block; }
.hn-favorite-toggle:hover { border-color: var(--hn-primary); color: var(--hn-primary); }
.hn-favorite-toggle[aria-pressed="true"] {
  border-color: var(--hn-primary);
  color: var(--hn-primary);
}
.hn-favorite-toggle[aria-pressed="true"] svg { fill: currentColor; }
.hn-summary .single_add_to_cart_button.button,
.hn-summary .single_add_to_cart_button {
  display: inline-flex !important;
  flex: 1 0 100%;
  align-items: center !important;
  justify-content: center !important;
  gap: 0;
  width: 100%;
  min-height: 52px;
  margin: 4px 0 0 !important;
  padding: 0 20px !important;
  float: none !important;
  border: 0;
  border-radius: var(--hn-radius);
  background: var(--hn-primary) !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center !important;
  cursor: pointer;
  transition: filter .15s ease;
}
.hn-summary .single_add_to_cart_button .hn-atc-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}
.hn-summary .single_add_to_cart_button .hn-atc-label svg {
  flex: none;
  display: block;
  width: 18px;
  height: 18px;
}
.hn-summary .single_add_to_cart_button:hover { filter: brightness(0.94); }
.hn-summary .single_add_to_cart_button.disabled, .hn-summary .single_add_to_cart_button:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.hn-summary .hn-swatch {
  min-width: 52px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--hn-radius);
  font-size: 14px;
  font-weight: 500;
}
.hn-stock-empty {
  padding: 16px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: var(--hn-muted);
}
.hn-stock-empty p { margin: 0 0 12px; color: var(--hn-muted-fg); font-size: 14px; line-height: 1.6; }
.hn-stock-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hn-quick-order {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: var(--hn-muted);
}
.hn-quick-order h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.hn-quick-order > p { margin: 0 0 12px; color: var(--hn-muted-fg); font-size: 13px; line-height: 1.5; }
.hn-quick-order-form { display: grid; gap: 12px; }
.hn-quick-order-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 500; }
.hn-quick-order-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  font-size: 16px;
}
.hn-quick-order-submit {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  background: var(--hn-primary) !important;
  border-color: var(--hn-primary);
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
}
.hn-quick-order-submit:hover { filter: brightness(0.94); }
.related.products {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hn-border);
}
.related.products > h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}
.related.products > h2::after {
  content: "Изберете още продукти от същата колекция";
  display: block;
  margin-top: 6px;
  margin-bottom: 16px;
  color: var(--hn-muted-fg);
  font-size: 14px;
  font-weight: 400;
}
.hn-service-links { margin-top: 16px; border-top: 1px solid var(--hn-border); }
.hn-service-links a,
.hn-service-links button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--hn-border);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.hn-service-links a svg:first-child,
.hn-service-links button svg:first-child { color: var(--hn-primary); flex: none; }
.hn-service-links a svg:last-child,
.hn-service-links button svg:last-child { margin-left: auto; flex: none; }
.hn-dialog-wide { width: min(840px, calc(100% - 32px)); }
.hn-dialog-body { max-height: min(70dvh, 560px); overflow: auto; }
.hn-dialog-body.hn-prose > *:first-child { margin-top: 0; }
.hn-home-seo { margin: 0 auto 48px; padding-top: 8px; }
.hn-size-finder {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
}
.hn-size-finder-label { margin: 0; font-size: 14px; }
.hn-size-finder-gender { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.hn-size-finder-gender label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.hn-size-finder-fields { display: grid; gap: 8px; }
.hn-size-finder-fields label { display: grid; gap: 3px; font-size: 13px; }
.hn-size-finder-fields input,
.hn-size-finder-fields select {
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: var(--hn-muted);
}
.hn-size-finder-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.hn-size-finder-actions .hn-button {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}
.hn-details { margin-top: 32px; border-top: 1px solid var(--hn-border); }
.hn-details details { padding: 16px 0; border-bottom: 1px solid var(--hn-border); }
.hn-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.hn-details summary::-webkit-details-marker { display: none; }
.hn-details details > div {
  max-width: min(760px, 100%);
  margin-top: 12px;
  color: var(--hn-muted-fg);
  font-size: 14px;
  line-height: 1.7;
}
.hn-details details > div > *:first-child { margin-top: 0; }
.hn-details details > div > *:last-child { margin-bottom: 0; }
.hn-details table { width: 100%; border-collapse: collapse; }
.hn-details th, .hn-details td { padding: 10px 8px; border-bottom: 1px solid var(--hn-border); text-align: left; }

/* Wide size charts / HTML tables in product descriptions. */
.hn-table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 16px 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
}
.hn-table-scroll > table,
.hn-details .hn-table-scroll > table,
.hn-prose .hn-table-scroll > table,
.hn-catalog-about .hn-table-scroll > table {
  width: max-content !important;
  min-width: 100%;
  max-width: none;
  margin: 0;
  border: 0 !important;
  border-collapse: collapse;
}
.hn-table-scroll th,
.hn-table-scroll td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--hn-border);
  border-right: 1px solid var(--hn-border);
  white-space: nowrap;
  vertical-align: middle;
  font-size: 13px;
}
.hn-table-scroll tr > *:last-child { border-right: 0; }
.hn-table-scroll thead th {
  background: var(--hn-muted);
  color: var(--hn-fg);
  font-weight: 600;
}
.hn-table-scroll tbody th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: var(--hn-fg);
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
}
@media (max-width: 767px) {
  .hn-details details > div { max-width: 100%; }
  .hn-table-scroll { margin-inline: 0; }
}
.hn-reviews-block, .hn-recent { margin-top: 32px; }
.related.products > h2, .hn-recent h2, .woocommerce-Reviews-title { margin-bottom: 16px; font-size: 22px; font-weight: 600; }
.hn-reviews-block textarea, .hn-reviews-block input[type="text"], .hn-reviews-block input[type="email"] {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
}
.hn-reviews-block .submit, .woocommerce-message .button, .woocommerce-info .button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--hn-radius);
  background: var(--hn-primary);
  color: #fff;
  cursor: pointer;
}
.woocommerce-message, .woocommerce-error, .woocommerce-info { margin: 0 0 16px; padding: 12px 16px; list-style: none; border: 1px solid var(--hn-border); background: var(--hn-muted); color: var(--hn-fg); font-size: 14px; }
.hn-dialog { width: min(720px, calc(100% - 32px)); max-height: 90dvh; padding: 24px; border: 0; border-radius: var(--hn-radius); }
.hn-dialog::backdrop { background: rgb(0 0 0 / 45%); }
.hn-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.hn-dialog h2 { font-size: 20px; }
.hn-dialog p { margin-bottom: 12px; color: var(--hn-muted-fg); font-size: 14px; line-height: 1.7; }
.hn-dialog img { width: 100%; max-height: 65dvh; object-fit: contain; }
.hn-dialog-head button { display: inline-flex; border: 0; background: transparent; cursor: pointer; }
.hn-filters-backdrop { position: fixed; inset: 0; z-index: 65; border: 0; background: rgb(0 0 0 / 40%); }
body.hn-filters-open { overflow: hidden; }
@media (min-width: 640px) {
  .hn-catalog-head h1 { font-size: 36px; }
  .hn-catalog-tools { display: flex; }
  .hn-catalog-tools select { width: 220px; }
}
@media (min-width: 1024px) {
  .hn-catalog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
  .hn-filters { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow: auto; }
  .hn-filters-head, .hn-filter-toggle, .hn-filters-backdrop { display: none; }
  .hn-product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .hn-gallery {
    position: sticky;
    top: calc(var(--hn-header) + 12px);
    align-self: start;
    max-height: calc(100vh - var(--hn-header) - 24px);
    overflow: auto;
  }
  body.admin-bar .hn-gallery { top: calc(var(--hn-header) + 44px); }
  .hn-single ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 900px) {
  .hn-catalog ul.products,
  .hn-catalog ul.products.hn-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px 20px;
    row-gap: 28px;
  }
}
@media (min-width: 1280px) {
  .hn-catalog ul.products,
  .hn-catalog ul.products.hn-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px;
  }
}
@media (max-width: 1023px) {
  .hn-filters {
    position: fixed;
    z-index: 70;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(100%, 24rem);
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    overflow: auto;
    background: #fff;
    transform: translateX(-105%);
    visibility: hidden;
  }
  .hn-filters.is-open { transform: none; visibility: visible; }
  .hn-filters { display: flex; flex-direction: column; overflow: hidden; }
  .hn-filters form { display: flex; flex: 1; flex-direction: column; min-height: 0; }
  .hn-filters-scroll { flex: 1; overflow: auto; padding-bottom: 8px; }
  .hn-filter-apply { display: inline-flex; flex: none; margin-top: 12px; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .hn-filters { transition: none; }
}

.hn-cart-layout { display: grid; gap: 32px; align-items: start; }
.hn-cart-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hn-border);
  border-bottom: 1px solid var(--hn-border);
}
.hn-cart-line {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--hn-border);
}
.hn-cart-line:last-child { border-bottom: 0; }
.hn-commerce .woocommerce-cart-form .button[name="update_cart"],
.hn-commerce .woocommerce-cart-form button[name="update_cart"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}
.hn-cart-media img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--hn-radius);
  background: var(--hn-muted);
}
.hn-cart-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--hn-fg);
  text-transform: none;
}
.hn-cart-name:hover { color: var(--hn-primary); }
.hn-cart-line dl,
.hn-cart-line .variation {
  margin: 4px 0 0;
  color: var(--hn-muted-fg);
  font-size: 12px;
  line-height: 1.4;
}
.hn-cart-line dd,
.hn-cart-line dt { display: inline; margin: 0; }
.hn-cart-line dt { font-weight: 400; }
.hn-cart-line dd::before { content: " · "; }
.hn-cart-line dd { margin-right: 0; }
.hn-cart-line-price { margin-top: 4px; font-weight: 600; font-size: 14px; }
.hn-cart-line-total {
  display: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.hn-cart-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.hn-cart-tools .quantity,
.hn-commerce .woocommerce-cart-form .quantity,
.hn-checkout-lines .quantity {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 120px;
  height: 44px;
  padding: 0 2px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  overflow: hidden;
}
/* Hide plugin/theme qty chrome — we use .hn-qty-step only. */
.hn-cart-tools .quantity .qty-button,
.hn-commerce .woocommerce-cart-form .quantity .qty-button,
.hn-checkout-lines .quantity .qty-button,
.hn-cart-tools .quantity .minus,
.hn-cart-tools .quantity .plus,
.hn-commerce .woocommerce-cart-form .quantity .minus,
.hn-commerce .woocommerce-cart-form .quantity .plus,
.hn-checkout-lines .quantity .minus,
.hn-checkout-lines .quantity .plus {
  display: none !important;
}
.hn-cart-tools .quantity .hn-qty-step,
.hn-commerce .woocommerce-cart-form .quantity .hn-qty-step,
.hn-checkout-lines .quantity .hn-qty-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--hn-fg) !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none !important;
  cursor: pointer;
}
.hn-cart-tools .quantity .hn-qty-step:hover,
.hn-commerce .woocommerce-cart-form .quantity .hn-qty-step:hover,
.hn-checkout-lines .quantity .hn-qty-step:hover {
  color: var(--hn-primary) !important;
  background: transparent !important;
}
.hn-cart-tools .quantity input.qty,
.hn-commerce .woocommerce-cart-form .quantity input.qty,
.hn-checkout-lines .quantity input.qty {
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  box-shadow: none !important;
  -moz-appearance: textfield;
}
.hn-cart-tools .quantity input.qty::-webkit-outer-spin-button,
.hn-cart-tools .quantity input.qty::-webkit-inner-spin-button,
.hn-checkout-lines .quantity input.qty::-webkit-outer-spin-button,
.hn-checkout-lines .quantity input.qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
/* Override WooCommerce circular × remove — keep icon + „Изтрий“ inline. */
.hn-cart-tools a.remove,
.hn-checkout-lines a.remove,
.hn-commerce .hn-cart-tools a.remove,
.hn-commerce .hn-checkout-lines a.remove,
.woocommerce .hn-cart-tools a.remove,
.woocommerce .hn-checkout-lines a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 6px;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 44px;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: var(--hn-radius) !important;
  background: transparent !important;
  color: var(--hn-muted-fg) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  cursor: pointer;
  vertical-align: middle;
}
.hn-cart-tools a.remove svg,
.hn-checkout-lines a.remove svg {
  flex: 0 0 auto;
  display: block;
  width: 16px;
  height: 16px;
}
.hn-cart-tools a.remove span,
.hn-checkout-lines a.remove span {
  display: inline;
  line-height: 1.2;
}
.hn-cart-tools a.remove:hover,
.hn-checkout-lines a.remove:hover,
.hn-commerce .hn-cart-tools a.remove:hover,
.hn-commerce .hn-checkout-lines a.remove:hover,
.woocommerce .hn-cart-tools a.remove:hover,
.woocommerce .hn-checkout-lines a.remove:hover {
  background: var(--hn-accent) !important;
  color: var(--hn-fg) !important;
}
.hn-cart-tools a.remove::before,
.hn-checkout-lines a.remove::before {
  content: none !important;
  display: none !important;
}
.hn-cart-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 0;
  margin-top: 20px;
}
.hn-continue-shopping {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  color: var(--hn-fg);
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}
.hn-continue-shopping:hover {
  border-color: var(--hn-primary);
  color: var(--hn-primary);
  background: #fff;
}
.cross-sells > h2 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 600;
}
.cross-sells > h2::after {
  content: "Може да харесате и тези продукти";
  display: block;
  margin-top: 8px;
  margin-bottom: 20px;
  color: var(--hn-muted-fg);
  font-size: 14px;
  font-weight: 400;
}
.hn-cart-aside {
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  padding: 20px;
  background: #fff;
}
body.woocommerce-cart .woocommerce-shipping-methods,
body.woocommerce-cart .woocommerce-shipping-destination,
body.woocommerce-cart .shipping-calculator-form,
body.woocommerce-cart .bgc-panel,
body.woocommerce-cart .bgc-fields,
body.woocommerce-cart .bgc-block,
body.woocommerce-cart tr.shipping .woocommerce-shipping-methods {
  display: none !important;
}
.hn-cart-coupon { margin: 0 0 20px; }
.hn-cart-coupon .coupon {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
}
.hn-cart-coupon .coupon .input-text {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 1px solid var(--hn-border) !important;
  border-radius: var(--hn-radius);
  box-shadow: none;
}
.hn-cart-coupon .coupon .button,
.hn-commerce .hn-cart-coupon button[name="apply_coupon"] {
  flex: 0 0 auto;
  min-height: 48px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff !important;
  color: var(--hn-fg) !important;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  cursor: pointer;
}
.hn-cart-coupon .coupon .button:hover,
.hn-commerce .hn-cart-coupon button[name="apply_coupon"]:hover {
  border-color: var(--hn-primary);
  color: var(--hn-primary) !important;
  background: #fff !important;
}
.hn-commerce .input-text:not(.qty),
.hn-commerce textarea,
.hn-commerce select,
.hn-commerce .select2-selection--single,
.hn-commerce input[type="text"],
.hn-commerce input[type="email"],
.hn-commerce input[type="tel"],
.hn-commerce input[type="number"],
.hn-commerce input[type="password"],
.hn-commerce input[type="search"],
.hn-commerce input[type="url"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--hn-border) !important;
  border-radius: var(--hn-radius);
  background: #fff;
  padding: 8px 12px;
  box-shadow: none;
}
.hn-commerce textarea { min-height: 96px; }
.hn-commerce #order_comments,
.hn-commerce textarea#order_comments {
  min-height: 100px;
}
.hn-commerce .select2-container { width: 100% !important; }
.hn-commerce .select2-container .select2-selection__rendered { line-height: 30px; }
.hn-cart-coupon .button,
.hn-commerce button[name="apply_coupon"] {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  color: var(--hn-fg);
  font-weight: 500;
  box-shadow: none;
  cursor: pointer;
}
.hn-cart-coupon .button:hover,
.hn-commerce button[name="apply_coupon"]:hover {
  border-color: var(--hn-primary);
  color: var(--hn-primary);
  background: #fff;
}
.hn-commerce button.hn-update-cart {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}
.hn-cart-mobile-total { display: none; }
.hn-commerce .select2-container .select2-selection--single {
  height: 48px;
  border: 1px solid var(--hn-border) !important;
  border-radius: var(--hn-radius);
}
.hn-commerce .select2-container .select2-selection__rendered {
  line-height: 46px;
  padding-left: 12px;
  color: var(--hn-fg);
}
.hn-commerce .select2-container .select2-selection__arrow { height: 46px; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  border-left: 3px solid var(--hn-primary);
}
.woocommerce-error { border-left-color: var(--hn-promotion); }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { margin: 0 0 0 auto; }
.hn-commerce .cart_totals {
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  padding: 20px;
}
.hn-checkout-side {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.hn-checkout-order-card {
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  padding: 20px;
  background: #fff;
}
.hn-commerce .cart-collaterals .cart_totals,
.woocommerce-page .hn-cart-layout .cart-collaterals .cart_totals,
.hn-cart-aside .cart_totals {
  float: none;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.hn-commerce .cart_totals > h2 { display: none; }
.hn-checkout-side h2,
.hn-checkout-side h3,
.hn-commerce #order_review_heading {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--hn-fg);
}
.hn-commerce .cart_totals table,
.hn-commerce .shop_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
/* Account orders: fixed layout collapses date/status into vertical glyphs. */
.hn-commerce .woocommerce-orders-table.shop_table,
.hn-account-content .woocommerce-orders-table {
  table-layout: auto;
  min-width: 36rem;
}
.hn-account-content .woocommerce-orders-table-wrapper,
.hn-account-content .woocommerce-MyAccount-content {
  max-width: 100%;
  overflow-x: auto;
}
.hn-account-content .woocommerce-orders-table th,
.hn-account-content .woocommerce-orders-table td {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  vertical-align: middle;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.hn-commerce .cart_totals th,
.hn-commerce .cart_totals td,
.hn-commerce .shop_table th,
.hn-commerce .shop_table td {
  padding: 0;
  border-bottom: 1px solid var(--hn-border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: normal;
}
.hn-commerce .cart_totals table.shop_table_responsive thead { display: table-header-group; }
.hn-commerce .cart_totals table.shop_table_responsive tbody th { display: table-cell; }
.hn-commerce .cart_totals table.shop_table_responsive tr { display: table-row; }
.hn-commerce .cart_totals table.shop_table_responsive tr td {
  display: table-cell;
  text-align: right !important;
}
.hn-commerce .cart_totals table.shop_table_responsive tr td::before { content: none; float: none; }
.hn-commerce .cart_totals th { width: 42%; padding-right: 12px; }
.hn-commerce .cart_totals td { width: 58%; text-align: right; }
.hn-commerce .cart_totals tr.shipping td,
.hn-commerce .cart_totals tr.woocommerce-shipping-totals td {
  text-align: right !important;
  color: var(--hn-fg);
  font-size: 14px;
  line-height: 1.45;
}
.hn-commerce .shop_table thead th:first-child { width: 62%; }
.hn-commerce .shop_table thead th:last-child { width: 38%; text-align: right; }
.hn-commerce .shop_table td.product-total,
.hn-commerce .shop_table tfoot td { text-align: right; }
.hn-commerce .shop_table tfoot tr.shipping td,
.hn-commerce .shop_table tfoot tr.woocommerce-shipping-totals td {
  text-align: right;
  color: var(--hn-fg);
  font-size: 14px;
  line-height: 1.45;
}
.hn-commerce .order-total th,
.hn-commerce .order-total td { font-weight: 600; }

/* Checkout order review — match Lovable sidebar screenshot */
.hn-checkout-side .woocommerce-checkout-review-order-table {
  margin: 0;
  border: 0 !important;
  background: transparent;
}
.hn-checkout-side .woocommerce-checkout-review-order-table th,
.hn-checkout-side .woocommerce-checkout-review-order-table td,
.woocommerce table.shop_table.woocommerce-checkout-review-order-table th,
.woocommerce table.shop_table.woocommerce-checkout-review-order-table td {
  border: 0 !important;
  box-shadow: none;
  background: transparent;
  padding: 0 !important;
  vertical-align: top;
}
.hn-checkout-side .woocommerce-checkout-review-order-table thead {
  display: none;
}
.hn-checkout-side .woocommerce-checkout-review-order-table tbody .cart_item td {
  padding: 0 0 12px !important;
}
.hn-checkout-side .woocommerce-checkout-review-order-table .product-name {
  display: block;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  color: var(--hn-fg);
}
.hn-checkout-side .hn-review-product {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.hn-checkout-side .hn-review-product-media {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: var(--hn-radius);
  background: var(--hn-muted);
}
.hn-checkout-side .hn-review-product-media img,
.hn-checkout-side .woocommerce-checkout-review-order-table .product-name img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 0;
  border-radius: var(--hn-radius);
  background: var(--hn-muted);
}
.hn-checkout-side .hn-review-product-copy {
  min-width: 0;
}
.hn-checkout-side .woocommerce-checkout-review-order-table .product-quantity {
  display: inline;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--hn-fg);
}
.hn-checkout-side .woocommerce-checkout-review-order-table .product-total {
  text-align: right;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  color: var(--hn-fg);
}
.hn-checkout-side .woocommerce-checkout-review-order-table tfoot th {
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  color: var(--hn-fg);
  padding-right: 12px;
}
.hn-checkout-side .woocommerce-checkout-review-order-table tfoot td {
  text-align: right !important;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  color: var(--hn-fg);
}
.hn-checkout-side .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
.hn-checkout-side .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td {
  padding: 8px 0 4px !important;
}
.hn-checkout-side .woocommerce-checkout-review-order-table tfoot tr.shipping th,
.hn-checkout-side .woocommerce-checkout-review-order-table tfoot tr.shipping td,
.hn-checkout-side .woocommerce-checkout-review-order-table tfoot tr.hn-review-shipping-cost th,
.hn-checkout-side .woocommerce-checkout-review-order-table tfoot tr.hn-review-shipping-cost td {
  padding: 4px 0 8px !important;
  color: var(--hn-muted-fg);
  font-weight: 400;
}
.hn-checkout-side .woocommerce-checkout-review-order-table tfoot tr.order-total th,
.hn-checkout-side .woocommerce-checkout-review-order-table tfoot tr.order-total td {
  padding: 12px 0 0 !important;
  border-top: 1px solid var(--hn-border) !important;
  font-size: 15px;
  font-weight: 700;
  color: var(--hn-fg);
}
.hn-checkout-side button#place_order,
.hn-checkout-side .woocommerce-checkout-payment button#place_order {
  width: 100%;
  margin-top: 16px;
  min-height: 48px;
  border-radius: 6px;
  background: var(--hn-primary) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
}
/* Generic WC remove (tables) — do not fight cart/checkout text button above. */
.hn-commerce table a.remove { color: var(--hn-muted-fg) !important; font-size: 14px; font-weight: 500; }
.hn-commerce table a.remove:hover { color: var(--hn-promotion) !important; }

/* BG Couriers owns street/city — hide WC billing address copies. */
.hn-checkout .hn-bgc-managed-address,
.hn-checkout #billing_address_1_field.hn-bgc-managed-address,
.hn-checkout #billing_address_2_field.hn-bgc-managed-address,
.hn-checkout #billing_city_field.hn-bgc-managed-address,
.hn-checkout #billing_state_field.hn-bgc-managed-address,
.hn-checkout #billing_postcode_field.hn-bgc-managed-address,
.hn-checkout #billing_country_field.hn-bgc-managed-address {
  display: none !important;
}
.hn-checkout-additional {
  margin: 0 0 24px;
}
.hn-checkout-additional .hn-checkout-section-title {
  margin-bottom: 12px;
}
.hn-cart-layout .cart-collaterals { min-width: 0; width: 100%; }

/* Cart summary — prototype: Общо only (+ coupons), CTA full-width */
.hn-cart-aside .cart_totals,
.hn-commerce .hn-cart-aside .cart_totals {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.hn-cart-aside .cart_totals .shop_table,
.woocommerce .hn-cart-aside table.shop_table {
  margin: 0;
  border: 0 !important;
  background: transparent;
}
.hn-cart-aside .cart_totals .shop_table th,
.hn-cart-aside .cart_totals .shop_table td,
.woocommerce .hn-cart-aside table.shop_table th,
.woocommerce .hn-cart-aside table.shop_table td {
  border: 0 !important;
  box-shadow: none;
  background: transparent;
  padding: 0 !important;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 400;
}
.hn-cart-aside .cart_totals .shop_table th {
  text-align: left;
  color: var(--hn-fg);
  padding-right: 12px !important;
  width: 48%;
}
.hn-cart-aside .cart_totals .shop_table td {
  text-align: right !important;
  color: var(--hn-fg);
  white-space: nowrap;
  width: 52%;
}
.hn-cart-aside .cart_totals .cart-discount th,
.hn-cart-aside .cart_totals .cart-discount td,
.hn-cart-aside .cart_totals .fee th,
.hn-cart-aside .cart_totals .fee td,
.hn-cart-aside .cart_totals .tax-total th,
.hn-cart-aside .cart_totals .tax-total td,
.hn-cart-aside .cart_totals .tax-rate th,
.hn-cart-aside .cart_totals .tax-rate td {
  padding: 0 0 8px !important;
}
.hn-cart-aside .cart_totals .order-total th,
.hn-cart-aside .cart_totals .order-total td {
  padding: 0 !important;
  border-top: 0 !important;
  font-size: 16px;
  font-weight: 700;
  color: var(--hn-fg);
}
.hn-cart-aside .cart_totals .shop_table:has(tr.cart-discount) .order-total th,
.hn-cart-aside .cart_totals .shop_table:has(tr.cart-discount) .order-total td,
.hn-cart-aside .cart_totals .shop_table:has(tr.fee) .order-total th,
.hn-cart-aside .cart_totals .shop_table:has(tr.fee) .order-total td {
  padding-top: 12px !important;
  border-top: 1px solid var(--hn-border) !important;
}
.hn-cart-aside .wc-proceed-to-checkout {
  margin-top: 24px;
}
.hn-cart-aside .wc-proceed-to-checkout .checkout-button,
.hn-cart-aside a.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: var(--hn-primary) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
}
.hn-cart-aside a.checkout-button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.hn-commerce .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.hn-commerce .woocommerce-form__label-for-checkbox input { margin-top: 3px; accent-color: var(--hn-primary); }
.hn-commerce .woocommerce-terms-and-conditions-wrapper { margin-top: 16px; font-size: 14px; }
.hn-commerce .show-password-input { color: var(--hn-muted-fg); }
.hn-commerce a.button.checkout-button, .hn-commerce button#place_order, .hn-commerce button.woocommerce-form-login__submit, .hn-commerce button.woocommerce-form-register__submit, .hn-commerce button[name="save_account_details"], .hn-commerce button[name="save_address"], .hn-commerce .return-to-shop a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--hn-radius);
  background: var(--hn-primary) !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.hn-cart-empty { padding: 40px 16px; border: 1px solid var(--hn-border); border-radius: var(--hn-radius); text-align: center; }
.hn-cart-empty svg { color: var(--hn-primary); }
.hn-cart-empty .return-to-shop .button { width: auto; min-width: 180px; }
.hn-checkout-toolbar { margin: 0 0 24px; }
.hn-checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--hn-primary);
  font-size: 14px;
  font-weight: 500;
}
.hn-checkout-back-icon { display: inline-flex; transform: scaleX(-1); }
.hn-checkout-cancel-note {
  margin-top: 8px;
  color: var(--hn-muted-fg);
  font-size: 13px;
  line-height: 1.55;
}
.hn-checkout-cancel-note a { color: var(--hn-primary); text-decoration: underline; }
.hn-checkout-guest { margin: -8px 0 24px; color: var(--hn-muted-fg); font-size: 14px; }
.hn-checkout-guest a { color: var(--hn-primary); text-decoration: underline; }
.hn-checkout-customer { display: grid; gap: 16px; }
.hn-checkout-customer .col-2:not(:has(#ship-to-different-address)):not(:has(.shipping_address)):not(:has(.form-row)) {
  display: none;
}
.hn-checkout-section-title,
.hn-commerce .woocommerce-billing-fields > h3,
.hn-commerce .woocommerce-shipping-fields > h3,
.hn-commerce .woocommerce-additional-fields > h3,
.hn-commerce #order_review_heading,
.hn-commerce .hn-checkout-side h2,
.hn-commerce .hn-checkout-side h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}
.hn-checkout-delivery,
.hn-checkout-pay {
  margin-top: 0;
  padding-top: 0;
  background: transparent;
}
/* Keep customer details and delivery method tightly stacked. */
.hn-checkout-main > #customer_details {
  margin-bottom: 0;
}
.hn-checkout-main > .hn-checkout-delivery {
  margin-top: -8px;
}
.hn-checkout-pay,
.hn-commerce .hn-checkout-pay,
.hn-commerce #payment,
.hn-checkout-pay #payment,
.woocommerce-checkout #payment,
.hn-commerce .woocommerce-checkout-payment {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.hn-checkout-pay .hn-checkout-section-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
}
.hn-checkout-pay .woocommerce-privacy-policy-text {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--hn-muted-fg);
}
.hn-checkout-delivery .hn-checkout-section-title {
  margin-bottom: 12px;
}
.hn-delivery-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .hn-delivery-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }
}
.woocommerce ul#shipping_method > li,
.woocommerce ul#shipping_method.hn-delivery-methods > li.hn-delivery-method,
.hn-commerce .woocommerce-shipping-methods.hn-delivery-methods > li.hn-delivery-method,
.hn-delivery-method {
  display: block;
  margin: 0;
  padding: 0 !important;
  padding-right: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-width: 0;
  gap: 0;
  list-style: none;
}
/* Override WooCommerce `label { display: inline }` + plugin padding on #shipping_method labels. */
.woocommerce ul#shipping_method li label.hn-delivery-method-label,
.hn-commerce .woocommerce ul#shipping_method.hn-delivery-methods li.hn-delivery-method label.hn-delivery-method-label,
.hn-commerce .hn-delivery-method-label,
.hn-delivery-method-label {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  min-height: 56px;
  margin: 0;
  padding: 14px 16px !important;
  border: 1px solid var(--hn-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--hn-fg);
}
.hn-delivery-method.is-selected .hn-delivery-method-label,
.hn-delivery-method:has(input:checked) .hn-delivery-method-label {
  border-color: var(--hn-primary);
  box-shadow: 0 0 0 1px var(--hn-primary);
  background: #fff;
}
.hn-delivery-method-label input {
  accent-color: var(--hn-primary);
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  align-self: center;
}
.hn-delivery-method-copy {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.3;
}
.hn-delivery-logo,
.hn-delivery-method-copy img,
.hn-delivery-method-copy .bgc-ship-logo {
  flex: 0 0 auto;
  max-height: 28px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
}
.hn-delivery-method-name {
  min-width: 0;
  color: var(--hn-fg);
}
.hn-delivery-extras {
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.hn-delivery-extras:empty { display: none; }
/* Strip nested courier chrome — no double frames/padding inside extras. */
.hn-commerce .hn-delivery-extras .bgc-panel,
.hn-commerce .hn-delivery-extras .bgc-fields,
.hn-commerce .hn-delivery-extras .bgc-block,
.hn-commerce .hn-delivery-extras .boxnow-locker-details,
.hn-commerce .hn-delivery-extras .boxnow-locker-layout,
.hn-commerce .hn-delivery-extras .box-now-delivery,
.hn-delivery-extras .bgc-panel,
.hn-delivery-extras .bgc-fields,
.hn-delivery-extras .bgc-block,
.hn-delivery-extras .boxnow-locker-details,
.hn-delivery-extras .boxnow-locker-layout,
.hn-delivery-extras .box-now-delivery {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.hn-commerce .hn-delivery-extras .bgc-panel > *:first-child,
.hn-commerce .hn-delivery-extras .bgc-fields > *:first-child,
.hn-commerce .hn-delivery-extras .bgc-block > *:first-child {
  margin-top: 0;
}
/* Mode is chosen via the cards — hide BG Couriers' own tabs. */
.hn-delivery-extras .bgc-tabs {
  display: none !important;
}
.hn-checkout-delivery-note {
  margin: 12px 0 0;
  color: var(--hn-muted-fg);
  font-size: 12px;
  line-height: 1.45;
}
.hn-review-shipping-cost th {
  text-align: left;
}
.hn-review-shipping-cost td {
  text-align: right !important;
}
/* Methods + courier widgets only in the main column. */
.hn-checkout-side .woocommerce-shipping-methods,
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods,
.woocommerce-checkout-review-order-table .bgc-allmap-open,
.woocommerce-checkout-review-order-table .bgc-fields,
.woocommerce-checkout-review-order-table .bgc-panel {
  display: none !important;
}

/* Payment cards — clean stacked radios (reference UI, no Woo purple bubbles) */
.hn-checkout-pay ul.wc_payment_methods,
.hn-checkout-pay .wc_payment_methods {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  list-style: none !important;
}
.hn-checkout-pay ul.wc_payment_methods > li,
.hn-checkout-pay .wc_payment_methods > li {
  /* WooCommerce puts radio as a sibling BEFORE the label — keep them on one row. */
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  column-gap: 14px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  border: 2px solid #e4e4e4 !important;
  border-radius: 10px !important;
  background: #fff !important;
  list-style: none !important;
  min-width: 0;
  overflow: hidden;
  box-shadow: none !important;
}
.hn-checkout-pay ul.wc_payment_methods > li:has(> input:checked),
.hn-checkout-pay .wc_payment_methods > li:has(> input:checked) {
  border-color: #1a1a1a !important;
}
.hn-checkout-pay ul.wc_payment_methods > li > input.input-radio,
.hn-checkout-pay .wc_payment_methods > li > input[type="radio"] {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
  justify-self: center !important;
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  border: 2px solid #c7c7c7 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: none !important;
  position: static !important;
  float: none !important;
}
.hn-checkout-pay ul.wc_payment_methods > li > label,
.hn-checkout-pay .wc_payment_methods > li > label {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  align-self: center !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  color: #1a1a1a !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}
.hn-checkout-pay .wc_payment_methods > li > label img {
  display: none !important;
}
.hn-checkout-pay .wc_payment_methods > li:has(> input:checked) > input[type="radio"],
.hn-checkout-pay .wc_payment_methods > li > input[type="radio"]:checked {
  border-color: #1a1a1a !important;
  background:
    radial-gradient(circle at center, #1a1a1a 0 5px, #fff 6px 100%) !important;
}
.hn-checkout-pay .wc_payment_methods > li > .payment_box {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
}
/* Kill WooCommerce lilac speech-bubble descriptions under COD/etc. */
.hn-checkout-pay .payment_method_cod .payment_box,
.hn-checkout-pay .payment_method_bacs .payment_box,
.hn-checkout-pay .payment_method_cheque .payment_box {
  display: none !important;
}
/* Stripe fields: flat panel under the title row, no triangle / purple fill */
.hn-checkout-pay #payment div.payment_box,
.hn-checkout-pay .payment_method_stripe .payment_box,
.woocommerce-checkout .hn-checkout-pay #payment div.payment_box {
  position: relative !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--hn-muted-fg) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
}
.hn-checkout-pay #payment div.payment_box::before,
.hn-checkout-pay #payment div.payment_box::after,
.woocommerce-checkout .hn-checkout-pay #payment div.payment_box::before,
.woocommerce-checkout .hn-checkout-pay #payment div.payment_box::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}
.hn-checkout-pay .payment_box:empty {
  display: none !important;
}
.hn-checkout-pay .place-order {
  margin-top: 8px;
}
.hn-checkout-pay #place_order {
  width: 100%;
}
.hn-commerce .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}
@media (min-width: 640px) {
  .hn-commerce .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  /* Default: full-width so plugin fields (invoice checkbox, etc.) don't orphan name columns. */
  .hn-commerce .woocommerce-billing-fields__field-wrapper > .form-row {
    grid-column: 1 / -1;
  }
  .hn-commerce .woocommerce-billing-fields__field-wrapper > .form-row-first,
  .hn-commerce .woocommerce-billing-fields__field-wrapper > #billing_first_name_field {
    grid-column: 1;
  }
  .hn-commerce .woocommerce-billing-fields__field-wrapper > .form-row-last,
  .hn-commerce .woocommerce-billing-fields__field-wrapper > #billing_last_name_field {
    grid-column: 2;
  }
  .hn-commerce .woocommerce-billing-fields__field-wrapper .form-row-wide,
  .hn-commerce .woocommerce-billing-fields__field-wrapper #billing_email_field,
  .hn-commerce .woocommerce-billing-fields__field-wrapper #billing_phone_field,
  .hn-commerce .woocommerce-billing-fields__field-wrapper #billing_company_field,
  .hn-commerce .woocommerce-billing-fields__field-wrapper #billing_address_1_field,
  .hn-commerce .woocommerce-billing-fields__field-wrapper #billing_address_2_field,
  .hn-commerce .woocommerce-billing-fields__field-wrapper #order_comments_field,
  .hn-commerce .woocommerce-billing-fields__field-wrapper .form-row:has(input[type="checkbox"]) {
    grid-column: 1 / -1;
  }
}
.hn-checkout-items {
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--hn-border);
}
.hn-checkout-items .hn-checkout-section-title { margin: 0 0 8px; font-size: 1.1rem; }
.hn-checkout-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border: 0;
}
.hn-checkout-lines .hn-cart-line {
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--hn-border);
}
.hn-checkout-lines .hn-cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
.hn-checkout-lines .hn-cart-media img {
  width: 56px;
  height: 56px;
}
.hn-checkout-lines .hn-cart-name {
  font-size: 13px;
  line-height: 1.3;
  -webkit-line-clamp: 1;
}
.hn-checkout-lines .hn-cart-line-price {
  margin-top: 2px;
  font-size: 13px;
}
.hn-checkout-lines .hn-cart-line-total {
  font-size: 14px;
}
.hn-checkout-lines .hn-cart-tools {
  gap: 8px;
  margin-top: 6px;
}
.hn-checkout-lines .quantity {
  min-width: 100px;
  height: 36px;
}
.hn-checkout-lines .quantity .hn-qty-step,
.hn-checkout-lines .quantity input.qty {
  width: 30px;
  height: 30px;
  font-size: 14px;
}
.hn-checkout-lines a.remove {
  min-height: 36px;
  padding: 0 6px !important;
  font-size: 13px !important;
}
.hn-checkout-upsell {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
}
.hn-checkout-upsell h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: var(--hn-fg); }
.hn-checkout-upsell-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hn-checkout-upsell-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: var(--hn-muted);
}
.hn-checkout-upsell-media img { width: 52px; height: 52px; object-fit: contain; border-radius: var(--hn-radius); background: #fff; }
.hn-checkout-upsell-name {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  color: var(--hn-fg);
  text-decoration: none;
}
.hn-checkout-upsell-name:hover { color: var(--hn-primary); }
.hn-checkout-upsell-price { margin: 2px 0 6px; font-size: 13px; font-weight: 600; color: var(--hn-fg); }
.hn-checkout-upsell .hn-button-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--hn-radius);
  background: var(--hn-primary) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.hn-checkout-upsell .hn-button-sm:hover { filter: brightness(0.95); }
.hn-checkout-upsell .hn-button-sm.loading,
.hn-checkout-upsell .hn-button-sm.added { opacity: 0.85; }
.hn-review-totals-only thead,
.hn-review-totals-only tbody { display: none; }
.hn-commerce .form-row { margin: 0 0 16px; }
.hn-commerce .form-row label { display: block; margin-bottom: 4px; font-size: 14px; }
.hn-commerce .form-row-first,
.hn-commerce .form-row-last,
.woocommerce-page .hn-commerce .form-row-first,
.woocommerce-page .hn-commerce .form-row-last {
  float: none !important;
  width: 100% !important;
  clear: none !important;
}
.hn-commerce #customer_details .col-1,
.hn-commerce #customer_details .col-2,
.woocommerce-page .hn-commerce #customer_details .col-1,
.woocommerce-page .hn-commerce #customer_details .col-2 {
  float: none !important;
  width: auto !important;
}
.hn-commerce h3 { margin: 8px 0 16px; font-size: 18px; font-weight: 600; }
.hn-commerce #payment { margin-top: 0; }
.hn-commerce .woocommerce-checkout-payment .place-order { margin-top: 8px; }
/* Account / profile — match Lovable /profil */
.hn-account-auth {
  max-width: 32rem;
  margin: 0 auto;
}
.hn-auth-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hn-auth-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  color: var(--hn-fg);
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  cursor: pointer;
}
.hn-auth-switch button.is-selected {
  border-color: var(--hn-primary);
  background: var(--hn-primary);
  color: #fff;
}
.hn-commerce #customer_login,
.hn-commerce #customer_login .col-1,
.hn-commerce #customer_login .col-2 {
  float: none;
  width: 100%;
  max-width: none;
}
#customer_login.hn-auth-login .col-2,
#customer_login.hn-auth-register .col-1 {
  display: none;
}
.hn-commerce #customer_login h2 {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 600;
}
.hn-commerce #customer_login .woocommerce-form,
.hn-commerce #customer_login form.register {
  display: grid;
  gap: 16px;
}
.hn-commerce #customer_login .form-row {
  margin: 0;
}
.hn-commerce #customer_login .form-row label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
}
.hn-commerce #customer_login .woocommerce-Input,
.hn-commerce #customer_login .input-text {
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--hn-border) !important;
  border-radius: var(--hn-radius);
  background: #fff;
  font-size: 16px;
  box-shadow: none;
}
.hn-commerce #customer_login .woocommerce-form-login__submit,
.hn-commerce #customer_login .woocommerce-form-register__submit,
.hn-commerce #customer_login button[type="submit"] {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 0;
  border-radius: var(--hn-radius);
  background: var(--hn-primary) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
}
.hn-commerce #customer_login .lost_password {
  margin: 0;
}
.hn-commerce #customer_login .lost_password a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0;
  color: var(--hn-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.hn-commerce #customer_login .lost_password a:hover {
  text-decoration: underline;
}
.hn-commerce #customer_login .woocommerce-form-login__rememberme {
  margin-bottom: 4px;
}

.hn-account-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}
.hn-account-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hn-account-nav li { margin: 0; }
.hn-account-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  color: var(--hn-fg);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
  white-space: nowrap;
}
.hn-account-nav a svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}
.hn-account-nav .is-active a,
.hn-account-nav a[aria-current="page"] {
  border-color: var(--hn-primary);
  background: var(--hn-primary);
  color: #fff;
}
.hn-account-nav .woocommerce-MyAccount-navigation-link--customer-logout a {
  border-color: transparent;
  background: transparent;
}
.hn-account-nav .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: var(--hn-accent);
  color: var(--hn-fg);
}
.hn-account-content {
  min-width: 0;
}
.hn-account-section-title,
.hn-account-content > h2,
.hn-account-content .woocommerce-Address-title h2,
.hn-commerce .woocommerce-Address-title h2,
.hn-commerce .woocommerce-EditAccountForm fieldset legend,
.hn-account-content .woocommerce-order-details__title {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--hn-fg);
}
.hn-account-content .woocommerce-Address-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.hn-account-content .woocommerce-Address-title h2 {
  margin: 0;
  font-size: 1rem;
}
.hn-account-content .woocommerce-Address-title .edit {
  color: var(--hn-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.hn-account-content .woocommerce-Address address {
  margin: 0;
  font-style: normal;
  color: var(--hn-muted-fg);
  font-size: 14px;
  line-height: 1.55;
}
.hn-account-content .woocommerce-EditAccountForm .woocommerce-Input,
.hn-account-content .woocommerce-address-fields .input-text,
.hn-account-content .woocommerce-address-fields select {
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--hn-border) !important;
  border-radius: var(--hn-radius);
  background: #fff;
  font-size: 16px;
  box-shadow: none;
}
.hn-account-content .woocommerce-Addresses {
  display: grid;
  gap: 16px;
}
.hn-account-content .woocommerce-Address {
  padding: 16px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
}
.hn-account-content .woocommerce-EditAccountForm,
.hn-account-content .woocommerce-address-fields {
  max-width: 36rem;
}
.hn-account-content .woocommerce-EditAccountForm .form-row,
.hn-account-content .woocommerce-address-fields .form-row {
  margin: 0 0 16px;
}
.hn-account-content .woocommerce-EditAccountForm .button,
.hn-account-content .woocommerce-address-fields .button,
.hn-commerce button[name="save_account_details"],
.hn-commerce button[name="save_address"] {
  min-height: 48px;
  margin-top: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--hn-radius);
  background: var(--hn-primary) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
}
.hn-commerce .woocommerce-orders-table,
.hn-commerce .woocommerce-table--order-details {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}
.hn-commerce .woocommerce-orders-table th,
.hn-commerce .woocommerce-orders-table td,
.hn-commerce .woocommerce-table--order-details th,
.hn-commerce .woocommerce-table--order-details td {
  padding: 16px 0;
  border-bottom: 1px solid var(--hn-border);
  text-align: left;
  vertical-align: top;
}
.hn-commerce .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button,
.hn-commerce .woocommerce-MyAccount-content .button.view {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff !important;
  color: var(--hn-fg) !important;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
}
.cross-sells { margin-top: 40px; }
@media (min-width: 640px) {
  .hn-cart-line { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .hn-cart-media img { width: 96px; height: 96px; }
  .hn-cart-line-price { display: none; }
  .hn-cart-line-total { display: block; }
  .hn-checkout-lines .hn-cart-line { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .hn-checkout-lines .hn-cart-media img { width: 56px; height: 56px; }
  .hn-checkout-lines .hn-cart-line-price { display: none; }
  .hn-checkout-lines .hn-cart-line-total { display: block; font-size: 14px; }
  .hn-commerce .woocommerce-billing-fields__field-wrapper, .hn-commerce .woocommerce-shipping-fields__field-wrapper, .hn-commerce .woocommerce-address-fields__field-wrapper, .hn-commerce .woocommerce-EditAccountForm { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .hn-commerce .form-row-wide { grid-column: 1 / -1; }
  .hn-commerce button[name="save_account_details"], .hn-commerce button[name="save_address"] { width: auto; min-width: 160px; }
}
@media (min-width: 1024px) {
  .hn-cart-layout, form.hn-checkout { grid-template-columns: minmax(0, 1fr) 360px; }
  form.hn-checkout { display: grid; gap: 32px; align-items: start; }
  /* Validation notices are injected as form children — keep full width. */
  form.hn-checkout > .woocommerce-NoticeGroup,
  form.hn-checkout > .woocommerce-notices-wrapper,
  form.hn-checkout > .woocommerce-error,
  form.hn-checkout > .woocommerce-message,
  form.hn-checkout > .woocommerce-info {
    grid-column: 1 / -1;
  }
  .hn-checkout-side { position: sticky; top: 96px; }
  .hn-account-layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .hn-account-nav ul {
    grid-template-columns: 1fr;
  }
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
    display: block;
  }
}
@media (min-width: 1100px) {
  .hn-single {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    column-gap: 40px;
  }
  .hn-crumbs { grid-column: 1 / -1; }
  .hn-product, .hn-details, .hn-reviews-block, .hn-recent { grid-column: 1; }
  .related.products {
    grid-column: 2;
    grid-row: 2 / 6;
    align-self: start;
    position: sticky;
    top: 96px;
    margin-top: 0;
    padding-top: 0;
    padding-left: 24px;
    border-top: 0;
    border-left: 1px solid var(--hn-border);
  }
  .related.products > h2 { font-size: 18px; }
  .related.products ul.products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .related.products ul.products li.product { width: 100% !important; margin: 0 !important; }
}
@media (max-width: 1023px) {
  /* Flatten checkout columns so upsell can sit before payment on mobile/tablet. */
  form.hn-checkout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  form.hn-checkout > .hn-checkout-main,
  form.hn-checkout > .hn-checkout-side {
    display: contents;
  }
  form.hn-checkout > .woocommerce-NoticeGroup,
  form.hn-checkout > .woocommerce-notices-wrapper,
  form.hn-checkout > .woocommerce-error,
  form.hn-checkout > .woocommerce-message,
  form.hn-checkout > .woocommerce-info { order: 0; }
  form.hn-checkout .hn-checkout-items { order: 1; }
  form.hn-checkout .hn-checkout-customer { order: 2; }
  form.hn-checkout .hn-checkout-delivery { order: 3; margin-top: -12px; }
  form.hn-checkout .hn-checkout-upsell { order: 4; }
  form.hn-checkout .hn-checkout-additional { order: 5; }
  form.hn-checkout .hn-checkout-pay { order: 6; }
  form.hn-checkout .hn-checkout-order-card { order: 7; }
}
@media (max-width: 767px) {
  .hn-commerce .wc-proceed-to-checkout {
    position: fixed;
    right: 0;
    bottom: calc(68px + env(safe-area-inset-bottom));
    left: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--hn-border);
    background: #fff;
  }
  .hn-cart-mobile-total {
    display: block;
    grid-column: 1;
    min-width: 0;
  }
  .hn-cart-mobile-total > p:first-child { color: var(--hn-muted-fg); font-size: 12px; line-height: 1.3; }
  .hn-cart-mobile-amount, .hn-cart-mobile-amount .amount { font-size: 16px; font-weight: 600; line-height: 1.2; }
  .hn-commerce .wc-proceed-to-checkout a.button.checkout-button {
    grid-column: 2;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    margin-top: 0;
    white-space: nowrap;
  }
  body.woocommerce-cart { padding-bottom: calc(168px + env(safe-area-inset-bottom)); }
  .hn-cart-aside { margin-bottom: 8px; }
  .hn-topbar-inner > span:first-child { display: none; }
  .hn-topbar-inner { grid-template-columns: 1fr; justify-items: end; }
  .hn-summary .product_title { font-size: 22px; }
  .hn-thumbs { gap: 8px; }
  .hn-thumb { width: 64px; height: 64px; }
  .hn-quick-order { padding: 16px; }
  .hn-checkout-upsell-item { grid-template-columns: 56px minmax(0, 1fr); }
  .hn-continue-shopping { width: 100%; justify-content: center; }
  .hn-stock-empty-actions .hn-button { width: 100%; justify-content: center; }
}
@media (max-width: 390px) {
  .hn-summary .single_add_to_cart_button,
  .hn-quick-order-submit,
  .hn-commerce a.button.checkout-button,
  .hn-commerce button#place_order {
    font-size: 15px;
  }
  .hn-cart-line { gap: 12px; }
  .hn-checkout-upsell { padding: 12px; }
}
@media (max-width: 374px) {
  .hn-filters { width: 100%; }
  .hn-commerce .wc-proceed-to-checkout {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hn-cart-mobile-total { grid-column: 1; }
  .hn-commerce .wc-proceed-to-checkout a.button.checkout-button { grid-column: 1; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hn-cart-layout { gap: 28px; }
  .hn-checkout-main { display: grid; gap: 24px; }
  .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
  }
}

/* Commerce plugins (BG Couriers, Box Now, Econt, Side Cart) — keep hooks, theme layout */
.hn-commerce .woocommerce-notices-wrapper { margin-bottom: 16px; }
.hn-commerce .woocommerce-message,
.hn-commerce .woocommerce-info,
.hn-commerce .woocommerce-error,
.hn-commerce .bgc-free-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: var(--hn-muted);
  color: var(--hn-fg);
  font-size: 14px;
  line-height: 1.45;
  list-style: none;
}
.hn-commerce .woocommerce-message::before,
.hn-commerce .woocommerce-info::before,
.hn-commerce .woocommerce-error::before { display: none; }
.hn-commerce .woocommerce-message .button,
.hn-commerce .woocommerce-info .button { margin-left: auto; }
.hn-commerce progress,
.hn-commerce .wc-progress-bar,
.hn-commerce [class*="free-shipping"] progress {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #e6ebea;
}
.hn-commerce progress::-webkit-progress-bar { background: #e6ebea; }
.hn-commerce progress::-webkit-progress-value,
.hn-commerce progress::-moz-progress-bar { background: var(--hn-primary); }

.hn-commerce .e-checkout__container,
.hn-commerce .e-checkout__column,
.hn-commerce .e-checkout__column-inner,
.hn-commerce .e-checkout__order_review,
.hn-commerce .elementor-widget-woocommerce-checkout-page,
.hn-commerce .elementor-widget-woocommerce-my-account {
  display: contents;
}

form.hn-checkout {
  display: grid;
  gap: 32px;
  width: 100%;
  max-width: none;
}
.hn-checkout-main { display: grid; gap: 24px; min-width: 0; }
.hn-checkout-side { min-width: 0; width: 100%; }

.hn-commerce .bgc-panel,
.hn-commerce .bgc-block,
.hn-commerce .bgc-fields {
  margin: 12px 0 0;
  padding: 14px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
}
.hn-commerce .bgc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.hn-commerce .bgc-tabs button,
.hn-commerce .bgc-tabs a,
.hn-commerce .bgc-tabs .bgc-tab {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
  background: #fff;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
.hn-commerce .bgc-tabs .is-active,
.hn-commerce .bgc-tabs [aria-selected="true"],
.hn-commerce .bgc-tabs button.active {
  border-color: var(--hn-primary);
  background: #f3f8f7;
  color: var(--hn-primary);
}
.hn-commerce .bgc-grid {
  display: grid;
  gap: 12px;
}
.hn-commerce .bgc-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hn-commerce .bgc-field,
.hn-commerce .bgc-field input,
.hn-commerce .bgc-field select {
  width: 100%;
  max-width: 100%;
}
.hn-commerce .bgc-map-btn,
.hn-commerce .bgc-allmap-btn,
.hn-commerce .bgc-office-pick,
.hn-commerce a.boxnow-map-button,
.hn-commerce .box-now-delivery button,
.hn-commerce .econt-office-select,
.hn-commerce button.econt_office_locator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--hn-radius);
  background: #fff;
  color: var(--hn-fg);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.hn-commerce .bgc-map-btn:hover,
.hn-commerce .bgc-allmap-btn:hover {
  color: var(--hn-primary);
}
.hn-commerce .bgc-ship-logo,
.hn-commerce .woocommerce-shipping-methods img {
  max-height: 28px;
  width: auto;
}
.hn-commerce .woocommerce-shipping-methods li:not(.hn-delivery-method) {
  display: grid;
  gap: 10px;
}
.hn-commerce .woocommerce-checkout-review-order-table .product-name {
  text-align: left;
}
.hn-commerce .woocommerce-checkout-review-order-table .product-quantity {
  color: var(--hn-muted-fg);
  font-size: 13px;
}
.hn-commerce .boxnow-locker-details,
.hn-commerce .boxnow-locker-layout {
  width: 100%;
  max-width: 100%;
}
.hn-commerce .woocommerce-form-coupon-toggle .woocommerce-info {
  margin-top: 16px;
}
.hn-commerce .checkout_coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid var(--hn-border);
  border-radius: var(--hn-radius);
}
.hn-commerce .checkout_coupon .input-text { flex: 1 1 160px; }
.hn-commerce .checkout_coupon .button {
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--hn-radius);
  background: var(--hn-primary);
  color: #fff;
}

body.woocommerce-checkout .xoo-wsc-basket,
body.woocommerce-cart .xoo-wsc-basket,
body.woocommerce-account .xoo-wsc-basket {
  bottom: calc(24px + env(safe-area-inset-bottom));
}

@media (min-width: 640px) {
  .hn-commerce .bgc-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

/* Blog entry points remain available throughout the shop. */
.hn-nav-blog.is-active { color: var(--hn-primary); }
.hn-drawer-blog { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 16px 0; border-top: 1px solid var(--hn-border); color: var(--hn-primary); font-weight: 600; }
