/**
 * Product category archive — customer Google reviews block (archive-product.php).
 * Kept out of SCSS per project preference; loads only on product_cat archives.
 */

/* Four cards in one row (overrides theme _pages.scss 991px / 767px column rules). */
.customer-say-block .reviews .wp-block-columns {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.customer-say-block .reviews .wp-block-columns .wp-block-column {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
}

@media only screen and (max-width: 767px) {
    .customer-say-block .reviews .wp-block-columns {
        flex-wrap: wrap !important;
    }

    .customer-say-block .reviews .wp-block-columns .wp-block-column {
        flex: 1 1 100% !important;
    }
}

.customer-say-block h2 {
    color: #222;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.customer-say-block .ti-inner {
    position: relative;
}

.customer-say-block .ti-inner > .g-icon-op {
    position: absolute !important;
    top: 10px;
    right: 10px;
    left: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 1;
    float: none;
    background: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-say-block .ti-profile-img .yc-crg-user-photo,
.customer-say-block .ti-profile-img .yc-crg-avatar-initial {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.customer-say-block .ti-profile-img .yc-crg-avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
}

@media only screen and (max-width: 991px) {
    .customer-say-block h2 {
        font-size: 20px;
    }
}

/* Hide Yummycake brand marks if they still appear as avatars in this block. */
.customer-say-block .ti-inner img[src*='yummycake-logo' i],
.customer-say-block .ti-inner img[src*='yummycake_logo' i],
.customer-say-block .ti-inner img[src*='yummycake-logo-1' i],
.customer-say-block .ti-inner img[src*='use-of-brand-icon' i],
.customer-say-block .ti-inner img[src*='/themes/yummycake' i] {
    display: none !important;
}
