yc-header.picat-header{
  padding:0.75em 6% 0.35em;
  display:flex;
  flex-direction:column;
  gap:0;
  color:rgb(var(--header-text-color));
  background-color:var(--header-bg-color);
}
yc-header.picat-header > [data-block]{
  display:flex;
  align-items:center;
}
.header-row--top{
  display:grid;
  grid-template-columns:auto minmax(200px, 1fr) max-content;
  grid-template-areas:"logo search actions";
  align-items:center;
  gap:20px 28px;
  width:100%;
}
.header-row--top yc-drawer#menu{
  display:none;
  grid-area:menu;
  width:auto;
}
.header-row--top .logo{
  grid-area:logo;
}
.header-row--top .header-search{
  grid-area:search;
  justify-self:stretch;
}
.header-row--top .actions{
  grid-area:actions;
  justify-content:flex-end;
  width:max-content;
  max-width:100%;
}
yc-header .logo a{
  display:inline-flex;
  text-transform:uppercase;
  color:rgb(var(--header-text-color));
}
yc-header .logo img{
  width:calc(var(--header-logo-width) * 1.3);
  height:auto;
  max-height:none;
  -o-object-fit:contain;
     object-fit:contain;
}
yc-header .header-row--nav{
  width:100%;
  justify-content:center;
  padding:0.55em 0 0.45em;
  border-block-start:1px solid rgba(var(--header-text-color), 8%);
  margin-block-start:0.65em;
}
yc-header .header-row--nav > ul{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  column-gap:0;
  row-gap:8px;
  width:100%;
}
yc-header .header-row--nav > ul > li{
  display:inline-flex;
  align-items:center;
}
yc-header .header-row--nav > ul > li:not(:last-child)::after{
  content:"|";
  margin-inline:0.7em;
  color:rgba(var(--header-text-color), 0.32);
  font-weight:400;
  pointer-events:none;
}
yc-header .header-row--nav > ul > li > a.link,
yc-header .header-row--nav > ul > li .nav-cats__btn{
  padding-block:0.25em 0.35em;
  border-block-end:2px solid transparent;
  color:rgb(var(--header-text-color)) !important;
}
yc-header .header-row--nav > ul > li > a.link,
yc-header .header-row--nav > ul > li > a.link [data-nav-label]{
  color:rgb(var(--header-text-color)) !important;
  width:max-content;
}
yc-header .header-row--nav > ul > li > a.link::before{
  display:none;
}
yc-header .header-row--nav > ul > li.is-current > a.link,
yc-header .header-row--nav > ul > li.is-current .nav-cats__btn{
  border-block-end-color:currentColor;
  font-weight:700;
}
/* Menu principal : 120 % de la taille precedente. */
yc-header .links > ul > li > a.link,
yc-header .links > ul > li > a.link [data-nav-label],
yc-header .links > ul .nav-cats__btn,
yc-header .links > ul .nav-cats__btn > span{
  font-size:1.15em !important;
  font-weight:500;
  line-height:1.3;
  letter-spacing:0;
  color:rgb(var(--header-text-color)) !important;
}
yc-header .links > ul > li > a.link [data-nav-label],
yc-header .links > ul .nav-cats__btn > span{
  font-size:1.15em !important;
}
yc-header .header-row--nav > ul > li > a.nav-packs,
yc-header .header-row--nav > ul > li > a.nav-packs [data-nav-label],
yc-header .links > ul > li > a.nav-packs,
yc-header .links > ul > li > a.nav-packs [data-nav-label]{
  color:rgb(var(--header-text-color)) !important;
}
yc-header .links > ul .nav-cats{
  position:relative;
}
yc-header .links > ul .nav-cats__btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  padding:0.25em 0 0.35em;
  border:0;
  border-block-end:2px solid transparent;
  border-radius:0;
  background:transparent;
  color:rgb(var(--header-text-color));
  font-family:inherit;
  font-size:1.15em;
  font-weight:500;
  line-height:1.3;
  cursor:pointer;
}
yc-header .links > ul .nav-cats__btn .icon{
  width:11px;
  height:11px;
  rotate:90deg;
}
yc-header .header-row--nav > ul > li.is-current .nav-cats__btn{
  border-block-end-color:currentColor;
  font-weight:700;
}
yc-header .links > ul .nav-cats__list{
  display:none;
  position:absolute;
  top:100%;
  inset-inline-start:0;
  min-width:220px;
  margin:0;
  padding:10px 0 8px;
  list-style:none;
  flex-direction:column;
  flex-wrap:nowrap;
  align-items:stretch;
  background:#fff;
  border:1px solid rgba(18, 18, 18, 0.12);
  border-radius:8px;
  box-shadow:0 10px 28px rgba(0, 0, 0, 0.08);
  z-index:40;
}
yc-header .links > ul .nav-cats:hover .nav-cats__list,
yc-header .links > ul .nav-cats:focus-within .nav-cats__list{
  display:flex;
}
yc-header .links > ul .nav-cats__list li{
  width:100%;
}
yc-header .links > ul .nav-cats__list a{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  padding:0.65em 1em;
  color:#121212;
  text-decoration:none;
  font-size:inherit;
  font-weight:inherit;
  font-family:inherit;
  line-height:1.35;
  white-space:nowrap;
}
yc-header .links > ul .nav-cats__mark{
  flex:none;
  color:#121212;
}
yc-header .links > ul .nav-cats__list a:hover{
  background:rgba(18, 18, 18, 0.05);
}
yc-header .actions{
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}
yc-header .actions .language-switcher{
  display:inline-flex;
  flex:none;
  width:auto;
  align-self:center;
}
yc-header .actions yc-drawer#cart{
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  width:auto;
  flex:none;
  min-width:0;
}
yc-header .actions yc-cart-bubble{
  display:inline-flex;
  align-items:center;
  flex:none;
}
yc-header .actions yc-drawer#cart > .drawer-container{
  position:absolute;
  width:0;
  height:0;
  overflow:visible;
  pointer-events:none;
}
yc-header .actions yc-drawer#cart[data-hidden="false"] > .drawer-container{
  pointer-events:auto;
}
.language-switcher{
  display:inline-flex;
  align-items:center;
  flex:none;
  width:auto;
  gap:2px;
  border:1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius:999px;
  padding:2px;
}
.language-switcher__btn{
  min-width:36px;
  height:28px;
  padding:0 8px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:inherit;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
}
.language-switcher__btn[aria-pressed="true"]{
  background:rgb(var(--header-text-color));
  color:var(--header-bg-color);
}
html[dir="rtl"] body{
  font-family:'Noto Naskh Arabic', var(--font-family);
}
yc-header .actions .cart-btn,
yc-header .actions .search-btn{
  color:rgb(var(--header-text-color));
}
yc-header .actions .cart-btn{
  gap:0.4em;
  width:auto;
  position:relative;
  flex:none;
  flex-shrink:0;
  white-space:nowrap;
}
yc-header .actions .cart-btn .total-amount{
  font-size:var(--text-xs);
  font-weight:550;
}
yc-header .actions .cart-btn::before{
  display:none;
}
yc-header .actions .cart-btn .total-items{
  position:absolute;
  padding:5px 8px;
  font-size:10px;
  clip-path:circle();
  color:var(--header-bg-color);
  background-color:rgb(var(--header-text-color));
  inset-block-start:-8px;
  inset-inline-start:-8px;
}
yc-header .actions .search-btn{
  display:none;
}
yc-header .header-search{
  display:flex;
  align-items:center;
  width:100%;
  max-width:720px;
  min-height:44px;
  position:relative;
  margin:0 auto;
  border:1px solid rgba(var(--header-text-color), 16%);
  border-radius:999px;
  background:#f6f6f8;
}
yc-header .header-search .search-input{
  flex:1;
  min-width:0;
  height:44px;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding-inline:42px 16px !important;
  color:rgb(var(--header-text-color)) !important;
}
yc-header .header-search > .icon{
  position:absolute;
  inset-block-start:50%;
  inset-inline-start:14px;
  translate:0 -50%;
  color:rgba(var(--header-text-color), 55%);
  pointer-events:none;
}
yc-header[data-bottom-border]{
  border-block-end:1px solid rgba(var(--header-text-color), 8%);
}

#youcan-section--header:has(yc-header[data-sticky]){
  top:0;
  z-index:2;
  position:sticky;
}

@media (max-width: 1024px){
  yc-header.picat-header{
    padding:0.7em 1em 0.85em;
  }
  .header-row--top{
    grid-template-columns:auto minmax(0, 1fr) max-content;
    grid-template-areas:
      "menu logo actions"
      "search search search";
    gap:10px 12px;
  }
  .header-row--top yc-drawer#menu{
    display:flex;
    align-items:center;
  }
  .header-row--top .logo{
    justify-self:center;
  }
  .header-row--nav{
    display:none !important;
  }
  yc-header .header-search{
    max-width:none;
    min-height:42px;
  }
  yc-header .header-search .search-input{
    height:42px;
  }
  yc-header .actions .cart-btn::before{
    display:none;
  }
  .language-switcher{
    flex:none;
  }
}
@media (max-width: 768px){
  .language-switcher{
    gap:0;
    padding:1px;
  }
  .language-switcher__btn{
    min-width:30px;
    height:24px;
    padding:0 6px;
    font-size:11px;
  }
}
