@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
 * {
     margin: 0px;
     padding: 0px;
     box-sizing: border-box;
     font-family: "Vazirmatn", sans-serif;
 }



 html,
 body {
     width: 100%;
     max-width: 100%;
     margin: 0;
     padding: 0;
 }

 /* the out menu */
 div#outmenu {
     width: 100%;
     height: 30px;
     background-color: rgb(69, 69, 69);
     display: flex;
 }

 /* div#spandiv{
    
} */

 div#spandiv>span#s1 {
     margin-left: 10px;
     margin-right: 10px;
 }


 div#spandiv>span#s2 {
     margin-left: 0px;
     margin-right: 100px;
 }

 div#divsmallmenu>div#btns {
     width: 100%;
     height: 30%;
     display: flex;
     align-items: center;
     justify-content: space-evenly;
     margin-top: 10px;
 }

 div#btns>a#but1 {
     width: 45%;
     height: 50px;
     border: none;
     border-radius: 10px;
     outline: 1px solid #029034;
     color: #029034;
     text-decoration: none;
     list-style: none;
     transition: 0.5s;
     text-align: center;
     padding-top: 13px;
 }

 div#btns>a#but1:hover {
     background-color: #029034;
     color: white;
     margin-bottom: 15px;
 }

 div#btns>a#but2 {
     width: 45%;
     height: 50px;
     border: none;
     border-radius: 10px;
     outline: 1px solid #029034;
     color: #029034;
     text-decoration: none;
     list-style: none;
     transition: 0.5s;
     text-align: center;
     padding-top: 13px;
 }

 div#btns>a#but2:hover {
     background-color: #029034;
     color: white;
     margin-bottom: 15px;
 }



 div#outmenu>div#logo {
     width: 50%;
     height: 100%;
     margin-left: 570px;
     display: flex;
     direction: rtl;
     gap: 10px;
 }

 div#logo>a>img {
     width: 28px;
     height: 28px;

 }

 /* the out menu */

 /* break */


 /* the top menu */
 div#topmenu {
     width: 100%;
     height: 80px;
     background-color: white;
     display: flex;
     position: relative;
     z-index: 10000;
     overflow: visible;
 }


 div#topmenu>a>button#cc {
     width: 100px;
     height: 50px;
     background-color: #00a24c;
     border: none;
     border-radius: 10px;
     color: whitesmoke;
     margin: 15px 0px 10px 50px;
     transition: 0.5s;
 }


 div#topmenu>a>button#cc:hover {
     background-color: whitesmoke;
     color: black;
     outline: 1px solid #029034;
     transform: translateY(-2px) scale(1.03);

 }

 div#topmenu>a>button#cc2 {
     width: 100px;
     height: 50px;
     background-color: whitesmoke;
     border: none;
     outline: 1px dashed whitesmoke;
     border-radius: 10px;
     margin: 15px 200px 10px 20px;
     transition: 0.5s;
 }


 div#topmenu>a>button#cc2:hover {
     background-color: #00a24c;
     color: white;
     transform: translateY(-2px) scale(1.03);

 }

 div#topmenu>input {
     width: 600px;
     height: 40px;
     border-radius: 15px;
     border: none;
     text-align: right;
     padding: 10px;
     margin: 20px 10px 0px 0px;
     box-shadow: 0px 0px 5px 0px;
     outline: 1px solid #00a24c;
     color: rgb(194, 194, 194);
     transition: 1s;
 }

 div#topmenu>input:hover {

     transform: translateY(-2px) scale(1.03);
 }


 div#topmenu>span {
     margin: 28px 300px 50px 0px;
 }

 div#topmenu>h2 {
     margin: 20px 10px 10px 10px;
 }

 /* the top menu */

 /* break */

 /* the button menu */
 div#menu {
     width: 100%;
     height: 60px;
     background-color: whitesmoke;
     direction: rtl;

 }

 div#menu>nav {
     width: 100%;
     height: 100%;
     display: flex;
     flex-direction: row;
     flex-wrap: nowrap;
     align-items: center;
 }

 div#menu>nav>ul {
     width: 50%;
     height: 100%;
     display: flex;
     justify-content: space-evenly;
     align-items: center;
     margin-right: 5px;
 }

 span#bs {
     width: 3px;
     height: 30px;
     background-color: gray;
     margin-top: 15px;
     margin-right: 25px;
     border-radius: 50px;
 }


 span#bs2 {
     width: 3px;
     height: 25px;
     background-color: gray;
     margin-top: 22px;
     margin-right: 5px;
     border-radius: 50px;
 }


 div#menu>nav>ul>li {
     list-style: none;
     transition: 0.5s;
 }

 div#menu>nav>ul>li:hover {
     transform: translateY(-3px) scale(1.04);
 }

 div#menu>nav>ul>li>a {
     padding: 8px;
     height: 15px;
     border-radius: 15px;
     text-decoration: none;
     color: black;
     transition: 0.5s;
 }


 div#menu>nav>ul>li>a:hover {
     background-color: #00a24c;
     color: white;

 }


 /* the right menu */
 .menu-button {
     top: 30px;
     right: 30px;

     width: 52px;
     height: 52px;

     border: 1px solid rgba(255, 255, 255, .15);
     border-radius: 20px;

     background:
         linear-gradient(145deg,
             rgba(34, 197, 94, .95),
             rgba(8, 122, 53, .95));

     box-shadow:
         0 15px 40px rgba(0, 0, 0, .35),
         0 0 30px rgba(34, 197, 94, .18);

     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     gap: 6px;

     cursor: pointer;
     /* z-index: ; */

     margin-top: 5px;

     margin-right: 5px;

     transition: .35s ease;
 }

 /* br */
 .menu-button:hover {
     transform: translateY(-3px) scale(1.04);

     box-shadow:
         0 20px 45px rgba(0, 0, 0, .4),
         0 0 35px rgba(34, 197, 94, .35);
 }

 .menu-button span {
     width: 23px;
     height: 2px;
     background: white;
     border-radius: 10px;
     transition: .3s ease;
 }

 /* the right menu aside */
 /* ---------------- Side Menu ---------------- */

 .side-menu {
     position: fixed;

     top: 20px;
     right: 20px;
     bottom: 20px;

     width: min(390px, calc(100vw - 40px));

     padding: 28px;

     border-radius: 32px;

     background:
         linear-gradient(145deg,
             rgba(243, 244, 243, 0.96),
             rgba(238, 239, 239, 0.98));

     border: 1px solid rgba(92, 255, 139, .15);

     box-shadow:
         -25px 0 80px rgba(0, 0, 0, .35),
         inset 0 1px 0 rgba(255, 255, 255, .05);

     backdrop-filter: blur(25px);
     -webkit-backdrop-filter: blur(25px);

     transform: translateX(calc(100% + 40px));
     opacity: 0;

     transition:
         transform .55s cubic-bezier(.77, 0, .18, 1),
         opacity .35s ease;

     z-index: 10000;

     display: flex;
     flex-direction: column;
 }

 .side-menu.active {
     transform: translateX(0);
     opacity: 1;
 }

 /* ---------------- Header ---------------- */

 .menu-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
 }

 .logo {
     display: flex;
     align-items: center;
     gap: 12px;
 }

 .logo-icon {
     width: 46px;
     height: 46px;

     display: flex;
     align-items: center;
     justify-content: center;

     border-radius: 15px;

     color: white;
     font-size: 22px;

     background:
         linear-gradient(145deg,
             #22c55e,
             #087a35);

     box-shadow:
         0 8px 25px rgba(34, 197, 94, .25);
 }

 .logo strong {
     display: block;
     font-size: 17px;
 }

 .logo small {
     display: block;
     margin-top: 2px;
     color: #6c927b;
     font-size: 11px;
     direction: ltr;
 }

 .close-button {
     width: 42px;
     height: 42px;

     border-radius: 14px;
     border: 1px solid rgba(255, 255, 255, .08);

     color: #9fb8a8;
     background: rgba(255, 255, 255, .04);

     font-size: 27px;
     line-height: 1;

     cursor: pointer;

     transition: .3s ease;
 }


 .close-button:hover {
     color: white;
     background: rgba(239, 68, 68, .18);
     border-color: rgba(239, 68, 68, .3);
     transform: rotate(90deg);
 }

 /* ---------------- Line ---------------- */

 .menu-line {
     width: 100%;
     height: 1px;

     margin: 28px 0;

     background:
         linear-gradient(to left,
             rgba(34, 197, 94, .35),
             rgba(255, 255, 255, .04),
             transparent);
 }

 /* ---------------- Navigation ---------------- */

 .navigation {
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .nav-item {
     position: relative;

     display: flex;
     align-items: center;

     height: 62px;

     padding: 0 15px;

     color: #0c0c0c;
     text-decoration: none;

     border-radius: 18px;

     transition: .3s ease;

     overflow: hidden;
 }

 .nav-item::before {
     content: "";

     position: absolute;
     inset: 0;

     background:
         linear-gradient(90deg,
             transparent,
             rgba(34, 197, 94, .12));

     opacity: 0;

     transition: .3s ease;
 }

 .nav-item:hover,
 .nav-item.active {
     color: white;
     background: #029034;
 }

 .nav-item:hover::before,
 .nav-item.active::before {
     opacity: 1;
 }

 .nav-icon {
     width: 38px;
     height: 38px;

     display: flex;
     align-items: center;
     justify-content: center;

     margin-left: 12px;

     border-radius: 12px;

     color: #029034;
     background: rgba(34, 197, 94, .08);

     font-size: 18px;

     transition: .3s ease;
 }

 .nav-item:hover .nav-icon,
 .nav-item.active .nav-icon {
     color: white;
     background: var(--green);
     box-shadow: 0 5px 18px rgba(34, 197, 94, .25);
 }

 .arrow {
     margin-right: auto;

     color: #426b51;
     font-size: 18px;

     transform: translateX(5px);

     transition: .3s ease;
 }

 .nav-item:hover .arrow,
 .nav-item.active .arrow {
     color: #55e889;
     transform: translateX(0);
 }

 /* ---------------- Footer ---------------- */





 /* ========================================
           FOOTER
        ======================================== */

 .herbal-footer {
     position: relative;
     margin-top: 80px;
     background: #0d2118;
     color: #fff;
     overflow: hidden;
     margin-top: 48px;
 }


 /* نورهای پس زمینه */

 .footer-glow {
     position: absolute;
     border-radius: 50%;
     filter: blur(80px);
     pointer-events: none;
     opacity: .16;
 }

 .footer-glow.one {
     width: 300px;
     height: 300px;
     background: #35b86b;
     top: -180px;
     right: 5%;
 }

 .footer-glow.two {
     width: 250px;
     height: 250px;
     background: #8bdc5b;
     bottom: -150px;
     left: 8%;
 }


 /* ========================================
           CONTAINER
        ======================================== */

 .footer-container {
     width: min(1250px, calc(100% - 50px));
     margin: auto;
     position: relative;
     z-index: 2;
 }


 /* ========================================
           NEWSLETTER
        ======================================== */

 .footer-newsletter {
     position: relative;
     top: -45px;

     background: rgba(213, 211, 211, 0.97);
     color: #17251e;

     border-radius: 22px;
     padding: 26px 30px;

     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 30px;

     box-shadow: 0 18px 45px rgba(0, 0, 0, .14);

     margin-top: 70px;
 }


 .newsletter-text h3 {
     font-size: 20px;
     margin-bottom: 7px;
     color: #153b27;
 }

 .newsletter-text p {
     font-size: 13px;
     color: #758078;
 }


 .newsletter-form {
     display: flex;
     width: 430px;
     max-width: 100%;
     background: #f2f6f3;
     border: 1px solid #e1e9e3;
     border-radius: 13px;
     padding: 5px;
 }

 .newsletter-form input {
     flex: 1;
     border: none;
     outline: none;
     background: transparent;
     padding: 0 14px;
     font-family: inherit;
     font-size: 13px;
     color: #333;
 }

 .newsletter-form button {
     border: none;
     background: #218c50;
     color: white;

     padding: 11px 20px;
     border-radius: 9px;

     font-family: inherit;
     cursor: pointer;

     transition: .25s;
 }

 .newsletter-form button:hover {
     background: #176d3d;
     transform: translateY(-1px);
 }


 /* ========================================
           MAIN FOOTER
        ======================================== */

 .footer-main {
     padding: 15px 0 45px;

     display: grid;

     grid-template-columns:
         1.4fr 1fr 1fr 1.2fr;

     gap: 55px;
 }


 /* ========================================
           BRAND
        ======================================== */

 .footer-brand {
     max-width: 330px;
 }


 .footer-logo {
     display: flex;
     align-items: center;
     gap: 12px;

     margin-bottom: 18px;
 }


 .footer-logo-icon {
     width: 48px;
     height: 48px;

     display: flex;
     align-items: center;
     justify-content: center;

     background: linear-gradient(145deg,
             #22e66a,
             #27aa60);

     border-radius: 15px;

     font-size: 21px;

     box-shadow:
         0 8px 20px rgba(21, 240, 112, 0.25);
 }


 .footer-logo h2 {
     font-size: 21px;
     font-weight: 800;
 }

 .footer-logo span {
     display: block;
     font-size: 10px;
     color: #8db39c;
     margin-top: 2px;
     font-weight: 400;
 }


 .footer-description {
     color: #aabbb1;
     font-size: 13px;
     line-height: 2.1;
     margin-bottom: 22px;
 }


 /* ========================================
           SOCIALS
        ======================================== */

 .footer-socials {
     display: flex;
     gap: 9px;
 }

 .footer-socials a {
     width: 38px;
     height: 38px;

     display: flex;
     align-items: center;
     justify-content: center;

     color: #b8c9bf;
     background: rgba(255, 255, 255, .06);

     border: 1px solid rgba(255, 255, 255, .07);

     border-radius: 11px;

     text-decoration: none;

     transition: .25s;
 }

 .footer-socials a:hover {
     background: #29965a;
     color: white;
     transform: translateY(-4px);
     border-color: transparent;
 }


 /* ========================================
           COLUMNS
        ======================================== */

 .footer-column h3 {
     position: relative;

     font-size: 15px;
     margin-bottom: 20px;

     padding-right: 12px;
 }


 .footer-column h3::before {
     content: "";

     position: absolute;
     right: 0;
     top: 5px;

     width: 3px;
     height: 15px;

     background: #39b96a;
     border-radius: 10px;
 }


 .footer-column ul {
     list-style: none;
 }

 .footer-column li {
     margin-bottom: 13px;
 }

 .footer-column a {
     color: #aabbb1;
     text-decoration: none;

     font-size: 12.5px;

     transition: .25s;
 }

 .footer-column a:hover {
     color: #55d681;
     padding-right: 5px;
 }


 /* ========================================
           CONTACT
        ======================================== */

 .contact-item {
     display: flex;
     align-items: flex-start;

     gap: 11px;

     margin-bottom: 15px;

     color: #aabbb1;
     font-size: 12px;

     line-height: 1.8;
 }

 .contact-item i {
     color: #45c674;
     font-size: 14px;

     margin-top: 3px;

     width: 17px;
     text-align: center;
 }


 /* ========================================
           TRUST
        ======================================== */

 .footer-trust {
     display: flex;
     gap: 8px;
     margin-top: 18px;
 }


 .trust-box {
     width: 65px;
     height: 65px;

     display: flex;
     align-items: center;
     justify-content: center;

     background: rgba(255, 255, 255, .05);

     border: 1px solid rgba(255, 255, 255, .08);

     border-radius: 12px;

     color: #88a898;

     font-size: 10px;

     text-align: center;

     transition: .25s;
 }

 .trust-box:hover {
     border-color: #3dbd6c;
     color: #61d889;
     transform: translateY(-3px);
 }

 .trust-box i {
     display: block;
     font-size: 21px;
     margin-bottom: 4px;
 }


 /* ========================================
           BOTTOM
        ======================================== */

 .footer-bottom {
     border-top: 1px solid rgba(255, 255, 255, .08);

     padding: 20px 0;

     display: flex;
     align-items: center;
     justify-content: space-between;

     gap: 20px;
 }


 .copyright {
     color: #81968a;
     font-size: 11px;
 }


 .footer-bottom-links {
     display: flex;
     gap: 22px;
 }

 .footer-bottom-links a {
     color: #81968a;
     font-size: 11px;
     text-decoration: none;

     transition: .2s;
 }

 .footer-bottom-links a:hover {
     color: #55d681;
 }


 /* ========================================
           BACK TO TOP
        ======================================== */

 .back-top {
     position: fixed;

     left: 25px;
     bottom: 25px;

     width: 45px;
     height: 45px;

     border: none;

     background: #238a4e;
     color: white;

     border-radius: 13px;

     display: flex;
     align-items: center;
     justify-content: center;

     cursor: pointer;

     box-shadow: 0 8px 25px rgba(0, 0, 0, .2);

     opacity: 0;
     visibility: hidden;

     transform: translateY(15px);

     transition: .3s;

     z-index: 100;
 }


 .back-top.show {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }

 .back-top:hover {
     background: #176c3d;
     transform: translateY(-4px);
 }


 /* ========================================
           RESPONSIVE
        ======================================== */

 @media (max-width: 950px) {

     .footer-main {
         grid-template-columns: 1fr 1fr;
         gap: 40px;
     }

     .footer-newsletter {
         flex-direction: column;
         align-items: stretch;
     }

     .newsletter-form {
         width: 100%;
     }
 }


 @media (max-width: 600px) {

     .footer-container {
         width: min(100% - 30px, 500px);
     }

     .footer-main {
         grid-template-columns: 1fr;
         gap: 32px;
     }

     .footer-brand {
         max-width: 100%;
     }

     .footer-newsletter {
         padding: 22px;
         top: -30px;
     }

     .newsletter-form {
         flex-direction: column;
         background: transparent;
         border: none;
         gap: 8px;
         padding: 0;
     }

     .newsletter-form input {
         height: 45px;
         background: #f2f6f3;
         border-radius: 10px;
     }

     .newsletter-form button {
         height: 45px;
     }

     .footer-bottom {
         flex-direction: column;
         text-align: center;
     }

     .footer-bottom-links {
         flex-wrap: wrap;
         justify-content: center;
     }

     .back-top {
         left: 15px;
         bottom: 15px;
     }
 }


 /* footer */

 /* break */

 /* toptext */
 div#divmenu {
     width: 97%;
     height: 420px;
     background-color: #029034;
     border-radius: 25px;
     margin: 20px auto;
 }

 div#divfather {
     width: 60%;
     height: 95%;
     margin-right: 10px;
     position: relative;
     padding: 2px;
     overflow: hidden;
 }

 /* div#divfather::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, transparent, transparent, #00ff00); 
  animation: rotate 4s linear infinite;
} */

 div#divsmallmenu {
     width: 90%;
     height: 90%;
     background-color: whitesmoke;
     border-radius: 25px;
     margin: 20px auto;
     position: relative;
     padding: 20px;
 }

 @keyframes rotate {
     from {
         transform: rotate(0deg);
     }

     to {
         transform: rotate(360deg);
     }
 }

 /* .content {
  position: relative;
  background: #111;
  color: white;
  padding: 20px;
  border-radius: 13px;
  text-align: center;
} */

 div#divsmallmenu>h1 {
     font-size: 18px;
     margin-right: 200px;
     margin-top: 10px;
     color: #029034;
 }

 div#divsmallmenu>p {
     font-size: 20px;
     text-align: center;
     margin-top: 30px;
     padding: 10px;
 }

 /* toptext */


 /* swiper */





 /* =================================================
           SECTION
        ================================================= */

 .products-section {

     width: 100%;


     margin-top: 36px;
     padding: 42px 35px;

     /* z-index: 100; */

 }


 .section-title {

     text-align: center;

     margin-bottom: 30px;

 }


 .section-title h2 {

     font-size: 28px;

     font-weight: 800;

     color: #063d2d;

     margin-bottom: 8px;

 }


 .section-title p {

     color: #87968f;

     font-size: 13px;

 }



 /* =================================================
           SWIPER
        ================================================= */

 .products-swiper {

     width: 100%;

     padding:
         10px 55px 45px;



 }


 .swiper-slide {

     height: auto;

     z-index: 100;
 }



 /* =================================================
           PRODUCT CARD
        ================================================= */

 .product-card {

     width: 100%;

     background: white;

     overflow: hidden;

     border-radius: 0 0 32px 32px;

     box-shadow:
         0 12px 35px rgba(20, 80, 55, 0.08);

     transition: 0.3s ease;

     z-index: 100;

 }


 .product-card:hover {

     transform: translateY(-5px);

     box-shadow:
         0 18px 40px rgba(20, 80, 55, 0.13);

 }



 /* =================================================
           IMAGE
        ================================================= */

 .product-image {

     width: 100%;

     height: 220px;

     position: relative;

     overflow: hidden;

     background:
         linear-gradient(145deg,
             #e8f4ed,
             #d1e6d9);


     z-index: 100;
 }


 .product-image img {

     width: 100%;

     height: 100%;

     object-fit: cover;


     z-index: 100;
 }



 /* =================================================
           FAVORITE
        ================================================= */

 .favorite {

     position: absolute;

     top: 15px;

     left: 15px;

     width: 45px;

     height: 45px;

     border: none;

     border-radius: 50%;

     background: white;

     color: #078f52;

     font-size: 23px;

     cursor: pointer;

     display: flex;

     align-items: center;

     justify-content: center;

     box-shadow:
         0 7px 20px rgba(0, 0, 0, 0.08);

     z-index: 5;

     transition: 0.25s;

 }


 .favorite:hover {

     transform: scale(1.08);

 }



 /* =================================================
           BADGE
        ================================================= */

 .product-badge {

     position: absolute;

     top: 15px;

     right: 15px;

     background: #078f52;

     color: white;

     padding: 9px 15px;

     border-radius: 25px;

     font-size: 11px;

     font-weight: 700;

     z-index: 5;

 }



 /* =================================================
           CONTENT
        ================================================= */

 .product-content {

     padding: 22px;

 }


 .category {

     display: inline-flex;

     align-items: center;

     gap: 5px;

     background: #edf8f2;

     color: #078b53;

     padding: 7px 13px;

     border-radius: 25px;

     font-size: 11px;

     font-weight: 600;

     margin-bottom: 12px;

 }


 .product-title {

     color: #063d2d;

     font-size: 20px;

     font-weight: 800;

     margin-bottom: 7px;

 }


 .product-description {

     color: #81918a;

     font-size: 11px;

     line-height: 1.9;

     height: 42px;

     overflow: hidden;

 }



 /* =================================================
           TAGS
        ================================================= */

 .tags {

     display: flex;

     gap: 6px;

     flex-wrap: wrap;

     margin-top: 13px;

 }


 .tag {

     background: #fbfdfc;

     border: 1px solid #e5eee9;

     color: #71817a;

     padding: 6px 9px;

     border-radius: 10px;

     font-size: 9px;

 }



 /* =================================================
           RATING
        ================================================= */

 .rating {

     display: flex;

     align-items: center;

     gap: 6px;

     margin-top: 14px;

     padding-bottom: 14px;

     border-bottom: 1px solid #edf2ef;

 }


 .rating-number {

     color: #063d2d;

     font-size: 11px;

     font-weight: 700;

 }


 .stars {

     color: #f5a900;

     font-size: 15px;

     letter-spacing: 1px;

 }


 .reviews {

     color: #9aa8a2;

     font-size: 9px;

 }



 /* =================================================
           BOTTOM
        ================================================= */

 .product-bottom {

     display: flex;

     align-items: center;

     justify-content: space-between;

     gap: 10px;

     margin-top: 14px;

 }


 .price-box {

     display: flex;

     flex-direction: column;

     gap: 2px;

 }


 .old-price {

     color: #a9b2ae;

     text-decoration: line-through;

     font-size: 9px;

 }


 .price {

     color: #078b53;

     font-size: 17px;

     font-weight: 800;

 }


 .currency {

     font-size: 9px;

 }



 /* =================================================
           CART
        ================================================= */

 .add-cart {

     border: none;

     background: #078f50;

     color: white;

     height: 47px;

     padding: 0 18px;

     border-radius: 14px;

     font-family: inherit;

     font-size: 10px;

     font-weight: 700;

     cursor: pointer;

     display: flex;

     align-items: center;

     justify-content: center;

     gap: 7px;

     transition: 0.3s;

 }


 .add-cart:hover {

     background: #056f3d;

     transform: translateY(-2px);

 }


 .cart-icon {

     font-size: 16px;

 }



 /* =================================================
           SWIPER BUTTONS
        ================================================= */

 .swiper-button-next,
 .swiper-button-prev {

     width: 48px;

     height: 48px;

     border-radius: 50%;

     background: #078f52;

     color: white;

     box-shadow:
         0 8px 22px rgba(0, 130, 75, 0.22);

     transition: 0.3s;

 }


 .swiper-button-next:hover,
 .swiper-button-prev:hover {

     background: #056f3d;

     transform: scale(1.08);

 }


 .swiper-button-next::after,
 .swiper-button-prev::after {

     font-size: 17px;

     font-weight: 900;

 }



 /* =================================================
           PAGINATION
        ================================================= */

 .swiper-pagination-bullet {

     width: 7px;

     height: 7px;

     background: #b8ccc1;

     opacity: 1;

 }


 .swiper-pagination-bullet-active {

     width: 23px;

     border-radius: 10px;

     background: #078f52;

 }



 /* =================================================
           CATEGORY SECTION
        ================================================= */

 .category-section {

     width: 100%;

     padding: 20px 35px 60px;

 }


 .category-title {

     text-align: center;

     margin-bottom: 25px;

 }


 .category-title h2 {

     font-size: 25px;

     color: #063d2d;

     margin-bottom: 7px;

 }


 .category-title p {

     font-size: 12px;

     color: #87968f;

 }


 .categories {

     display: flex;

     justify-content: center;

     align-items: center;

     flex-wrap: wrap;

     gap: 12px;

 }


 .category-btn {

     border: 1px solid #dcebe3;

     background: white;

     color: #467064;

     padding: 12px 22px;

     border-radius: 30px;

     font-family: inherit;

     font-size: 12px;

     cursor: pointer;

     transition: 0.3s;

 }


 .category-btn:hover {

     background: #078f52;

     color: white;

     border-color: #078f52;

     transform: translateY(-2px);

 }


 .category-btn.active {

     background: #078f52;

     color: white;

     border-color: #078f52;

 }



 /* =================================================
           RESPONSIVE
        ================================================= */

 @media (min-width: 1400px) {

     .products-section {

         padding-left: 45px;

         padding-right: 45px;

     }

     .category-section {

         padding-left: 45px;

         padding-right: 45px;

     }

 }


 @media (max-width: 1100px) {

     .products-section {

         padding-left: 25px;

         padding-right: 25px;

     }

 }


 @media (max-width: 700px) {

     .products-section {

         padding:
             40px 15px;

     }

     .category-section {

         padding:
             20px 15px 45px;

     }

     .products-swiper {

         padding-left: 35px;

         padding-right: 35px;

     }

 }


 @media (max-width: 500px) {

     .product-image {

         height: 240px;

     }

     .products-swiper {

         padding-left: 30px;

         padding-right: 30px;

     }

 }



 /* swiper */












 /*=======================the group of products========================*/

 div#group {
     width: 95%;
     height: 700px;
     background-color: whitesmoke;
     border-radius: 35px;
     margin: 10px auto;
 }


 div#group>button {
     width: 250px;
     height: 150px;
     background-color: white;
     color: black;
     font-size: 18px;
     border-radius: 15px;
     border: none;
     outline: 2px solid rgb(16, 180, 1);
     outline-offset: 2px;
     margin-left: 600px;
     margin-top: 20px;
     transition: 0.5s;
 }

 div#group>button:hover {
     background-color: rgb(16, 180, 1);
     transform: translateY(-3px) scale(1.10);
     color: white;
 }

 div#group>button#bn {
     width: 250px;
     height: 150px;
     background-color: rgb(16, 180, 1);
     color: white;
     font-size: 18px;
     border-radius: 15px;
     border: none;
     outline: 2px solid rgb(16, 180, 1);
     outline-offset: 2px;
     margin-left: 600px;
 }


 div#group>div#child {
     display: flex;
     /* justify-content: space-between; */
     align-items: center;
     margin-left: 179px;
     gap: 600px;
 }

 div#child2>button,
 div#child>button {
     width: 250px;
     height: 150px;
     background-color: rgb(16, 180, 1);
     color: white;
     font-size: 18px;
     border-radius: 15px;
     border: none;
     outline: 2px solid rgb(16, 180, 1);
     outline-offset: 2px;
     transition: 0.5s;
 }

 div#child>button:hover {
     transform: translateY(-3px) scale(1.10);
     background-color: white;
     color: black;
 }


 div#group>div#child2 {
     display: flex;
     /* justify-content: space-evenly; */
     align-items: center;
     margin-left: 430px;
     margin-top: 30px;
     margin-bottom: 10px;
     gap: 100px;
 }


 div#group>div#child2>button:hover {
     transform: translateY(-3px) scale(1.10);
     background-color: white;
     color: black;
 }

 /*=======================the group of products========================*/



 /* br */


 /* ===============دکمه بازگشت به بالا ===================*/
 :root {
     --primary-color: rgb(16, 180, 1);
     --bg-color: #f8fafc;
 }



 .scroll-to-top {
     position: fixed;
     bottom: 30px;
     right: 30px;
     width: 56px;
     height: 56px;
     border-radius: 50%;
     border: none;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     background-color: white;
     /* پس‌زمینه سفید خود دکمه */
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     z-index: 1000;

     /* اوت‌لاین دور دکمه که با گرادینت دایره‌ای (conic-gradient) درصد اسکرول را نشان می‌دهد */
     padding: 3px;
     /* ضخامت اوت‌لاین */
     background-image: conic-gradient(var(--primary-color) 0deg, #e2e8f0 0deg);

     opacity: 0;
     visibility: hidden;
     transform: translateY(20px);
     transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
 }

 .scroll-to-top.show {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }

 /* لایه داخلی برای حفظ پس‌زمینه سفید دکمه و قرارگیری آیکون */
 .scroll-inner {
     width: 100%;
     height: 100%;
     background-color: white;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 /* آیکون فلش */
 .scroll-to-top svg {
     width: 22px;
     height: 22px;
     fill: none;
     stroke: var(--primary-color);
     stroke-width: 2.5;
     stroke-linecap: round;
     stroke-linejoin: round;
 }

 /* نمایش درصد بالای دکمه */
 .scroll-percent-label {
     position: absolute;
     top: -32px;
     left: 50%;
     transform: translateX(-50%);
     background: var(--primary-color);
     color: white;
     font-size: 11px;
     font-weight: bold;
     padding: 2px 6px;
     border-radius: 4px;
     white-space: nowrap;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
 }

 /* ===============دکمه بازگشت به بالا ===================*/







 /* break */







 /* --------------------the package-------------------- */

 :root {
     --primary-color: rgb(16, 180, 1);
     --line-color: #cbd5e1;
 }


 .container {
     position: relative;
     display: flex;
     flex-direction: column;
     align-items: center;
     width: 100%;
     max-width: 800px;
     margin-left: 350px;
     margin-top: 70px;
 }

 /* کارت‌ها */
 .main-card {
     padding: 20px 40px;
     border: 2px solid var(--primary-color);
     border-radius: 12px;
     background: white;
     margin-bottom: 100px;
     z-index: 2;
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
 }

 .grid {
     display: flex;
     gap: 20px;
     width: 100%;
     justify-content: space-around;
 }

 .sub-card {
     width: 150px;
     height: 100px;
     padding-top: 40px;
     border: 1px solid #ddd;
     border-radius: 10px;
     background: white;
     cursor: pointer;
     transition: all 0.4s ease;
     z-index: 2;
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
     text-align: center;
 }

 .sub-card:hover {
     border-color: var(--primary-color);
     transform: translateY(-5px);
 }

 /* SVG اصلی */
 .svg-canvas {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     pointer-events: none;
     z-index: 1;
     overflow: visible;
 }

 /* استایل خط با انتقال نرم برای رفت و برگشت */
 .line-path {
     fill: none;
     stroke: var(--line-color);
     stroke-width: 3;
     stroke-linecap: round;
     stroke-linejoin: round;
     /* انتقال نرم برای هر دو حالت پر و خالی شدن */
     transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.4s ease;
 }

 /* --------------------the package-------------------- */




 /* br */



 /***************************** search-box ********************************/
 h2#sh2 {
     margin-top: 50px;
     margin-left: 645px;
     font-weight: 200;
     color: #03b314;
 }

 h3#sh3 {
     margin-top: 20px;
     margin-left: 600px;
     font-weight: 100;
     color: rgb(165, 162, 162);
 }


 input#search-pro {
     width: 900px;
     height: 40px;
     border-radius: 25px;
     border: none;
     outline: 2px solid #03b314;
     margin-left: 300px;
     margin-top: 30px;
     margin-bottom: 20px;
     text-align: right;
     padding: 15px;
 }

 /***************************** search-box ********************************/










 .digi-navbar {
     background-color: #ffffff;
     border-bottom: 1px solid #e0e0e0;
     padding: 0 24px;
     font-family: IRANSans, Tahoma, sans-serif;
     /* فونت استاندارد فارسی */
 }

 .nav-list {
     display: flex;
     list-style: none;
     gap: 24px;
     padding: 0;
     margin: 0;
     direction: rtl;
 }

 /* لینک‌ها و حالت عادی */
 .nav-list a {
     display: flex;
     align-items: center;
     gap: 8px;
     /* فاصله بین آیکون و متن */
     text-decoration: none;
     color: #424750;
     /* رنگ خاکستری تیره و ملایم دیجی‌کالا */
     font-size: 13px;
     font-weight: 500;
     padding: 14px 0;
     position: relative;
     transition: color 0.25s ease;
 }

 /* رنگ آیکون‌ها در حالت عادی */
 .nav-icon {
     fill: #a1a3a8;
     transition: fill 0.25s ease;
 }

 /* خط زیرین (مدرن و نرم) */
 .nav-list a::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 3px;
     background: linear-gradient(90deg, #00bf63, #00a651);
     border-radius: 3px 3px 0 0;
     transform: scaleX(0);
     transform-origin: center;
     transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .nav-list a:hover {
     color: #00bf63;
 }

 .nav-list a:hover .nav-icon {
     fill: #00bf63;
 }

 .nav-list a:hover::after {
     transform: scaleX(1);
 }


 /* +++++++++++++++++++++++++++++++++++++mega-menu++++++++++++++++++++++++++++++++++++++ */

 /* =====================================================
           RESET
        ===================================================== */



 a {
     text-decoration: none;
     color: inherit;
 }

 button {
     font-family: inherit;
 }


 /* =====================================================
           HEADER
        ===================================================== */

 .header {

     position: relative;

     width: 100%;
     height: 84px;

     background:
         rgba(255, 255, 255, .92);

     border-bottom:
         1px solid #e8eee9;

     backdrop-filter:
         blur(18px);

     z-index: 1000;
 }


 .header-inner {

     position: relative;

     width:
         min(1450px,
             calc(100% - 50px));

     height: 100%;

     margin:
         auto;

     display:
         flex;

     align-items:
         center;

     gap: 35px;


     direction: rtl;
 }


 /* =====================================================
           LOGO
        ===================================================== */

 .logo {

     display:
         flex;

     align-items:
         center;

     gap: 12px;

     flex-shrink: 0;

     color:
         #14532d;

     font-size:
         21px;

     font-weight:
         900;

     white-space:
         nowrap;
 }


 .logo-symbol {

     width: 45px;
     height: 45px;

     display:
         flex;

     align-items:
         center;

     justify-content:
         center;

     border-radius:
         15px;

     background:
         linear-gradient(145deg,
             #22c55e,
             #15803d);

     color:
         white;

     font-size:
         22px;

     box-shadow:
         0 10px 25px rgba(22,
             163,
             74,
             .18);

     transition:
         .35s ease;
 }


 .logo:hover .logo-symbol {

     transform:
         rotate(-10deg) scale(1.08);
 }


 /* =====================================================
           NAV
        ===================================================== */

 .nav {

     height:
         100%;

     display:
         flex;

     align-items:
         center;

     gap:
         3px;

     direction:
         rtl;

     z-index: 1000;
 }


 .nav-item2 {

     height:
         100%;

     display:
         flex;

     align-items:
         center;
 }


 .nav-link {

     position:
         relative;

     height:
         100%;

     display:
         flex;

     align-items:
         center;

     padding:
         0 17px;

     color:
         #4b5563;

     font-size:
         14px;

     font-weight:
         200;

     white-space:
         nowrap;

     transition:
         .3s ease;
 }


 .nav-link::before {

     content:
         "";

     position:
         absolute;

     right:
         17px;

     left:
         17px;

     bottom:
         7px;

     height:
         2px;

     border-radius:
         20px;

     background:
         #16a34a;

     transform:
         scaleX(0);

     transition:
         .3s ease;
 }


 .nav-link:hover {

     color:
         #15803d;
 }


 .nav-link:hover::before {

     transform:
         scaleX(1);
 }


 /* =====================================================
           CATEGORY BUTTON
        ===================================================== */

 .category-trigger {

     position:
         static;

     height:
         100%;

     display:
         flex;

     align-items:
         center;
 }


 .category-button {

     position:
         relative;

     height:
         48px;

     border:
         1px solid transparent;

     outline:
         none;

     background:
         transparent;

     cursor:
         pointer;

     padding:
         0 13px;

     display:
         flex;

     align-items:
         center;

     gap:
         9px;

     border-radius:
         13px;

     color:
         #374151;

     font-size:
         14px;

     font-weight:
         200;

     transition:
         .3s ease;
 }


 .category-button:hover {

     background:
         #f0fdf4;

     border-color:
         #dcfce7;

     color:
         #15803d;
 }


 .category-icon {

     width:
         32px;

     height:
         32px;

     display:
         flex;

     align-items:
         center;

     justify-content:
         center;

     border-radius:
         10px;

     background:
         #ecfdf5;

     color:
         #16a34a;

     transition:
         .3s ease;
 }


 .category-button:hover .category-icon {

     background:
         #16a34a;

     color:
         white;

     transform:
         rotate(-8deg) scale(1.08);
 }


 .category-arrow {

     font-size:
         9px;

     transition:
         .3s ease;
 }


 .category-button:hover .category-arrow {

     transform:
         rotate(180deg);
 }


 /* =====================================================
           MEGA MENU
        ===================================================== */

 .mega-menu {

     position:
         absolute;

     top:
         calc(100% + 14px);

     right:
         20px;

     left:
         20px;

     width:
         auto;

     padding:
         14px;

     background:
         rgba(255,
             255,
             255,
             .97);

     border:
         1px solid rgba(226,
             232,
             228,
             .95);

     border-radius:
         25px;

     box-shadow:
         0 30px 80px rgba(15,
             23,
             42,
             .13),

         0 8px 30px rgba(22,
             163,
             74,
             .06);

     backdrop-filter:
         blur(25px);

     opacity:
         0;

     visibility:
         hidden;

     pointer-events:
         none;

     transform:
         translateY(16px) scale(.985);

     transform-origin:
         top center;

     transition:
         .3s ease;

     z-index: 100;
 }


 .category-trigger:hover .mega-menu {

     opacity:
         1;

     visibility:
         visible;

     pointer-events:
         auto;

     transform:
         translateY(0) scale(1);
 }


 /* =====================================================
           DECORATION
        ===================================================== */

 .mega-menu::before {

     content:
         "";

     position:
         absolute;

     top:
         0;

     right:
         42px;

     width:
         130px;

     height:
         3px;

     border-radius:
         0 0 15px 15px;

     background:
         linear-gradient(90deg,
             #16a34a,
             #86efac);
 }


 .mega-menu::after {

     content:
         "";

     position:
         absolute;

     width:
         180px;

     height:
         180px;

     left:
         -70px;

     bottom:
         -100px;

     border-radius:
         50%;

     background:
         rgba(34,
             197,
             94,
             .045);

     pointer-events:
         none;

 }


 /* =====================================================
           MAIN LAYOUT
        ===================================================== */

 .mega-layout {

     position:
         relative;

     width:
         100%;

     display:
         grid;

     grid-template-columns:
         270px minmax(0,
             1fr);

     gap:
         14px;

     direction:
         rtl;


 }


 /* =====================================================
           CATEGORY SIDEBAR
        ===================================================== */

 .categories {

     position:
         relative;

     min-width:
         0;

     padding:
         12px;

     background:
         linear-gradient(180deg,
             #f7fbf8,
             #f1f7f3);

     border:
         1px solid #e3eee7;

     border-radius:
         19px;
 }


 .categories-header {

     display:
         flex;

     align-items:
         center;

     gap:
         9px;

     padding:
         8px 8px 15px;
 }


 .categories-header-icon {

     width:
         35px;

     height:
         35px;

     display:
         flex;

     align-items:
         center;

     justify-content:
         center;

     border-radius:
         11px;

     background:
         white;

     color:
         #16a34a;

     box-shadow:
         0 4px 12px rgba(15,
             23,
             42,
             .05);
 }


 .categories-header-text {

     color:
         #166534;

     font-size:
         13px;

     font-weight:
         900;
 }


 .categories-header-small {

     color:
         #9ca3af;

     font-size:
         9px;

     margin-top:
         3px;
 }


 /* =====================================================
           CATEGORY LIST
        ===================================================== */

 .category-list {

     display:
         flex;

     flex-direction:
         column;

     gap:
         5px;

     list-style:
         none;
 }


 .category-item {

     position:
         relative;

     width:
         100%;

     min-width:
         0;

     display:
         flex;

     align-items:
         center;

     gap:
         10px;

     padding:
         9px;

     border-radius:
         13px;

     cursor:
         pointer;

     color:
         #4b5563;

     font-size:
         12px;

     font-weight:
         700;

     transition:
         .3s ease;
 }


 .category-item:hover,
 .category-item.active {

     background:
         white;

     color:
         #15803d;

     transform:
         translateX(-4px);

     box-shadow:
         0 8px 22px rgba(15,
             23,
             42,
             .055);
 }


 .category-item.active::after {

     content:
         "";

     position:
         absolute;

     right:
         0;

     top:
         8px;

     bottom:
         8px;

     width:
         3px;

     border-radius:
         10px;

     background:
         #16a34a;
 }


 .category-item-icon {

     width:
         36px;

     height:
         36px;

     flex-shrink:
         0;

     display:
         flex;

     align-items:
         center;

     justify-content:
         center;

     border-radius:
         11px;

     background:
         #ffffff;

     border:
         1px solid #e8efea;

     font-size:
         16px;

     transition:
         .3s ease;
 }


 .category-item:hover .category-item-icon,
 .category-item.active .category-item-icon {

     background:
         #ecfdf5;

     border-color:
         #bbf7d0;

     transform:
         scale(1.06);
 }


 .category-name {

     flex:
         1;

     min-width:
         0;

     white-space:
         nowrap;

     overflow:
         hidden;

     text-overflow:
         ellipsis;
 }


 .category-chevron {

     flex-shrink:
         0;

     opacity:
         0;

     color:
         #16a34a;

     font-size:
         10px;

     transform:
         translateX(5px);

     transition:
         .3s ease;
 }


 .category-item:hover .category-chevron,
 .category-item.active .category-chevron {

     opacity:
         1;

     transform:
         translateX(0);
 }


 /* =====================================================
           CONTENT
        ===================================================== */

 .category-content {

     min-width:
         0;

     width:
         100%;
 }


 .content-panel {

     display:
         none;

     width:
         100%;

     min-width:
         0;

     padding:
         25px;

     border:
         1px solid #edf2ef;

     border-radius:
         19px;

     background:
         #ffffff;

     animation:
         panelIn .3s ease;
 }


 .content-panel.active {

     display:
         block;
 }


 @keyframes panelIn {

     from {

         opacity:
             0;

         transform:
             translateX(-15px);
     }

     to {

         opacity:
             1;

         transform:
             translateX(0);
     }
 }


 /* =====================================================
           CONTENT TOP
        ===================================================== */

 .content-top {

     display:
         flex;

     align-items:
         flex-start;

     justify-content:
         space-between;

     gap:
         20px;

     margin-bottom:
         23px;
 }


 .content-heading {

     display:
         flex;

     align-items:
         center;

     gap:
         13px;

     min-width:
         0;
 }


 .content-big-icon {

     width:
         54px;

     height:
         54px;

     flex-shrink:
         0;

     display:
         flex;

     align-items:
         center;

     justify-content:
         center;

     border-radius:
         15px;

     background:
         #ecfdf5;

     color:
         #16a34a;

     font-size:
         23px;
 }


 .content-title {

     margin-bottom:
         6px;

     color:
         #14532d;

     font-size:
         21px;

     font-weight:
         900;
 }


 .content-description {

     color:
         #9ca3af;

     font-size:
         11px;

     line-height:
         1.8;
 }


 .view-all {

     flex-shrink:
         0;

     display:
         flex;

     align-items:
         center;

     gap:
         7px;

     padding:
         10px 14px;

     border-radius:
         11px;

     background:
         #f0fdf4;

     color:
         #15803d;

     font-size:
         11px;

     font-weight:
         800;

     transition:
         .3s ease;
 }


 .view-all:hover {

     background:
         #16a34a;

     color:
         white;

     transform:
         translateY(-2px);
 }


 /* =====================================================
           LINKS
        ===================================================== */

 .link-grid {

     width:
         100%;

     display:
         grid;

     grid-template-columns:
         repeat(3,
             minmax(0,
                 1fr));

     gap:
         10px;
 }


 .link-box {

     position:
         relative;

     min-width:
         0;

     display:
         flex;

     align-items:
         center;

     gap:
         10px;

     padding:
         12px;

     border:
         1px solid #edf2ef;

     border-radius:
         13px;

     background:
         #fbfdfb;

     color:
         #4b5563;

     font-size:
         11px;

     font-weight:
         700;

     overflow:
         hidden;

     transition:
         .3s ease;
 }


 .link-box::before {

     content:
         "";

     position:
         absolute;

     right:
         0;

     top:
         0;

     bottom:
         0;

     width:
         0;

     background:
         #ecfdf5;

     transition:
         .3s ease;

     z-index:
         0;
 }


 .link-box:hover {

     border-color:
         #bbf7d0;

     color:
         #15803d;

     transform:
         translateY(-3px);

     box-shadow:
         0 9px 22px rgba(22,
             163,
             74,
             .07);
 }


 .link-box:hover::before {

     width:
         100%;
 }


 .link-icon {

     position:
         relative;

     z-index:
         1;

     width:
         28px;

     height:
         28px;

     flex-shrink:
         0;

     display:
         flex;

     align-items:
         center;

     justify-content:
         center;

     border-radius:
         9px;

     background:
         white;

     color:
         #22c55e;

     border:
         1px solid #e5eee8;

     transition:
         .3s ease;
 }


 .link-box:hover .link-icon {

     background:
         #16a34a;

     color:
         white;

     border-color:
         #16a34a;

     transform:
         scale(1.08);
 }


 .link-text {

     position:
         relative;

     z-index:
         1;

     min-width:
         0;

     overflow:
         hidden;

     text-overflow:
         ellipsis;

     white-space:
         nowrap;
 }


 /* =====================================================
           FEATURED BANNER
        ===================================================== */

 .featured {

     position:
         relative;

     width:
         100%;

     min-height:
         76px;

     display:
         flex;

     align-items:
         center;

     justify-content:
         space-between;

     gap:
         20px;

     margin-top:
         19px;

     padding:
         14px 17px;

     border-radius:
         15px;

     overflow:
         hidden;

     background:
         linear-gradient(110deg,
             #f0fdf4,
             #f7fff9);

     border:
         1px solid #dcefe2;

     transition:
         .3s ease;
 }


 .featured:hover {

     transform:
         translateY(-3px);

     box-shadow:
         0 12px 28px rgba(22,
             163,
             74,
             .08);
 }


 .featured-content {

     position:
         relative;

     z-index:
         1;

     display:
         flex;

     align-items:
         center;

     gap:
         12px;

     min-width:
         0;
 }


 .featured-icon {

     width:
         42px;

     height:
         42px;

     flex-shrink:
         0;

     display:
         flex;

     align-items:
         center;

     justify-content:
         center;

     border-radius:
         12px;

     background:
         white;

     font-size:
         18px;

     box-shadow:
         0 5px 14px rgba(15,
             23,
             42,
             .05);
 }


 .featured-title {

     margin-bottom:
         4px;

     color:
         #166534;

     font-size:
         12px;

     font-weight:
         900;
 }


 .featured-text {

     color:
         #6b7280;

     font-size:
         10px;
 }


 .featured-button {

     position:
         relative;

     z-index:
         1;

     flex-shrink:
         0;

     border:
         none;

     padding:
         10px 16px;

     border-radius:
         10px;

     background:
         #16a34a;

     color:
         white;

     cursor:
         pointer;

     font-size:
         10px;

     font-weight:
         800;

     transition:
         .3s ease;
 }


 .featured-button:hover {

     background:
         #15803d;

     transform:
         scale(1.04);
 }


 /* =====================================================
           RESPONSIVE
        ===================================================== */

 @media (max-width: 1000px) {

     .header-inner {

         width:
             calc(100% - 30px);
     }


     .mega-menu {

         right:
             15px;

         left:
             15px;

         z-index: 1000;
     }


     .mega-layout {

         grid-template-columns:
             225px minmax(0,
                 1fr);
     }


     .link-grid {

         grid-template-columns:
             repeat(2,
                 minmax(0,
                     1fr));
     }

 }


 @media (max-width: 780px) {

     .logo {

         font-size:
             18px;
     }


     .nav-link,
     .category-button {

         padding:
             0 9px;

         font-size:
             12px;
     }


     .mega-menu {

         right:
             10px;

         left:
             10px;

         padding:
             10px;
     }


     .mega-layout {

         grid-template-columns:
             190px minmax(0,
                 1fr);

         gap:
             10px;
     }


     .content-panel {

         padding:
             18px;
     }


     .content-big-icon {

         width:
             45px;

         height:
             45px;
     }


     .content-title {

         font-size:
             18px;
     }

 }


 @media (max-width: 650px) {

     .header {

         height:
             auto;
     }


     .header-inner {

         height:
             auto;

         min-height:
             75px;

         flex-wrap:
             wrap;

         padding:
             10px 0;
     }


     .nav {

         order:
             3;

         width:
             100%;

         height:
             43px;

         overflow-x:
             auto;

         scrollbar-width:
             none;

     }


     .nav::-webkit-scrollbar {

         display:
             none;
     }


     .mega-menu {

         top:
             calc(100% + 8px);

         right:
             8px;

         left:
             8px;
     }


     .mega-layout {

         grid-template-columns:
             1fr;
     }


     .category-list {

         display:
             grid;

         grid-template-columns:
             repeat(2,
                 minmax(0,
                     1fr));
     }


     .category-chevron {

         display:
             none;
     }

 }


 @media (max-width: 450px) {

     .link-grid {

         grid-template-columns:
             1fr;
     }


     .content-top {

         flex-direction:
             column;
     }


     .view-all {

         align-self:
             flex-start;
     }


     .featured {

         flex-direction:
             column;

         align-items:
             stretch;
     }


     .featured-button {

         width:
             100%;
     }

 }

 /* +++++++++++++++++++++++++++++++++++++++mega-menu++++++++++++++++++++++++++++++++== */

 /* page login */

 /* page login */



 /* text */
 /* ========================= MAIN ========================= */
 .support {
     width: 100%;
     padding: 70px 25px;
 }

 .support-wrapper {
     max-width: 1400px;
     margin: auto;
     position: relative;
     overflow: hidden;
     border-radius: 38px;
     padding: 55px;
     background: radial-gradient(circle at 8% 15%, rgba(38, 194, 108, .15), transparent 24%), radial-gradient(circle at 92% 85%, rgba(70, 205, 170, .13), transparent 25%), #fff;
     box-shadow: 0 30px 80px rgba(19, 91, 64, .09);
 }

 /* Decorative circles */
 .decor {
     position: absolute;
     border-radius: 50%;
     pointer-events: none;
 }

 .decor-1 {
     width: 180px;
     height: 180px;
     left: -90px;
     top: 180px;
     background: rgba(65, 205, 130, .06);
 }

 .decor-2 {
     width: 100px;
     height: 100px;
     right: 8%;
     top: -50px;
     background: rgba(65, 205, 130, .07);
 }

 .decor-3 {
     width: 25px;
     height: 25px;
     left: 37%;
     top: 80px;
     background: #bdeed4;
 }

 /* ========================= HERO ========================= */
 .support-hero {
     min-height: 310px;
     display: grid;
     grid-template-columns: 1fr 1.4fr;
     align-items: center;
     gap: 50px;
     margin-bottom: 35px;
 }

 /* LEFT TEXT */
 .hero-text {
     position: relative;
     z-index: 2;
 }

 .badge {
     display: inline-flex;
     align-items: center;
     gap: 9px;
     padding: 9px 17px;
     background: #e1f8eb;
     color: #07934c;
     border-radius: 50px;
     font-size: 13px;
     font-weight: bold;
     margin-bottom: 18px;
 }

 .badge-dot {
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background: #16b866;
     box-shadow: 0 0 0 5px rgba(22, 184, 102, .12);
 }

 .hero-text h1 {
     font-size: clamp(32px, 4vw, 55px);
     line-height: 1.45;
     letter-spacing: -1.5px;
     color: #0d392e;
     max-width: 650px;
     margin-bottom: 18px;
 }

 .hero-text h1 span {
     color: #12a65a;
 }

 .hero-text p {
     max-width: 570px;
     color: #71847d;
     font-size: 16px;
     line-height: 2;
 }

 /* ========================= HERO GRAPHIC ========================= */
 .hero-graphic {
     height: 300px;
     position: relative;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .graphic-glow {
     width: 290px;
     height: 290px;
     border-radius: 50%;
     background: radial-gradient(circle, #e1faec 0%, #effaf5 48%, transparent 70%);
     position: absolute;
 }

 /* Headset */
 .headset {
     position: relative;
     width: 220px;
     height: 210px;
     z-index: 3;
 }

 .headset-arc {
     position: absolute;
     width: 170px;
     height: 145px;
     left: 25px;
     top: 10px;
     border: 18px solid #16ad5d;
     border-bottom: 0;
     border-radius: 100px 100px 0 0;
     filter: drop-shadow(0 15px 15px rgba(18, 155, 82, .18));
 }

 .ear {
     position: absolute;
     width: 54px;
     height: 82px;
     top: 88px;
     border-radius: 22px;
     background: linear-gradient(145deg, #35d47b, #079d50);
     box-shadow: 0 12px 25px rgba(12, 155, 77, .18);
 }

 .ear::after {
     content: "";
     position: absolute;
     width: 20px;
     height: 38px;
     background: #e9fff2;
     border-radius: 12px;
     top: 22px;
     left: 17px;
 }

 .ear-left {
     left: 0;
 }

 .ear-right {
     right: 0;
 }

 .microphone {
     position: absolute;
     width: 83px;
     height: 18px;
     right: 13px;
     bottom: 25px;
     border-radius: 20px;
     background: #0b9950;
     transform: rotate(-12deg);
 }

 .microphone::after {
     content: "";
     position: absolute;
     width: 17px;
     height: 17px;
     right: -7px;
     top: 1px;
     border-radius: 50%;
     background: #0b9950;
 }

 /* Floating chat */
 .floating-chat {
     position: absolute;
     z-index: 5;
     width: 72px;
     height: 72px;
     right: 5%;
     top: 25px;
     border-radius: 24px;
     background: #fff;
     box-shadow: 0 18px 35px rgba(22, 95, 64, .13);
     display: flex;
     align-items: center;
     justify-content: center;
     transform: rotate(8deg);
     animation: floating 3s ease-in-out infinite;
 }

 .floating-chat svg {
     width: 42px;
     height: 42px;
 }

 /* Floating leaf */
 .leaf {
     position: absolute;
     width: 80px;
     height: 42px;
     left: 5%;
     bottom: 20px;
     border-radius: 100% 0 100% 0;
     background: #d8f5e5;
     transform: rotate(-25deg);
 }

 .leaf::after {
     content: "";
     width: 55px;
     height: 2px;
     position: absolute;
     background: #9adab7;
     transform: rotate(25deg);
     left: 10px;
     top: 22px;
 }

 @keyframes floating {

     0%,
     100% {
         transform: translateY(0) rotate(8deg);
     }

     50% {
         transform: translateY(-10px) rotate(8deg);
     }
 }

 /* ========================= SUPPORT OPTIONS ========================= */
 .support-options {
     display: grid;
     grid-template-columns: 1.25fr 1fr 1fr 1fr 1fr;
     gap: 15px;
 }

 .option {
     min-height: 225px;
     border-radius: 27px;
     padding: 25px 22px;
     position: relative;
     overflow: hidden;
     transition: .35s ease;
     border: 1px solid transparent;
 }

 .option:hover {
     transform: translateY(-8px);
     box-shadow: 0 20px 40px rgba(24, 100, 69, .10);
 }

 /* First larger card */
 .option-large {
     background: linear-gradient(145deg, #e2faeb, #f7fffa);
     border-color: #d4f1e1;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
 }

 .option-small {
     background: #fbfdfc;
     border-color: #e6efeb;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
 }

 .option-icon {
     width: 82px;
     height: 82px;
     border-radius: 24px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 18px;
     transition: .35s;
 }

 .option:hover .option-icon {
     transform: scale(1.08) rotate(-4deg);
 }

 .option-icon svg {
     width: 48px;
     height: 48px;
 }

 .option h3 {
     font-size: 18px;
     color: #123d32;
     margin-bottom: 8px;
 }

 .option p {
     font-size: 12px;
     color: #778a83;
     line-height: 1.9;
 }

 /* Large WhatsApp */
 .whatsapp {
     background: linear-gradient(145deg, #c9f5d9, #eafbf1);
 }

 .whatsapp svg {
     fill: #0ba254;
 }

 /* Phone */
 .phone {
     background: #eaf3ff;
 }

 .phone svg {
     stroke: #1878dc;
 }

 /* Email */
 .email {
     background: #f1eaff;
 }

 .email svg {
     stroke: #7950d7;
 }

 /* Chat */
 .chat {
     background: #e3f9fc;
 }

 .chat svg {
     stroke: #079db3;
 }

 /* FAQ */
 .faq {
     background: #fff3d9;
 }

 .faq svg {
     stroke: #e7a51d;
 }

 /* Button */
 .option-button {
     border: none;
     background: rgba(255, 255, 255, .72);
     padding: 10px 15px;
     border-radius: 50px;
     color: #159457;
     font-family: inherit;
     font-size: 12px;
     cursor: pointer;
     transition: .25s;
     width: fit-content;
 }

 .option-button:hover {
     background: #fff;
     transform: translateX(-4px);
 }

 /* ========================= SVG ========================= */
 svg {
     display: block;
 }

 /* ========================= RESPONSIVE ========================= */
 @media(max-width:1100px) {
     .support-options {
         grid-template-columns: repeat(3, 1fr);
     }

     .option-large {
         grid-column: span 2;
     }

     .support-hero {
         grid-template-columns: 1fr 1fr;
     }
 }

 @media(max-width:760px) {
     .support {
         padding: 30px 14px;
     }

     .support-wrapper {
         padding: 35px 20px;
         border-radius: 27px;
     }

     .support-hero {
         grid-template-columns: 1fr;
         text-align: center;
     }

     .hero-text p {
         margin: auto;
     }

     .hero-graphic {
         order: -1;
     }

     .support-options {
         grid-template-columns: 1fr 1fr;
     }

     .option-large {
         grid-column: span 2;
     }
 }

 @media(max-width:500px) {
     .support-options {
         grid-template-columns: 1fr;
     }

     .option-large {
         grid-column: span 1;
     }

     .hero-graphic {
         transform: scale(.85);
     }

     .hero-text h1 {
         font-size: 31px;
     }
 }

 /* text */

 a {
     text-decoration: none;
     color: inherit;
 }

 /* =========================
   HEADER
========================= */

 .header {
     width: calc(100% - 50px);
     max-width: 1500px;
     margin: 22px auto 0;
 }

 .navbar {
     height: 78px;
     background: #fff;
     border: 1px solid #d6e7d7;
     border-radius: 22px;

     display: flex;
     align-items: center;
     justify-content: space-between;

     padding: 0 28px;

     box-shadow: 0 8px 30px rgba(30, 90, 45, .07);
 }

 .logo {
     display: flex;
     align-items: center;
     gap: 12px;
 }

 .logo-icon {
     width: 48px;
     height: 48px;
     border-radius: 15px;

     background: linear-gradient(145deg,
             #55b866,
             #14783b);

     color: white;

     display: flex;
     align-items: center;
     justify-content: center;

     font-size: 25px;
 }

 .logo-text {
     display: flex;
     flex-direction: column;
 }

 .logo-text strong {
     font-size: 18px;
     font-weight: 800;
     color: #185631;
 }

 .logo-text span {
     font-size: 10px;
     color: #7b9480;
 }

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

 .menu a {
     font-size: 13px;
     color: #52675a;
     padding: 29px 0;
     position: relative;
     transition: .3s;
 }

 .menu a:hover,
 .menu a.active {
     color: #25833f;
 }

 .menu a.active {
     font-weight: 700;
 }

 .menu a.active::after {
     content: "";
     position: absolute;
     bottom: 14px;
     right: 0;
     left: 0;
     height: 3px;
     border-radius: 20px;
     background: #2d9648;
 }

 .header-actions {
     display: flex;
     align-items: center;
     gap: 18px;
 }

 .header-btn {
     border: none;
     background: transparent;
     cursor: pointer;
     color: #355542;
     font-family: inherit;
     font-size: 13px;
 }

 .header-icon {
     font-size: 21px;
 }


 /* =========================
   HERO WRAPPER
========================= */

 .hero-wrapper {
     width: calc(100% - 50px);
     max-width: 1500px;

     margin: 30px auto 0;
 }


 /* =========================
   HERO
========================= */

 .hero {

     min-height: 610px;

     border-radius: 32px;

     overflow: hidden;

     position: relative;

     display: flex;
     align-items: center;

     border: 1px solid #bcd9bd;

     background:

         radial-gradient(circle at 85% 50%,
             rgba(91, 181, 91, .38),
             transparent 32%),

         linear-gradient(115deg,
             #c7e8c5,
             #dff2d9 48%,
             #b9dfb9);

     box-shadow:
         0 25px 65px rgba(29, 92, 44, .16);
 }


 /* Background circles */

 .hero::before {
     content: "";

     position: absolute;

     width: 520px;
     height: 520px;

     border-radius: 50%;

     background: rgba(255, 255, 255, .20);

     right: -200px;
     top: -180px;
 }

 .hero::after {
     content: "";

     position: absolute;

     width: 420px;
     height: 420px;

     border-radius: 50%;

     background: rgba(42, 137, 57, .09);

     left: -180px;
     bottom: -220px;
 }


 /* =========================
   LEFT - TEXT
========================= */

 .hero-content {

     width: 55%;

     padding:
         70px 55px 70px 85px;

     position: relative;

     z-index: 3;

     text-align: right;
 }


 .hero-label {

     display: flex;
     align-items: center;

     gap: 12px;

     color: #227b3c;

     font-size: 15px;

     font-weight: 700;

     margin-bottom: 18px;
 }

 .hero-label::before {
     content: "";

     width: 40px;
     height: 2px;

     border-radius: 20px;

     background: #4d9e59;
 }


 .hero-title {

     font-size:
         clamp(42px, 4.5vw, 72px);

     line-height: 1.38;

     font-weight: 900;

     color: #103c25;

     letter-spacing: -2px;

     margin-bottom: 22px;
 }

 .hero-title span {
     color: #21853e;
 }


 .hero-description {

     max-width: 620px;

     color: #526d5b;

     font-size: 16px;

     line-height: 2.2;

     margin-bottom: 32px;
 }


 /* =========================
   BUTTONS
========================= */

 .hero-buttons {

     display: flex;
     align-items: center;

     gap: 14px;

     margin-bottom: 45px;
 }

 .btn {

     height: 58px;

     min-width: 190px;

     padding: 0 25px;

     border-radius: 16px;

     display: flex;
     align-items: center;
     justify-content: center;

     gap: 12px;

     font-size: 13px;
     font-weight: 700;

     transition: .3s;
 }

 .btn:hover {
     transform: translateY(-3px);
 }

 .btn-primary {

     color: white;

     background:
         linear-gradient(135deg,
             #3ca956,
             #14763a);

     box-shadow:
         0 14px 28px rgba(28, 117, 52, .25);
 }

 .btn-secondary {

     color: #24783b;

     background: rgba(255, 255, 255, .55);

     border: 1px solid #79ad80;
 }

 .btn-secondary:hover {
     background: #fff;
 }


 /* =========================
   FEATURES
========================= */

 .features {

     display: grid;

     grid-template-columns:
         repeat(4, 1fr);

     border-top: 1px solid rgba(39, 118, 52, .20);

     padding-top: 24px;
 }

 .feature {

     display: flex;

     align-items: center;

     justify-content: center;

     gap: 10px;

     padding: 0 13px;

     border-left: 1px solid rgba(39, 118, 52, .18);
 }

 .feature:last-child {
     border-left: none;
 }

 .feature-icon {

     width: 42px;
     height: 42px;

     border-radius: 13px;

     background: rgba(255, 255, 255, .48);

     display: flex;
     align-items: center;
     justify-content: center;

     font-size: 19px;

     flex-shrink: 0;
 }

 .feature-text {
     display: flex;
     flex-direction: column;
     gap: 3px;
 }

 .feature-text strong {
     font-size: 11px;
     color: #31583e;
 }

 .feature-text span {
     font-size: 9px;
     color: #6f8777;
 }


 /* =========================
   RIGHT - BIG LOGO
========================= */

 .hero-visual {

     width: 45%;

     min-height: 610px;

     display: flex;

     align-items: center;
     justify-content: center;

     position: relative;

     z-index: 2;
 }


 /* Main circle */

 .logo-circle {

     width: 440px;
     height: 440px;

     border-radius: 50%;

     background:

         radial-gradient(circle,
             rgba(255, 255, 255, .75),
             rgba(193, 229, 188, .60));

     border: 1px solid rgba(255, 255, 255, .7);

     display: flex;
     align-items: center;
     justify-content: center;

     box-shadow:

         inset 0 0 50px rgba(34, 112, 45, .10),

         0 25px 50px rgba(32, 105, 45, .13);

     position: relative;
 }


 /* Inner ring */

 .logo-circle::before {

     content: "";

     position: absolute;

     width: 350px;
     height: 350px;

     border-radius: 50%;

     border: 1px solid rgba(40, 126, 53, .18);
 }


 /* =========================
   BIG LEAF LOGO
========================= */

 .big-leaf {

     width: 230px;
     height: 280px;

     position: relative;

     filter:
         drop-shadow(0 20px 20px rgba(21, 101, 40, .20));
 }

 .leaf {

     position: absolute;

     width: 120px;
     height: 210px;

     border-radius:
         100% 0 100% 0;

     background:
         linear-gradient(145deg,
             #78cb5d,
             #0d7839);

     transform-origin: bottom center;
 }

 .leaf::after {

     content: "";

     position: absolute;

     width: 3px;
     height: 175px;

     background: rgba(255, 255, 255, .68);

     left: 50%;
     bottom: 15px;

     transform:
         translateX(-50%) rotate(17deg);

     border-radius: 50%;
 }

 .leaf-1 {

     left: 28px;
     bottom: 3px;

     transform:
         rotate(-32deg) scale(.85);
 }

 .leaf-2 {

     left: 62px;
     bottom: 60px;

     transform:
         rotate(0deg) scale(1.08);
 }

 .leaf-3 {

     left: 104px;
     bottom: 8px;

     transform:
         rotate(32deg) scale(.86);
 }


 /* Small leaves */

 .small-leaf {

     position: absolute;

     color: #278d43;

     opacity: .42;

     font-size: 35px;

     animation: float 4s ease-in-out infinite;
 }

 .small-leaf.one {
     top: 80px;
     right: 80px;
 }

 .small-leaf.two {
     bottom: 80px;
     left: 80px;

     font-size: 28px;

     animation-delay: 1.3s;
 }

 @keyframes float {

     0%,
     100% {
         transform: translateY(0) rotate(-8deg);
     }

     50% {
         transform: translateY(-12px) rotate(5deg);
     }

 }


 /* =========================
   RESPONSIVE
========================= */

 @media(max-width:1100px) {

     .menu {
         gap: 18px;
     }

     .hero-content {
         padding-left: 45px;
     }

     .logo-circle {
         width: 350px;
         height: 350px;
     }

     .logo-circle::before {
         width: 285px;
         height: 285px;
     }

     .big-leaf {
         transform: scale(.8);
     }
 }


 @media(max-width:850px) {

     .header,
     .hero-wrapper {
         width: calc(100% - 30px);
     }

     .menu {
         display: none;
     }

     .hero {

         flex-direction: column;

         padding: 45px 25px;
     }

     .hero-content {

         width: 100%;

         padding: 20px 10px;

         text-align: center;

         order: 2;
     }

     .hero-label {
         justify-content: center;
     }

     .hero-description {
         margin-left: auto;
         margin-right: auto;
     }

     .hero-buttons {
         justify-content: center;
         flex-wrap: wrap;
     }

     .hero-visual {

         width: 100%;

         min-height: 390px;

         order: 1;
     }

     .features {
         grid-template-columns: repeat(2, 1fr);
         gap: 15px;
     }

     .feature {
         border: none;
     }
 }


 @media(max-width:550px) {

     .header,
     .hero-wrapper {
         width: calc(100% - 18px);
     }

     .navbar {
         padding: 10px 15px;
     }

     .logo-text {
         display: none;
     }

     .hero-wrapper {
         margin-top: 18px;
     }

     .hero {
         border-radius: 24px;
     }

     .hero-title {
         font-size: 34px;
     }

     .hero-description {
         font-size: 13px;
     }

     .hero-buttons {
         flex-direction: column;
     }

     .btn {
         width: 100%;
     }

     .logo-circle {
         width: 290px;
         height: 290px;
     }

     .logo-circle::before {
         width: 235px;
         height: 235px;
     }

     .big-leaf {
         transform: scale(.67);
     }

     .features {
         grid-template-columns: 1fr;
     }

 }

 /* hero */


 span#sspan {
     padding: 10px;
     margin-top: 0px;
     background-color: rgb(2, 160, 2);
     border-radius: 15px;
     color: white;
     margin-right: 1300px;
     transition: 0.5s;
 }


 span#sspan:hover {
     cursor: pointer;
     background-color: rgb(216, 243, 216);
     color: green;
 }




 /* Search */

 .search-box {
     position: relative;

     flex: 1;
     max-width: 650px;
     margin-top: 15px;

 }

 .search-box input {
     width: 100%;
     height: 46px;

     padding: 0 48px 0 18px;

     border: 1px solid #e3ebe5;
     border-radius: 13px;

     outline: none;

     background: #f8faf8;

     color: #294333;

     font-size: 12px;

     transition: 0.2s;
 }

 .search-box input:focus {
     border-color: #a5cfb1;
     background: #ffffff;

     box-shadow: 0 0 0 3px rgba(33, 131, 72, 0.06);
 }

 .search-icon {
     position: absolute;

     right: 17px;
     top: 50%;

     transform: translateY(-50%);

     color: #789084;
 }

 .search-icon svg {
     width: 19px;
 }



 /********************************* ورود و ثبت نام باتن************************************ */
 a>button#Sbutton {
     width: 150px;
     height: 55px;
     background-color: green;
     border-radius: 10px;
     border: none;
     color: white;
     margin-right: 1300px;
     transition: 0.5s;
 }


 a>button#Sbutton:hover {
     background-color: #02dd4b;
 }

 /********************************* ورود و ثبت نام باتن************************************ */








 /* br */



 /* *******************************prodacts page****************************** */



 /* =========================================
   ATTARI SEARCH X
   MAIN SECTION
========================================= */

 .attariSearchX-section {

     width: 100%;

     padding: 75px 25px 90px;

     display: flex;

     justify-content: center;

     position: relative;

     overflow: hidden;

     background:
         radial-gradient(circle at 50% 40%,
             rgba(46, 190, 95, 0.09),
             transparent 45%),
         linear-gradient(180deg,
             #f9fffb 0%,
             #f4faf6 100%);

 }


 /* =========================================
   BACKGROUND LIGHT
========================================= */

 .attariSearchX-section::before {

     content: "";

     position: absolute;

     width: 500px;

     height: 500px;

     top: -250px;

     left: 50%;

     transform: translateX(-50%);

     background: rgba(25, 180, 80, 0.07);

     filter: blur(100px);

     border-radius: 50%;

     pointer-events: none;

 }


 /* =========================================
   WRAPPER
========================================= */

 .attariSearchX-wrapper {

     width: min(100%, 1050px);

     position: relative;

     z-index: 2;

     text-align: center;

 }


 /* =========================================
   TITLE
========================================= */

 .attariSearchX-title {

     margin: 0;

     font-size: clamp(32px, 4vw, 52px);

     font-weight: 800;

     line-height: 1.5;

     letter-spacing: -1px;

     color: #123d2b;

 }


 /* GREEN WORD */

 .attariSearchX-title span {

     color: #16a34a;

     position: relative;

 }


 /* UNDERLINE */

 .attariSearchX-title span::after {

     content: "";

     position: absolute;

     right: 5%;

     left: 5%;

     bottom: -4px;

     height: 3px;

     border-radius: 20px;

     background:
         linear-gradient(90deg,
             transparent,
             #22c55e,
             transparent);

     opacity: 0.65;

 }


 /* =========================================
   DESCRIPTION
========================================= */

 .attariSearchX-description {

     max-width: 720px;

     margin: 15px auto 38px;

     font-size: 17px;

     line-height: 2;

     color: #789084;

     font-weight: 500;

 }


 /* =========================================
   SEARCH BOX
========================================= */

 .attariSearchX-box {

     width: 100%;

     height: 72px;

     padding: 7px;

     display: flex;

     align-items: center;

     direction: rtl;

     border-radius: 40px;

     background: rgba(255, 255, 255, 0.88);

     border: 1px solid rgba(34, 197, 94, 0.25);

     box-shadow:
         0 15px 45px rgba(22, 163, 74, 0.08),
         0 3px 12px rgba(0, 0, 0, 0.03);

     backdrop-filter: blur(15px);

     transition:
         border-color 0.35s ease,
         box-shadow 0.35s ease,
         transform 0.35s ease;

 }


 /* =========================================
   FOCUS
========================================= */

 .attariSearchX-box:focus-within {

     border-color: rgba(22, 163, 74, 0.55);

     box-shadow:
         0 20px 55px rgba(22, 163, 74, 0.13),
         0 0 0 5px rgba(34, 197, 94, 0.06);

     transform: translateY(-2px);

 }


 /* =========================================
   INPUT
========================================= */

 .attariSearchX-input {

     flex: 1;

     height: 100%;

     min-width: 0;

     padding: 0 25px;

     border: none;

     outline: none;

     background: transparent;

     color: #173c2b;

     font-family: inherit;

     font-size: 16px;

     font-weight: 500;

     text-align: right;

 }


 /* PLACEHOLDER */

 .attariSearchX-input::placeholder {

     color: #9aa9a1;

     transition: color 0.3s ease;

 }


 .attariSearchX-input:focus::placeholder {

     color: #b7c1bc;

 }


 /* =========================================
   SEARCH BUTTON
========================================= */

 .attariSearchX-button {

     width: 58px;

     height: 58px;

     flex-shrink: 0;

     border: none;

     border-radius: 50%;

     display: flex;

     align-items: center;

     justify-content: center;

     cursor: pointer;

     color: white;

     background:
         linear-gradient(135deg,
             #22c55e,
             #11863f);

     box-shadow:
         0 8px 20px rgba(22, 163, 74, 0.25);

     transition:
         transform 0.3s ease,
         box-shadow 0.3s ease;

 }


 /* =========================================
   ICON
========================================= */

 .attariSearchX-icon {

     width: 25px;

     height: 25px;

 }


 /* =========================================
   BUTTON HOVER
========================================= */

 .attariSearchX-button:hover {

     transform: scale(1.07);

     box-shadow:
         0 10px 28px rgba(22, 163, 74, 0.35);

 }


 /* =========================================
   BUTTON CLICK
========================================= */

 .attariSearchX-button:active {

     transform: scale(0.94);

 }


 /* =========================================
   MOBILE
========================================= */

 @media (max-width: 700px) {

     .attariSearchX-section {

         padding:
             55px 18px 65px;

     }


     .attariSearchX-title {

         font-size: 31px;

         letter-spacing: -0.5px;

     }


     .attariSearchX-description {

         font-size: 14px;

         margin-top: 12px;

         margin-bottom: 28px;

         line-height: 1.9;

     }


     .attariSearchX-box {

         height: 64px;

     }


     .attariSearchX-button {

         width: 50px;

         height: 50px;

     }


     .attariSearchX-input {

         font-size: 14px;

         padding: 0 18px;

     }

 }


 /* *******************************products page****************************** */






 /* --------------------------tickets -----------------------*/



 :root {
     --green: #15945b;
     --dark-green: #087344;
     --deep: #063b27;
     --light: #eaf8f0;
     --soft: #f7fbf8;
     --text: #17372a;
     --muted: #7b8c84;
     --border: #e3eee8;
     --white: #fff;
     --red: #e45b5b;
     --shadow: 0 18px 55px rgba(15, 91, 57, .08);
 }



 button,
 input,
 textarea,
 select {
     font-family: inherit;
 }

 button {
     cursor: pointer;
 }

 .nav {
     display: flex;
     gap: 28px;
 }

 .nav a {
     color: #64756d;
     text-decoration: none;
     font-size: 13px;
     position: relative;
     transition: .3s;
 }

 .nav a::after {
     content: "";
     position: absolute;
     right: 0;
     bottom: -8px;

     width: 0;
     height: 2px;

     background: var(--green);
     transition: .3s;
 }

 .nav a:hover {
     color: var(--green);
 }

 .nav a:hover::after {
     width: 100%;
 }

 .profile {
     width: 83px;
     height: 43px;

     border: 1px solid var(--border);
     border-radius: 14px;

     background: white;

     display: grid;
     place-items: center;

     transition: .3s;
 }

 .profile:hover {
     transform: translateY(-3px);
     border-color: rgba(21, 148, 91, .35);
     box-shadow: var(--shadow);
 }


 /* MAIN */

 .container {
     width: 2000px;
     margin: auto;
 }



 .online {
     display: flex;
     align-items: center;
     gap: 9px;

     color: var(--muted);
     font-size: 11px;

     background: white;
     border: 1px solid var(--border);

     padding: 12px 15px;
     border-radius: 14px;

     transition: .3s;
 }

 .online:hover {
     transform: translateY(-3px);
     box-shadow: var(--shadow);
 }

 .online-dot {
     width: 9px;
     height: 9px;
     border-radius: 50%;
     background: #24b66d;

     box-shadow: 0 0 0 5px rgba(36, 182, 109, .1);

     animation: pulse 1.8s infinite;
 }

 @keyframes pulse {
     50% {
         box-shadow: 0 0 0 9px rgba(36, 182, 109, 0);
     }
 }


 /* LAYOUT */

 .support-layout {
     width: 1000px;
     display: grid;
     grid-template-columns: 330px minmax(0, 1fr);
     gap: 22px;
     padding-bottom: 40px;
     margin-right: 100px;

     margin-top: 30px;

 }


 /* SIDEBAR */

 .sidebar {
     width: 500px;
     margin-left: 400px;
     display: flex;
     flex-direction: column;
     gap: 13px;
 }

 .side-card {
     width: 50%;
     background: white;
     border: 1px solid var(--border);
     border-radius: 20px;
     padding: 19px;

     box-shadow: var(--shadow);

     transition: .35s;
 }

 .side-card:hover {
     transform: translateY(-4px);
     border-color: rgba(21, 148, 91, .25);
     box-shadow: 0 25px 65px rgba(15, 91, 57, .12);
 }

 .side-title {
     display: flex;
     align-items: center;
     gap: 10px;

     margin-bottom: 17px;
 }

 .side-icon {
     width: 39px;
     height: 39px;

     border-radius: 12px;

     display: grid;
     place-items: center;

     background: var(--light);
     color: var(--green);

     transition: .35s;
 }

 .side-card:hover .side-icon {
     transform: rotate(-7deg) scale(1.08);
 }

 .side-title h3 {
     font-size: 14px;
 }

 .category {
     display: flex;
     align-items: center;
     justify-content: space-between;

     padding: 12px 13px;

     border: 1px solid transparent;
     border-radius: 12px;

     color: #66766f;
     font-size: 11px;

     cursor: pointer;

     transition: .3s;
 }

 .category+.category {
     margin-top: 5px;
 }

 .category:hover {
     background: var(--light);
     color: var(--green);
     transform: translateX(-5px);
 }

 .category.active {
     background: var(--light);
     color: var(--green);
     font-weight: bold;
 }

 .category span:last-child {
     opacity: .55;
 }


 /* QUICK */

 .quick {
     display: grid;
     gap: 9px;
 }

 .quick-item {
     display: flex;
     align-items: center;
     gap: 11px;

     padding: 12px;

     border-radius: 13px;

     background: var(--soft);

     transition: .3s;
 }

 .quick-item:hover {
     background: var(--light);
     transform: translateX(-5px);
 }

 .quick-item-icon {
     width: 32px;
     height: 32px;

     border-radius: 10px;

     background: white;

     display: grid;
     place-items: center;
 }

 .quick-item div:last-child {
     font-size: 11px;
 }

 .quick-item small {
     display: block;
     color: var(--muted);
     margin-top: 4px;
     font-size: 9px;
 }


 /* TICKET */

 .ticket-box {
     background: white;
     border: 1px solid var(--border);

     border-radius: 24px;

     box-shadow: var(--shadow);

     padding: 28px;

     position: relative;
     overflow: hidden;
 }

 .ticket-box::before {
     content: "";

     position: absolute;

     width: 230px;
     height: 230px;

     left: -120px;
     top: -120px;

     border-radius: 50%;

     background: rgba(21, 148, 91, .045);

     pointer-events: none;
 }

 .ticket-head {
     display: flex;
     align-items: center;
     justify-content: space-between;

     gap: 15px;

     margin-bottom: 27px;
 }

 .ticket-head h2 {
     color: var(--deep);
     font-size: 19px;
     margin-bottom: 6px;
 }

 .ticket-head p {
     color: var(--muted);
     font-size: 11px;
 }

 .ticket-number {
     color: var(--green);
     background: var(--light);

     border-radius: 12px;

     padding: 9px 12px;

     font-size: 10px;
     white-space: nowrap;
 }


 /* FORM */

 .form-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 17px;
 }

 .field {
     position: relative;
 }

 .field.full {
     grid-column: 1/-1;
 }

 .field label {
     display: block;

     color: #51655c;
     font-size: 11px;

     margin-bottom: 8px;
 }

 .field input,
 .field select,
 .field textarea {
     width: 100%;

     border: 1px solid var(--border);
     outline: none;

     background: #fbfdfc;

     color: var(--text);

     border-radius: 13px;

     transition: .3s;
 }

 .field input,
 .field select {
     height: 47px;
     padding: 0 14px;
 }

 .field textarea {
     min-height: 145px;
     padding: 14px;
     resize: vertical;
     line-height: 1.9;
 }

 .field input:hover,
 .field select:hover,
 .field textarea:hover {
     border-color: rgba(21, 148, 91, .35);
     background: white;
 }

 .field input:focus,
 .field select:focus,
 .field textarea:focus {
     border-color: var(--green);

     background: white;

     box-shadow:
         0 0 0 4px rgba(21, 148, 91, .08);
 }


 /* PRIORITY */

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

 .priority input {
     display: none;
 }

 .priority label {
     margin: 0;

     padding: 9px 14px;

     border: 1px solid var(--border);
     border-radius: 11px;

     color: var(--muted);

     font-size: 10px;

     cursor: pointer;

     transition: .3s;
 }

 .priority label:hover {
     transform: translateY(-2px);
     border-color: rgba(21, 148, 91, .35);
 }

 .priority input:checked+label {
     background: var(--light);
     color: var(--green);
     border-color: rgba(21, 148, 91, .25);
 }


 /* FOOTER FORM */

 .form-footer {
     margin-top: 20px;

     display: flex;
     justify-content: space-between;
     align-items: center;

     gap: 15px;
 }

 .hint {
     color: var(--muted);
     font-size: 10px;
     line-height: 1.8;
 }

 .submit {
     height: 50px;

     padding: 0 24px;

     border: 0;
     border-radius: 14px;

     color: white;

     background:
         linear-gradient(135deg,
             var(--green),
             var(--dark-green));

     font-weight: bold;
     font-size: 12px;

     box-shadow:
         0 12px 25px rgba(21, 148, 91, .18);

     transition: .35s;
 }

 .submit:hover {
     transform: translateY(-4px);
     box-shadow:
         0 18px 35px rgba(21, 148, 91, .28);
 }

 .submit:active {
     transform: scale(.97);
 }


 /* SUCCESS */

 .success {
     display: none;

     margin-top: 18px;

     padding: 13px 15px;

     border-radius: 13px;

     background: var(--light);
     color: var(--green);

     font-size: 11px;

     animation: showSuccess .4s ease;
 }

 @keyframes showSuccess {
     from {
         opacity: 0;
         transform: translateY(8px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }


 /* RESPONSIVE */

 @media(max-width:900px) {

     .support-layout {
         grid-template-columns: 1fr;
     }

     .sidebar {
         display: grid;
         grid-template-columns: 1fr 1fr;
     }

     .ticket-box {
         order: -1;
     }

     .nav {
         display: none;
     }

 }


 @media(max-width:600px) {

     .hero {
         flex-direction: column;
         align-items: flex-start;
         padding-top: 35px;
     }

     .sidebar {
         grid-template-columns: 1fr;
     }

     .form-grid {
         grid-template-columns: 1fr;
     }

     .field.full {
         grid-column: auto;
     }

     .ticket-box {
         padding: 20px;
     }

     .ticket-head {
         align-items: flex-start;
         flex-direction: column;
     }

     .form-footer {
         flex-direction: column;
         align-items: stretch;
     }

     .submit {
         width: 100%;
     }

 }












 /* --------------------------tickets -----------------------*/






 /* my card        */






 /* my card        */











 /* blog */

 .content {
     width: calc(100% - 84px);
     margin: auto;
 }

 .section-head {
     display: flex;
     justify-content: space-between;
     align-items: end;
     margin-bottom: 19px;
 }

 .section-head small {
     color: var(--green);
     font-size: 9px;
     font-weight: 800;
 }

 .section-head h2 {
     font-size: 23px;
     margin-top: 4px;
 }

 .section-head p {
     color: var(--gray);
     font-size: 9px;
     margin-top: 4px;
 }

 .view-all {
     border: none;
     background: transparent;
     color: var(--green);
     font-family: inherit;
     font-size: 9px;
     cursor: pointer;
     transition: .3s;
 }

 .view-all:hover {
     transform: translateX(-5px);
 }


 /* blog */


















 /* ==================================================
           CONTACT AREA
        ================================================== */

 .contact-area {
     margin-top: 85px;
     width: 1400px;
     display: grid;
     grid-template-columns: .82fr 1.18fr;
     gap: 22px;
     margin-right: 200px;
 }

 .support-card {
     position: relative;
     overflow: hidden;


     padding: 32px;
     border-radius: 27px;

     color: white;

     background:
         radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .12), transparent 30%),
         linear-gradient(145deg, #0b6940, #15945b);
 }

 .support-card::after {
     content: "🌿";
     position: absolute;
     left: -30px;
     bottom: -45px;

     font-size: 170px;
     opacity: .07;
     transform: rotate(-20deg);
 }

 .support-card h2 {
     font-size: 23px;
 }

 .support-card>p {
     margin-top: 8px;
     font-size: 11px;
     line-height: 2;
     opacity: .78;
 }

 .support-items {
     display: grid;
     gap: 11px;
     margin-top: 25px;
 }

 .support-item {
     position: relative;
     z-index: 2;

     display: flex;
     align-items: center;
     gap: 12px;

     padding: 13px;

     border-radius: 15px;
     background: rgba(255, 255, 255, .08);
     border: 1px solid rgba(255, 255, 255, .1);

     transition: .35s;
 }

 .support-item:hover {
     transform: translateX(-7px);
     background: rgba(255, 255, 255, .14);
 }

 .support-icon {
     width: 39px;
     height: 39px;

     display: flex;
     align-items: center;
     justify-content: center;

     flex-shrink: 0;

     border-radius: 12px;
     background: rgba(255, 255, 255, .1);

     transition: .35s;
 }

 .support-item:hover .support-icon {
     transform: rotate(8deg) scale(1.1);
 }

 .support-item strong {
     display: block;
     font-size: 11px;
 }

 .support-item small {
     display: block;
     font-size: 9px;
     opacity: .65;
 }


 /* FORM */

 .form-card {
     padding: 31px;
     border-radius: 27px;

     width: 600px;
     background: white;
     border: 1px solid var(--border);

     box-shadow: 0 20px 60px rgba(25, 85, 55, .07);
 }

 .form-card h2 {
     font-size: 22px;
 }

 .form-card>p {
     color: var(--muted);
     font-size: 11px;
     margin-top: 4px;
     margin-bottom: 24px;
 }

 .form-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 15px;
 }

 .field {
     display: flex;
     flex-direction: column;
     gap: 7px;
 }

 .field.full {
     grid-column: 1 / -1;
 }

 .field label {
     font-size: 10px;
     font-weight: 700;
 }

 .field input,
 .field select,
 .field textarea {
     width: 100%;

     outline: none;

     border: 1px solid #e1ebe6;
     border-radius: 13px;

     padding: 12px 14px;

     background: #fbfdfc;

     color: var(--text);
     font-size: 11px;

     transition: .3s;
 }

 .field input:hover,
 .field select:hover,
 .field textarea:hover {
     border-color: #a9cbb8;
     background: white;
 }

 .field input:focus,
 .field select:focus,
 .field textarea:focus {
     border-color: var(--green);
     background: white;

     box-shadow:
         0 0 0 4px rgba(21, 148, 91, .07);

     transform: translateY(-1px);
 }

 .field textarea {
     min-height: 130px;
     resize: vertical;
 }

 .submit-btn {
     position: relative;
     overflow: hidden;

     width: 100%;
     margin-top: 18px;

     padding: 14px;

     border: none;
     border-radius: 13px;

     background: var(--green);
     color: white;

     cursor: pointer;

     font-size: 12px;
     font-weight: 600;

     transition: .35s;
 }

 .submit-btn::before {
     content: "";
     position: absolute;

     top: 0;
     left: -100%;

     width: 60%;
     height: 100%;

     background: linear-gradient(90deg,
             transparent,
             rgba(255, 255, 255, .25),
             transparent);

     transform: skewX(-20deg);

     transition: .6s;
 }

 .submit-btn:hover::before {
     left: 130%;
 }

 .submit-btn:hover {
     transform: translateY(-3px);
     background: var(--dark-green);
     box-shadow: 0 15px 30px rgba(21, 148, 91, .2);
 }











 /* ==================================================
           FAQ
        ================================================== */

 .faq-section {
     margin-top: 85px;
     padding-bottom: 90px;
 }

 .faq {
     width: min(850px, 100%);
     margin: auto;
     background: none;

     display: grid;
     gap: 10px;
 }

 .faq-item {
     overflow: hidden;

     border: 1px solid var(--border);
     border-radius: 17px;

     background: white;

     transition: .3s;
 }

 .faq-item:hover {
     border-color: #b8d5c5;
     box-shadow: 0 10px 30px rgba(30, 80, 55, .06);
     transform: translateY(-2px);
 }

 .faq-question {
     width: 100%;

     padding: 17px 20px;

     display: flex;
     align-items: center;
     justify-content: space-between;

     border: none;
     background: transparent;

     color: var(--text);

     text-align: right;

     cursor: pointer;

     font-size: 11px;
     font-weight: 600;
 }

 .faq-question span {
     width: 27px;
     height: 27px;

     display: flex;
     align-items: center;
     justify-content: center;

     border-radius: 8px;

     background: var(--light);
     color: var(--green);

     font-size: 17px;

     transition: .35s;
 }

 .faq-item:hover .faq-question span {
     transform: rotate(8deg) scale(1.08);
 }

 .faq-answer {
     max-height: 0;
     overflow: hidden;

     transition: .4s ease;
 }

 .faq-answer p {
     padding: 0 20px 17px;

     color: var(--muted);
     font-size: 10px;
     line-height: 2;
 }

 .faq-item.active .faq-answer {
     max-height: 150px;
 }

 .faq-item.active .faq-question span {
     transform: rotate(45deg);
 }





 /* button */
 button#bas{
    padding: 10px;
    border-radius: 8px;
    background-color: white;
    border: none;
    margin-right: 500px;
    transition: 0.5s;
 }


 
 button#zn:hover{
    margin-bottom: 10px;
    background-color: green;
 }

 button#bas:hover{
    margin-bottom: 10px;
    background-color: green;
 }

 button#zn{
    padding: 10px;
    border-radius: 8px;
    background-color: white;
    border: none;
    margin-right: 20px; 
    transition: 0.5s;
}
 /* button */













 /* ==========================================
   Search Results
========================================== */

.search-box {
    position: relative;
    z-index: 10001;
}

#searchResults {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;

    width: 100%;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.12);

    border: 1px solid rgba(24, 92, 59, 0.10);

    overflow: hidden;

    z-index: 9999;

    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 10px 12px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.search-result-item:hover {
    background: #f1faf4;
}

.search-result-item img {
    width: 58px;
    height: 58px;

    object-fit: cover;

    border-radius: 12px;

    flex-shrink: 0;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 6px;

    min-width: 0;
}

.search-result-info strong {
    font-size: 14px;

    color: #183b2a;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-info span {
    font-size: 13px;

    color: #2f8a58;

    font-weight: 700;
}

.search-loading,
.search-empty,
.search-error {
    padding: 20px;

    text-align: center;

    color: #64748b;

    font-size: 14px;
}

.search-empty small {
    display: block;

    margin-top: 6px;

    color: #94a3b8;
}


/* موبایل */

@media (max-width: 600px) {

    #searchResults {
        width: 100%;

        max-height: 350px;

        overflow-y: auto;
    }

    .search-result-item {
        padding: 9px;
    }

    .search-result-item img {
        width: 50px;
        height: 50px;
    }

    .search-result-info strong {
        font-size: 13px;
    }

}














/* ==========================================
   SEARCH RESULTS
========================================== */

.search-box {
    position: relative;
}

#searchResults {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);

    overflow: hidden;

    z-index: 9999;

    display: none;

    text-align: right;
}

.search-result-item {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    cursor: pointer;

    transition: 0.2s ease;

    border-bottom: 1px solid #edf2ee;
}

.search-result-item:hover {
    background: #f1faf4;
}

.search-result-image {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    border-radius: 12px;

    overflow: hidden;

    background: #f1faf4;

    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.search-no-image {
    font-size: 24px;
}

.search-result-info {
    display: flex;

    flex-direction: column;

    gap: 5px;

    min-width: 0;
}

.search-result-info strong {
    color: #185c3b;

    font-size: 14px;
}

.search-result-info span {
    color: #777;

    font-size: 12px;
}

.search-empty {
    padding: 20px;

    text-align: center;

    color: #777;

    font-size: 14px;
}


/* =====================================================
   حالت صفحه محصول: نمایش محصول در ابتدای محتوای صفحه
   فقط زمانی فعال است که URL دارای ?id= باشد.
===================================================== */
body.single-product-mode .attari-dynamic-categories,
body.single-product-mode .products-section,
body.single-product-mode .support,
body.single-product-mode .attariSearchX-section,
body.single-product-mode #canvasContainer {
    display: none !important;
}

body.single-product-mode .dynamic-product-detail {
    display: block;
    position: relative;
    width: min(1200px, calc(100% - 32px));
    margin: 28px auto 36px;
    scroll-margin-top: 20px;
}

body.single-product-mode .dynamic-recommendations {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto 48px;
}

body.single-product-mode .dynamic-product-inner {
    margin-top: 0;
}

@media (max-width: 768px) {
    body.single-product-mode .dynamic-product-detail,
    body.single-product-mode .dynamic-recommendations {
        width: calc(100% - 24px);
        margin-top: 16px;
    }
}

/* علاقه‌مندی‌های متصل به حساب کاربری */
.favorite.is-favorite { color: #d93658 !important; }
.favorite:disabled { opacity: .65; cursor: wait; }

/* اصلاح پنل پیشنهادهای جستجو: اندازه محدود و بدون پوشاندن بخش‌های صفحه */
#searchResults.site-search-results, .search-box #searchResults {
  width: min(380px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  max-height: 340px;
  overflow-y: auto;
  box-sizing: border-box;
  right: 0; left: auto;
}
#searchResults.site-search-results:empty { display: none !important; }
#searchResults .search-result-item { width: 100%; box-sizing: border-box; }


/* Responsive consistency patch: shared category grids and navigation */
.category-product-grid,
#categoryProductSections .category-product-grid,
.category-products-groups .category-product-grid {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
  align-items:stretch;
}
.category-grid-item { min-width:0; width:100%; }
.category-grid-item .product-card,
.category-grid-item .product-card-container,
.category-grid-item .product-item { width:100%; min-width:0; }
@media (min-width: 1101px) {
  .category-product-grid,#categoryProductSections .category-product-grid,.category-products-groups .category-product-grid { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
}
@media (min-width: 701px) and (max-width:1100px) {
  .category-product-grid,#categoryProductSections .category-product-grid,.category-products-groups .category-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:14px !important; }
}
@media (max-width:700px) {
  .category-product-grid,#categoryProductSections .category-product-grid,.category-products-groups .category-product-grid { grid-template-columns:minmax(0,1fr) !important; gap:16px !important; }
  .category-grid-item { width:100%; }
  .category-products-groups,.category-section { width:100%; max-width:100%; box-sizing:border-box; }
}
/* Responsive main menu on all pages */
@media (max-width:850px) {
  #menu nav { position:relative; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; }
  #menu nav ul { display:none; position:absolute; top:100%; right:0; left:0; width:100%; z-index:2000; margin:0; padding:12px; box-sizing:border-box; background:#fff; border-radius:0 0 16px 16px; box-shadow:0 12px 30px rgba(0,0,0,.12); flex-direction:column; gap:4px; }
  #menu nav ul.is-responsive-open { display:flex !important; }
  #menu nav ul li, #menu nav ul li a { width:100%; box-sizing:border-box; }
  #menu nav ul li a { display:flex; padding:12px 14px; border-radius:10px; }
  #menu .menu-button { display:flex !important; flex-direction:column; justify-content:center; gap:4px; }
}
@media (min-width:851px) {
  #menu nav ul { display:flex !important; }
}


/* === Attari polished search dropdown & favorite heart feedback === */
.search-box { position: relative; isolation: isolate; }
#searchResults.site-search-results, .search-box #searchResults {
  position:absolute; top:calc(100% + 10px); right:0; left:auto;
  width:min(420px, calc(100vw - 28px)); max-width:calc(100vw - 28px);
  max-height:min(360px, 55vh); overflow:auto; overscroll-behavior:contain;
  padding:7px; border:1px solid rgba(16,126,77,.14); border-radius:20px;
  background:rgba(255,255,255,.97); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  box-shadow:0 22px 60px rgba(10,55,35,.20), 0 4px 14px rgba(10,55,35,.08);
  z-index:10050; text-align:right; scrollbar-width:thin; scrollbar-color:#9acbb0 transparent;
}
#searchResults .search-result-item {
  display:flex; align-items:center; gap:13px; width:100%; min-height:76px; box-sizing:border-box;
  padding:10px 12px; margin:0; border:0; border-radius:14px; border-bottom:1px solid #edf5ef;
  background:transparent; color:#174b32; text-align:right; cursor:pointer;
  transition:background .18s ease, transform .18s ease;
}
#searchResults .search-result-item:last-child { border-bottom:0; }
#searchResults .search-result-item:hover, #searchResults .search-result-item:focus-visible {
  background:linear-gradient(110deg,#f0fbf4,#e4f6eb); transform:translateX(-2px); outline:0;
}
#searchResults .search-result-image, #searchResults .search-result-item img {
  width:58px; height:58px; min-width:58px; flex:0 0 58px; border-radius:13px; overflow:hidden;
  object-fit:cover; background:#edf7f0; border:1px solid #e1eee5;
}
#searchResults .search-result-info { display:flex; flex:1; min-width:0; flex-direction:column; gap:6px; }
#searchResults .search-result-info strong { font-size:14px; line-height:1.7; color:#155638; white-space:normal; overflow-wrap:anywhere; }
#searchResults .search-result-info span { color:#198653; font-size:12px; font-weight:800; }
#searchResults .search-empty, #searchResults .search-loading, #searchResults .search-error {
  padding:22px 14px; text-align:center; border-radius:14px; color:#587365; font-size:13px;
}
/* Heart buttons: visible hover/focus and clear filled state on every product card */
.favorite, .favorite-btn, [data-action="favorite"] {
  -webkit-tap-highlight-color:transparent; transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.favorite.is-favorite, .favorite-btn.is-favorite, [data-action="favorite"].is-favorite {
  color:#e11d48 !important; background:#fff0f3 !important; border-color:#ffc7d3 !important;
  box-shadow:0 5px 18px rgba(225,29,72,.16); font-weight:900;
}
.favorite:not(:disabled):hover, .favorite-btn:not(:disabled):hover, [data-action="favorite"]:not(:disabled):hover { transform:scale(1.07); }
.favorite:focus-visible, .favorite-btn:focus-visible, [data-action="favorite"]:focus-visible { outline:3px solid #9bd6b2; outline-offset:3px; }
.favorite:disabled, .favorite-btn:disabled, [data-action="favorite"]:disabled { opacity:.65; cursor:wait; }
@media(max-width:600px) {
 #searchResults.site-search-results, .search-box #searchResults { width:min(360px,calc(100vw - 24px)); max-width:calc(100vw - 24px); max-height:48vh; border-radius:16px; }
 #searchResults .search-result-item { min-height:68px; padding:8px; gap:10px; }
 #searchResults .search-result-image, #searchResults .search-result-item img { width:48px; height:48px; min-width:48px; flex-basis:48px; }
 #searchResults .search-result-info strong { font-size:13px; }
}


/* === PATCH: منوی کناری و لایه تارکننده در تمام صفحات === */
#overlay.overlay {
  position: fixed !important; inset: 0 !important;
  display: block !important;
  background: rgba(8, 20, 14, .52) !important;
  -webkit-backdrop-filter: blur(5px) !important; backdrop-filter: blur(5px) !important;
  opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
  transition: opacity .28s ease, visibility .28s ease !important;
  z-index: 9998 !important;
}
#overlay.overlay.active { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
#sideMenu.side-menu { z-index: 9999 !important; }
#sideMenu.side-menu.active { visibility: visible !important; pointer-events: auto !important; }
/* جعبه نتایج جست‌وجو باید روی محتوای صفحه دیده شود */
#topmenu .search-box { position: relative !important; overflow: visible !important; }
#searchResults.site-search-results, .search-box #searchResults {
  position: absolute !important; top: calc(100% + 8px) !important; right: 0 !important; left: auto !important;
  z-index: 10020 !important; background: #fff !important; color: #173d2b !important;
  box-shadow: 0 16px 45px rgba(15, 55, 34, .18) !important;
}

/* گل نرگس: footer brand and social links */
.footer-logo-icon { overflow:hidden; background:#fff!important; border-radius:50%!important; box-shadow:0 5px 15px rgba(10,90,48,.12)!important; flex:0 0 48px; }
.footer-logo-icon img { width:100%; height:100%; object-fit:contain; display:block; }
.gol-narges-socials { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.gol-narges-socials a { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:50%; background:#eaf7ef; color:#087d49; text-decoration:none; border:1px solid #d6eadc; }
.gol-narges-socials a[aria-disabled="true"] { cursor:default; opacity:.88; }
.gol-narges-socials svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.gol-narges-socials .social-letter { display:grid; place-items:center; width:24px; height:24px; border:2px solid currentColor; border-radius:8px; font-weight:900; font-family:Arial,sans-serif; font-size:17px; }
.gol-narges-socials .eitaa-mark { border-radius:50% 50% 50% 4px; }
@media(max-width:850px){ .scroll-to-top,#scrollToTopBtn,#backTop { right:12px!important; bottom:92px!important; z-index:10050!important; } .footer-logo-icon { width:44px!important;height:44px!important;flex-basis:44px!important; } }

/* Official social platform logos supplied by the site owner */
.gol-narges-socials a { width:38px; height:38px; padding:7px; box-sizing:border-box; overflow:hidden; }
.gol-narges-socials img.social-platform-logo { display:block; width:100%; height:100%; max-width:24px; max-height:24px; object-fit:contain; border-radius:4px; }
@media(max-width:760px){ .gol-narges-socials a { width:36px; height:36px; padding:6px; } .gol-narges-socials img.social-platform-logo { max-width:23px; max-height:23px; } }

/* Gol Narges: desktop main navigation order and breathing room (mobile drawer remains unchanged) */
@media (min-width: 851px) {
  #menu nav > ul {
    direction: rtl !important;
    flex-direction: row !important;
    column-gap: 18px !important;
  }
  #menu nav > ul > li {
    flex: 0 0 auto;
  }
  #menu nav > ul > li > a {
    direction: rtl;
    text-align: right;
    white-space: nowrap;
  }
}
