@font-face {
    font-family: IRANSansMedium;
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/iransans/IRANSans(FaNum)_Medium.eot');
url('../fonts/iransans/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
url('../fonts/iransans/IRANSansWeb(FaNum)_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url('../fonts/iransans/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/iransans/IRANSansWeb(FaNum)_Light.eot');
    src: url('../fonts/iransans/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iransans/IRANSansWeb(FaNum)_Light.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/iransans/IRANSansWeb(FaNum)_Light.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/iransans/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}

/* bootstrap mod: carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2322313F' stroke-miterlimit='10' stroke-width='2' viewBox='0 0 34.589 66.349'%3E%3Cpath d='M34.168.8 1.7 33.268 34.168 65.735'/%3E%3C/svg%3E");
    height: 100px;
}

.carousel-control-next-icon {
    transform: rotate(180deg);
}

/* medium - display 4  */
@media (min-width: 768px) {
    #gallery .carousel-inner .carousel-item-right.active,
    #gallery .carousel-inner .carousel-item-next {
        transform: translateX(33.33333%);
    }

    #gallery .carousel-inner .carousel-item-left.active,
    #gallery .carousel-inner .carousel-item-prev {
        transform: translateX(-33.33333%);
    }
}

/* large - display 5 */
@media (min-width: 992px) {
    #gallery .carousel-inner .carousel-item-right.active,
    #gallery .carousel-inner .carousel-item-next {
        transform: translateX(20%);
    }

    #gallery .carousel-inner .carousel-item-left.active,
    #gallery .carousel-inner .carousel-item-prev {
        transform: translateX(-20%);
    }
}

#gallery .carousel-inner .carousel-item-right,
#gallery .carousel-inner .carousel-item-left {
    transform: translateX(0);
}


/* gallery slider */
#gallery .carousel-inner .carousel-item.active,
#gallery .carousel-inner .carousel-item-next,
#gallery .carousel-inner .carousel-item-prev {
    display: flex;
}

@media (max-width: 768px) {
    #gallery .carousel-inner .carousel-item > div {
        display: none;
    }

    #gallery .carousel-inner .carousel-item > div:first-child {
        display: block;
        text-align: center;
    }
}


/* modal carousel */
.modal .carousel-indicators {
    margin: 0;
    bottom: -34px;
    left: auto;
}

.modal .carousel-indicators > li {
    border-radius: 50%;
    width: 16px;
    height: 16px;
    border: 1px solid #fff;
    background: transparent;
    margin-right: 0;
    margin-left: 10px;
}

.modal .carousel-indicators > li.active {
    background: #fff;
}

.modal .close, .modal .carousel-control-prev, .modal .carousel-control-next {
    opacity: 1;
}

@media (min-width: 992px) {
    .modal .carousel-control-prev {
        left: -140px;
    }

    .modal .carousel-control-next {
        right: -140px;
    }
}


/* modal mods */
.modal {
    background: rgba(34, 49, 63, 0.9);
}

.modal-dialog {
    max-width: 80% !important;
}

.modal-header {
    border: none !important;
}

.modal-content {
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
}

.modal-body {
    padding: 0 !important;
}

.close img {
    max-width: 40px;
    max-height: 40px;
}

.modal-footer {
    padding: 2rem 0;
    border: none !important;
}


/* bootstrap mod addons */
.w-90 {
    width: 90%;
}

.col-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xl-5 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-5 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (min-width: 576px) {
    .col-sm-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 768px) {
    .col-md-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 992px) {
    .col-lg-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 1200px) {
    .col-xl-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}


body {
    font-family: IRANSans, Tahoma, serif;
}

.navbar-brand img {
    width: 80px;
}

.top-nav-info {
    border-bottom: 2px solid #FFA563;
}

.p-8 {
    padding: 7rem !important;
}

.home-search {
    i {
        color: #9B9B9B;
    }

    .input-group-text {
        border: 0;
        background-color: transparent;
    }

    input::placeholder {
        color: #9B9B9B;
    }

    input {

        border: 0;
    }

    border: 2px solid #0756044D;
    border-radius: 5px;
}

.success-alert {
    margin: 0 0 0 10px;
    background-color: #157328;
    color: #fff;
    border-radius: 5px;
    padding: 5px 8px 0;
    font-size: 17px;
}

.warning-alert {
    margin: 0 0 0 10px;
    background-color: #cd8c2a;
    color: #fff;
    border-radius: 5px;
    padding: 5px 8px 0;
    font-size: 17px;
}

.danger-alert {
    margin: 0 0 0 10px;
    background-color: #cd2a2a;
    color: #fff;
    border-radius: 5px;
    padding: 5px 8px 0;
    font-size: 17px;
}

.toast-header {
    background-color: #f8f9fa;
}

.slider-section {
    padding-bottom: 30px;
}

.home-divider {
    border: 1px solid #075604;
    position: absolute;
    width: 73%;
    margin-right: 50px;
    margin-top: 15px;
}

.product-item-image {
    height: 290px;
    overflow: hidden;
    width: 100%;
}

.book-item {
    border-radius: 8px;
    border: 2px solid #075604;
    background: #F8F8F8;
    padding-top: 10px;
    padding-bottom: 10px
}

.book-detail-info {
    border-radius: 8px;
    border: 1px solid #F87817;
    background: #FFF;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
    min-height: 300px
}

.login-box {
    border-radius: 8px;
    border: 1px solid #F87817;
    background: #FFF;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
    min-height: 350px
}

.book-detail-img img {
    border-radius: 8px;
    height: 300px;
    width: 100%;
}

.book-cart-img img {
    border-radius: 8px;
    height: 150px;
    width: auto;
}

.inner-background {
    height: auto;
    padding: 20px 10px;
    border-radius: 8px;
    background: rgba(240, 239, 239, 0.50);
    box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.25);
}

.book-title {
    color: #000;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-right: 40px;
}

.book-title::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 5px;
    background-color: #075604;
    margin-left: 350px;
    margin-right: -24px;
    margin-top: 10px;
    border-radius: 20px;
}

.side-icon {
    font-size: 22px;
    padding-left: 10px;
}

.text-bold {
    font-weight: bold !important;
}

.related-product {
    background-color: #f8f9fa;
    border-top: 1px solid #ff6f06;
    margin-top: 40px;
}

.book-item-title a {
    font-size: 16px;
    text-decoration: none;
    color: black;
    font-weight: 600;
    line-height: 40px;
}

.audioplayer-playpause::before {
    content: "";
    border: 2px dotted #ff6f06;
    position: absolute;
    padding-left: 24px;
    border-radius: 50%;
    height: 30px;
    padding-right: 2px;
    left: 156px;
}

.user-profile {
    list-style: none;
}

.user-avatar img {
    width: 85px;
}

.user-dashboard-info {
    border-radius: 5px;
    border: 1px solid #2E7D00;
    background: #FFF;
}

.feature-icon-small {
    padding: 10px 0;
}

.user-dashboard {
    border-radius: 5px;
    border: 1px solid #2E7D00;
    background: #FFF;
    padding: 30px;
}

.user-dashboard-item {
    text-decoration: unset;
    color: #000;
}

.navbar-btn a {
    text-decoration: none;
    color: #cd8c2a;
}

.create-comment {
    width: 100%;
    text-align: center;
}

.semicircle {
    position: relative;
    background: transparent;
    height: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid #075604;
}

.semicircle::before {
    position: absolute;
    left: 50%;
    z-index: 10;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fbfbfb;
    transform: translateX(-50%) translateY(40%);
    bottom: -12px;
    text-align: center;
    line-height: 70px;
    font-size: 24px;
    color: #B3B3B3;
}

.comment-avatar {
    width: 80px;
    border-radius: 50%;
}

.comment-body {
    margin-bottom: 10px;
    background-color: #F8F8F8;
}

.comment-time {
    font-size: 13px;
}

.comment-name {
    font-size: 13px;
}

.book-comment-section {
    background-color: #fbfbfb;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.book-comments {
    height: 300px;
    overflow: scroll;
}

.cart-items {
    border-radius: 5px;
    padding: 20px 0;
    background-color: #f6f6f6;
    box-shadow: -1px -1px 3px #cdcdcd;
    margin: 20px 0;
}

.payment-section {
    border: 1px solid #075604;
    padding: 20px;
    line-height: 33px;
    border-radius: 5px;
    background-color: #f8f9fa;
}

.pay-price {
    border: 2px solid #075604;
    text-align: center;
    border-radius: 5px;
}

.navbar.navbar-expand-lg.bg-body-tertiary.pt-4.pb-4 {
    border-bottom: 2px solid #ddd;
}

.footer-section {
    background-color: #eee;
    padding-top: 40px;
    margin-top: 40px;
}

.footer-panel-title {
    font-size: 20px;
    font-weight: 600;
    border-bottom: 3px solid #cd8c2a70;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.list-none {
    padding-right: 0;

    li {
        list-style: none;
    }
}

.footer-link {
    text-decoration: none;
    color: #cd8c2a;
    font-weight: 600;
}

.footer-logo {
    max-width: 190px;
    margin-bottom: 10px;
}

.copyright {
    background-color: #d6d6d6;
    padding-top: 20px;
}

@media screen and (max-width: 800px) {
    .home-divider {
        width: 45%;
    }
}

.color-main {
    color: #075604
}

.color-secondary {
    color: #CE8703
}

.slider-bordered-text {
    font-size: 20px;
    text-align: right;
    border-right: 3px solid #075604;
    padding-right: 10px;
    width: 60%;
    margin-bottom: 20px;
}

.custom-btn {
    border-radius: 10px 0 0 10px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.home-category {
    border: 1px solid #075604;
    border-radius: 8px;
    margin-bottom: 20px;
}

.home-category img {
    border-radius: 8px 8px 0 0;
    max-height: 530px;
    width: 100%;
}

.home-category span {
    background-color: #F5F5F5;
    font-weight: bold;
    font-size: 18px;
    color: #075604;
    width: 100%;
    display: block;
    padding: 10px;
    border-radius: 8px;
}

.parsi-decor-footer {
    background-color: #075604;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
}

.product-item img {
    width: 100%;
    height: 250px;
    border-radius: 8px 8px 0 0;
}
.product-item {
    margin-top: 5px;
    border: 1px solid #075604;
    border-radius: 8px;
    background-color: #fff;
}
.product-name {
    padding: 10px 10px 0 0;
    margin-top:10px;
}

.product-name a {
    text-decoration: none;
    color: #000;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
}
.product-price {
    padding: 10px 10px 0 10px;
    text-align: left;
}
.product-inner-section {
    background-color: rgba(245, 245, 245, 0.40);
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ebeaea;
}
.product-name-detail {
    border-bottom: 3px solid #075604;
    padding-bottom: 21px;
}
.product-description {
    margin-top: 60px;
    background-color: #F5F5F5;
    border-radius: 10px;
    padding: 20px;
}
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}
.product-info {
    border: 2px solid #075604;
    padding: 20px;
    border-radius: 10px;
}
.support-for.sale {
    background-color: #075604;
    padding: 10px;
    text-align: center;
    color: #fff;
    border-radius: 8px;
    margin-top: 60px;
}
.product-section-bg {
    background-color: #F5F5F5;
}
img.product-short-description {
    width: auto;
    max-width: 100%;
    padding: 10px 0;
    float: right;
}
.product-actions {
    padding: 10px;
    height: 60px;
}
.special-products .product-section-bg {
    background: linear-gradient(180deg, #026245 50%, #FFF 50%);
}
.img-banner-home {
    width: 100%;
}
.contact-section {
    background-color: #075604;
    color: #fff;
    border-radius: 4px;
    padding: 20px;
}
.contact-header {
    font-weight: 900;
    font-size: 18px;
}
.modal.show .modal-dialog {
    transform: none;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
}
.card-title a {
    color: #075604 !important;
    font-weight: bold;
}
.bg-light {
    --bs-bg-opacity: 1;
    background-color: #075604 !important;
    color: #fff;
}
.bg-light a{
    color: #fff;
}
.bg-light p{
    color: #fff;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.footer-contact-us {
    background-color: #075604;
    align-items: first baseline;
    color: #fff;
    border-radius: 50px;
    line-height: 0;
    padding: 18px 10px 10px 10px;
}
/* Category Hover Animation Styles */
.category-hover-container {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-hover-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 99, 72, 0.2);
}

.category-content {
    position: relative;
    background-color: #F5F5F5;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.category-name {
    background-color: #F5F5F5;
    font-weight: bold;
    font-size: 18px;
    color: #075604;
    width: 100%;
    display: block;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.category-description {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #075604, #075604);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    border-radius: 0 0 8px 8px;
}

.category-description p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.category-hover-container:hover .category-description {
    opacity: 1;
    transform: translateY(0);
}

.category-hover-container:hover .category-name {
    opacity: 0;
    transform: translateY(-20px);
}
.gallery-thumb {
    width: 120px;
    display: flex;
}
.gallery-container {
    display: flex;
}
#main-gallery-image {
    width: 100%;
}
.toast-body {
    background-color: #fff;
}
.badge-cart {
    background-color: #075604;
    padding: 10px 10px;
    border-radius: 30px;
    font-size: 12px;
}
.add-to-cart-single {
    padding: 8px 21px;
    margin-top: 10px !important;
    background-color: #07560433;
    border: 2px solid;
}
