.site-header,
.site-offcanvas {
  direction: rtl;
  text-align: right;
}

.site-header {
  position: relative;
  z-index: 100;
}

.header-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.header-top {
  background: #F59403;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 15px;
}

.header-contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 -8px;
  padding: 0;
}

.header-contacts li {
  margin: 0 8px;
}

.header-contacts a {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  text-decoration: none;
}

.header-contact-icon {
  display: inline-flex;
  color: #fff;
}

.header-contacts a span:last-child {
  padding-inline-start: 5px;
}

.header-offer {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  text-align: left;
}

.header-offer span {
  color: #1a453b;
}

.header-main {
  background: #1a453b;
}

.header-main-inner {
  display: flex;
  align-items: center;
  min-height: 99px;
  padding: 0 15px;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 30px 0;
}

.header-logo img {
  display: block;
  width: 150px;
  height: auto;
}

.header-nav {
  display: flex;
  justify-content: center;
  flex: 1 1 auto;
}

.site-menu,
.site-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-menu > li {
  position: relative;
}

.site-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 37px 0;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  text-decoration: none;
}

.header-nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.site-menu .sub-menu {
  position: absolute;
  top: 88px;
  right: 10px;
  left: auto;
  z-index: 20;
  width: 280px;
  padding: 18px 0;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-menu > li:hover > .sub-menu,
.site-menu > li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.site-menu .sub-menu li {
  padding: 0 25px;
}

.site-menu .sub-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  color: #1a453b;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  text-decoration: none;
}

.site-menu .sub-menu a:hover,
.site-menu .sub-menu .current-menu-item > a {
  color: #F59403;
}

.site-menu .sub-menu .menu-item-has-children {
  position: relative;
}

.site-menu .sub-menu .sub-menu {
  top: 0;
  right: 100%;
  left: auto;
}

.site-menu .sub-menu li:hover > .sub-menu,
.site-menu .sub-menu li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex: 0 0 auto;
}

.header-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 0;
}

.header-icon-divider {
  display: block;
  width: 2px;
  height: 16px;
  margin: 5px 0;
  background: rgba(255, 255, 255, 0.14);
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 4px 20px 4px 4px;
  color: #fff;
  background: #F59403;
  border: 1px solid #F59403;
  border-radius: 6px;
  text-decoration: none;
}

.header-btn-text {
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.header-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #1a453b;
  background: #fff;
  border: 1px solid #F59403;
  border-radius: 4px;
}

.header-btn-icon svg {
  transform: scaleX(-1);
}

.header-toggle {
  display: none;
  padding: 0;
  margin-inline-start: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.site-offcanvas[hidden] {
  display: none;
}

.site-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.offcanvas-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.4);
}

.offcanvas-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 1;
  width: min(400px, 92vw);
  height: 100%;
  overflow-y: auto;
  background: #fff;
  padding-bottom: 100px;
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 52px 30px 30px;
  margin-bottom: 20px;
}

.offcanvas-logo img {
  display: block;
  width: 72px;
  height: auto;
}

.offcanvas-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  color: #1a453b;
  background: rgba(245, 148, 3, 0.1);
  border: 1px solid rgba(245, 148, 3, 0.2);
  border-radius: 50%;
  cursor: pointer;
}

.offcanvas-nav {
  padding: 0 30px;
}

.offcanvas-actions {
  padding: 24px 30px 0;
}

.offcanvas-menu,
.offcanvas-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offcanvas-menu > li {
  position: relative;
  border-bottom: 1px solid rgba(26, 69, 59, 0.08);
}

.offcanvas-menu > li > a {
  display: flex;
  align-items: center;
  padding: 15px 0 15px 36px;
  color: #1a453b;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  text-decoration: none;
}

.offcanvas-menu > li.current-menu-item > a,
.offcanvas-menu > li.current-menu-ancestor > a {
  color: #F59403;
}

.offcanvas-menu .sub-menu {
  display: none;
  padding: 0 12px 8px 0;
}

.offcanvas-menu .sub-menu a {
  display: block;
  padding: 10px 0;
  color: #1a453b;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  text-decoration: none;
}

.offcanvas-menu li.is-open > .sub-menu {
  display: block;
}

.submenu-toggle {
  position: absolute;
  top: 1px;
  left: 0;
  right: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 40px;
  height: 44px;
  padding: 0;
  color: #F59403;
  background: transparent;
  border: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.offcanvas-footer {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 36px 20px 0;
  padding: 18px 16px;
  background: #f8f5f2;
  border: 1px solid rgba(26, 69, 59, 0.08);
  border-radius: 12px;
}

.offcanvas-block {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 12px;
}

.offcanvas-block:first-child:not(:only-child) {
  border-left: 1px solid rgba(26, 69, 59, 0.1);
}

.offcanvas-block:only-child {
  padding: 0;
}

.offcanvas-block h3 {
  margin: 0 0 12px;
  color: #1a453b;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.offcanvas-meta p {
  margin: 0;
}

.offcanvas-meta a {
  display: inline-block;
  color: #F59403;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  text-decoration: none;
  direction: ltr;
}

.offcanvas-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offcanvas-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #1a453b;
  background: #fff;
  text-decoration: none;
  border: 1px solid rgba(26, 69, 59, 0.1);
  border-radius: 50%;
}

.offcanvas-social svg,
.offcanvas-social img {
  display: block;
  width: 16px;
  height: 16px;
}

.offcanvas-social img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50%;
}

body.offcanvas-open {
  overflow: hidden;
}

body.offcanvas-open .site-header {
  visibility: hidden;
}

@media (max-width: 1024px) {
  .header-top,
  .header-nav,
  .header-actions {
    display: none;
  }

  .header-main-inner {
    min-height: 100px;
    justify-content: space-between;
  }

  .header-toggle {
    display: inline-block;
  }
}
