:root {
    --ma-teal: #1DBBB9;
    --ma-teal-dark: #158a83;
    --ma-radius: 4px;
}

.single-product .container-wrap {
    padding-top: 0 !important;
}

.masset-hero-row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    --row-bg-color: #141d1c;
}

.masset-hero-row__bg {
    background-color: #141d1c;
}

/* ── Sidebar kolom offset + z-index ─────────────────────────── */
.masset-sidebar-col {
    margin-top: -600px;
    position: relative;
    z-index: 999;
}

/* ── Verwijder links/rechts padding van vc_column-inner ─────── */
.masset-col-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ── Sectie-afbeelding ───────────────────────────────────────── */
.ma-section__image,
.ma-media-info__thumbnail {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--ma-radius);
}

.ma-section__image {
    margin-bottom: 1.5rem;
}

/* ================================================================
   HERO — kleuren en typografie in de donkergroene sectie
   ================================================================ */

/* Tekst in de hero wit maken: Salient's .light werkt via JS / data-attr
   die wij niet triggeren. !important zorgt dat skin-material.css ons niet overschrijft. */
.masset-product .row_col_wrap_12.light h1,
.masset-product .row_col_wrap_12.light h2,
.masset-product .row_col_wrap_12.light h3,
.masset-product .row_col_wrap_12.light h4,
.masset-product .row_col_wrap_12.light p,
.masset-product .row_col_wrap_12.light li,
.masset-product .row_col_wrap_12.light a {
    color: #fff !important;
}

/* Teal span voor "Masset Academy:" mag niet wit worden */
.masset-product .row_col_wrap_12.light h4 .ma-academy-label {
    color: #55bdbc !important;
}

/* h4 "Masset Academy:" label */
.masset-product .row_col_wrap_12.light h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

/* Hero omschrijving */
.ma-hero__desc {
    line-height: 1.65;
    margin-bottom: 28px;
}

.ma-hero__desc p {
    margin: 0;
}

/* ── Sterren ─────────────────────────────────────────────────── */
.ma-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.ma-rating__stars {
    color: #1ee2df;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 4px;
}

.ma-rating__stars i {
    font-size: inherit;
}

.ma-rating__score {
    color: #fff;
}

/* ── Icoon-blokken ───────────────────────────────────────────── */
.ma-icon-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

@media (min-width: 1025px) {
    .ma-icon-boxes {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ma-icon-box {
    background: var(--ma-teal);
    color: #fff;
    border-radius: var(--ma-radius);
    padding: calc((100vw - 180px) * 0.03);
    text-align: center;
}

@media (min-width: 1425px) {
    .ma-icon-box {
        padding: calc(1245px * 0.03);
    }
}

@media (max-width: 1024px) {
    .ma-icon-box {
        padding: 14px 8px;
    }
}

.ma-icon-box i {
    display: block;
    font-size: 50px;
    margin: 0 auto 20px;
}

.ma-icon-box span {
    line-height: 1.35;
    display: block;
}

/* ── Taal ────────────────────────────────────────────────────── */
.ma-language {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88em;
    color: #fff;
    margin-top: 4px;
}

.ma-language i {
    color: var(--ma-teal);
    font-size: 2.4em;
}

.ma-language span {
    font-size: 1.2em;
    font-weight: 600;
}

/* ================================================================
   BODY LAYOUT — rij-padding, achtergrond, kolom-gap
   ================================================================ */

.masset-body-row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.masset-body-row__bg {
    background-color: #1DBBB933;
}

/* Kolom-gap van 70px (data-column-margin="70px" wordt door Salient JS
   normaal verwerkt; hier zetten we het handmatig via flex gap) */
.masset-body-columns {
    display: flex !important;
    flex-wrap: wrap;
    gap: 70px;
}

/* Kolombreedtes aanpassen zodat ze passen binnen de gap */
.masset-body-columns .masset-main-col {
    flex: 0 0 calc(66.667% - 35px) !important;
    max-width: calc(66.667% - 35px) !important;
    width: calc(66.667% - 35px) !important;
}

.masset-body-columns .masset-sidebar-col {
    flex: 0 0 calc(33.333% - 35px) !important;
    max-width: calc(33.333% - 35px) !important;
    width: calc(33.333% - 35px) !important;
}

@media (max-width: 1024px) {
    .masset-body-columns {
        flex-direction: column;
        gap: 0;
    }

    .masset-body-columns .masset-main-col,
    .masset-body-columns .masset-sidebar-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .masset-body-columns .masset-sidebar-col {
        order: 1;
        margin-top: 0 !important;
    }

    .masset-body-columns .masset-main-col {
        order: 2;
    }
}

/* ── Video + cursusinformatie naast elkaar ───────────────────── */
.ma-media-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
    align-items: start;
}

@media (max-width: 690px) {
    .ma-media-info {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ── Video speler ────────────────────────────────────────────── */
.ma-video {
    position: relative;
    background: #000;
    border-radius: var(--ma-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

.ma-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ma-video__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00000038;
    transition: background 0.2s;
}

.ma-video.is-playing .ma-video__play {
    display: none;
}

.ma-video__play:hover {
    background: #0000001a;
}

.ma-video__play svg {
    width: 52px;
    height: 52px;
    fill: #fff;
    filter: drop-shadow(0 2px 6px #00000080);
}

/* ── Cursusinformatie ────────────────────────────────────────── */
.ma-course-info h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.ma-course-info p {
    margin-top: 0;
}

/* ── Inhoudsecties (witte blokken op teal achtergrond) ───────── */
.ma-section {
    background: #fff;
    border-radius: var(--ma-radius);
    margin-bottom: 21px;
    padding: 25px;
}

.ma-section h2 {
    margin-bottom: 0.5em;
}

.ma-section ul:last-child {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .ma-section {
        padding: 20px;
    }
}

/* ── Certificeringkader ──────────────────────────────────────── */
.ma-certification {
    background: #EBF8F8;
    border-left: 4px solid var(--ma-teal);
    border-radius: var(--ma-radius);
    margin-top: 10px;
    padding: calc((100vw - 180px) * 0.04);
}

@media (min-width: 1425px) {
    .ma-certification {
        padding: calc(1245px * 0.04);
    }
}

@media (max-width: 1024px) {
    .ma-certification {
        padding: calc(100vw * 0.04);
    }
}

@media (max-width: 480px) {
    .ma-certification {
        padding: 20px 16px;
    }
}

/* ================================================================
   SIDEBAR CARD
   ================================================================ */
.ma-sidebar__card {
    background: #fff;
    box-shadow: 0 13px 40px -8px #00000033, 0 4px 20px 0 #0000001f;
    border-radius: 6px;
    padding: 20px 30px 30px;
}

@media (max-width: 1024px) {
    .ma-sidebar__card {
        padding: 25px 30px;
        margin-top: 20px;
    }
}

/* ── Tabs ────────────────────────────────────────────────────── */
.ma-tabs__nav {
    display: flex;
    border-bottom: 1px solid #0000001a;
    margin: 0 -20px 20px;
    padding: 0 20px;
}

@media screen and (min-width: 1025px) {
    .ma-tabs__btn {
        font-size: 1em;
    }
}

.ma-tabs__btn {
    background: #fff;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 8px 15px;
    font-size: 0.97em;
    font-family: inherit;
    cursor: pointer;
    color: #333;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.ma-tabs__btn.is-active {
    color: white;
    border-bottom-color: var(--ma-teal);
    background: var(--ma-teal);
}

.ma-tabs__panel {
    display: none;
}

.ma-tabs__panel.is-active {
    display: block;
}

/* ── Sidebar video ───────────────────────────────────────────── */
.ma-sidebar-video {
    position: relative;
    background: #000;
    border-radius: var(--ma-radius);
    overflow: hidden;
    margin: 0 0 8px;
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

.ma-sidebar-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ma-sidebar-video__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00000038;
    transition: background 0.2s;
}

.ma-sidebar-video.is-playing .ma-sidebar-video__play {
    display: none;
}

.ma-sidebar-video__play:hover {
    background: #0000001a;
}

.ma-sidebar-video__play svg {
    width: 40px;
    height: 40px;
    fill: #fff;
    filter: drop-shadow(0 2px 4px #00000080);
}

/* ── Video lightbox ──────────────────────────────────────────── */
.ma-video-lightbox {
    position: fixed;
    inset: 0;
    background: #000000e6;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: ma-fade-in 0.2s ease;
}

@keyframes ma-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ma-video-lightbox__inner {
    width: 100%;
    max-width: 1200px;
    max-height: 100%;
}

.ma-video-lightbox video {
    width: 100%;
    height: auto;
    max-height: 85vh;
    display: block;
    background: #000;
    border-radius: var(--ma-radius);
}

.ma-video-lightbox__close {
    position: absolute;
    top: 12px;
    right: 18px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    z-index: 1;
}

.ma-video-lightbox__close:hover {
    opacity: 0.7;
}

body.ma-no-scroll {
    overflow: hidden;
}

.ma-sidebar-video__label {
    text-align: center;
    margin: 20px 0;
    padding: 0;
}

/* ── Divider ─────────────────────────────────────────────────── */
.ma-divider {
    border: none;
    border-top: 1px solid #0000000f;
    margin: 12.5px 0;
}

/* ── Checkmark ───────────────────────────────────────────────── */
.ma-check {
    text-align: center;
    color: #555;
}

/* ── Op locatie + Incompany tabs ─────────────────────────────── */
.ma-oplocatie__title,
.ma-incompany__title {
    margin: 0 0 14px;
    font-size: 1.1em;
}

.ma-oplocatie__price,
.ma-incompany__price {
    text-align: center;
    color: #666;
    margin-top: 10px;
}

/* ================================================================
   WOOCOMMERCE — add_to_cart knop en prijs
   ================================================================ */
p.product.woocommerce.add_to_cart_inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 0 8px !important;
    box-shadow: none !important;
}

p.product.woocommerce.add_to_cart_inline[style] {
    border: 0 !important;
    padding: 0 !important;
}

p.product.add_to_cart_inline del {
    display: block;
    color: #aaa;
    font-size: 0.9em;
    text-align: center;
    margin-bottom: 2px;
}

p.product.add_to_cart_inline ins {
    display: block;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.6em;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
}

p.product.woocommerce.add_to_cart_inline a.button.add_to_cart_button {
    order: 1;
    width: 100%;
    display: block;
    background: var(--ma-teal);
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 14px 28px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s;
}

p.product.woocommerce.add_to_cart_inline a.button.add_to_cart_button:hover {
    background: var(--ma-teal-dark);
    color: #fff;
}

p.product.woocommerce.add_to_cart_inline a.button.add_to_cart_button::before {
    content: "\f105";
    font-family: FontAwesome, serif;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3em;
    font-weight: 400;
    color: #fff;
}

.page-submenu {
    background: #fff;
}

.page-submenu.stuck {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px #00000014;
}

.page-submenu.past-end {
    display: none;
}

/* WordPress admin bar offset wanneer ingelogd */
body.admin-bar .page-submenu.stuck {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .page-submenu.stuck {
        top: 46px;
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar .page-submenu.stuck {
        top: 0;
    }
}

.mobile-menu-link {
    padding: 10px 0;
    display: block;
    color: #1DBBB9;
    position: relative;
    text-align: center;
}

.mobile-menu-link::after {
    content: "\f107";
    font-family: FontAwesome, serif;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    color: #1DBBB9;
}

.page-submenu .container ul {
    margin: 0;
    padding: 0;
}

.page-submenu .container ul li {
    display: block;
}

.page-submenu .container ul li a {
    display: block;
    color: #1DBBB9;
    transition: color .1s ease;
}

@media (min-width: 1025px) {
    .masset-product .sticky-wrapper .page-submenu .full-width-section.first-section .container {
        padding: 0 var(--container-padding, 90px) !important;
    }

    .page-submenu .container .mobile-menu-link {
        display: none;
    }

    .page-submenu .container ul li {
        display: inline-block;
        margin: 0 25px 0 0;
        color: inherit;
    }

    .page-submenu .container ul li a {
        padding: 20px 0;
    }
}

@media (max-width: 1024px) {
    .page-submenu .container ul {
        display: none;
        background: #fff;
        padding-bottom: 15px;
        margin: 0;
    }
}

.masset-product .row_col_wrap_12.light {
    padding: 20px 0;
}

@media (min-width: 1025px) {
    .masset-product .row_col_wrap_12.light {
        padding: 60px 0;
    }
}

@media (max-width: 1024px) {
    .masset-product .row_col_wrap_12.light {
        .wpb_column:not([class*=vc_col-xs]) {
            margin-bottom: 0;
        }
    }

    .masset-product .row_col_wrap_12.dark {
        .wpb_column:not([class*=vc_col-xs]) {
            margin: 20px 0;
        }
    }
}

.nectar_icon {
    color: #038988 !important;
}

.ms-cta {
    color: #fff;
    font-family: Source Sans Pro, sans-serif;
    font-weight: 900;
}

.ms-cta .link_wrap {
    background: #1dbbb9;
    padding: 20px;
}

.ms-cta .link_wrap:hover {
    background: #038988;
}

.ms-cta .link_wrap i {
    margin-right: var(--nectar-icon-gap, 0.7em);
    line-height: 1;
    font-size: 1.2em;
    --nectar-icon-gap: .6em;
}

.ms-cta .link_wrap .link_text {
    line-height: 1.3;
}

/* ── FAQ accordeon ───────────────────────────────────────────── */
.ma-faq__list {
    border-top: 1px solid #00000014;
}

.ma-faq__item {
    border-bottom: 1px solid #00000014;
}

.ma-faq__question {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    font-weight: 600;
    color: #1A3D3B;
}

.ma-faq__question::-webkit-details-marker {
    display: none;
}

.ma-faq__q-text {
    flex: 1;
}

.ma-faq__icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ma-faq__icon::before,
.ma-faq__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--ma-teal);
    transition: transform .2s ease, opacity .2s ease;
}

.ma-faq__icon::before {
    width: 18px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.ma-faq__icon::after {
    width: 2px;
    height: 18px;
    transform: translate(-50%, -50%);
}

.ma-faq__item[open] .ma-faq__icon::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.ma-faq__answer {
    padding: 0 0 16px;
    line-height: 1.6;
}

.ma-faq__answer > :first-child {
    margin-top: 0;
}

.ma-faq__answer > :last-child {
    margin-bottom: 0;
}

/* ── WooCommerce add-to-cart toast ────────────────────────────── */
.ma-cart-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translate(-50%, -20px);
    background: var(--ma-teal);
    color: #fff;
    padding: 14px 18px;
    border-radius: var(--ma-radius);
    box-shadow: 0 8px 24px #0000002e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 320px;
    max-width: calc(100vw - 32px);
    z-index: 100000;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    font-weight: 500;
}

.ma-cart-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.ma-cart-toast__text {
    flex: 1;
    text-align: left;
}

.ma-cart-toast__button {
    background: #fff;
    color: var(--ma-teal-dark);
    padding: 8px 14px;
    border-radius: var(--ma-radius);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.ma-cart-toast__button:hover {
    background: #f1f1f1;
}

body.admin-bar .ma-cart-toast {
    top: 56px;
}

@media (max-width: 600px) {
    body.admin-bar .ma-cart-toast {
        top: 24px;
    }
}

.masset-product p.woocommerce.add_to_cart_inline ins > span.woocommerce-Price-amount {
    display: unset;
}