/*
 * 50 Page pro sensor alternate.
 * Load order: content-style.css -> css/05-header.css -> css/05-footer.css -> css/10-content-patterns.css -> css/11-tabs-block.css -> css/15-woocommerce.css -> css/20-page-patterns.css -> css/20-support-pages.css -> style.css -> css/pages/50-page-*.css.
 * Purpose: Pro Sensor page-only section overrides loaded on page ID 19960.
 * Scope: Targeting .dmax-pro-hero-* and .dmax-pro-benefits-* classes.
 */

/* ============================================================
   Pro Sensor — Frontend
   ============================================================ */

/* ── Unified Page Layout (Single Background + Subtle Separation) ── */
.dmax-pro-hero-section,
.dmax-pro-features-section,
.dmax-pro-features-grid-section,
.dmax-pro-benefits-section,
.dmax-pro-specs-section,
.dmax-pro-sizes-section,
.dmax-pro-video-section,
.dmax-pro-checkout-section,
.dmax-pro-testimonials-section,
.dmax-pro-trial-cta-section,
.dmax-pro-xray-section {
    background-color: #08263c !important;
}

/* Exclude features-grid bottom border since features and features-grid flow together */
.dmax-pro-hero-section,
.dmax-pro-features-grid-section,
.dmax-pro-benefits-section,
.dmax-pro-specs-section,
.dmax-pro-sizes-section,
.dmax-pro-video-section,
.dmax-pro-checkout-section,
.dmax-pro-testimonials-section,
.dmax-pro-trial-cta-section,
.dmax-pro-xray-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* ── S1A Hero (Slider Replacement) ───────────────────────── */
.dmax-pro-hero-section {
    background-size: cover;
    background-position: center left;
    position: relative;
}

.single-content h2.dmax-pro-hero-brand-name {
    /* font-size: clamp(32px, 4.5vw, 68px); */
    font-size: clamp(15px, 3.5vw, 68px);
    font-weight: 700;
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.1;
}

.single-content h1.dmax-pro-hero-main-title {
    /* font-size: clamp(80px, 13vw, 220px); */
    font-size: clamp(40px, 13vw, 220px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    /* margin-top: -15px; */
    margin-bottom: 0;
    line-height: 0.8;
    margin-left: -0.04em;
}

.single-content .dmax-pro-hero-sub-title {
    /* font-size: clamp(22px, 3.2vw, 44px); */
    font-size: clamp(13px, 4.2vw, 44px);
    font-weight: 400;
    /* color: #ffffff; */
    margin-top: 5px;
    /* margin-bottom: 24px; */
    margin-bottom: .75rem;
    line-height: 1.2;
}

div.single-content div.single-content .dmax-pro-hero-copy {
    font-size: clamp(16px, 1.8vw, 24px);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 32px;
    line-height: 1.45;
    max-width: 500px;
}

.dmax-pro-hero-image {
    position: relative;
    z-index: 2;
}

.dmax-pro-hero-image img {
    width: 125%;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: translate(-12%, 8%);
}

.dmax-pro-hero-buttons {
    margin-top: 28px;
    margin-bottom: 36px;
}

/* ── S1B Features Grid ───────────────────────────────────── */
.dmax-pro-features-section {
    background-color: #08263c;
    /* padding-top: 40px; */
    /* padding-bottom: 0; */
}

.dmax-pro-features-grid-section {
    /* background-color: #08263c; */
    padding-top: 0;
    /* padding-bottom: 60px; */
}

.dmax-pro-features-grid-section .dmax-icon-box h4 {
    color: #ffffff;
    font-size: 21px;
    line-height: 34px;
    /* font-weight: 600; */
    /* letter-spacing: 0px; */
}

.dmax-pro-features-grid-section .dmax-icon-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.dmax-icon-box img,
.editor-styles-wrapper .dmax-icon-box img {
    display: block;
    margin: 0 auto 16px;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .dmax-icon-box img,
    .editor-styles-wrapper .dmax-icon-box img {
        margin: 0 auto .5rem;
    }
}

@media (min-width: 1440px) {
    .dmax-icon-box img,
    .editor-styles-wrapper .dmax-icon-box img {
        width: 92px;
        height: 92px;
    }
}

.dmax-pro-features-intro {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 0;
}

.dmax-pro-report-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 20px;
    margin-top: 0;
}

.dmax-pro-report-card img.dmax-report-logo {
    max-width: 75px;
    height: auto;
    flex-shrink: 0;
}

.entry-content .dmax-pro-report-card blockquote {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    font-size: 1.3125rem;
    line-height: 1.4;
    font-style: italic;
    color: #ffffff;
}

.dmax-pro-report-card .dmax-report-source {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.dmax-pro-report-card a.dmax-report-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dmax-sky);
    /* text-decoration: underline; */
}

.dmax-pro-report-card a.dmax-report-link:hover {
    color: #ffffff;
}

@media (max-width: 767px) {
    .dmax-pro-hero-image img,
    .dmax-pro-hero-image img.kb-img {
        margin-inline: auto;
        max-width: 320px;
        /* width: 100%; */
        /* transform: none; */
        /* width: 150%; */
    }
    .single-content h2.dmax-pro-hero-brand-name,
    .dmax-pro-hero-brand-name {
        /* text-align: center; */
        letter-spacing: unset;
    }
    .single-content h1.dmax-pro-hero-main-title {
        /* text-align: center; */
        margin-top: 2px;
        /* margin-left: -0.04em; */
    }
    .dmax-pro-hero-sub-title {
        /* text-align: center; */
    }
    div.single-content .dmax-pro-hero-copy {
        /* text-align: center; */
        margin-inline: auto;
        margin-bottom: .75rem;
        font-size: .9rem;
    }
    .dmax-pro-hero-buttons.kb-buttons-wrap {
        justify-content: center;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        align-content: flex-start;
    }
    .dmax-pro-report-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 16px;
    }
}

/* ── S2 Benefits & Exposure Slider ───────────────────────── */
.dmax-pro-benefits-section {
    background-color: #273953;
}

.dmax-pro-benefits-buttons {
    margin-top: 28px;
}

.dmax-exposure-slider-container {
    text-align: center;
    margin-top: 20px;
}

.dmax-exposure-slider-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.dmax-exposure-control-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.dmax-exposure-input-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

.dmax-exposure-slider-container input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.dmax-exposure-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dmax-sky);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: background 0.15s, transform 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dmax-exposure-slider-container input[type="range"]::-webkit-slider-thumb:hover {
    background: #ffffff;
    transform: scale(1.2);
}

.dmax-exposure-slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dmax-sky);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: background 0.15s, transform 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dmax-exposure-slider-container input[type="range"]::-moz-range-thumb:hover {
    background: #ffffff;
    transform: scale(1.2);
}

.dmax-exposure-slider-container .dmax-exposure-label {
    min-width: 3.75rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
}

.dmax-exposure-slider-container .dmax-exposure-hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 767px) {
    .dmax-pro-benefits-section {
        text-align: center;
    }
}

/* ============================================================
   Pro Sensor — Editor
   ============================================================ */
.editor-styles-wrapper .dmax-pro-hero-brand-name {
    font-size: clamp(32px, 4.5vw, 68px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.1;
}

.editor-styles-wrapper .dmax-pro-hero-main-title {
    font-size: clamp(80px, 13vw, 220px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    margin-top: -15px;
    margin-bottom: 0;
    line-height: 0.8;
    margin-left: -0.05em;
}

.editor-styles-wrapper .dmax-pro-hero-sub-title {
    font-size: clamp(22px, 3.2vw, 44px);
    font-weight: 400;
    color: #ffffff;
    margin-top: 5px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.editor-styles-wrapper .dmax-pro-hero-copy {
    font-size: clamp(16px, 1.8vw, 24px);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 32px;
    line-height: 1.45;
    max-width: 500px;
}

.editor-styles-wrapper .dmax-pro-hero-image img {
    width: 125%;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: translate(-12%, 8%);
}

.editor-styles-wrapper .dmax-pro-hero-buttons {
    margin-top: 28px;
    margin-bottom: 36px;
}

.editor-styles-wrapper .dmax-pro-report-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 20px;
    margin-top: 32px;
}

.editor-styles-wrapper .dmax-pro-report-card img.dmax-report-logo {
    max-width: 75px;
    height: auto;
    flex-shrink: 0;
}

.editor-styles-wrapper .dmax-pro-report-card blockquote {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    font-size: 1rem;
    line-height: 1.4;
    font-style: italic;
    color: #ffffff;
}

.editor-styles-wrapper .dmax-pro-report-card .dmax-report-source {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.editor-styles-wrapper .dmax-pro-report-card a.dmax-report-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dmax-sky);
    text-decoration: underline;
}

.editor-styles-wrapper .dmax-exposure-slider-container {
    text-align: center;
    margin-top: 20px;
}

.editor-styles-wrapper .dmax-exposure-slider-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.editor-styles-wrapper .dmax-exposure-control-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.editor-styles-wrapper .dmax-exposure-input-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

/* ── S3 Specs Table ──────────────────────────────────────── */
.dmax-pro-specs-section {
    background-color: #08263c;
    /* padding-top: 60px; */
    /* padding-bottom: 40px; */
}

.dmax-pro-specs-section h2.dmax-section-title,
.editor-styles-wrapper .dmax-pro-specs-section h2.dmax-section-title {
    color: #ffffff;
}

.dmax-pro-specs-section .dmax-specs-table-wrap,
.editor-styles-wrapper .dmax-pro-specs-section .dmax-specs-table-wrap {
    max-width: 835px;
    margin: 0 auto;
    border: none;
    box-shadow: none;
    background: transparent;
}

@media (max-width: 767px) {
    .dmax-pro-specs-section .dmax-specs-table-wrap,
    .editor-styles-wrapper .dmax-pro-specs-section .dmax-specs-table-wrap {
        margin: 0 -12px;
    }
}

/* Table structure and theme variations are centralized in css/10-table.css */

/* Badge styling is now centralized in css/10-content-patterns.css */

/* ── S4 Flip Boxes (Sizes) ────────────────────────────────── */
.dmax-pro-sizes-section {
    background-color: #08263c;
    padding-top: 0;
    /* padding-bottom: 80px; */
}

.dmax-flip-box,
.editor-styles-wrapper .dmax-flip-box {
    background-color: transparent;
    perspective: 1000px;
    width: 100%;
    height: 380px;
    margin: 2rem 0;
}
@media (max-width: 767px) {
    .dmax-flip-box,
    .editor-styles-wrapper .dmax-flip-box {
        /* margin: 0 0 2rem; */
        margin: 0;
    }
}

.dmax-flip-box-inner,
.editor-styles-wrapper .dmax-flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.dmax-flip-box:hover .dmax-flip-box-inner,
.editor-styles-wrapper .dmax-flip-box:hover .dmax-flip-box-inner {
    transform: rotateY(180deg);
}

.dmax-flip-box-front,
.dmax-flip-box-back,
.editor-styles-wrapper .dmax-flip-box-front,
.editor-styles-wrapper .dmax-flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dmax-flip-box-front,
.editor-styles-wrapper .dmax-flip-box-front {
    background-color: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.dmax-flip-box-front h3,
.editor-styles-wrapper .dmax-flip-box-front h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.dmax-flip-box-front img,
.editor-styles-wrapper .dmax-flip-box-front img {
    max-height: 220px;
    width: auto;
    object-fit: contain;
}

.dmax-flip-box-back,
.editor-styles-wrapper .dmax-flip-box-back {
    background-color: #1a2c42;
    color: #ffffff;
    transform: rotateY(180deg);
}

.dmax-flip-box-back h3,
.editor-styles-wrapper .dmax-flip-box-back h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.dmax-flip-box-back p,
.editor-styles-wrapper .dmax-flip-box-back p {
    margin: 0 0 16px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.dmax-flip-box-back p b,
.editor-styles-wrapper .dmax-flip-box-back p b {
    color: var(--dmax-sky, #4d9fff);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 2px;
}

.dmax-pro-sizes-footer-text,
.editor-styles-wrapper .dmax-pro-sizes-footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 40px auto 0;
}

/* Responsive visibility for dimensions vs thickness */
@media (min-width: 768px) {
    .dmax-spec-thickness {
        display: none;
    }
}

@media (max-width: 767px) {
    .dmax-spec-dimensions {
        display: none;
    }
}


/* ── S10 Woo Product ────────────────────────────────────── */
.dmax-pro-checkout-section .hide,
.dmax-pro-checkout-section .related,
.dmax-pro-checkout-section .woocommerce-tabs,
.dmax-pro-checkout-section .product_meta,
.dmax-pro-checkout-section .product-title.product-above,
.dmax-pro-checkout-section .hideme,
.dmax-pro-checkout-section .woocommerce div.product div.images .flex-control-thumbs,
.dmax-pro-checkout-section .woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    display: none;
    content-visibility: hidden;
}

.dmax-pro-checkout-section .woocommerce div.product {
    box-shadow: none;
}

.dmax-pro-checkout-section div.woocommerce div.product div.images {
    width: 38%;
    float: right;
}
.dmax-pro-checkout-section .woocommerce span.onsale {
    top: .5rem;
    right: .5rem;
    left: unset;
}
.dmax-pro-checkout-section div.woocommerce div.product div.summary {
    width: 58%;
    width: 100%;
    float: unset;
    /* margin-left: -2rem; */
}

@media screen and (max-width: 719px) {
    .dmax-pro-checkout-section div.woocommerce div.product div.images,
    .dmax-pro-checkout-section div.woocommerce div.product div.summary {
        width: 100%;
    }
}

.dmax-section-dark .woocommerce div.product div.summary p {
    margin: .75em 0;
}


.dmax-pro-checkout-section .woocommerce div.product form.cart {
    max-width: 380px;
    text-align: center;
    margin: 0 auto;
}

/* ── S11 Testimonials ────────────────────────────────────── */
.dmax-pro-testimonials-section {
    /* background-color: #273953; */
    /* padding-top: 60px; */
    padding-bottom: 60px;
}

.dmax-testimonial-card,
.editor-styles-wrapper .dmax-testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: clamp(24px, 4vw, 40px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.dmax-testimonial-card:hover,
.editor-styles-wrapper .dmax-testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(60, 188, 230, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.dmax-testimonial-stars,
.editor-styles-wrapper .dmax-testimonial-stars {
    color: #ffb400;
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.entry-content .dmax-testimonial-card blockquote,
.editor-styles-wrapper .dmax-testimonial-card blockquote {
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.6;
    font-style: italic;
    color: #ffffff;
    border-left: none;
    padding-left: 0;
    margin: 0 0 24px 0;
}

.dmax-testimonial-author,
.editor-styles-wrapper .dmax-testimonial-author {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dmax-testimonial-author strong,
.editor-styles-wrapper .dmax-testimonial-author strong {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
}

.dmax-testimonial-author span,
.editor-styles-wrapper .dmax-testimonial-author span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ── S11 Trial CTA & S12 FAQ ──────────────────────────────── */
.dmax-pro-trial-cta-section {
    /* background-color: #273953; */
    /* padding-top: 40px; */
    padding-top: 0;
    /* padding-bottom: 80px; */
}

.dmax-pro-trial-cta-buttons {
    margin-top: 32px;
}

.dmax-pro-faq-section {
    /* background-color: #000000; */
    /* padding-top: 0; */
    /* padding-bottom: 80px; */
}

/* ── S5 YouTube Video & Responsive Buttons ── */
.dmax-pro-video-section {
    background-color: #08263c;
    padding-top: 0;
    /* padding-bottom: 60px; */
}

.dmax-video-wrapper,
.single-content h2+.dmax-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 960px;
    margin: 30px auto 40px;
    margin-top: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dmax-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.dmax-pro-video-buttons {
    margin-top: 32px;
}

@media (max-width: 767px) {
    /* Stack buttons and make them full width on mobile for benefits, video, and trial sections */
    .dmax-pro-benefits-buttons.kb-buttons-wrap,
    .dmax-pro-video-buttons.kb-buttons-wrap,
    .dmax-pro-trial-cta-buttons.kb-buttons-wrap {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 12px !important;
    }
    
    .dmax-pro-benefits-buttons.kb-buttons-wrap .kb-button-wrap,
    .dmax-pro-video-buttons.kb-buttons-wrap .kb-button-wrap,
    .dmax-pro-trial-cta-buttons.kb-buttons-wrap .kb-button-wrap {
        width: 100% !important;
        display: block !important;
        margin-right: 0 !important;
    }
    
    .dmax-pro-benefits-buttons.kb-buttons-wrap .kb-button,
    .dmax-pro-video-buttons.kb-buttons-wrap .kb-button,
    .dmax-pro-trial-cta-buttons.kb-buttons-wrap .kb-button {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
}


/* ── S13 X-Ray Gallery (See The Clarity For Yourself) ───────── */
.dmax-pro-xray-section {
    background: linear-gradient(to bottom, #08263c 0%, #000000 15%, #000000 85%, #08263c 100%) !important;
}

.dmax-pro-xray-section .wp-block-kadence-advancedbtn.dmax-pro-xray-buttons,
.editor-styles-wrapper .dmax-pro-xray-section .wp-block-kadence-advancedbtn.dmax-pro-xray-buttons {
    margin-top: 56px;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.dmax-pro-xray-section .kb-blocks-gallery-item .kadence-blocks-gallery-item__caption,
.editor-styles-wrapper .dmax-pro-xray-section .kb-blocks-gallery-item .kadence-blocks-gallery-item__caption {
    color: #08263c;
    background: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-align: center;
    padding: 8px 12px;
}

@media (max-width: 767px) {
    .dmax-pro-xray-buttons.kb-buttons-wrap {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .dmax-pro-xray-buttons.kb-buttons-wrap .kb-button-wrap {
        width: 100% !important;
        display: block !important;
        margin-right: 0 !important;
    }

    .dmax-pro-xray-buttons.kb-buttons-wrap .kb-button {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* ── S14a FAQ ─────────── */

.dmax-pro-form-section .dmax-faq-dark .kt-blocks-accordion-title,
.dmax-pro-form-section .dmax-faq-dark .kt-blocks-accordion-header,
.dmax-pro-form-section .dmax-faq-dark .kt-blocks-accordion-header:visited,
.editor-styles-wrapper .dmax-pro-form-section .dmax-faq-dark .kt-blocks-accordion-title,
.editor-styles-wrapper .dmax-pro-form-section .dmax-faq-dark .kt-blocks-accordion-header,
.editor-styles-wrapper .dmax-pro-form-section .dmax-faq-dark .kt-blocks-accordion-header:visited {
    color: var(--dmax-sky);
    background:  var(--global-palette8, #f2f2f2);
    background: #155492;
    color: #fff;
}
.dmax-pro-form-section .dmax-faq-dark .kt-blocks-accordion-header.kt-accordion-panel-active,
.dmax-faq-dark .kt-blocks-accordion-header:hover,
.dmax-faq-dark .kt-blocks-accordion-header:focus,
.dmax-faq-dark .kt-blocks-accordion-header.kt-accordion-panel-active,
.editor-styles-wrapper .dmax-faq-dark .kt-blocks-accordion-header:hover,
.editor-styles-wrapper .dmax-faq-dark .kt-blocks-accordion-header:focus,
.editor-styles-wrapper .dmax-faq-dark .kt-blocks-accordion-header.kt-accordion-panel-active
 {
    background: #155492;
}

/* ── S14b Contact Form (Try the DentiMax Pro Sensor) ─────────── */
.dmax-pro-form-section {
    background-color: #08263c;
}

.dmax-pro-form-section .dmax-section-title,
.editor-styles-wrapper .dmax-pro-form-section .dmax-section-title {
    color: #ffffff;
    margin-bottom: 16px;
}

.dmax-pro-form-section p,
.editor-styles-wrapper .dmax-pro-form-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Gravity Form card on dark background */
.dmax-pro-form-section .gform_wrapper,
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    color: #08263c;
}

.dmax-pro-form-section .gform_wrapper .gfield_label,
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper .gfield_label {
    color: #08263c;
    font-weight: 600;
}

.dmax-pro-form-section .gform_wrapper .gform_heading {
    display: none
}

.dmax-pro-form-section div.gform_wrapper.gravity-theme .gform_footer,
.dmax-pro-form-section .gform_wrapper.gravity-theme .gform_footer input {
    margin-bottom: 0;
    padding-bottom: 0;
}

.dmax-pro-form-section .gform_wrapper input[type="text"],
.dmax-pro-form-section .gform_wrapper input[type="email"],
.dmax-pro-form-section .gform_wrapper input[type="tel"],
.dmax-pro-form-section .gform_wrapper input[type="number"],
.dmax-pro-form-section .gform_wrapper select,
.dmax-pro-form-section .gform_wrapper textarea,
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper input[type="text"],
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper input[type="email"],
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper input[type="tel"],
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper input[type="number"],
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper select,
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper textarea {
    color: #08263c;
    background-color: #f7f9fc;
    border: 1px solid rgba(8, 38, 60, 0.15);
    border-radius: 6px;
}

.dmax-pro-form-section .gform_wrapper .gfield_description,
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper .gfield_description {
    color: rgba(8, 38, 60, 0.7);
}

.dmax-pro-form-section .gform_wrapper .gform_footer input[type="submit"],
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper .gform_footer input[type="submit"] {
    background: var(--dmax-sky, #3cbce6);
    color: #08263c;
    border: 0;
    border-radius: 9999px;
    padding: 14px 32px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.dmax-pro-form-section .gform_wrapper .gform_footer input[type="submit"]:hover,
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper .gform_footer input[type="submit"]:hover {
    background: #ffffff;
    color: #08263c;
}

.dmax-pro-form-section .gform_wrapper .validation_error,
.dmax-pro-form-section .gform_wrapper .gfield_error .gfield_label,
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper .validation_error,
.editor-styles-wrapper .dmax-pro-form-section .gform_wrapper .gfield_error .gfield_label {
    color: #b82105;
}

/* Stack columns on mobile and add breathing room */
@media (max-width: 767px) {
    .dmax-pro-form-section .dmax-section-title,
    .dmax-pro-form-section p {
        text-align: center;
    }
    .dmax-pro-form-section .gform_wrapper {
        margin-top: 24px;
    }
}

