/* ===========================
   Peymooneh Online Course
===========================*/

.online-course-page{
    max-width:1400px;
    margin:40px auto;
}

.online-hero{

    display:grid;
    grid-template-columns:55% 45%;
    gap:40px;
    align-items:start;
    margin-bottom:60px;

}

.online-cover{

    position:sticky;
    top:30px;

}

.online-cover img{

    width:100%;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.15);

}

/* --- 16:9 video wrapper, used for hero trailer and sample video --- */
.video-ratio-16-9{

    position:relative;
    width:100%;
    padding-top:56.25%; /* 16:9 */
    border-radius:20px;
    overflow:hidden;
    background:#000;
    box-shadow:0 20px 60px rgba(0,0,0,.15);

}

.video-ratio-16-9 video{

    position:absolute;
    top:0;
    right:0;
    width:100%;
    height:100%;
    object-fit:cover;
    background:#000;

}

.online-info{

    background:#fff;
    border-radius:20px;
    padding:20px 25px;
    box-shadow:0 15px 45px rgba(0,0,0,.08);
    z-index:10;

}

.course-badge{

    display:inline-flex;
    align-items:center;
    gap:8px;

    background:#0f62fe;

    color:#fff;

    padding:8px 18px;

    border-radius:50px;

    font-size:14px;

    margin-bottom:20px;

}

.online-info h1{

    font-size:26px;

    line-height:1.4;

    margin-bottom:16px;
    color:#30215A;

}

.course-price{

    margin:25px 0;

    font-size:34px;

    font-weight:700;

    color:#ff6b00;

}

/* --- minimal pill-style course features --- */
.course-features{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin:16px 0;

}

.course-features div{

    background:#F6F8FD;

    border:1px solid #ececec;

    border-radius:10px;

    padding:8px 14px;

    font-size:13px;

    color:#30215A;

    transition:.25s;

}

.course-features div:hover{

    background:#f4f7fb;
    border-color:#ffb02d;

}

.buy-box{

    margin-top:30px;

}

.buy-box .single_add_to_cart_button{

    width:100%;

    height:58px;

    border-radius:14px;

    font-size:18px;

    font-weight:bold;

}

.course-section{

    background:#fff;

    padding:35px;

    border-radius:20px;

    margin-bottom:35px;

    box-shadow:0 15px 40px rgba(0,0,0,.06);

}

/* --- section heading with icon --- */
.section-heading{

    display:flex;

    align-items:center;

    gap:14px;

    margin-bottom:25px;

}

.section-heading svg{

    width:34px;

    height:34px;

    flex-shrink:0;

    color:#ffb02d;

}

.section-heading h2{

    font-size:28px;

    margin:0;
    color:#30215A;

}

/* fallback for sections without .section-heading wrapper */
.course-section > h2{

    font-size:28px;

    margin-bottom:25px;
    color:#30215A;

}

.course-about-content{

    font-size:16px;

    line-height:2.1;

    color:#333;

}

.course-about-content img{

    max-width:100%;

    border-radius:14px;

}

.course-table{

    width:100%;

    border-collapse:collapse;

}

.course-table tr{

    border-bottom:1px solid #eee;

}

.course-table td{

    padding:18px;

}

.course-table tr:hover{

    background:#fafafa;

}

/* --- sample video + recipe showcase --- */
.sample-showcase{

    display:grid;

    gap:35px;

    align-items:start;

}

.sample-recipe{

    font-size:16px;

    line-height:2.1;

    color:#333;

}

.sample-recipe img{

    max-width:100%;

    border-radius:14px;

}

.teacher-box{

    display:flex;

    gap:30px;

    align-items:center;

}

.teacher-box img{

    width:180px;

    height:180px;

    object-fit:cover;

    border-radius:50%;

}

.teacher-box h2{

    margin-bottom:10px;
    color:#30215A;

}

.faq-list{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.faq-list details{

    border:1px solid #ececec;

    border-radius:14px;

    overflow:hidden;

    transition:.3s;

}

.faq-list details[open]{

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}

.faq-list summary{

    padding:18px 22px;

    cursor:pointer;

    list-style:none;

    font-weight:bold;

    position:relative;
    padding-left:50px;

}

.faq-list summary::-webkit-details-marker{

    display:none;

}

.faq-list summary::after{

    content:"+";

    position:absolute;

    left:20px;

    top:16px;

    font-size:22px;
    color:#ffb02d;

}

.faq-list details[open] summary::after{

    content:"−";

}

.faq-list details div{

    padding:20px;

    border-top:1px solid #eee;

    line-height:2;

}

@media(max-width:992px){

.online-hero{

grid-template-columns:1fr;

}

.online-cover{

position:relative;

top:0;

}

.course-features{

flex-direction:column;

}

.sample-showcase{

grid-template-columns:1fr;

}

.teacher-box{

flex-direction:column;

text-align:center;

}

.online-info h1{

font-size:28px;

}

.course-section{

padding:25px;

}

.section-heading svg{

width:28px;
height:28px;

}

.section-heading h2, .course-section > h2{

font-size:22px;

}

}

.login-buy-btn{

display:block;

background:#0f62fe;

color:#fff;

text-align:center;

padding:18px;

border-radius:12px;

font-weight:bold;

text-decoration:none;

margin-top:20px;

}
.video-course-alert{

display:flex;

align-items:center;

gap:12px;

background:#eaf8ef;

border:1px solid #6fd68d;

padding:6px 18px;

border-radius:12px;

margin-bottom:16px;

font-weight:300;

}

.pulse{

width:12px;

height:12px;

border-radius:50%;

background:#2ecc71;

animation:pulse 1.5s infinite;
flex-basis: 12px;
    flex-shrink: 0;

}

@keyframes pulse{

0%{

transform:scale(.9);

box-shadow:0 0 0 0 rgba(46,204,113,.7);

}

70%{

transform:scale(1);

box-shadow:0 0 0 12px rgba(46,204,113,0);

}

100%{

transform:scale(.9);

box-shadow:0 0 0 0 rgba(46,204,113,0);

}

}

.wpman-page-title {
    display:none;
}

.wpman-product-heading .row {
    display:none;
}
.login-buy-button{

display:flex;
justify-content:center;
align-items:center;

width:100%;
height:58px;

background:#1e88e5;
color:#fff;

border-radius:14px;

font-size:17px;
font-weight:700;

text-decoration:none;

transition:.3s;

}

.login-buy-button:hover{

background:#1565c0;
color:#fff;
transform:translateY(-2px);

}

.login-help-text{

margin-top:15px;
font-size:14px;
line-height:2;
color:#666;
text-align:center;

}
