﻿@font-face {
    font-family: 'fontawesome';
    src: url('/Fonts/Fontawesome/fontawesome.eot?#') format('eot'), url('/Fonts/Fontawesome/fontawesome.woff') format('woff'), url('/Fonts/Fontawesome/fontawesome.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'WooCommerce';
    src: url('/Fonts/WooCommerce/WooCommerce.eot?#') format('eot'), url('/Fonts/WooCommerce/WooCommerce.woff') format('woff'), url('/Fonts/WooCommerce/WooCommerce.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* #region common */


* {
    margin: 0;
    outline: none;
    padding: 0;
    text-decoration: none;
}

    *, *:before, *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

html {
    margin: 0;
    -webkit-text-size-adjust: none;
}

ol, ul {
    list-style: none;
}

a {
    text-decoration: none !important;
}

    a img {
        border: none;
    }

    a:active {
        outline: none;
    }

input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
    margin: 0;
    border: 0;
    padding: 0;
}

input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
}

.btn {
    border-radius: 50rem;
}

input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 1000px #fff;
}

input[type=text]:focus {
    outline: none !important;
    box-shadow: none !important;
}

script {
    display: none !important;
}

.input-group-quantity {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid var(--bs-gray-400);
    padding: 0 7px;
    border-radius: 7px;
    max-width: 150px;
    width: fit-content;
    gap: 8px;
}

    .input-group-quantity .quantity {
        text-align: center;
    }

        .input-group-quantity .quantity:focus, .input-group-quantity .quantit:active {
            box-shadow: none;
        }

    .input-group-quantity input {
        pointer-events: none;
    }

.master-wrapper-content {
    min-height: 700px;
    padding: 10px 0;
}

.add-to-wishlist-button {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
}

.btn-default {
    color: white;
    background-color: #04533d;
    border-color: #04533d;
}

    .btn-default.active, .btn-default:active, .show > .btn-default.dropdown-toggle {
        color: white;
        background-color: #04533d;
        border-color: #04533d;
    }

    .btn-default:hover {
        color: white;
        background-color: #018818;
        border-color: #018818;
    }

    .btn-default:focus {
        color: #000;
        background-color: #04533d;
        border-color: #04533d;
        box-shadow: 0 0 0 0.25rem rgb(4,83,61 / 50%);
    }

    .btn-default:focus, .btn-default.active:focus, .btn-default:active:focus, .show > .btn-default.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.25rem rgb(4,83,61 / 50%);
    }

.color-white {
    color: white !important;
}

.fs-7 {
    font-size: 0.7rem;
}

.fs-8 {
    font-size: 0.8rem;
}

.wrapper .title a {
    color: white;
    background-color: #fbbc08;
    padding: 10px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    margin: 0;
    display: inline-block;
}
/* #endregion common */

/* #region CARD */
.card {
    border: none !important;
}

    .card.custom {
        border: none !important;
    }

        .card.custom .card-body {
            border: 1px solid #fbbc08;
            border-radius: 10px;
            margin: 5px 0 0 0;
        }

        .card.custom .card-header {
            background-color: #fbbc08;
            border-top-right-radius: 30px;
            border-bottom-left-radius: 30px;
        }

        .card.custom .buttons {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .card.custom .inputs {
            display: flex;
            margin: 10px 0;
            align-items: center;
        }

            .card.custom .inputs > * {
                display: flex;
                align-items: center;
            }

    .card .card-img-top {
        position: relative;
    }

.thumbnail ul.property-values {
    opacity: 0;
    position: absolute;
    top: 0;
    direction: rtl;
    width: 100%;
    height: 100%;
    right: 0;
    color: #fff;
    line-height: 2em;
    padding: 5px 10px 0 5px;
    transition: all .5s;
    background-color: rgba(0, 0, 0, .5);
}

.thumbnail:hover ul.property-values {
    opacity: 1;
}

.thumbnail:hover img {
    filter: blur(8px) sepia(0.3) brightness(0.5);
}

.thumbnail:hover .sale-icon {
    filter: blur(8px) sepia(0.3) brightness(0.5);
}
/* #endregion CARD */

/* #region HEADER */
.admin-header-links {
    background-color: #333;
    text-align: center;
    color: #eee;
}

    .admin-header-links * {
        display: inline-block;
        margin: 0 10px;
        line-height: 35px;
        font-size: 12px;
        font-weight: bold;
    }

    .admin-header-links .impersonate {
        display: inline-block;
    }

        .admin-header-links .impersonate a {
            background-color: #555;
            padding: 0 15px;
        }

            .admin-header-links .impersonate a:hover {
                background-color: #666;
            }

.logo img {
    max-width: 150px;
}

.logo h1 {
    display: none;
}

.shipping-icon i {
    background-color: #eee;
    padding: 1rem 2rem;
    border-radius: 50%;
    color: #fbbc08;
    font-size: 2rem;
    display: flex;
    justify-content: center;
}

.header-top {
    position: relative;
}

#topcartlink {
    min-height: 60px;
    position: absolute;
    top: -8px;
    left: 0;
}

.account-box {
    margin-left: 150px;
}
/* #endregion */

/* #region TOPMENU */
.top-menu {
    border-radius: 5px;
    background-color: #fbbc08;
}

    .top-menu .nav-item {
        display: flex;
        align-items: center;
    }

        .top-menu .nav-item a {
            padding-top: 0;
            color: white;
        }

            .top-menu .nav-item a:hover {
                color: #000;
            }

/* #endregion */

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
    padding-left: 45px !important;
}

    .btn-loading::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 15px;
        width: 18px;
        height: 18px;
        border: 2px solid transparent;
        border-radius: 50%;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*********** skeleton & captcha *************/
.captcha-skeleton {
    /* width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;*/
}

.skeleton-header {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-body {
    height: 80px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-footer {
    height: 30px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.captcha-skeleton-body {
    width: 304px;
    height: 78px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.captcha-skeleton.captcha-loaded {
    display: none;
}

/* #region SEARBOX */
.search-box-container {
    border: 4px solid #fbbc08;
    padding: 7px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    background: white;
}

    .search-box-container input[type=text] {
        border: none;
        padding-right: 2.3rem;
        height: 30px;
    }

#searchButton {
    border: none;
    background: transparent;
    padding: 0 11px;
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
}

.fa-search {
    color: #fbbc08;
}
/* #endregion */

/* #region NOTIFICATIONS & POPUPS  */
.bar-notification {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    padding: 15px 10px 15px 25px;
    line-height: 16px;
    color: #fff;
    opacity: 0.95;
}

    .bar-notification.success {
        background-color: #4bb07a;
    }

    .bar-notification.error {
        background-color: #e4444c;
    }

    .bar-notification .content {
        margin: 0 0 0 10px;
    }

        .bar-notification .content a {
            color: #fff;
            text-decoration: underline;
        }

    .bar-notification .close {
        position: absolute;
        top: 0;
        left: 0;
        width: 32px;
        height: 32px;
        margin: 7px;
        background: #fff url('../images/close.png') center no-repeat;
        cursor: pointer;
    }
/* #endregion */

/* #region GROUPNAVIGATION */
.product-categories, .product-categories .cat-item {
    position: relative;
    padding: 3px 0;
    border-bottom: 1px solid #f1f1f1;
    list-style: none;
}

    .product-categories .cat-item:last-child {
        border-bottom: none;
    }

    .product-categories a, .product-categories ul li a {
        margin-right: 25px;
    }

        .product-categories a.active {
            font-size: 1.1rem;
            font-weight: bold;
        }

    .product-categories .close {
        font-family: "FontAwesome";
        position: absolute;
        right: 0;
        top: 2px;
        cursor: pointer;
    }

        .product-categories .close:before {
            content: "\f0fe";
        }

        .product-categories .close.expanded:before {
            content: "\f146";
        }
/* #endregion GROUPNAVIGATION */

/* #region OWLCAROUSEL */
.owl-carousel-wrapper {
}

    .owl-carousel-wrapper .title {
    }

        .owl-carousel-wrapper .title > * {
        }

        .owl-carousel-wrapper .title a {
            color: white;
            background-color: #018808;
            padding: 10px;
            border-top-right-radius: 30px;
            border-bottom-left-radius: 30px;
            margin: 0;
            min-width: 170px;
            text-align: center;
        }

.owl-nav i {
    color: #fbbc08 !important;
    font-size: 2em !important;
    border: none !important;
}

    .owl-nav i:active, .owl-nav i:hover {
        color: #ff5252 !important;
    }


.owl-carousel .owl-stage-outer {
    padding: 0 1px;
}

.owl-carousel {
    display: none;
    width: 100%;
    position: relative;
    direction: ltr !important;
}

    .owl-carousel .owl-item {
        direction: rtl;
    }

        .owl-carousel .owl-item .thumbnail {
            min-height: 515px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

            .owl-carousel .owl-item .thumbnail .old-price {
                color: red;
                text-decoration: line-through;
            }

            .owl-carousel .owl-item .thumbnail .price {
            }

        .owl-carousel .owl-item .caption a.book_link_title {
            display: block;
            color: #000;
            min-height: 105px;
        }

    .owl-carousel .owl-stage {
        position: relative;
        -ms-touch-action: pan-Y;
        -moz-backface-visibility: hidden
    }

        .owl-carousel .owl-stage:after {
            content: ".";
            display: block;
            line-height: 0;
            height: 0
        }

    .owl-carousel .owl-stage-outer {
        position: relative;
        overflow: hidden
    }

    .owl-carousel .owl-item, .owl-carousel .owl-wrapper {
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0)
    }

    .owl-carousel .owl-item {
        position: relative;
        min-height: 1px;
        float: left;
        -webkit-backface-visibility: hidden
    }

    .owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
        display: none
    }

    .no-js .owl-carousel, .owl-carousel.owl-loaded {
        display: block
    }

    .owl-carousel .owl-dot, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev {
        cursor: pointer;
        cursor: hand;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none
    }

    .owl-carousel.owl-loading {
        opacity: 0;
        display: block
    }

    .owl-carousel.owl-hidden {
        opacity: 0
    }

    .owl-carousel.owl-drag .owl-item {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none
    }

    .owl-carousel.owl-grab {
        cursor: move;
        cursor: grab
    }

    .owl-carousel.owl-rtl {
        direction: rtl
    }

        .owl-carousel.owl-rtl .owl-item {
            float: right
        }

    .owl-carousel .animated {
        animation-duration: 1s;
        animation-fill-mode: both
    }

    .owl-carousel .owl-animated-in {
        z-index: 0
    }

    .owl-carousel .owl-animated-out {
        z-index: 1
    }

    .owl-carousel .fadeOut {
        animation-name: fadeOut
    }

@keyframes fadeOut {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.owl-height {
    transition: height .5s ease-in-out
}

.owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    transition: opacity .4s ease
}

.owl-carousel .owl-item img.owl-lazy {
    transform-style: preserve-3d
}

.owl-carousel .owl-item img {
    max-height: 300px;
}

.owl-carousel .owl-video-wrapper {
    position: relative;
    height: 100%;
    background: #000
}

.owl-carousel .owl-video-play-icon {
    position: absolute;
    height: 80px;
    width: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    background: url(owl.video.play.png) no-repeat;
    cursor: pointer;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    transition: transform .1s ease
}

    .owl-carousel .owl-video-play-icon:hover {
        -ms-transform: scale(1.3,1.3);
        transform: scale(1.3,1.3)
    }

.owl-carousel .owl-video-playing .owl-video-play-icon, .owl-carousel .owl-video-playing .owl-video-tn {
    display: none
}

.owl-carousel .owl-video-tn {
    opacity: 0;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity .4s ease
}

.owl-carousel .owl-video-frame {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%
}

.owl-carousel .owl-next, .owl-carousel .owl-prev {
    position: absolute;
    display: inline-block;
    top: 43%
}

.tm-category-panel .tm-category-panel-menu > li, .tm-search-block .tm-list-toggle {
    position: relative
}

.owl-carousel .owl-next {
    left: 15px
}

.owl-carousel .owl-prev {
    right: 15px
}

    .owl-carousel .owl-next.disabled, .owl-carousel .owl-prev.disabled {
        display: none
    }

.owl-nav i {
    display: inline-block;
    width: 46px;
    height: 46px;
    line-height: 46px;
    font-size: 20px;
    color: #d6d6d6;
    border-radius: 50%;
    text-align: center;
    background: #fff;
    border: 1px solid #d6d6d6
}

    .owl-nav i:active, .owl-nav i:hover {
        color: #ff5252
    }
/* #endregion OWLCAROUSEL */

/* #region ajaxloader */
.ajaxloader {
    margin: 0 auto;
    height: 50px;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 99999;
}

    .ajaxloader .x-rtl {
        direction: rtl;
    }

    .ajaxloader .inner {
        border: 5px solid rgba(150, 210, 29, 0.9);
        opacity: 0.9;
        border-left-color: transparent;
        border-right-color: transparent;
        border-radius: 50%;
        width: 27px;
        height: 27px;
        position: relative;
        top: -36px;
        margin: 0 auto;
        -webkit-animation: spin-right 1s linear infinite normal;
        -moz-animation: spin-right 1s linear infinite normal;
        -ms-animation: spin-right 1s linear infinite normal;
        animation: spin-right 1s linear infinite normal;
        -webkit-animation-delay: 0;
        -moz-animation-delay: 0;
        -o-animation-delay: 0;
        animation-delay: 0;
    }

    .ajaxloader .outer {
        border: 5px solid rgba(150, 210, 29, 0.9);
        opacity: 0.9;
        border-right-color: transparent;
        border-left-color: transparent;
        width: 44px;
        height: 44px;
        margin: 0 auto;
        border-radius: 50%;
        -webkit-animation: spin-pulse 1s linear infinite normal;
        -moz-animation: spin-pulse 1s linear infinite normal;
        -ms-animation: spin-pulse 1s linear infinite normal;
        animation: spin-pulse 1s linear infinite normal;
        -webkit-animation-delay: 0;
        -moz-animation-delay: 0;
        -o-animation-delay: 0;
        animation-delay: 0;
    }

@-moz-keyframes spin-right {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin-right {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin-right {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-moz-keyframes spin-pulse {
    from {
        -moz-transform: rotate(360deg);
    }

    to {
        -moz-transform: rotate(0deg);
    }
}

@-webkit-keyframes spin-pulse {
    from {
        -webkit-transform: rotate(360deg);
    }

    to {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes spin-pulse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* #endregion */

/* #region product review */
.woocommerce p.stars a {
    position: relative;
    height: 2em;
    width: 1.5em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none
}

    .woocommerce p.stars a::before {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 2em;
        height: 2em;
        line-height: 1;
        font-family: WooCommerce;
        font-size: 1.7em;
        content: '\e021';
        text-indent: 0
    }

    .woocommerce p.stars a:hover ~ a::before {
        content: '\e021'
    }

.woocommerce p.stars:hover a::before {
    content: '\e020'
}

.woocommerce p.stars.selected a.active::before {
    content: '\e020'
}

.woocommerce p.stars.selected a.active ~ a::before {
    content: '\e021'
}

.woocommerce p.stars.selected a:not(.active)::before {
    content: '\e020'
}

#review_form_wrapper .comment-form .stars a {
    border: none;
    color: #fed700;
    line-height: 14px
}

    #review_form_wrapper .comment-form .stars a:after {
        color: #afafaf;
        font-family: FontAwesome;
        font-weight: 400
    }

    #review_form_wrapper .comment-form .stars a.star-1:after {
        content: '\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-2:after {
        content: '\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-3:after {
        content: '\f006\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-4:after {
        content: '\f006\f006\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.star-5:after {
        content: '\f006\f006\f006\f006\f006'
    }

    #review_form_wrapper .comment-form .stars a.active:after,
    #review_form_wrapper .comment-form .stars a:hover:after {
        color: #fed700
    }

.comment-form .comment-form-comment {
    display: flex;
}
/* #endregion */

/* #region PRODUCT DETAILS */
.book-detail .tabs {
    min-height: 300px;
}

.book-detail .list-group .group-item {
    display: flex;
    border-bottom: 1px solid #dee2e6;
}

    .book-detail .list-group .group-item:nth-child(2n+1) {
        background-color: #f5f5f5;
    }

    .book-detail .list-group .group-item .first {
        padding: 10px;
    }

    .book-detail .list-group .group-item .old-price {
        text-decoration: line-through;
        color: red;
    }

    .book-detail .list-group .group-item .last {
        padding: 10px;
    }

.book-detail .buttons .btnAddToCart {
    float: right;
}

.book-detail .image-wrapper img {
    width: 100%;
}


#review_form, #comments {
    margin: 30px 0;
    padding: 40px;
    background-color: #f5f5f5;
}

.parent-img-container {
    display: flex;
    margin: 20px 0;
}

.book-detail .nav-tabs .nav-link {
    border-top-left-radius: inherit !important;
    background-color: #018808 !important;
    color: white;
    border: none;
    cursor: pointer;
}

    .book-detail .nav-tabs .nav-link.active {
        background-color: #fbbc08 !important;
        cursor: inherit;
    }
/* #endregion */

/* #region homepage */
.stationary, .special-offer {
    position: relative;
}

    .stationary .title {
        position: absolute;
        top: 40%;
        left: 10%;
    }

    .special-offer .title {
        position: absolute;
        top: 40%;
        right: 10%;
    }

.news-list-homepage .news-body {
    text-align: justify;
}

@media only screen and (max-width: 576px) {
    .stationary .title, .special-offer .title {
        top: -40%;
    }
}
/* #endregion homepage */

/* #region FOOTER */
.footer {
    background-color: #262626;
    color: white;
}

    .footer .title {
        border-bottom: 1px solid #fbbc08;
        padding: 10px 0;
        font-weight: bold;
        font-size: 1.5em;
    }

    .footer a {
        color: rgb(153, 153, 153);
        font-size: 1.2em;
    }

        .footer a:hover {
            color: #fbbc08;
        }

    .footer ul {
        padding: 0;
    }

        .footer ul li {
            padding: 5px 0;
        }

.footer-middle .other {
    border: 5px solid #fbbc08;
    border-radius: 10px;
}

.follow-us {
    text-align: center;
}

    .follow-us .title {
        margin: 0 0 10px;
        background: none;
        cursor: auto;
    }

    .follow-us .social ul {
        margin: 0 0 30px;
        /*border-bottom: 1px solid #ddd;*/
        padding: 0 0 30px;
        font-size: 0;
    }

    .follow-us .social li {
        display: inline-block;
        margin: 0 5px;
    }

    .follow-us .social a {
        display: block;
        width: 38px;
        height: 38px;
        background: url('../images/social-sprite.png') no-repeat;
        font-size: 0;
    }

    .follow-us .social .enamad a, .follow-us .social .samandehi a {
        width: auto;
        height: auto;
        background: transparent;
    }

    .follow-us .social .facebook a {
        background-position: 0 0;
    }

    .follow-us .social .twitter a {
        background-position: -38px 0;
    }

    .follow-us .social .rss a {
        background-position: -76px 0;
    }

    .follow-us .social .youtube a {
        background-position: -114px 0;
    }

    .follow-us .social .google-plus a {
        background-position: -152px 0;
    }

    .follow-us .social .instagram a {
        background-position: -228px 0;
    }

    .follow-us .social .telegram a {
        background-position: -190px 0;
    }

    .follow-us .social .eitaa a {
        background: url('../images/eta.png') no-repeat;
        background-size: contain;
    }

#back-top i {
    font-size: 18px;
}

#back-top:hover {
    background: #fbbc08;
}

#back-top {
    display: block;
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: rgba(35, 47, 62, 0.7);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 3px;
    color: #fff;
    display: none;
    text-align: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0px 0px 1px 1px rgba(255,255,255,.1);
}

.other img {
    width: 100%;
}
/* #endregion FOOTER */

/* #region sale */

.sale-icon {
    position: absolute;
    /*background-image: url(/Themes/Forouzesh/Content/images/sale.png);*/
    background-repeat: no-repeat;
    background-size: cover;
    background: red;
    border-radius: 50%;
    color: white;
}

    .sale-icon .sale {
        position: absolute;
        font-weight: bold;
        font-family: cursive;
        direction: ltr;
        /*color: rgb(253,91,19);*/
    }

.card .sale-icon, .image-wrapper .sale-icon {
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
}

    .card .sale-icon .sale, .image-wrapper .sale-icon .sale {
        top: 15px;
        left: 12px;
        font-size: .9em;
        font-weight: bold;
    }


/* #endregion sale */
/* SEARCHPAGE */
.item-box img {
    width: 100%;
    max-height: 300px;
}

.old-product-price {
    color: red;
    text-decoration: line-through;
}
/* NIVOSLIDER */
.theme-custom .nivo-controlNav {
    bottom: -54px !important;
}

    .theme-custom .nivo-controlNav a {
        box-shadow: 0 0 1px 0 rgba(0,0,0,0.8) !important;
    }
/* SHIPMENTTIME */
.shipment-time {
    width: 100% !important;
}

/* checkout */
.checkout #newaddress-container {
    display: none;
}

.checkout .accordion-button::after {
    margin-left: 0;
}

.number {
    font-family: IRANSans_FaNum !important;
}



.saw-tooth-vertical {
    background-color: #fbbc08;
    background-image:
    /* Top jagged */
    linear-gradient(135deg, #fff 50%, transparent 50%), linear-gradient(225deg, #fff 50%, transparent 50%),
    /* Bottom jagged */
    linear-gradient(45deg, #fff 50%, transparent 50%), linear-gradient(-45deg, #fff 50%, transparent 50%);
    background-position:
    /* Top jagged */
    top left, top left,
    /* Bottom jagged */
    bottom left, bottom left;
    background-size: 10px 10px;
    background-repeat: repeat-x;
}

.saw-tooth-bottom {
    background-color: #fbbc08;
    background-image:
    /* Bottom jagged */
    linear-gradient(45deg, #fff 50%, transparent 50%), linear-gradient(-45deg, #fff 50%, transparent 50%);
    background-position:
    /* Bottom jagged */
    bottom left, bottom left;
    background-size: 10px 10px;
    background-repeat: repeat-x;
}

.saw-tooth-horizontal {
    background-color: #fbbc08;
    background-image:
    /* Left jagged */
    linear-gradient(135deg, #fff 50%, transparent 50%), linear-gradient(45deg, #fff 50%, transparent 50%),
    /* Right jagged */
    linear-gradient(-135deg, #fff 50%, transparent 50%), linear-gradient(-45deg, #fff 50%, transparent 50%);
    background-position:
    /* Left jagged */
    top left, top left,
    /* Right jagged */
    top right, top right;
    background-size: 10px 10px;
    background-repeat: repeat-y;
}

/* #region common */
.not-available {
    color: white;
    background-color: darkred;
}

    .not-available:hover {
        background-color: #ec6d6d;
        border-color: #ec6d6d;
    }

.h-90 {
    height: 90%
}

.h-80 {
    height: 80%
}

.h-70 {
    height: 70%
}

.h-60 {
    height: 60%
}

.h-40 {
    height: 40%
}

.h-30 {
    height: 30%
}

.h-20 {
    height: 20%
}

.w-90 {
    width: 90%
}

.w-80 {
    width: 80%
}

.w-70 {
    width: 70%
}

.w-60 {
    width: 60%
}

.w-40 {
    width: 40%
}

.w-30 {
    width: 30%
}

.w-20 {
    width: 20%
}
/* #endregion common */
/* PRODUCT FILTERS */
#product-filters select {
    width: 100%;
}

#product-filters .list-group-item, #productfilters .list-group-item {
    margin: 10px 0;
    background-color: white;
    padding: 10px;
    border: 1px solid #fbbc08;
    border-radius: 10px;
}

.product-filters .filter-title {
    border-bottom: 1px solid #f5f5f5;
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
}

.product-filters .filter-value {
    max-height: 400px;
    overflow-y: scroll;
}

    .product-filters .filter-value ul {
        list-style: none;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }

        .product-filters .filter-value ul li {
            margin: 5px 0;
        }

.product-filters .pretty .state label {
    white-space: nowrap;
}

.product-filters .filter-searchbox {
    margin: 10px 0;
}

.product-filters .toggle-label {
    float: left;
    cursor: pointer;
}

    .product-filters .toggle-label:after {
        content: '\f078';
        font-family: FontAwesome;
    }

    .product-filters .toggle-label.expanded:after {
        content: '\f077';
        font-family: FontAwesome;
    }

#product-filters #submit-filter {
    width: 100%;
}

.product-filters .filter-body {
    display: none;
}

    .product-filters .filter-body.expanded {
        display: block;
    }

.spinner {
    width: 1rem !important;
    height: 1rem !important;
    opacity: 0;
    visibility: hidden;
    /*transition:all .4s;
    -webkit-transition:all .4s;
    -moz-transition:all .4s;
    -o-transition:all .4s;*/
}

    .spinner.expanded {
        opacity: 1;
        visibility: visible;
    }



/* #region mobile */
@media only screen and (max-width: 768px) {
    #topcartlink {
        min-height: 110px;
    }
}
/* endregion */

/*#region autocomplete searchbox */
.search-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(1px);
    z-index: 999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#search {
    position: relative;
    z-index: 1000;
    width: 100%;
}

    #search.search-active {
        position: relative;
        z-index: 1001;
    }


/* ========== autocomplete result style ========== */
.autocomplete-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1002;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.autocomplete-image {
    width: 50px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    margin-left: 15px;
    border: 1px solid #eee;
}
/* scrollbar special */
.autocomplete-results::-webkit-scrollbar {
    width: 5px;
}

.autocomplete-results::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.autocomplete-results::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

    .autocomplete-results::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.4);
    }

.autocomplete-item {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

    .autocomplete-item:last-child {
        border-bottom: none;
    }

    .autocomplete-item i {
        color: #5c5c5c;
    }

.autocomplete-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.autocomplete-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

    .autocomplete-item:hover .autocomplete-link {
        color: white;
    }

    .autocomplete-item:hover .autocomplete-text {
        color: white;
    }

    .autocomplete-item:hover .autocomplete-count {
        color: rgba(255, 255, 255, 0.9);
    }

    .autocomplete-item:hover i {
        color: white;
    }

.autocomplete-item-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

    .autocomplete-item-active .autocomplete-link {
        color: white;
    }

    .autocomplete-item-active .autocomplete-count {
        color: rgba(255, 255, 255, 0.9);
    }

.autocomplete-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

    .autocomplete-info i {
        color: #667eea;
        font-size: 18px;
        transition: all 0.2s ease;
        width: 20px;
    }

.autocomplete-text {
    font-size: 15px;
    font-weight: 500;
    color: #5c5c5c;
}

.autocomplete-count {
    font-size: 13px;
    color: #5c5c5ce0;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.autocomplete-item:hover .autocomplete-count {
    background: rgba(255, 255, 255, 0.2);
}

.search-spinner {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
    z-index: 1002;
}

    .search-spinner.visible {
        display: block;
    }

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .autocomplete-results {
        max-height: 300px;
        border-radius: 12px;
    }

    .autocomplete-link {
        padding: 12px 16px;
    }

    .autocomplete-text {
        font-size: 14px;
    }

    .autocomplete-count {
        font-size: 11px;
        padding: 3px 8px;
    }

    .search-box-text {
        padding: 12px 45px 12px 16px;
        font-size: 14px;
    }
}

@media (prefers-color-scheme: dark) {
    .autocomplete-results {
        background: #1e1e1e;
        border: 1px solid #333;
    }

    .autocomplete-link {
        color: #e0e0e0;
    }

    .autocomplete-item {
        border-bottom-color: #333;
    }

    .autocomplete-count {
        background: #2d2d2d;
        color: #aaa;
    }

    .search-box-text {
        background: #2d2d2d;
        border-color: #444;
        color: #e0e0e0;
    }

        .search-box-text:focus {
            border-color: #667eea;
        }
}

/*#endregion */


/*#region filters */


/*#region price */

.ui-widget {
    font-family: inherit !important;
    font-size: .9rem;
}

.ui-widget-header {
    background: var(--c);
}

.ui-widget-content {
    border: 1px solid transparent;
    background: var(--bs-gray-400);
}

    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
        border: 1px solid var(--c-light);
        background: var(--c);
        border-radius: 50%;
    }

.price-range-inputs {
    margin: 0 0 2rem 0;
}

    .price-range-inputs .from, .price-range-inputs .to {
        justify-content: space-between;
        width: 100%;
    }

    .price-range-inputs .input-price {
        border: 1px solid #e5e7eb;
        border-radius: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        background-color: #fff;
    }
/*#endregion price */
.filter-container {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
}

.apply-filter-btn {
    position: sticky;
    bottom: 0;
    color: white;
    padding: 12px;
    text-align: center;
    border: none;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.3);
    z-index: 10;
}

@media only screen and (max-width: 768px) {
    .filter-container {
        margin-bottom: 2rem;
    }
}
/*#endregion filters */

/*#region card */
/* بازنویسی کلاس card در Bootstrap بدون استفاده از box-shadow */
.card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    transition: all 0.2s ease-in-out;
}

/* حذف border اضافی در card-header و card-footer */
.card-header,
.card-footer {
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.05);
}

    .card-header:first-child {
        border-radius: 1.25rem 1.25rem 0 0;
    }

    .card-footer:last-child {
        border-radius: 0 0 1.25rem 1.25rem;
    }

/* تصویر داخل کارت بدون لبه‌های تیز */
.card-img-top {
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
}

.card-img-bottom {
    border-bottom-left-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
}

/* استایل hover برای کارت (بدون سایه) */
.card:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

/* کارت با حاشیه رنگی برای برجسته‌سازی */
.card.border-primary {
    border-color: var(--c) !important;
    border-left: 4px solid var(--c);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.card.border-success {
    border-left: 4px solid #198754;
}

.card.border-danger {
    border-left: 4px solid #dc3545;
}

.card.border-warning {
    border-left: 4px solid #ffc107;
}

.card.border-info {
    border-left: 4px solid #0dcaf0;
}

.card.bg-light-soft {
    background-color: #f8f9fa;
    border-color: #e9ecef;
}

/* گروه کارت‌ها (card group) */
.card-group .card {
    border-radius: 0;
}

    .card-group .card:first-child {
        border-top-left-radius: 1.25rem;
        border-bottom-left-radius: 1.25rem;
    }

    .card-group .card:last-child {
        border-top-right-radius: 1.25rem;
        border-bottom-right-radius: 1.25rem;
    }

/* کارت با فاصله داخلی بیشتر */
.card .card-body {
    padding: 1.5rem;
}

/* عنوان کارت با فونت زیباتر */
.card-title {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* متن کارت با رنگ ملایم‌تر */
.card-text {
    color: #6c757d;
    line-height: 1.5;
}
/*#endregion card */


/*#region checkout page */
/* ============================================
   Checkout Page Custom Styles
   ============================================ */
.checkout {
    margin: 2rem 0;
}

    .checkout .accordion-item .fa-circle-check {
        opacity: 0;
        visibility: hidden;
        transition: all .3s;
    }

    .checkout .accordion-item.active .fa-circle-check {
        opacity: 1;
        visibility: visible;
    }

:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #eef2ff;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --gray-color: #6b7280;
    --light-gray: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-soft: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.05);
    --radius-lg: 1rem;
    --radius-md: 0.75rem;
    --radius-sm: 0.5rem;
}

/* Accordion Container */
.checkout .accordion {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}

/* Accordion Items - box-shadow ملایم */
.checkout .accordion-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* Accordion Headers */
.checkout .accordion-button {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    background: white;
    color: var(--dark-color);
    border: none;
    box-shadow: none;
    transition: background-color 0.2s ease;
}

    .checkout .accordion-button:not(.collapsed) {
        background: var(--primary-light);
        color: var(--primary-color);
    }

    .checkout .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

    .checkout .accordion-button:disabled {
        background: var(--light-gray);
        color: var(--gray-color);
        opacity: 0.7;
        cursor: not-allowed;
    }

/* Accordion Body */
.checkout .accordion-body {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid var(--border-color);
}

/* Fieldset Styling */
fieldset {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: white;
}

legend {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    background: white;
    padding: 0 0.75rem;
    width: auto;
    float: none;
    display: inline-block;
    margin-bottom: 0;
    border: none;
}

/* Form Labels */
label.col-form-label {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* Form Controls */
.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-size: 0.875rem;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
        outline: none;
    }

    .form-control.border-success {
        border-color: var(--success-color);
        background-color: #ecfdf5;
    }

    .form-control.border-danger {
        border-color: var(--danger-color);
        background-color: #fef2f2;
    }

/* Required Fields */
.required label.col-form-label::after {
    content: "*";
    color: var(--danger-color);
    margin-right: 4px;
}

/* Buttons */
.checkout .btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

    .checkout .btn-primary:hover {
        background-color: var(--primary-dark);
        box-shadow: var(--shadow-soft);
    }

    .checkout .btn-primary:active {
        background-color: var(--primary-dark);
    }

    .checkout .btn-primary:disabled {
        background-color: var(--gray-color);
        opacity: 0.6;
        cursor: not-allowed;
    }

/* ==================== Shipping Options ==================== */
.shipping-options-list {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.shipping-option-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: white;
    transition: background-color 0.2s ease;
}

    .shipping-option-item:first-child {
        border-top-right-radius: var(--radius-md);
        border-top-left-radius: var(--radius-md);
    }

    .shipping-option-item:last-child {
        border-bottom-right-radius: var(--radius-md);
        border-bottom-left-radius: var(--radius-md);
    }

    .shipping-option-item.active {
        border: 1px solid var(--primary-color);
        background-color: var(--bs-accordion-active-bg);
    }

    .shipping-option-item:hover {
        box-shadow: var(--shadow-soft);
    }

    .shipping-option-item input[type="radio"] {
        width: 1rem;
        height: 1rem;
        accent-color: var(--primary-color);
        cursor: pointer;
    }

/* ==================== Payment Methods ==================== */
.payment-method-list {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.payment-method-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem;
    background: white;
    transition: background-color 0.3s ease;
}

    .payment-method-item:first-child {
        border-top-right-radius: var(--radius-md);
        border-top-left-radius: var(--radius-md);
    }

    .payment-method-item:last-child {
        border-bottom-right-radius: var(--radius-md);
        border-bottom-left-radius: var(--radius-md);
    }

    .payment-method-item.active {
        border: 1px solid var(--primary-color);
        background-color: var(--bs-accordion-active-bg);
        transition: background-color 0.3s ease;
    }

    .payment-method-item:hover {
        box-shadow: var(--shadow-soft);
    }

    .payment-method-item input[type="radio"] {
        width: 1rem;
        height: 1rem;
        accent-color: var(--primary-color);
        cursor: pointer;
    }

/* ==================== Summary Card ==================== */
.checkout .summary-card {
    background: var(--light-gray);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
}

.checkout .summary-row {
    transition: background-color 0.2s ease;
}

    .checkout .summary-row:hover {
        background-color: rgba(79, 70, 229, 0.04);
    }

/* Alert Styling */
.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-md);
    color: #065f46;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

    .alert-success i {
        color: var(--success-color);
        margin-right: 0.5rem;
    }

/* Modal */
.modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.modal-header {
    background: var(--primary-light);
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
}

.modal-title {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .accordion-body {
        padding: 1rem;
    }

    .accordion-button {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    fieldset {
        padding: 1rem;
    }

    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .shipping-option-item,
    .payment-method-item {
        padding: 0.875rem;
    }

    .summary-card {
        padding: 0.25rem 0.75rem;
    }

    .value {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-btn {
        align-self: flex-end;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .accordion-body {
        padding: 1.25rem;
    }
}

/* RTL Support */
[dir="rtl"] .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .alert-success i {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .required label.col-form-label::after {
    margin-right: 0;
    margin-left: 4px;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

[dir="rtl"] .text-sm-start {
    text-align: right !important;
}

/* Scrollbar (اختیاری - ملایم) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }
/*#endregion checkout page */


/*#region blog and panel */
.blogpost-page .post-head h1 {
    font-size: 1.5rem;
}

.post, .panel {
    width: 100%;
    background-color: #ffffff;
    border-radius: 24px;
    /*box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);*/
    padding: 30px;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
    position: relative;
    overflow: hidden;
}

    .post:hover, .panel:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
    }

.panel-flat {
    padding: 1rem;
}

    .panel-flat:hover {
        transform: none;
        box-shadow: none;
    }

    .panel-flat .panel-title {
        font-size: 1.3rem;
    }

.post-head, .panel-head {
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f4fa;
    padding-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
}

.post-title, .panel-title {
    font-size: 1.2rem;
    padding-bottom: 1rem;
    font-weight: bold;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.5;
    flex: 1 1 auto;
    transition: color 0.2s ease;
    word-break: break-word;
}

    .post-title:hover, .panel-title:hover {
        color: #3b82f6;
    }

.post-date {
    font-size: 0.85rem;
    color: #94a3b8;
    background-color: #f1f5f9;
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
    margin-right: 10px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.post-body, .panel-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 25px;
    text-align: justify;
    background-color: #fafcff;
    padding: 20px;
    border-radius: 16px;
    border-right: 4px solid var(--c2);
}

.blog-details {
    margin-top: 20px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

    .buttons > * {
        text-align: center;
    }

    .buttons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.9rem;
        font-weight: 500;
        text-decoration: none;
        border-radius: 50px;
        transition: all 0.25s ease;
        border: 1px solid transparent;
    }

.read-comments {
    background-color: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0 !important;
}

    .read-comments:hover {
        background-color: #e2e8f0;
        color: #1e293b;
        transform: scale(1.02);
    }

.read-more {
    background-color: var(--c2);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--c2-shadow);
}

    .read-more:hover {
        background-color: var(--c2-dark);
        box-shadow: 0 6px 16px var(--c2-shadow);
        transform: translateY(-2px);
        color: white;
    }

@media (max-width: 600px) {
    .post {
        padding: 20px;
    }

    .post-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .post-date {
        margin-right: 0;
        align-self: flex-start;
    }

    .post-body {
        padding: 15px;
        font-size: 0.95rem;
    }

    /*.buttons {
        flex-direction: column;
        align-items: stretch;
    }*/

    .buttons a {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .post-title {
        font-size: 1.2rem;
    }

    .post-body {
        padding: 12px;
    }
}

.zwnj, .post-title, .post-body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/*#endregion blog and panel*/
