body{
  margin: 0;
  padding: 0;
  direction: rtl;
  font-size: 13px ;
  font-family: iranyekanwebregularfanum ;

}
@font-face {
    font-family: iranyekanwebregularfanum;
    src: url(/fonts/iranyekanwebregularfanum.ttf);
  }
  @font-face {
    font-family: arabic;
    src: url(/fonts/arabic.otf);
  }
  @font-face {
    font-family: IRANYekanWebExtraBlack;
    src: url(/fonts/IRANYekanWebExtraBlack.ttf);
  }
  @font-face {
    font-family: IRANYekanWebExtraBold;
    src: url(/fonts/IRANYekanWebExtraBold.ttf);
  }
  @font-face {
    font-family: IRANYekanWebMedium;
    src: url(/fonts/IRANYekanWebMedium.ttf);
  }
  @font-face {
    font-family: IRANYekanWebRegular;
    src: url(/fonts/IRANYekanWebRegular.ttf);
  }
   @font-face {
    font-family: IRANYekanWebLight;
    src: url(/fonts/IRANYekanWebLight.ttf);
  }
  
a{
    text-decoration: none !important;
    color: #333 !important;
  }
  p{
    margin-bottom: 0px !important;
  }
:root{
   --primary-color:hsl(266.25deg 88.89% 21.18%);

  }
.bg-orange{
  background-color: var(--orange);
}
.font-gray{
  color: hsl(0deg 0% 78.43%);
}
.container-fluid  .row:not(.header-back){
    max-width: 1676px;
    margin: 0 auto !important;
  }
  .main-row{
    max-width: 1150px !important;
    margin: 0 auto !important;

  }


.advertise {
  position: relative;
  overflow: hidden;
}
.ad-text{
  font-size: 1.5em;
 font-family: IRANYekanWebExtraBold;
animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}
 


header{
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 20000;
}
.header-box-shadow{
    box-shadow:0px 1px 15px 1px var(--orange);
}
.advertise img{
    width: 100%;
}
.res-search{

}
.header-down {
    /* background-color: var(--black); */
    margin: 0px !important;
    position: relative;
    transform: translateY(0);
    z-index: 0;
    transition: transform 0.3s ease-in-out, z-index 0.6s ease-in-out;
}

  .header-down.header-hidden {
    transform: translateY(-100%);
    transition: transform .3s ease;
    z-index: -1;
  
  }
/*header-down moviing up header-top fix*/

.header-top{
  background-color: #fff;
}

.header-back{
background-color: #fff;
z-index: 1;
/* box-shadow:0px 2px 15px 2px #3e3e3e ; */
}

.header-back.lg-header-up{
  z-index: 10001;
}


.bar-menu{
  display: none;
}
.brand-logo{
    display: flex;
    align-items: center;
   
  }
  .brand-img{
    width: 23%;
    padding-right: 20px;
  }
  .search-input{
    display: flex;
    align-items: center;
    position: relative;
    width: 60%;
    /* border: 1px solid rgb(134, 133, 133);; */
    border-radius: 8px;
    background-color: hsl(0deg 0% 92.16%);
    padding-right: 10px;
  }
  .search-input input{
    width: 100%;
    outline: none;
    border: none;
    padding:10px 30px;
    border-radius: 12px;
    background-color: hsl(0deg 0% 92.16%);


   
  }
  .search-input input::placeholder{
    font-size: .9em;
  }
  .search-input img{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 6px;
    padding: 6px;
    border-radius: 10px;
  }
  .search-res{
    display: none;
  }
  .user-cart{
    justify-content: end;
  }
  .user-btn{
    background-image: url(/images/user-back.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
  }
  .user-btn a{
    color: #fff !important;
  }
  .user-btn img{
    margin-left: 10px;
  }
  .user a{
    color: black;
    margin-left: 5px;
  }
 /* ==================== User Submenu Styles ==================== */
 .user{
  position: relative;
 }
.user-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f5ff 100%);
    box-shadow: 0 10px 40px rgba(77, 20, 140, 0.15);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    margin-top: 15px;
    border: 2px solid rgba(77, 20, 140, 0.1);
    overflow: hidden;
}

.user:hover .user-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        hsl(266.25deg 88.89% 21.18%) 0%, 
        hsl(304.44deg 100% 21.18%) 100%);
}

.user-submenu-header {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    border-bottom: 1px solid rgba(77, 20, 140, 0.1);
    background: linear-gradient(135deg, 
        rgba(77, 20, 140, 0.05) 0%, 
        rgba(174, 20, 140, 0.05) 100%);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, 
        hsl(266.25deg 88.89% 21.18%) 0%, 
        hsl(304.44deg 100% 21.18%) 100%);
    margin-left: 12px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(77, 20, 140, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 1.1em;
    font-weight: 700;
    color: hsl(266.25deg 88.89% 21.18%);
    margin-bottom: 4px;
}

.user-email {
    font-size: .9em;
    color: #666;
}

.user-menu-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.user-menu-item {
    border-bottom: 1px solid rgba(77, 20, 140, 0.05);
    transition: all 0.3s ease;
}

.user-menu-item:last-child {
    border-bottom: none;
}

.user-menu-item a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #444;
    font-size: .9em;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.user-menu-item a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(77, 20, 140, 0.08) 0%, 
        rgba(174, 20, 140, 0.08) 100%);
    transition: width 0.3s ease;
}

.user-menu-item a:hover::before {
    width: 100%;
}

.user-menu-item a:hover {
    color: hsl(266.25deg 88.89% 21.18%);
    padding-right: 25px;
}

.user-menu-item i {
    margin-left: 12px;
    font-size: 18px;
    color: #999;
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.user-menu-item:hover i {
    color: hsl(266.25deg 88.89% 21.18%);
    transform: scale(1.1);
}

.user-menu-item.logout a {
    color: hsl(304.44deg 100% 21.18%);
    font-weight: 600;
}

.user-menu-item.logout i {
    color: hsl(304.44deg 100% 21.18%);
}

.user-menu-item.logout a:hover {
    background: linear-gradient(90deg, 
        rgba(174, 20, 140, 0.1) 0%, 
        rgba(174, 20, 140, 0.05) 100%);
}
.login-required-state {
    padding: 30px 20px 10px;
    text-align: center;
}

.login-icon-wrapper {
    margin: 0 auto 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1;
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.9;
    }
}

.login-title {
    font-size: 18px;
    font-weight: 700;
    color: hsl(266.25deg 88.89% 21.18%);
    margin: 0 0 10px 0;
}

.login-description {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.login-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.login-primary-btn,
.register-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-primary-btn {
    background: linear-gradient(135deg, 
        hsl(266.25deg 88.89% 21.18%) 0%, 
        hsl(304.44deg 100% 21.18%) 100%);
    color: white !important;
    box-shadow: 0 4px 12px rgba(77, 20, 140, 0.2);
}

.login-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(77, 20, 140, 0.35);
}

.register-secondary-btn {
    background: #fff;
    color: hsl(266.25deg 88.89% 21.18%) !important;
    border: 2px solid hsl(266.25deg 88.89% 21.18%);
}

.register-secondary-btn:hover {
    background: rgba(77, 20, 140, 0.05);
    transform: translateY(-2px);
}

.login-actions i {
    font-size: 15px;
}

.login-features {
    padding-top: 20px;
    border-top: 2px dashed rgba(77, 20, 140, 0.15);
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    color: #555;
}

.feature-item i {
    color: hsl(266.25deg 88.89% 21.18%);
    font-size: 14px;
}

.feature-item:hover {
    color: hsl(266.25deg 88.89% 21.18%);
}


/* ==================== Responsive Adjustments ==================== */
@media (max-width: 480px) {
    .empty-cart-state,
    .login-required-state {
        padding: 20px 15px;
    }
    
    .empty-cart-animation svg,
    .login-icon-wrapper svg {
        width: 100px;
        height: 100px;
    }
    
    .empty-cart-title,
    .login-title {
        font-size: 16px;
    }
    
    .suggestion-tags {
        gap: 6px;
    }
    
    .suggestion-tag {
        font-size: 11px;
        padding: 5px 12px;
    }
}


  /* ==================== Cart Submenu Styles ==================== */
   .cart{
    background-color: #fff;
    border-radius: 50%;
  padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    margin-left: 40px;
  }
.cart-badge{
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--primary-color);
  width: 20px;
  height: 20px;
  color: #fff;
  font-size: .8em;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
  .cart::after{
    content: "";
    position: absolute;
    height: 120%;
    width: 1px;
    background-color: #3333;
    left: -20px;
    top: 0;
  }
.cart-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    width: max-content;
    background: linear-gradient(135deg, #ffffff 0%, #f8f5ff 100%);
    box-shadow: 0 10px 40px rgba(77, 20, 140, 0.15);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    padding: 0;
    margin-top: 15px;
    border: 2px solid rgba(77, 20, 140, 0.1);
    overflow: hidden;
}


.cart:hover .cart-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-submenu::before, .empty-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        hsl(304.44deg 100% 21.18%) 0%, 
        hsl(266.25deg 88.89% 21.18%) 100%);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(77, 20, 140, 0.05) 0%, 
        rgba(174, 20, 140, 0.05) 100%);
    border-bottom: 2px solid rgba(77, 20, 140, 0.1);
}

.cart-title {
    font-size: 16px;
    font-weight: 700;
    color: hsl(266.25deg 88.89% 21.18%);
    margin: 0;
}

.cart-items-count {
    font-size: 13px;
    color: #666;
    background: rgba(77, 20, 140, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

.cart-items {
    max-height: 320px;
    overflow-y: auto;
    padding: 10px 15px;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: rgba(77, 20, 140, 0.05);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: hsl(266.25deg 88.89% 21.18%);
    border-radius: 10px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid rgba(77, 20, 140, 0.05);
    position: relative;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(77, 20, 140, 0.1);
  
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(77, 20, 140, 0.05) 0%, 
        rgba(174, 20, 140, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(77, 20, 140, 0.1);
}

.cart-item-image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
    margin-right: 12px;
    padding-left: 30px;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.cart-item-price {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
}

.item-quantity {
    color: #999;
    margin-left: 6px;
}

.item-price {
    font-weight: 700;
    color: hsl(266.25deg 88.89% 21.18%);
    margin-left: 4px;
}

.price-currency {
    font-size: 11px;
    color: #999;
    margin-right: 3px;
}

.remove-item-btn {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(174, 20, 140, 0.1);
    color: hsl(304.44deg 100% 21.18%);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    background: hsl(304.44deg 100% 21.18%);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.cart-footer {
    padding: 15px 20px;
    border-top: 2px solid rgba(77, 20, 140, 0.1);
    background: #fff;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px;
    background: linear-gradient(135deg, 
        rgba(77, 20, 140, 0.05) 0%, 
        rgba(174, 20, 140, 0.05) 100%);
    border-radius: 12px;
}

.total-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.total-amount {
    display: flex;
    align-items: baseline;
}

.amount {
    font-size: 18px;
    font-weight: 700;
    color: hsl(266.25deg 88.89% 21.18%);
    margin-left: 4px;
}

.currency {
    font-size: 13px;
    color: #666;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.view-cart-btn, .checkout-btn {
    flex: 1;
    display: block;
    padding: 10px 8px;
    text-align: center;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.view-cart-btn {
    background: #fff;
    color: hsl(266.25deg 88.89% 21.18%) !important;
    border-color: hsl(266.25deg 88.89% 21.18%);
}

.view-cart-btn:hover {
    background: hsl(266.25deg 88.89% 21.18%);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(77, 20, 140, 0.3);
}

.checkout-btn {
    background: linear-gradient(135deg, 
        hsl(266.25deg 88.89% 21.18%) 0%, 
        hsl(304.44deg 100% 21.18%) 100%);
    color: white !important;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 20, 140, 0.4);
}

/* Empty Cart State */
.empty-cart{
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    width: max-content;
    background: linear-gradient(135deg, #ffffff 0%, #f8f5ff 100%);
    box-shadow: 0 10px 40px rgba(77, 20, 140, 0.15);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    padding: 0;
    margin-top: 15px;
    border: 2px solid rgba(77, 20, 140, 0.1);
    overflow: hidden;
}
.empty-cart {
    text-align: center;
    padding:15px 10px;
}
.cart:hover .empty-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.empty-cart-icon {
    font-size: 38px;
    color: rgba(77, 20, 140, 0.3);
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.empty-cart-message {
    font-size: 14px;
    color: #666;
    /* margin-bottom: 20px !important; */
    font-weight: 500;
}

.continue-shopping-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, 
        hsl(266.25deg 88.89% 21.18%) 0%, 
        hsl(304.44deg 100% 21.18%) 100%);
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.continue-shopping-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 20, 140, 0.4);
}
 
  .header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: rgba(228, 193, 193, 0.377);
    padding: 10px;
    border-radius: 10px;
    font-size: .8em;
    font-family: IRANYekanWebBold;
  }
  .products-cart-container{
    max-height: 250px;
    overflow-y: auto;
  }
  
  
  .back-button {
    display: flex;
    align-items: center;
    margin-right: auto;
    color: #333;
  }
  .back-button i{
    margin-right: 5px;
  }
  
  .cart-title {
    font-size: 14px;
  }
  
  .new-badge {
    color: #868686;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
  }
   .header-down{
    background-color: #fff;
    margin: 0px !important;
    position: absolute;
    /* top: 99%; */
   
    
  }
  .header-down.header-hidden {
    transform: translateY(-100%);
    transition: all .3s ease;
    z-index: -1;
  
  }
  .header-down .row{
    max-width: 1676px;
    margin: 0 auto !important;
  }
  .nav{
    padding-right: 0px;
  }
  .navs{
    position: relative;
  }
  .navs ul{
    list-style: none;
    margin-bottom: 0px;
  }
 
.category > li {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    min-width: 180px;
    display: flex;
    align-items: center;
}

.category > li:hover {
    /* background-color: var(--primary-color); */
    /* color: white; */
    /* border-color: var(--primary-color); */
}

.category > li:hover img {
    /* background-color: #333; */
}

/* Category Dropdown */
.category-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 230px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 5px;
}

.category:hover .category-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-dropdown ul {
    flex-direction: column;
    padding: 10px 0;
    list-style: none;
    margin: 0;
}

.category-dropdown li {
    width: 100%;
}

.category-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.category-dropdown a:hover {
    background-color: var(--primary-color);
    color: white;
}

.category-dropdown li:last-child a {
    border-bottom: none;
}

/* Navigation Items Hover Effects */
.nav > li {
    position: relative;
    margin: 0 5px;
}

.nav > li > a {
    display: block;
    padding: 10px;
    color:var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}


.has-submenu {
    position: relative;
}

.has-submenu> a::before {
         font-family: 'Font Awesome 5 Free';
    content: "\f078";
    font-weight: 900;
    position: absolute;
    left: -5px;
    top: 13px;
    font-size: .7em;
 
}

.nav .has-submenu:hover > a::before {
    transform: rotate(180deg);
}




.sub-menu a:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: none !important;
}

.sub-menu a::after {
    display: none;
}

.sub-menu li:last-child a {
    border-bottom: none;
}




  .category{
    /* margin-left: 20px; */
  }
  
  .category >li {
    padding:5px 10px;
    background-color: hsl(280deg 25% 90.59%);
  }
  .category > li{
    /* border: 1px solid rgb(134, 133, 133); */
    border-radius: 15px;
  }
  .category > li img{
    /* background-color: var(--primary-color); */
    padding: 6px;
    border-radius: 10px;
  }


/* Bottom Border Animation */
.nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        hsl(304.44deg 100% 21.18%),
        var(--primary-color),
        hsl(304.44deg 100% 21.18%));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(50%);
    border-radius: 2px;
}

.nav > li > a:hover::after {
    width: 80%;
}


/* Ripple Effect on Click */
.nav > li > a {
    position: relative;
}



/* ==================== Submenu Modern Style ==================== */
.nav .sub-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    min-width: 220px;
    background: white;
    border: 2px solid rgba(77, 20, 140, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(77, 20, 140, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
}

.nav .sub-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        hsl(266.25deg 88.89% 21.18%) 0%, 
        hsl(304.44deg 100% 21.18%) 100%);
}

.nav .has-submenu:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu ul {
    flex-direction: column;
    padding: 8px 0;
    list-style: none;
    margin: 0;
}

.sub-menu li {
    width: 100%;
}

.sub-menu a {
    display: flex !important;
    align-items: center;
    padding: 12px 20px !important;
    color: #333 !important;
    font-size: 13px;
    transition: all 0.3s ease;
    border-radius: 0 !important;
    position: relative;
}

.sub-menu a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(77, 20, 140, 0.1) 0%, 
        rgba(174, 20, 140, 0.05) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.sub-menu a:hover::before {
    width: 100%;
}

.sub-menu a:hover {
    color: hsl(266.25deg 88.89% 21.18%) !important;
    padding-right: 25px !important;
    background: transparent !important;
}

.sub-menu a::after {
    content: '\f060';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-size: 12px;
}

.sub-menu a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.sub-menu li:not(:last-child) {
    border-bottom: 1px solid rgba(77, 20, 140, 0.05);
}




  /* baner-sec */
  .baner-nav{
    position: absolute;
    left: 15px;
    bottom: 10px;
    z-index: 1000;
  }
  .baner-nav img{
    cursor: pointer;
    width: 40px;
  }
  .baner-item{
    border-radius: 25px;
  }
  .baner-item img{
       border-radius: 25px;
       height:100%;
  }
  .baner-txt{
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    color: #fff;
  }
  .baner-txt h1{
    /* text-align: justify; */
    font-family: arabic;
    font-size: 2.2em;
    line-height: 1.7;
  }
  .baner-txt p{
    margin-bottom: 30px !important;
    margin-top: 10px;
  }
  .baner-txt a{
    background-color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
     transition: all .3s ;
  }
  .baner-txt a:hover{
    background-color: var(--primary-color);
    color: #fff !important;
    transition: all .3s ;
    box-shadow: 0px 0px 20px 2px rgba(37, 0, 37, 0.397);
  }
  .baner-left{
    padding-bottom: 18px;
  }
  .baner-left img{
    width: 100%;
    height: 100%;
  }
  .baner-back{
    width: 100%;
    height: 100%;
 
  }
  .baner-main-img{
    position: absolute;
    left: 30px;
    bottom: 5px;
  }
  .baner-title{
    position: absolute;
     right: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1.9em;
    text-shadow: 0px 2px 2px #1a1818;
    font-family: arabic;
  }
  .awards-baner img{
    width: 100%;
  }
  
/* product-carousel */
.title-txt{
  position: absolute;
  top: 110px;
  right: 50px;
  z-index: 2;
  text-align: center;
}
.title-txt a{
  margin-top: -20px;
  color: #fff !important;
  display: block;
}
.product-title-txt{
  height: 100%;
}
.product-title-txt .title-inner-img{
      margin-top: -40px;
    margin-right: -20px;
}

.product-title > img{
height: 100%;
}
.title-txt h3{
  color: #fff;
  font-size: 1.4em;
 font-family: arabic;

}
.product-col{
  padding-right: 80px !important;
  position: relative;
}
.product-col:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 15%;
  /* تغییر به گرادیانت برای ایجاد افکت هاله نور */
  background: linear-gradient(to right, rgba(255,255,255,0.8), rgba(255,255,255,0));
  z-index: 10000;
}
.product-left{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 170px;
  background-color: #fff;
  border-radius: 50%;
  z-index: 10000;
  padding: 10px;
  border: 1px solid var(--primary-color);
  cursor: pointer;
}
.product-right{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 120px;
  background-color: #fff;
  border-radius: 50%;
  z-index: 10000;
  padding: 10px;
  border: 1px solid var(--primary-color);
  cursor: pointer;
}
.product-col-two .product-left{
  left:40px
}
.product-col-two .product-right{
  right:160px
}
   .product-card {
     
      background: #fff;
      border-radius: 25px;
      overflow: hidden;
      text-align: center;
      position: relative;
      transition: transform 0.3s ease;
      padding: 10px 10px 0px 10px;
      border: 1px solid hsl(280.8deg 29.41% 66.67%);

    }

    .product-card:hover {
      /* transform: translateY(-5px); */
      box-shadow: 0px 0px 5px 1px hsl(280.8deg 29.41% 66.67%);
    }
    .product-img{
      height: 220px;
      overflow: hidden;
      border-radius: 25px;
    }
     .product-card:hover img{
      transform: scale(1.1);
        transition: all 0.3s ease;
     }

    .product-card img {
      width: 100%;
      display: block;
      height: 100%;
       transition: all 0.3s ease;
      
    }

    .product-info {
      padding: 15px;
       font-weight: bold;
    }

    .product-info h1 {
      font-size: 14px;
      color: #444;
      margin: 10px 0;
      line-height: 1.6;
    }

    .price-btn {
      background: #4a148c;
      color: #fff;
      font-weight: bold;
      font-size: 15px;
      padding: 10px 0;
      border-radius: 25px 25px 0px 0px;
      transition: all 0.3s ease;
      cursor: pointer;
      position: relative;
      margin: 0px 12px;
    }
   

    .product-card:hover .price-btn {
      transform: translateY(-10px);
       border-radius: 25px
    }

    .product-col-two{
      direction: ltr;
      /* padding-left: 70px; */
      position: relative;
    }
    .product-col-two:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 15%;
  /* تغییر به گرادیانت برای ایجاد افکت هاله نور */
  background: linear-gradient(to right,  rgba(255,255,255,0),rgba(255,255,255,0.8));
  z-index: 10000;
}
    .product-carousel-two .product-img img{
      object-fit: scale-down;
    }

     .blog-card {
     
        background-color: white;
        border-radius: 25px;
      
        overflow: hidden;
        position: relative;
         transition: all .3s ease-in-out;
    }
    .blog-title h3{
        font-family: arabic;
        font-size:1.5em;
        color:hsl(304.44deg 100% 21.18%);
    }


    .blog-card-image img {
        width: 100%;
        height: 250px; /* Adjust as needed */
        object-fit: cover;
        display: block;
         transition: all .3s ease-in-out;
    }
    .blog-card:hover .blog-card-content{
      background-color: #fff;
       transition: all .3s ease-in-out;
    }
    .blog-card:hover .blog-card-button{
             box-shadow: 0px 0px 5px 1px hsl(304, 100%, 20%);
              transition: all .3s ease-in-out;
          }
.blog-card:hover .blog-img{
            transform: scale(1.01);
            transition: all .3s ease-in-out;
          }
    .blog-card-content {
        padding: 20px;
        text-align: right;
        position: absolute;
        bottom: 20px;
        right: 3%;
        width: 94%;
        z-index: 1;
        margin-top: -80px; /* Adjust to overlap the image */
        background-color: rgba(255, 255, 255, 0.849);
        border-radius: 15px ;
         transition: all .3s ease-in-out;
      
    }

    .blog-card-title {
        font-size: 1.2em;
        font-weight: 700;
        color: #333;
        margin-bottom: 10px;
    }

    .blog-card-description {
        font-size: 0.9rem;
        color: #333;
        line-height: 1.9;
        margin-bottom: 20px;
    }

    .blog-card-button {
      
        background-color: hsl(304.44deg 100% 21.18%); 
        color: white;
        width: 28px;
        height: 28px;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: background-color 0.3s ease;
        float: left;
        /*margin-top: -10px;*/
          transition: all .3s ease-in-out;
    }
.blog-title a{
    font-size:1.2em;
}
    

    .blog-card-button img {
        width: auto!important;
        
    }
     .brief-card a{
            display: flex;
            width: 700px; 
            border-radius: 15px;  
            overflow: hidden;
 
        }
      

        .brief-card-content {
            flex-grow: 1;
            padding: 20px;
            padding-left:0px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
        }

        .brief-card-title {
            font-size: 1.2em;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
        }

        .brief-card-date {
            font-size: 14px;
            color: #777;
        }

      
      

        .brief-card-image {
            width: 240px;
            height: 110px; 
            border-radius: 25px;
            overflow: hidden; 
        }

        .brief-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-top-left-radius: 15px;
            border-bottom-left-radius: 15px;
            transition: all .3s ease-in-out;
        }
          .brief-card:hover .blog-card-button{
             box-shadow: 0px 0px 5px 1px hsl(304, 100%, 20%);
          }
          .brief-card:hover .brief-img{
            transform: scale(1.1);
            transition: all .3s ease-in-out;
          }
          .services img{
            height: auto;
          }
          .services-img{
            display: flex;
            align-items: center;
          }
          .services-txt h4{
            font-size: 1em;
            font-weight: bold;
            margin-bottom: 10px;

          }
          .services-txt p{
            font-size: .8em;
            font-weight: bold;
            /* max-width: 140px; */
            color: #777;
            line-height: 1.8em;
            
          }

          .footer-container{
            background-image: url(/images/footer-back.png);
            background-repeat: no-repeat;
            background-size: 100% 100%;
            border-top-left-radius: 25px;
            border-top-right-radius: 25px;
            color: #fff;
            position: relative;
          }
        
          .footer-middle{
            margin-top: 30px !important;
          }
          .footer-middle-top >div:first-child h4{
            position: relative;
          }
          .footer-middle-top >div:first-child h4::before{
            position: absolute;
            content: '•';
            width: 16px;
            right: -10px;
            top:2px;
             color: #fff;
             margin-left: 10px;
          }
          .footer-container a{
            color:#fff !important
          }

             .footer-column h4 {
            font-size: 1em;
            font-weight: bold;
            margin-bottom: 20px;
           
        }
        .footer-column:not(.large) h4{
          /* color: var(--primary-color); */

        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
           
            text-decoration: none;
            font-size: 0.9em;
            transition: color 0.3s;
            display: flex;
            align-items: center;
              transition:all .2s;
        }
        
      
        
        .footer-links a:hover {
            color: #d81616;
            text-decoration:underline !important;
            transition:all .2s;
        }
        
          .accordion-toggle {
            display: none;
        }
        
        .accordion-label {
            /* display: none; */
            cursor: pointer;
            position: relative;
            padding-left: 25px;
        }
        .footer-column{
              min-width: 170px;
    border-radius: 15px;
    padding: 0px 15px;
        }

        .socials{
          background-color: hsl(262.11deg 40% 37.25%);
          border-radius: 15px;
          padding: 10px;
          width: 95%;
        
        }
        .social-icons{
              display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 0px;
        }
       
        .read-about-us{
          width: 100px;
        }

        .about-us p{
          text-align: justify;
          font-family: IRANYekanWebLight;
          color: #dfdbdb;
          line-height: 1.8;
        }
        
        .read-about-us span{
          font-size: 1.5em;
        }
        .about-img{
         background-color: hsl(304.44deg 100% 21.18%);
         display: flex;
         justify-content: center;
         align-items: center;
         border-radius: 8px;
        
         
        }
        .location{
          
        }
        .location img{
          margin-left: 4px;
        }
        .info{
          background-color: hsl(258.95deg 40% 37.25%);
          padding: 20px 30px;
          border-radius: 25px;
          background-size: 100% 100%;
        }
        .e-namads a{
          background-color: hsl(267.37deg 22.71% 50.78%);
          height: 115px;
          display: inline-block;
          padding: 12px;
          border-radius: 15px;
          
        }
        .e-namads a:first-child{
          margin-left: 20px;
        }
        .footer-rights{
          background-color: hsl(258.95deg 40% 37.25%);
          padding: 20px 30px;
          border-radius: 15px;
        }
        .footer-last{
          padding: 0px 12px 0px 24px;
        }
        .top{
          position: absolute;
          top: 26px;
          left: -45px;
          width: 55px;
          height: 55px;
          background-color: #fff;
          border-radius: 15px;
          display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
                }   
                
                
         /* ==================== Mega Menu Container ==================== */
        .megamenu-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
        }

    
        /* ==================== Mega Menu Dropdown ==================== */
        .megamenu-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            width: 100%;
            background: white;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 10px 40px rgba(77, 20, 140, 0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-20px);
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            z-index: 1000;
            overflow: hidden;
        }

        .megamenu-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* ==================== Mega Menu Content ==================== */
        .megamenu-content {
            display: flex;
            height: 350px;
        }

        /* ==================== Categories Sidebar ==================== */
        .categories-sidebar {
            width: 280px;
            background: linear-gradient(180deg, 
                rgba(77, 20, 140, 0.03) 0%, 
                rgba(174, 20, 140, 0.03) 100%);
            border-left: 2px solid rgba(77, 20, 140, 0.1);
            padding: 15px 0;
            overflow-y:auto;
        }

        .category-item {
            padding: 14px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .category-item:hover,
        .category-item.active {
            background: linear-gradient(90deg, 
                rgba(77, 20, 140, 0.08) 0%, 
                rgba(174, 20, 140, 0.08) 100%);
        }

        .category-item.active::before {
            content: '';
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background: linear-gradient(180deg, 
                hsl(266.25deg 88.89% 21.18%) 0%, 
                hsl(304.44deg 100% 21.18%) 100%);
        }

        .category-item-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .category-icon {
            width: 35px;
            height: 35px;
            background: linear-gradient(135deg, 
                rgba(77, 20, 140, 0.1) 0%, 
                rgba(174, 20, 140, 0.1) 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: hsl(266.25deg 88.89% 21.18%);
            font-size: 16px;
        }

        .category-item.active .category-icon {
            background: linear-gradient(135deg, 
                hsl(266.25deg 88.89% 21.18%) 0%, 
                hsl(304.44deg 100% 21.18%) 100%);
            color: white;
        }

        .category-name {
            font-size: .9em;
            font-weight: 500;
            color: #333;
        }

        .category-arrow {
            color: #999;
            font-size: 11px;
            transition: transform 0.3s ease;
        }

        .category-item:hover .category-arrow,
        .category-item.active .category-arrow {
            color: hsl(266.25deg 88.89% 21.18%);
            transform: translateX(-3px);
        }

        /* ==================== Subcategories Content ==================== */
        .subcategories-content {
            flex: 1;
            padding: 20px 30px;
            display: none;
            overflow-y:auto;
        }

        .subcategories-content.active {
            display: block;
            animation: fadeInRight 0.4s ease;
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* ==================== Subcategory Header ==================== */
        .subcategory-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(77, 20, 140, 0.1);
        }

        .subcategory-title {
            font-size: 1.1em;
            font-weight: 700;
            color: hsl(266.25deg 88.89% 21.18%);
        }

        .view-all-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: rgba(77, 20, 140, 0.08);
            color: hsl(266.25deg 88.89% 21.18%);
            text-decoration: none;
            border-radius: 8px;
            font-size: .9em;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .view-all-link:hover {
            background: linear-gradient(135deg, 
                hsl(266.25deg 88.89% 21.18%) 0%, 
                hsl(304.44deg 100% 21.18%) 100%);
            color: white !important;
            transform: translateX(-3px);
        }

        /* ==================== Subcategory Grid ==================== */
        .subcategory-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .subcategory-column h4 {
            font-size: 1em;
            font-weight: 600;
            color: #555;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid #f0f0f0;
        }

        .subcategory-list {
            list-style: none;
        }

        .subcategory-list li {
            margin-bottom: 10px;
        }

        .subcategory-list a {
            display: block;
            color: #666;
            text-decoration: none;
            font-size: .9em;
            padding: 6px 8px;
            border-radius: 6px;
            transition: all 0.2s ease;
        }

        .subcategory-list a:hover {
            color: hsl(266.25deg 88.89% 21.18%);
            background: rgba(77, 20, 140, 0.05);
            padding-right: 12px;
        }

        
       

        /* ==================== Responsive ==================== */
        @media (max-width: 992px) {
          .search-input{
            width: 100%;
          }
          .baner-main-img {
              width:42%
          }
          .baner-title {
   
    right: 10px;}
    .baner-txt {
    
    right: 30px;
    }
    .baner-txt a {
      padding: 10px;
    }
    .baner-txt h1{
      font-size: 1.2em;
    }
      .baner-txt p{
      margin-bottom: 20px !important;
    }
            .subcategory-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .categories-sidebar {
                width: 240px;
            }
            .product-img{
              height: 150px;
            }
            .product-title-txt img{
              width: 100%;
            }
            .product-title-txt a img{
              width: 10px;
            }
            .product-col {
    padding-right: 0px;
}
.title-txt {
    position: absolute;
    top: 80px;
    right: 0px;
  
}
.title-txt h3 {
    font-size: 1.1em;
}
.product-title-txt .title-inner-img {
    margin-top: -10px;
    margin-right: -10px;
    width: 80%;
}
.brief-card-image {
    width: 200px;
    height: 90px;
        }
        .brief-card-title {
    font-size: 14px;
        }
        .blog-card-button {
    width: 20px;
    height: 20px;
      }
      .blog-card-button img{
        height: 9px;
      }
      .brief-card-content {
    flex-grow: 1;
    padding: 10px;
      }
     .services{
      padding: 0px 80px !important;
     }
     .services .service-card:nth-child(2), .services .service-card:nth-child(4){
      justify-content: end;
     }
       .footer-column:not(.contact-column) h4 {
                margin-bottom: 0;
                padding: 10px 0;
                cursor: pointer;
                position: relative;
                user-select: none;
            }
            
            .accordion-label {
                display: block;
                margin-bottom: 0;
                font-weight: bold;
               
              
            }
            
            .accordion-label::after {
                content: '+';
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                font-size: 1.5em;
             
                transition: transform 0.3s;
            }
            
            .accordion-toggle:checked + .accordion-label::after {
                content: '-';
            }
            
            /* Hide lists by default on mobile */
            .footer-column:not(.contact-column) .footer-links {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease-out;
            }
            
            /* Show lists when checkbox is checked */
            .accordion-toggle:checked ~ .footer-links {
                max-height: 500px;
                padding-top: 10px;
            }
              .footer-middle {
                grid-template-columns: 1fr;
                gap: 0;
            }
                .footer-column {
        border-bottom: 1px solid #e0e0e0;
        border-radius: 0px;
    }
    .footer-middle-top{
      flex-direction: column;
    }
    .footer-middle-top >div:first-child h4::before {
    position: absolute;
    content: '';
    }
    .read-about-us{
      width: auto;
    }
    .read-about-us span {
    font-size: 1em;
}
.read-about-us{
  background-color: hsl(304.44deg 100% 21.18%);
  padding: 10px;
        border-radius: 10px;
}
.top {
   
    top: -20px;
    left: -5px;
  }
  .footer-container {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    background-color: var(--primary-color);
}


}

        @media (max-width: 768px) {
            .megamenu-content {
                flex-direction: column;
            }

            .categories-sidebar {
                width: 100%;
                border-left: none;
                border-bottom: 2px solid rgba(77, 20, 140, 0.1);
            }

            .subcategory-grid {
                grid-template-columns: 1fr;
            }

            .featured-banner {
                flex-direction: column;
                text-align: center;
            }
        }
        /* ==================== Megamenu Overlay ==================== */
.megamenu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.megamenu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== Mega Menu Dropdown Improvements ==================== */
.megamenu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 40px rgba(77, 20, 140, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    overflow: hidden;
}

.megamenu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


#categoryBtn {
    transition: all 0.3s ease;
}

#categoryBtn.active {
  
    box-shadow: 0 6px 25px rgba(77, 20, 140, 0.4);
}

/* ==================== Animations ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.megamenu-dropdown.active {
    animation: fadeInDown 0.4s ease;
}
.footer-rights p:nth-child(2){
  text-align: left;
}




/* ==================== Mobile Off-Canvas Menu ==================== */
.mobile-offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
}

.mobile-offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-offcanvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8f5ff 100%);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease-in-out;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-offcanvas.active {
    right: 0;
}

/* ==================== Off-Canvas Header ==================== */
.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, 
        hsl(266.25deg 88.89% 21.18%) 0%, 
        hsl(304.44deg 100% 21.18%) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.offcanvas-logo {
    width: 100px;
}

.offcanvas-logo img {
    width: 100%;
    height: auto;
}

.offcanvas-close {
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offcanvas-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* ==================== Off-Canvas Body ==================== */
.offcanvas-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.offcanvas-body::-webkit-scrollbar {
    width: 6px;
}

.offcanvas-body::-webkit-scrollbar-track {
    background: rgba(77, 20, 140, 0.05);
}

.offcanvas-body::-webkit-scrollbar-thumb {
    background: hsl(266.25deg 88.89% 21.18%);
    border-radius: 10px;
}

/* ==================== Off-Canvas Navigation ==================== */
.offcanvas-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offcanvas-nav > li {
    border-bottom: 1px solid rgba(77, 20, 140, 0.08);
}

.offcanvas-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.offcanvas-nav > li > a:hover {
    background: rgba(77, 20, 140, 0.05);
    color: hsl(266.25deg 88.89% 21.18%);
    padding-right: 25px;
}

/* ==================== Off-Canvas Submenu (درباره ما) ==================== */
.offcanvas-has-submenu > .offcanvas-submenu-toggle {
    position: relative;
}

.offcanvas-submenu-toggle i {
    transition: transform 0.3s ease;
    font-size: 12px;
    margin-right: auto;
}

.offcanvas-submenu-toggle.active i {
    transform: rotate(180deg);
}

.offcanvas-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(77, 20, 140, 0.03);
    transition: max-height 0.4s ease;
}

.offcanvas-submenu.active {
    max-height: 500px;
}

.offcanvas-submenu li a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.offcanvas-submenu li a:hover {
    background: rgba(77, 20, 140, 0.08);
    color: hsl(266.25deg 88.89% 21.18%);
    border-right-color: hsl(266.25deg 88.89% 21.18%);
    padding-right: 45px;
}

/* ==================== Off-Canvas Mega Menu ==================== */
.offcanvas-megamenu-trigger > .offcanvas-submenu-toggle {
    background: linear-gradient(135deg, 
        rgba(77, 20, 140, 0.08) 0%, 
        rgba(174, 20, 140, 0.08) 100%);
}

.offcanvas-megamenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(77, 20, 140, 0.02);
    transition: max-height 0.4s ease;
}

.offcanvas-megamenu.active {
    max-height: 2000px;
}

.offcanvas-category-item {
    border-bottom: 1px solid rgba(77, 20, 140, 0.08);
}

.offcanvas-category-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px !important;
    color: #333 !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.offcanvas-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offcanvas-category-header i {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, 
        rgba(77, 20, 140, 0.1) 0%, 
        rgba(174, 20, 140, 0.1) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(266.25deg 88.89% 21.18%);
    font-size: 14px;
}

.offcanvas-category-toggle i.fa-chevron-down {
    width: auto;
    height: auto;
    background: none;
    transition: transform 0.3s ease;
    font-size: 12px;
    color: #999;
}

.offcanvas-category-toggle.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.offcanvas-subcategory {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(77, 20, 140, 0.02);
    transition: max-height 0.4s ease;
}

.offcanvas-subcategory.active {
    max-height: 1000px;
}

.offcanvas-subcategory-group {
    padding: 15px 40px;
    border-bottom: 1px solid rgba(77, 20, 140, 0.05);
}

.offcanvas-subcategory-group:last-child {
    border-bottom: none;
}

.offcanvas-subcategory-group h4 {
    font-size: 13px;
    font-weight: 600;
    color: hsl(266.25deg 88.89% 21.18%);
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(77, 20, 140, 0.1);
}

.offcanvas-subcategory-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offcanvas-subcategory-group ul li {
    margin-bottom: 8px;
}

.offcanvas-subcategory-group ul li a {
    display: block;
    padding: 8px 10px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-right: 0;
}

.offcanvas-subcategory-group ul li a:hover {
    background: rgba(77, 20, 140, 0.08);
    color: hsl(266.25deg 88.89% 21.18%);
    padding-right: 15px;
}

/* ==================== Show Bar Menu on Mobile ==================== */
@media (max-width: 992px) {
  .user-btn img {
    margin-left: 0px;
    
}
.user-btn{
  justify-content: center;
}
.user a{
  margin-left: 0px;
}
.brand-img{
  padding-right: 0px;
}
   
    .bar-menu {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, 
            hsl(266.25deg 88.89% 21.18%) 0%, 
            hsl(304.44deg 100% 21.18%) 100%);
        border-radius: 10px;
        cursor: pointer;
        margin-left: 15px;
        transition: all 0.3s ease;
    }
    
    .bar-menu:hover {
        box-shadow: 0 4px 12px rgba(77, 20, 140, 0.3);
        transform: translateY(-2px);
    }
    
    .bar-menu i {
        color: white;
        font-size: 20px;
    }
}

/* ==================== Prevent Body Scroll When Menu Open ==================== */
body.offcanvas-open {
    overflow: hidden;
}

/* ==================== Responsive Overlay ==================== */
@media (min-width: 1500px) {
    .product-col {
        padding-right: 50px !important;
    }
}
@media (min-width: 1350px) {
  .product-col{
    padding-right: 90px !important;
  }
}
@media (max-width: 1350px) {
  .product-col{
    padding-right: 125px !important;
  }
}
@media (max-width: 1200px) {
  .footer-last{
    margin-right: 0px !important;
  }
 
}
@media (min-width:992px) and (max-width: 1200px) {
   .product-col{
    padding-right: 60px !important;
  }
  .services .col-lg-3{
    flex-direction: column;
    align-items: center;
  }
  .services-img{
    margin-bottom: 20px;
        justify-content: center;
  }
  .services-txt{
    text-align: center;
  }
  .location{
    width: 50%;
  }
  
}
@media (max-width: 992px) {
  .product-col{
    padding-right: 0px !important;
  }
  .product-left{
  left: 50px;
 
}
.product-right{
 
  right: 10px;

}
.product-col-two .product-left{
  left:10px
}
.product-col-two .product-right{
  right:50px
}
}
@media (max-width: 768px) {
   .services{
      padding: 0px 10px !important;
     }
    .megamenu-overlay {
        backdrop-filter: blur(2px);
    }
    
    .megamenu-dropdown {
        max-height: 80vh;
        overflow-y: auto;
    }
    .brand-img{
      width: auto;
    }
    .brand-img img{
      width: 80%;
    }
}
 @media (max-width: 576px) {
     .cart-submenu {
         left:-15px;
     }
     .awards-baner img{
         height:100px;
     }
     .blog-title h3{
         font-size:1.2em;
     }
     .blog-title a {
    font-size: 1em;
}
.advertise img{
    height:40px;
}
       .baner-back{
    width: 100%;
    height: 75px;
 
  }
      .baner-main-img {
        width: 50%;
        left:0px;
    }
      .baner-item{
    height:170px;
  }
     .user-submenu {
    
    left: 0;
    width: 220px;
     }
  .baner-nav img{
    width: auto;
  }
  .footer-rights p{
    text-align: center !important;
    margin-bottom: 5px !important;
  }
 .cart{
  margin-left: 30px;
 }
 .cart::after {
    left: -15px;
   
}
  .top{
    top: -80px;
    left: 20px;
    width: 45px;
    height: 45px;
  }
  .services{
    padding: 0px 12px;
  }
  .services .service-card{
    flex-direction: column;
    align-items: center;
    justify-content: start !important;
  }
  .services-txt{
    margin-right: 0px !important;
    text-align: center;
  }
  .services-img{
    margin-bottom: 20px;
  }
  .services-txt h4{
    font-size: 1em;
    margin-bottom: 5px;
  }
  .services-txt p{
    font-size: .8em;
  }
  .baner-left{
    width: 100%;
    height: 100%;
  }
  .baner-sec .col-9, .baner-sec .col-3{
    padding: 4px;
  }
  .baner-item{
      height:170px;
  }
  .baner-txt{
    right: 10px;
    width:60%;
  }
      .baner-txt h1 {
        font-size: 1em
    }
     .baner-txt p {
        font-size: .9em
    }
        .baner-txt a {
        padding:6px 10px;
        font-size: .9em;
    }
        .baner-txt p {
        margin-bottom: 10px !important;
    }
    .baner-title{
      font-size: 1em;
      right:5px;
    }
        .product-img {
        height: 120px;
    }
    .product-info {
    padding: 0px;
}
    .title-txt {
        top: 48px;
        right: 10px;
    }
        .product-title-txt .title-inner-img {
        margin-top: -20px;
        }
        .title-txt h3 {
        font-size: 1em;
        padding: 5px;
    }
    .title-txt a{
      font-size: .8em;
      margin-top: -15px;
      
    }
       .product-info h1 {
        font-size: 12px;
        font-weight: bold;
    }
    .price-btn{
      font-size: 11px;
      padding: 8px 0px;
      margin:0px 8px;
    }
    .blog-card-title{
      font-size: 1em;
      margin-bottom: 5px;
    }
    .blog-card-description{
      font-size: .8em;
      line-height: 1.8;
    }
    .blog-card-button{
      margin-top: 0px;
    }
    .brief-card-title{
      font-size: 13px;
    }
    
    .brief-card-date {
      font-size: 12px;
    }
    .search-input input {
      /*padding: 8px;*/
    }
    .footer-top{
      text-align: center;
    }

 }
   .js-video-button {
 position: relative;
 width: 300px;
 height: 300px;
}
    .js-video-button img{
        width: 100%;
        height: 100%;
    }
.baner-img::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  background: #ffffff;
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transform-origin: 90%;
  -ms-transform-origin: 90%;
  transform-origin: 90%;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  -o-transition-property: transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  -o-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.baner-img:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  background: #ffffff;
  -webkit-transform: scaleY(1);
  -ms-transform: scaleY(1);
  transform: scaleY(1);
  -webkit-transform-origin: 90%;
  -ms-transform-origin: 90%;
  transform-origin: 90%;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  -o-transition-property: transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  -o-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.baner-img:hover::before {
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  opacity: 0.5;
}
.baner-img:hover::after {
  -webkit-transform: scaleY(0);
  -ms-transform: scaleY(0);
  transform: scaleY(0);
  opacity: 0.5;
}

.fix-items{
  position: fixed;
  bottom: 10px;
  left: 20px;
}

.social-icons li {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}
.social-icons a {
  display: block;
  background-color: hsl(304.44deg 100% 21.18%);
          width: 45px;
          height:45px;
  padding: 0;
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  z-index: 9;
  /* background-color: #f2f2f2; */
  border-radius: 50%;
  text-align: center;
}
.social-icons a .flip {
  -webkit-transform: translateZ(19px);
  transform: translateZ(19px);
   display: flex;
  justify-content: center;
  align-items: center;
}
.social-icons a span {
    background-color: hsl(304.44deg 100% 21.18%);
          width: 45px;
          height: 45px;
  display: block;

  padding: 0;
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  z-index: 9;
  margin: auto;
  /* background-color: #f2f2f2; */
  border-radius: 50%;

  text-align: center;
  line-height: 31px;
}
.social-icons a .flop {
  display: block;
  -webkit-transform: rotateX(-90deg) translateZ(-19px);
  transform: rotateX(-90deg) translateZ(-19px);
   display: flex;
  justify-content: center;
  align-items: center;
 
}

.social-icons a:hover {
  -webkit-transform: rotateX(90deg);
  transform: rotateX(90deg);
 
}


/* ==================== Services Hover Effect - Border Glow ==================== */
.services .service-card {
    transition: all 0.4s ease;
    cursor: pointer;
    padding: 20px 10px;
    border-radius: 15px;
    position: relative;
    border: 2px solid transparent;
}

.services .service-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(135deg, 
        hsl(266.25deg 88.89% 21.18%) 0%, 
        hsl(304.44deg 100% 21.18%) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.services .service-card:hover{
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
}

.services .service-card:hover::before {
    opacity: 1;
}

.services-img {
    transition: all 0.4s ease;
}

.services .service-card:hover .services-img {
    transform: scale(1.08);
}

.services-txt h4 {
    transition: all 0.3s ease;
    position: relative;
}

.services .service-card:hover .services-txt h4 {
    color: hsl(266.25deg 88.89% 21.18%);
}

.services-txt h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        hsl(266.25deg 88.89% 21.18%) 0%, 
        hsl(304.44deg 100% 21.18%) 100%);
    transition: width 0.4s ease;
}

.services .service-card:hover .services-txt h4::after {
    width: 100%;
}
 @media (max-width: 400px) {
      .product-img{
      height: 110px;
      }
      .services .service-card{
          padding:5px;
      }
 }