/* Hlavička m.rajpneu.cz (od 25. 11. 2026): HTML v index.php beze změny, jen rozložení, zarovnání a velikosti. */

/* horní řádek: účet | Zboží Vám zašleme | jazyky */
#topline .top-line .container, #topline .top-bar .container {width:100%; max-width:1280px; padding:0 26px;}
#topline .top-line .row {margin:0; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; min-height:44px;}
#topline .top-line .row:before, #topline .top-line .row:after, #topline .top-bar .row:before, #topline .top-bar .row:after,
#topline .top-line .container:before, #topline .top-line .container:after, #topline .top-bar .container:before, #topline .top-bar .container:after {display:none;}
#topline .top-user-blok, #topline .top-mena-blok {display:contents;}
#topline .top-line .clearfix, #topline .top-bar .clearfix {display:none;}
#topline .top-user-blok > div, #topline .top-mena-blok > div {float:none !important;}
#topline .top-user-blok > .pull-left {display:flex; align-items:center; gap:20px; min-width:0;}
#topline .top-user-blok > .pull-left a {display:block;}
#topline .top-line .top-ucet {display:flex; align-items:center; gap:7px; height:44px; padding:0; margin:0; float:none; line-height:1 !important; white-space:nowrap;}
#topline .top-line .top-ucet i {font-size:18px; line-height:1; height:auto; margin:0;}
#topline .top-line .top-ucet-mujucet {display:block; font-size:15px; line-height:1;}
#topline .top-line .top-semafor {display:flex; align-items:center; gap:6px; height:auto; line-height:1.25 !important;}
#topline .top-line .top-semafor-text {font-size:15px; line-height:1.25; white-space:nowrap;}
#topline .top-line .top-semafor-text > span {font-weight:500;}
#topline .top-line .top-semafor-ikona {font-size:20px; line-height:1; height:auto;}
#topline .top-mena-blok > .pull-right {justify-self:end;}
#topline .top-line .mena-holder {height:auto; line-height:1;}
#topline .top-line .form_vyber_meny {margin:0;}
#topline .top-line .form_vyber_meny > div.toprow:not(.nodisp) {display:flex; gap:5px;}
#topline .top-line .lang_ico {width:28px; height:28px; line-height:28px; border-radius:50%; margin:0; top:0;}

/* šedý pás: logo a kola | K&K 32 let | sleva a typ cen | košík */
#topline .top-bar {height:auto;}
#topline .top-bar .row {margin:0; display:flex; align-items:center; justify-content:space-between; min-height:112px; gap:20px;}
#topline .top-bar .row > .col-md-6 {float:none; width:auto; padding:0; min-width:0;}
#topline .top-bar .row > .col-md-6 > div {float:none !important;}
#topline .top-bar .row > .col-md-6 > .pull-left {display:flex; align-items:center;}
#topline .top-bar .logoholder {float:none; display:block;}
#topline .top-bar .logo {display:block; width:170px; height:63px; background-size:contain;}
#topline .top-bar .trikola {float:none; display:block; flex:none; width:128px; height:103px; margin-left:6px; background-size:contain; background-position:center;}
#topline .top-bar .tradice {float:none; display:flex; flex-direction:column; justify-content:center; flex:none; width:auto; height:72px; margin:0 0 0 14px; padding:0 0 0 142px; border-left:1px solid #bdbdbd; background:url(/styl/logo_tr.png) 30px center no-repeat; background-size:100px auto;}
#topline .top-bar .tradice .roky {float:none; width:auto; margin:0; display:block; text-align:left; font-size:23px; line-height:1.1; white-space:nowrap;}
#topline .top-bar .tradice .trzk {float:none; width:auto; margin:0; display:block; text-align:left; font-size:15px; line-height:1.12; color:#7c7c7c;}

#topline .top-bar .kosik {display:grid; grid-template-columns:auto auto auto; grid-template-rows:auto auto; align-items:center; height:auto; margin:0; padding:0; background:none; gap:8px 0;}
#topline .top-bar .kosik > a {display:none;}
#topline .top-bar .kosik:before {content:''; grid-column:2; grid-row:1 / 3; width:96px; height:72px; margin-left:30px; border-left:1px solid #bdbdbd; background:url(/styl/kosik.png) right center no-repeat; background-size:66px;}
#topline .top-bar .kosik_hodnoty {grid-column:3; grid-row:1 / 3; width:196px; margin:0; padding:0 0 0 16px; font-size:15px; line-height:29px; white-space:nowrap;}
#topline .top-bar #basketinfo_ks, #topline .top-bar #basketinfo_cena {font-size:20px; line-height:29px;}
#topline .top-bar .basketinfo_sleva, #topline .top-bar .basketinfo_typcen_M, #topline .top-bar .basketinfo_typcen_V, #topline .top-bar .basketinfo_typcen_D {display:block; grid-column:1; margin:0; padding:0 0 0 30px; border:0; font-size:15px; line-height:24px; white-space:nowrap; background-position:0 center; background-size:22px auto; color:#000;}
#topline .top-bar .basketinfo_sleva {grid-row:1; align-self:end;}
#topline .top-bar .basketinfo_typcen_M, #topline .top-bar .basketinfo_typcen_V, #topline .top-bar .basketinfo_typcen_D {grid-row:2; align-self:start;}
#topline .top-bar .basketinfo_sleva .pull-right {float:none !important; margin-left:4px;}

/* menu: levý a pravý okraj jako zbytek hlavičky */
#topline .header-2 {padding:0;}
#topline .header-2 > .container {width:100%; max-width:1280px; padding:0 11px;}
#topline .header-2 > .container > .col-xs-12 {padding:0; float:none;}
#topline .header-2 .row {margin:0;}

@media (min-width:1000px) and (max-width:1199px) {
  #topline .top-bar .logo {width:132px; height:49px;}
  #topline .top-bar .trikola {width:100px; height:80px; margin-left:2px;}
  #topline .top-bar .tradice {margin-left:6px; padding-left:104px; background-position:16px center; background-size:78px auto;}
  #topline .top-bar .tradice .roky {font-size:19px;}
  #topline .top-bar .tradice .trzk {font-size:13px;}
  #topline .top-bar .row {gap:12px;}
  #topline .top-bar .basketinfo_sleva, #topline .top-bar .basketinfo_typcen_M, #topline .top-bar .basketinfo_typcen_V, #topline .top-bar .basketinfo_typcen_D {font-size:13.5px; padding-left:26px; background-size:19px auto;}
  #topline .top-bar .kosik:before {width:70px; margin-left:16px; background-size:52px;}
  #topline .top-bar .kosik_hodnoty {width:166px; padding-left:10px; font-size:13.5px; line-height:26px;}
  #topline .top-bar #basketinfo_ks, #topline .top-bar #basketinfo_cena {font-size:17px; line-height:26px;}
}

@media (max-width:999px) {
  #topline .top-line .container, #topline .top-bar .container {padding:0 18px;}
  #topline .header-2 > .container {padding:0;}
  #topline .header-2 .navy #menu-button {padding:15px 18px;}
  #topline .top-line .top-ucet-mujucet, #topline .top-line .top-semafor-text {font-size:14px;}
  #topline .top-user-blok > .pull-left {gap:14px;}
  #topline .top-bar .row {min-height:86px; gap:10px;}
  #topline .top-bar .logo {width:104px; height:39px;}
  #topline .top-bar .trikola {width:76px; height:61px; margin-left:2px;}
  #topline .top-bar .tradice {height:50px; margin-left:4px; padding-left:74px; background-position:10px center; background-size:58px auto;}
  #topline .top-bar .tradice .roky {font-size:15px;}
  #topline .top-bar .tradice .trzk {font-size:11px;}
  #topline .top-bar .kosik {gap:4px 0;}
  #topline .top-bar .basketinfo_sleva, #topline .top-bar .basketinfo_typcen_M, #topline .top-bar .basketinfo_typcen_V, #topline .top-bar .basketinfo_typcen_D {font-size:12px; line-height:20px; padding-left:22px; background-size:17px auto;}
  #topline .top-bar .kosik:before {width:54px; height:50px; margin-left:8px; border-left:0; background-size:42px;}
  #topline .top-bar .kosik_hodnoty {width:128px; padding-left:7px; font-size:12px; line-height:22px;}
  #topline .top-bar #basketinfo_ks, #topline .top-bar #basketinfo_cena {font-size:14px; line-height:22px;}
}

/* telefon: logo + K&K, pod čarou košík + sleva a typ cen */
@media (max-width:767px) {
  #topline .top-line .container, #topline .top-bar .container {padding:0 14px;}
  #topline .header-2 .navy #menu-button {padding:15px 14px;}
  #topline .top-line .row {grid-template-columns:auto 1fr auto; column-gap:4px;}
  #topline .top-user-blok > .pull-left {gap:0; margin-left:-8px;}
  #topline .top-line .top-ucet {width:34px; justify-content:center;}
  #topline .top-line .top-ucet-mujucet {display:none;}
  #topline .top-line .top-semafor {justify-content:center; gap:4px;}
  #topline .top-line .top-semafor-text {font-size:12.5px; white-space:normal; text-align:center;}
  #topline .top-line .top-semafor-ikona {font-size:17px;}
  #topline .top-line .form_vyber_meny > div.toprow:not(.nodisp) {gap:3px;}
  #topline .top-line .lang_ico {width:27px; height:27px; line-height:27px; font-size:11px;}
  #topline .top-bar .row {display:block; min-height:0; padding:10px 0;}
  #topline .top-bar .row > .col-md-6 {width:100%;}
  #topline .top-bar .logo {width:118px; height:44px;}
  #topline .top-bar .trikola {width:78px; height:63px; margin:-4px 0;}
  #topline .top-bar .tradice {height:44px; margin-left:auto; padding-left:68px; border-left:0; background-position:0 center; background-size:60px auto;}
  #topline .top-bar .tradice .trzk {font-size:11px; line-height:1.1;}
  #topline .top-bar .kosik {grid-template-columns:42px auto 1fr; border-top:1px solid #bdbdbd; margin-top:8px; padding-top:10px; gap:0;}
  #topline .top-bar .kosik:before {grid-column:1; width:42px; height:46px; margin:0; background-size:42px;}
  #topline .top-bar .kosik_hodnoty {grid-column:2; width:144px; padding-left:8px; font-size:12.5px; line-height:23px;}
  #topline .top-bar #basketinfo_ks, #topline .top-bar #basketinfo_cena {font-size:14.5px; line-height:23px;}
  #topline .top-bar .basketinfo_sleva, #topline .top-bar .basketinfo_typcen_M, #topline .top-bar .basketinfo_typcen_V, #topline .top-bar .basketinfo_typcen_D {grid-column:3; justify-self:end; width:158px; font-size:12px; line-height:23px; padding-left:23px; background-size:17px auto;}
}
@media (max-width:389px) {
  #topline .top-line .container, #topline .top-bar .container {padding:0 10px;}
  #topline .top-line .top-semafor-text {font-size:12px;}
  #topline .top-bar .logo {width:102px; height:38px;}
  #topline .top-bar .trikola {width:68px; height:55px;}
  #topline .top-bar .tradice {padding-left:58px; background-size:52px auto;}
  #topline .top-bar .tradice .roky {font-size:14px;}
  #topline .top-bar .tradice .trzk {font-size:10px;}
  #topline .top-bar .kosik {grid-template-columns:36px auto 1fr;}
  #topline .top-bar .kosik:before {width:36px; height:38px; background-size:36px;}
  #topline .top-bar .kosik_hodnoty {width:130px; padding-left:6px; font-size:12px;}
  #topline .top-bar #basketinfo_ks, #topline .top-bar #basketinfo_cena {font-size:13px; letter-spacing:-.1px;}
  #topline .top-bar .basketinfo_sleva, #topline .top-bar .basketinfo_typcen_M, #topline .top-bar .basketinfo_typcen_V, #topline .top-bar .basketinfo_typcen_D {width:144px; font-size:11.5px; padding-left:20px; background-size:15px auto;}
}
@media (max-width:345px) {
  #topline .top-line .container, #topline .top-bar .container {padding:0 6px;}
  #topline .top-user-blok > .pull-left {margin-left:-5px;}
  #topline .top-line .top-ucet {width:28px;}
  #topline .top-line .lang_ico {width:24px; height:24px; line-height:24px; font-size:10px;}
  #topline .top-bar .kosik {grid-template-columns:30px auto 1fr;}
  #topline .top-bar .kosik:before {width:30px; height:30px; background-size:30px;}
  #topline .top-bar .kosik_hodnoty {width:114px; padding-left:5px; font-size:11px;}
  #topline .top-bar #basketinfo_ks, #topline .top-bar #basketinfo_cena {font-size:12px;}
  #topline .top-bar .basketinfo_sleva, #topline .top-bar .basketinfo_typcen_M, #topline .top-bar .basketinfo_typcen_V, #topline .top-bar .basketinfo_typcen_D {width:136px; font-size:10.5px; padding-left:18px; background-size:14px auto;}
}
