/**
 * Rate BunnyPro — Premium Frontend Styles
 *
 * Multi-criteria rating badges + review image gallery + lightbox.
 *
 * @package RateBunnyPro
 * @since   1.5.0
 */

/* ---------------------------------------------------------------
   Multi-Criteria Rating Badges
   ------------------------------------------------------------- */
.ratebunny-fe-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 6px;
}

.ratebunny-fe-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #f8f8ff 0%, #f0f0fa 100%);
    border: 1px solid #e8e8f0;
    border-radius: 20px;
    font-size: 12px;
    line-height: 1;
    transition: box-shadow .2s ease, transform .2s ease;
}

.ratebunny-fe-badge:hover {
    box-shadow: 0 2px 10px rgba(99, 102, 241, .12);
    transform: translateY(-1px);
}

.ratebunny-fe-badge-label {
    font-weight: 600;
    color: #444;
}

.ratebunny-fe-badge-stars {
    display: inline-flex;
    gap: 1px;
}

.ratebunny-fe-star {
    font-size: 13px;
    color: #d4d4d4;
    line-height: 1;
}

.ratebunny-fe-star.filled {
    color: #f5a623;
}

.ratebunny-fe-badge-value {
    font-weight: 700;
    font-size: 11px;
    color: #6366f1;
    background: rgba(99, 102, 241, .08);
    padding: 2px 6px;
    border-radius: 10px;
}

/* ---------------------------------------------------------------
   Pros & Cons — Form Fields
   ------------------------------------------------------------- */
.ratebunny-proscons-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0 8px;
}

.ratebunny-proscons-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.ratebunny-proscons-icon {
    font-size: 15px;
    line-height: 1;
}

.ratebunny-proscons-field input[type="text"] {
    width: 100%;
    padding: 9px 14px;
    border: 1.5px solid #e2e2e8;
    border-radius: 8px;
    font-size: 13px;
    color: #333;
    background: #fafafa;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ratebunny-proscons-field input[type="text"]:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
    background: #fff;
}

/* ---------------------------------------------------------------
   Pros & Cons — Frontend Display
   ------------------------------------------------------------- */
.ratebunny-fe-proscons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0 6px;
}

.ratebunny-fe-pro,
.ratebunny-fe-con {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.ratebunny-fe-pro {
    background: #ecfdf5;
    border-left: 3px solid #10b981;
}

.ratebunny-fe-con {
    background: #fef2f2;
    border-left: 3px solid #ef4444;
}

.ratebunny-fe-pc-icon {
    flex-shrink: 0;
    font-size: 12px;
    line-height: 1.5;
}

.ratebunny-fe-pc-pro {
    color: #10b981;
}

.ratebunny-fe-pc-con {
    color: #ef4444;
}

.ratebunny-fe-pc-text {
    color: #333;
}

/* ---------------------------------------------------------------
   Verified Owner Badge
   ------------------------------------------------------------- */
.ratebunny-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 8px;
    padding: 2px 10px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1.6;
    vertical-align: middle;
    white-space: nowrap;
}

.ratebunny-verified-icon {
    font-size: 11px;
    font-weight: 900;
    color: #10b981;
}

/* Hide default WooCommerce verified badge (replaced by ours) */
.woocommerce-review__verified {
    display: none !important;
}

/* Hide default WooCommerce review list & form (replaced by our premium UI) */
.woocommerce-Reviews .commentlist,
.woocommerce-Reviews #review_form_wrapper {
    display: none !important;
}

/* ---------------------------------------------------------------
   Image Gallery Thumbnails
   ------------------------------------------------------------- */
.ratebunny-fe-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 4px;
}

.ratebunny-gallery-item {
    display: inline-block;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ratebunny-gallery-item:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
}

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

/* ---------------------------------------------------------------
   Lightbox Overlay
   ------------------------------------------------------------- */
.ratebunny-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .85);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    padding: 24px;
}

.ratebunny-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.ratebunny-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .45);
    object-fit: contain;
    animation: ratebunnyLbZoom .3s ease;
}

@keyframes ratebunnyLbZoom {
    from {
        transform: scale(0.88);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close button — forced top layer */
.ratebunny-lightbox-close {
    position: fixed !important;
    top: 30px !important;
    right: 30px !important;
    z-index: 2147483647 !important;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .8) !important;
    color: #fff !important;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

.ratebunny-lightbox-close:hover {
    background: rgba(255, 255, 255, .25) !important;
    transform: scale(1.1);
}

/* Navigation arrows — forced top layer */
.ratebunny-lightbox-prev,
.ratebunny-lightbox-next {
    position: fixed !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999999 !important;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .8) !important;
    color: #fff !important;
    font-size: 22px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

.ratebunny-lightbox-prev {
    left: 22px !important;
}

.ratebunny-lightbox-next {
    right: 22px !important;
}

.ratebunny-lightbox-prev:hover,
.ratebunny-lightbox-next:hover {
    background: rgba(255, 255, 255, .25) !important;
    transform: translateY(-50%) scale(1.1);
}

/* Counter — forced top layer */
.ratebunny-lightbox-counter {
    position: fixed !important;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999999 !important;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .5px;
}

/* =================================================================
   M7. PREMIUM REVIEW SUMMARY DASHBOARD & FEED
   ================================================================= */

/* ── Wrapper ────────────────────────────────────────────────────── */
.ratebunny-reviews-wrap {
    max-width: 820px;
    margin: 0 auto 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ── No Reviews ─────────────────────────────────────────────────── */
.ratebunny-no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
    font-size: 15px;
}

/* ── Summary Dashboard ──────────────────────────────────────────── */
.ratebunny-summary {
    display: flex;
    gap: 28px;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

/* Left — Green Average Box */
.ratebunny-summary-avg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 24px 20px;
    background: linear-gradient(145deg, #059669, #10b981);
    border-radius: 14px;
    color: #fff;
    text-align: center;
    flex-shrink: 0;
}

.ratebunny-avg-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.ratebunny-avg-stars {
    display: flex;
    gap: 2px;
    margin: 8px 0 6px;
}

.ratebunny-avg-star {
    font-size: 16px;
    color: rgba(255, 255, 255, .35);
    line-height: 1;
}

.ratebunny-avg-star.filled {
    color: #fff;
}

.ratebunny-avg-count {
    font-size: 12px;
    font-weight: 500;
    opacity: .85;
    letter-spacing: .3px;
}

/* Right — Distribution Bars */
.ratebunny-summary-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.ratebunny-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ratebunny-bar-label {
    width: 72px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-align: right;
    flex-shrink: 0;
}

.ratebunny-bar-track {
    flex: 1;
    height: 10px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
}

.ratebunny-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 6px;
    transition: width .6s cubic-bezier(.22, 1, .36, 1);
    min-width: 0;
}

.ratebunny-bar-count {
    width: 28px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    text-align: left;
    flex-shrink: 0;
}

/* ── Feed ───────────────────────────────────────────────────────── */
.ratebunny-feed {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* ── Feed Card ──────────────────────────────────────────────────── */
.ratebunny-feed-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 24px;
    transition: box-shadow .2s ease, transform .2s ease;
}

.ratebunny-feed-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
    transform: translateY(-2px);
}

/* Header — Avatar + Meta */
.ratebunny-fc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.ratebunny-fc-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.ratebunny-fc-meta {
    flex: 1;
    min-width: 0;
}

.ratebunny-fc-author-line {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ratebunny-fc-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.ratebunny-fc-date {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

/* Rating Pill — absolute top-right */
.ratebunny-fc-rating-row {
    position: absolute;
    top: 16px;
    right: 16px;
}

.ratebunny-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 13px;
    font-weight: 800;
    border-radius: 20px;
    letter-spacing: .3px;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;
}

.ratebunny-rating-pill:hover {
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    transform: scale(1.05);
}

/* Criteria Tooltip (absolute dropdown) */
.ratebunny-criteria-tooltip {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 140px;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    animation: ratebunnyTooltipFadeIn .2s ease;
}

@keyframes ratebunnyTooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ratebunny-ct-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
}

.ratebunny-ct-row+.ratebunny-ct-row {
    border-top: 1px solid #f1f5f9;
}

.ratebunny-ct-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.ratebunny-ct-value {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

/* Body */
.ratebunny-fc-body {
    font-size: 14px;
    line-height: 1.65;
    color: #374151;
    margin-bottom: 10px;
}

.ratebunny-fc-body p {
    margin: 0 0 6px;
}

.ratebunny-fc-body p:last-child {
    margin-bottom: 0;
}

/* Feed Gallery — CSS Grid */
.ratebunny-fc-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 6px;
    margin: 10px 0 8px;
}

.ratebunny-fc-gallery .ratebunny-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.ratebunny-fc-gallery .ratebunny-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ratebunny-helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    transition: all .2s ease;
}

.ratebunny-helpful-btn:hover {
    color: #ef4444;
    border-color: #fca5a5;
    background: #fef2f2;
}

.ratebunny-helpful-heart {
    font-size: 14px;
    line-height: 1;
    transition: transform .2s ease;
}

.ratebunny-helpful-btn:hover .ratebunny-helpful-heart {
    transform: scale(1.25);
}

/* ── View All Button ────────────────────────────────────────────── */
.ratebunny-view-all-btn {
    display: block;
    width: 100%;
    margin-top: 22px;
    padding: 14px 24px;
    background: linear-gradient(145deg, #1e293b, #334155);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all .25s ease;
    box-shadow: 0 2px 10px rgba(30, 41, 59, .15);
}

.ratebunny-view-all-btn:hover {
    background: linear-gradient(145deg, #334155, #475569);
    box-shadow: 0 6px 20px rgba(30, 41, 59, .25);
    transform: translateY(-2px);
}

.ratebunny-view-all-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(30, 41, 59, .15);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .ratebunny-summary {
        flex-direction: row;
        padding: 5px;
        gap: 5px;
    }

    .ratebunny-summary-avg {
        min-width: unset;
        padding: 20px;
        border-radius: 12px;
    }

    .ratebunny-avg-number {
        font-size: 38px;
    }

    .ratebunny-feed-card {
        padding: 8px 5px;
    }

    .ratebunny-bar-label {
        width: 56px;
        font-size: 11px;
    }

    .ratebunny-fc-body {
        font-size: 13px;
    }
}

/* =================================================================
   M8. DRAWER / BOTTOM SHEET / FORM MODAL
   ================================================================= */

/* ── Backdrop (shared) ──────────────────────────────────────────── */
.ratebunny-backdrop,
.ratebunny-form-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 2147483647 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.ratebunny-backdrop.open,
.ratebunny-form-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* ── Drawer (Desktop — right slide) ─────────────────────────────── */
.ratebunny-drawer {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 420px;
    max-width: 100vw;
    background: #f9fafb;
    z-index: 2147483647 !important;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
    box-shadow: -4px 0 30px rgba(0, 0, 0, .12);
}

.ratebunny-drawer.open {
    transform: translateX(0);
}

/* Drawer Header */
.ratebunny-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 5px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
    border-radius: 15px 15px 0 0;
}

.ratebunny-drawer-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.ratebunny-drawer-close {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 20px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    transition: all .15s ease;
}

.ratebunny-drawer-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Drawer Body (scrollable) */
.ratebunny-drawer-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
    -webkit-overflow-scrolling: touch;
}

.ratebunny-drawer-cards {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Drawer Footer — sticky Write a Review */
.ratebunny-drawer-footer {
    padding: 14px 22px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.ratebunny-sticky-write-btn {
    width: 100%;
    padding: 13px 18px;
    background: #f1f5f9;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    cursor: pointer;
    transition: all .2s ease;
}

.ratebunny-sticky-write-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    color: #334155;
}

/* ── Spinner ────────────────────────────────────────────────────── */
.ratebunny-drawer-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.ratebunny-spinner-ring {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #10b981;
    border-radius: 50%;
    animation: ratebunnySpinnerSpin .7s linear infinite;
}

@keyframes ratebunnySpinnerSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Form Modal (Full-Screen Bottom Sheet) ──────────────────────── */
.ratebunny-form-modal {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    z-index: 2147483647 !important;
    background: #fff;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 600px;
    height: 95vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, .15);
    opacity: 0;
    visibility: hidden;
    transition: all .35s cubic-bezier(.22, 1, .36, 1);
}

.ratebunny-form-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Form Modal Header */
.ratebunny-form-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.ratebunny-form-back-btn {
    border: none;
    background: none;
    color: #3b82f6;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background .15s ease;
}

.ratebunny-form-back-btn:hover {
    background: #eff6ff;
}

.ratebunny-form-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    text-align: center;
    flex: 1;
}

.ratebunny-form-header-spacer {
    width: 60px;
    /* balance with back btn */
}

/* Form Modal Body */
.ratebunny-form-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px;
    -webkit-overflow-scrolling: touch;
}

.ratebunny-form-modal-body .comment-respond,
.ratebunny-form-modal-body #review_form_wrapper,
.ratebunny-form-modal-body #review_form {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

/* Hide the native submit inside the form (we have our own) */
.ratebunny-form-modal-body #submit,
.ratebunny-form-modal-body input[type="submit"],
.ratebunny-form-modal-body button[type="submit"] {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Form Modal Footer */
.ratebunny-form-modal-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    flex-shrink: 0;
}

.ratebunny-form-cancel-btn {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.ratebunny-form-cancel-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.ratebunny-form-submit-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 2px 10px rgba(16, 185, 129, .3);
}

.ratebunny-form-submit-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 4px 16px rgba(16, 185, 129, .4);
    transform: translateY(-1px);
}

/* ── Mobile Bottom Sheet ────────────────────────────────────────── */
@media (max-width: 768px) {
    .ratebunny-drawer {
        right: 0;
        left: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        height: 98vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .ratebunny-drawer.open {
        transform: translateY(0);
    }

    .ratebunny-form-modal {
        max-width: 100%;
        height: 98vh;
        border-radius: 20px 20px 0 0;
    }
}