/* Beauty By Lex Custom Styles */


.tr-h1 {
    margin-top: 50px;
    margin-bottom: 40px;
}
.tr-h1-facereality{
    font-size: 5rem;
}

.tr-h2 {
    margin-top: 10px;
    margin-bottom: 5px;
    z-index: 1;
}
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
}



/* Navigation hover color override */
.navbar-nav a:hover {
    color: var(--text-rose) !important;
}

/* Feature section container padding override */
.feature .container {
    padding: 60px 20px !important;
}

/* Copyright section background */
.copyright {
    background: var(--bg-off-white);
}

/* Custom Badge Styles */
.custom-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 170px;
    height: 50px;
    padding: 11px 15px;
    margin: 5px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    justify-content: center;
    color: var(--text-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.custom-badge i {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Custom Badge Large Styles */
.custom-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 240px;
    height: 55px;
    padding: 5px 15px;
    margin: 5px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    justify-content: flex-start;
    color: var(--text-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.custom-badge-large i {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


/* Custom Badge Image Styles */
.custom-badge-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    margin: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Remove default anchor styling when used as links */
a.custom-badge-img {
    text-decoration: none;
    color: inherit;
    padding: 0;
    border: none;
    background: transparent;
}

a.custom-badge-img:hover,
a.custom-badge-img:focus,
a.custom-badge-img:active {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.custom-badge-img img {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}



/* Badge color variants using badge-specific color variables */
.badge-accent-green {
    background: var(--badge-accent-green-bg);
}

.badge-accent-rose {
    background: var(--badge-accent-rose-bg);
}

.badge-accent-brown {
    background: var(--badge-accent-brown-bg);
}

.badge-accent-teal {
    background: var(--badge-accent-teal-bg);
}

.badge-accent-orange {
    background: var(--badge-accent-orange-bg);
}

.badge-accent-mauve {
    background: var(--badge-accent-mauve-bg);
}

.badge-accent-blue {
    background: var(--badge-accent-blue-bg);
}
.badge-accent-light-blue {
    background: var(--badge-accent-light-blue-bg);
}

/* Large text badge for special emphasis */
.custom-badge-large-text {
    font-size: 14px;
    font-weight: 700;
}
/* Override middle card default styles to match first and last cards */
.card3 .middle-card::before {
    width: 0% !important;
}

.card3 .middle-card:hover::before {
    width: 100% !important;
}

.card3 .middle-card h3 {
    color: var(--text-primary) !important;
}

.card3 .middle-card p {
    color: var(--text-secondary) !important;
}

.card3 .middle-card:hover h3 {
    color: white !important;
}

.card3 .middle-card:hover p {
    color: white !important;
}

/* Make all card icons change to white on hover */
.card3 .card:hover i {
    color: white !important;
}

/* Testimonial excerpt label for SEO/AI clarity */
.testimonial-excerpt {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(0,0,0,0.03);
    padding: 4px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* Override treatment h2 width to prevent text wrapping */
.treatment h2 {
    width: auto !important;
    max-width: 800px !important;
    min-width: 600px !important;
}

/* Make treatment section figures consistent like the original template */
.treatment_img > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

.treatment_img figure {
    position: relative;
    margin: 10px;
    flex-shrink: 0;
}

/* Active nav link styling and focus states */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
    font-weight: 700; /* bold */
    color: var(--accent-rose) !important; /* brand accent */
}

/* Visible focus outline for keyboard users */
.navbar-nav .nav-link:focus,
.sidepanel a:focus {
    outline: 3px solid rgba(179,75,75,0.15);
    outline-offset: 3px;
}

/* When sidepanel is open, make sure its links are visible and focusable */
.sidepanel {
    transition: transform 0.25s ease-in-out, visibility 0.25s;
}


/* Utility: prevent line-break and style booking/review links */
.no-break-link {
    white-space: nowrap; /* keep link on one line */
    color: var(--text-fr);
    text-decoration: underline;
}
.no-break-link:hover,
.no-break-link:focus {
    font-weight: 700;
    color: var(--text-fr);
    outline: none;
}
.no-break-link:focus {
    box-shadow: 0 0 0 3px rgba(179,76,76,0.12); /* subtle focus ring */
}

.treatment_img figure img {
    display: block;
    max-width: 100%;
    height: auto;
}

.treatment_img_card {
    background: white;
    padding: 20px 5px 15px 15px; /* Reduced right padding */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    max-width: 310px; /* Increased width by 20px */
    margin-left: auto;
    margin-right: auto;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.treatment_img_card h3 {
    text-align: left;
    line-height: 1.2; /* Tighter line spacing */
    letter-spacing: -0.5px; /* Tighter character spacing */
}

.treatment_img_card p {
    font-size: 0.9rem; /* Make paragraph text smaller */
    line-height: 1.3; /* Tighter line spacing */
    letter-spacing: 0.3px; /* Tighter character spacing */
    padding-right: 10px; /* Reduced right padding */
}

/* Treatment section background */
.treatment {
    background: var(--bg-white);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Treatment card hover effects */
.treatment_img_card {
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.treatment_img_card:hover {
    background: var(--primary-pink) !important;
    color: var(--text-primary);
}

.treatment_img_card:hover h3,
.treatment_img_card:hover p {
    color: var(--text-primary);
}

/* Professional Facial Treatments image styling */
.img-facial-treatments {
    width: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Skincare products image styling */   
.img-skincare-products {
    width: 100%;
    object-fit: cover;
    position: relative;
    z-index: 10 !important; /* Higher z-index to ensure visibility */
    margin: 0 !important; /* Override any negative margins */
    right: -120px; /* Move 120px to the right */
}

/* Make all testimonial figures the same size */
figure.snip1157 {
    width: 350px !important;
    min-width: 350px !important;
    max-width: 350px !important;
    flex: 0 0 350px !important;
}

/* Ensure testimonial container uses flexbox properly */
.testimonial2 {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important; /* This ensures all figures have the same height */
    gap: 20px !important;
    flex-wrap: wrap !important;
}

/* Make testimonial text areas consistent height */
figure.snip1157 .testimonial_para {
    min-height: 240px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* Fix star alignment in testimonials - create a proper star container */
figure.snip1157 .testimonial_para {
    display: block !important; /* Override the flex to fix star layout */
}

/* Stars container styling */
figure.snip1157 .testimonial_para .fa-star {
    display: inline !important;
    font-size: 14px !important;
    color: var(--accent-yellow); /* Gold color for stars */
    margin-right: 3px !important;
    vertical-align: baseline !important;
}

/* Remove line break after stars by targeting the br that follows stars */
figure.snip1157 .testimonial_para br {
    display: none !important;
}

/* Add margin to paragraph to separate from stars */
figure.snip1157 .testimonial_para p {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
}

.book-now h3{
    color: var(--text-rose);
    text-decoration: underline;
    font-size: 1.2rem;
    margin-top: 15px;
}


/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    figure.snip1157 {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 10px 0 !important;
    }
    
    .testimonial2 {
        flex-direction: column !important;
        align-items: center !important;
    }
}

@media (max-width: 1200px) and (min-width: 769px) {
    figure.snip1157 {
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
        flex: 0 0 300px !important;
    }
}

/* ======== Moved inline styles (centralized) ======== */
.site-header--spaced {
    height: calc(100% + 50px);
    min-height: calc(auto + 50px);
}

.btn--mt-15 {
    margin-top: 15px;
}

.badge--align-top {
    vertical-align: top;
    margin-left: 12px;
}

.treatment--mt-30 {
    margin-top: 30px;
}

.feature-btn--align {
    display: flex;
    align-items: flex-start;
}

.feature-btn__img {
    align-self: flex-start;
    vertical-align: top;
    margin-left: 12px;
}

.review-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.review-stars {
    color: #f5c518;
    font-size: 20px;
    flex: 0 0 auto;
}

.review-meta-container {
    flex: 0 1 auto;
}

.review-meta {
    font-size: 14px;
    color: #555;
}

.faq-section--bg {
    background: var(--bg-fr-grey);
    padding: 40px 0;
}

.tr-h2-fr--spaced {
    /* Ensure there is a visible gap above the FAQ heading */
    margin-top: 30px !important;
    margin-bottom: 10px;
}

.btn--mt-15-blue {
    margin-top: 15px;
}

.faq-list--narrow {
    margin-top: 18px;
    width: 60%;
    margin-left: 20%;
}

.faq-item--spaced {
    margin-bottom: 12px;
}

/* Online Store Section Styles */
.store-feature-card {
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.store-feature-card:hover {
    transform: translateY(-5px);
}

.store-feature-card h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.store-feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.bootcamp-benefits {
    margin-top: 12px;
    display: inline-block;
    text-align: left;
    padding-left: 20px;
    color: inherit;
}

.bootcamp-benefits li {
    margin-bottom: 12px;
}

.acne-bootcamp__benefits {
    text-align: center;
    margin-bottom: 30px;
}

/* Online Store Section Styles */
.online-store {
    background: url('../Images/bg/glymedplus_bg.png') center/cover;
    padding: 60px 0;
}

.store-cta {
    text-align: center;
    margin: 40px 0;
}

.store-cta img {
    max-width: 500px;
    margin-bottom: 30px;
}

.store-cta .btn-hover1-blue-gl {
    width: 30%;
    font-size: 1.2rem;
    padding: 15px 30px;
    margin: auto;
}

.store-cta p {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* GlyMed Store Section Specific Typography */
.tr-h1-gl {
    margin-top: 50px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark-alt);
    display: block;
    width: 100%;
}

.tr-h2-gl {
    margin-top: 10px;
    margin-bottom: 5px;
    z-index: 1;
    text-align: center;
}

.lead-gl {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* End moved inline styles */