/* Topmarkt header v6 — visible mobile utilities and right-aligned support contact. */
body.tm-header-v1 .tm-header-logo { position:relative!important; overflow:visible!important; }
body.tm-header-v1 .tm-header-registered {
  position:absolute; right:-9px; top:5px; color:#06465d; font:600 12px/1 Arial,sans-serif;
  pointer-events:none;
}

body.tm-header-v1 .tm-header-contact-slot { display:none; }
body.tm-header-v1 #header .search :is(input,button):focus-visible,
body.tm-header-v1 :is(#header,.top-navigation-bar) a:focus-visible,
body.tm-header-v1 :is(#header,.top-navigation-bar) button:focus-visible {
  outline:3px solid #06465d!important; outline-offset:3px;
}
@media (min-width:768px) {
  body.tm-header-v1 .top-navigation-bar { background:#edf7fc!important; border-bottom:1px solid #dfedf4; }
  body.tm-header-v1 .top-navigation-bar > .container { min-height:32px; gap:16px; }
  body.tm-header-v1 .tm-header-contact-slot { display:flex; align-items:center; flex:0 0 auto; }
  body.tm-header-v1 .tm-header-contact-slot .top-navigation-contacts {
    display:flex!important; visibility:visible!important; align-items:center; gap:8px;
    width:auto!important; margin:0!important; padding:0!important; font-size:12px; color:#496779;
  }
  body.tm-header-v1 .tm-header-contact-slot .top-navigation-contacts strong { font-weight:400; white-space:nowrap; }
  body.tm-header-v1 .tm-header-contact-slot .project-phone { color:#06465d!important; font-size:13px; font-weight:700; white-space:nowrap; text-decoration:none; }
  body.tm-header-v1 .tm-header-contact-slot :is(.project-email,.contact-photo) { display:none!important; }
  body.tm-header-v1 .tm-header-contact-slot .project-phone::before,
  body.tm-header-v1 .tm-header-contact-slot .project-phone::after { display:none!important; }
  body.tm-header-v1 .top-navigation-bar .tm-header-empty-message { display:none!important; }
  body.tm-header-v1 .top-navigation-bar .nav-part { flex:1 1 auto; width:auto; min-width:0; margin:0; }
  body.tm-header-v1 .top-navigation-bar .nav-part .top-navigation-menu { min-width:0; }
  body.tm-header-v1 .top-navigation-bar .nav-part .top-navigation-bar-menu *,
  body.tm-header-v1 .top-navigation-bar .nav-part .top-navigation-bar-menu-helper *,
  body.tm-header-v1 .top-navigation-bar .nav-part .top-navigation-menu-trigger::before { color:#24546b!important; }
  body.tm-header-v1 .top-navigation-bar .nav-part .top-navigation-menu>ul li a { letter-spacing:0; font-size:12px; }
  body.tm-header-v1 #header { background:#fff; }
  body.tm-header-v1 #header::before { display:none; }
  /* Keep the original 73px main row: the theme hides precisely this height on scroll. */
  body.tm-header-v1 #header .header-top { display:flex; align-items:center; gap:20px; height:73px; }
  body.tm-header-v1 #header .site-name-wrapper { order:10; flex:0 0 208px; width:208px; padding:0; }
  body.tm-header-v1 #header .site-name { width:208px; height:68px; }
  body.tm-header-v1 #header .site-name a { width:180px; height:68px; padding:0; }
  body.tm-header-v1 #header .site-name img { max-width:180px; max-height:68px; width:auto; height:auto; }
  body.tm-header-v1 #header .search { order:20; flex:1 1 auto; min-width:180px; width:auto!important; margin:0 12px 0 18px!important; }
  body.tm-header-v1 #header .search .search-form { width:100%; }
  body.tm-header-v1 #header .search fieldset { display:flex; align-items:center; background:#f0f7fb; border:1px solid #d6e7f0; border-radius:28px; padding:4px; }
  body.tm-header-v1 #header .search fieldset input {
    flex:1 1 0; min-width:0; max-width:none; width:100%; height:40px; line-height:40px;
    border:0; border-radius:24px; background-color:transparent; color:#183f53; font-size:16px;
    padding:0 12px 0 43px; background-image:url(https://cdn.myshoptet.com/usr/shoptet.tomashlad.eu/user/documents/extras/adamin/img/search.svg); background-position:13px center; background-size:21px;
  }
  body.tm-header-v1 #header .search fieldset input::placeholder { color:#647d8b; opacity:1; }
  body.tm-header-v1 #header .search fieldset button { flex:0 0 110px; width:110px; min-width:0; height:40px; line-height:40px; border:0; border-radius:22px; margin:0; font-size:16px; letter-spacing:0; color:#fff; background:#209ee6; }
  body.tm-header-v1 #header .search fieldset button:hover { background:#087fbd; }
  body.tm-header-v1 #header .header-top > .benefitbadge { order:30; flex:0 0 44px; height:44px; width:44px; margin:0; padding:7px; background:#f2f8ee; border-radius:50%; line-height:30px; }
  body.tm-header-v1 #header .header-top :is(.top-nav-button-account,.top-nav-button-login) { order:40; flex:0 0 auto; display:flex; align-items:center; height:46px; padding:0 0 0 52px; margin:0; white-space:nowrap; font-size:14px; color:#16485e; }
  body.tm-header-v1 #header .header-top :is(.top-nav-button-account,.top-nav-button-login)::before { top:1px!important; width:44px; height:44px; background-color:#f0f7fb; }
  body.tm-header-v1 #header .header-top .oblibeneBtn { order:35; margin:0; }
  body.tm-header-v1 #header .navigation-buttons { order:50; flex:0 0 auto; margin:0; }
  body.tm-header-v1 #header .navigation-buttons .cart-count { min-height:48px; padding:7px 16px 7px 58px; border:1px solid #d6e7f0; border-radius:25px; background:#e9f5fc; justify-content:center; color:#16485e!important; }
  body.tm-header-v1 #header .navigation-buttons .cart-count::before { left:5px; top:5px; width:36px; height:36px; background-size:21px; }
  body.tm-header-v1 #header .navigation-buttons .cart-count i { left:29px; top:-4px; background:#06465d; }
  body.tm-header-v1 #header .navigation-buttons .cart-count .cart-price { color:#0079b1!important; }
  body.tm-header-v1 #header #navigation { border-radius:16px; background:#209ee6; }
  /* Do not clip this container: category dropdowns must extend below the bar. */
  body.tm-header-v1 #header #navigation ul.menu-level-1>li>a { line-height:42px; padding-left:24px; padding-right:24px; }
  body.tm-header-v1 #header #navigation ul.menu-level-1>li:first-child>a { border-radius:16px 0 0 16px; }
  body.tm-header-v1 #header #navigation ul.menu-level-1>li>a[href="/nove-produkty/"] { background:transparent; }
  body.tm-header-v1 #header #navigation ul.menu-level-1>li>a:is([href="/akce-tydne/"],[href="/mega-akce/"]) { background:#009b00; }
  body.tm-header-v1 #header #navigation .menu-helper { border-radius:0 16px 16px 0; }
  body.tm-header-v1 #header #navigation ul.menu-level-1>li.exp>ul { border-radius:0 0 18px 18px; }
}
@media (min-width:768px) and (max-width:1199px) {
  body.tm-header-v1 #header .header-top { gap:12px; }
  body.tm-header-v1 #header .site-name-wrapper { flex-basis:170px; width:170px; }
  body.tm-header-v1 #header .site-name { width:170px; }
  body.tm-header-v1 #header .site-name a { width:150px; }
  body.tm-header-v1 #header .site-name img { max-width:150px; }
  body.tm-header-v1 #header .search { margin:0 4px 0 8px!important; }
  body.tm-header-v1 #header .search fieldset button { flex-basis:80px; width:80px; }
  body.tm-header-v1 #header .header-top :is(.top-nav-button-account,.top-nav-button-login) { width:44px; padding:0; }
  body.tm-header-v1 #header .header-top :is(.top-nav-button-account,.top-nav-button-login) span { display:none; }
}
@media (min-width:768px) and (max-width:991px) {
  body.tm-header-v1 #header .header-top { gap:10px; }
  body.tm-header-v1 #header .header-top > .benefitbadge { display:none; }
  body.tm-header-v1 #header .navigation-buttons .cart-count { width:48px; padding:0; }
  body.tm-header-v1 #header .navigation-buttons .cart-count :is(.sr-only,.cart-price) { display:none; }
  body.tm-header-v1 .tm-header-contact-slot strong { display:none; }
}
@media (max-width:767px) {
  /* Keep the theme's mobile drawer, search toggle and fixed bars. */
  body.tm-header-v1 .top-navigation-bar { background:#fff!important; }
  body.tm-header-v1 .top-navigation-bar .site-name a { position:relative; }
  body.tm-header-v1 .tm-header-registered { top:1px; right:-8px; font-size:10px; }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a[data-target=login],
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a[data-target=search] { background:#e9f5fc; }
  body.tm-header-v1 #header .navigation-buttons .cart-count { border-radius:19px; }
  body.tm-header-v1 #header .search form { border-radius:22px; }
  body.tm-header-v1 #header .search fieldset input { border-radius:22px 0 0 22px; color:#16485e; }
  body.tm-header-v1 #header .search fieldset button { border-radius:0 22px 22px 0; }
  body.tm-header-v1 #header #responsive-phone-link::after { content:"Po–Pá"!important; }
}

/* Stronger visual hierarchy; geometry stays compatible with the sticky header. */
@media (min-width:768px) {
  body.tm-header-v1 .top-navigation-bar { background:#c9e1f0!important; border-bottom-color:#bfd9e9; }
  body.tm-header-v1 #header { background:#dcecf7!important; }
  body.tm-header-v1 #header .header-top { background:#dcecf7; }
  body.tm-header-v1 #header .site-name img { mix-blend-mode:multiply; }
  body.tm-header-v1 #header .search fieldset {
    background:#fff; border-color:#a8cce2;
    box-shadow:0 3px 12px rgba(7,70,93,.08);
  }
  body.tm-header-v1 #header .search fieldset:focus-within { border-color:#0878ad; box-shadow:0 0 0 3px rgba(8,120,173,.12); }
  body.tm-header-v1 #header .search fieldset button { background:#0878ad; box-shadow:0 2px 5px rgba(6,70,93,.12); }
  body.tm-header-v1 #header .search fieldset button:hover { background:#00628f; }
  body.tm-header-v1 #header .header-top :is(.top-nav-button-account,.top-nav-button-login)::before {
    background-color:#fff; box-shadow:inset 0 0 0 1px #b7d6e8;
  }
  body.tm-header-v1 #header .header-top > .benefitbadge { background:#fff; box-shadow:inset 0 0 0 1px #c9dfb9; }
  body.tm-header-v1 #header .navigation-buttons .cart-count {
    background:#06465d; border-color:#06465d; color:#fff!important;
    box-shadow:0 3px 10px rgba(6,70,93,.14);
  }
  body.tm-header-v1 #header .navigation-buttons .cart-count:hover { background:#07394c; border-color:#07394c; }
  body.tm-header-v1 #header .navigation-buttons .cart-count::before { background-color:#126981; }
  body.tm-header-v1 #header .navigation-buttons .cart-count :is(.cart-price,.sr-only) { color:#fff!important; }
  body.tm-header-v1 #header .navigation-buttons .cart-count i { background:#007a16; box-shadow:0 0 0 2px #dcecf7; }
  body.tm-header-v1 #header #navigation { background:#0878ad; box-shadow:0 4px 12px rgba(6,70,93,.10); }
  body.tm-header-v1 #header #navigation .menu-helper { background-color:#0878ad; }
  body.tm-header-v1 #header #navigation ul.menu-level-1>li>a:is([href="/akce-tydne/"],[href="/mega-akce/"]) { background:#008200; }
}
@media (max-width:767px) {
  body.tm-header-v1 .top-navigation-bar { background:#dcecf7!important; border-bottom-color:#bfd9e9; }
  body.tm-header-v1 .top-navigation-bar .site-name img { mix-blend-mode:multiply; }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a:is([data-target=login],[data-target=search]),
  body.tm-header-v1 .top-navigation-bar .benefitbadge { background-color:#fff; box-shadow:inset 0 0 0 1px #b7d6e8; }
  body.tm-header-v1 #header { background:#0878ad!important; }
  body.tm-header-v1 #header .navigation-buttons .cart-count { background:#06465d; }
}

/* One aligned shell; paint its own backgrounds instead of clipping dropdowns. */
body.tm-header-v1 { --tm-header-surface:#e2eff8; }
body.tm-header-v1 :is(#header,.top-navigation-bar) .site-name,
body.tm-header-v1 :is(#header,.top-navigation-bar) .site-name a {
  background:var(--tm-header-surface)!important;
}
body.tm-header-v1 :is(#header,.top-navigation-bar) .site-name a {
  isolation:isolate; border:0!important; box-shadow:none!important;
}
body.tm-header-v1 :is(#header,.top-navigation-bar) .site-name img {
  background:transparent!important; mix-blend-mode:multiply!important;
  border:0!important; box-shadow:none!important;
}
body.tm-header-v1 .tm-header-topline { box-sizing:border-box; width:100%; min-width:0; display:flex; align-items:center; gap:16px; }
body.tm-header-v1 .top-navigation-bar>.container { gap:0; }
body.tm-header-v1 .top-navigation-bar>.container::before,
body.tm-header-v1 .top-navigation-bar>.container::after { display:none; }
body.tm-header-v1 .tm-header-contact-slot { order:0; }
body.tm-header-v1 .tm-header-topline>.msg-part { order:1; }
body.tm-header-v1 .tm-header-topline>.nav-part { order:2; }
@media (min-width:768px) {
  body.tm-header-v1 .top-navigation-bar { background:transparent!important; border-bottom:0; }
  body.tm-header-v1 .top-navigation-bar>.container { min-height:32px; }
  body.tm-header-v1 .tm-header-topline {
    height:32px; padding:0 20px; background:var(--tm-header-surface);
    border-radius:24px 24px 0 0; box-shadow:inset 0 -1px 0 rgba(6,70,93,.07);
  }
  body.tm-header-v1 #header,body.tm-header-v1 #header.fixed-menu { background:transparent!important; box-shadow:none; }
  body.tm-header-v1 #header .header-top {
    box-sizing:border-box; padding:0 20px; background:var(--tm-header-surface);
  }
  body.tm-header-v1 #header #navigation { border-radius:0 0 24px 24px; box-shadow:0 5px 12px rgba(6,70,93,.09); }
  body.tm-header-v1 #header #navigation ul.menu-level-1>li:first-child>a { border-radius:0 0 0 24px; }
  body.tm-header-v1 #header #navigation .menu-helper { border-radius:0 0 24px 0; }
  body.tm-header-v1 #header .navigation-buttons .cart-count i { box-shadow:0 0 0 2px var(--tm-header-surface); }
  body.tm-header-v1 #header.fixed-menu #navigation { border-radius:18px; }
  body.tm-header-v1 #header.fixed-menu #navigation ul.menu-level-1>li:first-child>a { border-radius:18px 0 0 18px; }
  body.tm-header-v1 #header.fixed-menu #navigation .menu-helper { border-radius:0 18px 18px 0; }
}
@media (min-width:768px) and (max-width:991px) {
  body.tm-header-v1 .tm-header-topline,body.tm-header-v1 #header .header-top { padding-left:14px; padding-right:14px; }
}
@media (max-width:767px) {
  body.tm-header-v1 .top-navigation-bar { background:transparent!important; border-bottom:0; }
  body.tm-header-v1 .top-navigation-bar>.container { max-height:none; }
  body.tm-header-v1 .tm-header-topline { height:50px; padding:0 10px; gap:0; background:var(--tm-header-surface); border-radius:18px 18px 0 0; }
  body.tm-header-v1 .tm-header-topline>.nav-part { flex:1 1 auto; min-width:0; }
  body.tm-header-v1 #header { background:transparent!important; box-shadow:none; }
  body.tm-header-v1 #header .header-top { box-sizing:border-box; background:#0878ad; border-radius:0 0 18px 18px; padding-left:10px; padding-right:10px; }
  body.tm-header-v1.headerScrolled #header .header-top { border-radius:18px; }
}

/* Mobile/tablet layout fix. Desktop visual rules stay unchanged. */
@media (max-width:767px) {
  /* This empty 55%-wide legacy column caused the horizontal overflow. */
  body.tm-header-v1 .tm-header-topline>.msg-part.tm-header-empty-message { display:none!important; }
  body.tm-header-v1 .tm-header-topline>.msg-part:not(.tm-header-empty-message) { width:0; flex:0 0 0; }
  body.tm-header-v1 .tm-header-topline { padding-left:12px; padding-right:12px; }
  body.tm-header-v1 .top-navigation-bar>.container,
  body.tm-header-v1 .top-navigation-bar .tm-header-topline,
  body.tm-header-v1 .top-navigation-bar .nav-part,
  body.tm-header-v1 .top-navigation-bar .top-navigation-tools,
  body.tm-header-v1 .top-navigation-bar .responsive-tools { position:static!important; }
  body.tm-header-v1 .top-navigation-bar .tm-header-topline>.nav-part {
    display:flex; flex:1 1 auto; flex-wrap:nowrap; align-items:center; justify-content:space-between;
    width:100%; min-width:0; margin:0; gap:12px;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part>.site-name {
    flex:0 1 auto; width:auto!important; min-width:0; max-width:calc(100% - 108px);
    height:50px; margin:0!important; padding:0; justify-content:flex-start;
  }
  body.tm-header-v1 .top-navigation-bar .site-name a { display:block; width:120px; max-width:100%; height:auto; padding:0; margin:0; }
  body.tm-header-v1 .top-navigation-bar .site-name img { display:block; width:120px; max-width:100%; height:auto; max-height:none; margin:0; }
  body.tm-header-v1 .top-navigation-bar .tm-header-registered { right:-8px; top:0; font-size:9px; }
  body.tm-header-v1 .top-navigation-bar .nav-part>.top-navigation-tools {
    display:flex; flex:0 0 auto; flex-direction:row; align-items:center; width:auto; min-width:0; margin:0; padding:0;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools {
    display:flex; flex:0 0 auto; flex-direction:row-reverse; align-items:center; width:auto; gap:8px; margin:0; padding:0;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a:is([data-target="search"],[data-target="login"]) {
    display:flex; align-items:center; justify-content:center; flex:0 0 44px;
    width:44px; min-width:44px; height:44px; margin:0!important; padding:0;
    position:relative; top:0; left:auto; border-radius:50%; background:#fff;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a:is([data-target="search"],[data-target="login"])::before {
    width:44px; height:44px!important; line-height:44px; top:0; left:0; margin:0; background-position:center;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a[data-target="search"]::after { display:none; }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a[data-target="navigation"] {
    left:var(--tm-header-menu-left,28px)!important; top:53px;
    width:44px; height:44px; padding:0; margin:0;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a[data-target="navigation"]::before {
    width:44px; height:44px!important; background-size:28px; background-position:center;
  }
  body.tm-header-v1 #header .header-top { justify-content:flex-end; }
  body.tm-header-v1 #header .navigation-buttons { max-width:calc(100% - 60px); min-width:0; margin-left:auto; }
  body.tm-header-v1 #header .navigation-buttons .cart-count { min-width:0; max-width:100%; }
  body.tm-header-v1 #header .navigation-buttons .cart-count .cart-price { white-space:nowrap; }
}

/* Actual contact text, independent of screen.width and preview device. */
body.tm-header-v1 #header #responsive-phone-link.tm-header-support { display:none; }
body.tm-header-v1 #header #responsive-phone-link.tm-header-support::after { content:none!important; display:none!important; }
body.tm-header-v1 .tm-header-contact-hours { font-size:12px; color:#496779; white-space:nowrap; }
@media (max-width:767px) {
  body.tm-header-v1 #header .header-top {
    display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:6px;
    align-items:center; padding-left:10px; padding-right:10px;
  }
  body.tm-header-v1 #header .header-top>.site-name-wrapper { display:none; }
  body.tm-header-v1 #header #responsive-phone-link.tm-header-support {
    grid-column:2; grid-row:1; display:flex!important; flex-direction:column; justify-content:center;
    align-items:center; position:static!important; width:auto; min-width:0; max-width:none;
    height:44px; margin:0; padding:0; text-decoration:none; color:#fff!important;
  }
  body.tm-header-v1 #header .tm-header-support-number { font-size:14px; font-weight:700; line-height:19px; white-space:nowrap; }
  body.tm-header-v1 #header .tm-header-support-hours { font-size:11px; font-weight:400; line-height:16px; white-space:nowrap; }
  body.tm-header-v1 #header .navigation-buttons { grid-column:3; grid-row:1; width:auto; max-width:none; margin:0; }
  body.tm-header-v1 #header .navigation-buttons .cart-count {
    box-sizing:border-box; height:40px; min-height:40px; min-width:78px;
    padding:0 10px 0 34px; display:flex; align-items:center; justify-content:center; border-radius:22px;
  }
  body.tm-header-v1 #header .navigation-buttons .cart-count::before { left:3px; top:3px; width:30px; height:34px; background-size:22px; }
  body.tm-header-v1 #header .navigation-buttons .cart-count .cart-price {
    font-size:14px; margin-left:0; max-width:80px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
}

/* Native currency/loyalty controls remain visible; support sits beside cart. */
@media (max-width:767px) {
  body.tm-header-v1 .top-navigation-bar .tm-header-topline>.nav-part { gap:8px; }
  body.tm-header-v1 .top-navigation-bar .nav-part>.site-name {
    flex:0 1 120px; width:120px!important; max-width:calc(100% - 172px);
  }
  body.tm-header-v1 .top-navigation-bar .site-name a,
  body.tm-header-v1 .top-navigation-bar .site-name img { width:100%; max-width:120px; }
  body.tm-header-v1 .top-navigation-bar .nav-part>.top-navigation-tools {
    flex-direction:row-reverse; flex-wrap:nowrap; gap:4px;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools { flex-wrap:nowrap; gap:4px; }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a:is([data-target="search"],[data-target="login"]) {
    flex:0 0 36px; width:36px; min-width:36px; height:36px;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a:is([data-target="search"],[data-target="login"])::before {
    width:36px; height:36px!important; line-height:36px;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .top-navigation-tools>.benefitbadge {
    box-sizing:border-box; display:flex; flex:0 0 36px; align-items:center; justify-content:center;
    width:36px; height:36px; padding:5px; margin:0; border-radius:50%; background:#fff;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .top-navigation-tools>.benefitbadge img {
    display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .top-navigation-tools>[data-testid="topnavCurrencyDropdown"] {
    box-sizing:border-box; display:flex; flex:0 0 44px; align-items:center;
    position:relative; width:44px; min-width:44px; height:36px; padding:0; margin:0;
  }
  body.tm-header-v1 .top-navigation-bar [data-testid="topnavCurrencyDropdown"]>span { display:none; }
  body.tm-header-v1 .top-navigation-bar [data-testid="topnavCurrencyDropdown"]>button {
    display:block; box-sizing:border-box; width:100%; height:36px; min-height:36px;
    padding:0 12px 0 0; margin:0; font-size:12px; line-height:36px; letter-spacing:0;
    border:0; border-radius:18px; background:transparent; color:#16485e;
  }
  body.tm-header-v1 .top-navigation-bar [data-testid="topnavCurrencyDropdown"]>button::before {
    top:50%; right:2px; transform:translateY(-50%); line-height:1;
  }
  body.tm-header-v1 .top-navigation-bar [data-testid="topnavCurrencyDropdown"]>.dropdown-menu {
    left:auto; right:0; min-width:88px; margin-top:2px; border-radius:12px;
  }
  body.tm-header-v1 .top-navigation-bar [data-testid="topnavCurrencyDropdown"]>.dropdown-menu a {
    min-height:44px; padding:12px 18px; color:#16485e; line-height:20px;
  }
  body.tm-header-v1 .top-navigation-bar .top-navigation-tools :is(a,button):focus-visible {
    outline:2px solid #06465d; outline-offset:2px;
  }
  body.tm-header-v1 #header #responsive-phone-link.tm-header-support {
    justify-self:end; align-items:flex-end; text-align:right; margin-right:6px;
  }
}
@media (min-width:480px) and (max-width:767px) {
  body.tm-header-v1 .top-navigation-bar .nav-part>.site-name { max-width:calc(100% - 196px); }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a:is([data-target="search"],[data-target="login"]) {
    flex-basis:44px; width:44px; min-width:44px; height:44px;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .responsive-tools a:is([data-target="search"],[data-target="login"])::before {
    width:44px; height:44px!important; line-height:44px;
  }
  body.tm-header-v1 .top-navigation-bar .nav-part .top-navigation-tools>.benefitbadge { flex-basis:44px; width:44px; height:44px; padding:7px; }
  body.tm-header-v1 .top-navigation-bar .nav-part .top-navigation-tools>[data-testid="topnavCurrencyDropdown"],
  body.tm-header-v1 .top-navigation-bar [data-testid="topnavCurrencyDropdown"]>button { height:44px; min-height:44px; line-height:44px; }
}

/* The mobile theme sets headerScrolled once the upper contact row scrolls away. */
@media (max-width: 767px) {
  body.tm-header-v1.headerScrolled:not(.ordering-process) #header .header-top {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    column-gap: 6px;
  }
  body.tm-header-v1.headerScrolled:not(.ordering-process) #header #responsive-phone-link.tm-header-support {
    display: none !important;
  }
  body.tm-header-v1.headerScrolled:not(.ordering-process) #header .header-top > .search {
    position: relative !important;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    overflow: visible !important;
    z-index: 1;
    transition: none;
  }
  body.tm-header-v1.headerScrolled:not(.ordering-process) #header .search tm-search-launcher {
    display: block;
    width: 100%;
    min-width: 0;
    height: 40px !important;
    font-size: 16px;
  }
  body.tm-header-v1.headerScrolled:not(.ordering-process) #header .search .search-form {
    margin: 0;
    width: 100%;
  }
  body.tm-header-v1.headerScrolled:not(.ordering-process) #header .search .search-form fieldset input {
    flex: 1 1 0;
    min-width: 0;
    font-size: 16px;
  }
  body.tm-header-v1.headerScrolled:not(.ordering-process) #header .search .search-form fieldset button {
    width: auto;
    min-width: 0;
    padding: 0 10px;
    line-height: 40px;
  }
}
@media (max-width: 479px) {
  body.tm-header-v1.headerScrolled:not(.ordering-process) #header .navigation-buttons .cart-count {
    width: 44px;
    min-width: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  body.tm-header-v1.headerScrolled:not(.ordering-process) #header .navigation-buttons .cart-count::before {
    left: 7px;
  }
  body.tm-header-v1.headerScrolled:not(.ordering-process) #header .cart-count .cart-price {
    display: none;
  }
}
