.yar {
    --yar-accent: #bc6f45;
    --yar-text: #262626;
    --yar-muted: #77736f;
    --yar-border: #e9e3dd;
    --yar-bg: #fff;
    --yar-soft: #f8f5f1;
    color: var(--yar-text);
    font-family: inherit;
    position: relative;
}

.yar *,
.yar *::before,
.yar *::after {
    box-sizing: border-box;
}

.yar .screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.yar-heading {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: 0 0 30px;
}

.yar-title {
    color: inherit;
    font: inherit;
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 600;
    line-height: 1.12;
    margin: 0 0 10px;
}

.yar-summary {
    align-items: center;
    color: var(--yar-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 9px;
}

.yar-summary strong {
    color: var(--yar-text);
    font-size: 18px;
}

.yar-stars {
    color: #f5a623;
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}

.yar-all-link,
.yar-load-more {
    align-items: center;
    background: var(--yar-accent);
    border: 1px solid var(--yar-accent);
    border-radius: 6px;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
    min-height: 46px;
    padding: 10px 15px;
    text-decoration: none !important;
    transition: opacity .2s ease, transform .2s ease;
}

.yar-all-link:hover,
.yar-load-more:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.yar-swiper {
    overflow: hidden;
    padding: 2px 2px 36px;
    position: relative;
    touch-action: pan-y;
}

.yar .swiper-wrapper {
    box-sizing: content-box;
    display: flex;
    height: 100%;
    position: relative;
    transition-property: transform;
    width: 100%;
    z-index: 1;
}

.yar .swiper-wrapper {
    align-items: stretch;
}

.yar .swiper-slide {
    display: flex;
    flex-shrink: 0;
    height: auto;
    position: relative;
    transition-property: transform;
    width: 100%;
}

.yar-card {
    background: var(--yar-bg);
    border: 1px solid var(--yar-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(48, 37, 28, .06);
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
}

.yar-card-head {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    min-width: 0;
}

.yar-avatar {
    background: var(--yar-soft);
    border-radius: 50%;
    flex: 0 0 48px;
    height: 48px;
    object-fit: cover;
    width: 48px;
}

.yar-avatar-fallback {
    align-items: center;
    color: var(--yar-accent);
    display: inline-flex;
    font-size: 20px;
    font-weight: 600;
    justify-content: center;
    text-transform: uppercase;
}

.yar-author-wrap {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.yar-author {
    color: var(--yar-text);
    font-size: 16px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yar-author-wrap time {
    color: var(--yar-muted);
    font-size: 13px;
    margin-top: 3px;
}

.yar-card-stars {
    align-self: flex-start;
    flex: 0 0 auto;
    font-size: 14px;
}

.yar-text {
    color: var(--yar-text);
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.yar-card-footer {
    border-top: 1px solid var(--yar-border);
    margin-top: auto;
    padding-top: 18px;
}

.yar-card-footer a,
.yar-source-footer a {
    color: var(--yar-muted);
    font-size: 13px;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: color .2s ease, text-decoration-color .2s ease;
}

.yar-card-footer a:hover,
.yar-source-footer a:hover {
    color: var(--yar-accent);
    text-decoration-color: currentColor;
}

.yar-carousel-controls {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 10px;
}

.yar-nav {
    align-items: center;
    background: var(--yar-bg);
    border: 1px solid var(--yar-border);
    border-radius: 50%;
    color: var(--yar-text);
    cursor: pointer;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    padding: 0;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
    width: 46px;
}

.yar-nav::before {
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: '';
    height: 9px;
    width: 9px;
}

.yar-prev::before {
    transform: rotate(-135deg) translate(-1px, 1px);
}

.yar-next::before {
    transform: rotate(45deg) translate(-1px, 1px);
}

.yar-nav:hover {
    background: var(--yar-accent);
    border-color: var(--yar-accent);
    color: #fff;
}

.yar-nav.swiper-button-disabled {
    cursor: default;
    opacity: .35;
}

.yar .yar-pagination.swiper-pagination {
    bottom: 3px;
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 10;
}

.yar .swiper-pagination-bullet {
    background: #b8b1aa;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 8px;
    margin: 0 5px;
    opacity: .65;
    width: 8px;
}

.yar .swiper-pagination-bullet-active {
    background: var(--yar-accent);
}

.yar-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(var(--yar-columns, 3), minmax(0, 1fr));
}

.yar-grid-item {
    display: flex;
}

.yar-grid-item[hidden] {
    display: none !important;
}

.yar-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.yar-source-footer {
    margin-top: 22px;
    text-align: center;
}

.yar-empty {
    background: #fff8e5;
    border: 1px solid #e8d49b;
    border-radius: 8px;
    padding: 14px 16px;
}

.yar-review-form-wrap {
    --yar-accent: #bc6f45;
    --yar-text: #262626;
    --yar-muted: #77736f;
    --yar-border: #e9e3dd;
    --yar-bg: #fff;
    background: var(--yar-bg);
    border: 1px solid var(--yar-border);
    border-radius: 18px;
    color: var(--yar-text);
    font-family: inherit;
    margin: 0 0 30px;
    overflow: hidden;
}

.yar-review-form-wrap > summary {
    list-style: none;
}

.yar-review-form-wrap > summary::-webkit-details-marker {
    display: none;
}

.yar-review-form-toggle {
    align-items: center;
    background: var(--yar-accent);
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: 600;
    justify-content: space-between;
    min-height: 54px;
    padding: 14px 22px;
}

.yar-review-form-toggle::after {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: '';
    height: 9px;
    margin-left: 16px;
    transform: rotate(45deg) translateY(-3px);
    transition: transform .2s ease;
    width: 9px;
}

.yar-review-form-wrap[open] .yar-review-form-toggle::after {
    transform: rotate(225deg) translate(-2px, -1px);
}

.yar-review-form-panel {
    padding: 24px;
}

.yar-review-form-intro {
    color: var(--yar-muted);
    margin: 0 0 20px;
}

.yar-review-form,
.yar-form-field {
    display: flex;
    flex-direction: column;
}

.yar-form-row {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yar-form-field {
    gap: 7px;
}

.yar-form-field > span,
.yar-rating-field legend {
    font-size: 14px;
    font-weight: 600;
}

.yar-form-field b,
.yar-rating-field b {
    color: #c63434;
}

.yar-form-field small,
.yar-form-note {
    color: var(--yar-muted);
    font-size: 12px;
    font-weight: 400;
}

.yar-form-field input,
.yar-form-field textarea {
    background: #fff;
    border: 1px solid var(--yar-border);
    border-radius: 9px;
    color: var(--yar-text);
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    min-height: 46px;
    padding: 10px 13px;
    width: 100%;
}

.yar-form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.yar-form-field input:focus,
.yar-form-field textarea:focus {
    border-color: var(--yar-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--yar-accent) 18%, transparent);
    outline: none;
}

.yar-rating-field {
    border: 0;
    margin: 20px 0;
    padding: 0;
}

.yar-rating-options {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-top: 8px;
    width: max-content;
}

.yar-rating-options input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.yar-rating-options label {
    color: #d5d0cb;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 31px;
    line-height: 1;
    padding: 0 3px;
    transition: color .15s ease, transform .15s ease;
}

.yar-rating-options input:checked ~ label,
.yar-rating-options label:hover,
.yar-rating-options label:hover ~ label {
    color: #f5a623;
}

.yar-rating-options label:hover {
    transform: scale(1.08);
}

.yar-rating-options input:focus-visible + label {
    border-radius: 4px;
    outline: 2px solid var(--yar-accent);
    outline-offset: 2px;
}

.yar-form-text {
    margin-bottom: 17px;
}

.yar-consent {
    align-items: flex-start;
    display: flex;
    font-size: 13px;
    gap: 9px;
    line-height: 1.45;
}

.yar-consent input {
    flex: 0 0 auto;
    height: 16px;
    margin: 2px 0 0;
    width: 16px;
}

.yar-consent a {
    color: var(--yar-accent);
}

.yar-form-note {
    margin: 12px 0 18px;
}

.yar-form-submit {
    align-items: center;
    align-self: flex-start;
    background: var(--yar-accent);
    border: 1px solid var(--yar-accent);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
    min-height: 46px;
    padding: 10px 24px;
}

.yar-form-submit:hover {
    opacity: .88;
}

.yar-form-message {
    border: 1px solid;
    border-radius: 9px;
    margin: 0 0 18px;
    padding: 12px 14px;
}

.yar-form-success {
    background: #effaf2;
    border-color: #a9d9b4;
    color: #236b34;
}

.yar-form-error {
    background: #fff2f2;
    border-color: #e5b2b2;
    color: #942626;
}

.yar-honeypot {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.yar-rating-badge {
    align-items: stretch;
    background: #fff;
    border: 1px solid #ff8d54;
    color: #777 !important;
    display: inline-flex;
    font-family: Arial, sans-serif;
    line-height: 1.15;
    text-decoration: none !important;
}

.yar-rating-badge-score {
    align-items: center;
    background: #ff9158;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 64px;
    padding: 7px 8px 6px;
}

.yar-rating-badge-value {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.yar-rating-badge-stars {
    align-items: center;
    display: flex;
    gap: 1px;
    justify-content: center;
    margin-top: 4px;
}

.yar-rating-star {
    display: block;
    fill: transparent;
    stroke: rgba(255, 255, 255, .58);
    stroke-width: 1.8;
}

.yar-rating-star.is-filled {
    fill: #fff;
    stroke: #fff;
}

.yar-rating-badge-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 88px;
    padding: 6px 10px;
}

.yar-rating-badge-info strong {
    color: #ff8d54;
    font-size: 12px;
    font-weight: 600;
}

.yar-rating-badge-info small {
    color: #777;
    font-size: 11px;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .yar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 679px) {
    .yar-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .yar-title {
        font-size: 30px;
    }

    .yar-grid {
        grid-template-columns: 1fr;
    }

    .yar-card {
        border-radius: 16px;
        padding: 20px;
    }

    .yar-card-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .yar-card-stars {
        margin-left: 60px;
        margin-top: -9px;
        width: 100%;
    }

    .yar-form-row {
        grid-template-columns: 1fr;
    }

    .yar-review-form-panel {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yar *,
    .yar *::before,
    .yar *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
