/**
 * Single Deal Stylesheet (CPT: angebot)
 * Autohaus Rifberg - High-Fidelity Prototype Replication
 */

/* Container */
.rbd-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

.rbd-breadcrumb-wrap {
    max-width: 100%;
    padding: 12px 0;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}

.rbd-breadcrumb {
    max-width: 1440px;
    width: 100%;
    padding: 0 32px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    line-height: 20px;
    color: #6b6b6b;
}

.rbd-breadcrumb a {
    color: #6b6b6b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.rbd-breadcrumb a:hover {
    color: #67b0c4;
}

.rbd-breadcrumb-sep {
    color: #6b6b6b;
}

.rbd-breadcrumb-current {
    color: #000;
    font-weight: 600;
}

/* Hero Section */
.rbd-hero-section {
    padding: 32px 0;
    background: #fff;
}

@media (min-width: 1024px) {
    .rbd-hero-section {
        padding: 48px 0;
    }
}

.rbd-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .rbd-hero-grid {
        grid-template-columns: 3fr 2fr;
        align-items: start;
    }
}

/* Gallery Slider */
.rbd-gallery-wrapper {
    width: 100%;
}

.rbd-gallery-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #F4F4F4;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #E5E7EB;
}

.rbd-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.2s ease;
}

.rbd-gallery-main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;
    background-color: #000000;
}

.rbd-gallery-wrapper.is-video .rbd-gallery-main-img {
    display: none !important;
}

.rbd-gallery-wrapper.is-video .rbd-gallery-main-video {
    display: block !important;
}

.rbd-gallery-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(18, 24, 38, 0.85);
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    transition: all 0.2s ease;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.rbd-gallery-video-play:hover {
    background: #67B0C4;
    transform: translate(-50%, -50%) scale(1.08);
}

.rbd-gallery-video-play svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
    margin-left: 3px;
}

.rbd-gallery-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
}

.rbd-gallery-fallback svg {
    width: 64px;
    height: 64px;
}

.rbd-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #ffffffe6;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
    z-index: 5;
    padding: 0;
    border-radius: 0;
}


.rbd-gallery-arrow:hover,
.rbd-gallery-arrow:focus {
    background: #FFFFFF;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
}

.rbd-gallery-arrow svg {
    width: 20px;
    height: 20px;
    color: #000;
}

.rbd-gallery-arrow--prev {
    left: 12px;
}

.rbd-gallery-arrow--next {
    right: 12px;
}

.rbd-gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #0009;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 400;
    padding: 4px 10px;
    border-radius: 0;
    z-index: 5;
    user-select: none;
    line-height: 16px;
}

.rbd-gallery-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-top: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    -webkit-overflow-scrolling: touch;
}

.rbd-gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.15s ease;
    box-shadow: none;
    border-radius: 0;
    line-height: 1;
    font-size: inherit;
}

.rbd-gallery-thumb {
    position: relative;
}

.rbd-thumb-video-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(18, 24, 38, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    pointer-events: none;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.rbd-thumb-video-badge svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
    margin-left: 1px;
}

.rbd-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rbd-gallery-thumb:hover,
.rbd-gallery-thumb:active {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.rbd-gallery-thumb.is-active {
    border-color: #67b0c4;
    background: transparent;
    box-shadow: none;
}

/* Sticky Deal Card */
@media (min-width: 1024px) {
    .rbd-hero-card-col {
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

.rbd-hero-card {
    background: #FFFFFF;
    border: 1px solid #e5e5e5;
    padding: 24px;
    box-shadow: none;
}

.rbd-hero-eyebrow {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b6b6b;
    margin: 0 0 4px;
    line-height: 15px;
}

.rbd-hero-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0 0 4px;
    line-height: 32px;
}

.rbd-hero-trim {
    font-size: 14px;
    color: #6b6b6b;
    margin: 0 0 4px;
    line-height: 20px;
}

.rbd-hero-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.rbd-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: #f5f5f5;
    color: #000;
    padding: 2px 8px;
    border-radius: 0;
    line-height: 15px;
}

.rbd-badge--promo {
    background: #f5f5f5;
    color: #000;
}

/* Price Box */
.rbd-price-box {
    margin-bottom: 16px;
}

.rbd-price-eyebrow {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #6b6b6b;
    margin: 0 0 4px;
    line-height: 15px;
}

.rbd-price-main {
    margin: 0 0 2px;
    font-weight: 700;
    color: #000;
    line-height: 1.15;
}

.rbd-price-main .rbd-price-fn {
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    color: #6b6b6b;
    margin-left: 3px;
    vertical-align: super;
    top: 9px;
}

.rbd-price-val--large {
    font-size: 30px;
    line-height: 36px;
}

.rbd-price-val--compact {
    font-size: 20px;
    line-height: 28px;
}

/* .rbd-price-fn {
    color: #6B7280;
} */

.rbd-price-suffix {
    font-size: 18px;
    font-weight: 600;
    color: #4B5563;
    margin-left: 4px;
}

.rbd-price-vat-note {
    font-size: 12px;
    color: #6B7280;
    margin: 0 0 4px;
}

.rbd-price-subline {
    font-size: 11px;
    line-height: 1.375;
    color: #6b6b6b;
    margin: 0 0 8px;
}

.rbd-price-financing-rate {
    font-size: 14px;
    font-weight: 700;
    color: var(--global-palette1, #00A3A6);
    margin: 0;
}

.rbd-price-financing-rate .rbd-price-fn {
    font-size: 10px;
    font-weight: 700;
    vertical-align: super;
    line-height: 0;
    margin-left: 1px;
    color: #6b6b6b;
}

.rbd-price-credit-warning {
    font-size: 11px;
    line-height: 1.375;
    color: #6b6b6b;
    margin: 4px 0 0;
    font-weight: 700;
}

.rbd-price-financing-note {
    font-size: 11px;
    color: #6b6b6b;
    margin: 0;
}

/* CTAs */
.rbd-hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.rbd-btn-cta {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    transition: 0.15s ease;
    line-height: 20px;
    background: #67b0c4;
    color: #fff;
}

.rbd-btn-cta:hover {
    color: #fff;
    filter: brightness(1.1);
}

.rbd-hero-dual-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rbd-btn-phone,
.rbd-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.15s ease;
    line-height: 20px;
}

.rbd-btn-phone svg,
.rbd-btn-whatsapp svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.rbd-btn-phone {
    border: 1px solid #e5e5e5;
    color: #000;
    background: #FFFFFF;
}

.rbd-btn-phone:hover {
    background: #f5f5f5;
    border-color: #e5e5e5;
}

.rbd-btn-whatsapp {
    border: 1px solid #25d366;
    color: #25d366;
    background: #FFFFFF;
}

.rbd-btn-whatsapp:hover {
    background: #25d3660d;
}

/* Trust Items */
.rbd-hero-trust {
    border-top: 1px solid #e5e5e5;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rbd-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b6b6b;
    line-height: 16px;
}

.rbd-trust-icon {
    width: 14px;
    height: 14px;
    color: #67b0c4;
    flex-shrink: 0;
}

/* Fahrzeugdaten (Specs Section) */
.rbd-specs-section {
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: 40px 0;
}

@media (min-width: 1024px) {
    .rbd-specs-section {
        padding: 56px 0;
    }
}

.rbd-section-heading {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 16px;
    line-height: 28px;
}

.rbd-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
}

@media (min-width: 768px) {
    .rbd-specs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rbd-spec-card {
    background: #FFFFFF;
    border: 1px solid #e5e5e5;
    padding: 16px;
    text-align: center;
}

.rbd-spec-icon-wrap {
    margin-bottom: 8px;
}

.rbd-spec-svg {
    width: 20px;
    height: 20px;
    color: #67b0c4;
    margin: 0 auto;
}

.rbd-spec-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b6b6b;
    margin: 0 0 2px;
    line-height: 15px;
}

.rbd-spec-val {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: 20px;
}

/* Highlights Section */
.rbd-highlights-section {
    border-top: 1px solid #e5e5e5;
    padding: 40px 0;
    background: #FFFFFF;
}

@media (min-width: 1024px) {
    .rbd-highlights-section {
        padding: 56px 0;
    }
}

.rbd-highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 32px;
    row-gap: 8px;
    max-width: 760px;
}

@media (min-width: 768px) {
    .rbd-highlights-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.rbd-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
}

.rbd-check-icon {
    width: 16px;
    height: 16px;
    color: #67b0c4;
    flex-shrink: 0;
    margin-top: 2px;
}

.rbd-highlight-text {
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

/* EnVKV Section */
.rbd-envkv-section {
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: 40px 0;
}

@media (min-width: 1024px) {
    .rbd-envkv-section {
        padding: 56px 0;
    }
}

.rbd-envkv-body {
    font-size: 12px;
    line-height: 1.5;
    color: #6b6b6b;
}

/* Inquiry Form Section */
.rbd-inquiry-section {
    border-top: 1px solid #e5e5e5;
    padding: 48px 0;
    background: #FFFFFF;
}

@media (min-width: 1024px) {
    .rbd-inquiry-section {
        padding: 64px 0;
    }
}

.rbd-inquiry-header {
    margin-bottom: 32px;
}

.rbd-inquiry-title {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px;
}

@media (min-width: 768px) {
    .rbd-inquiry-title {
        font-size: 30px;
        line-height: 36px;
    }
}

.rbd-inquiry-subtitle {
    font-size: 16px;
    line-height: 1.625;
    color: #6b6b6b;
    max-width: 672px;
    margin: 0;
}

.rbd-inquiry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .rbd-inquiry-grid {
        grid-template-columns: 1fr 380px;
        align-items: start;
    }
}

.rbd-inquiry-form-card {
    background: #FFFFFF;
}

.rbd-inquiry-form-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b6b6b;
    margin: 0 0 16px;
    line-height: 20px;
}

/* Fluent Form Custom Theme Integration */
.rbd-fluentform-wrapper .fluentform {
    max-width: 100%;
}

.rbd-fluentform-wrapper .ff-el-group {
    margin-bottom: 16px !important;
}

.rbd-fluentform-wrapper .ff-el-input--label label {
    font-size: 12px;
    font-weight: 600 !important;
    color: #000;
    margin-bottom: 6px !important;
    display: block !important;
    line-height: 16px !important;
}

.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after {
    color: #000 !important;
    content: " *";
    margin-left: 0 !important;
    font-size: 12px;
    font-weight: 600 !important;
}

.rbd-fluentform-wrapper .ff-el-form-control {
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    padding: 8px 12px !important;
    font-size: 14px;
    color: #000;
    background: #FFFFFF;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    box-sizing: border-box;
    line-height: 20px !important;
}

.rbd-fluentform-wrapper .ff-el-form-control:focus {
    outline: none !important;
    border-color: #67b0c4 !important;
    box-shadow: none !important;
}

.rbd-fluentform-wrapper .ff-el-form-control::placeholder {
    color: #000;
}

/* Anrede Button Pill Styling */
.rbd-fluentform-wrapper .rifberg-form-anrede-wrap .ff-el-input--content {
    display: flex;
    gap: 8px;
}

.rbd-fluentform-wrapper .rifberg-form-anrede-wrap .ff-el-form-check {
    position: relative;
    margin: 0;
}

.rbd-fluentform-wrapper .rifberg-form-anrede-wrap .ff-el-form-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rbd-fluentform-wrapper .rifberg-form-anrede-wrap .ff-el-form-check-label {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e5e5e5;
    background: #FFFFFF;
    color: #6b6b6b;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    line-height: 20px;
    margin: 0 !important;
}

.rbd-fluentform-wrapper .rifberg-form-anrede-wrap .ff-el-form-check.ff_item_selected .ff-el-form-check-label {
    border-color: #67b0c4;
    color: #67b0c4;
    background: #67b0c40d;
}


/* Postleitzahl Max Width */
.rbd-fluentform-wrapper .rifberg-input-zip {
    max-width: 200px;
}

/* Datenschutz Checkbox */
.rbd-fluentform-wrapper .rifberg-form-consent-wrap .ff-el-form-check-label {
    font-size: 11px;
    color: #6B7280;
    line-height: 1.5;
}

.rbd-fluentform-wrapper .rifberg-form-consent-wrap a {
    color: #67b0c4;
    text-decoration: none;
}

.rbd-fluentform-wrapper .rifberg-form-consent-wrap a:hover {
    text-decoration: underline;
}

/* Submit Button */
.rbd-fluentform-wrapper .rifberg-deal-submit-btn,
.rbd-fluentform-wrapper .ff-btn-submit {
    background-color: #67b0c4 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: opacity 0.15s ease !important;
    line-height: 20px !important;
    max-width: 264px;
    width: 100%;
}

.rbd-fluentform-wrapper .rifberg-deal-submit-btn:hover,
.rbd-fluentform-wrapper .ff-btn-submit:hover {
    filter: brightness(1.1);
    color: #fff;
    box-shadow: none;
}

/* Form Trust Badges */
.rbd-form-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.rbd-form-trust-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6b6b6b;
    line-height: 16px;
}

.rbd-form-trust-pill svg {
    width: 12px;
    height: 12px;
    color: #67b0c4;
}


/* Selection Summary Card (Right) */
@media (min-width: 1024px) {
    .rbd-inquiry-summary-col {
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

.rbd-selection-card {
    background: #FFFFFF;
    border: 1px solid #e5e5e5;
    padding: 20px;
    box-shadow: none;
}

.rbd-selection-eyebrow {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #67b0c4;
    margin: 0 0 12px;
}

.rbd-selection-image-wrap {
    aspect-ratio: 16 / 10;
    background: #F4F4F4;
    overflow: hidden;
    margin-bottom: 16px;
    border: 0;
}

.rbd-selection-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rbd-selection-title {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 0 0 2px;
    line-height: 24px;
}

.rbd-selection-subtitle {
    font-size: 14px;
    color: #6b6b6b;
    margin: 0 0 12px;
    line-height: 20px;
}

.rbd-selection-envkv-mini {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
    font-size: 11px;
    line-height: 1.45;
    color: #6B7280;
}

/* Legal Disclaimers Section */
.rbd-legal-section {
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: 40px 0;
}

.rbd-legal-group {
    margin-bottom: 32px;
}

.rbd-legal-group:last-child {
    margin-bottom: 0;
}

.rbd-legal-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b6b6b;
    margin: 0 0 16px;
    line-height: 16px;
}

.rbd-legal-text {
    font-size: 12px;
    line-height: 1.625;
    color: #6b6b6b;
    margin: 0 0 12px;
}

.rbd-legal-group .rbd-legal-text:last-child {
    margin: 0;
}

.rbd-legal-text a {
    color: #67b0c4;
    text-decoration: none;
}

.rbd-legal-text a:hover {
    text-decoration: underline;
}

/* § 17 PAngV Details Box */
.rbd-pangv-box {
    margin-top: 14px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 16px;
    border-radius: 2px;
}

.rbd-pangv-title {
    font-size: 12px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.rbd-pangv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #4B5563;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

@media (min-width: 640px) {
    .rbd-pangv-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* Lightbox Modal */
.rbd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.rbd-lightbox.is-open {
    display: flex;
}

.rbd-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.15s ease;
}

.rbd-lightbox-close:hover {
    opacity: 0.7;
}

.rbd-lightbox-close svg {
    width: 28px;
    height: 28px;
}

.rbd-lightbox-inner {
    position: relative;
    max-width: 1200px;
    width: 90%;
    text-align: center;
}

.rbd-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.rbd-lightbox-video {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    margin: 0 auto;
    display: none;
    background: #000000;
}

.rbd-lightbox.is-video .rbd-lightbox-img {
    display: none !important;
}

.rbd-lightbox.is-video .rbd-lightbox-video {
    display: block !important;
}

.rbd-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.rbd-lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.rbd-lightbox-arrow svg {
    width: 26px;
    height: 26px;
}

.rbd-lightbox-arrow--prev {
    left: -20px;
}

.rbd-lightbox-arrow--next {
    right: -20px;
}

.rbd-lightbox-counter {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Floating Sticky CTA Bar */
.rbd-mobile-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
    padding: 12px 16px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .rbd-mobile-bar {
        display: none;
    }
}

.rbd-mobile-bar-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
}

.rifberg-form-row-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ff-default textarea {
    min-height: 78px;
    resize: none;
}


@media all and (max-width: 767px) {
    .rbd-container {
        padding: 0 16px;
    }

    .rifberg-form-row-2col {
        grid-template-columns: inherit;
        gap: 0;
    }
    .rbd-hero-grid {
        display: block;
    }
    .rbd-hero-grid .rbd-hero-gallery-col {
        margin: 0 0 32px;
    }
}