/*
Theme Name: Renovate Child
Theme URI: https://example.com/
Description: Child theme for Renovate
Author: Your Name
Author URI: https://example.com/
Template: renovate
Text Domain: renovate
*/

.grecaptcha-badge {
    display: none;
}
.ti-header.ti-header-grid.source-Google {
    display: none !important;
}/* Sticky wrapper */
.ip-sticky-google-badge {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 99999;
}

/* Main badge */
.ip-google-rating-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
    max-width: calc(100vw - 30px);
    padding: 14px 22px;
    background: rgba(28, 28, 28, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #fff;
    box-sizing: border-box;
}

/* Google logo */
.ip-google-logo {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: block;
}

/* Content */
.ip-google-rating-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.ip-google-rating-top {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ip-google-rating {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #fff !important;
}

/* Stars (SVG) */
.ip-google-stars {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
    line-height: 0;
}

.ip-google-stars .ip-google-star {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

.ip-google-review-count {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #e6e6e6 !important;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 600px) {
    .ip-sticky-google-badge {
        left: 10px;
        bottom: 12px;
    }

    .ip-google-rating-badge {
        gap: 10px;
        padding: 10px 14px;
        border-radius: 14px;
    }

    .ip-google-logo {
        width: 24px;
        height: 24px;
    }

    .ip-google-rating {
        font-size: 19px;
    }

    .ip-google-rating-top {
        gap: 6px;
    }

    .ip-google-stars .ip-google-star {
        width: 14px !important;
        height: 14px !important;
    }

    .ip-google-review-count {
        font-size: 10px;
    }
}

/* Before/After slider */
.ip-ba {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    --pos: 50%;
    line-height: 0;
}

.ip-ba .ip-ba-img {
    position: absolute;
    inset: 0;
    margin: 0;
}

.ip-ba .ip-ba-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
    margin: 0 !important;
}

/* Before image left side ma, slider position sudhi dekhay */
.ip-ba .ip-ba-before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

/* Vertical line */
.ip-ba .ip-ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 3px;
    margin-left: -1.5px;
    background: #fff;
    pointer-events: none;
    z-index: 2;
}

/* Gol button */
.ip-ba .ip-ba-handle::after {
    content: "\2194";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    border: 3px solid #fff;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 20px;
    line-height: 38px;
    text-align: center;
}

/* Invisible range input je drag handle kare (mouse ane touch) */
.ip-ba .ip-ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
    -webkit-appearance: none;
    appearance: none;
    touch-action: pan-y;
}

/* Mobile */
@media (max-width: 600px) {
    .ip-ba .ip-ba-handle::after {
        width: 36px;
        height: 36px;
        line-height: 30px;
        font-size: 16px;
    }
}
.ip-ba.ip-ba-single .ip-ba-img {
    position: absolute;
    inset: 0;
}