/**

 * Cherubs Toys - Standalone Customer Reviews Component Stylesheet

 *

 * Provides self-contained, responsive styles for the Blue Ocean Customer Reviews Spotlight.

 * Works seamlessly across Single Product Pages, Homepage, Landing Pages & Elementor templates.

 *

 * @package Woodmart Child

 */



:root {

    --cherubs-rev-font-title: "Fredoka", "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --cherubs-rev-font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --cherubs-rev-primary: #006875;

    --cherubs-rev-secondary: #006d43;

    --cherubs-rev-tertiary: #ea8e00;

}



/* 1. Full-Width Ocean Container Breakout */

.cherubs-ocean-reviews-section {

    position: relative;

    width: 100vw;

    left: 50%;

    right: 50%;

    margin-left: -50vw;

    margin-right: -50vw;

    padding: 60px 0;

    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 40%, #0369a1 100%);

    overflow: hidden;

    z-index: 10;

    box-sizing: border-box;

}



/* Ensure clean edge-to-edge fit inside Elementor full-width containers */

.e-con .cherubs-ocean-reviews-section,

.elementor-element-cherubs_reviews_con .cherubs-ocean-reviews-section {

    width: 100%;

    left: auto;

    right: auto;

    margin-left: 0;

    margin-right: 0;

}



.elementor-element-cherubs_reviews_con,

.e-con:has(.cherubs-ocean-reviews-section) {

    padding: 0 !important;

    margin: 0 !important;

    max-width: 100% !important;

    width: 100% !important;

}



/* 2. Scalloped Wave Cutouts */

.cherubs-ocean-wave-top {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    overflow: hidden;

    line-height: 0;

    pointer-events: none;

    z-index: 5;

}



.cherubs-ocean-wave-bottom {

    position: absolute;

    bottom: 0;

    left: 0;

    width: 100%;

    overflow: hidden;

    line-height: 0;

    pointer-events: none;

    z-index: 5;

}



.cherubs-wave-svg {

    width: 100%;

    height: clamp(32px, 5vw, 56px);

    display: block;

    fill: #ffffff;

    color: #ffffff;

}



/* 3. Section Inner & Responsive Container */

.cherubs-reviews-container {

    max-width: 1240px;

    width: 100%;

    margin: 0 auto;

    padding: 0 20px;

    box-sizing: border-box;

}



.cherubs-ocean-inner {

    position: relative;

    z-index: 10;

    display: flex;

    flex-direction: column;

    align-items: center;

}



/* 4. Mascot Whale */

.cherubs-whale-wrap {

    display: flex;

    flex-direction: column;

    align-items: center;

    margin-bottom: 12px;

}



.cherubs-animate-float-gentle {

    animation: cherubsFloatGentle 4s ease-in-out infinite;

}



@keyframes cherubsFloatGentle {

    0%, 100% { transform: translateY(0px); }

    50% { transform: translateY(-7px); }

}



.cherubs-ocean-pill-check {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background-color: rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.3);

    color: #ffffff;

    font-family: var(--cherubs-rev-font-title);

    font-size: 13px;

    font-weight: 700;

    padding: 4px 16px;

    border-radius: 9999px;

    margin-bottom: 6px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

}



.cherubs-ocean-title {

    font-family: var(--cherubs-rev-font-title) !important;

    font-size: clamp(1.8rem, 3.5vw, 2.75rem) !important;

    font-weight: 700 !important;

    color: #ffffff !important;

    margin: 4px 0 6px !important;

    text-shadow: 0 4px 12px rgba(2, 132, 199, 0.5);

    text-align: center;

    line-height: 1.2 !important;

}



.cherubs-ocean-subtitle {

    font-family: var(--cherubs-rev-font-body);

    font-size: 15px;

    color: #e0f2fe;

    text-align: center;

    max-width: 620px;

    margin: 0 auto 20px;

    line-height: 1.5;

}



/* 5. Trust Pills Ribbon */

.cherubs-ocean-ribbon-pills {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-bottom: 32px;

}



.cherubs-ocean-pill {

    background-color: #ffffff;

    color: var(--cherubs-rev-primary);

    font-family: var(--cherubs-rev-font-title);

    font-size: 12px;

    font-weight: 700;

    padding: 6px 16px;

    border-radius: 9999px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.1);

    display: inline-flex;

    align-items: center;

    gap: 6px;

    transition: transform 0.2s ease;

    white-space: nowrap;

}



.cherubs-ocean-pill:hover {

    transform: scale(1.05);

}



.cherubs-ocean-pill.pill-green {

    color: var(--cherubs-rev-secondary);

}



.cherubs-ocean-pill.pill-marketplace {

    background-color: #e0f2fe;

    color: #0369a1;

}

.cherubs-ocean-pill.pill-amber {

    background-color: #ffdcbc;

    color: #2c1700;

}



/* 6. Review Showcase Slider & Track */
.cherubs-reviews-slider-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
}

.cherubs-showcase-reviews-grid {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 18px;
    width: 100%;
    margin-bottom: 0 !important;
    padding: 10px 4px 20px !important;
    box-sizing: border-box;
    scrollbar-width: none;
}

.cherubs-showcase-reviews-grid::-webkit-scrollbar {
    display: none;
}

/* 7. Individual Review Card */
.cherubs-review-card {
    flex: 0 0 calc((100% - (3 * 18px)) / 4) !important;
    min-width: calc((100% - (3 * 18px)) / 4) !important;
    max-width: calc((100% - (3 * 18px)) / 4) !important;
    scroll-snap-align: start;
    background-color: #ffffff;
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(3, 105, 161, 0.18);
    border: 3px solid #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.cherubs-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(3, 105, 161, 0.28);
}

/* Nav Buttons: Soft circular floating arrows */
.cherubs-reviews-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #0284c7;
    border: none;
    box-shadow: 0 4px 14px rgba(3, 105, 161, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

.cherubs-reviews-nav:hover {
    background-color: #f0f9ff;
    color: #0369a1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(3, 105, 161, 0.35);
}

.cherubs-reviews-nav:active {
    transform: translateY(-50%) scale(0.96);
}

.cherubs-reviews-prev {
    left: -22px;
}

.cherubs-reviews-next {
    right: -22px;
}

@media (max-width: 1280px) {
    .cherubs-reviews-prev {
        left: -8px;
    }
    .cherubs-reviews-next {
        right: -8px;
    }
}

@media (max-width: 1024px) {
    .cherubs-showcase-reviews-grid {
        gap: 16px;
    }
    .cherubs-review-card {
        flex: 0 0 calc((100% - 16px) / 2) !important;
        min-width: calc((100% - 16px) / 2) !important;
        max-width: calc((100% - 16px) / 2) !important;
    }
}

@media (max-width: 768px) {
    .cherubs-reviews-slider-wrap {
        margin-bottom: 20px;
    }
    .cherubs-showcase-reviews-grid {
        gap: 14px !important;
        padding: 6px 4px 18px !important;
    }
    .cherubs-review-card {
        flex: 0 0 84% !important;
        min-width: 270px !important;
        max-width: 320px !important;
        scroll-snap-align: center !important;
    }
    .cherubs-reviews-nav {
        width: 38px;
        height: 38px;
    }
    .cherubs-reviews-prev {
        left: 2px;
    }
    .cherubs-reviews-next {
        right: 2px;
    }
}

/* Washi Tape Header Badges with Curved Edges */

.cherubs-washi-tape {

    align-self: center;

    font-family: var(--cherubs-rev-font-title);

    font-size: 11px;

    font-weight: 800;

    padding: 4px 14px;

    border-radius: 9999px;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    z-index: 10;

    box-shadow: 0 2px 6px rgba(0,0,0,0.06);

    white-space: nowrap;

    margin-bottom: 8px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

}



.cherubs-washi-amazon {

    background-color: #fef3c7;

    color: #78350f;

}



.cherubs-washi-flipkart {

    background-color: #e0f2fe;

    color: #0369a1;

}



.cherubs-washi-whatsapp {

    background-color: #dcfce7;

    color: #166534;

}



.cherubs-washi-insta,

.cherubs-washi-instagram {

    background-color: #fce7f3;

    color: #9d174d;

}



.cherubs-washi-gift {

    background-color: #bae6fd;

    color: #0369a1;

}



.cherubs-washi-custom {

    background-color: #ffedd5;

    color: #9a3412;

}



/* Complete Image Showcase Container with Curved Edges */

.cherubs-review-photo-wrapper {

    width: 100%;

    height: 440px;

    border-radius: 18px;

    overflow: hidden;

    background: #f8fafc;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(226, 232, 240, 0.8);

    box-sizing: border-box;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

}



@media (max-width: 768px) {

    .cherubs-review-photo-wrapper {

        height: 380px;

    }

}



.cherubs-review-photo-wrapper img {

    max-width: 100%;

    max-height: 100%;

    width: auto;

    height: auto;

    object-fit: contain;

    display: block;

    border-radius: 16px;

    transition: transform 0.25s ease;

}



.cherubs-review-card:hover .cherubs-review-photo-wrapper img {

    transform: scale(1.02);

}



/* Simple Clean Footer & Details (Only rendered when info is provided) */

.cherubs-review-card-footer-simple {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 10px;

    padding-top: 8px;

    border-top: 1px solid #f1f5f9;

    font-size: 12px;

    box-sizing: border-box;

}



.cherubs-rev-author-name {

    font-family: var(--cherubs-rev-font-title);

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

    margin: 0;

    line-height: 1.2;

}



.cherubs-rev-stars {

    color: #ea8e00;

    font-size: 12px;

    letter-spacing: 1px;

}



.cherubs-rev-badge-tag {

    font-size: 10.5px;

    font-weight: 700;

    color: #059669;

    background: #dcfce7;

    padding: 2px 8px;

    border-radius: 9999px;

}



/* Review Quote Box */

.cherubs-review-quote-box {

    display: none !important;

}



/* 8. Community Story Callout Ribbon */

.cherubs-community-callout {

    width: 100%;

    max-width: 960px;

    background-color: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    border-radius: 22px;

    padding: 16px 20px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.1);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    border: 1px solid rgba(255, 255, 255, 0.8);

    box-sizing: border-box;

}



@media (max-width: 768px) {

    .cherubs-community-callout {

        flex-direction: column;

        text-align: center;

        padding: 16px 14px;

    }

}



.cherubs-community-left {

    display: flex;

    align-items: center;

    gap: 14px;

}



@media (max-width: 768px) {

    .cherubs-community-left {

        flex-direction: column;

        gap: 8px;

    }

}



.cherubs-community-mail-icon {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    background-color: #fce7f3;

    color: #db2777;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

    flex-shrink: 0;

}



.cherubs-community-heading {

    font-family: var(--cherubs-rev-font-title);

    font-size: 15px;

    font-weight: 700;

    color: #1e293b;

    margin: 0;

}



.cherubs-community-subtext {

    font-family: var(--cherubs-rev-font-body);

    font-size: 12.5px;

    color: #64748b;

    margin: 2px 0 0;

}



.cherubs-community-actions {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;

}



.cherubs-btn-insta-share {

    background-color: #e2e8f0;

    color: var(--cherubs-rev-primary);

    font-family: var(--cherubs-rev-font-title);

    font-size: 12px;

    font-weight: 700;

    padding: 8px 16px;

    border-radius: 9999px;

    text-decoration: none;

    transition: all 0.2s ease;

    white-space: nowrap;

}



.cherubs-btn-insta-share:hover {

    background-color: #cbd5e1;

    color: var(--cherubs-rev-primary);

}



.cherubs-btn-wa-share {

    background-color: var(--cherubs-rev-secondary);

    color: #ffffff !important;

    font-family: var(--cherubs-rev-font-title);

    font-size: 12px;

    font-weight: 700;

    padding: 8px 16px;

    border-radius: 9999px;

    text-decoration: none;

    transition: all 0.2s ease;

    white-space: nowrap;

}



.cherubs-btn-wa-share:hover {

    background-color: #004d2e;

    color: #ffffff !important;

}

