/*!
 * AntiShoptet v1 (safe skin)
 * - Cíl: změnit vizuál, ale NEROZBÍT layout / JS
 * - Neobsahuje žádné globální resetování (žádné *{box-sizing} apod.)
 * - Přepišuje hlavně CSS proměnné + “skin” prvky (pozadí, rámečky, radius, stíny, typografie)
 */

/* =========================
   1) Theme tokens (proměnné)
   ========================= */

/* =========================
   Minimal / Apple-like tokens
   ========================= */
:root{
  --color-primary: #111111;
  --color-primary-hover: #000000;
  --colors-focus-primary: #111111;
  --colors-focus-secondary: rgba(0,0,0,0.14);

  /* --- Buttons (keep CTA monochrome) --- */
  --color-secondary: #111111;            /* CTA = black */
  --color-secondary-hover: #000000;

  --color-tertiary: #f3f4f6;             /* neutral button surface */
  --color-tertiary-hover: #e5e7eb;

  /* --- Surfaces --- */
  --colors-surface-primary: #ffffff;     /* page */
  --colors-surface-white: #ffffff;
  --colors-surface-secondary: #f6f7f8;   /* subtle section bg */
  --colors-surface-tertiary: #eef0f2;    /* cards/stripes */

  /* --- Text --- */
  --colors-foregrounds-headlines-primary: #0b0b0c; /* near-black */
  --colors-foregrounds-content-primary:   #111111;
  --colors-foregrounds-content-secondary: #3a3a3c; /* iOS-like gray */
  --colors-foregrounds-content-tertiary:  #6e6e73; /* subtle metadata */

  /* --- Borders --- */
  --colors-foregrounds-borders-primary:   #d2d2d7;
  --colors-foregrounds-borders-secondary: #e5e5ea;

  /* --- Forms --- */
  --colors-forms-background: #ffffff;
  --colors-forms-border: #d2d2d7;
  --colors-forms-activated: var(--color-primary);
  --colors-forms-disabled: #f2f2f7;

  /* --- Focus (match accent) --- */
  --colors-focus-primary: var(--color-primary);
  --colors-focus-secondary: rgba(10,132,255,0.18);

  /* --- Component sizing (fine) --- */
  --form-controls-border-radius: 14px;
  --buttons-padding-y: 10px;
  --buttons-padding-x: 16px;
  --buttons-font-size: 14px;
}


/* =========================
   2) Page background + typografie
   ========================= */

body{
  background-color: var(--colors-surface-secondary);
  color: var(--colors-foregrounds-content-secondary);
}

/* content wrapper necháme “průhledný”, ať vyleze nové pozadí */
.content-wrapper{
  background-color: transparent; /* původně var(--colors-surface-primary) */
}

/* Trochu “app-like” pocit */
.overall-wrapper{
  background: transparent;
}



/* =========================
   4) Cards / boxy / sidebar
   ========================= */

.sidebar{
  background-color: transparent; /* původně secondary */
}

.sidebar-inner > div,
.homepage-box,
.box{
  border-radius: 18px;
}

.sidebar-inner > div,
.homepage-box{
  background: var(--colors-surface-primary);
  border: 1px solid var(--colors-foregrounds-borders-secondary);
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

/* Nadpisy boxů */
.box h4,
.homepage-group-title{
  letter-spacing: .2px;
  color: var(--colors-foregrounds-headlines-primary);
}

/* Kategorie – držíme logiku, jen vzhled */
#categories .categories a{
  border-radius: 12px;
}
.categories li.active > a,
.categories li.active > a:hover{
  background-color: var(--colors-surface-secondary) !important;
  color: var(--colors-foregrounds-content-primary) !important;
}

/* =========================
   Kategorie – ACTIVE state (fix)
   ========================= */

/* základ odkazu v levém stromu */
#categories a{
  display: block;                 /* aby šel vykreslit celý “pill” */
  padding: 6px 10px;              /* vizuálně čitelnější */
  border-radius: 999px;           /* Apple pill */
  text-decoration: none;
}

/* aktivní konkrétní položka */
#categories li.active > a{
  background: #111 !important;
  color: #fff !important;
  font-weight: 800;
}

/* aktivní rodič (když je aktivní dítě) */
#categories .topic.child-active > a{
  background: #111 !important;
  color: #fff !important;
  font-weight: 800;
}

/* hover na neaktivních */
#categories li:not(.active) > a:hover,
#categories .topic:not(.child-active) > a:hover{
  background: rgba(0,0,0,.06) !important;
  color: var(--colors-foregrounds-content-primary) !important;
}

/* ať visited neodbarví active */
/* aktivní konkrétní položka = PILL */
#categories li.active > a{
  background: #111 !important;
  color: #fff !important;
  font-weight: 800;
}

/* rodič (když je aktivní dítě) = jen zvýraznit jemně, NE pill */
#categories .topic.child-active > a{
  background: transparent !important;     /* žádný černý pill */
  color: #111 !important;
  font-weight: 800;
}

/* =========================
   5) Produkty (karty)
   ========================= */

/* V HTML máš: <div class="product"><div class="p"> ... */
.products .product .p{
  background: var(--colors-surface-primary);
  border: 1px solid var(--colors-foregrounds-borders-secondary);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(15,23,42,0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}

.products .product .p:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(15,23,42,0.12);
}

.products .product .p .p-in{
  padding: 14px 16px;
}

.products .p .name{
  color: var(--colors-foregrounds-content-primary) !important;
  font-weight: 650;
  line-height: 1.25;
}

.products .p .name:hover{
  color: var(--color-primary-hover) !important;
}

.price-final strong{
  color: var(--colors-foregrounds-content-primary);
}

/* “flags” jako štítky */
.flags .flag{
  border-radius: 999px;
  padding: 4px 10px;
}

/* =========================
   6) Buttons + inputs
   ========================= */

.btn,
a.btn{
  border-radius: 999px !important;
  font-weight: 650;
  letter-spacing: .2px;
}

/* konverzní / do košíku */
.btn.btn-cart,
a.btn.btn-cart,
.btn.btn-conversion,
a.btn.btn-conversion{
  box-shadow: 0 10px 26px rgba(22,163,74,0.18);
}

/* default tlačítko (search) */
.btn.btn-default,
a.btn.btn-default{
  background-color: var(--colors-surface-white) !important;
  border-color: var(--colors-foregrounds-borders-secondary) !important;
  color: var(--colors-foregrounds-content-primary) !important;
}
.btn.btn-default:hover,
a.btn.btn-default:hover{
  background-color: var(--colors-surface-secondary) !important;
}

:where(.ums_forms_redesign--off) .form-control,
:where(.ums_forms_redesign--off) select{
  border-radius: 14px;
  border-color: var(--colors-forms-border);
}

/* =========================
   7) Carousel / bannery
   ========================= */

#carousel{
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(15,23,42,0.12);
}

.banner-wrapper a img,
#carousel img{
  border-radius: 18px;
}

/* =========================
   8) Footer
   ========================= */

#footer > .container{
  background: transparent;
}

#footer{
  border-top: 1px solid var(--colors-foregrounds-borders-secondary);
  background: transparent;
}

.footer-bottom{
  background: transparent;
  border-top: 1px solid var(--colors-foregrounds-borders-secondary);
}

/* Volitelné: “Created by Shoptet” (POZOR: může být proti podmínkám Shoptetu).
   Pokud to nechceš řešit právně/ToS, tuhle část smaž.
#signature{ display:none !important; }
*/

/* MOBIL: nikdy neschovávat top bar */
@media (max-width: 767px){
  .top-navigation-bar{ display:block !important; }
}

/* DESKTOP: pokud ji fakt nechceš */
@media (min-width: 768px){
  .top-navigation-bar{ display:none !important; }
}


a:hover, a:focus, .btn:hover, .btn:focus, #navigation a:hover, #navigation a:focus{
  transform: none !important;
}

.box.box-bg-dark, .box.box-bg-default, .box.box-bg-variant {
    padding: 1.5em;
    margin-bottom: 0.75em;
    background-color: inherit;
}

.box-onlinePayments {
    padding-bottom: 0.5em !important;
}

/* Kontejner chipů */
.listSorting__controls{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 0;
}

/* Odstranění defaultního odsazení li */
.listSorting__controls > li{
  margin: 0;
  padding: 0;
}

/* Chip tlačítko */
.listSorting__control{
  appearance: none;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  color: #111;
  font: inherit;
  line-height: 1;
  padding: .55rem .9rem;
  border-radius: 9999px; /* pill/chip */
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .05s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  white-space: nowrap;
}

/* Hover / focus */
.listSorting__control:hover{
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.25);
}

.listSorting__control:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,120,255,.25), 0 1px 2px rgba(0,0,0,.06);
  border-color: rgba(0,120,255,.55);
}

/* Aktivní (aktuálně zvolené) */
.listSorting__control--current,
.listSorting__control[aria-disabled="true"]{
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  cursor: default;
}

/* Jemný "click" efekt u neaktivních */
.listSorting__control:not([aria-disabled="true"]):active{
  transform: translateY(1px);
}

/* Disabled obecně (kdyby se použilo) */
.listSorting__control:disabled{
  opacity: .6;
  cursor: not-allowed;
}

:root{
  --template-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  --template-headings-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* základ */
body,
button,
input,
select,
textarea{
  font-family: var(--template-font) !important;
  font-optical-sizing: auto;
}

/* nadpisy + typické “nadpisové” prvky */
h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6{
  font-family: var(--template-headings-font) !important;
}



.products-top-wrapper{
  display: none !important;
}

.sidebar .categories {
    margin-left: 0px;
    margin-right: 0px;
};

.breadcrumbs, .breadcrumbs a {
    color: var(--colors-foregrounds-content-tertiary)!important;
    border-radius: 3em!important;
    margin-top: 0.5em!important;
    background-color: #ffffffb0!important;
}

.box.box-sm.box-filters {
    padding: 19px 1em;
}

html body .breadcrumbs.navigation-home-icon-wrapper{
  display: flex !important;
  align-items: center !important;
  font-size: 13px !important;
  line-height: 1 !important;
  padding: -1.82rem -2.45rem !important;
  margin-top: 0.5rem !important;
  border-radius: 9999px !important;
  background-color: #ffffffb0 !important;
}

.subcategories.with-image li a {
    align-items: center;
    display: flex;
    padding-left: 7px;
    border-radius: 1em;
}

.products-block.products .p .name {
    display: block;
    font-size: 16px;
    height: 45px;
    margin-bottom: -1.5em;
    overflow: hidden;
}

.availability {
    margin-bottom: -0.5rem;
    margin-right: 0.7rem;
}



/* Desktop only (exclude phones + tablets) */
@media (min-width: 992px){

  /* ===== TOP MENU (LEVEL 1) — clean, no boxes, underline on hover ===== */

  /* Remove the black bar backgrounds coming from theme on these wrappers */
  html body #navigation,
  html body #navigation .navigation-in.menu,
  html body #navigation .menu-level-1,
  html body #navigation .menu-level-1 > li{
    background: transparent !important;
    background-color: transparent !important;
  }

  /* Kill separators/borders that create the “segmented blocks” look */
  html body #navigation .menu-level-1 > li,
  html body #navigation .menu-level-1 > li > a{
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Base look for level-1 items ONLY */
  html body #navigation .menu-level-1 > li > a[data-testid="headerMenuItem"]{
    background: transparent !important;
    color: var(--colors-foregrounds-content-primary, #111) !important;
    text-decoration: none !important;

    padding: .4rem .8rem !important;
    margin: 0 !important;

    font-weight: 500 !important;
    position: relative !important;
  }

  /* Don't let <b> enforce extra styling */
  html body #navigation .menu-level-1 > li > a > b{
    font-weight: inherit !important;
  }

  /* Underline using pseudo-element (looks “Apple-ish”, no layout jump) */
  html body #navigation .menu-level-1 > li > a[data-testid="headerMenuItem"]::after{
    content: "" !important;
    position: absolute !important;
    left: .8rem !important;
    right: .8rem !important;
    bottom: .1rem !important;
    height: 2px !important;
    background: currentColor !important;
    opacity: 0 !important;
    transform: translateY(2px) !important;
    transition: opacity .15s ease, transform .15s ease !important;
  }

  /* Hover underline only */
  html body #navigation .menu-level-1 > li > a[data-testid="headerMenuItem"]:hover::after{
    opacity: .55 !important;
    transform: translateY(0) !important;
  }

  /* Current page */
  html body #navigation .menu-level-1 > li > a.active[data-testid="headerMenuItem"]{
    font-weight: 700 !important;
  }
  html body #navigation .menu-level-1 > li > a.active[data-testid="headerMenuItem"]::after{
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* ===== SUBMENU (LEVEL 2) — ONLY round the container, nothing else ===== */
  html body #navigation .menu-level-2{
    border-radius: 16px !important;
    overflow: hidden !important;
  }

}

/* Hide carousel arrows on phones */
@media (max-width: 767px){
  #carousel .carousel-control{
    display: none !important;
  }
}

#header .site-name a img {
    display: block;
    margin: 0 auto;
    max-height: 60px;
    transform: scale(0.8);
}

/* ==========================
   Mobile CTA button under carousel
   ========================== */
@media (max-width: 767px){

  .mobile-category-cta{
    display: flex;
    justify-content: center;
    margin: 1.85rem 0 .25rem 0;
    padding: 0 .75rem;
  }

  .mobile-category-cta__btn{
    width: 80%;
    max-width: 520px;

    padding: .95rem 1.1rem;
    border-radius: 9999px;

    background: #111;
    color: #fff;

    border: 1px solid #111;
    box-shadow: 0 10px 26px rgba(0,0,0,.18);

    font-weight: 800;
    font-size: 15px;
    line-height: 1;

    cursor: pointer;
  }

  .mobile-category-cta__btn:active{
    transform: translateY(1px);
  }
}

.h4.homepage-group-title, h4.homepage-group-title {
    font-size: 26px;
    margin-top: 37px;
    text-align: center;
}

/* Desktop: CTA nikdy nezobrazuj */
@media (min-width: 768px){
  .mobile-category-cta{
    display: none !important;
  }
}

/* Extra box under Instagram */
.box-instagram-extra .instagram-extra__content{
  padding-top: .25rem;
}

.box-instagram-extra .instagram-extra__text{
  margin: 0 0 .75rem 0;
  color: var(--colors-foregrounds-content-secondary, #3a3a3c);
  line-height: 1.35;
}

.box-instagram-extra .instagram-extra__btn{
  width: 100%;
  border-radius: 9999px !important;
  margin-bottom: 1em;
}

.instagram-widget {
    display: flex
;
    flex-wrap: wrap;
    max-width: 300px;
    padding-top: -2em;
    margin-top: -1.25em;
}



/* hide by default (phones + tablets) */
/*.iphone-model-grid { display: none; }*/

/* show ONLY on desktop */
@media (min-width: 1024px){
  .iphone-model-grid{
    display: block;
    margin: 18px 0 10px 0;
    padding: 0;
  }

  .iphone-model-grid__head{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
  }

  .iphone-model-grid__title{
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    color: #111;
    letter-spacing: .2px;
  }

  .iphone-model-grid__sub{
    font-size: 13px;
    color: rgba(0,0,0,.65);
  }

  .iphone-model-grid__cards{
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  .iphone-model-grid__card{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding: 14px 14px;
    border-radius: 16px;

    background: #fff;
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);

    text-decoration: none;
    color: #111;

    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  }

  .iphone-model-grid__card:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15,23,42,0.10);
    border-color: rgba(0,0,0,.18);
  }

  .iphone-model-grid__kicker{
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    color: rgba(0,0,0,.45);
  }

  .iphone-model-grid__label{
    font-size: 16px;
    font-weight: 900;
    line-height: 1.1;
  }

  .iphone-model-grid__arrow{
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 18px;
    opacity: .55;
  }
}





/* Homepage (desktop): schovej levý panel, ale nech ho v DOM (kvůli generování gridu) */
body.desktop.in-index aside.sidebar.sidebar-left{
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Homepage: rozšiř obsah na plnou šířku */
body.desktop.in-index main#content.content{
  width: 100% !important;
}
body.desktop.in-index main#content.content.narrow{
  max-width: none !important;
}



/* =========================
   Mobile iPhone chips (direct, no CTA, no modal)
   ========================= */
@media (max-width: 767px){
  .irepas-iphone-chips{
    margin: 14px 0 10px 0;
    padding: 14px 14px 12px 14px;

    background: var(--colors-surface-primary, #fff);
    border: 1px solid var(--colors-foregrounds-borders-secondary, #e5e5ea);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
  }

  .irepas-iphone-chips__head{
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
  }

  .irepas-iphone-chips__title{
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: #111;
    letter-spacing: .2px;
  }

  .irepas-iphone-chips__sub{
    font-size: 12px;
    color: rgba(0,0,0,.60);
  }

  .irepas-iphone-chips__list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .irepas-iphone-chip{
    display: inline-flex;
    align-items: center;

    padding: .7rem .95rem;
    border-radius: 9999px;

    background: #fff;
    border: 1px solid rgba(0,0,0,.14);
    box-shadow: 0 1px 2px rgba(0,0,0,.06);

    color: #111;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    line-height: 1;
  }

  .irepas-iphone-chip:active{
    transform: translateY(1px);
  }
}

/* Safety: never show the mobile chips on desktop */
@media (min-width: 768px){
  .irepas-iphone-chips{ display: none !important; }
}




/* =========================
   iRepas: Hamburger = 3 lines + "MENU" (no circle)
   ========================= */
@media (max-width: 767px){

  /* clickable area */
  .responsive-tools > a.toggle-window[data-target="navigation"]{
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;

    /* remove circle look */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    /* layout for ::before + ::after */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;

    -webkit-tap-highlight-color: transparent;
  }

  /* 3 lines (override Shoptet icon + circle on ::before) */
  .responsive-tools > a.toggle-window[data-target="navigation"]::before{
    content: "" !important;             /* kills \e914 icon */
    display: block !important;
    width: 18px !important;
    height: 12px !important;
    line-height: 0 !important;
    border-radius: 0 !important;
    background:
      linear-gradient(#111,#111) 0 0/100% 2px no-repeat,
      linear-gradient(#111,#111) 0 50%/100% 2px no-repeat,
      linear-gradient(#111,#111) 0 100%/100% 2px no-repeat !important;
  }

  /* label under lines */
  .responsive-tools > a.toggle-window[data-target="navigation"]::after{
    content: "MENU" !important;
    display: block !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    line-height: 1 !important;
    color: #111 !important;
  }

  /* pressed */
  .responsive-tools > a.toggle-window[data-target="navigation"]:active{
    transform: translateY(1px);
  }

  /* focus */
  .responsive-tools > a.toggle-window[data-target="navigation"]:focus-visible{
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,.15) !important;
    border-radius: 9999px !important;
  }
}







/* =========================
   iRepas: Mobile menu polish (panel 80% + blur + nice items)
   - DOES NOT touch hamburger
   - Animates items WITHOUT transform (no glitch)
   ========================= */
@media (max-width: 767px){

  /* ===== overlay blur behind the panel ===== */
  body.irepas-nav-open #navigation{
    background: rgba(255,255,255,.55) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  /* ===== panel width 80% (FORCE RIGHT) ===== */
  body.irepas-nav-open #navigation .navigation-in.menu{
    width: 80vw !important;
    max-width: 420px !important;

    /* ✅ force panel to RIGHT so blur remains on LEFT */
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;

    height: 100% !important;

    /* kill any leftover Shoptet transform positioning */
    transform: none !important;

    background: rgba(255,255,255,.92) !important;

    /* border/shadow now on the LEFT side */
    border-left: 1px solid rgba(0,0,0,.10) !important;
    border-right: 0 !important;

    /* round INNER edge only */
    border-top-left-radius: 22px !important;
    border-bottom-left-radius: 22px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;

    /* shadow pushing to the LEFT */
    box-shadow: -18px 0 50px rgba(0,0,0,.18) !important;

    /* room so the close + label has air */
    padding: 18px 14px 18px 14px !important;
  }

  /* ===== close button + "Zavřít" label (label is injected by JS below) ===== */
  body.irepas-nav-open #navigation .navigation-close{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;

    width: 56px !important;
    height: 56px !important;

    /* ✅ keep the X on the PANEL edge (top-right of panel) */
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;

    z-index: 2 !important;
  }

  body.irepas-nav-open #navigation .navigation-close .irepas-nav-close-label{
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    color: rgba(0,0,0,.65) !important;
    user-select: none;
  }

  /* ===== MENU ITEMS look like proper buttons/cards ===== */
  #navigation .menu-level-1{
    list-style: none !important;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 4em!important;
  }

  #navigation .menu-level-1 > li{
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  #navigation .menu-level-1 > li > a{
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    padding: 14px 14px !important;
    border-radius: 16px !important;

    background: rgba(255,255,255,.80) !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.06) !important;

    color: #111 !important;
    text-decoration: none !important;
  }

  #navigation .menu-level-1 > li > a > b{
    font-weight: 900 !important;
  }

  /* subtle chevron */
  #navigation .menu-level-1 > li > a::after{
    content: "›";
    margin-left: auto;
    font-size: 22px;
    line-height: 1;
    opacity: .45;
  }

  /* hover/press */
  #navigation .menu-level-1 > li > a:hover{
    background: rgba(0,0,0,.04) !important;
    border-color: rgba(0,0,0,.14) !important;
  }
  #navigation .menu-level-1 > li > a:active{
    background: rgba(0,0,0,.07) !important;
  }

  /* active/current */
  #navigation .menu-level-1 > li > a.active{
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
  }
  #navigation .menu-level-1 > li > a.active::after{
    opacity: .7;
    color: #fff;
  }

  /* ===== actions (login) ===== */
  #navigation .navigationActions{
    list-style: none !important;
    margin: 14px 0 0 0 !important;
    padding: 14px 0 0 0 !important;

    border-top: 1px solid rgba(0,0,0,.10) !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  #navigation .navigationActions a{
    display: flex !important;
    align-items: center !important;

    padding: 14px 14px !important;
    border-radius: 16px !important;

    background: rgba(255,255,255,.80) !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.06) !important;

    color: #111 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
  }

  /* ===== ITEM ANIMATION (NO transform => no position glitch) ===== */
  @keyframes ireNavItemIn {
    from { opacity: 0; filter: blur(10px); }
    to   { opacity: 1; filter: blur(0px); }
  }

  body.irepas-nav-open #navigation .menu-level-1 > li,
  body.irepas-nav-open #navigation .navigationActions > li{
    will-change: opacity, filter;
    animation: ireNavItemIn .22s ease-out both;
  }

  /* simple stagger */
  body.irepas-nav-open #navigation .menu-level-1 > li:nth-child(1){ animation-delay: .02s; }
  body.irepas-nav-open #navigation .menu-level-1 > li:nth-child(2){ animation-delay: .07s; }
  body.irepas-nav-open #navigation .menu-level-1 > li:nth-child(3){ animation-delay: .12s; }
  body.irepas-nav-open #navigation .menu-level-1 > li:nth-child(4){ animation-delay: .17s; }
  body.irepas-nav-open #navigation .menu-level-1 > li:nth-child(5){ animation-delay: .22s; }

  body.irepas-nav-open #navigation .navigationActions > li:nth-child(1){ animation-delay: .28s; }
  body.irepas-nav-open #navigation .navigationActions > li:nth-child(2){ animation-delay: .33s; }
}

@media (min-width: 480px) and (max-width:767px) {
    #navigation {
        padding-top:0
        
    }

    .navigation-window-visible #navigation {
        width: 100%;
    }
}

  /* ===== close button + "Zavřít" label (label is injected by JS below) ===== */
  body.irepas-nav-open #navigation .navigation-close{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    width: 56px !important;
    height: 56px !important;

    /* ✅ keep the X on the PANEL edge (top-right of panel) */
    position: fixed !important;
    top: 17px !important;
    right: 17px !important;
    left: auto !important;
    z-index: 2 !important;
  }

  /* iRepas: speed up Shoptet mobile menu slide (ONLY timing) */
@media (max-width: 767px){
  #navigation,
  #navigation .navigation-in.menu{
    transition-duration: .18s !important;
    transition-timing-function: ease-out !important;
  }
}




/* =========================
   iRepas GSAP PREP (fix A->B->A flash)
   Only homepage + desktop. Mobile: no blur (performance).
   ========================= */

/* Desktop prep state */
@media (min-width: 768px){
  html.irepas-anim-prep body.in-index #carousel img,
  html.irepas-anim-prep body.type-index #carousel img{
    filter: blur(10px);
    transform: scale(1.03);
    opacity: .55; /* was .92 */
  }

  html.irepas-anim-prep body.in-index .next-to-carousel-banners img,
  html.irepas-anim-prep body.type-index .next-to-carousel-banners img{
    filter: blur(10px);
    transform: scale(1.03);
    opacity: .55; /* was .92 */
  }

  html.irepas-anim-prep body.in-index .homepage-group-title,
  html.irepas-anim-prep body.type-index .homepage-group-title{
    filter: blur(6px);
    transform: translate3d(0, 10px, 0);
    opacity: .35; /* was .85 */
  }

  /* Products: opacity + Y on card, blur+opacity on IMAGE */
  html.irepas-anim-prep body.in-index .products.products-block .product .p,
  html.irepas-anim-prep body.type-index .products.products-block .product .p{
    transform: translate3d(0, 12px, 0);
    opacity: .25; /* was .72 */
  }

  html.irepas-anim-prep body.in-index .products.products-block .product .p .image img,
  html.irepas-anim-prep body.type-index .products.products-block .product .p .image img{
    filter: blur(12px);
    transform: scale(1.03);
    opacity: .20; /* was missing/too high */
  }

  html.irepas-anim-prep body.in-index .homepage-box.welcome-wrapper,
  html.irepas-anim-prep body.type-index .homepage-box.welcome-wrapper{
    filter: blur(6px);
    transform: translate3d(0, 10px, 0);
    opacity: .35; /* was .85 */
  }
}

/* Mobile / reduced-motion: keep it simple (no blur) */
@media (max-width: 767px){
  html.irepas-anim-prep body.in-index .homepage-group-title,
  html.irepas-anim-prep body.type-index .homepage-group-title,
  html.irepas-anim-prep body.in-index .products.products-block .product .p,
  html.irepas-anim-prep body.type-index .products.products-block .product .p,
  html.irepas-anim-prep body.in-index .homepage-box.welcome-wrapper,
  html.irepas-anim-prep body.type-index .homepage-box.welcome-wrapper{
    filter: none !important;
    transform: translate3d(0, 8px, 0) !important;
    opacity: .85 !important; /* was .90 */
  }

  html.irepas-anim-prep body.in-index #carousel img,
  html.irepas-anim-prep body.type-index #carousel img,
  html.irepas-anim-prep body.in-index .next-to-carousel-banners img,
  html.irepas-anim-prep body.type-index .next-to-carousel-banners img,
  html.irepas-anim-prep body.in-index .products.products-block .product .p .image img,
  html.irepas-anim-prep body.type-index .products.products-block .product .p .image img{
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce){
  html.irepas-anim-prep{ }
}
