/* PIJAVKA – vlastné správanie chrome (verná náhrada The7 JS) */

/* Hover dropdown submenu */
.menu-item-has-children:hover > .sub-nav,
li.has-children:hover > .sub-nav,
.menu-item-has-children:hover > .mega-menu,
li.has-children:hover > .sub-nav-wrap .sub-nav {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Sticky = The7 #phantom (klon LEN menu baru, fade cez načítané phantom-fade keyframes).
   #phantom{position:fixed;top:0} a fade animácie dáva už načítaná The7 CSS (body.phantom-fade). */
#phantom { box-shadow: 0 1px 12px 1px rgba(0, 0, 0, 0.08); }
#phantom .top-bar { display: none !important; }      /* len menu, bez horného jazyk/search riadku */
#phantom .branding { display: none !important; }     /* phantom-logo-off → bez loga */
#phantom .header-bar { min-height: 60px; }           /* floatingHeader.height */

/* scroll-top: The7 main.min.css rieši cez .scroll-top a .scroll-top.on (z-index 109) – netreba doplniť */

/* Search popup: lupa otvorí (The7 .popup-search-wrap je default visibility:hidden) */
.mini-search.dt-search-open .popup-search-wrap {
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 1001;
}

/* HERO SLIDER (náhrada Revolution Slider) */
.dt-hero { width: 100%; }
.dt-hero-swiper { width: 100%; height: 552px; }
.dt-hero-slide {
  width: 100%; height: 100%;
  background-size: cover; background-position: center center;
  position: relative;
}
.dt-hero-caption {
  position: absolute; right: 11%; top: 84px;
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
}
.dt-hero-caption .cap-line { color: #57585a; line-height: 71px; }
.dt-hero-caption .cap-0 { font-size: 75px; font-weight: 700; }
.dt-hero-caption .cap-1 { font-size: 48px; font-weight: 400; }
.dt-hero-caption .cap-2 { font-size: 64px; font-weight: 700; }
.dt-hero .swiper-pagination-bullet-active { background: #b4ba35; }
@media (max-width: 768px) {
  .dt-hero-swiper { height: 180px; }
  .dt-hero-caption { top: 22px; right: 6%; }
  .dt-hero-caption .cap-line { line-height: 22px; }
  .dt-hero-caption .cap-0 { font-size: 24px; }
  .dt-hero-caption .cap-1 { font-size: 16px; }
  .dt-hero-caption .cap-2 { font-size: 21px; }
}

/* MOBILNÝ HEADER (logo + hamburger + off-canvas) – zobraz ≤768px */
.dt-mobile-bar, .dt-mobile-panel, .dt-mobile-overlay { display: none; }
@media (max-width: 768px) {
  .masthead { display: none !important; }
  .dt-mobile-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 15px; background: #fff; position: relative; z-index: 100;
    border-bottom: 1px solid #ececec;
  }
  .dt-mobile-logo img { height: 52px; width: auto; display: block; }
  .dt-mobile-toggle {
    background: none; border: 0; width: 34px; height: 26px; padding: 0; cursor: pointer;
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .dt-mobile-toggle span { display: block; height: 3px; width: 100%; background: #b4ba35; border-radius: 2px; }
  .dt-mobile-overlay {
    display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5);
    opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 998;
  }
  .dt-mobile-panel {
    display: block; position: fixed; top: 0; right: -300px; width: 280px; height: 100%;
    background: #2e2e2e; z-index: 999; transition: right .3s ease; overflow-y: auto; padding: 48px 0 20px;
  }
  body.dt-mobile-open .dt-mobile-panel { right: 0; }
  body.dt-mobile-open .dt-mobile-overlay { opacity: 1; visibility: visible; }
  .dt-mobile-close {
    position: absolute; top: 8px; right: 14px; background: none; border: 0;
    color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  }
  .dt-mobile-panel .mobile-main-nav { list-style: none; margin: 0; padding: 0; }
  .dt-mobile-panel .mobile-main-nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .dt-mobile-panel .mobile-main-nav a { display: block; padding: 12px 22px; color: #fff; text-decoration: none; font-size: 15px; }
  .dt-mobile-panel .mobile-main-nav .sub-nav, .dt-mobile-panel .mobile-main-nav ul { list-style: none; margin: 0; padding: 0 0 0 16px; }
  .dt-mobile-panel .mobile-main-nav a:hover { color: #b4ba35; }
  .dt-mobile-panel .current-menu-item > a,
  .dt-mobile-panel .act > a { color: #b4ba35; }
}

/* COOKIE súhlas lišta (GDPR) – vizuálne ako originál (zelená dole) */
#cookie-notice { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(180,186,53,1); color: #fff; z-index: 100000; padding: 14px 20px; box-shadow: 0 -2px 10px rgba(0,0,0,.12); }
#cookie-notice[hidden] { display: none; }
#cookie-notice .cn-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
#cookie-notice .cn-text { flex: 1 1 320px; font-size: 14px; line-height: 1.4; }
#cookie-notice .cn-buttons { display: flex; gap: 10px; flex-shrink: 0; }
#cookie-notice button { border: 0; padding: 9px 18px; cursor: pointer; font-weight: 600; border-radius: 2px; font-size: 14px; }
/* obe tlačidlá rovnaké (#57585a, biely text) – ako originál + rovnaká prominencia (GDPR, nie dark-pattern) */
#cookie-notice .cn-accept,
#cookie-notice .cn-reject { background: #57585a; color: #fff; }

/* Trvalý link na zmenu/odvolanie súhlasu (GDPR čl. 7(3)) */
.cookie-settings-link {
  position: fixed; left: 14px; bottom: 14px; z-index: 9999;
  background: rgba(87,88,90,.92); color: #fff !important; font-size: 12px;
  padding: 6px 12px; border-radius: 3px; text-decoration: none; box-shadow: 0 1px 6px rgba(0,0,0,.2);
}
.cookie-settings-link:hover { background: #b4ba35; }
#cookie-notice .cn-privacy { color: #fff; text-decoration: underline; }
