/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme — Medical Courses
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


/* ============================================================
   MEDICAL COURSES — V2 ELITE CSS
   Primary: #00967a | Gold: #f4b400
   Site: medicalcourses.net
============================================================ */

.medcourses-badge-s {
    background: #00967a;
    color: #fff;
}


/* 1. GLOBAL PRODUCT PAGE FIXES */
.wd-entities-title {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis; line-height: 1.3em; max-height: 2.6em;
}
.tabs .tabs-nav, .tabs .tabs-nav-line { display: none !important; }
#tab-description { display: block !important; visibility: visible !important; opacity: 1 !important; }
.tabs, .tabs-content, .panel, .wc-tab, .entry-content, .woocommerce-Tabs-panel, .woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel .wrap, .medcourses-desc {
    background-color: transparent !important; background: transparent !important; background-image: none !important; border: none !important;
}
.tabs:not(.-vertical) .tabs-content { margin-top: 30px !important; }

/* 2. RATING STRIP */
.single-product-page .elementor-widget-wd_single_product_price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}
.medcourses-rating-strip {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px;
    margin-top: 5px;
    order: 2;
}
@media(min-width: 769px) {
    .single-product-page .elementor-widget-wd_single_product_price {
        justify-content: space-between;
    }
}
.medcourses-stars-row { display: flex; align-items: center; gap: 2px; }
.medcourses-star { width: 16px; height: 16px; fill: #f4b400 !important; }
.medcourses-rating-num { font-weight: 800; font-size: 16px; color: #00967a; }
.medcourses-review-count { color: #666; font-weight: 500; font-size: 13px; }

/* 3. SOCIAL PROOF V2 */
.medcourses-social-proof-v2 {
    background: #ffffff; border: 1px solid #eaeaea; border-left: 4px solid #00967a;
    border-radius: 12px; padding: 16px 18px; margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,150,122,0.08);
    position: relative; overflow: hidden;
}

.medcourses-sp-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.medcourses-sp-viewers { display: flex; align-items: center; gap: 10px; }
.medcourses-sp-eye-icon { width: 32px; height: 32px;  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #00967a;  }
.medcourses-sp-text-box { display: flex; flex-direction: column; }
.medcourses-sp-count { font-weight: 800; font-size: 18px; color: #1a1a1a; line-height: 1.1; }
.medcourses-sp-label { font-size: 11px; color: #666; font-weight: 600; text-transform: uppercase; }
.medcourses-sp-live-badge { font-size: 10px; font-weight: 800; color: #fff; background: #00967a; padding: 4px 10px; border-radius: 20px; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 5px rgba(0,150,122,0.3); }
.medcourses-sp-pulse-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: medcourses-blink 1.5s infinite; }
@keyframes medcourses-blink { 50% { opacity: 0.3; } }

.medcourses-sp-tags-row { display: flex; align-items: center; gap: 8px; border-top: 1px solid #f3f4f6; padding-top: 12px; }
.medcourses-sp-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 6px; letter-spacing: 0.3px; text-transform: uppercase; white-space: nowrap; }
.medcourses-tag-bestseller { background: #fffbeb; color: #b45309; border: 1px solid #fcd34d; }
.medcourses-tag-sold { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
.medcourses-tag-sold strong { color: #1f2937; font-weight: 800; font-size: 12px; margin-right: 2px; }

/* 4. URGENCY BAR ELITE (Gold Theme) */
.medcourses-urgency-elite {
    background: linear-gradient(90deg, #292524, #1c1917);
    color: #fbbf24;
    border: 1px solid #451a03;
    text-align: center; padding: 12px 16px; border-radius: 10px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
    margin-bottom: 24px; box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: flex; justify-content: center; align-items: center; gap: 8px;
}
.medcourses-urg-icon { font-size: 14px; animation: medcourses-wiggle 2s infinite ease-in-out; }
@keyframes medcourses-wiggle { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
.medcourses-urg-text strong { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

/* 5. TRUST BAR */
.medcourses-trust-elite {
    margin-top: 24px; background: #fff; padding: 24px; border: 1px solid #eaeaea; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    overflow: hidden;
}
.medcourses-trust-headline {
    text-align: center; font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700;
    margin-bottom: 24px; position: relative; padding-bottom: 12px;
}
.medcourses-trust-headline::after { content:''; display:block; width:30px; height:2px; background:#00967a; margin:8px auto 0; border-radius:2px; }
.medcourses-trust-carousel-wrap { overflow: hidden; white-space: nowrap; position: relative; }
.medcourses-trust-carousel-track { display: inline-block; animation: medcourses-scroll 30s linear infinite; width: max-content; }
@keyframes medcourses-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.medcourses-trust-elite:hover .medcourses-trust-carousel-track { animation-play-state: paused; }

.medcourses-trust-item { display: inline-flex; align-items: center; gap: 12px; margin-right: 80px; width: 170px; }
.medcourses-trust-icon { width: 36px; height: 36px; background: #e6f7f4; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid #b3e8df; color: #00967a; flex-shrink: 0; }
.medcourses-trust-info { display: flex; flex-direction: column; }
.medcourses-trust-label { font-size: 12px; font-weight: 800; color: #333; text-transform: uppercase; line-height: 1.2; letter-spacing: 0.3px; }
.medcourses-trust-sub { font-size: 11px; color: #888; font-weight: 600; margin-top: 2px; }

/* 6. BUTTON (Heartbeat Animation) */
.single_add_to_cart_button.button {
    background: #00967a !important; color: #ffffff !important; border-radius: 12px !important;
    font-size: 15px !important; font-weight: 800 !important; letter-spacing: 0.5px !important;
    text-transform: uppercase !important; padding: 18px 24px !important; width: 100% !important;
    box-shadow: 0 10px 30px rgba(0,150,122,0.4) !important; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 10px !important;
    transition: transform 0.3s ease !important; animation: medcourses-heartbeat 2.5s infinite !important;
    pointer-events: auto !important;
    z-index: 1 !important;
}
@keyframes medcourses-heartbeat {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0   rgba(0, 150, 122, 0.7); }
    14%  { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(0, 150, 122, 0); }
    28%  { transform: scale(1);    box-shadow: 0 0 0 0   rgba(0, 150, 122, 0); }
    42%  { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(0, 150, 122, 0); }
    70%  { transform: scale(1);    box-shadow: 0 0 0 0   rgba(0, 150, 122, 0); }
    100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(0, 150, 122, 0); }
}
.single_add_to_cart_button.button:hover {
    background: #1a1a1a !important; border-color: #1a1a1a !important; transform: translateY(-2px) !important; box-shadow: 0 15px 35px rgba(0,0,0,0.25) !important; animation: none !important;
}
.single_add_to_cart_button.button .medcourses-btn-icon {
    width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

/* 7. DESCRIPTION STYLING */
.medcourses-short { margin-bottom: 24px; line-height: 1.6; font-size: 14px; color: #555; }
.medcourses-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.medcourses-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; padding: 6px 12px; border-radius: 6px; letter-spacing: 0.5px; text-transform: uppercase; }
.medcourses-badge-p { background: #00967a; color: #fff; }
.medcourses-badge-w { background: #f5f5f5; color: #666; border: 1px solid #e0e0e0; }
.medcourses-short h4 { font-size: 18px; font-weight: 800; color: #1a1a1a; margin: 0 0 10px; }
.medcourses-desc { font-size: 15px; line-height: 1.8; color: #444; }
.medcourses-desc h2 { font-size: 26px; font-weight: 900; color: #00967a; margin: 40px 0 16px; line-height: 1.2; }
.medcourses-desc h3 { font-size: 20px; font-weight: 800; color: #1a1a1a; margin: 30px 0 16px; padding-bottom: 12px; border-bottom: 2px solid rgba(0,150,122,0.15); }
.medcourses-desc p { margin: 0 0 20px; }
.medcourses-desc ul { margin: 0 0 24px; padding-left: 0; list-style: none; }
.medcourses-desc ul li { position: relative; padding: 12px 0 12px 32px; font-size: 15px; border-bottom: 1px solid rgba(0,0,0,0.05); color: #555; }
.medcourses-desc ul li::before { content: ''; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: #00967a; }
.medcourses-desc ul li strong { color: #1a1a1a; font-weight: 700; }

/* 8. RESPONSIVE MOBILE */
@media (max-width: 640px) {
    .medcourses-sp-tags-row {
        flex-direction: row !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
    }
    .medcourses-sp-viewers { gap: 8px; }
    .medcourses-sp-count { font-size: 16px; }
    .medcourses-desc h2 { font-size: 22px; }
    .single_add_to_cart_button.button { font-size: 14px !important; padding: 16px !important; }

    .medcourses-video-section { width: calc(100% + 30px) !important; margin: 20px -15px !important; border-radius: 0 !important; border-left: none !important; border-right: none !important; }
    .medcourses-video-wrapper iframe, .medcourses-video-wrapper video { border-radius: 0; }

    .medcourses-trust-elite { padding: 16px; }
    .medcourses-trust-item { width: 140px; margin-right: 40px; }
}