/**
 * Frontend styles for minimal-plus-header slider only.
 */

.strix-widget.strix-style-minimal-plus-header {
    border: none;
    background: transparent;
    box-shadow: none;
}

.strix-widget.strix-style-minimal-plus-header .strix-reviews-container.strix-static-reviews {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.strix-widget-container.strix-style-minimal-plus-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: none;
    border-radius: 10px;
    box-shadow: 0 12px 34px rgba(22, 27, 29, 0.08);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-footer.strix-footer-grid.source-Google {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 0;
    flex-shrink: 0;
    padding: 14px 35px;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(227, 228, 230, 0.9);
    box-sizing: border-box;
    overflow: hidden;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-reviews-container-minimal {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    position: relative;
    box-sizing: border-box;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-fade-container.strix-header-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.65rem 1rem;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-large-logo {
    min-width: 0;
    flex: 0 1 auto;
    max-width: 100%;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-write-review-btn {
    margin-left: 0;
    flex: 0 0 auto;
    padding: 0.45em 0.85em;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1d2327;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fa 100%);
    border: 1px solid rgba(29, 35, 39, 0.2);
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(22, 27, 29, 0.08);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    appearance: none;
    font-family: inherit;
    line-height: 1.3;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-write-review-btn[disabled],
.strix-widget-container.strix-style-minimal-plus-header .strix-write-review-btn[aria-disabled="true"] {
    cursor: default;
    opacity: 0.6;
    pointer-events: none;
}
.strix-widget.strix-text-light .strix-widget-container.strix-style-minimal-plus-header .strix-write-review-btn:hover {
    background: #1d2327;
    color: #fff;
}

.strix-widget.strix-text-dark .strix-widget-container.strix-style-minimal-plus-header .strix-write-review-btn:hover {
    background: #e8eaed;
    color: var(--strix-text);
}

/* Light text on dark surfaces — match admin preview chrome */
.strix-widget.strix-text-light .strix-widget-container.strix-style-minimal-plus-header {
    /* background: #1d2327; */
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
}

.strix-widget.strix-text-light .strix-widget-container.strix-style-minimal-plus-header .strix-footer.strix-footer-grid.source-Google {
    background: linear-gradient(145deg, #2c3338 0%, #252b30 100%);
    border-bottom-color: #3c434a;
}

.strix-widget.strix-text-light .strix-widget-container.strix-style-minimal-plus-header .strix-rating.strix-rating-large,
.strix-widget.strix-text-light.strix-style-minimal-plus-header .strix-widget-container.strix-style-minimal-plus-header .strix-rating-large {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: #f0f0f1 !important;
}

.strix-widget.strix-text-light .strix-widget-container.strix-style-minimal-plus-header .strix-write-review-btn {
    color: #f0f0f1;
    background: #3c434a;
    border-color: #8c8f94;
    box-shadow: none;
}

.strix-widget.strix-text-light .strix-widget-container.strix-style-minimal-plus-header .strix-review-item {
    background: #2c3338;
    border-color: #3c434a;
}

.strix-widget.strix-text-light .strix-widget-container.strix-style-minimal-plus-header .strix-next,
.strix-widget.strix-text-light .strix-widget-container.strix-style-minimal-plus-header .strix-prev {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.28);
}

.strix-widget-container.strix-style-minimal-plus-header .strix-rating-reviews {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-rating-reviews .strix-reviews-sep {
    color: var(--strix-text-muted, #666);
    font-weight: 400;
    margin: 0 0.25em;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-rating-text .strix-header-rating,
.strix-widget-container.strix-style-minimal-plus-header .strix-rating-text .ti-header-rating {
    font-size: 1rem;
    font-weight: 600;
    color: var(--strix-text);
    line-height: 1.2;
}
.strix-widget-container.strix-style-minimal-plus-header .strix-rating.strix-rating-large,
.strix-widget.strix-style-minimal-plus-header .strix-widget-container.strix-style-minimal-plus-header .strix-rating-large {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    background: linear-gradient(135deg, #1d2327 0%, #4b5563 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-stars.star-lg {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 3px;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-stars.star-lg .strix-star {
    width: 18px;
    height: 18px;
    display: block;
}
.strix-widget-container.strix-style-minimal-plus-header .strix-rating-text .nowrap {
    color: var(--strix-text);
    font-size: 1rem;
}
.strix-widget-container.strix-style-minimal-plus-header .strix-v-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.strix-widget-container.strix-style-minimal-plus-header .strix-logo-fb {
    max-width: 88px;
    width: auto !important;
    height: 34px !important;
    max-height: 34px;
    object-fit: contain;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-rating-text {
    flex: 0 1 auto;
    min-width: 0;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-reviews-container-wrapper {
    max-width: 100% !important;
    width: 100%; 
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 1vw;
    padding-bottom: 2vw;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
}
.strix-style-minimal-plus-header .strix-minimal-pages {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.35s ease;
    will-change: transform;
}
.strix-widget-container.strix-style-minimal-plus-header .strix-minimal-pages,
.strix-minimal-four .strix-minimal-pages {
    flex-shrink: 0;
}
.strix-minimal-four .strix-reviews-container-wrapper {
    padding-left: 0;
    padding-right: 0;
}

.strix-minimal-four .strix-review-item {
    display: flex;
    width: 100%;
    min-height: 200px;
    border-radius: 20px;
    padding: 10px;
}

.strix-minimal-four .strix-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-controls {
    position: absolute;
    width: 100%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-next,
.strix-widget-container.strix-style-minimal-plus-header .strix-prev {
    width: 30px;
    height: 30px;
    background: rgb(255 255 255 / 50%);
    border: 1px solid var(--strix-border);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--strix-transition);
    box-shadow: var(--strix-shadow);
    color: var(--strix-text);
    position: relative;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-next {
    right: 0vw;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-prev {
    left: 0vw;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-next:hover,
.strix-widget-container.strix-style-minimal-plus-header .strix-prev:hover {
    background: #f6bb06;
    border-color: #f6bb06;
   
}

.strix-widget-container.strix-style-minimal-plus-header .strix-next::after,
.strix-widget-container.strix-style-minimal-plus-header .strix-prev::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-next::after {
    background-image: url("../../assets/images/right-chevron.svg");
}

.strix-widget-container.strix-style-minimal-plus-header .strix-prev::after {
    background-image: url("../../assets/images/left-chevron.svg");
}

.strix-widget-container.strix-style-minimal-plus-header .strix-controls-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--strix-border-light);
    margin: 0 1vw 1vw 0vw;
    transform: scaleX(0.25);
    transform-origin: center bottom;
}

.strix-widget-container.strix-style-minimal-plus-header .strix-controls-line .strix-minimal-dot {
    position: absolute;
    height: 100%;
    background: #f6bb06;
    transition: left 0.3s ease, width 0.3s ease;
}

@media (max-width: 768px) {
    .strix-widget-container.strix-style-minimal-plus-header .strix-controls {
        display: none !important;
    }
    .strix-minimal-four .strix-review-item{
        padding: 3vw;
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-footer.strix-footer-grid.source-Google {
        padding: 12px 16px;
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-fade-container.strix-header-row {
        gap: 0.5rem 0.8rem;
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-logo-fb {
        max-width: 72px;
        height: 28px !important;
        max-height: 28px;
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-rating.strix-rating-large,
    .strix-widget.strix-style-minimal-plus-header .strix-widget-container.strix-style-minimal-plus-header .strix-rating-large {
        font-size: 1.05rem !important;
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-reviews-container-minimal {
        min-height: 250px;
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-reviews-container-wrapper {
        width: 100%;
        overflow: hidden;
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-minimal-pages {
        gap: 15px;
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-minimal-pages .strix-minimal-page {
        flex-shrink: 0;
    }
    .strix-minimal-four .strix-reviews-container-wrapper {
        width: 100%;
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-next,
    .strix-widget-container.strix-style-minimal-plus-header .strix-prev {
        filter: opacity(0.5);
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-next {
        right: 3.2vw;
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-prev {
        left: 1.8vw;
    }
    .strix-widget-container.strix-style-minimal-plus-header .strix-controls-line {
        margin: 0 auto;
        width: 29vw;
    }
}
