/* =========================================================
   MODULE CONTENT
========================================================= */

.lajudemy-premium-box {
    background: #f8faf7;
    border: 1px solid #dfe8dc;
    border-radius: 18px;
    padding: 24px;
    margin-top: 20px;
}

.lajudemy-premium-box h2 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 26px;
    line-height: 1.3;
    color: #1f2937;
}

.lajudemy-premium-box p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 18px;
}

.lajudemy-premium-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: #ffffff !important;
    padding: 14px 26px;
    border-radius: 14px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.18);
}

.lajudemy-premium-button,
.lajudemy-premium-button:visited,
.lajudemy-premium-button:hover,
.lajudemy-premium-button:focus {
    color: #ffffff !important;
}

.lajudemy-premium-button:hover {
    background: #16a34a;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.lajudemy-premium-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lajudemy-premium-list li {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    color: #111827;
}

.lajudemy-premium-unlocked {
    background: #eefbf3;
    border-color: #b7e4c7;
}

.lajudemy-module{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.lajudemy-module details{
    background:#ffffff;
    border:1px solid #bbf7d0;
    border-radius:16px;
    padding:0;
    overflow:hidden;
    box-shadow:0 10px 28px rgba(22,163,74,.08);
}

.lajudemy-module summary{
    cursor:pointer;
    padding:18px 22px;
    font-size:18px;
    font-weight:800;
    color:#111827;
    list-style:none;
}

.lajudemy-module summary::-webkit-details-marker{
    display:none;
}

.lajudemy-module summary::after{
    content:"＋";
    float:right;
    color:#16a34a;
    font-weight:900;
}

.lajudemy-module details[open] summary::after{
    content:"−";
}

.lajudemy-module .module-content{
    padding:0 22px 22px;
    color:#4b5563;
    line-height:1.7;
}

/* =========================================================
   VIDEO COURSE
========================================================= */

.lajudemy-video-course{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.lajudemy-video-course .video-step{
    background:#ffffff;
    border:1px solid #dcfce7;
    border-radius:20px;
    padding:22px;
    box-shadow:0 12px 32px rgba(22,163,74,.06);
}

.lajudemy-video-course .video-title{
    font-size:22px;
    font-weight:800;
    color:#111827;
    margin-bottom:18px;
}

.lajudemy-video-course .video-frame{
    position:relative;
    width:100%;
    padding-top:56.25%;
    overflow:hidden;
    border-radius:16px;
    margin-bottom:16px;
}

.lajudemy-video-course .video-frame iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:none;
}

.lajudemy-video-course p{
    margin:0;
    color:#4b5563;
    line-height:1.7;
}

/* =========================================================
   DOWNLOAD AREA
========================================================= */

.lajudemy-download-area{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.lajudemy-download-area .download-card{
    display:flex;
    gap:18px;
    align-items:flex-start;
    background:#ffffff;
    border:1px solid #bbf7d0;
    border-radius:18px;
    padding:22px;
    box-shadow:0 12px 28px rgba(22,163,74,.07);
}

.lajudemy-download-area .download-icon{
    width:54px;
    height:54px;
    border-radius:16px;
    background:#ecfdf5;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    flex:0 0 auto;
}

.lajudemy-download-area h3{
    margin:0 0 8px;
    font-size:22px;
    color:#111827;
}

.lajudemy-download-area p{
    margin:0 0 16px;
    color:#4b5563;
    line-height:1.7;
}

.lajudemy-download-area .download-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    border-radius:12px;
    background:linear-gradient(135deg,#16a34a,#22c55e);
    color:#ffffff !important;
    text-decoration:none !important;
    font-weight:800;
    box-shadow:0 10px 24px rgba(22,163,74,.18);
}

.lajudemy-download-area .download-button:hover{
    transform:translateY(-2px);
}

/* =========================================================
   BONUS AREA
========================================================= */

.lajudemy-bonus-area{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.lajudemy-bonus-area .bonus-card{
    background:linear-gradient(180deg,#ffffff 0%,#f7fff9 100%);
    border:1px solid #bbf7d0;
    border-radius:22px;
    padding:26px;
    position:relative;
    overflow:hidden;
    box-shadow:0 16px 36px rgba(22,163,74,.08);
}

.lajudemy-bonus-area .bonus-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#16a34a;
    color:#ffffff;
    font-size:13px;
    font-weight:800;
    padding:8px 14px;
    border-radius:999px;
    margin-bottom:16px;
}

.lajudemy-bonus-area h3{
    margin:0 0 10px;
    font-size:26px;
    color:#111827;
}

.lajudemy-bonus-area p{
    margin:0 0 20px;
    color:#4b5563;
    line-height:1.8;
}

.lajudemy-bonus-area .bonus-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:13px 20px;
    border-radius:14px;
    background:linear-gradient(135deg,#16a34a,#22c55e);
    color:#ffffff !important;
    text-decoration:none !important;
    font-weight:800;
    box-shadow:0 12px 26px rgba(22,163,74,.20);
}

.lajudemy-bonus-area .bonus-button:hover{
    transform:translateY(-2px);
}

/* =========================================================
   FAQ
========================================================= */

.lajudemy-faq{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.lajudemy-faq details{
    background:#ffffff;
    border:1px solid #bbf7d0;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 28px rgba(22,163,74,.07);
}

.lajudemy-faq summary{
    cursor:pointer;
    padding:20px 24px;
    font-size:18px;
    font-weight:800;
    color:#111827;
    list-style:none;
    position:relative;
}

.lajudemy-faq summary::-webkit-details-marker{
    display:none;
}

.lajudemy-faq summary::after{
    content:"+";
    position:absolute;
    right:22px;
    top:50%;
    transform:translateY(-50%);
    font-size:24px;
    color:#16a34a;
    font-weight:900;
}

.lajudemy-faq details[open] summary::after{
    content:"−";
}

.lajudemy-faq .faq-content{
    padding:0 24px 24px;
}

.lajudemy-faq .faq-content p{
    margin:0;
    color:#4b5563;
    line-height:1.8;
}

/* =========================================================
   UPDATE AREA
========================================================= */

.lajudemy-update-area{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.lajudemy-update-area .update-card{
    background:#ffffff;
    border:1px solid #bbf7d0;
    border-radius:20px;
    padding:24px;
    box-shadow:0 12px 30px rgba(22,163,74,.07);
}

.lajudemy-update-area .update-date{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#ecfdf5;
    color:#166534;
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    margin-bottom:16px;
}

.lajudemy-update-area h3{
    margin:0 0 12px;
    font-size:26px;
    color:#111827;
}

.lajudemy-update-area p{
    margin:0;
    color:#4b5563;
    line-height:1.8;
}

/* =========================================================
   COMMUNITY AREA
========================================================= */

.lajudemy-community-area{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.lajudemy-community-area .community-hero{
    background:linear-gradient(135deg,#16a34a 0%,#22c55e 100%);
    border-radius:26px;
    padding:36px;
    text-align:center;
    color:#ffffff;
    box-shadow:0 18px 40px rgba(22,163,74,.20);
}

.lajudemy-community-area .community-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.18);
    padding:8px 16px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    margin-bottom:18px;
}

.lajudemy-community-area .community-hero h2{
    margin:0 0 14px;
    font-size:38px;
    color:#ffffff;
}

.lajudemy-community-area .community-hero p{
    margin:0 auto 24px;
    max-width:760px;
    line-height:1.8;
    color:rgba(255,255,255,.92);
}

.lajudemy-community-area .community-main-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 24px;
    border-radius:14px;
    background:#ffffff;
    color:#16a34a !important;
    text-decoration:none !important;
    font-weight:800;
    box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.lajudemy-community-area .community-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.lajudemy-community-area .community-card{
    background:#ffffff;
    border:1px solid #bbf7d0;
    border-radius:22px;
    padding:26px;
    box-shadow:0 12px 30px rgba(22,163,74,.07);
}

.lajudemy-community-area .community-icon{
    width:62px;
    height:62px;
    border-radius:18px;
    background:#ecfdf5;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    margin-bottom:18px;
}

.lajudemy-community-area h3{
    margin:0 0 12px;
    font-size:24px;
    color:#111827;
}

.lajudemy-community-area .community-card p{
    margin:0;
    color:#4b5563;
    line-height:1.8;
}

/* =========================================================
   SUPPORT AREA
========================================================= */

.lajudemy-support-area{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.lajudemy-support-area .support-hero{
    background:linear-gradient(135deg,#16a34a 0%,#22c55e 100%);
    border-radius:28px;
    padding:44px 32px;
    text-align:center;
    color:#ffffff;
    box-shadow:0 20px 50px rgba(22,163,74,.20);
}

.lajudemy-support-area .support-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.16);
    padding:8px 16px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    margin-bottom:20px;
}

.lajudemy-support-area .support-hero h2{
    margin:0 0 16px;
    font-size:42px;
    line-height:1.1;
    color:#ffffff;
}

.lajudemy-support-area .support-hero p{
    max-width:720px;
    margin:0 auto 28px;
    line-height:1.8;
    color:rgba(255,255,255,.92);
    font-size:18px;
}

.lajudemy-support-area .support-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 26px;
    border-radius:16px;
    background:#ffffff;
    color:#16a34a !important;
    text-decoration:none !important;
    font-weight:800;
    font-size:18px;
    box-shadow:0 14px 30px rgba(0,0,0,.14);
    transition:all .25s ease;
}

.lajudemy-support-area .support-button:hover{
    transform:translateY(-3px);
}

.lajudemy-support-area .support-note{
    text-align:center;
    font-size:15px;
    color:#6b7280;
    line-height:1.7;
}

/* =========================================================
   MOBILE — SPACING SINGLE PRODUCT
   (thumbnail galeri → lms-ui.css)
========================================================= */

@media (max-width: 768px) {

    .single-product div.product div.images,
    .single-product .woocommerce-product-gallery {
        margin-bottom: 8px !important;
        padding-bottom: 0 !important;
    }

    .single-product div.product .summary,
    .single-product div.product .entry-summary {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .single-product div.product .summary form.cart,
    .single-product div.product .entry-summary form.cart {
        margin-bottom: 10px !important;
    }

    .single-product .woocommerce-tabs,
    .single-product .wc-tabs-wrapper {
        margin-top: 8px !important;
        padding-top: 0 !important;
    }
}

/* =========================================================
   CONTENT BOX STYLE
   SEPERTI SIDEBAR PROGRESS BELAJAR
========================================================= */

.single-product .woocommerce-Tabs-panel--description,
.single-product .woocommerce-Tabs-panel {

    background: #ffffff !important;

    border: 1px solid #edf0f5 !important;

    border-top: none !important;

    border-radius: 0 18px 18px 18px !important;

    padding: 34px !important;

    box-shadow: none !important;

    margin-top: 0 !important;
}

@media(max-width:768px){

body.lajudemy-product-owned div.product div.images{
height:140px!important;
overflow:hidden!important;
}

body.lajudemy-product-owned div.product div.images img{
height:130px!important;
object-fit:cover!important;
}

}

/* =========================================================
   FIX PADDING TAB CONTENT
========================================================= */

body.single-product .woocommerce-tabs .panel.entry-content {

    padding: 20px !important;

    box-sizing: border-box !important;
}

/* isi dalam panel */
body.single-product .woocommerce-tabs .panel.entry-content > * {

    max-width: 100% !important;

    box-sizing: border-box !important;
}

/* mobile */
@media (max-width: 768px) {

    body.single-product .woocommerce-tabs .panel.entry-content {

        padding: 15px !important;
    }

}

.single-product .site-main {
    padding-top: 24px !important;
}