﻿body {
    font-family: IranYekan;
}
h1, h2, h3, h4, h5, h6,
span, p, input {
    font-family: IranYekan;
}
.dark_skin .logo_dark, .light_skin .logo_light {
    width: 182px;
    height: 47px;
}
@media(max-width: 768px) {
    .dark_skin .logo_dark, .light_skin .logo_light {
        width: 145.6px !important;
        height: 37.6px;
    }
}
.aparat-icon {
    margin-top: -7px;
}
.home-video {

}
.specialty {
    display:block;
}
.footer_logo img {
    width:172px;
    height:47px;
}
.social_icons li a {
    color: #FF324D;
}
    .social_icons li a:hover {
        color: #687188;
    }
.subtitle {
    font-size: 15px;
    color: #FF324D;
    font-weight:600;
}
.product-meta p {
    line-height:1;
    margin-bottom:10px;
}
.product-meta tr td div {
    margin-top: 15px;
}
.btn-fill-out {
    background-color: #FF324D;
}
.btn-fill-out:hover {
    background-color: #fff;
}
.bc-path {
    float: right;
    margin-top: 10px;
}
.pull-right {
    float:right;
}
.pull-left {
    float: left;
}
.btn-filter {
    padding:10px 10px;
    text-align:center;
    color:#fff;
    font-size:18px;
    background:#FF324D;
    width:100%;
    border: solid 1px #FF324D;
    display:block;
}
    .btn-filter:hover {
        color: #FF324D;
        border: solid 1px #FF324D;
        background: #fff;
    }
.btn-anti-filter {
    display: block;
    padding: 10px 10px;
    text-align: center;
    color: #FF324D;
    font-size: 18px;
    background: #fff;
    width: 100%;
    border: solid 1px #FF324D;
    margin-top: 10px;
}
.last-items .product {
    display:inline-block;
    width:32%;
}
.product_share span {
    display: block !important;
}
.sotialnet li {
    display: inline-block;
    padding-top:10px;
    padding-left:6px;
}
.sotialnet i {
    font-size: 30px;
}
.doctor-item {
    align-items: center;
    padding: 15px;
    margin-bottom: 30px;
    background-color: #fff;
    position: relative;
    margin-bottom: 30px;
    float: right;
    box-shadow: 0 0 7px rgb(0 0 0 / 10%);
    margin: 5px;
    transition: all 0.5s ease-in-out;
    max-width: 100%;
}

.doctor-item .product_img {
    max-width: 30%;
    width: 100%;
    position: relative;
    overflow: hidden;
    float: right;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.doctor-item .product_info {
    padding: 0px 15px 0 0px;
    text-align: right;
    float: right;
    padding: 0px 0 0 15px;
    text-align: left;
    max-width: 70%;
    padding: 15px;
}
.doctor-item .product_title {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-transform: capitalize;
}
.doctor-item .product_title a {
    font-size:16px;
}
.doctor-item .product_info {
    padding: 0px 15px 0 0px;
    text-align: right;
}
.section.small_pb {
    padding-bottom:0;
}

.sale.new {
    border-top: 56px solid #ff324d;
    left: 0;
}
.sale {
    border-top: 56px solid #ff324d;
    border-right: 56px solid transparent;
    display: block;
    height: 0;
    line-height: 22px;
    position: absolute;
    width: 0;
    z-index: 1;
}
    .sale.new:before {
        content: "VIP";
    }

    .sale:before {
        color: #fff;
        content: "VIP";
        display: block;
        font-size: 11px;
        font-weight: bold;
        margin: -46px -25px 0 5px;
        position: absolute;
        text-transform: uppercase;
        -webkit-transform: rotate( 315deg );
        transform: rotate( 315deg );
    }
#navCatContent li a {
    overflow:hidden;
}
.aparat a img {
    margin-top:-10px;
}
.lb-err {
    font-size: 14px;
    padding: 10px 5px;
    color: #ac0b0b;
    background: #fac7c7;
    display: block;
    margin-bottom: 6px;
    font-weight: 400;
    width: 100%;
}

.lb-suc {
    font-size: 14px;
    padding: 10px 5px;
    color: #127a06;
    background: #c7fbc1;
    display: block;
    margin-bottom: 6px;
    font-weight: 400;
    width:100%;
}
@media only screen and (max-width: 480px) {
    .search_btn {
        height:38px;
    }
    .input-group-prepend {
        margin-bottom:10px;
    }
    .custom_select {
        width:100%;
    }
    .input-group {
        display:block;
    }
    .product_search_form select {
        width:100%;
        max-width:100%;
    }
    .search-doctor {
        width:100% !important;
    }
    .search_btn {
        top:auto;
    }
}
@media(max-width:480px) {
    .search-doctor {
        width: 100% !important;
    }
}
.btn-addtocart-revers {
    background-color: #fff;
    border: 1px solid #FF324D;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #FF324D
}
.slick-slide img {
    max-height:62px;
    width:100%;
}
.social_icons li a {
    display:inline;
}
.btn-fill-out, .staggered-animation {
    font-weight: bold;
}
.video iframe {
    width: 100%;
    height: 100%;
}
.video h2 {
    text-align: center;
    font-size: 14px;
    padding: 10px 5px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tel {
    display: block;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-top:5px;
}
.bg_dark.small_pb {
    padding-bottom: 50px;
}
.newsletter_form input[type="text"] {
    width:40%;
    float:right;
}
.newsletter_form input[type="text"]:first-child {
    border-left:solid 1px #eee;
}
.newsletter_form .btn {
    float:right;
}
.validation {
    color:#ef0d2b;
    padding:5px;
    font-size:13px;
}
@media(max-width:500px) {
    .btn-map {
        margin: 5px !important;
        width:100%;
    }
}
.detail-des p {
    color: #212223;
}
.product_title {
    font-size: 1.5rem;
}


.bgWhite {
    background: #fff;
}

.panel-bc .breadcrumb {
    background: none !important;
}

.bgGray {
    background: #aaa;
    cursor: no-drop;   
}
/* appointment */

.doctor-appointment {
    background: #fff;
    border-radius: 12px;
    padding: 20px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-family: Vazirmatn, sans-serif;
}

.apt-header h6 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 4px;
}

.apt-header span {
    font-size: 0.9rem;
    color: #777;
}
.apt-header i {padding-left:6px;}
.days-wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 30px;
    scrollbar-width: none;
}

    .days-wrapper::-webkit-scrollbar {
        display: none;
    }

.day-item {
    display: block;
    min-width: 80px;
    text-align: center;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 8px 5px;
    color: #333;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    font-family: IranYekan;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

    .day-item:hover {
        background: #e9f5ff;
        border-color: #007bff;
    }

    .day-item.active {
        background: #e9f5ff;
        border-color: #007bff;
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
    }

.day-name {
    font-weight: bold;
    font-size: 0.85rem;
}

.day-date {
    font-size: 0.8rem;
    color: #666;
    font-weight:bold;
}

.times-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.times-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
}

    .times-header .legend {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.85rem;
        color: #666;
    }

.legend .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 6px;
}

.dot.available {
    background: #007bff;
}

.dot.reserved {
    background: #bbb;
}

.time-slot {
    padding: 8px 15px;
    background: #f0f8ff;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #007bff;
    border: 1px solid #007bff;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .time-slot:hover {
        background: #007bff;
        color: white;
    }

    .time-slot.reserved {
        background: #f2f2f2;
        color: #aaa;
        border-color: #ddd;
        cursor: not-allowed;
    }

/* Days horizontal nav */
.days-container {
    position: relative;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
}

    .nav-btn:hover {
        color: #333;
        border-color: #ccc;
    }

    .nav-btn.prev {
        right: -10px;
    }

    .nav-btn.next {
        left: -10px;
    }
.txt-stronger {
    color: #494e59;
}
.validator {
    font-size:12px;
    color:#960e0e;
    padding:5px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
}

    .modal-box h3 {
        margin-top: 0;
        color: #333;
        font-size: 18px;
    }

.modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

    .modal-buttons button {
        padding: 8px 18px;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        cursor: pointer;
    }

    .modal-buttons .btn-yes {
        background: #28a745;
        color: #fff;
    }

    .modal-buttons .btn-no {
        background: #dc3545;
        color: #fff;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
.map-container {
    width:100%;
}
.upMain {
    padding: 0 40px;
}
@media(max-width:920px) {
    .upMain {
        padding: 0 5px;
    }
}
.reserve-link {
    color: #FF324D;
}