/*
 Theme Name:   Jacqueline Child
 Theme URI:    https://jacqueline.themerex.net/
 Description:  Jacqueline Child Theme
 Author:       ThemeREX
 Author URI:   https://themerex.net/
 Template:     jacqueline
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  jacqueline-child
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* Hide the 3rd section of any header globally or title banner on single posts and service pages */
body header > div > section:nth-of-type(3),
body header > div > section:nth-child(3),
body.single-post header .elementor-widget-trx_sc_layouts_title,
body.page-id-2966 header .elementor-widget-trx_sc_layouts_title,
body.page-id-2997 header .elementor-widget-trx_sc_layouts_title,
body.page-id-3008 header .elementor-widget-trx_sc_layouts_title,
body.page-id-3017 header .elementor-widget-trx_sc_layouts_title,
body.page-id-3022 header .elementor-widget-trx_sc_layouts_title,
body.page-id-3026 header .elementor-widget-trx_sc_layouts_title,
body.page-id-3030 header .elementor-widget-trx_sc_layouts_title,
body.page-id-3036 header .elementor-widget-trx_sc_layouts_title,
body.page-id-3048 header .elementor-widget-trx_sc_layouts_title,
body.single-post header section:has(.elementor-widget-trx_sc_layouts_title),
body.page-id-2966 header section:has(.elementor-widget-trx_sc_layouts_title),
body.page-id-2997 header section:has(.elementor-widget-trx_sc_layouts_title),
body.page-id-3008 header section:has(.elementor-widget-trx_sc_layouts_title),
body.page-id-3017 header section:has(.elementor-widget-trx_sc_layouts_title),
body.page-id-3022 header section:has(.elementor-widget-trx_sc_layouts_title),
body.page-id-3026 header section:has(.elementor-widget-trx_sc_layouts_title),
body.page-id-3030 header section:has(.elementor-widget-trx_sc_layouts_title),
body.page-id-3036 header section:has(.elementor-widget-trx_sc_layouts_title),
body.page-id-3048 header section:has(.elementor-widget-trx_sc_layouts_title) {
    display: none !important;
}


/* Typography Overrides */

:root {
    --theme-font-p_font-family: 'Montserrat', sans-serif !important;
    --theme-font-h1_font-family: 'Raleway', sans-serif !important;
    --theme-font-h2_font-family: 'Raleway', sans-serif !important;
    --theme-font-h3_font-family: 'Raleway', sans-serif !important;
    --theme-font-h4_font-family: 'Raleway', sans-serif !important;
    --theme-font-h5_font-family: 'Raleway', sans-serif !important;
    --theme-font-h6_font-family: 'Raleway', sans-serif !important;
    --theme-font-logo_font-family: 'Raleway', sans-serif !important;
    --theme-font-button_font-family: 'Montserrat', sans-serif !important;
    --theme-font-menu_font-family: 'Montserrat', sans-serif !important;
    
    --e-global-typography-primary-font-family: "Raleway" !important;
    --e-global-typography-secondary-font-family: "Raleway" !important;
    --e-global-typography-text-font-family: "Montserrat" !important;
    --e-global-typography-accent-font-family: "Raleway" !important;
}

/* Titles and all elements inside titles */
h1, h1 *, h2, h2 *, h3, h3 *, h4, h4 *, h5, h5 *, h6, h6 *,
.elementor-heading-title, .elementor-heading-title *,
.elementor-widget-heading .elementor-title, .elementor-widget-heading .elementor-title *,
.sc_item_title, .sc_item_title *, .sc_item_title_text, .sc_item_title_text *,
.wp-block-heading, .wp-block-heading *,
.slide_title, .slide_title *,
.woocommerce-loop-product__title, .woocommerce-loop-product__title *,
rs-layer, rs-layer *, .rs-layer, .rs-layer * {
    font-family: 'Raleway', sans-serif !important;
}

/* Body and Paragraphs */
body, p, .elementor-text-editor, .elementor-widget-text-editor, .post_content, .sc_layouts_item_details {
    font-family: 'Montserrat', sans-serif !important;
}

/* ==========================================================================
   KINETODEMA - LANDING PAGE & GUTENBERG DESIGN SYSTEM
   ========================================================================== */

.kd-landing-wrap {
    color: #2D3748;
    line-height: 1.7;
    font-size: 15.5px;
}

/* Hero Section */
.kd-hero-block {
    background: linear-gradient(135deg, #05261A 0%, #0D4028 50%, #05261A 100%);
    color: #FFFFFF !important;
    border-radius: 20px;
    padding: 50px 40px;
    margin-bottom: 45px;
    box-shadow: 0 16px 36px rgba(5, 38, 26, 0.18);
    position: relative;
    overflow: hidden;
}

.kd-hero-block::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.kd-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.kd-hero-title {
    color: #FFFFFF !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 18px !important;
}

.kd-hero-desc,
.kd-hero-lead,
.kd-hero-block p,
.entry-content .kd-hero-block p,
.kd-hero-block strong,
.kd-hero-block span {
    color: #FFFFFF !important;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.kd-hero-side-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.kd-hero-side-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    color: #F7FAFC;
    font-size: 14.5px;
}

.kd-hero-side-item:last-child {
    margin-bottom: 0;
}

.kd-hero-side-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Button Styles */
.kd-landing-wrap .wp-block-button {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.kd-btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.kd-btn-primary .wp-block-button__link {
    background: #05261A !important;
    color: #FFFFFF !important;
    border-radius: 30px !important;
    padding: 13px 28px !important;
    font-weight: 700 !important;
    border: 2px solid #05261A !important;
    box-shadow: 0 6px 18px rgba(5, 38, 26, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
}

.kd-btn-primary .wp-block-button__link:hover {
    background: #0D4028 !important;
    border-color: #0D4028 !important;
    transform: translateY(-2px);
}

.kd-btn-outline-light .wp-block-button__link {
    background: transparent !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 30px !important;
    padding: 13px 26px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.kd-btn-outline-light .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #FFFFFF !important;
    transform: translateY(-2px);
}

.kd-btn-whatsapp .wp-block-button__link {
    background: #25D366 !important;
    color: #FFFFFF !important;
    border: 2px solid #25D366 !important;
    border-radius: 30px !important;
    padding: 13px 26px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.kd-btn-whatsapp .wp-block-button__link:hover {
    background: #20BA5A !important;
    border-color: #20BA5A !important;
    transform: translateY(-2px);
}

/* Category Treatment Cards */
.kd-category-section {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 38px;
    margin-bottom: 40px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    position: relative;
}

.kd-cat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #EDF2F7;
}

.kd-cat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #EBF8F1;
    color: #05261A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kd-cat-icon-wrap svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.kd-cat-header h2 {
    margin: 0 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #05261A !important;
}

.kd-subcard {
    background: #F8FAF8;
    border: 1px solid #E5ECE6;
    border-radius: 16px;
    padding: 26px;
    margin-top: 24px;
    margin-bottom: 24px;
    transition: all 0.25s ease;
}

.kd-subcard:hover {
    border-color: #C2DCC7;
    box-shadow: 0 6px 20px rgba(5, 38, 26, 0.04);
}

.kd-subcard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.kd-subcard-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #05261A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kd-subcard-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.kd-subcard h3 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #05261A !important;
}

.kd-highlight-box {
    background: #FFFFFF;
    border: 1px solid #E5ECE6;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 18px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.kd-highlight-box p {
    margin: 0 !important;
    font-size: 15px;
    color: #2D3748;
}

/* Custom Styled List */
.kd-check-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 20px 0 !important;
}

.kd-check-list li {
    position: relative;
    padding-left: 28px !important;
    margin-bottom: 10px;
    line-height: 1.55;
    font-size: 15px;
    color: #4A5568;
    list-style: none !important;
}

.kd-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2305261A'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Card Action Button Link & Gutenberg Button */
div.wp-block-button.kd-action-btn {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 15px 0 0 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

a.kd-action-btn,
.kd-action-btn .wp-block-button__link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #EBF8F1 !important;
    border: 1px solid #B8E2C5 !important;
    color: #05261A !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    text-decoration: none !important;
    margin-top: 0 !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}

a.kd-action-btn {
    margin-top: 15px !important;
}

a.kd-action-btn:hover,
.kd-action-btn .wp-block-button__link:hover {
    background: #05261A !important;
    color: #FFFFFF !important;
    border-color: #05261A !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 38, 26, 0.2) !important;
}

.kd-action-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.kd-action-btn:hover svg {
    transform: translateX(3px);
}

/* 4-Step Pathway Section */
.kd-process-wrap {
    background: #F8FAF8;
    border: 1px solid #DCE6DE;
    border-radius: 20px;
    padding: 40px 35px;
    margin-bottom: 45px;
}

.kd-process-title-wrap {
    text-align: center;
    margin-bottom: 35px;
}

.kd-process-title-wrap h2 {
    color: #05261A !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
}

.kd-step-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(0,0,0,0.02);
    transition: all 0.25s ease;
}

.kd-step-card:hover {
    transform: translateY(-4px);
    border-color: #05261A;
    box-shadow: 0 8px 24px rgba(5, 38, 26, 0.08);
}

.kd-step-badge {
    width: 36px;
    height: 36px;
    background: #05261A;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.kd-step-card h4 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #05261A !important;
    margin-bottom: 10px !important;
}

.kd-step-card p {
    font-size: 14.5px;
    color: #4A5568;
    margin: 0;
}

/* FAQ Accordion Styling (Gutenberg Details Block) */
.kd-faq-section {
    margin-bottom: 45px;
}

.kd-faq-section h2 {
    color: #05261A !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    text-align: center;
    margin-bottom: 30px !important;
}

details.kd-faq-accordion {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 0;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

details.kd-faq-accordion[open] {
    border-color: #05261A;
    box-shadow: 0 6px 20px rgba(5, 38, 26, 0.06);
}

details.kd-faq-accordion summary {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #05261A !important;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    transition: background 0.2s ease;
    outline: none;
}

details.kd-faq-accordion summary::-webkit-details-marker {
    display: none;
}

details.kd-faq-accordion summary::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid #05261A;
    border-bottom: 2px solid #05261A;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

details.kd-faq-accordion[open] summary::after {
    transform: rotate(-135deg);
}

details.kd-faq-accordion summary:hover {
    background: #F8FAF8;
    color: #05261A !important;
}

.kd-faq-answer {
    padding: 0 24px 22px 24px;
    font-size: 15px;
    color: #4A5568;
    line-height: 1.65;
    border-top: 1px solid #F0F4F1;
    margin-top: 5px;
    padding-top: 16px;
}

/* Gallery Section */
.kd-gallery-section {
    margin-bottom: 45px;
}

.kd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.kd-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    height: 230px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    position: relative;
}

.kd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.kd-gallery-item:hover img {
    transform: scale(1.06);
}

.kd-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(5,38,26,0.9) 0%, rgba(5,38,26,0) 100%);
    color: #FFFFFF;
    padding: 20px 16px 12px 16px;
    font-size: 13.5px;
    font-weight: 600;
}

/* Final CTA Banner */
.kd-final-cta-banner {
    background: linear-gradient(135deg, #05261A 0%, #0D4028 40%, #05261A 100%);
    color: #FFFFFF !important;
    border-radius: 20px;
    padding: 48px 36px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
    box-shadow: 0 16px 36px rgba(5, 38, 26, 0.2);
}

.kd-final-cta-banner h2,
.entry-content .kd-final-cta-banner h2 {
    color: #FFFFFF !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
}

.kd-final-cta-banner p,
.entry-content .kd-final-cta-banner p,
.kd-final-cta-banner strong,
.kd-final-cta-banner span {
    color: #FFFFFF !important;
    font-size: 16.5px !important;
    max-width: 750px;
    margin: 0 auto 28px auto !important;
    line-height: 1.7 !important;
}

/* Image with Border Styling */
.kd-card-image {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    margin-bottom: 18px;
    background: #F3F7F4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kd-card-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* Hero Image strictly constrained to match text height */
.kd-hero-block .wp-block-columns {
    align-items: stretch !important;
}

@media (min-width: 769px) {
    .kd-hero-block .wp-block-column:first-child {
        min-height: 380px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .kd-hero-block .wp-block-column:last-child {
        position: relative !important;
        min-height: 380px !important;
    }

    .kd-hero-img-wrap {
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .kd-hero-img-wrap img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 35% !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .kd-hero-img-wrap {
        position: relative;
        width: 100%;
        height: 320px;
        border-radius: 14px;
        overflow: hidden;
        margin-top: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .kd-hero-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 35%;
        display: block;
    }
}

/* Patient Education CTA Box on Service Pages */
.kd-education-cta-box {
    background: #F8FAF8;
    border: 1px solid #E2ECE4;
    border-radius: 16px;
    padding: 32px 30px;
    margin-top: 45px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.kd-edu-badge,
p.kd-edu-badge,
.kd-education-cta-box .kd-edu-badge,
.kd-education-cta-box p.kd-edu-badge {
    display: inline-block !important;
    background: #05261A !important;
    color: #FFFFFF !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
    margin-bottom: 12px !important;
    line-height: 1.5 !important;
}

.kd-education-cta-box h3,
.kd-education-cta-box .wp-block-heading {
    color: #05261A !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
}

.kd-education-cta-box p:not(.kd-edu-badge) {
    color: #4A5568 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin-bottom: 18px !important;
}

.kd-education-cta-box .kd-btn-primary a.wp-block-button__link,
.kd-education-cta-box .wp-block-button a.wp-block-button__link {
    background: #05261A !important;
    color: #FFFFFF !important;
    border-color: #05261A !important;
}

.kd-education-cta-box .kd-btn-primary a.wp-block-button__link:hover,
.kd-education-cta-box .wp-block-button a.wp-block-button__link:hover {
    background: #0D4028 !important;
    border-color: #0D4028 !important;
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .kd-hero-block { padding: 35px 20px; }
    .kd-hero-title { font-size: 28px !important; }
    .kd-category-section { padding: 25px 18px; }
    .kd-subcard { padding: 18px; }
    .kd-final-cta-banner { padding: 35px 20px; }
    .kd-education-cta-box { padding: 24px 20px; }
}

/* Header Shopping Bag & Badge in Bottom-Right Corner */
header.top_panel .sc_layouts_cart,
.sc_layouts_cart {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}

header.top_panel .sc_layouts_cart .sc_layouts_cart_icon,
.sc_layouts_cart .sc_layouts_cart_icon {
    position: relative !important;
    display: inline-block !important;
    font-size: 20px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

header.top_panel .sc_layouts_cart .sc_layouts_cart_details,
.sc_layouts_cart .sc_layouts_cart_details {
    display: none !important;
}

header.top_panel .sc_layouts_cart .sc_layouts_cart_items_short,
.sc_layouts_cart .sc_layouts_cart_items_short {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    bottom: -3px !important;
    right: -6px !important;
    top: auto !important;
    left: auto !important;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    border-radius: 50% !important;
    background: #05261A !important;
    background-color: #05261A !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-fill-color: #FFFFFF !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 15px !important;
    text-align: center !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    transform: none !important;
    z-index: 5 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

header.top_panel .sc_layouts_cart:hover .sc_layouts_cart_items_short {
    background: #05261A !important;
    background-color: #05261A !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-fill-color: #FFFFFF !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    border-color: #FFFFFF !important;
}

/* Featured Images - Border strictly on the image element */
.noutati-featured-container,
.service-featured-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.noutati-featured-container img,
.service-featured-container img {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    border: 1px solid #E5ECE6 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

/* Scroll to top button - high contrast brand styling */
a.trx_addons_scroll_to_top,
a.trx_addons_scroll_to_top.scroll_to_top_style_default {
    background-color: #05261A !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 16px rgba(5, 38, 26, 0.45) !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    line-height: 46px !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

a.trx_addons_scroll_to_top:before,
a.trx_addons_scroll_to_top.scroll_to_top_style_default:before {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 !important;
    top: -1px !important;
}

a.trx_addons_scroll_to_top:hover,
a.trx_addons_scroll_to_top.scroll_to_top_style_default:hover {
    background-color: #0D4028 !important;
    color: #FFFFFF !important;
    border-color: #F7C45B !important;
    box-shadow: 0 6px 20px rgba(5, 38, 26, 0.6) !important;
    transform: translateY(-4px) scale(1.05) !important;
}

a.trx_addons_scroll_to_top:hover:before,
a.trx_addons_scroll_to_top.scroll_to_top_style_default:hover:before {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}


