/* =========================================================
   MG PRODUCT PAGE — REUSABLE
   ========================================================= */

.mg-product-page {
    --mg-accent: #b28564;
    --mg-accent-dark: #8f674a;
    --mg-heading: #33271f;
    --mg-text: #675a50;
    --mg-muted: #88796d;
    --mg-surface: #fffdf9;
    --mg-surface-soft: #f7f2ec;
    --mg-border: rgba(138, 99, 68, 0.16);
    --mg-shadow:
        0 22px 55px rgba(49, 35, 24, 0.09),
        0 5px 16px rgba(49, 35, 24, 0.04);
}

/* Prevent the theme's builder spacing from making sections uneven */

.mg-product-overview,
.mg-product-demos-heading,
.mg-product-audio-section,
.mg-product-walkthrough,
.mg-product-details {
    position: relative;
}

/* =========================================================
   HERO
   ========================================================= */

.mg-product-hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: #191919;
}

.mg-product-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.02) 0%,
            rgba(0, 0, 0, 0.04) 60%,
            rgba(0, 0, 0, 0.26) 100%
        );
}

.mg-product-hero .bt_bb_port {
    position: relative;
    z-index: 2;
}

.mg-product-hero .bt_bb_background_image_holder {
    background-size: cover !important;
    background-position: center center !important;
    transition: transform 1.1s cubic-bezier(.22, 1, .36, 1);
}

.mg-product-hero:hover .bt_bb_background_image_holder {
    transform: scale(1.015);
}

/* =========================================================
   OVERVIEW
   ========================================================= */

.mg-product-overview {
    padding-top: 82px;
    padding-bottom: 82px;
    background: #fff;
}

.mg-product-overview > .bt_bb_port > .bt_bb_cell > .bt_bb_cell_inner
> .bt_bb_row > .bt_bb_row_holder {
    align-items: stretch;
}

/* Intro */

.mg-product-intro > .bt_bb_column_content {
    height: 100%;
}

.mg-product-intro .bt_bb_column_content_inner {
    padding-right: 48px;
}

.mg-product-title .bt_bb_headline_tag {
    margin: 0 0 25px;
}

.mg-product-title .bt_bb_headline_tag span {
    color: var(--mg-heading);
    font-family: "Satoshi", Arial, sans-serif;
    font-size: clamp(42px, 4.8vw, 66px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.mg-product-title .bt_bb_headline_subheadline {
    max-width: 760px;
    color: var(--mg-text);
    font-family: "Satoshi", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.85;
}

/* Purchase card */

.mg-product-buy-panel > .bt_bb_column_content {
    height: 100%;
}

.mg-product-buy-panel .bt_bb_column_content_inner {
    box-sizing: border-box;
    height: 100%;
    padding: 34px;
    border: 1px solid var(--mg-border);
    border-radius: 12px;
    background: var(--mg-surface);
    box-shadow: var(--mg-shadow);
}

.mg-product-price-row {
    margin-bottom: 24px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--mg-border);
}

.mg-product-price-row .bt_bb_row_inner_holder {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Price */

.mg-product-main-price .bt_bb_headline_tag {
    margin: 0;
}

.mg-product-main-price .bt_bb_headline_tag span {
    color: var(--mg-heading);
    font-family: "Satoshi", Arial, sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1;
}

/* Purchase button */

.mg-product-main-buy .bt_bb_raw_content {
    width: 100%;
}

.mg-product-main-buy .mg-card-basket-button {
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid var(--mg-accent);
    border-radius: 4px;
    background: var(--mg-accent);
    color: #fff;
    cursor: pointer;
    font-family: "Satoshi", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.mg-product-main-buy .mg-card-basket-button:hover {
    border-color: #191919;
    background: #191919;
    color: var(--mg-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(25, 25, 25, 0.15);
}

/* Product benefits */

.mg-product-benefit {
    display: block;
    margin: 0 !important;
    padding: 14px 0;
    border-bottom: 1px solid rgba(138, 99, 68, 0.11);
}

.mg-product-benefit:last-child {
    border-bottom: 0;
}

.mg-product-benefit .bt_bb_icon_holder {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--mg-accent-dark);
}

.mg-product-benefit .bt_bb_icon_holder::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid rgba(178, 133, 100, 0.24);
    border-radius: 50%;
    background: rgba(178, 133, 100, 0.08);
}

.mg-product-benefit .bt_bb_icon_holder span {
    color: #5f5147;
    font-family: "Satoshi", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

/* =========================================================
   SHARED HEADINGS
   ========================================================= */

.mg-product-heading .bt_bb_headline_tag {
    margin: 0;
}

.mg-product-heading .bt_bb_headline_tag span {
    color: var(--mg-heading);
    font-family: "Satoshi", Arial, sans-serif;
    font-size: 30px;
    /*clamp(34px, 4vw, 50px)*/
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

/*
.mg-product-heading::before {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-bottom: 18px;
    background: var(--mg-accent);
}
*/
/* =========================================================
   DEMOS
   ========================================================= */

.mg-product-demos-heading {
    padding-top: 78px;
    padding-bottom: 24px;
    background: var(--mg-surface-soft);
}

.mg-product-audio-section {
    padding-top: 0;
    padding-bottom: 78px;
    background: var(--mg-surface-soft);
}

.mg-product-audio-player {
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--mg-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--mg-shadow);
}

.mg-product-audio-player iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 7px;
}

/* SoundCloud attribution */

.mg-product-audio-player iframe + div {
    margin-top: 9px;
    padding: 0 3px;
}

/* =========================================================
   WALKTHROUGH
   ========================================================= */

.mg-product-walkthrough {
    padding-top: 82px;
    padding-bottom: 90px;
    background: #fff;
}

.mg-product-video {
    margin-top: 30px;
    overflow: hidden;
    border-radius: 12px;
    background: #191919;
    box-shadow:
        0 26px 64px rgba(25, 25, 25, 0.17),
        0 8px 20px rgba(25, 25, 25, 0.09);
}

.mg-product-video .bt-video-container,
.mg-product-video .wp-video,
.mg-product-video .mejs-container,
.mg-product-video iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

/* =========================================================
   FEATURE INTRO
   ========================================================= */

.mg-product-feature-intro {
    margin-top: 72px;
    margin-bottom: 58px;
}

.mg-product-feature-intro-card > .bt_bb_column_content {
    padding: 42px;
    border: 1px solid var(--mg-border);
    border-radius: 12px;
    background: var(--mg-surface-soft);
}

.mg-product-feature-intro-card .bt_bb_headline_tag {
    margin: 0 0 20px;
}

.mg-product-feature-intro-card .bt_bb_headline_tag span {
    color: var(--mg-accent-dark);
    font-family: "Satoshi", Arial, sans-serif;
    font-size: 30px;
    /*clamp(28px, 3vw, 38px)*/
    font-weight: 500;
    letter-spacing: -0.025em;
}

.mg-product-feature-intro-card .bt_bb_text {
    max-width: 920px;
    color: var(--mg-text);
    font-size: 15px;
    line-height: 1.78;
}

/* =========================================================
   ALTERNATING FEATURE ROWS
   ========================================================= */

.mg-product-feature-row {
    margin-top: 40px;
    margin-bottom: 70px;
}

.mg-product-feature-row > .bt_bb_row_holder {
    align-items: flex-start;
}

.mg-product-feature-copy .bt_bb_column_content_inner {
    padding: 15px 28px;
}

.mg-product-feature-copy .bt_bb_headline_tag {
    margin: 0 0 22px;
}

.mg-product-feature-copy .bt_bb_headline_tag span {
    color: var(--mg-accent-dark);
    font-family: "Satoshi", Arial, sans-serif;
    font-size: 30;
    /*clamp(27px, 3vw, 39px)*/
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.mg-product-feature-copy .bt_bb_text {
    color: var(--mg-text);
    font-size: 15px;
    line-height: 1.78;
}

.mg-product-feature-copy .bt_bb_text p {
    margin: 0 0 18px;
}

.mg-product-feature-copy .bt_bb_text strong {
    color: var(--mg-heading);
    font-weight: 700;
}

.mg-product-feature-copy .bt_bb_text ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.mg-product-feature-copy .bt_bb_text li {
    position: relative;
    margin: 0 0 13px;
    padding-left: 27px;
}

.mg-product-feature-copy .bt_bb_text li::before {
    content: "✓";
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--mg-accent-dark);
    font-weight: 800;
}

/* Interface screenshots */

.mg-product-feature-media .bt_bb_column_content_inner {
    padding: 12px;
}

.mg-product-interface-gallery .bt_bb_css_image_grid_content {
    display: grid;
    gap: 20px;
}

.mg-product-interface-gallery .bt_bb_css_image_grid_item {
    overflow: hidden;
    border: 1px solid var(--mg-border);
    border-radius: 11px;
    background: #1f1f1f;
    box-shadow:
        0 20px 45px rgba(36, 29, 23, 0.12),
        0 5px 14px rgba(36, 29, 23, 0.06);
}

.mg-product-interface-gallery
.bt_bb_css_image_grid_item_inner_image {
    overflow: hidden;
}

.mg-product-interface-gallery img {
    display: block;
    width: 100%;
    transition: transform 0.55s cubic-bezier(.22, 1, .36, 1);
}

.mg-product-interface-gallery
.bt_bb_css_image_grid_item:hover img {
    transform: scale(1.018);
}

/* =========================================================
   DETAILS
   ========================================================= */

.mg-product-details {
    padding-top: 78px;
    padding-bottom: 88px;
    background: var(--mg-surface-soft);
}

.mg-product-accordion {
    margin-top: 32px;
    border-top: 1px solid var(--mg-border);
}

.mg-product-accordion .bt_bb_accordion_item {
    margin: 0;
    border: 0 !important;
    border-bottom: 1px solid var(--mg-border) !important;
    background: transparent;
}

.mg-product-accordion .bt_bb_accordion_item_title {
    position: relative;
    padding: 25px 55px 25px 0;
    color: var(--mg-heading);
    cursor: pointer;
    font-family: "Satoshi", Arial, sans-serif;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.mg-product-accordion .bt_bb_accordion_item_title:hover {
    color: var(--mg-accent-dark);
}

.mg-product-accordion .bt_bb_accordion_item_title::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border: 1px solid rgba(178, 133, 100, 0.27);
    border-radius: 50%;
    color: var(--mg-accent-dark);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.mg-product-accordion
.bt_bb_accordion_item.on
.bt_bb_accordion_item_title::after {
    content: "−";
    background: var(--mg-accent);
    color: #fff;
}

.mg-product-accordion .bt_bb_accordion_item_content {
    padding: 0 0 32px;
    color: var(--mg-text);
    font-size: 14px;
    line-height: 1.75;
}

.mg-product-accordion .bt_bb_accordion_item_content ul {
    display: grid;
    gap: 12px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.mg-product-accordion .bt_bb_accordion_item_content li {
    position: relative;
    margin: 0;
    padding-left: 25px;
}

.mg-product-accordion .bt_bb_accordion_item_content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--mg-accent-dark);
    font-weight: 800;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 992px) {
    .mg-product-hero {
        min-height: 410px;
    }

    .mg-product-intro .bt_bb_column_content_inner {
        padding-right: 0;
    }

    .mg-product-buy-panel {
        margin-top: 36px;
    }

    .mg-product-price-row .bt_bb_row_inner_holder {
        align-items: center;
    }

    .mg-product-feature-row > .bt_bb_row_holder {
        align-items: flex-start;
    }

    .mg-product-feature-copy .bt_bb_column_content_inner,
    .mg-product-feature-media .bt_bb_column_content_inner {
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (max-width: 768px) {
    .mg-product-hero {
        min-height: 300px;
        height: 300px !important;
    }

    .mg-product-overview,
    .mg-product-walkthrough,
    .mg-product-details {
        padding-top: 52px;
        padding-bottom: 56px;
    }

    .mg-product-demos-heading {
        padding-top: 52px;
    }

    .mg-product-audio-section {
        padding-bottom: 55px;
    }

    .mg-product-title .bt_bb_headline_tag span {
        font-size: 40px;
    }

    .mg-product-title .bt_bb_headline_subheadline {
        font-size: 15px;
        line-height: 1.72;
    }

    .mg-product-buy-panel .bt_bb_column_content_inner {
        padding: 25px 21px;
    }

    .mg-product-price-row .bt_bb_row_inner_holder {
        flex-direction: column;
        align-items: stretch;
    }

    .mg-product-main-price,
    .mg-product-main-buy {
        width: 100%;
        text-align: left;
    }

    .mg-product-main-price {
        margin-bottom: 15px;
    }

    .mg-product-audio-player {
        padding: 10px;
    }

    .mg-product-feature-intro {
        margin-top: 50px;
        margin-bottom: 38px;
    }

    .mg-product-feature-intro-card > .bt_bb_column_content {
        padding: 28px 22px;
    }

    .mg-product-feature-row {
        margin-top: 20px;
        margin-bottom: 48px;
    }

    .mg-product-feature-copy .bt_bb_column_content_inner,
    .mg-product-feature-media .bt_bb_column_content_inner {
        padding: 12px 0;
    }

    .mg-product-feature-copy .bt_bb_headline_tag span {
        font-size: 29px;
    }

    .mg-product-interface-gallery .bt_bb_css_image_grid_content {
        gap: 14px;
    }
}