/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

.origin-icon{
    font-size: 0.5em;
    vertical-align: super;
}

@media (min-width: 960px) {
    .limit-width {
        max-width: 1680px;
        margin: auto;
    }
}

.style-accent-bg {
    background: #B87333;
}

@media screen and (max-width: 991px) {
    .reverse-on-mobile .row-inner{
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
}

.page-id-159869 .main-container .row-container .exa-bottom-padding, 
.page-id-159872 .main-container .row-container .exa-bottom-padding {
    padding-bottom: 0px !important;
}

.main-container .row-container .row-parent:has(.why-video-wrap) {
    padding: 0 !important;
}

.home p.why-hero-banner__text {
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
    text-shadow: 2px 2px black;
}

.must-be-white * {
    color: white !important;
}

@media screen and (min-width: 992px) {
    .img-fit-screen, .img-fit-screen img {
        max-height: calc(100vh - 122px);
        object-fit: contain;
    }
}

@media screen and (max-width: 992px) {
    .tmb-no-bg.tmb>.t-inside {
        padding: 0 36px;
    }
}

@media screen and (max-width: 480px) {
    #main-logo {
        width: 100%;
    }
    #logo-container-mobile {
        padding: 10px;
    }
    #logo-container-mobile .mmb-container {
        position: unset;
        height: 80px;
    }
}

.select2-container {
    max-width: 100%;
}
span.review-count {
    display: none;
}

/* =============================================================================
   Testimonials
   ============================================================================= */

/* ── Stars ─────────────────────────────────────────────────────────────────── */
.pharmacros-star-rating {
    display: inline-flex;
    gap: 1px;
}
.pharmacros-star-rating .star {
    font-size: 1em;
    line-height: 1;
}
.pharmacros-star-rating .filled,
.pharmacros-star-rating .half {
    color: #f5a623;
}
.pharmacros-star-rating .empty {
    color: #d0d0d0;
}


/* ── Header ─────────────────────────────────────────────────────────────────── */
.pharmacros-testimonials {
    margin: 2.5em auto;
    max-width: 1128px;
}
.pharmacros-testimonials__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 2px solid #f0f0f0;
}
.pharmacros-testimonials__title {
    margin: 0;
    font-size: 1.3em;
}
.pharmacros-testimonials__count {
    color: #888;
    font-weight: 400;
}
.pharmacros-testimonials__summary {
    display: flex;
    align-items: center;
    gap: .6em;
}
.pharmacros-testimonials__avg-label {
    font-size: .9em;
    color: #555;
}

/* ── Cards ──────────────────────────────────────────────────────────────────── */
.pharmacros-testimonials__list {
    list-style: none;
    margin: 0 0 2.5em;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25em;
}
.pharmacros-testimonials__card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 1.6em 1.8em;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    transition: box-shadow .2s;
}
.pharmacros-testimonials__card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.pharmacros-testimonials__quote-icon {
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    font-size: 3.5em;
    line-height: 1;
    color: #f5a623;
    opacity: .15;
    pointer-events: none;
    font-family: Georgia, serif;
}
.pharmacros-testimonials__card-body {
    margin-bottom: 1.2em;
}
.pharmacros-testimonials__text {
    font-size: 1em;
    line-height: 1.7;
    color: #333;
}
.pharmacros-testimonials__text p {
    margin: 0 0 .5em;
}
.pharmacros-testimonials__text p:last-child {
    margin-bottom: 0;
}
.pharmacros-testimonials__card-rating {
    margin-top: .75em;
}
.pharmacros-testimonials__card-author {
    display: flex;
    align-items: center;
    gap: .9em;
    padding-top: 1em;
    border-top: 1px solid #f0f0f0;
}
.pharmacros-testimonials__avatar {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex-shrink: 0;
}
.pharmacros-testimonials__author-info {
    display: flex;
    flex-direction: column;
    gap: .15em;
}
.pharmacros-testimonials__author-name {
    font-size: .95em;
    font-weight: 600;
    color: #222;
}
.pharmacros-testimonials__date {
    font-size: .8em;
    color: #999;
}
.pharmacros-testimonials__empty {
    color: #888;
    font-style: italic;
    margin: 0 0 2em;
}

/* ── Submission form ─────────────────────────────────────────────────────────── */
.pharmacros-testimonials__respond {
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 1.8em 2em;
    margin-top: 2em;
}
.pharmacros-testimonials__form-title {
    margin: 0 0 1.2em;
    font-size: 1.15em;
}
.pharmacros-testimonials__form .comment-form-rating {
    margin-bottom: 1.1em;
}
.pharmacros-testimonials__form .comment-form-rating label {
    display: block;
    font-size: .85em;
    font-weight: 600;
    margin-bottom: .3em;
}
.pharmacros-star-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: .05em;
}
.pharmacros-star-picker input[type="radio"] {
    display: none;
}
.pharmacros-star-picker label {
    font-size: 2em;
    color: #d0d0d0;
    cursor: pointer;
    transition: color .12s;
    line-height: 1;
}
.pharmacros-star-picker input:checked ~ label,
.pharmacros-star-picker label:hover,
.pharmacros-star-picker label:hover ~ label {
    color: #f5a623;
}
.pharmacros-testimonials__form p {
    margin-bottom: 1em;
}
.pharmacros-testimonials__form label {
    display: block;
    font-size: .85em;
    font-weight: 600;
    margin-bottom: .3em;
}
.pharmacros-testimonials__form input[type="text"],
.pharmacros-testimonials__form input[type="email"],
.pharmacros-testimonials__form textarea {
    width: 100%;
    padding: .6em .85em;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: .95em;
    background: #fff;
    transition: border-color .15s;
    box-sizing: border-box;
}
.pharmacros-testimonials__form input:focus,
.pharmacros-testimonials__form textarea:focus {
    border-color: #999;
    outline: none;
}
.pharmacros-testimonials__form .form-submit {
    margin-top: 1.2em;
}
.pharmacros-testimonials__form .form-submit .submit {
    cursor: pointer;
}
.logged-in-as {
    font-size: .85em;
    color: #666;
    margin-bottom: 1em;
}

@media (max-width: 600px) {
    .pharmacros-testimonials__card {
        padding: 1.2em 1.3em;
    }
    .pharmacros-testimonials__header {
        flex-direction: column;
        align-items: flex-start;
    }
}