/**
 * Frontend styles для Minimal Logo — футер с рейтингом и логотипом места + слайдер.
 */

.strix-widget-container.strix-style-minimal-logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.strix-widget-container.strix-style-minimal-logo .strix-footer {
    padding: 2rem;
    border-radius: var(--strix-radius) 0 0 var(--strix-radius);
    min-width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.strix-widget-container.strix-style-minimal-logo .strix-place-logo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}
.strix-widget-container.strix-style-minimal-logo .strix-place-logo-wrap .strix-place-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}
.strix-widget-container.strix-style-minimal-logo .strix-place-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--strix-primary, #1a73e8);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strix-widget-container.strix-style-minimal-logo .strix-fade-container {
    text-align: center;
}
.strix-widget-container.strix-style-minimal-logo .strix-footer .strix-rating-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35em 0.5em;
}
.strix-widget-container.strix-style-minimal-logo .strix-header-rating,
.strix-widget-container.strix-style-minimal-logo .strix-footer .ti-header-rating {
    font-size: 1.7rem;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
}
.strix-widget-container.strix-style-minimal-logo .strix-rating-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 1px;
}
.strix-widget-container.strix-style-minimal-logo .strix-stars.star-lg {
    display: flex;
    justify-content: center;
    gap: 2px;
}
.strix-widget-container.strix-style-minimal-logo .strix-stars.star-lg .strix-star {
    width: 40px;
    height: 40px;
}
.strix-widget-container.strix-style-minimal-logo .strix-rating-text .nowrap {
    color: #000;
    font-size: 0.9rem;
}
.strix-widget-container.strix-style-minimal-logo .strix-v-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.strix-widget-container.strix-style-minimal-logo .strix-logo-fb {
    max-width: 110px;
    height: auto;
}

.strix-widget-container.strix-style-minimal-logo .strix-reviews-container-minimal {
    flex: 1 1 auto;
    position: relative;
    min-height: 280px;
    min-width: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.strix-widget-container.strix-style-minimal-logo .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-logo .strix-next,
.strix-widget-container.strix-style-minimal-logo .strix-prev {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.95);
    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: #333;
    position: relative;
}

.strix-widget-container.strix-style-minimal-logo .strix-next {
    right: 1.1vw;
}
.strix-widget-container.strix-style-minimal-logo .strix-prev {
    left: -1.1vw;
}

.strix-widget-container.strix-style-minimal-logo .strix-next:hover,
.strix-widget-container.strix-style-minimal-logo .strix-prev:hover {
    background: #f6bb06;
    color: white;
    transform: scale(1.1);
}

.strix-widget-container.strix-style-minimal-logo .strix-next::after,
.strix-widget-container.strix-style-minimal-logo .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-logo .strix-next::after {
    background-image: url("../../assets/images/right-chevron.svg");
}
.strix-widget-container.strix-style-minimal-logo .strix-prev::after {
    background-image: url("../../assets/images/left-chevron.svg");
}

.strix-widget-container.strix-style-minimal-logo .strix-controls-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--strix-border-light);
    margin: 0 1vw 1vw 0vw;
}
.strix-widget-container.strix-style-minimal-logo .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-logo {
        flex-direction: column;
    }
    .strix-widget-container.strix-style-minimal-logo .strix-footer {
        border-radius: var(--strix-radius) var(--strix-radius) 0 0;
        border-right: none;
        min-width: auto;
        width: 100%;
    }
    .strix-widget-container.strix-style-minimal-logo .strix-reviews-container-minimal {
        min-height: 250px;
        width: 100%;
    }
    .strix-widget-container.strix-style-minimal-logo .strix-next {
        right: 3.2vw;
    }
    .strix-widget-container.strix-style-minimal-logo .strix-prev {
        left: 1.8vw;
    }
    .strix-widget-container.strix-style-minimal-logo .strix-controls-line {
        margin: 0 8vw 3vw 8vw;
    }
}
