@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakhFaNum-VF.woff');
  src: url('../fonts/YekanBakhFaNum-VF.woff2');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

:root {
  --color-primary: #088637;
  --color-primary-light: hsl(from var(var(--color-primary) h s 95%));
  --color-secondary: #777;
  --color-secondary-l: #eee;
  --color-text: #333;
  --font: 'YekanBakh';
}

html {
  font-size: 16px;
}

a {
  all: unset;
  cursor: pointer;
}

body {
  font-family: var(--font);
  font-weight: 400;
  height: 100dvh;
  padding: 0;
}

#top-nav {
  display: none;
  gap: 8px;
  justify-content: space-between;
  padding: 8px 16px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  z-index: 1000;
  position: relative;
  color: #fff;
  font-size: 1rem;

  @media (width >=768px) {
    display: flex;
  }

  .site-links {
    border-radius: 100pc;
    padding-inline: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: inherit;
    position: relative;
    font-size: 1rem;

    a {
      position: relative;
      font-size: inherit;
    }
  }

  .contact-links {
    font-size: inherit;
    display: flex;
    position: relative;
    gap: 8px;
    color: inherit;
  }
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.custom-logo-link img {
  width: 64px;
  height: auto;
  object-fit: contain;
}

.navigation {
  position: sticky;
  width: 100%;
  top: 16px;
  z-index: 1000;
  transition: color 0.3s ease, background-color 0.3s ease;

  @media (width <=680px) {
    top: 8px;
  }

  .icon-menu {
    font-size: 24px;
    color: white;
  }

  .site-branding {
    margin-left: auto;
  }

  section {
    padding: 0 1rem;

    nav.primary-nav {
      position: relative;
      flex: 1 1 100%;
      padding: 0 16px;
      display: flex;
      flex-flow: row;
      justify-content: flex-end;
      align-items: center;
      gap: 8px;

      &.dark {
        color: white;

        a,
        label {
          color: white;
        }
      }

      &.light {
        color: var(--color-primary);

        a,
        label {
          color: var(--color-primary) !important;
        }
      }

      #close-icon {
        font-size: 24px;
        color: red;
        width: 100%;
        cursor: pointer;
        justify-content: center;
        display: flex;

        @media (width >=680px) {
          display: none;
        }
      }


      input {
        display: none;

        &:checked {
          ~.mobile-nav>label::before {
            content: "\e93c";
            color: red !important;
          }

          ~ul.primary-menu {
            z-index: 1000;
            padding: 0;
            opacity: 1;
            animation: fade-in 0.3s ease-in-out;
            overflow-x: hidden;
            scrollbar-width: thin;
            display: flex;
            flex-flow: column;
            position: fixed;
            top: 110%;
            right: 0;
            height: 87dvh;
            justify-content: flex-start;
            min-width: -webkit-fill-available;
            background-color: #fafafaee;
            border-radius: 1rem;
            backdrop-filter: blur(21px);

            li {
              padding: 0;
              height: auto;

              a {
                padding: 16px 24px;
                font-size: 16px;
                color: #000;
              }
            }
          }
        }
      }



      ul.primary-menu {
        list-style: none;
        margin-inline: auto;
        display: flex;
        padding: 0;
        margin: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
        flex: 1 1 100%;
        color: inherit;

        @media(width <=680px) {
          display: none;
          opacity: 0;
        }

        .menu-item-has-children {
          display: flex;
          align-items: flex-start;
          flex-flow: column;
        }


        >li:has(.sub-menu) {
          position: relative;

          >a {
            display: flex;
            gap: 4px;
            position: relative;

            &::before {
              content: "\e90a";
              font-family: 'icomoon';
              order: 1;
              height: 100%;
              width: 24px;
              display: grid;
              place-content: center;

              @media (width <=680px) {
                display: none;
              }
            }
          }
        }

        button.submenu-toggle {
          all: unset;
          visibility: hidden;
          display: flex;
          position: absolute;
          left: 0;
          top: 0;
          cursor: pointer;
          color: #777;
          height: 58px;
          width: 58px;
          place-content: center;
          background-color: #ddd;

          i {
            margin: auto;
            transition: all 0.3s ease-in-out;

            &.rotated {
              rotate: 0.5turn;
            }
          }

          @media (width<=680px) {
            visibility: visible;
          }
        }

        li:hover:has(.sub-menu) {
          .sub-menu {
            visibility: hidden;

            @media (width >=680px) {
              visibility: visible;
            }

          }
        }

        >li {
          position: relative;
          display: flex;
          box-shadow: 0 1px 0 0 #cecece6b;
          flex-flow: column;

          >a:hover {
            background-color: #fff;
            color: var(--color-primary);
          }

          &::before {
            content: "";
            width: 1px;
            height: 40%;
            position: absolute;
            border-radius: 4px;
            left: 0;
            top: 30%;
            background-color: #777;

            @media (width <=680px) {
              content: none;
            }
          }
        }

        ul.sub-menu {
          display: block;
          visibility: hidden;
          position: absolute;
          list-style-type: none;
          background: #ffffffef;
          color: #000;
          border-radius: 1rem;
          min-width: 225px;
          width: fit-content;
          box-shadow: 0 0 0 4px #00000080;
          top: calc(100% + 4px);

          @media (width <=680px) {
            transition: height 0.3s ease-in-out, visiblity;
            box-shadow: none !important;
            top: 0;
            border-radius: 0 !important;
            height: 0;
          }

          &.active {
            visibility: visible !important;
            position: relative !important;
            width: 100% !important;
            z-index: 11111;
            color: #777 !important;
            height: 100%;
          }

          >li {
            padding: 8px 16px !important;

            &:not(:last-child) {
              box-shadow: 0 1px 0 0 #0000001a;
            }

            a {
              &:hover {
                color: var(--color-primary);

                &::after {
                  content: none;
                }
              }
            }
          }
        }

        .quick-links {
          flex-flow: row wrap;
          justify-content: center;
          margin-top: auto;
          gap: 8px;
          padding: 8px;
          display: flex;
          color: white;

          a {
            color: white !important;
          }

          @media (width >=680px) {
            display: none;
          }
        }

        li {
          margin: 0;
          height: 100%;
          user-select: none;

          &.last-menu-item::before {
            display: none;
          }

          &:has(a[aria-current='page']) {
            color: #fff !important;
            background-color: hsl(from var(--color-primary) h s l / 60%);
            padding: 0;
            transition: all 0.3s ease-in-out;

            &:hover {
              background-color: #fff;

              >a {
                color: var(--color-primary);
              }
            }

            &::after {
              width: 100%;
            }
          }

          >a {
            text-decoration: none;
            color: inherit;
            font-weight: normal;
            position: relative;
            font-family: YekanBakh;
            font-size: calc(clamp(0.625rem, 1.154vw + 0.135rem, 1rem));
            padding-inline: calc(clamp(1px, 1.923vw - 0.442rem, 1rem));
            padding-block: 18px;

            &:active {
              color: #777;
            }

            &::after {
              content: "";
              position: absolute;
              height: 2px;
              background-color: var(--color-primary);
              width: 0;
              right: 0;
              top: 100%;
              transition: all 0.3s ease-in-out;
              border-radius: 4px;
            }

            &:hover {
              color: var(--color-primary);

              &::after {
                width: 100%;
                transition: all 0.3s ease-in-out;

              }
            }
          }
        }
      }

      .search-btn {
        display: flex;

        @media (width <=680px) {
          display: none;
        }
      }

      .mobile-nav {
        display: flex;
        position: relative;
        z-index: 1;
        font-size: 24px;
        color: inherit;
        user-select: none;

        @media (width >=680px) {
          display: none;
        }

        label.menu-icon,
        a {
          line-height: 1;
          cursor: pointer;
          margin: 10px;
          color: inherit;
        }
      }

      .links {
        display: flex;
        align-items: center;
        position: relative;
        z-index: 1;
        gap: 16px;
        color: var(--color-primary);


        .login-icon {
          @media (width >=1280px) {
            display: none;
          }
        }

        svg {
          fill: var(--color-primary);
        }

        button {
          all: unset;
          line-height: 0;
        }

        .cart-icon {
          position: relative;
          font-size: 24px;

          i {
            line-height: 1;
          }

          span.cart-count {
            position: absolute;
            background: #eee;
            width: 20px;
            height: 20px;
            display: grid;
            place-content: center;
            border-radius: 2444px;
            top: -10px;
            left: -10px;
            font-size: 14px;
          }
        }
      }
    }
  }
}

.page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  margin-top: -114px;
  text-align: center;
  background-attachment: fixed;
  height: 75vh;
  flex-flow: column;
  display: flex;

  .breadcrumb {
    z-index: 1;
    position: inherit;
    padding-block: 16px;
    padding-inline: 32px;
    margin-top: 64px;
    border-radius: 100pc;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #ffffff33;
    backdrop-filter: blur(10px);
    text-align: center;
    display: flex;
    flex-flow: row wrap;
    align-items: center;

    i {
      font-size: 12px;
    }

    a {
      color: hsl(from var(--color-primary) h s 50%);

      &:hover {
        color: var(--color-primary-20);
      }
    }
  }

  .container {
    padding-block: 128px;
    z-index: 1;
    display: grid;
    place-content: center;
    position: relative;
    height: 100%;
  }

  h1 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    color: var(--color-primary);
    position: relative;
    z-index: 1;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
  }
}

.section-title {
  --color: var(--color-primary);

  &.light {
    --color: white !important;
  }

  .title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    font-family: sans-serif;

    .line {
      flex: 1;
      height: 4px;
      background-color: var(--color);
      position: relative;
      border-radius: 2px;

      &.left .dot {
        left: 0;
      }

      &.right .dot {
        right: 0;
      }

      .dot {
        width: 24px;
        height: 24px;
        background-color: var(--color);
        border-radius: 50%;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
      }
    }

    .text {
      font-family: YekanBakh;
      margin: 0 15px;
      font-size: 28px;
      color: var(--color);
      font-weight: bold;
      white-space: nowrap;
    }
  }

  .description {
    display: flex;
    justify-content: center;
    color: var(--color);
    margin-top: -32px;
    text-align: center;
    padding-inline: 16px;
  }
}

.z-10 {
  z-index: 10;
}

.absolute {
  --r: 0;
  --l: 0;
  --t: 0;
  --b: 0;
  position: absolute;
  top: var(--t);
  bottom: var(--b);
  right: var(--r);
  left: var(--l);
}

.rounded-full {
  border-radius: 100pc;
}

.placeholder {
  background-color: #e8ffe7 !important;
  background-position: center;
  background-size: 7rem !important;
  background-repeat: no-repeat;
}

.gap {
  gap: 4px;

  &.\2 {
    gap: 8px;
  }

  &.\4 {
    gap: 16px;
  }
}

.gl,
.elementor-slide-button {
  filter: drop-shadow(-8px -10px 46px #0000005f);
  backdrop-filter: brightness(1.1) blur(2px) url(#glass-distortion);
}

.gl::before,
.elementor-slide-button::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  -webkit-box-shadow: inset 2px 2px 0px -2px rgba(255, 255, 255, 0.7),
    inset 0 0 3px 1px rgba(255, 255, 255, 0.7);
  box-shadow: inset 6px 6px 0px -6px rgba(255, 255, 255, 0.7),
    inset 0 0 8px 1px rgba(255, 255, 255, 0.7);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.bg-primary {
  background-color: var(--color-primary);
}

.icon-arrow {
  &.right {
    transform: scaleX(-1);
  }
}

.w-100 {
  width: 100%;
}

.h-auto {
  height: auto;
}

.size-100 {
  width: 100%;
  height: 100%;
}

.btn {
  border-radius: 16px;
  padding: 8px 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  &.primary {
    background-color: var(--color-primary);
    color: white;
  }

  &.secondary {
    background-color: var(--color-secondary);
    color: var(--color-text);
  }
}

.h-dvh {
  height: 100dvh;
}

.min-dvh {
  min-height: 100dvh;
}

.max-dvh {
  max-height: 100dvh;
}

.site-branding {
  display: flex;
  position: relative;
  align-items: center;
  gap: 8px;
  color: #777;

  section {
    display: flex;
    flex-flow: column;
    width: max-content;

    .site-title {
      all: unset;
      font-size: 32px;
      font-weight: bold;
      line-height: 1.1;
      color: var(--color-primary) !important;
    }

    .site-slogan {
      font-size: 10px;
      line-height: 1.1;
      word-spacing: -2px;
      color: white;
    }
  }
}

.m {
  --my: 24px;

  &.y {
    margin-block: var(--my);
  }

  --mx: 24px;

  &.x {
    margin-inline: var(--mx);
  }
}

.seo-only {
  position: absolute;
  left: -9999px;
  top: auto;
  font-size: 0;
}

.text {
  --fs: 24px;

  &.size {
    font-size: var(--fs);
  }

  &.center {
    text-align: center;
  }

  &.primary {
    color: var(--color-primary);
  }

  &.secondary {
    color: var(--color-secondary);
  }
}

.p {
  --py: 24px;

  &.y {
    padding-block: var(--py);
  }

  --px: 24px;

  &.x {
    padding-inline: var(--px);
  }
}

.grid {
  --cols: 12;
  --cols-template: repeat(var(--cols), 1fr);
  --rows: 12;
  display: grid;

  &.cols {
    grid-template-columns: var(--cols-template);
  }

  &.rows {
    grid-template-columns: repeat(var(--rows), 1fr);
  }

  &.items-center {
    justify-items: center;
  }

  .span {
    --s: 1;
    grid-column: span var(--s);
  }
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 1em;
  width: 1em;
  background: url("/wp-content/themes/decorbama-theme/assets/svg/close.svg") no-repeat 50% 50%;
  background-size: contain;
  opacity: 1;
}

.search-form-wrapper {
  display: flex;
  align-items: center;
  background-color: #eee;
  border-radius: 8px;

  .search-form {
    width: 100%;
    display: flex;
    align-items: center;
  }

  button {
    all: unset;
    font-size: 24px;
    display: grid;
    place-content: center;
    color: #777;
    width: 32px;
    height: 32px;
    padding-left: 4px;

    &:hover {
      cursor: pointer;
      color: var(--color-primary);
    }
  }


  input[type='search'] {
    all: unset;
    padding: 4px 16px 4px 0;
    width: -webkit-fill-available;

    &:-webkit-autofill,
    &:autofill {
      -webkit-box-shadow: 0 0 0 30px #eee inset !important;
      border-radius: 1rem;
    }

    &::placeholder {
      font-family: YekanBakh;
    }
  }

  box-shadow: 0 0 0 0 #00000000;
  transition: all 0.3s ease-in-out;

  &:has(input:focus-within) {
    box-shadow: 0 0 0 3px #00000033;
    transition: all 0.3s ease-in-out;
  }
}

.flex {
  display: flex;
  gap: 8px;

  &.row {
    flex-flow: row;
  }

  &.col {
    flex-flow: column;
  }

  &.wrap {
    flex-wrap: wrap;
  }

  &.center {
    justify-content: center;
  }

  &.between {
    justify-content: space-between;
  }

  &.items-center {
    align-items: center;
  }

}

.footer-logo {
  path {
    fill: white;
  }
}

.social-share-buttons {
  display: flex;
  gap: 8px;
  align-items: center;

  .share-links {
    gap: 8px;
    display: flex;
    height: 24px;

    h4 {
      display: flex;
      gap: 8px;
      color: #777;
    }

    i {
      font-size: 24px;
      color: #777;

      &.icon-fb:hover {
        color: #1877f2;
      }

      &.icon-whatsapp:hover {
        color: #25d366;
      }

      &.icon-x:hover {
        color: #000;
      }

      &.icon-telegram:hover {
        color: #0088cc;
      }
    }
  }
}

.article-list {
  display: flex;
  flex-flow: row wrap;
  gap: 16px;

  .article-card {
    width: 320px;
    transition: all 0.3s ease-in-out;
    position: relative;
    display: flex;
    align-items: center;
    flex-flow: column;

    &.article-card:hover {
      scale: 1.01;
      translate: 0px -8px;
      transition: all 0.3s ease-in-out;
    }

    .article-card-image {
      --s: calc(320px - (24px + 24px));
      width: var(--s);
      height: var(--s);
      border-radius: 24px;
      background-size: cover;
      background-position: center;
      position: relative;
      z-index: 1;
      background-color: #fff;
      /* White background when no image */
      display: flex;
      align-items: center;
      justify-content: center;
    }



    .article-card-title {
      color: var(--color-primary);
      padding-block: 10px;
      text-align: center;
      position: relative;
      font-weight: bold;
      font-size: 1rem;
      z-index: 1;
    }

    .icon-arrow {
      position: absolute;
      z-index: 1;
      left: 0;
      bottom: 0;
      rotate: 225deg;
      font-size: 32px;
      font-weight: 400;
      color: var(--color-primary);
    }

    .article-excerpt {
      font-size: 12px;
      position: relative;
      z-index: 1;
      color: #777;
      text-wrap: balance;
      text-align: center;
      padding-inline: 16px;
      padding-block: 0 16px;
      line-height: 1.5;
    }

    .card-bg {
      position: absolute;
      border-radius: 1.5rem;
      height: 65%;
      width: 100%;
      left: 0;
      z-index: 0;
      top: 35%;
      background-color: #EEF7F1;
    }

    section {
      display: flex;
      position: relative;
      z-index: 1;
      font-size: 10px;
      margin-top: -12px;
      padding-inline: 40px;
      justify-content: space-between;
      width: 100%;

      p,
      span {
        border-radius: 32px;
        padding: 3px 8px;
        display: flex;
        gap: 4px;
        align-items: center;
      }

      p {
        background-color: var(--color-primary);
        color: #fff;
      }

      span {
        background-color: #fff;
        color: var(--color-primary);
      }

    }
  }

}

.archive-page-wrapper {
  gap: 16px;
  min-height: 65vh;
  display: grid;
  grid-template-columns: 320px 1fr;

  @media (width <=680px) {
    grid-template-columns: 1fr;
  }

  .article-card {
    zoom: 0.9
  }

  .pagination {
    padding-top: 24px;
  }

  .sidebar-card {
    padding-inline: 16px;
    padding-block: 32px 16px;
    border-radius: 16px;
    margin-block: 32px;
    background-color: #eee;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    position: relative;

    h3 {
      background-color: var(--color-primary);
      display: flex;
      align-items: center;
      gap: 8px;
      color: #fff;
      position: absolute;
      top: -16px;
      right: 16px;
      padding: 4px 16px;
      align-self: flex-start;
      font-family: 300;
      border-radius: 16px;
      font-size: medium;
    }


    li {
      list-style: none;

      a {
        display: flex;
        align-items: center;
        gap: 4px;
        transition: all;
        padding: 4px;
        transition: all 0.3s ease-in-out;

        &.active {
          color: var(--color-primary);
        }

        &:hover {
          transition: all 0.3s ease-in-out;
          color: var(--color-primary);
          translate: -8px;
        }
      }
    }
  }
}

.pagination {
  display: flex;
  margin-block: 15px;

  .page-numbers {
    display: flex;
    gap: 8px;

    * {
      color: var(--color-primary);
    }

    li {
      all: unset;

      a,
      span {
        min-width: 32px;
        max-width: fit-content;
        height: 32px;
        display: grid;
        place-items: center;
        border-radius: 1000px;
        background-color: #eee;

        &.current {
          background-color: var(--color-primary);
          color: #fff;
        }

        &:hover:not(.current) {
          color: #fff;
          background-color: var(--color-primary);
        }
      }

      .next,
      .prev {
        padding: 0 16px;
        display: flex;
        gap: 5px;

        i {
          color: inherit;
        }
      }
    }
  }
}

.footer-container {
  background-color: #1E883F;
  color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem auto;
  max-width: 1440px;
  width: 95%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

  .site-branding {
    color: #fff;

    .site-logo {
      path {
        fill: white;
      }
    }

    .site-slogan,
    .site-title a {
      color: #fff;
    }
  }

  .grid {
    --cols: 4;
    gap: 32px;

    .span {
      @media (width <=680px) {
        grid-column: span var(--cols);
      }
    }
  }

  .footer-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.5rem;

    &::before {
      content: '\e942';
      font-family: 'icomoon';
      display: inline-block;
      color: #fff;
      margin-left: 0.5rem;
      font-size: 10px;
    }
  }


  .footer-link-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;

    i {
      margin-left: 0.5rem;
      background-color: white;
      color: var(--color-primary);
      border-radius: 100pc;
      height: 24px;
      width: 24px;
      display: grid;
      place-content: center;
    }
  }


  .social-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0.75rem;
    transition: transform 0.2s;

    &:hover {
      transform: scale(1.1);
    }
  }

}


.shape {
  --w: 325px;
  --h: 325px;
  width: var(--w);
  height: var(--h);
  clip-path: polygon(calc(100% - 24px) 0px, calc(100% - 24px) 0px, calc(100% - 20.107035px) 0.3141204px, calc(100% - 16.41408px) 1.2235392px, calc(100% - 12.970545px) 2.6788428px, calc(100% - 9.82584px) 4.6306176px, calc(100% - 7.029375px) 7.02945px, calc(100% - 4.63056px) 9.8259264px, calc(100% - 2.678805px) 12.9706332px, calc(100% - 1.22352px) 16.4141568px, calc(100% - 0.31411500000002px) 20.1070836px, calc(100% - 5.6843418860808E-14px) 24px, calc(100% - 0px) calc(100% - 24px), calc(100% - 0px) calc(100% - 24px), calc(100% - 0.31411499999996px) calc(100% - 20.107035px), calc(100% - 1.22352px) calc(100% - 16.41408px), calc(100% - 2.678805px) calc(100% - 12.970545px), calc(100% - 4.6305599999999px) calc(100% - 9.82584px), calc(100% - 7.029375px) calc(100% - 7.029375px), calc(100% - 9.82584px) calc(100% - 4.63056px), calc(100% - 12.970545px) calc(100% - 2.678805px), calc(100% - 16.41408px) calc(100% - 1.22352px), calc(100% - 20.107035px) calc(100% - 0.31411500000002px), calc(100% - 24px) calc(100% - 5.6843418860808E-14px), 78.7933px calc(100% - 0px), 78.7933px calc(100% - 0px), 75.6259604px calc(100% - 0.12549399999995px), 72.4981152px calc(100% - 0.49827199999993px), 69.4231948px calc(100% - 1.112778px), 66.4146296px calc(100% - 1.963456px), 63.48585px calc(100% - 3.04475px), 60.6502864px calc(100% - 4.351104px), 57.9213692px calc(100% - 5.876962px), 55.3125288px calc(100% - 7.616768px), 52.8371956px calc(100% - 9.564966px), 50.5088px calc(100% - 11.716px), 11.7155px calc(100% - 50.51px), 11.7155px calc(100% - 50.51px), 9.5646501px calc(100% - 52.838252px), 7.6165888px calc(100% - 55.313456px), 5.8768787px calc(100% - 57.922184px), 4.3510824px calc(100% - 60.651008px), 3.0447625px calc(100% - 63.4865px), 1.9634816px calc(100% - 66.415232px), 1.1128023px calc(100% - 69.423776px), 0.4982872px calc(100% - 72.498704px), 0.1254989px calc(100% - 75.626588px), 1.5583207625542E-31px calc(100% - 78.794px), 0px 24px, 0px 24px, 0.3141204px 20.1070836px, 1.2235392px 16.4141568px, 2.6788428px 12.9706332px, 4.6306176px 9.8259264px, 7.02945px 7.02945px, 9.8259264px 4.6306176px, 12.9706332px 2.6788428px, 16.4141568px 1.2235392px, 20.1070836px 0.3141204px, 24px 3.9733444681785E-31px, calc(100% - 24px) 0px);

  background-color: inherit;
}

label.input,
.form-row {
  position: relative;
  display: flex;
  flex-flow: column;
  gap: 8px;
  font-weight: 400;
  margin-bottom: 8px;

  span {
    color: #777777;

    i {
      all: unset;
      color: red;
    }
  }

  textarea {
    min-height: 182px;
  }

  input,
  textarea,
  select {
    font-family: YekanBakh;
    border-radius: 16px !important;
    padding: 16px 16px !important;
    background-color: #FAFAFA;
    border: none !important;
    border-bottom: 2px solid var(--color-primary) !important;

    &:focus-within {
      outline: none;
    }
  }

  input:has(required)~span i::after {
    content: "(ضروری)";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 12px;
    font-weight: 500;
    color: red;
  }

  [class^='icon'] {
    all: unset;
    position: absolute;
    top: 50%;
    left: 0;
    color: #777;
    font-size: 27px;
    translate: 50% -50%;
    color: var(--color-primary);
  }
}