:root {
    --primary-color: hsl(359.7deg 90.78% 42.55%);
    --black-back: #2c2c2c;
    --accent-color: #898a8d;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


a {
    text-decoration: none;
}

ul {
    padding-left: 0px !important;
}

@font-face {
    font-family: IRANYekanWebLight;
    src: url('../font/IRANYekanWebLight.ttf');
}

@font-face {
    font-family: IRANYekanWebBold;
    src: url('../font/IRANYekanWebBold.ttf');
}

@font-face {
    font-family: IRANYekanWebExtraBlack;
    src: url('../font/IRANYekanWebExtraBlack.ttf');
}

@font-face {
    font-family: IRANYekanWebExtraBold;
    src: url('../font/IRANYekanWebExtraBold.ttf');
}

@font-face {
    font-family: IRANYekanWebMedium;
    src: url('../font/IRANYekanWebMedium.ttf');
}

@font-face {
    font-family: iranyekanwebregularfanum;
    src: url('../font/iranyekanwebregularfanum.ttf');
}


body {
    font-family: iranyekanwebregularfanum;
    direction: rtl;
    font-size: 14px;
}

header {
    position: fixed;
    z-index: 1003;
    top: 0;
    right: 0;
    width: 100%;
    /* background-color: rebeccapurple; */
    /* transition: height 0.4s ease; */
}

a {
    text-decoration: none;
}

p {
    margin-bottom: 0px !important;
}

.red {
    color: var(--red);
}

.container-fluid .row{
    max-width: 1676px;
    margin: 0 auto !important;
}

.bar-menu {
    /* display: none; */
}
.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.bar-menu i {
 font-size: 30px;
  padding-right: 10px;
}

.magnifi-res {
    display: none;
}

.header-top {
    background-color: #fff;
    /* transition: transform 1s ease; */
    /* width: 100%; */

}

.header-container {
    position: relative;
    transform: translateY(0);
    background-color: #fff;

    transition: transform 1s ease;

}

.header-container.header-hidden {
    transform: translateY(-100%);
    transition: transform 1s ease;

}

.header-down.header-up-lg {
    z-index: 20001;
    /* position: fixed;
    top: 0;
    transition: position 0.4s ease; */
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.3);

}

.brand-logo {
    display: flex;
    align-items: center;

}

.brand-img {
    width: 22%;
}

.search-input {
    display: flex;
    align-items: center;
    position: relative;
    width: 55%;
    border: 1px solid rgb(134, 133, 133);;
    border-radius: 12px;
}

.search-input input {
    width: 100%;
    outline: none;
    border: none;
    padding: 10px;
    border-radius: 12px;


}

.search-input img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 6px;
    background-color: var(--primary-color);
    padding: 6px;
    border-radius: 10px;
}

.search-res {
    display: none;
}

.user-cart {
    justify-content: end;
}

.user-btn {
    background-color: var(--gray);
    padding: 8px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
}

.user-btn img {
    margin-right: 10px;
}

.user a {
    color: black;
    margin-left: 5px;
}

.user-submenu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 15px;
}


.user {
    position: relative;
}

.user:hover .user-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-submenu-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.user-submenu-header i {
    font-size: 18px;
    color: var(--primary-color);
    margin-left: 10px;
}

.user-submenu-header span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.user-submenu-options {
    padding: 15px;
}

.user-submenu-message {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

.user-submenu-actions {
    display: flex;
    gap: 10px;
}

.login-btn, .register-btn {
    flex: 1;
    display: block;
    padding: 8px 0;
    text-align: center;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: var(--primary-color);
    color: white;
}

.login-btn:hover {
    background-color: #0771c7;
    box-shadow: 0 3px 10px rgba(9, 132, 227, 0.2);
}

.register-btn {
    background-color: #f0f0f0;
    color: #333;
}

.register-btn:hover {
    background-color: #e0e0e0;
}

.user-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    margin-left: 10px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.user-email {
    font-size: 12px;
    color: #666;
}

.user-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-menu-item {
    border-bottom: 1px solid #f5f5f5;
}

.user-menu-item:last-child {
    border-bottom: none;
}

.user-menu-item a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #444;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-menu-item a:hover {
    background-color: rgba(9, 132, 227, 0.05);
    color: var(--primary-color);
}

.user-menu-item i {
    margin-left: 10px;
    font-size: 16px;
    color: #666;
    width: 20px;
    text-align: center;
}

.user-menu-item:hover i {
    color: var(--primary-color);
}

.user-menu-item.logout a {
    color: var(--primary-color);
}

.user-menu-item.logout i {
    color: var(--primary-color);

}

.user-menu-item.logout a:hover {
    background-color: rgba(231, 76, 60, 0.05);
}


.cart {
    background-color: #fff;

    border-radius: 50%;
    padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.cart-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 15px;
    margin-top: 15px;
}


.cart:hover .cart-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.cart-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cart-items-count {
    font-size: 13px;
    color: #666;
}

.cart-items {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f9f9f9;
    position: relative;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
    margin-right: 10px;
    padding-left: 25px;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 12px;
    color: #666;
}

.item-quantity {
    color: #888;
    margin-left: 5px;
}

.item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.remove-item-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background-color: #f5f5f5;
    color: #666;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-item-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.cart-footer {
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.total-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.total-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.view-cart-btn, .checkout-btn {
    flex: 1;
    display: block;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-cart-btn {
    background-color: #f0f0f0;
    color: #333;
}

.view-cart-btn:hover {
    background-color: #333;
    color: var(--primary-color);
}

.checkout-btn {
    background-color: var(--primary-color);
    color: white;
}

.checkout-btn:hover {
    background-color: #333;
    color: var(--primary-color);
}

.empty-cart {
    text-align: center;
    padding: 20px 0;
}

.empty-cart-icon {
    font-size: 40px;
    color: #ccc;
    margin-bottom: 15px;
}

.empty-cart-message {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.continue-shopping-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.continue-shopping-btn:hover {
    background-color: #0771c7;
    box-shadow: 0 3px 10px rgba(9, 132, 227, 0.2);
}


.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%;
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.3);


}

.header-down.header-hidden {
    transform: translateY(-100%);
    transition: all .3s ease;
    z-index: -1;

}

.header-down .row {
    max-width: 1676px;
    margin: 0 auto !important;
}

.navs ul {
    list-style: none;
    margin-bottom: 0px;
}

.category > li {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.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: 200px;
    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: 13px;
    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 20px;
    color: #333;
    text-decoration: none;
    font-weight: 400;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav > li > a:hover {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;

}

.nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(50%);
}

.nav > li > a:hover::after {
    width: 80%;
}

.has-submenu {
    position: relative;
}

.has-submenu > a::before {
    font-family: 'Font Awesome 5 Free';
    content: "\f078";
    font-weight: 900;
    position: absolute;
    left: 8px;
    top: 13px;

    font-size: .7em;

}

.nav .has-submenu:hover > a::before {
    transform: rotate(180deg);
}

.nav .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 5px;
}

.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: block !important;
    padding: 10px 15px !important;
    color: #333 !important;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
    border-radius: 0 !important;
}

.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;
}

.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;
}

.nav > li {
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 5px 25px; */
}

.nav > li a {
    color: #333;
    font-weight: 400;
}

.online-order a {
    color: var(--primary-color);
    /* font-size: .9em; */
    font-weight: bold;
}

.header-social a {
    padding: 5px 8px;
}

.socials {
    justify-content: space-between;
}

.fix-txt {
    position: fixed;
    bottom: 2%;
    right: 1%;
    z-index: 10000;
}

.fix-whatsapp {
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 10000;
}

.fix-txt a {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 10px;
    border-radius: 25px;
    box-shadow: 0px 0px 2px hsl(1.25deg 100% 98.53%);
    transform: translateX(0px);
    transition: all .3s ease;

}

.fix-txt a:hover {
    transform: translateX(-5px);
    transition: all .3s ease;
}

.carousel-item {


}

#heroCarousel img {
    width: 100%;
    max-height: 700px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1; /* Make controls always visible */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(0); /* Make icons black */
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}


.gallery-img .col-lg-6, .gallery-img .col-6 {
    overflow: hidden;
}

.gallery-img .col-lg-6 a, .gallery-img .col-6 a {
    color: #333;
}

@media screen and (min-width: 991px) {
    .gallery-img .col-lg-6 img:hover, .gallery-img .col-6 img:hover {
        transform: scale(1.1);
        transition: all .3s ease;
    }


    .body-content {
        padding-top: 147px;
    }

}

.gallery-img .col-lg-6 img, .gallery-img .col-6 img {
    width: 100%;
    height: 100%;
    transition: all .3s ease;
}

.galery-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-img .col-lg-6, .gallery-img .galery-card {
    position: relative;
}

.gallery-img .col-lg-6 span, .gallery-img .col-6 span {
    position: absolute;
    right: 0;
    bottom: 60px;
    background-color: #ffffff98;
    padding: 10px;

}


.gallery-img .col-6:first-child, .gallery-img .col-6:nth-child(2) {
    margin-bottom: 16px;
}

.title-sec h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}


.title-sec p {
    color: gray;
    font-size: .9em;
    font-weight: bold;
}

.owl-carousel {
    /* margin-top: 50px; */
}

.pro-navs {
    position: absolute;
    top: 55%;
    width: 80%;
    right: 10%;
    display: flex;
    justify-content: space-between;
}

.pro-navs img {
    cursor: pointer;
}

.product-carousel .item {
    padding: 4px;
    border-radius: 8px;
    text-align: center;
    margin: 2px;
    transition: transform 0.3s ease-in-out;
}

.product-carousel .item-img {
    background: hsl(0deg 0% 92.16%);
    height: 270px;
    padding: 20px;
    margin-bottom: 15px;
}

.product-carousel .item:hover {
    transform: translateY(-5px);
}

.product-carousel .item img {
    max-width: 100%;
    width: auto !important;
    height: 100%;
    border-radius: 4px;

    margin: 0 auto;
    /* padding: 30px; */
	object-fit: contain;

}


.product-carousel .item h4 {
    font-size: 1em;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.product-carousel .item p {
    font-size: 0.8em;
    color: #343434;
    font-weight: bold;
}

.product-carousel .owl-nav button {
    background: none !important;
    border: none !important;
    font-size: 3em !important;
    color: #333 !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.product-carousel .owl-prev {
    left: -50px; /* Adjust as needed */
}

.product-carousel .owl-next {
    right: -50px; /* Adjust as needed */
}

.product-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.product-carousel .owl-dot span {
    background: #ccc !important;
}

.product-carousel .owl-dot.active span {
    background: #333 !important;
}

.baner {
    position: relative;
}

.baner-sec {
    position: relative;
}

.baner-nav {
    position: absolute;
    top: 50%;

    width: 98%;
    right: 1%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.baner-nav img {
    background-color: #ffffffe5;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;

}

.baner-nav img:hover {
    background-color: #ffffff;
}


.baner .item {
    position: relative;

    background-size: cover;
    background-position: center;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.baner .item img {
    width: 100%;
    height: 100%;


}


.baner .text {
    color: white;
    text-align: center;
    direction: rtl;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.baner .text h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.baner .text h1 {
    font-size: 2.7em;
    margin-bottom: 20px;
}

.baner .text button {
    background-color: white;
    color: black;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    font-weight: bold;

    transition: background-color 0.3s ease;
}

.baner .text button:hover {
    background-color: #e0e0e0;
}


.brands .item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;

    margin: 5px;
    padding: 10px;
}

.brands .item img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    cursor: pointer;
}

.brands .item img {
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
    transition: all .3s ease;
}

.brands .item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
    transition: all .3s ease;

}

.why-hero {
    background: #d81616; /* قرمز اصلی */
    position: relative;
    /* overflow: hidden; */
}

.why-hero .heading-wrap {
    min-height: 220px;
    display: flex;
    align-items: center;
    /* justify-content: flex-end; */
}

.heading-wrap h2 {
    font-size: 2em;
}

.why-card {
    background: #fff;
    border: 0;
    border-radius: 16px;
    padding: 40px 24px 32px;
    text-align: center;
    box-shadow: rgba(248, 86, 86, 0.3) 0px 19px 38px, rgba(243, 110, 110, 0.22) 0px 15px 12px;

    transition: transform .2s ease, box-shadow .2s ease;
}

.why-card:hover {
    transform: translateY(-4px);

}

.why-img {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-title {
    font-weight: 700;
    font-size: 1.125rem;
}

.cards-row {
    position: absolute;
    top: 50%;
    width: 100%;

}

@media (max-width: 575.98px) {

}


.blog-section {
    padding: 60px 0;

}

.section-header h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    /* text-align: left; */
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.3em;
    color: #302f2f;
    font-weight: bold;
    /* text-align: left; */
}

.nav-btn {

    background-color: var(--primary-color);

    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;

    transition: all 0.3s ease;
}

.btn-label {
    color: #333 !important;
    cursor: pointer;

}

.btn-label:hover {
    color: var(--primary-color) !important;
}

.blog-section {
    margin: 150px 0px 50px 0pc;
}

.nav-btn:hover {
    background-color: #333;

    color: white;
}

.blog-cards-container {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
    margin-top: 20px; */
}

.blog-card {

    /* transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
    position: relative;
    /* opacity: 0; */
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    cursor: pointer;

}


.blog-card:hover {
    /* transform: translateY(-5px); */

}

.blog-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;

}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-icon {
    position: absolute;
    top: -10px;
    right: 15px;

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    /* transition: transform 0.3s ease; */
}

.blog-card:hover .blog-icon {
    /* transform: scale(1.1) rotate(5deg); */
}

.blog-icon i {
    color: #fff;
    font-size: 16px;
}

.blog-card-content {
    padding: 20px 0px;
}


.blog-title {
    font-size: 1em;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-date {
    color: #999;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    /* justify-content: end; */
    gap: 8px;
    margin-bottom: 5px;
}

.blog-date i {
    color: var(--primary-color);
}


/* Footer Styles */
.footer {

    position: relative;
    margin-top: 50px;

    border-top: 4px solid var(--primary-color);
    border-top-left-radius: 20px;
    border-top-right-radius: 45px;
}

.back-top {
    position: absolute;
    top: -35px;
    left: 80px;
    z-index: 1;

    padding: 5px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}

.back-top div {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container {
    background-color: hsl(0deg 0% 84.31%);
    border-top-left-radius: 25px;
    border-top-right-radius: 50px;
    margin-top: 4px;
    position: relative;


}

/* Footer Top Section */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;

}

.footer-logo img {
    height: 50px;
}

.social-section {
    text-align: left;
    display: flex;
    align-items: center;
}

.social-section h5 {
    font-size: 1em;
    color: #333;
    margin-bottom: 0px;
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d81616;
    text-decoration: none;
    transition: transform 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Footer Middle Section */
.footer-middle {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
}

.large {
    /*flex: 1.2 !important;*/
    min-width: 200px;
}

.footer-column h4 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.footer-column:not(.large) h4 {
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a:before {
    content: '•';
    margin-left: 8px;
    color: #999;
}

.footer-links a:hover {
    color: #d81616;
}

/* Contact Info */
.contact-column {
    grid-column: span 1;
}

.contact-info {
    color: #666;
    font-size: 0.9rem;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-item img {
    margin-left: 10px;
    color: #d81616;

    margin-top: 10px;
}

.contact-text {
    flex: 1;
}

.phone-number {
    direction: ltr;
    display: inline-block;
    font-weight: bold;
    color: #2c2c2c;
}


.working-hours {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1em;
    /* font-weight: bold; */
    width: max-content;
    padding: 5px 10px;
    border-radius: 5px;
}


.footer-bottom {
    border-top: 1px solid #9c9b9b;
}

.bottom-container {

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.copyright {
    color: #666;
    font-size: 0.85em;
}

.certificates {
    display: flex;
    gap: 20px;
}

.certificates img {
    height: 100px;
    /* opacity: 0.7; */
    transition: opacity 0.3s;
    border: 1px solid #969494;
    padding: 15px;
    border-radius: 12px;
}

.certificates img:hover {
    opacity: 1;
}

.developer-info {
    color: #666;
    font-size: 0.85em;
}

.developer-info a {
    color: #d81616;
    text-decoration: none;
}

/* Accordion Checkboxes - Hidden */
.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;
}

.copyright {
    font-weight: bold;
}

.copyright span {
    color: #333;
}

/* Mobile Responsive */
/* ریسپانسیو */
@media (max-width: 1300px) {
    .blog-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }

    .nav > li > a {
        display: block;
        padding: 10px 15px;
    }

    .why-card {
        padding: 20px;
    }

}

@media (max-width: 1200px) {
    .pro-navs {
        display: none;
    }

    .nav > li > a {
        display: block;
        padding: 10px;
    }


}

@media (max-width: 1250px) {
    .brand-img {
        width: 25%;
    }
}

@media (max-width: 991px) {
    .user-submenu {
        left: 0;
        right: auto;
    }

    .footer-column:not(.large) {
        border-bottom: 1px solid #e0e0e0;
        /* padding: 15px 0; */
    }

    .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;
        color: #333;
        font-size: 1rem;
    }

    .accordion-label::after {
        content: '+';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        color: #666;
        transition: transform 0.3s;
    }

    .accordion-toggle:checked + .accordion-label::after {
        content: '-';
    }

    .footer-column:not(.large) .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .accordion-toggle:checked ~ .footer-links {
        max-height: 500px;
        padding-top: 10px;
    }

    .fix-whatsapp {
        bottom: 75px;
        left: 15px;
    }

    .footer-middle {
        flex-direction: column;
    }

    .footer-column {
        flex: 1;
        min-width: 140px;
    }

    .footer-column:not(.large) {
        margin-bottom: 0;
        padding: 0 15px;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    body {
        font-size: 13px;
    }

    .body-content {
        padding-top: 130px;
    }

    .baner-nav img {
        background-color: transparent;
        padding: 0;
        display: none;
    }

    .baner .item img {
        height: 250px;
    }

    .header-container {
        box-shadow: 0px 2px 20px 2px #3333331c;
    }

    .gallery-img .col-lg-6 > a span {
        right: 12px;
    }

    .baner .text {
        top: 30%;
        width: 80%;
        left: 10%;
        transform: translateX(0);
    }

    .baner .text h1 {
        font-size: 1.5em;
    }

    .baner .text h2 {
        font-size: 1em;
    }

    .baner .text button {
        font-size: 1em;
        padding: 10px;
    }

    .why-img {
        height: 50px;
    }

    .socials {
        justify-content: end;
    }

    .search-input {
        width: 100%;
    }

    .brand-img {
        display: flex;
        justify-content: center;
    }

    .bar-menu, .brand-img {
        width: 50%;
    }

    .mobile-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100%;
        background-color: #fff;
        transition: all .5s ease;
        z-index: 10005;
        width: 250px;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu.active {
        right: 0;
        transition: all .5s ease;
    }

    .mobile-side-header {
        background-color: #d81616;
        color: #fff;
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .close-btn {
        background-color: #fff;
        width: 25px;
        height: 25px;
        color: #333;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    /* آکاردیون برای mobile */
    .mobile-accordion-item {
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-accordion-checkbox {
        display: none;
    }

    .mobile-accordion-label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        cursor: pointer;
        background-color: #fff;
        transition: background-color 0.3s ease;
        position: relative;
    }

    .mobile-accordion-label:hover {
        background-color: #f8f9fa;
    }

    .mobile-accordion-label::after {
        content: '+';
        font-size: 18px;
        font-weight: bold;
        color: #d81616;
        transition: transform 0.3s ease;
    }

    .mobile-accordion-checkbox:checked + .mobile-accordion-label::after {
        content: '−';
        transform: rotate(180deg);
    }

    .mobile-accordion-content {
        max-height: 0;
        overflow: hidden;
        background-color: #f8f9fa;
        transition: max-height 0.4s ease-out, padding 0.4s ease-out;
        padding: 0 20px;
    }

    .mobile-accordion-checkbox:checked ~ .mobile-accordion-content {
        max-height: 400px;
        padding: 10px 20px;
    }

    .mobile-accordion-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-accordion-content li {
        border-bottom: 1px solid #e9ecef;
    }

    .mobile-accordion-content li:last-child {
        border-bottom: none;
    }

    .mobile-accordion-content a {
        display: block;
        padding: 12px 15px;
        color: #495057;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
        border-radius: 5px;
        margin: 2px 0;
    }

    .mobile-accordion-content a:hover {
        background-color: #d81616;
        color: white;
        transform: translateX(-5px);
    }

    /* آیتم‌های ساده navigation */
    .mobile-nav-item {
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-nav-item a {
        display: block;
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
        font-size: 15px;
        transition: all 0.3s ease;
    }


    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .overlay.active {
        display: block;
        opacity: 1;
    }

    /* آیکون‌ها */
    .category-icon, .nav-icon {
        margin-left: 10px;
        font-size: 16px;
        color: #d81616;
    }

    /* انیمیشن برای باز شدن */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-accordion-checkbox:checked ~ .mobile-accordion-content {
        animation: slideDown 0.4s ease-out;
    }

    /* ریسپانسیو */
    @media (max-width: 768px) {
		.fix-txt a span {
    display:none;
    transition: all 0.3s ease;
}
.fix-txt a{
width: 36px;
}
.fix-txt a:hover{
width: auto;
}
.fix-txt a:hover span {
    display: inline;
}
		.why-hero.my-5 {
  margin-bottom: 130px !important;
}
.cards-row {

  right: 0;
}
        .mobile-menu {
            width: 280px;
        }
    }

    @media (max-width: 480px) {
		.gallery-img .col-6:first-child, .gallery-img .col-6:nth-child(3) {
    padding-right: 0px !important;
}
        .brands .item img {
            filter: grayscale(0%);
        }

        main {
            padding-top: 93px;
        }

        .mobile-menu {
            /* width: 100%; */
            right: -100%;
        }

        .gallery-img .col-lg-6 span, .gallery-img .col-6 span {
            position: absolute;
            right: 0;
            bottom: 30px;
            background-color: #ffffff98;
            padding: 10px;
        }

        .owl-theme .owl-dots .owl-dot span {
            width: 8px !important;
            height: 8px !important;
            margin: 3px !important;
        }


    }

    .mobile-side-header {
        background-color: var(--primary-color);
        color: #fff;
    }

    .close-btn {
        background-color: #fff;
        width: 20px;
        height: 20px;
        color: #333;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu.active {
        right: 0;
        transition: all .5s ease;

    }

    .category > li {
        border: none;
    }

    .category img {
        display: none;
    }

    .nav {
        flex-direction: column;
    }

    .nav > li {
        justify-content: start;
    }

    .category > li:hover {
        background-color: transparent;
        color: #333;
    }

    .category > li {
        padding: 10px !important;
    }

    .category li {
        padding: 0px;
    }

    .category-dropdown {
        width: max-content;
        border: none !important;
    }

    .why-hero .heading-wrap {
        min-height: 160px;
        justify-content: center;
        text-align: center !important;
    }

    .heading-wrap h2 {
        font-size: 1.7em;
    }

    .working-hours {
        margin: 10px 0px;
    }

    .cards-row {
        margin-top: -50px;
    }

    .footer-middle {
        flex-wrap: wrap;
    }

    .why-card {
        padding: 10px 5px;
    }

    .why-img img {
        width: 50px;
    }

    .why-title {
        font-size: 1em;
    }

    .category-dropdown,
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid #e0e0e0;
        margin-top: 10px;
        display: none;
    }

    .category:hover .category-dropdown,
    .dropdown:hover .sub-menu {
        display: block;
    }

    /* دکمه ثابت موبایل */
    .online-order-mobile {
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 1000;
        background: linear-gradient(135deg, var(--primary-color), #ff4444);
        border-radius: 25px;
        box-shadow: 0 8px 25px rgba(216, 22, 22, 0.4);
        transition: all 0.3s ease;
        animation: float 3s ease-in-out infinite;
    }

    .online-order-mobile:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(216, 22, 22, 0.5);
    }

    .online-order-mobile a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 18px;
        color: white !important;
        text-decoration: none;
        font-size: 14px;
        font-weight: bold;
        white-space: nowrap;
        border-radius: 25px;
        transition: all 0.3s ease;
    }

    .online-order-mobile a i {
        margin-left: 8px;
        font-size: 16px;
        animation: bounce 2s infinite;
    }

    /* انیمیشن شناور */
    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-5px);
        }
    }

    /* انیمیشن آیکون */
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-3px);
        }
        60% {
            transform: translateY(-2px);
        }
    }

    /* برای موبایل‌های کوچک */
    @media (max-width: 480px) {
        .body-content {
            padding-top: 110px;
        }

        .online-order-mobile {
            /*bottom: 80px;*/
            left: 15px;
        }

        .online-order-mobile a {
            padding: 10px 15px;
            font-size: 13px;
        }
    }

    /* حالت کمپکت برای صفحات خیلی کوچک */
    @media (max-width: 360px) {
        .online-order-mobile {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            bottom: 70px;
        }

        .online-order-mobile a {
            padding: 0;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            flex-direction: column;
            font-size: 0;
        }

        .online-order-mobile a i {
            margin: 0;
            font-size: 20px;
        }

        .online-order-mobile a span {
            display: none;
        }
    }

    /* اضافه کردن tooltip برای حالت کمپکت */
    @media (max-width: 360px) {
        .online-order-mobile::before {
            content: "سفارش آنلاین";
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            margin-bottom: 5px;
        }

        .online-order-mobile:hover::before {
            opacity: 1;
        }

        .online-order-mobile::after {
            content: "";
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 5px solid transparent;
            border-top-color: rgba(0, 0, 0, 0.8);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .online-order:hover::after {
            opacity: 1;
        }
    }


    .blog-cards-container {
        display: flex;
    }

    .section-titles h2 {
        font-size: 2rem;
    }

    .blog-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .blog-card-img {
        height: 200px;
    }

    .social-section {
        flex-direction: column;
    }
}


@media (max-width: 576px) {
    .blog-card-content {
        padding: 18px;
    }

    .footer-list-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
	.blog-section {
    margin: 180px 0px 50px 0pc;
}
    .header-social a {
        padding: 5px;
    }

    .cart-submenu {
        width: 300px;
    }

    .cart-container:hover .cart-submenu {
        transform: translateY(0);
    }

    .cart-header {
        position: sticky;
        top: 0;
        background-color: white;
        z-index: 1;
        padding-top: 5px;
    }

    .cart-header::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 5px;
        background-color: #e0e0e0;
        border-radius: 3px;
    }

    .navs {
        flex-direction: column;
        align-items: stretch;
    }

    .category {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav > li {
        margin: 2px;
    }

    .blog-section {
        padding: 40px 0;
    }

    .section-titles h2 {
        font-size: 1.8rem;
    }

    .section-titles p {
        font-size: 1rem;
    }

    .blog-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card-img {
        height: 180px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-title {
        font-size: 1.1em;
        min-height: auto;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }


    .user-login:hover .user-submenu {
        transform: translateY(0);
    }

    .user-submenu-header::before {
        content: '';
        position: absolute;
        top: 5px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 5px;
        background-color: #e0e0e0;
        border-radius: 3px;
    }

    .user-avatar {
        width: 35px;
        height: 35px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .social-section {
        text-align: center;
        margin-top: 20px;
    }

    .social-links {
        justify-content: center;
    }


    .contact-column {
        padding: 20px 0;
    }

    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-btn {
        margin-top: 15px;
        width: 100%;
        max-width: 300px;
    }

    .bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .certificates {
        margin: 20px 0;
    }

    .developer-info {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .header-social a {
        padding: 5px;
    }

    .footer {
        position: relative;
        margin-top: 50px;
        border-top: 4px solid var(--primary-color);
        border-top-left-radius: 20px;
        border-top-right-radius: 40px;
    }

    .footer-container {

        border-top-left-radius: 25px;
        border-top-right-radius: 40px;
        padding-bottom: 100px;


    }

    .footer-column {

        width: 100%;
        min-width: 100%;
    }

    .brand-img img {
        width: 90%;
    }

    .why-img img {
        width: 40px;
    }

    .why-title {
        font-size: .8em;
    }

    .section-header h2 {
        font-size: 1.2em;
    }

    .blog-section {
        padding: 10px 0px;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 18px
    }

    .footer-top {
        padding: 20px 0;
    }

    .footer-logo img {
        height: 40px;
    }

    .social-links a {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .working-hours {
        font-size: 1rem;
    }


}
#tab-description img {
  max-width: 100% !important;
  height: auto !important;
}