/** Shopify CDN: Minification failed

Line 19:0 Unexpected "{"
Line 19:1 Expected identifier but found "%"
Line 23:0 Unexpected "{"
Line 23:1 Expected identifier but found "%"
Line 25:0 Unexpected "{"
Line 25:1 Expected identifier but found "%"
Line 31:0 Unexpected "{"
Line 31:1 Expected identifier but found "%"

**/
/* ── Basic Header Adjustments ── */
header-drawer {
  justify-self: start;
  margin-left: -1.2rem;
}

{%- if section.settings.sticky_header_type == 'reduce-logo-size' -%}
  .scrolled-past-header .header__heading-logo-wrapper {
    width: 75%;
  }
{%- endif -%}

{%- if section.settings.menu_type_desktop != "drawer" -%}
  @media screen and (min-width: 990px) {
    header-drawer {
      display: none;
    }
  }
{%- endif -%}

.menu-drawer-container {
  display: flex;
}

.list-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-menu--inline {
  display: inline-flex;
  flex-wrap: wrap;
}

summary.list-menu__item {
  padding-right: 2.7rem;
}

.list-menu__item {
  display: flex;
  align-items: center;
  line-height: calc(1 + 0.3 / var(--font-body-scale));
}

.list-menu__item--link {
  text-decoration: none;
  padding-bottom: 1rem;
  padding-top: 1rem;
  line-height: calc(1 + 0.8 / var(--font-body-scale));
}

@media screen and (min-width: 750px) {
  .list-menu__item--link {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
  }
}

.menu-drawer .list-social {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.5rem; 
  padding: 0;
  margin: 1.5rem 0 0 0; 
}

.menu-drawer .list-social__item {
  display: flex;
  align-items: center;
}

/* ── Kuwait Flag ─────────────────────────────────────────── */
.header-kuwait-flag {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.kuwait-flag-svg {
  width: 26px;
  height: 18px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

/* ── Language Switcher ───────────────────────────────────── */
.header-lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 20px;
  padding: 5px 10px 5px 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: inherit;
  letter-spacing: 0.3px;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.lang-switcher-btn:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.22);
}

.lang-switcher-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.75;
}

.lang-switcher-btn .lang-caret {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  transition: transform 0.2s;
}

.lang-switcher-btn[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 120px;
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
}

/* باز شدن دراپ‌دان به سمت بالا در موبایل اگر فضا کم بود (اختیاری) */
@media screen and (max-width: 749px) {
  .lang-dropdown {
    top: auto;
    bottom: calc(100% + 8px);
  }
}

.lang-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

[dir="rtl"] .lang-dropdown-item {
  text-align: right;
}

.lang-dropdown-item:hover {
  background: #f5f5f3;
}

.lang-dropdown-item.is-active {
  background: #f0f0ee;
  font-weight: 700;
}

.lang-dropdown-item .lang-check {
  margin-inline-start: auto;
  width: 14px;
  height: 14px;
  opacity: 0;
  color: #111;
}

.lang-dropdown-item.is-active .lang-check {
  opacity: 1;
}

/* Hide default Shopify language selector on desktop */
.desktop-localization-wrapper {
  display: none !important;
}

/* ── Mobile Layout Adjustments ── */
/* حالا دیگر پرچم و انتخابگر زبان را در موبایل مخفی نمی‌کنیم */
@media screen and (max-width: 989px) {
  /* اگر می‌خواهید در هدر موبایل (کنار آیکون جستجو) مخفی باشد اما در منوی کشویی نمایش داده شود: */
  .header__icons .header-kuwait-flag, 
  .header__icons .header-lang-switcher {
    display: none; 
  }

  /* استایل برای نمایش صحیح در منوی کشویی موبایل */
  .mobile-flag-lang-wrapper {
    margin-top: 2rem;
    padding: 0 2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 2rem;
  }
}


