/* One compact-header layout through tablet widths. Wide desktop styling stays intact. */
@media (max-width:1199px) {
 body.tvo-layout { --tvo-brand-height:104px; --tvo-hero-height:300px; }
 body.tvo-layout #page { min-width:0 !important; max-width:100% !important; }
 body.tvo-layout #topLista { display:none !important; }
 body.tvo-layout #page>.row,body.tvo-layout #headerSlider .row { margin-left:0 !important; margin-right:0 !important; }
 body.tvo-layout #page>.row>.col-md-12 { padding-left:0 !important; padding-right:0 !important; }
 body.tvo-layout #headerSlider { display:block !important; position:relative; width:100% !important; height:auto !important; min-height:0 !important; padding:0 !important; overflow:visible !important; background:#35231a; }
 body.tvo-layout #headerSlider #logo { display:block !important; position:relative !important; top:auto !important; left:auto !important; width:calc(100% - 145px) !important; height:var(--tvo-brand-height) !important; min-height:var(--tvo-brand-height) !important; padding:8px 12px !important; margin:0 !important; border:0 !important; z-index:31 !important; background:transparent !important; }
 body.tvo-layout #headerSlider #logo img { display:block !important; width:170px !important; height:88px !important; max-width:100% !important; object-fit:contain; }
 body.tvo-layout #headerSlider #logo-nadpis,body.tvo-layout #headerSlider .top-form-menu,body.tvo-layout #headerSlider .garance-image,body.tvo-layout #headerSlider .free-call,body.tvo-layout #headerSlider .headerBlocks,body.tvo-layout #headerSlider .carousel-indicators,body.tvo-layout #headerSlider .carousel-control,body.tvo-layout #login_form,body.tvo-layout #headerSlider>br { display:none !important; }
 body.tvo-layout #headerSlider .top-user-menu { display:block !important; position:absolute !important; top:0 !important; left:0 !important; right:0 !important; width:100% !important; height:var(--tvo-brand-height) !important; min-height:var(--tvo-brand-height) !important; background:transparent !important; z-index:30 !important; border:0; }
 body.tvo-layout #headerSlider .top-user-menu>.container,body.tvo-layout #headerSlider .top-user-menu>.container>.row { width:100% !important; height:var(--tvo-brand-height) !important; min-height:var(--tvo-brand-height) !important; margin:0 !important; padding:0 !important; }
 body.tvo-layout #headerSlider .top-user-menu .topbar-controls { position:absolute !important; top:0 !important; right:14px !important; width:auto !important; height:var(--tvo-brand-height) !important; min-height:var(--tvo-brand-height) !important; padding:0 !important; display:flex !important; align-items:center !important; }
 body.tvo-layout #headerSlider .top-user-menu .menu-toggle { display:inline-flex !important; align-items:center; justify-content:center; min-width:106px !important; min-height:46px !important; margin:0 !important; padding:11px 15px !important; border:0 !important; border-radius:6px !important; background:#f6c000 !important; color:#20150e !important; font-size:15px !important; font-weight:700; }
 body.tvo-layout #headerSlider .top-user-menu .col-md-11 { position:absolute !important; top:var(--tvo-brand-height) !important; left:0 !important; right:0 !important; width:100% !important; padding:0 !important; z-index:50 !important; background:#35231a !important; }
 body.tvo-layout #headerSlider .top-user-main-menu { display:block !important; width:100% !important; margin:0 !important; padding:0 18px !important; transition:none !important; }
 body.tvo-layout #headerSlider .top-user-menu:not(.is-open) .top-user-main-menu { max-height:0 !important; padding-top:0 !important; padding-bottom:0 !important; overflow:hidden !important; visibility:hidden; border:0 !important; }
 body.tvo-layout #headerSlider .top-user-menu.is-open .top-user-main-menu { max-height:900px !important; padding-top:8px !important; padding-bottom:8px !important; overflow:visible !important; visibility:visible; }
 body.tvo-layout #headerSlider .top-user-main-menu li { display:block !important; padding:0 !important; margin:0 !important; }
 body.tvo-layout #headerSlider .top-user-main-menu li a { display:block !important; padding:11px 0 !important; color:#fff !important; font-size:15px !important; line-height:1.4; border-bottom:1px solid #715746 !important; }
 body.tvo-layout #headerSlider .carousel-inner,body.tvo-layout #headerSlider .carousel-inner>.item:first-child,body.tvo-layout #headerSlider .carousel-item-image { height:var(--tvo-hero-height) !important; min-height:var(--tvo-hero-height) !important; }
 body.tvo-layout #headerSlider .carousel-inner { position:relative; clear:both; overflow:hidden; }
 body.tvo-layout #headerSlider .carousel-inner>.item { display:none !important; }
 body.tvo-layout #headerSlider .carousel-inner>.item:first-child { display:block !important; position:relative !important; left:0 !important; transform:none !important; opacity:1 !important; transition:none !important; }
 body.tvo-layout #headerSlider .carousel-item-image { background-size:cover !important; background-position:center !important; }
 body.tvo-layout #headerSlider .carousel-caption { position:absolute !important; inset:0 !important; display:flex !important; flex-direction:column; align-items:flex-start; justify-content:center !important; width:auto !important; max-width:none !important; height:auto !important; margin:0 !important; padding:24px !important; text-align:left !important; background:linear-gradient(90deg,rgba(24,13,9,.72),rgba(24,13,9,.18)) !important; }
 body.tvo-layout #headerSlider .carousel-caption h2 { max-width:680px; margin:0 0 20px !important; font-size:30px !important; line-height:1.18 !important; color:#fff; }
 body.tvo-layout #headerSlider .carousel-caption br { display:none; }
 body.tvo-layout #headerSlider .carousel-caption .btn { align-self:flex-start; display:inline-flex; align-items:center; justify-content:center; width:auto !important; max-width:100% !important; min-width:165px !important; min-height:46px !important; margin:0 !important; padding:12px 22px !important; font-size:15px !important; white-space:normal; }
 body.tvo-layout .tvo-mobile-contact { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:0; padding:13px 14px; background:#35231a; }
 body.tvo-layout .tvo-mobile-contact a { display:flex; justify-content:center; align-items:center; min-height:44px; padding:9px 12px; border:1px solid #e8b525; border-radius:3px; color:#ffd23f !important; text-align:center; font-size:15px; text-decoration:none; }
 /* Show the existing homepage H1; the desktop login strip is unchanged. */
 body.tvo-home #headerSlider .top-form-menu { display:block !important; position:relative; height:auto !important; min-height:0; margin:0; padding:12px 18px; border-top:1px solid #5a4030; background:#35231a; }
 body.tvo-home #headerSlider .top-form-menu .container,body.tvo-home #headerSlider .top-form-menu .col-md-11,body.tvo-home #headerSlider .top-form-menu .col-md-7 { float:none; width:100% !important; max-width:none; min-height:0; margin:0; padding:0; }
 body.tvo-home #headerSlider .top-form-menu .col-md-1,body.tvo-home #headerSlider .top-form-menu .col-md-5 { display:none; }
 body.tvo-home #headerSlider .top-form-menu h1 { display:block; margin:0; color:#f3e9df !important; font-size:18px; font-weight:500; line-height:1.4; text-align:left; }
 /* A stacked contact table must grow with its text, not keep fixed row heights. */
 body.tvo-layout .content table.contact-layout tr { height:auto !important; min-height:0 !important; }
}
@media (max-width:540px) {
 body.tvo-layout { --tvo-brand-height:96px; --tvo-hero-height:315px; }
 body.tvo-layout #headerSlider #logo { padding:10px 12px !important; }
 body.tvo-layout #headerSlider #logo img { width:145px !important; height:76px !important; }
 body.tvo-layout #headerSlider .carousel-caption { padding:22px 18px !important; }
 body.tvo-layout #headerSlider .carousel-caption h2 { font-size:24px !important; }
}
@media (min-width:1200px) and (max-width:1519px) {
 /* Keep menu links clear of the absolute-positioned logo on smaller desktops. */
 body.tvo-layout #headerSlider .top-user-menu>.container { width:calc(100% - 260px); max-width:none; margin-left:250px; margin-right:10px; padding:0; }
 body.tvo-layout #headerSlider .top-user-menu>.container>.row { display:block; margin:0; }
 body.tvo-layout #headerSlider .top-user-menu .topbar-controls,body.tvo-layout #headerSlider .top-user-menu .col-md-1 { display:none; }
 body.tvo-layout #headerSlider .top-user-menu .col-md-11 { float:none; width:100%; padding:0; }
 body.tvo-layout #headerSlider .top-user-main-menu { display:flex; flex-wrap:nowrap; justify-content:center; gap:0; padding:0; }
 body.tvo-layout #headerSlider .top-user-main-menu li { padding:5px 10px; }
}
