@font-face {
  font-family: "Peyda";
  src: url("../fonts/PeydaWeb-Regular.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}

.ttmm-navbar,
.ttmm-navbar * {
  box-sizing: border-box;
}

.ttmm-navbar {
  --ttmm-ink: #101828;
  --ttmm-brand-dark: #115e59;
  --ttmm-shadow: 0 28px 80px rgba(16, 24, 40, 0.16);
  position: relative;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(1180px, 100%);
  min-height: 44px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ttmm-ink);
  direction: rtl;
  font-family: "Peyda", Tahoma, Arial, sans-serif;
  backdrop-filter: none;
}

.ttmm-navbar a {
  color: inherit;
  text-decoration: none;
}

.ttmm-navbar svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ttmm-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ttmm-nav-item {
  position: static;
}

.ttmm-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 0 4px;
  border-radius: 999px;
  color: #344054;
  background: transparent;
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  transition: color 160ms ease;
}

.ttmm-nav-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.ttmm-nav-item.is-open .ttmm-nav-link,
.ttmm-nav-link:hover,
.ttmm-nav-link:focus-visible {
  color: #1C64F2;
  background: transparent;
  outline: none;
}

.ttmm-nav-item.is-open .ttmm-nav-link svg {
  transform: rotate(180deg);
}

.ttmm-mega-menu {
  position: fixed;
  top: var(--ttmm-menu-top, 96px);
  left: var(--ttmm-menu-left, 24px);
  z-index: 2147483647;
  display: grid;
  grid-template-columns: 1fr;
  width: var(--ttmm-menu-width, min(1180px, calc(100vw - 48px)));
  max-width: calc(100vw - 24px);
  padding: 16px;
  border: 1px solid rgba(228, 231, 236, 0.9);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    #fff;
  box-shadow: var(--ttmm-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.ttmm-mega-menu::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -14px;
  height: 14px;
}

.ttmm-nav-item.is-open .ttmm-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ttmm-subcategory-stage {
  padding: 24px;
  border: 1px solid #eef2f7;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.ttmm-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.ttmm-panel-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #115e59;
  background: #ccfbf1;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.ttmm-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 18px;
}

.ttmm-subcategory-group {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ttmm-subcategory-group:hover,
.ttmm-subcategory-group:focus-within {
  border-color: #2dd4bf;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}

.ttmm-subcategory-group.is-wide {
  grid-column: span 2;
}

.ttmm-group-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 58px;
}

.ttmm-group-title:focus-visible,
.ttmm-grandchild-list a:focus-visible {
  outline: none;
  color: #1C64F2;
}

.ttmm-product-thumb {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.ttmm-product-thumb svg {
  width: 30px;
  height: 30px;
}

.ttmm-subcategory-grid strong {
  display: block;
  margin: 0;
  color: #101828;
  font-size: 16px;
  line-height: 1.7;
}

.ttmm-grandchild-list {
  display: grid;
  gap: 8px;
  margin: 12px 64px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #eef2f7;
  list-style: none;
}

.ttmm-grandchild-list.is-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}

.ttmm-grandchild-list a {
  position: relative;
  display: block;
  padding: 2px 14px 2px 0;
  color: #475467;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  transition: color 160ms ease;
}

.ttmm-grandchild-list a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #cbd5e1;
  transform: translateY(-50%);
  transition: background 160ms ease;
}

.ttmm-grandchild-list a:hover {
  color: #1C64F2;
}

.ttmm-grandchild-list a:hover::before {
  background: #1C64F2;
}

.ttmm-icon-emerald { color: #047857; background: #d1fae5; }
.ttmm-icon-violet { color: #6d28d9; background: #ede9fe; }
.ttmm-icon-amber { color: #b45309; background: #fef3c7; }
.ttmm-icon-rose { color: #be123c; background: #ffe4e6; }
.ttmm-icon-sky { color: #0369a1; background: #e0f2fe; }
.ttmm-icon-indigo { color: #3730a3; background: #e0e7ff; }

@media (max-width: 980px) {
  .ttmm-navbar {
    min-height: 44px;
  }

  .ttmm-nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0;
  }

  .ttmm-nav-link {
    justify-content: space-between;
    width: 100%;
    gap: 6px;
    padding: 0 8px;
    border-radius: 14px;
  }

  .ttmm-mega-menu {
    position: static;
    display: none;
    margin: 6px 0 12px;
    padding: 12px;
    border-radius: 18px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .ttmm-nav-item.is-open .ttmm-mega-menu {
    display: grid;
  }

  .ttmm-subcategory-stage {
    padding: 12px;
    border-radius: 16px;
    overflow: visible;
  }

  .ttmm-panel-heading {
    display: block;
  }

  .ttmm-subcategory-grid {
    grid-template-columns: 1fr;
  }

  .ttmm-subcategory-group {
    grid-column: auto;
    transform: none;
  }

  .ttmm-subcategory-group:hover,
  .ttmm-subcategory-group:focus-within {
    transform: none;
  }

  .ttmm-group-title {
    min-height: 76px;
  }

  .ttmm-grandchild-list {
    margin-right: 64px;
  }

  .ttmm-grandchild-list.is-two-column {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .ttmm-subcategory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) and (max-width: 980px) {
  .ttmm-subcategory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ttmm-product-thumb {
  background: transparent !important;
}

.ttmm-product-icon {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.ttmm-product-thumb svg {
  width: 30px;
  height: 30px;
}