.text-justify{
    text-align: justify;
}
/* Menu Active */
.main-menu ul .nav-item .nav-link.active{
    color: var(--accent-color);
}
.main-menu ul ul .nav-item .nav-link.active{
    color: var(--primary-color);
}
/* Mobile Menu Active */
.slicknav_nav .nav-link.active,
.slicknav_nav .slicknav_row.active,
.slicknav_nav .slicknav_row.active .nav-link {
    color: var(--primary-color);
}
/* Mobile Menu Active */
.slicknav_nav .nav-link.active,
.slicknav_nav .slicknav_row.active,
.slicknav_nav .slicknav_row.active .nav-link {
    color: var(--primary-color);
}
.header-action-details .btn-default{
    font-size: 16px;
}
/* Light Sec */
.light-bg{
    background: #cfe1c2;
}
/* Footer About */
.about-footer p{
    color: #f7fef2;
}
/* Hero Banner */
.hero-banner-sec {
    position: relative;
    padding: 140px 0;
    background-image: url("/Content/img/bg/hero-banner-v2.webp?v=6ad307f3-11d76");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}
/* Dark gradient overlay
Strong on left, gradually transparent on right */
.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.78) 32%,
            rgba(0, 0, 0, 0.52) 55%,
            rgba(0, 0, 0, 0.18) 78%,
            rgba(0, 0, 0, 0.02) 100%
        );
}
.hero-banner-content{
    text-align: center;
    position: relative;
}
.hero-banner-title {
    font-size: 60px;
    color: #fff;
    margin-bottom: 10px;
}
.hero-banner-desc {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 25px;
}
@media (max-width: 1200px){
    .hero-banner-sec {
        padding: 100px 0;
    }
    .hero-banner-title{
        font-size: 48px;
    }
    .hero-banner-desc{
        font-size: 18px;
    }
}
@media (max-width: 768px){
    .hero-banner-sec {
        padding: 70px 0;
    }
    .hero-banner-title{
        font-size: 38px;
    }
}
@media (max-width: 580px){
    .hero-banner-title{
        font-size: 36px;
    }
    .hero-banner-desc{
        font-size: 16px;
    }
}
@media (max-width: 480px){
    .hero-banner-sec {
        padding: 60px 0;
        background-position: center right;
    }
    .hero-banner-title{
        font-size: 28px;
    }
}

/* About Us Intro */
.sec-py {
    padding-top: 100px;
    padding-bottom: 100px;
}
.about-content h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}
.about-content p {
    line-height: 1.4;
}
/* CTA */
.cta-section {
    padding: 60px 0;
    text-align: center;
}
.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}
.cta-content p {
    font-size: 16px;
    margin-bottom: 30px;
}
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 28px;
    }
}
@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 26px;
    }
}
/* Products */
.product-search {
    position: relative;
    margin-bottom: 30px;
}

.product-search::before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 16px;
    pointer-events: none;
}

.product-search input {
    width: 100%;
    height: 52px;
    padding: 0 18px 0 46px;
    border: 1px solid var(--divider-color);
    border-radius: 14px;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400;
    transition: all 0.35s ease-in-out;
}

.product-search input::placeholder {
    color: var(--text-color);
    opacity: 0.75;
}

.product-search input:hover {
    border-color: rgba(165, 62, 13, 0.45);
    box-shadow: 0 8px 20px rgba(41, 8, 4, 0.06);
}

.product-search input:focus {
    border-color: var(--accent-color);
    background: var(--white-color);
    box-shadow: 0 0 0 4px rgba(92, 87, 87, 0.12);
    outline: none;
}

.product-empty-state {
    display: none;
    width: 100%;
    margin-top: 24px;
    padding: 22px 20px;
    border-radius: 16px;
    border: 1px dashed rgba(92, 87, 87, 0.45);
    background: rgba(165, 62, 13, 0.04);
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 767px) {
    .product-search {
        margin-bottom: 24px;
    }

    .product-search input {
        height: 48px;
        font-size: 15px;
    }
}

.product-order-section {
    padding: 40px 0 80px;
}

.product-order-box {
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 24px;
    border: 1px solid rgba(99, 154, 51, 0.16);
    box-shadow: 0 22px 50px rgba(99, 154, 51, 0.08);
    padding: 32px 25px;
    overflow: hidden;
}

.product-order-form {
    width: 100%;
}

.product-order-form .section-title {
    text-align: center;
    margin-bottom: 28px;
}

.product-order-form .section-title h2 {
    font-size: clamp(1.8rem, 2vw, 2.8rem);
    line-height: 1.15em;
    margin-bottom: 18px;
}

.product-order-form .section-title p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin: 0 auto;
    max-width: 820px;
}

.product-order-form form {
    max-width: 1000px;
    margin: 0 auto;
}

.product-order-form .form-group {
    margin-bottom: 1.2rem;
}

.product-order-form label {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-order-form label span {
    color: #d04a4a;
}

.product-order-form .form-control,
.product-order-form select,
.product-order-form textarea,
.custom-file-upload
{
    width: 100%;
    border: 1px solid rgba(99, 154, 51, 0.28);
    border-radius: 14px;
    color: var(--primary-color);
    font-size: 16px;
    padding: 10px 15px;
    box-shadow: none;
    transition: all 0.3s ease;
}
#productOrderForm input[readonly] {
    background-color: rgba(99, 154, 51, 0.3);
    cursor: not-allowed;
}
.product-order-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.product-order-form .form-control:focus,
.product-order-form select:focus,
.product-order-form textarea:focus {
    border-color: var(--accent-color);
    background-color: var(--white-color);
    box-shadow: 0 0 0 4px rgba(99, 154, 51, 0.08);
    outline: none;
}

.product-order-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-color) 50%),
        linear-gradient(135deg, var(--text-color) 50%, transparent 50%);
    background-position: calc(100% - 22px) calc(50% - 4px), calc(100% - 16px) calc(50% - 4px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.product-order-form select.form-control {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23290804' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 18px center;
    background-size: 10px 8px;
    background-repeat: no-repeat;
}

.product-order-form input[type="text"]::placeholder,
.product-order-form input[type="email"]::placeholder,
.product-order-form input[type="tel"]::placeholder,
.product-order-form textarea::placeholder {
    color: rgba(92, 87, 87, 0.75);
}

.product-order-consent-list {
    max-width: 1000px;
    margin: 18px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-order-consent-list .form-check {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-left: 0;
    margin-left: 0;
    min-width: 0;
    width: 100%;
}

.product-order-consent-list .form-check-input {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(99, 154, 51, 0.38);
    border-radius: 6px;
    background-color: var(--white-color);
    margin-top: 4px;
    margin-left: 0;
    margin-right: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    transition: all 0.25s ease;
}
.product-order-consent-list .form-check-input:focus{
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(99, 154, 51, 0.08);
} 
.product-order-consent-list .form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(99, 154, 51, 0.08);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.2l2.5 2.5 6.5-6.5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.product-order-consent-list .form-check-label {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: var(--primary-color);
    line-height: 1.6em;
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    padding-top: 2px;
}

.product-order-consent-list .form-check-label span {
    color: #d04a4a;
}

.product-order-policy {
    max-width: 1000px;
    margin: 26px auto 0;
    font-size: 1.05rem;
    color: var(--primary-color);
    line-height: 1.6em;
}

.product-order-policy a {
    color: var(--accent-color);
    font-weight: 600;
}

.product-order-submit {
    max-width: 1000px;
    margin: 30px auto 0;
}

.product-item-content .concentration,
.product-item-body .concentration
{
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

@media (max-width: 991px) {
    .product-order-box {
        padding: 22px 18px 12px;
        border-radius: 18px;
    }

    .product-order-form .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .product-order-section {
        padding: 18px 0 40px;
    }

    .product-order-form .section-title h2 {
        font-size: 1.9rem;
        line-height: 1.15em;
    }

    .product-order-form .section-title p {
        font-size: 0.98rem;
    }

    .product-order-form .form-control,
    .product-order-form select,
    .product-order-form textarea {
        min-height: 52px;
        font-size: 1rem;
    }

    .product-order-consent-list .form-check-label,
    .product-order-policy {
        font-size: 0.98rem;
    }
}

.product-single-image-box{
    aspect-ratio: 1/1;
    overflow: hidden;
}
.product-single-image-box img{
    width: 80%;
    height: 80%;
    object-fit: contain;
}
.product-single-image-item{
    display: flex;
    justify-content: center;
    align-items: center;
}
.custom-file-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.custom-file-upload:hover {
    border-color: rgba(41, 8, 4, 0.35);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 18px rgba(41, 8, 4, 0.05);
}

.custom-file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.custom-file-upload .file-upload-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid rgb(169 199 146 / 50%);
    border-radius: 12px;
    background: linear-gradient(180deg, #d8fbbe 0%, #e9fed9 100%);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 8px rgba(41, 8, 4, 0.06);
    margin-bottom: 0;
}

.custom-file-upload .file-upload-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(41, 8, 4, 0.1);
}

.custom-file-upload .file-upload-name {
    position: relative;
    z-index: 1;
    display: block;
    flex: 1;
    padding: 0 14px 0 4px;
    color: rgba(41, 8, 4, 0.72);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-file-upload input[type="file"]:focus-visible + .file-upload-button,
.custom-file-upload input[type="file"]:focus-visible ~ .file-upload-name {
    outline: 2px solid rgba(165, 62, 13, 0.28);
    outline-offset: 2px;
}

#prescription-help{
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

@media (max-width: 576px) {
    .custom-file-upload {
        flex-direction: column;
        align-items: stretch;
        padding: 8px;
    }

    .custom-file-upload .file-upload-button {
        width: 100%;
        min-width: 100%;
    }

    .custom-file-upload .file-upload-name {
        min-height: 44px;
        line-height: 44px;
        padding-left: 8px;
    }
}

/* Doctors */
.doctor-card {
    background: #ffffff;
    border: 1px solid rgba(41, 8, 4, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.5s ease;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(41, 8, 4, 0.10);
}

.doctor-card img {
    width: 100%;
    height: auto;
    display: block;
}

.doctor-card-body {
    padding: 25px 20px;
}

.doctor-role {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #a53e0d;
}

.doctor-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.doctor-card p {
    margin: 0;
    line-height: 1.4;
    font-size: 16px;
}

/* Doctors Details */
.dr-profile-img img{
    width: 100%;
    border-radius: 10px;
}
.dr-profile-content .section-title .dr-profile-title{
    font-size: 42px;
    margin-bottom: 10px;
}
.dr-profile-content .section-title .dr-profile-subtitle {
    font-size: 20px;
    font-style: italic;
}
/* Footer Link */
.footer-copyright-text a{
    color: #e2ffdc;
    transition: 0.5s;
}
.footer-copyright-text a:hover{
    color: #568b2e;
}
/* Common Responsive */
@media (max-width: 991px) {
    .sec-py {  
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .dr-profile-content .section-title .dr-profile-title{
        font-size: 36px;
    }
}
@media (max-width: 768px) {
    .about-content h2 {
        font-size: 32px;
    }
    .dr-profile-content .section-title .dr-profile-title{
        font-size: 28px;
    }
    .dr-profile-content .section-title .dr-profile-subtitle {
        font-size: 18px;
    }
}
@media (max-width: 480px) {
    .about-content h2 {
        font-size: 28px;
    }
}