/* =============================================
   Cassiopeia header layout override
   Struktura:
     <header class="container-header full-width">
       <div class="container-topbar">              = radek 1, plna sirka
       <div class="grid-child">                    = radek 2, sloupec 1 (logo)
       <div class="grid-child container-nav">      = radek 2, sloupec 2 (menu+CTA)
         <ul class="mod-menu mod-list nav">        = menu
         <div class="container-search">            = CTA button
   ============================================= */

/* --- BARVA SABLONY --- */
:root {
  --cassiopeia-color-primary: #1e2533 !important;
}

/* --- SKRYTÍ JOOMLA EDIT IKONY (Upravit položku) --- */
.com-content-article .icons,
.com-content-article__icons,
.icons .icon-edit,
a[href*="task=article.edit"] {
  display: none !important;
}

/* --- HEADER GRID --- */
header.container-header,
header.container-header.full-width {
  display: grid !important;
  grid-template-columns: 1fr 3fr !important;
  align-items: center !important;
  gap: 0 20px !important;
  padding-left: max(20px, calc((100% - var(--cassiopeia-container-main-width, 1320px)) / 2)) !important;
  padding-right: max(20px, calc((100% - var(--cassiopeia-container-main-width, 1320px)) / 2)) !important;
}

/* Topbar: radek 1, plna sirka, beze zmen */
header.container-header > .container-topbar {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}

/* Logo: radek 2, sloupec 1 (25%) */
header.container-header > .grid-child:not(.container-nav) {
  grid-column: 1 / 2 !important;
  grid-row: 2 !important;
  width: 100% !important;
  padding: 10px 0 !important;
}

/* Nav+CTA: radek 2, sloupec 2 (75%) */
header.container-header > .grid-child.container-nav {
  grid-column: 2 / -1 !important;
  grid-row: 2 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 40px !important;
  padding: 10px 0 !important;
}

/* --- LOGO --- */
header .navbar-brand {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

header .brand-logo {
  display: block !important;
  width: 100% !important;
}

header .brand-logo img,
header .navbar-brand img {
  width: 100% !important;
  height: auto !important;
  max-height: 70px !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
}

/* --- MENU: horizontalne, doprava --- */
.container-nav > ul.mod-menu,
.container-nav > ul.nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 4px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 2 1 0% !important;
  justify-content: flex-end !important;
}

.container-nav > ul.mod-menu > li.nav-item {
  white-space: nowrap !important;
}

/* =============================================
   MEGA-MENU – dropdown 3x3 grid s obrazky
   ============================================= */

/* Skryt obrazky v top-level menu (zobrazit jen v submenu) */
.container-nav > ul.mod-menu > li > a > img {
  display: none !important;
}

/* Parent polozka = kotvici bod pro absolutni submenu */
.container-nav > ul.mod-menu > li.parent {
  position: relative !important;
}

/* Submenu: skryte, absolutni, grid 3x3 */
.container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  width: 540px !important;
  margin: 0 !important;
  padding: 12px !important;
  gap: 8px !important;
  list-style: none !important;
  background: #1e2533 !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.35) !important;
  z-index: 1000 !important;
  /* skryte ve vychozim stavu */
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

/* Zobrazeni na hover a focus-within */
.container-nav > ul.mod-menu > li.parent:hover > ul.mod-menu__sub,
.container-nav > ul.mod-menu > li.parent:focus-within > ul.mod-menu__sub {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Kazda polozka submenu = karta */
.container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub > li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub > li > a {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  background: rgba(255,255,255,0.04) !important;
  transition: background 0.2s ease !important;
}

.container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub > li > a:hover {
  background: rgba(255,255,255,0.08) !important;
}

/* Obrazek v karte */
.container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub > li > a > img {
  width: 100% !important;
  height: 130px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 8px 8px 0 0 !important;
}

/* Text pod obrazkem */
.container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub > li > a > .image-title {
  display: block !important;
  padding: 10px 10px 12px !important;
  color: #ccd0d8 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  white-space: normal !important;
  transition: color 0.2s ease !important;
}

.container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub > li > a:hover > .image-title {
  color: #e67e22 !important;
}

/* --- CTA BUTTON (pozice: search) --- */
.container-nav > .container-search {
  flex: 0 0 auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

.btn-cta-header {
  background: #e67e22 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 28px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-block !important;
  transition: background 0.3s;
}

.btn-cta-header:hover {
  background: #cf6d17 !important;
  color: #fff !important;
}

/* =============================================
   OFFCANVAS MENU – hamburger + slide-in panel
   ============================================= */

/* Hamburger button – skryty na desktopu */
.bze-hamburger {
  display: none;
}

/* Zaviraci krizek – skryty na desktopu */
.bze-offcanvas-close {
  display: none;
}

/* Overlay – skryty na desktopu */
.bze-overlay {
  display: none;
}

@media (max-width: 991px) {

  /* --- Header: fixni pozice navrchu --- */
  header.container-header,
  header.container-header.full-width {
    grid-template-columns: 1fr auto !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #1e2533 !important;
  }

  header .brand-logo img,
  header .navbar-brand img {
    max-width: 180px !important;
    max-height: 50px !important;
  }

  /* Hamburger button viditelny */
  .bze-hamburger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    padding: 0 !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    justify-self: end !important;
    z-index: 10 !important;
  }

  .bze-hamburger:hover {
    background: rgba(255,255,255,0.1) !important;
  }

  .bze-hamburger svg {
    width: 28px !important;
    height: 28px !important;
  }

  /* --- Nav container = offcanvas panel --- */
  header.container-header > .grid-child.container-nav {
    position: fixed !important;
    top: 0 !important;
    right: -300px !important;
    bottom: 0 !important;
    width: 300px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #1e2533 !important;
    z-index: 9999 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 20px !important;
    overflow-y: auto !important;
    transition: right 0.3s ease !important;
    grid-column: unset !important;
    grid-row: unset !important;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3) !important;
  }

  /* Otevreny stav – header musi byt nad overlayem (stacking context) */
  body.offcanvas-open header.container-header,
  body.offcanvas-open header.container-header.full-width {
    position: relative !important;
    z-index: 10000 !important;
  }

  body.offcanvas-open header.container-header > .grid-child.container-nav {
    right: 0 !important;
  }

  /* Zaviraci krizek v panelu */
  .bze-offcanvas-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background: transparent !important;
    border: none !important;
    color: #99a3b3 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    align-self: flex-end !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }

  .bze-offcanvas-close:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1) !important;
  }

  /* Telefon v zahlavi panelu */
  .bze-offcanvas-phone {
    display: block !important;
    text-align: center !important;
    color: #e67e22 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 0 0 16px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    flex-shrink: 0 !important;
  }

  .bze-offcanvas-phone:hover {
    color: #cf6d17 !important;
  }

  /* Overlay */
  .bze-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 9998 !important;
  }

  body.offcanvas-open .bze-overlay {
    display: block !important;
  }

  /* Zamezit scrollu body kdyz je menu otevrene */
  body.offcanvas-open {
    overflow: hidden !important;
  }

  /* --- Menu polozky: vertikalni, bily text --- */
  .container-nav > ul.mod-menu,
  .container-nav > ul.nav {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0 !important;
    flex: none !important;
  }

  .container-nav > ul.mod-menu > li.nav-item {
    white-space: normal !important;
  }

  .container-nav > ul.mod-menu > li.nav-item > a {
    display: block !important;
    padding: 12px 0 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  /* Text v .image-title wrapperu (Joomla) – vlevo */
  .container-nav > ul.mod-menu > li.nav-item > a > .image-title {
    text-align: left !important;
    display: block !important;
  }

  .container-nav > ul.mod-menu > li.nav-item > a:hover {
    color: #e67e22 !important;
  }

  /* --- Submenu: rozbalene, 1 sloupec --- */
  .container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 4px 0 !important;
    gap: 4px !important;
    background: #252d3d !important;
  }

  .container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub > li > a {
    flex-direction: row !important;
    align-items: center !important;
    border-radius: 6px !important;
    gap: 0 !important;
  }

  .container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub > li > a > img {
    width: 80px !important;
    height: 60px !important;
    flex-shrink: 0 !important;
    border-radius: 6px 0 0 6px !important;
  }

  .container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub > li > a > .image-title {
    text-align: left !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }

  /* Submenu polozky bez obrazku: zarovnat vlevo */
  .container-nav > ul.mod-menu > li.parent > ul.mod-menu__sub > li > a {
    text-align: left !important;
    padding: 10px 12px !important;
  }

  /* --- CTA button: plna sirka, dole --- */
  .container-nav > .container-search {
    justify-content: center !important;
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 20px !important;
  }

  .btn-cta-header {
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
  }
}

/* =============================================
   ARTICLE LAYOUT – bze-* tridy
   ============================================= */

/* --- HERO --- */
.bze-hero {
  background: linear-gradient(135deg, #1e2533 0%, #252d3d 100%);
  color: #fff;
  text-align: center;
  padding: 48px 24px;
  border-radius: 12px;
  margin-bottom: 32px;
}
.bze-hero h1 { font-size: 2.2rem; font-weight: 700; margin: 0 0 16px; }
.bze-hero h1 span { color: #e67e22; }
.bze-hero p,
.bze-hero > div:last-child { color: #ccd0d8; max-width: 700px; margin: 0 auto; font-size: 1rem; line-height: 1.7; }
.bze-hero .bze-hero-icon { margin-top: 12px; }
.bze-hero .bze-hero-icon img { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: 0.8; }

/* --- BENEFITS (4 ikony) --- */
.bze-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.bze-benefit {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 100%);
  border-radius: 10px;
  padding: 32px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.bze-benefit:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.bze-benefit img { width: 56px; height: 56px; margin-bottom: 12px; }
.bze-benefit h4 { font-size: 0.95rem; color: #1e2533; margin: 0 0 8px; font-weight: 600; }
.bze-benefit div:last-child { font-size: 0.85rem; color: #666; line-height: 1.5; }

/* --- MODELS SECTION --- */
.bze-models { margin-bottom: 40px; }
.bze-models > h3 { font-size: 1.4rem; color: #1e2533; margin: 0 0 12px; }
.bze-models > div > p,
.bze-models > p { color: #555; line-height: 1.7; margin-bottom: 24px; }
.bze-models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.bze-model-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.bze-model-card:hover { transform: scale(1.02); box-shadow: 0 8px 28px rgba(0,0,0,0.14); }
.bze-model-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.bze-model-card .bze-card-body {
  padding: 16px 20px;
  text-align: center;
}
.bze-model-card h4 { font-size: 1.1rem; color: #1e2533; margin: 0 0 10px; font-weight: 700; }
.bze-model-card a {
  display: inline-block;
  background: #e67e22;
  color: #fff;
  padding: 8px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.bze-model-card a:hover { background: #cf6d17; color: #fff; }

/* --- AL PROFILY SECTION (technical drawings) --- */
.bze-al-profily {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 48px 0;
}
.bze-al-profily-item {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 100%);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.bze-al-profily-item h4 {
  font-size: 1.15rem;
  color: #1e2533;
  margin: 0 0 8px;
  font-weight: 700;
}
.bze-al-profily-item p {
  color: #555;
  font-size: 0.9rem;
  margin: 0 0 16px;
  line-height: 1.5;
}
.bze-al-profily-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
}
@media (max-width: 768px) {
  .bze-al-profily { grid-template-columns: 1fr; }
}

/* --- SPLIT SECTION (text + image) --- */
.bze-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.bze-split-text h3 { font-size: 1.3rem; color: #1e2533; margin: 0 0 16px; }
.bze-split-text p { color: #555; line-height: 1.7; }
.bze-split-img img { width: 100%; border-radius: 10px; display: block; }

/* --- QUALITY (6 ikon) --- */
.bze-quality {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 100%);
  border-radius: 12px;
  padding: 40px 32px;
  margin-bottom: 40px;
}
.bze-quality > h2 { text-align: center; font-size: 1.5rem; color: #1e2533; margin: 0 0 12px; }
.bze-quality > p { text-align: center; color: #555; max-width: 700px; margin: 0 auto 28px; line-height: 1.7; }
.bze-quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bze-quality-item {
  text-align: center;
  padding: 20px 12px;
}
.bze-quality-item img { width: 48px; height: 48px; margin-bottom: 10px; }
.bze-quality-item h6 { font-size: 0.9rem; color: #1e2533; margin: 0 0 8px; font-weight: 600; }
.bze-quality-item p { font-size: 0.82rem; color: #666; line-height: 1.5; margin: 0; }

/* --- LEGAL PAGES (právní dokumenty) --- */
.bze-legal {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 0 16px;
  color: #333;
  line-height: 1.8;
}
.bze-legal h2 {
  font-size: 1.25rem;
  color: #1e2533;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8edf3;
}
.bze-legal h3 {
  font-size: 1.05rem;
  color: #1e2533;
  margin: 20px 0 8px;
}
.bze-legal p {
  margin: 0 0 12px;
  font-size: 0.95rem;
}
.bze-legal ul, .bze-legal ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.bze-legal li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.bze-legal a {
  color: #e67e22;
  text-decoration: none;
}
.bze-legal a:hover {
  text-decoration: underline;
}
.bze-legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.88rem;
}
.bze-legal thead th {
  background: #1e2533;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
}
.bze-legal tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #e8edf3;
  vertical-align: top;
}
.bze-legal tbody tr:nth-child(even) {
  background: #f8f9fb;
}
.bze-legal em {
  color: #888;
  font-size: 0.9rem;
}
.bze-legal strong {
  color: #1e2533;
}
@media (max-width: 768px) {
  .bze-legal table { font-size: 0.82rem; }
  .bze-legal thead th, .bze-legal tbody td { padding: 8px 10px; }
  .bze-legal { padding: 0 8px; }
}

/* --- CTA SECTION (realizace) --- */
.bze-cta-section {
  background: linear-gradient(135deg, #1e2533 0%, #252d3d 100%);
  color: #fff;
  text-align: center;
  padding: 36px 24px;
  border-radius: 12px;
  margin-bottom: 40px;
}
.bze-cta-section h3 { font-size: 1.3rem; margin: 0 0 10px; }
.bze-cta-section p { color: #ccd0d8; margin: 0 0 18px; }
.bze-cta-section a {
  display: inline-block;
  background: #e67e22;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.bze-cta-section a:hover { background: #cf6d17; color: #fff; }

/* --- GALLERY (produktove stranky) --- */
.bze-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}
.bze-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.2s;
  cursor: pointer;
}
.bze-gallery img:hover { transform: scale(1.03); }

/* --- PRODUCT DESCRIPTION --- */
.bze-description {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 800px;
}
.bze-description p { margin: 0 0 12px; }

/* --- TECH SPECS --- */
.bze-tech {
  margin-bottom: 40px;
}
.bze-tech h2 { font-size: 1.4rem; color: #1e2533; margin: 0 0 20px; }
.bze-tech table { width: 100%; border-collapse: collapse; border: none; }
.bze-tech table td { padding: 14px 16px; border: none; border-bottom: 1px solid #eee; vertical-align: middle; color: #444; font-size: 0.92rem; }
.bze-tech table tr:nth-child(even) td { background: #f8f9fa; }
.bze-tech table td:first-child { width: 50px; text-align: center; }
.bze-tech table td:first-child img { width: 36px; height: 36px; }
.bze-tech table[border] { border: none; }

/* --- CONSTRUCTION SECTION --- */
.bze-construction {
  margin-bottom: 40px;
}
.bze-construction h3,
.bze-construction h4 { color: #1e2533; margin: 20px 0 12px; }
.bze-construction p { color: #555; line-height: 1.7; margin: 0 0 12px; }
.bze-construction img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.bze-construction table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.bze-construction table td { padding: 10px 14px; border: 1px solid #ddd; font-size: 0.88rem; color: #444; }
.bze-construction table tr:first-child td { background: #1e2533; color: #fff; font-weight: 600; }
.bze-construction table tr:nth-child(even):not(:first-child) td { background: #f8f9fa; }

/* --- CATEGORY CARDS (parent page) --- */
.bze-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.bze-category-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  display: block;
}
.bze-category-card:hover { transform: scale(1.02); box-shadow: 0 8px 28px rgba(0,0,0,0.14); }
.bze-category-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.bze-category-card h3 {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  margin: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(30,37,51,0.85));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

/* --- PRODUCT OVERVIEW CARDS (parent page) --- */
.bze-product-overview { margin-bottom: 40px; }
.bze-product-overview > h2 { font-size: 1.4rem; color: #1e2533; margin: 0 0 12px; }
.bze-product-overview > div > p,
.bze-product-overview > p { color: #555; line-height: 1.7; margin-bottom: 24px; }
.bze-product-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.bze-product-card {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.bze-product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.14); }
.bze-pc-icon { text-align: right; padding: 20px 16px 16px; }
.bze-pc-icon img { height: 44px; width: auto; }
.bze-product-card .bze-pc-photo img { width: 100%; height: 200px; object-fit: cover; display: block; }
.bze-product-card .bze-pc-info { padding: 16px 20px; }
.bze-product-card .bze-pc-info h3 { font-size: 1.05rem; color: #1e2533; margin: 0 0 8px; }
.bze-product-card .bze-pc-info p { font-size: 0.85rem; color: #666; line-height: 1.5; margin: 0 0 12px; }
.bze-product-card p.bze-pc-cta {
  display: inline-block;
  background: #e67e22;
  color: #fff;
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.bze-product-card:hover p.bze-pc-cta { background: #cf6d17; }

/* --- ARTICLE LAYOUT RESPONSIVE --- */
@media (max-width: 991px) {
  .bze-benefits { grid-template-columns: repeat(2, 1fr); }
  .bze-models-grid { grid-template-columns: 1fr; }
  .bze-split { grid-template-columns: 1fr; gap: 24px; }
  .bze-quality-grid { grid-template-columns: repeat(2, 1fr); }
  .bze-categories { grid-template-columns: repeat(2, 1fr); }
  .bze-product-cards { grid-template-columns: 1fr; }
  .bze-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .bze-hero { padding: 32px 16px; }
  .bze-hero h1 { font-size: 1.6rem; }
  .bze-benefits { grid-template-columns: 1fr; }
  .bze-quality-grid { grid-template-columns: 1fr; }
  .bze-categories { grid-template-columns: 1fr; }
  .bze-gallery { grid-template-columns: repeat(2, 1fr); }
  .bze-gallery img { height: 140px; }
  .bze-cta-section { padding: 28px 16px; }
  .bze-tech table td { padding: 10px 8px; font-size: 0.85rem; }
}

/* =============================================
   FOOTER - 4 sloupce
   ============================================= */

/* Pozadi cele footer sekce + zarovnani s obsahem */
footer.container-footer,
footer.container-footer.full-width,
.container-footer {
  background: linear-gradient(to right, #1e2533, #252d3d) !important;
  padding-left: max(20px, calc((100% - var(--cassiopeia-container-main-width, 1320px)) / 2)) !important;
  padding-right: max(20px, calc((100% - var(--cassiopeia-container-main-width, 1320px)) / 2)) !important;
  box-sizing: border-box !important;
}

/* Odstranit Cassiopeia grid-child omezeni uvnitr footeru */
footer.container-footer > .grid-child,
.container-footer > .grid-child {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.site-footer {
  padding: 48px 0 0 !important;
  color: #99a3b3 !important;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* 4 sloupce */
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px 56px;
}

/* Sloupec */
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333d4d;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  color: #99a3b3;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a::before {
  content: "\279E";
  margin-right: 8px;
  color: #556;
  font-size: 0.85em;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #e67e22;
}

.footer-col ul li a:hover::before {
  color: #e67e22;
}

/* Logo ve footeru */
.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 16px;
  display: block;
}

/* Kontaktni udaje */
.footer-contact-name {
  color: #fff;
  font-weight: 600;
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.footer-contact {
  margin: 0 0 4px;
}

.footer-contact a {
  color: #99a3b3;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #e67e22;
}

/* Copyright */
.footer-bottom {
  margin-top: 36px;
  padding: 16px 0 20px;
  border-top: 1px solid #333d4d;
  text-align: center;
  font-size: 0.8rem;
  color: #667;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-bottom a {
  color: #556;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #99a3b3;
}

/* Footer responsive */
@media (max-width: 991px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 32px 20px 0;
  }

  .footer-bottom {
    margin-top: 24px;
  }
}

/* =============================================
   CONTACT FORM – poptavkovy formular
   ============================================= */

/* Form container */
.bze-form-wrap {
  max-width: 720px;
  margin: 0 auto 40px;
}

/* Form sections */
.bze-form-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #eee;
}

.bze-form-section h3 {
  font-size: 1.2rem;
  color: #1e2533;
  margin: 8px 0 20px;
}

.bze-form-section:first-child h3 {
  margin-top: 0;
}

.bze-form-submit-section {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* Form grid (2 columns) */
.bze-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.bze-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e2533;
  margin-bottom: 6px;
}

.bze-req { color: #e67e22; }

.bze-form-group input,
.bze-form-group select,
.bze-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e0e3e8;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}

.bze-form-group input:focus,
.bze-form-group select:focus,
.bze-form-group textarea:focus {
  border-color: #e67e22;
  box-shadow: 0 0 0 3px rgba(230,126,34,0.15);
  outline: none;
}

.bze-form-group input.bze-invalid,
.bze-form-group select.bze-invalid,
.bze-form-group textarea.bze-invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.15);
}

/* Checkbox grid */
.bze-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bze-checkbox-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid #e0e3e8;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}

.bze-checkbox-card:hover {
  border-color: #ccc;
  background: #fafafa;
}

.bze-checkbox-card input { display: none; }

.bze-check-box {
  width: 24px;
  height: 24px;
  border: 2px solid #ccc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  color: transparent;
}

.bze-check-box svg {
  width: 16px;
  height: 16px;
}

.bze-checkbox-card input:checked ~ .bze-check-box {
  background: #e67e22;
  border-color: #e67e22;
  color: #fff;
}

.bze-checkbox-card input:checked ~ .bze-check-label {
  color: #1e2533;
  font-weight: 600;
}

.bze-check-label {
  font-size: 0.92rem;
  color: #555;
  transition: all 0.2s;
}

/* GDPR checkbox */
.bze-gdpr-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #555;
  cursor: pointer;
  line-height: 1.5;
}

.bze-gdpr-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.bze-gdpr-check label {
  cursor: pointer;
  font-weight: 400 !important;
  font-size: 0.88rem !important;
  color: #555 !important;
}

.bze-gdpr-check a {
  color: #e67e22;
  text-decoration: underline;
}

.bze-gdpr-check.bze-invalid {
  color: #e74c3c;
}

.bze-gdpr-check.bze-invalid input[type="checkbox"] {
  outline: 2px solid #e74c3c;
  outline-offset: 1px;
}

/* Submit row */
.bze-submit-row {
  margin-top: 8px;
}

/* Submit button */
.bze-btn-submit {
  background: #e67e22;
  border: none;
  color: #fff;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.bze-btn-submit:hover {
  background: #cf6d17;
}

.bze-btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success message */
.bze-form-success {
  display: none;
  text-align: center;
  padding: 60px 24px;
}

.bze-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #27ae60;
  color: #fff;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.bze-form-success h3 {
  font-size: 1.6rem;
  color: #1e2533;
  margin: 0 0 12px;
}

.bze-form-success p {
  color: #555;
  font-size: 1rem;
  margin: 0 0 8px;
  line-height: 1.6;
}

.bze-form-success a { color: #e67e22; }

.bze-btn-home {
  display: inline-block;
  margin-top: 24px;
  background: #1e2533;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  transition: background 0.2s;
}

.bze-btn-home:hover {
  background: #2a3548;
}

/* Thank you page */
.bze-thankyou {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
  padding: 20px 24px 40px;
}

.bze-thankyou-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #27ae60;
  color: #fff;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.bze-thankyou h2 {
  font-size: 1.5rem;
  color: #1e2533;
  margin: 0 0 28px;
}

.bze-thankyou-steps {
  text-align: left;
  margin: 0 0 32px;
}

.bze-thankyou-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.bze-thankyou-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e2533;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bze-thankyou-step-text strong {
  display: block;
  color: #1e2533;
  margin-bottom: 4px;
}

.bze-thankyou-step-text p {
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.bze-thankyou-contact {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 100%);
  border-radius: 12px;
  padding: 20px;
  margin: 0 0 28px;
}

.bze-thankyou-contact p {
  margin: 0 0 8px;
  color: #555;
}

.bze-thankyou-phone {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e67e22 !important;
  text-decoration: none !important;
}

.bze-thankyou-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.bze-btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid #1e2533;
  border-radius: 8px;
  color: #1e2533 !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
}

.bze-btn-outline:hover {
  background: #1e2533;
  color: #fff !important;
}

/* Error message */
.bze-form-error {
  display: none;
  background: #fdf0ef;
  border: 1px solid #e74c3c;
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 16px;
  color: #c0392b;
  font-size: 0.92rem;
}

/* Trust strip */
.bze-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.bze-trust-item {
  text-align: center;
  padding: 20px 12px;
  background: #f8f9fa;
  border-radius: 10px;
}

.bze-trust-item strong {
  display: block;
  font-size: 1.4rem;
  color: #e67e22;
  margin-bottom: 6px;
}

.bze-trust-item span {
  font-size: 0.85rem;
  color: #555;
}

/* =============================================
   CONTACT PAGE – kontaktujte nas
   ============================================= */

.bze-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.bze-contact-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px;
}

.bze-contact-card.bze-contact-primary {
  background: linear-gradient(135deg, #1e2533 0%, #252d3d 100%);
  color: #ccd0d8;
}

.bze-contact-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin: 0 0 12px;
  font-weight: 600;
}

.bze-contact-primary h3 {
  color: #99a3b3;
}

.bze-contact-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e2533;
  margin: 0 0 16px;
}

.bze-contact-primary .bze-contact-name {
  color: #fff;
}

.bze-contact-info {
  margin-bottom: 16px;
}

.bze-contact-info p {
  margin: 0 0 4px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.bze-contact-card:not(.bze-contact-primary) .bze-contact-info p {
  color: #555;
}

.bze-contact-info a {
  color: #e67e22;
  text-decoration: none;
  transition: color 0.2s;
}

.bze-contact-info a:hover {
  color: #cf6d17;
}

.bze-contact-ids {
  border-top: 1px solid #e0e3e8;
  padding-top: 12px;
}

.bze-contact-ids p {
  margin: 0 0 2px;
  font-size: 0.88rem;
  color: #555;
}

.bze-btn-contact {
  display: inline-block;
  margin-top: 8px;
  background: #e67e22;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.bze-btn-contact:hover {
  background: #cf6d17;
}

@media (max-width: 767px) {
  .bze-contact-grid { grid-template-columns: 1fr; }
}

/* Form responsive */
@media (max-width: 767px) {
  .bze-form-grid { grid-template-columns: 1fr; }
  .bze-checkbox-grid { grid-template-columns: 1fr; }
  .bze-trust-strip { grid-template-columns: 1fr 1fr; }
  .bze-btn-submit { width: 100%; }
}

@media (max-width: 480px) {
  .bze-trust-strip { grid-template-columns: 1fr; }
}

/* =============================================
   EXTERNAL BANNER – odkaz na partnerský web
   ============================================= */

.bze-banner-external {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 100%);
  border: 2px solid #d0d8e4;
  border-radius: 12px;
  padding: 36px 32px;
  margin-bottom: 56px;
  text-align: center;
}
.bze-banner-content {
  max-width: 600px;
  margin: 0 auto;
}
.bze-banner-content h3 {
  font-size: 1.2rem;
  color: #1e2533;
  margin: 0 0 10px;
}
.bze-banner-content p {
  color: #555;
  margin: 0 0 20px;
  line-height: 1.6;
}
.bze-btn-external {
  display: inline-block;
  background: #e67e22;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.bze-btn-external:hover {
  background: #cf6d17;
  color: #fff !important;
}

/* =============================================
   GALLERY SECTION – sekce s nadpisem
   ============================================= */

.bze-gallery-section {
  margin-bottom: 40px;
}
.bze-gallery-section h2 {
  font-size: 1.4rem;
  color: #1e2533;
  margin: 0 0 8px;
}
.bze-gallery-section > p {
  color: #555;
  line-height: 1.7;
  margin: 0 0 20px;
}

/* =============================================
   GALLERY HUB – rozcestník fotogalerií
   ============================================= */

.bze-gallery-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 8px;
}
.bze-gallery-card {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.bze-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}
.bze-gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.bze-gallery-card h4 {
  font-size: 1rem;
  color: #1e2533;
  margin: 0;
  padding: 14px 16px 4px;
  font-weight: 600;
}
.bze-gallery-card .bze-count {
  display: block;
  padding: 0 16px 14px;
  font-size: 0.85rem;
  color: #888;
}
.bze-gallery-card:hover h4 {
  color: #e67e22;
}

@media (max-width: 991px) {
  .bze-gallery-hub { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bze-gallery-hub { grid-template-columns: 1fr; }
}

/* =============================================
   LIGHTBOX – fullscreen fotogalerie
   ============================================= */

.bze-lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bze-lightbox-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92);
}
.bze-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bze-lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.bze-lightbox-close {
  position: fixed;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.bze-lightbox-close:hover { opacity: 1; }
.bze-lightbox-prev,
.bze-lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.bze-lightbox-prev { left: 16px; }
.bze-lightbox-next { right: 16px; }
.bze-lightbox-prev:hover,
.bze-lightbox-next:hover { background: rgba(255,255,255,0.25); }
.bze-lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #99a3b3;
  font-size: 0.9rem;
  z-index: 10;
}

@media (max-width: 767px) {
  .bze-lightbox-prev,
  .bze-lightbox-next { width: 40px; height: 40px; font-size: 1.5rem; }
  .bze-lightbox-prev { left: 8px; }
  .bze-lightbox-next { right: 8px; }
}

/* =============================================
   REFERENCE PAGE – bze-ref-* třídy
   ============================================= */

.bze-ref-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}
.bze-ref-intro p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* --- 2 sloupce s feedy --- */
.bze-ref-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
  align-items: start;
}
.bze-ref-column {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.bze-ref-column-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}
.bze-ref-column-header h2 {
  font-size: 1.25rem;
  color: #1e2533;
  margin: 0;
  line-height: 1.2;
}
.bze-ref-badge {
  display: block;
  font-size: 0.8rem;
  color: #888;
  font-weight: 400;
  margin-top: 2px;
}

/* --- Jednotlivé recenze --- */
.bze-ref-review {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.bze-ref-review:last-of-type {
  border-bottom: none;
  margin-bottom: 8px;
}
.bze-ref-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.bze-ref-text {
  color: #444;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0 0 8px;
  font-style: italic;
}
.bze-ref-author {
  font-size: 0.85rem;
  color: #1e2533;
  font-weight: 600;
}
.bze-ref-author span {
  font-weight: 400;
  color: #999;
  margin-left: 4px;
}

/* --- Tlačítka pod feedy --- */
.bze-ref-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  margin-top: 8px;
}
.bze-ref-btn:hover {
  transform: translateY(-2px);
}
.bze-ref-btn-google {
  background: #4285F4;
  color: #fff;
}
.bze-ref-btn-google:hover {
  background: #3367d6;
  color: #fff;
}
.bze-ref-btn-firmy {
  background: #e67e22;
  color: #fff;
}
.bze-ref-btn-firmy:hover {
  background: #cf6d17;
  color: #fff;
}

@media (max-width: 768px) {
  .bze-ref-columns { grid-template-columns: 1fr; }
}

/* =============================================
   COOKIE BANNER – GDPR compliant
   ============================================= */

.bze-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99998;
  background: #1e2533;
  color: #ccd0d8;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.bze-cookie-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 22px 28px;
}

/* --- Main row --- */
.bze-cookie-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bze-cookie-text strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}

.bze-cookie-text p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.bze-cookie-text a {
  color: #e67e22;
  text-decoration: underline;
}

.bze-cookie-text a:hover {
  color: #f5a623;
}

/* --- Buttons (hlavní i detail) --- */
.bze-cookie-buttons,
.bze-cookie-detail-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.bze-cookie-btn {
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.bze-cookie-btn:hover {
  transform: translateY(-1px);
}

.bze-cookie-accept {
  background: #e67e22;
  color: #fff;
}

.bze-cookie-accept:hover {
  background: #cf6d17;
}

.bze-cookie-reject {
  background: transparent;
  color: #ccd0d8;
  border: 1px solid #555;
}

.bze-cookie-reject:hover {
  background: rgba(255,255,255,0.08);
  border-color: #888;
}

.bze-cookie-settings-toggle {
  background: transparent;
  color: #ccd0d8;
  border: 1px solid #555;
}

.bze-cookie-settings-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: #888;
}

.bze-cookie-save {
  background: #e67e22;
  color: #fff;
}

.bze-cookie-save:hover {
  background: #cf6d17;
}

/* --- Detail panel (kategorie) --- */
.bze-cookie-detail {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 18px;
  padding-top: 18px;
}

.bze-cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

/* Kategorie řádek */
.bze-cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
}

.bze-cookie-cat-info {
  flex: 1;
}

.bze-cookie-cat-info strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.bze-cookie-cat-info span {
  font-size: 0.82rem;
  color: #99a3b3;
  line-height: 1.5;
}

/* Toggle přepínač */
.bze-cookie-cat input[type="checkbox"] {
  display: none;
}

.bze-cookie-toggle {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 24px;
  background: #444;
  border-radius: 12px;
  transition: background 0.25s;
  flex-shrink: 0;
}

.bze-cookie-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
}

.bze-cookie-cat input:checked + .bze-cookie-toggle {
  background: #27ae60;
}

.bze-cookie-cat input:checked + .bze-cookie-toggle::after {
  transform: translateX(20px);
}

.bze-cookie-toggle-disabled {
  background: #27ae60;
  opacity: 0.6;
  cursor: not-allowed;
}

.bze-cookie-toggle-disabled::after {
  transform: translateX(20px);
}

.bze-cookie-detail-buttons {
  justify-content: flex-end;
}

/* --- Minimalizovaná cookie lišta --- */
.bze-cookie-reopen {
  position: fixed;
  bottom: 0;
  left: 18px;
  z-index: 99997;
  background: #1e2533;
  color: #ccd0d8;
  border: 1px solid #444;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 8px 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
  transition: background 0.2s;
}

.bze-cookie-reopen:hover {
  background: #2a3548;
}

.bze-cookie-reopen-icon {
  font-size: 1rem;
  line-height: 1;
}

.bze-cookie-reopen-text {
  white-space: nowrap;
}

/* --- Responsive --- */
@media (max-width: 767px) {
  .bze-cookie-inner {
    padding: 18px 16px;
  }
  .bze-cookie-main {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .bze-cookie-buttons {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .bze-cookie-btn {
    padding: 10px 16px;
    font-size: 0.82rem;
  }
  .bze-cookie-cat {
    padding: 10px 12px;
  }
  .bze-cookie-detail-buttons {
    justify-content: center;
  }
}
