@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  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;
}

html body .bht {
  --bht-bg: #f1f3f6;
  --bht-surface: rgba(255, 255, 255, 0.64);
  --bht-ink: #0f1a2e;
  --bht-navy: #13213f;
  --bht-muted: #5a6478;
  --bht-line: #dde2ea;
  --bht-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bht-font-label: 'Manrope', sans-serif;
  --bht-gutter: clamp(16px, 4vw, 56px);
  --bht-max: 1240px;

  position: relative;
  background: var(--bht-bg);
  color: var(--bht-ink);
  font-family: var(--bht-font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html body .bht *,
html body .bht *::before,
html body .bht *::after { box-sizing: border-box; }

html body .bht a { color: inherit; }

/* 3D vrstva: sticky canvas uvnitř landing page, nepřesahuje do zbytku webu */
html body .bht-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
html body .bht-stage__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
}
html body .bht-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
html body .bht--ready .bht-canvas { opacity: 1; }
html body .bht--no3d .bht-stage { display: none; }

html body .bht-header,
html body .bht-main,
html body .bht-footer { position: relative; z-index: 1; }

html body .bht-wrap {
  width: 100%;
  max-width: var(--bht-max);
  margin: 0 auto;
  padding: 0 var(--bht-gutter);
}

/* Header */
html body .bht-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 10;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in srgb, var(--bht-bg) 72%, transparent);
}
html body .bht-header .bht-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
html body .bht-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
}
html body .bht-nav a {
  text-decoration: none;
  color: var(--bht-muted);
  transition: color 0.2s ease;
}
html body .bht-nav a:hover { color: var(--bht-navy); }
html body .bht-cart {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--bht-line);
  color: var(--bht-navy) !important;
  background: rgba(255, 255, 255, 0.6);
}

/* Logo */
html body .bht-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--bht-navy);
}
html body .bht-logo svg { width: 30px; height: 34px; flex: none; }
html body .bht-logo__text { display: flex; flex-direction: column; line-height: 1; }
html body .bht-logo__name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
}
html body .bht-logo__sub {
  margin-top: 5px;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.62em;
  color: var(--bht-muted);
}

/* Typografie */
html body .bht h1,
html body .bht h2,
html body .bht h3 {
  margin: 0;
  color: var(--bht-navy);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
html body .bht h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); line-height: 1.02; }
html body .bht-hero h1 { font-size: clamp(2.4rem, 3.8vw, 3.9rem); }
html body .bht-hero .bht-col { max-width: 760px; }
@media (min-width: 900px) {
  html body .bht-hero h1 span { display: block; white-space: nowrap; }
}
html body .bht h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.06; }
html body .bht h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
html body .bht p { margin: 0; color: var(--bht-muted); text-wrap: pretty; }
html body .bht-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 34ch; }

/* Místa k doplnění */
html body .bht-todo {
  background: #fff4c7;
  border-bottom: 1px dashed #b58a00;
  padding: 0 3px;
  border-radius: 3px;
  color: #6b5200;
}

/* Tlačítka */
html body .bht-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
html body .bht-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
html body .bht-btn:active { transform: scale(0.97); }
html body .bht-btn--primary { background: var(--bht-navy); color: #fff !important; }
html body .bht-btn--primary:hover { background: #1d2f57; }
html body .bht-btn--ghost { border-color: var(--bht-line); color: var(--bht-navy); background: rgba(255, 255, 255, 0.55); }
html body .bht-btn--ghost:hover { border-color: var(--bht-navy); }
html body .bht-btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
html body .bht-btn svg { transition: transform 0.2s ease; }
html body .bht-btn:hover svg { transform: translateX(3px); }

html body .bht-link {
  font-weight: 700;
  font-size: 15px;
  color: var(--bht-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--bht-line);
  padding-bottom: 2px;
}
html body .bht-link:hover { border-color: var(--bht-navy); }

/* Sekce */
html body .bht-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
}
html body .bht-hero { min-height: calc(100vh - 76px); padding: 40px 0 80px; }

html body .bht-split .bht-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
html body .bht-split--end .bht-col { grid-column: 2; }
html body .bht-col { max-width: 520px; }
html body .bht-col > p { margin-top: 22px; }

/* Parametry */
html body .bht-specs { margin: 40px 0 0; padding: 0; border-bottom: 1px solid var(--bht-line); }
html body .bht-specs div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--bht-line);
}
html body .bht-specs div[hidden] { display: none; }
html body .bht-specs dt { font-size: 14px; font-weight: 600; color: var(--bht-muted); }
html body .bht-specs dd { margin: 0; font-weight: 700; color: var(--bht-navy); }

/* Katalog */
html body .bht-catalog { display: block; }
html body .bht-catalog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
html body .bht-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
html body .bht-card {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 28px;
  border-radius: 20px;
  background: var(--bht-surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(15, 26, 46, 0.04), 0 8px 24px -12px rgba(15, 26, 46, 0.12);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}
html body .bht-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(15, 26, 46, 0.04), 0 18px 40px -16px rgba(15, 26, 46, 0.22);
}
html body .bht-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
html body .bht-card__dose {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--bht-navy);
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8ecf3;
}
html body .bht-card__meta { margin-top: 8px; font-size: 14px; }
html body .bht-card__media { flex: 1; min-height: 190px; margin: 8px -28px 0; }
html body .bht-grid-wrap { position: relative; }
html body .bht-grid__stage { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
html body .bht-grid__canvas { position: sticky; top: 0; display: block; width: 100%; height: min(100vh, 100%); }
html body .bht-card__foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
html body .bht-card__price { font-weight: 800; font-size: 18px; color: var(--bht-navy); }
html body .bht-card a.bht-card__title { text-decoration: none; }
html body .bht-card a.bht-card__title:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Kontakt */
html body .bht-cta { text-align: center; align-items: flex-start; padding-top: 22vh; }
html body .bht-cta .bht-wrap { display: flex; flex-direction: column; align-items: center; }
html body .bht-cta p { margin-top: 20px; max-width: 42ch; }
html body .bht-cta .bht-actions { justify-content: center; }

/* Patička */
html body .bht-footer { padding: 56px 0 40px; border-top: 1px solid var(--bht-line); background: var(--bht-bg); }
html body .bht-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
html body .bht-footer__nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; font-weight: 600; }
html body .bht-footer__nav a { text-decoration: none; color: var(--bht-muted); }
html body .bht-footer__nav a:hover { color: var(--bht-navy); }
html body .bht-disclaimer { margin-top: 32px !important; font-size: 13px; max-width: 80ch; line-height: 1.55; }
html body .bht-copy { margin-top: 12px !important; font-size: 13px; }
html body .bht-endnote { position: relative; z-index: 1; padding: 0 0 48px; }
html body .bht-endnote .bht-disclaimer { margin-top: 0 !important; }

html body .bht :focus-visible { outline: 2px solid var(--bht-navy); outline-offset: 3px; border-radius: 6px; }

/* Tablet + mobil: 3D nad textem, bez střídání stran */
@media (max-width: 1080px) {
  html body .bht-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
  html body .bht-split .bht-wrap { grid-template-columns: 1fr; }
  html body .bht-split--end .bht-col { grid-column: 1; }
  html body .bht-section.bht-hero { align-items: flex-end; min-height: calc(100svh - 76px); padding: 42svh 0 40px; }
  html body .bht-section:not(.bht-hero) .bht-col {
    padding: 28px 24px;
    border-radius: 22px;
    background: var(--bht-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  html body .bht-section { min-height: auto; padding: 96px 0; }
  html body .bht-section.bht-cta { min-height: 100svh; padding-top: 14svh; }
  html body .bht-specs div { grid-template-columns: 110px 1fr; }
}
@media (max-width: 600px) {
  html body .bht { font-size: 16px; }
  html body .bht-grid { grid-template-columns: 1fr; }
  html body .bht-catalog__head { flex-direction: column; align-items: flex-start; }
  html body .bht-actions .bht-btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html body .bht * { transition: none !important; }
}

/* ---------- Produktová stránka ---------- */
html body .bht-product { --bht-stage: #eceff3; padding: 32px 0 120px; }
html body .bht-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
html body .bht-product__media { position: sticky; top: calc(96px + var(--wp-admin--admin-bar--height, 0px)); }

html body .bht-viewer {
  position: relative;
  aspect-ratio: 1 / 1.04;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bht-stage);
}
html body .bht-viewer__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 0.8s ease;
}
html body .bht-viewer.is-ready .bht-viewer__canvas { opacity: 1; }
html body .bht-viewer.is-dragging .bht-viewer__canvas { cursor: grabbing; }
html body .bht-viewer__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
html body .bht-viewer.is-photo .bht-viewer__photo { opacity: 1; pointer-events: auto; }
html body .bht-viewer--no3d .bht-viewer__canvas { display: none; }

html body .bht-thumbs { display: flex; gap: 10px; margin-top: 12px; }
html body .bht-thumb {
  width: 76px;
  height: 76px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid var(--bht-line);
  background: var(--bht-stage);
  overflow: hidden;
  cursor: pointer;
  display: grid;
  place-items: center;
  font: 800 15px/1 var(--bht-font);
  letter-spacing: 0.04em;
  color: var(--bht-navy);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
html body .bht-thumb img { width: 100%; height: 100%; object-fit: cover; }
html body .bht-thumb[aria-pressed='true'] { border-color: var(--bht-navy); box-shadow: inset 0 0 0 1px var(--bht-navy); }
html body .bht-thumb:active { transform: scale(0.96); }

html body .bht-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bht-muted) !important;
  text-decoration: none;
}
html body .bht-back:hover { color: var(--bht-navy) !important; }
html body .bht-product__info h1 { margin-top: 18px; font-size: clamp(2.2rem, 4.2vw, 3.6rem); }

html body .bht-price { margin-top: 22px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
html body .bht-price__main { font-size: 30px; font-weight: 800; color: var(--bht-navy); letter-spacing: -0.02em; }
html body .bht-price__net { font-size: 15px; color: var(--bht-muted); }

html body .bht-field { margin-top: 32px; }
html body .bht-field__label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--bht-muted); }
html body .bht-pills { display: flex; flex-wrap: wrap; gap: 8px; }
html body .bht-pill {
  min-width: 76px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--bht-line);
  background: rgba(255, 255, 255, 0.7);
  font: 700 15px/1 var(--bht-font);
  color: var(--bht-navy);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
html body .bht-pill:hover { border-color: var(--bht-navy); }
html body .bht-pill:active { transform: scale(0.97); }
html body .bht-pill[aria-checked='true'] { background: var(--bht-navy); border-color: var(--bht-navy); color: #fff; }

html body .bht-buy { margin-top: 28px; display: flex; gap: 10px; }
html body .bht-buy .bht-btn { flex: 1; justify-content: center; height: 54px; }
html body .bht-qty {
  display: inline-flex;
  align-items: center;
  height: 54px;
  border-radius: 999px;
  border: 1px solid var(--bht-line);
  background: rgba(255, 255, 255, 0.7);
}
html body .bht-qty button {
  width: 44px;
  height: 100%;
  border: 0;
  background: none;
  font: 600 20px/1 var(--bht-font);
  color: var(--bht-navy);
  cursor: pointer;
}
html body .bht-qty input {
  width: 36px;
  border: 0;
  background: none;
  text-align: center;
  font: 700 16px/1 var(--bht-font);
  color: var(--bht-navy);
  -moz-appearance: textfield;
}
html body .bht-qty input::-webkit-inner-spin-button,
html body .bht-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

html body .bht-product .bht-specs { margin-top: 36px; }
html body .bht-product__desc { margin-top: 36px; color: var(--bht-muted); }
html body .bht-product__desc > * + * { margin-top: 1em; }
html body .bht-product__note { margin-top: 28px !important; font-size: 13px; }

html body .bht-related { padding: 0 0 120px; }
html body .bht-related h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 28px; }
html body .bht-card__range { margin-top: 8px; font-size: 14px; }

/* WooCommerce formulář: select s variantami řídí pilulky, cenu Woo nahrazujeme vlastní */
html body .bht-product .variations_form table.variations,
html body .bht-product .variations_form .reset_variations,
html body .bht-product .woocommerce-variation-price,
html body .bht-product .woocommerce-variation-description { display: none !important; }
html body .bht-product .woocommerce-variation-availability { margin-top: 12px; font-size: 14px; }
html body .bht-product .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; gap: 10px; margin-top: 28px; }
html body .bht-product form.cart:not(.variations_form),
html body .bht-product .woocommerce-variation-add-to-cart { display: flex; gap: 10px; margin-top: 28px; }
html body .bht-product .quantity .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html body .bht-product .quantity input.qty { margin: 0; padding: 0; height: auto; box-shadow: none; }
html body .bht-product .single_add_to_cart_button {
  flex: 1;
  height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--bht-navy) !important;
  color: #fff !important;
  font: 700 15px/1 var(--bht-font);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
html body .bht-product .single_add_to_cart_button:hover { background: #1d2f57 !important; }
html body .bht-product .single_add_to_cart_button:active { transform: scale(0.98); }
html body .bht-product .single_add_to_cart_button.disabled { opacity: 0.45; cursor: not-allowed; }
html body .bht-product .stock { margin-top: 12px; font-size: 14px; font-weight: 600; }
html body .bht-product .stock.out-of-stock { color: #b42318; }

/* Landing v obsahu WP stránky: roztáhnout přes celou šířku i z úzkého kontejneru šablony */
html body .bht-bleed { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
/* 100vw zahrnuje i scrollbar; bez tohohle by stránka jezdila do strany */
body:has(.bht-bleed) { overflow-x: clip; }

@media (max-width: 899px) {
  html body .bht-product__grid { grid-template-columns: 1fr; }
  html body .bht-product__media { position: static; }
  html body .bht-viewer { aspect-ratio: 1 / 0.92; }
}

/* ---------- Hlavička (shortcode i landing) ---------- */
html body .bht-header-wrap {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 100;
  background: transparent;
  overflow: visible;
}
html body .bht-header-wrap .bht-header { position: relative; top: 0; }
html body .bht-header-wrap--static { position: relative; top: 0; }
html body .bht.bht-inline { display: inline-flex; align-items: center; background: none; overflow: visible; font-size: inherit; }
p.bht.bht-inline { display: block; }
html body .bht-header .bht-nav { margin-left: auto; margin-right: 20px; }
html body .bht-products { padding: 64px 0; background: none; }
html body .bht-products__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 28px !important; }
html body .bht-header__actions { display: flex; align-items: center; gap: 10px; }
html body .bht-cart { position: relative; }
html body .bht-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--bht-navy);
  color: #fff;
  font: 700 11px/18px var(--bht-font);
  text-align: center;
}
html body .bht-cart-count[data-count='0'] { display: none; }
html body .bht-burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--bht-line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--bht-navy);
  cursor: pointer;
  place-items: center;
}
html body .bht-burger line { transition: transform 0.25s ease; transform-box: fill-box; transform-origin: center; }
html body .bht-header.is-open .bht-burger line:nth-child(1) { transform: translateY(3px) rotate(45deg); }
html body .bht-header.is-open .bht-burger line:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
html body .bht-mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 8px var(--bht-gutter) 24px;
}
html body .bht-mobile-nav[hidden] { display: none; }
html body .bht-mobile-nav a {
  padding: 14px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--bht-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--bht-line);
}
@media (max-width: 899px) {
  html body .bht-burger { display: inline-grid; }
  html body .bht-nav { display: none; }
}

/* ---------- Katalog ---------- */
html body .bht-card[hidden] { display: none; }
html body .bht-page { padding: 56px 0 120px; }
html body .bht-page__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
html body .bht-page__head h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
html body .bht-page__head p { font-weight: 600; }
html body .bht-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; }
html body .bht-search {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--bht-line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--bht-muted);
}
html body .bht-search:focus-within { border-color: var(--bht-navy); }
html body .bht-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  outline: none;
  font: 600 15px/1 var(--bht-font);
  color: var(--bht-navy);
}
html body .bht-select {
  height: 50px;
  padding: 0 40px 0 18px;
  border-radius: 999px;
  border: 1px solid var(--bht-line);
  background: rgba(255, 255, 255, 0.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2313213F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
  font: 600 15px/1 var(--bht-font);
  color: var(--bht-navy);
  appearance: none;
  cursor: pointer;
}
html body .bht-chips { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
html body .bht-chip {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--bht-line);
  background: rgba(255, 255, 255, 0.7);
  font: 700 14px/1 var(--bht-font);
  color: var(--bht-navy);
  cursor: pointer;
}
html body .bht-chip[aria-pressed='true'] { background: var(--bht-navy); border-color: var(--bht-navy); color: #fff; }
html body .bht-empty { padding: 48px 0; text-align: center; }

/* ---------- Košík, pokladna, účet (klasické šablony WooCommerce) ---------- */
html body .bht-woo { padding: 56px 0 120px; }
html body .bht-woo h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 32px; }
html body .bht-woo h2,
html body .bht-woo h3 { font-size: 1.35rem; margin-bottom: 16px; }
html body .bht-woo table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--bht-line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px;
}
html body .bht-woo table.shop_table th,
html body .bht-woo table.shop_table td {
  padding: 16px 18px;
  border: 0;
  border-top: 1px solid var(--bht-line);
  text-align: left;
  vertical-align: middle;
  background: none;
}
html body .bht-woo table.shop_table thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--bht-muted); }
html body .bht-woo table.shop_table .product-name a { font-weight: 700; color: var(--bht-navy); text-decoration: none; }
html body .bht-woo table.shop_table .product-thumbnail img { width: 64px; height: auto; border-radius: 12px; background: #eceff3; }
html body .bht-woo table.shop_table .amount { font-weight: 700; color: var(--bht-navy); }
html body .bht-woo a.remove {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--bht-muted) !important;
  font-size: 20px;
  text-decoration: none;
  background: none !important;
}
html body .bht-woo a.remove:hover { color: #b42318 !important; background: #fdecea !important; }
html body .bht-woo .quantity input.qty,
html body .bht-woo input.input-text,
html body .bht-woo select,
html body .bht-woo textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 14px;
  border: 1px solid var(--bht-line);
  background: #fff;
  box-shadow: none;
  font: 500 15px/1.2 var(--bht-font);
  color: var(--bht-ink);
}
html body .bht-woo textarea { height: auto; min-height: 110px; padding: 12px 16px; }
html body .bht-woo .quantity input.qty { width: 80px; text-align: center; }
html body .bht-woo input.input-text:focus,
html body .bht-woo select:focus,
html body .bht-woo textarea:focus { outline: none; border-color: var(--bht-navy); box-shadow: 0 0 0 3px rgba(19, 33, 63, 0.1); }
html body .bht-woo label { font-size: 14px; font-weight: 600; color: var(--bht-muted); }
html body .bht-woo .form-row { margin: 0 0 16px; padding: 0; width: auto; float: none; }
html body .bht-woo .form-row label { display: block; margin-bottom: 6px; }
html body .bht-woo .woocommerce-billing-fields__field-wrapper,
html body .bht-woo .woocommerce-shipping-fields__field-wrapper,
html body .bht-woo .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
html body .bht-woo .woocommerce-billing-fields__field-wrapper .form-row,
html body .bht-woo .woocommerce-shipping-fields__field-wrapper .form-row,
html body .bht-woo .woocommerce-address-fields__field-wrapper .form-row { grid-column: 1 / -1; }
html body .bht-woo .form-row-first { grid-column: 1 !important; }
html body .bht-woo .form-row-last { grid-column: 2 !important; }
html body .bht-woo .woocommerce-input-wrapper { display: block; }
html body .bht-woo ul#shipping_method { list-style: none; margin: 0; padding: 0; }
html body .bht-woo ul#shipping_method li { margin: 4px 0; }
html body .bht-woo input[type='radio'],
html body .bht-woo input[type='checkbox'] { accent-color: var(--bht-navy); margin-right: 8px; }
html body .bht-woo .product-quantity { font-weight: 600; color: var(--bht-muted); }
html body .bht .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html body .bht-woo .required { color: #b42318; text-decoration: none; }
html body .bht-woo .button,
html body .bht-woo #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  border: 1px solid var(--bht-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--bht-navy);
  font: 700 15px/1 var(--bht-font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
html body .bht-woo .button:hover { border-color: var(--bht-navy); }
html body .bht-woo .button:active,
html body .bht-woo #place_order:active { transform: scale(0.98); }
html body .bht-woo .button:disabled,
html body .bht-woo .button[disabled] { opacity: 0.45; cursor: not-allowed; }
html body .bht-woo .checkout-button,
html body .bht-woo #place_order,
html body .bht-woo .button.alt,
html body .bht-woo .return-to-shop .button {
  width: 100%;
  height: 56px;
  background: var(--bht-navy);
  border-color: var(--bht-navy);
  color: #fff !important;
}
html body .bht-woo .checkout-button:hover,
html body .bht-woo #place_order:hover,
html body .bht-woo .button.alt:hover,
html body .bht-woo .return-to-shop .button:hover { background: #1d2f57; }
html body .bht-woo .return-to-shop .button { width: auto; }
html body .bht-woo .actions { text-align: right; }
html body .bht-woo .actions .coupon { float: left; display: inline-flex; gap: 8px; align-items: center; }
html body .bht-woo .actions .coupon label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html body .bht-woo .actions .coupon input.input-text { width: 200px; }
html body .bht-woo .cart-collaterals { display: flex; justify-content: flex-end; margin-top: 16px; }
html body .bht-woo .cart_totals { width: min(100%, 440px); }
html body .bht-woo .cart_totals table.shop_table th { width: 40%; font-weight: 600; color: var(--bht-muted); }
html body .bht-woo .order-total .amount { font-size: 22px; }
html body .bht-woo .wc-proceed-to-checkout { margin-top: 8px; }
html body .bht-woo .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
html body .bht-woo .col2-set::before,
html body .bht-woo .col2-set::after { content: none; }
html body .bht-woo .col2-set .col-1,
html body .bht-woo .col2-set .col-2 { width: auto; float: none; }
html body .bht-woo form.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
html body .bht-woo form.checkout > * { grid-column: 1; }
html body .bht-woo form.checkout { grid-template-rows: auto 1fr; }
html body .bht-woo form.checkout > .col2-set { grid-row: 1 / span 2; }
html body .bht-woo form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin-top: 0; }
html body .bht-woo form.checkout #order_review { grid-column: 2; grid-row: 2; align-self: start; position: sticky; top: calc(96px + var(--wp-admin--admin-bar--height, 0px)); }
html body .bht-woo form.checkout .col2-set { grid-template-columns: 1fr; }
html body .bht-woo #payment {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--bht-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}
html body .bht-woo #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
html body .bht-woo #payment ul.payment_methods li { padding: 12px 0; border-top: 1px solid var(--bht-line); }
html body .bht-woo #payment ul.payment_methods li:first-child { border-top: 0; }
html body .bht-woo #payment ul.payment_methods label { color: var(--bht-navy); font-weight: 700; }
html body .bht-woo .payment_box { margin-top: 8px; font-size: 14px; color: var(--bht-muted); }
html body .bht-woo .woocommerce-terms-and-conditions-wrapper { margin: 12px 0 16px; font-size: 14px; }
html body .bht-woo .woocommerce-message,
html body .bht-woo .woocommerce-info,
html body .bht-woo .woocommerce-error {
  list-style: none;
  margin: 0 0 24px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--bht-line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--bht-navy);
  font-weight: 600;
}
html body .bht-woo .woocommerce-message::before,
html body .bht-woo .woocommerce-info::before,
html body .bht-woo .woocommerce-error::before { content: none; }
html body .bht-woo .woocommerce-error { border-color: #f4c7c3; background: #fdf1f0; color: #8a1c12; }
html body .bht-woo .cart-empty { font-size: 18px; }
html body .bht-woo .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
html body .bht-woo .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--bht-muted);
  text-decoration: none;
}
html body .bht-woo .woocommerce-MyAccount-navigation .is-active a,
html body .bht-woo .woocommerce-MyAccount-navigation a:hover { background: rgba(255, 255, 255, 0.8); color: var(--bht-navy); }
html body .bht-woo--account .bht-woo__body > .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
html body .bht-woo .woocommerce-MyAccount-navigation,
html body .bht-woo .woocommerce-MyAccount-content { width: auto; float: none; }

@media (max-width: 899px) {
  html body .bht-woo form.checkout { grid-template-columns: 1fr; }
  html body .bht-woo form.checkout #order_review_heading,
  html body .bht-woo form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
  html body .bht-woo form.checkout > .col2-set { grid-row: auto; }
  html body .bht-woo .col2-set { grid-template-columns: 1fr; }
  html body .bht-woo--account .bht-woo__body > .woocommerce { grid-template-columns: 1fr; }
  html body .bht-woo .woocommerce-billing-fields__field-wrapper,
  html body .bht-woo .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
  html body .bht-woo .form-row-first,
  html body .bht-woo .form-row-last { grid-column: 1 !important; }
  html body .bht-woo table.shop_table_responsive thead { display: none; }
  html body .bht-woo table.shop_table_responsive,
  html body .bht-woo table.shop_table_responsive tbody { display: block; width: 100%; }
  html body .bht-woo table.shop_table_responsive tr { display: block; position: relative; padding: 8px 0; border-top: 1px solid var(--bht-line); }
  html body .bht-woo table.shop_table_responsive td.product-remove { position: absolute; top: 12px; right: 10px; padding: 0; }
  html body .bht-woo table.shop_table_responsive td.product-thumbnail { padding-bottom: 4px; }
  html body .bht-woo table.shop_table_responsive td.product-thumbnail img { width: 56px; }
  html body .bht-woo table.shop_table_responsive td.actions { display: block; }
  html body .bht-woo table.shop_table_responsive td.actions .button { width: 100%; }
  html body .bht-woo table.shop_table_responsive tr:first-child { border-top: 0; }
  html body .bht-woo table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 0; padding: 10px 18px; }
  html body .bht-woo table.shop_table_responsive td::before { content: attr(data-title); font-weight: 600; color: var(--bht-muted); }
  html body .bht-woo table.shop_table_responsive td.product-remove::before,
  html body .bht-woo table.shop_table_responsive td.product-thumbnail::before,
  html body .bht-woo table.shop_table_responsive td.actions::before { content: none; }
  html body .bht-woo .actions .coupon { float: none; display: flex; width: 100%; margin-bottom: 8px; }
  html body .bht-woo .actions .coupon input.input-text { flex: 1; width: auto; }
  html body .bht-page__head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Celostránkové šablony pluginu ---------- */
html body.bht-document { margin: 0; background: #f1f3f6; }
html body .bht-document__main { display: block; min-height: 60vh; }
html body .bht-document .screen-reader-text:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html body .bht-prose__body { max-width: 72ch; }
html body .bht-prose__body > * + * { margin-top: 1em; }
html body .bht-prose h1 { margin-bottom: 32px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
html body .bht-prose__body h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* Načítání 3D: jemný indikátor, než se scéna vykreslí */
html body .bht-viewer::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  border: 2px solid rgba(19, 33, 63, 0.15);
  border-top-color: var(--bht-navy);
  animation: bht-spin 0.8s linear infinite;
  transition: opacity 0.3s ease;
}
html body .bht-viewer.is-ready::after,
html body .bht-viewer.is-photo::after,
html body .bht-viewer--no3d::after { opacity: 0; animation: none; }
@keyframes bht-spin { to { transform: rotate(360deg); } }

/* ---------- Odolnost vůči stylům motivu ----------
   reset.css motivu (Hello Elementor) se načítá po našem CSS a nastavuje všem <button>
   a polím růžový rámeček, padding a hover. Tyhle selektory mají vyšší specificitu. */
html body .bht button,
html body .bht [type='button'],
html body .bht [type='submit'] {
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  box-shadow: none;
}
html body .bht .bht-burger { display: none; padding: 0; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--bht-line); border-radius: 50%; color: var(--bht-navy); }
@media (max-width: 899px) { html body .bht .bht-burger { display: inline-grid; } }
html body .bht .bht-pill,
html body .bht .bht-chip { background: rgba(255, 255, 255, 0.7); border: 1px solid var(--bht-line); border-radius: 999px; color: var(--bht-navy); font-weight: 700; }
html body .bht .bht-pill { padding: 0 18px; font-size: 15px; }
html body .bht .bht-chip { padding: 0 16px; font-size: 14px; }
html body .bht .bht-pill:hover,
html body .bht .bht-chip:hover,
html body .bht .bht-pill:focus,
html body .bht .bht-chip:focus { background: rgba(255, 255, 255, 0.9); border-color: var(--bht-navy); color: var(--bht-navy); }
html body .bht .bht-pill[aria-checked='true'],
html body .bht .bht-chip[aria-pressed='true'] { background: var(--bht-navy); border-color: var(--bht-navy); color: #fff; }
html body .bht .bht-thumb { padding: 0; background: var(--bht-stage, #eceff3); border: 1px solid var(--bht-line); border-radius: 16px; color: var(--bht-navy); font-size: 15px; font-weight: 800; }
html body .bht .bht-thumb:hover,
html body .bht .bht-thumb:focus { background: var(--bht-stage, #eceff3); color: var(--bht-navy); }
html body .bht .bht-thumb[aria-pressed='true'] { border-color: var(--bht-navy); }
html body .bht .bht-qty button { padding: 0; background: none; border: 0; border-radius: 0; color: var(--bht-navy); font-size: 20px; }
html body .bht .bht-qty button:hover,
html body .bht .bht-qty button:focus { background: none; color: var(--bht-navy); }
html body .bht .bht-qty input,
html body .bht .bht-qty input.qty { width: 36px; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
html body .bht .bht-search input { width: auto; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
html body .bht .bht-select { width: auto; padding: 0 40px 0 18px; border: 1px solid var(--bht-line); border-radius: 999px; }
html body .bht .bht-btn--primary:hover,
html body .bht .bht-btn--primary:focus { background: #1d2f57; color: #fff; }
html body .bht .bht-btn--ghost:hover,
html body .bht .bht-btn--ghost:focus { background: rgba(255, 255, 255, 0.7); color: var(--bht-navy); }
html body .bht-woo .button:not(.alt):not(.checkout-button):hover,
html body .bht-woo .button:not(.alt):not(.checkout-button):focus { background: rgba(255, 255, 255, 0.9); border-color: var(--bht-navy); color: var(--bht-navy); }
html body .bht-woo .button.alt,
html body .bht-woo .checkout-button,
html body .bht-woo #place_order { background: var(--bht-navy); border-color: var(--bht-navy); color: #fff; border-radius: 999px; }
html body .bht-woo .button.alt:hover,
html body .bht-woo .checkout-button:hover,
html body .bht-woo #place_order:hover { background: #1d2f57; color: #fff; }
html body .bht-woo .button { border-radius: 999px; padding: 0 24px; font-size: 15px; font-weight: 700; }
html body .bht-woo input.input-text,
html body .bht-woo select,
html body .bht-woo textarea { border: 1px solid var(--bht-line); border-radius: 14px; padding: 0 16px; }
html body .bht-woo textarea { padding: 12px 16px; }
html body .bht-product .single_add_to_cart_button { border: 0; border-radius: 999px; padding: 0 24px; font-size: 15px; font-weight: 700; }
html body .bht a { text-decoration: none; }

/* WooCommerce (woocommerce.css, woocommerce-layout.css) se načítá po nás: floaty a šířky polí */
html body .bht-woo .col2-set .col-1,
html body .bht-woo .col2-set .col-2 { float: none; width: auto; max-width: none; }
html body .bht-woo form .form-row { float: none; width: auto; margin: 0 0 16px; padding: 0; }
html body .bht-woo form .form-row-first,
html body .bht-woo form .form-row-last { float: none; width: auto; }
html body .bht-woo form .form-row .input-text,
html body .bht-woo form .form-row select { width: 100%; }
html body .bht-woo .select2-container { width: 100% !important; }
html body .bht-woo .select2-container .select2-selection--single {
  height: 48px;
  border: 1px solid var(--bht-line);
  border-radius: 14px;
  background: #fff;
}
html body .bht-woo .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 16px; color: var(--bht-ink); }
html body .bht-woo .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 10px; }
html body .bht-woo table.cart td.actions .coupon .input-text { width: 200px; margin: 0; padding: 0 16px; }
html body .bht-woo .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 16px; }
html body .bht-woo form.checkout_coupon { border: 1px solid var(--bht-line); border-radius: 16px; padding: 16px; }
html body .bht-woo #payment { background: rgba(255, 255, 255, 0.7); border-radius: 20px; }
html body .bht-woo #payment div.payment_box { background: #fff; border-radius: 14px; color: var(--bht-muted); }
html body .bht-woo #payment div.payment_box::before { display: none; }
@media (max-width: 899px) {
  html body .bht-woo table.cart td.actions .coupon .input-text { width: auto; flex: 1; }
}
html body .bht-woo .woocommerce-MyAccount-navigation,
html body .bht-woo .woocommerce-MyAccount-content { float: none; width: auto; }

/* ---------- 1.3.0 ---------- */
html body .bht-nav a.is-active { color: var(--bht-navy); font-weight: 700; box-shadow: inset 0 -2px 0 var(--bht-navy); padding-bottom: 4px; }
html body .bht-mobile-nav a.is-active { color: var(--bht-navy); box-shadow: inset 3px 0 0 var(--bht-navy); padding-left: 12px; }
html body .bht-cart.is-active { border-color: var(--bht-navy); }
html body .bht-thumb { width: 76px; min-width: 76px; height: 76px; flex: none; }
html body .bht-viewer__photo { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
html body .bht-woo .return-to-shop { margin: 16px 0 0; }
html body .bht-woo .return-to-shop .button { display: inline-flex; align-items: center; justify-content: center; width: auto; height: 50px; padding: 0 24px; line-height: 1; }
html body .bht-woo--account .bht-woo__body > .woocommerce { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: 40px; align-items: start; }
html body .bht-woo--account .bht-woo__body > .woocommerce > * { grid-column: 1 / -1; }
html body .bht-woo--account .bht-woo__body > .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; float: none; width: auto; }
html body .bht-woo--account .bht-woo__body > .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; float: none; width: auto; }
html body .bht-woo .woocommerce-MyAccount-content > p { max-width: 70ch; }
@media (max-width: 899px) {
  html body .bht-woo--account .bht-woo__body > .woocommerce { grid-template-columns: 1fr; }
  html body .bht-woo--account .bht-woo__body > .woocommerce > .woocommerce-MyAccount-navigation,
  html body .bht-woo--account .bht-woo__body > .woocommerce > .woocommerce-MyAccount-content { grid-column: 1; }
}

/* ---------- 1.3.2: hlášky, pole formulářů, platební ikony, tlačítko pokladny ---------- */

/* WooCommerce kreslí pole podle vlastních CSS proměnných, stačí je nastavit na náš vzhled */
html body .bht-woo,
html body .bht-product {
  --wc-form-border-color: var(--bht-line);
  --wc-form-border-radius: 14px;
  --wc-form-border-width: 1px;
  --wc-form-color-background: #fff;
  --wc-form-color-text: var(--bht-ink);
}
html body .bht-woo form .form-row .input-text,
html body .bht-woo form .form-row select,
html body .bht-woo form .form-row textarea {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--bht-line);
  border-radius: 14px;
  background: #fff;
  color: var(--bht-ink);
  font: 500 15px/1.2 var(--bht-font);
  box-shadow: none;
}
html body .bht-woo form .form-row textarea { height: auto; min-height: 110px; padding: 12px 16px; line-height: 1.5; }
html body .bht-woo form .form-row .input-text:focus,
html body .bht-woo form .form-row select:focus,
html body .bht-woo form .form-row textarea:focus { outline: none; border-color: var(--bht-navy); box-shadow: 0 0 0 3px rgba(19, 33, 63, 0.1); }
html body .bht-woo form .form-row.woocommerce-invalid .input-text,
html body .bht-woo form .form-row.woocommerce-invalid .select2-selection { border-color: #b42318; }
html body .bht-woo .select2-container--default .select2-selection--single { height: 48px; border: 1px solid var(--bht-line); border-radius: 14px; background: #fff; }
html body .bht-woo .select2-container--default.select2-container--open .select2-selection--single,
html body .bht-woo .select2-container--default.select2-container--focus .select2-selection--single { border-color: var(--bht-navy); }
html body .bht-woo .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding: 0 40px 0 16px; font: 500 15px/46px var(--bht-font); color: var(--bht-ink); }
html body .bht-woo .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 12px; }

/* Platební metody: logo karet v řadě bez oříznutí */
html body .bht-woo #payment ul.payment_methods li > label { display: inline-flex; align-items: center; gap: 12px; width: calc(100% - 32px); vertical-align: middle; }
html body .bht-woo #payment .payment-methods--logos { margin-left: auto; }
html body .bht-woo #payment .payment-methods--logos > div { display: flex; align-items: center; gap: 4px; }
html body .bht-woo #payment .payment-methods--logos img { flex: none; width: 38px; height: 24px; max-width: none; max-height: none; margin: 0; }

/* Tlačítko „Přejít k pokladně“: WooCommerce mu dává 1.25em a padding 1em */
html body .bht-woo .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  margin: 0 0 12px;
  padding: 0 24px;
  font: 700 16px/1 var(--bht-font);
  border-radius: 999px;
}

/* Hlášky WooCommerce (přidáno do košíku, informace, chyby) */
html body .bht-notices { background: none; }
html body .bht-notices .woocommerce-notices-wrapper:empty { display: none; }
html body .bht-notices .woocommerce-notices-wrapper { padding-top: 24px; }
html body .bht .woocommerce-message,
html body .bht .woocommerce-info,
html body .bht .woocommerce-error {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0 0 24px;
  padding: 14px 16px 14px 52px;
  position: relative;
  list-style: none;
  border: 1px solid var(--bht-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--bht-navy);
  font: 600 15px/1.45 var(--bht-font);
  box-shadow: none;
}
html body .bht .woocommerce-message::before,
html body .bht .woocommerce-info::before,
html body .bht .woocommerce-error::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  background: var(--bht-navy) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  font-family: inherit;
  color: transparent;
}
html body .bht .woocommerce-info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E");
}
html body .bht .woocommerce-error { border-color: #f4c7c3; background: #fdf1f0; color: #8a1c12; }
html body .bht .woocommerce-error::before {
  background-color: #b42318;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E");
}
html body .bht .woocommerce-error li { margin: 0; }
html body .bht .woocommerce-message .button,
html body .bht .woocommerce-info .button,
html body .bht .woocommerce-message a.wc-forward {
  order: 2;
  margin-left: auto;
  float: none;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--bht-line);
  border-radius: 999px;
  background: #fff;
  color: var(--bht-navy);
  font: 700 14px/1 var(--bht-font);
  text-decoration: none;
}
html body .bht .woocommerce-message .button:hover,
html body .bht .woocommerce-info .button:hover { border-color: var(--bht-navy); background: #fff; color: var(--bht-navy); }
html body .bht .woocommerce-info a:not(.button) { color: var(--bht-navy); text-decoration: underline; text-underline-offset: 3px; }

/* 1.3.4: víc fotek u produktu (render každé varianty) se zalomí do řádků */
html body .bht-thumbs { flex-wrap: wrap; }
