#yfcr-reviews {
    --yfcr-primary: var(--colorPrimary, #09687e);
    --yfcr-accent: var(--colorSecondary, #d25d3c);
    --yfcr-bg: var(--colorBg, #f2f9ff);
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    overflow: clip;
    padding: clamp(30px, 5vw, 64px) 16px clamp(28px, 4vw, 49px);
    background: var(--yfcr-bg);
    background: radial-gradient(ellipse at 50% 58%, color-mix(in srgb, var(--yfcr-primary) 17%, white), var(--yfcr-bg) 70%);
    font-family: inherit;
    color: #183844;
    border-top: 1px solid #dce9ee;
}

#yfcr-reviews *, #yfcr-reviews *::before { box-sizing: inherit; }
#yfcr-reviews [hidden] { display: none !important; }
#yfcr-reviews::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 20% 0 0;
    transform: perspective(460px) rotateX(54deg);
    background-image: linear-gradient(#09687e1b 1px, transparent 1px), linear-gradient(90deg, #09687e1b 1px, transparent 1px);
    background-size: 49px 49px;
    mask-image: radial-gradient(ellipse, #000 4%, transparent 66%);
    pointer-events: none;
}

#yfcr-reviews .yfcr-inner { max-width: 1050px; margin: 0 auto; }
#yfcr-reviews .yfcr-heading { text-align: center; margin-bottom: 18px; }
#yfcr-reviews .yfcr-heading h2 {
    margin: 0 0 6px;
    font: inherit;
    font-size: clamp(25px, 4vw, 41px);
    font-weight: 800;
    line-height: 1.45;
    color: var(--yfcr-primary);
}
#yfcr-reviews .yfcr-heading p { margin: 0; font-size: 13px; color: #3c5d69; }
#yfcr-reviews .yfcr-stage { display: grid; gap: 14px; width: min(100%, 530px); margin: 0 auto; }
#yfcr-reviews .yfcr-card {
    display: flex;
    flex-direction: column;
    padding: clamp(14px, 3vw, 23px);
    gap: 12px;
    border: 1px solid #d9e9ee;
    border-top: 4px solid var(--yfcr-primary);
    border-radius: 19px;
    background: linear-gradient(155deg, #fff, #f9fcfd);
    box-shadow: 0 5px 0 #bed4db, 0 12px 26px #163f552b;
    min-width: 0;
}
#yfcr-reviews .yfcr-buyer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#yfcr-reviews .yfcr-buyer > div:first-of-type { flex: 1 1 115px; min-width: 0; }
#yfcr-reviews .yfcr-buyer strong { display: block; line-height: 1.55; font-size: 14px; overflow-wrap: anywhere; }
#yfcr-reviews .yfcr-avatar { object-fit: cover; border-radius: 50%; flex: 0 0 42px; width: 42px; height: 42px; }
#yfcr-reviews .yfcr-verified { color: #176749; font-size: 11px; }
#yfcr-reviews .yfcr-rating { margin-inline-start: auto; direction: ltr; color: #995019; font: 19px/1.1 sans-serif; letter-spacing: 1px; white-space: nowrap; }
#yfcr-reviews .yfcr-text { margin: 0 0 auto; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
#yfcr-reviews .yfcr-product { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 7px 10px; border-radius: 9px; background: var(--yfcr-bg); color: var(--yfcr-primary); font-size: 12px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
#yfcr-reviews .yfcr-product:hover { text-decoration: underline; }
#yfcr-reviews .yfcr-controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 19px; }
#yfcr-reviews .yfcr-controls button { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--yfcr-primary); color: var(--yfcr-primary); background: white; font: 21px/1 sans-serif; cursor: pointer; }
#yfcr-reviews .yfcr-controls button:hover { color: white; background: var(--yfcr-primary); }
#yfcr-reviews .yfcr-controls button:focus-visible, #yfcr-reviews .yfcr-product:focus-visible { outline: 2px solid var(--yfcr-accent); outline-offset: 3px; }
#yfcr-reviews .yfcr-position { min-width: 85px; color: #325661; text-align: center; font-size: 12px; }
#yfcr-reviews.is-ready .yfcr-stage { gap: 0; perspective: 985px; touch-action: pan-y; }
#yfcr-reviews.is-ready .yfcr-card { grid-area: 1 / 1; visibility: hidden; transition: transform .5s cubic-bezier(.2,.75,.3,1), filter .45s; }
#yfcr-reviews.is-ready .yfcr-card[data-slot] { visibility: visible; }
#yfcr-reviews.is-ready .yfcr-card[data-slot="active"] { z-index: 2; }
#yfcr-reviews.is-ready .yfcr-card[data-slot="prev"],
#yfcr-reviews.is-ready .yfcr-card[data-slot="next"] { pointer-events: none; filter: brightness(.87); }
#yfcr-reviews.is-ready .yfcr-card[data-slot="prev"] { transform: translateX(clamp(44px, 18vw, 198px)) translateZ(-150px) rotateY(-24deg); }
#yfcr-reviews.is-ready .yfcr-card[data-slot="next"] { transform: translateX(clamp(-198px, -18vw, -44px)) translateZ(-150px) rotateY(24deg); }

@media (max-width: 575px) {
    #yfcr-reviews { padding-inline: 12px; }
    #yfcr-reviews .yfcr-card { padding: 15px; }
    #yfcr-reviews .yfcr-rating { font-size: 17px; }
    #yfcr-reviews.is-ready .yfcr-stage { width: min(calc(100% - 20px), 435px); }
    #yfcr-reviews.is-ready .yfcr-card[data-slot="prev"] { transform: translateX(40px) translateZ(-150px) rotateY(-22deg); }
    #yfcr-reviews.is-ready .yfcr-card[data-slot="next"] { transform: translateX(-40px) translateZ(-150px) rotateY(22deg); }
}
@media (prefers-reduced-motion: reduce) {
    #yfcr-reviews.is-ready .yfcr-card { transition: none; }
}
