/* Aphrodite Trust Testimonials Slider */
.atts-section{
    --atts-gap:22px;
    background:var(--atts-bg);
    padding:58px 20px 46px;
    overflow:hidden;
    font-family:inherit;
}
.atts-header{text-align:center;margin:0 auto 42px;max-width:760px}
.atts-header h2{margin:0 0 18px;font-size:clamp(28px,3vw,42px);font-weight:800;letter-spacing:-.03em;color:var(--atts-heading-main-color,#3f3f46)}
.atts-header h2 em{font-weight:400;color:var(--atts-heading-italic-color,#8d5eb7)}
.atts-summary{display:inline-flex;align-items:center;gap:8px;padding:5px 10px;background:rgba(255,255,255,.72);border-radius:999px;color:#4b4652;font-size:12px;line-height:1}
.atts-summary img{height:16px;width:auto;display:block}
.atts-slider-shell{position:relative;max-width:1180px;margin:0 auto}
.atts-track-wrap{overflow:hidden;cursor:grab}
.atts-track-wrap:active{cursor:grabbing}
.atts-track{display:flex;gap:var(--atts-gap);transition:transform .38s ease;will-change:transform}
.atts-card{
    flex:0 0 calc((100% - (var(--atts-gap) * (var(--atts-visible-desktop) - 1))) / var(--atts-visible-desktop));
    background:#fff;
    border:1px solid rgba(23,23,23,.06);
    border-radius:10px;
    padding:24px 24px 22px;
    min-height:235px;
    box-shadow:0 14px 35px rgba(64,44,82,.06);
    display:flex;
    flex-direction:column;
}
.atts-stars{height:18px;width:auto;align-self:flex-start;margin:0 0 16px}
.atts-card h3{font-size:17px;line-height:1.25;margin:0 0 8px;color:#3f3f46;font-weight:800}
.atts-card p{font-size:14px;line-height:1.55;margin:0;color:#57515f;flex:1}
.atts-customer{display:flex;align-items:center;gap:9px;margin-top:18px;white-space:nowrap}
.atts-avatar{width:40px;height:40px;border-radius:999px;background:#f7f2fb;color:#111;display:inline-flex;align-items:center;justify-content:center;font-weight:800}
.atts-name{font-size:12px;color:#655f6c}
.atts-verified{font-size:12px;color:#00a878;font-weight:800}
.atts-arrow{
    position:absolute;top:50%;transform:translateY(-50%);
    width:38px;height:38px;border:0;border-radius:999px;
    background:rgba(255,255,255,.9);box-shadow:0 8px 24px rgba(30,20,45,.12);
    color:#6c3aa0;font-size:28px;line-height:38px;display:flex;align-items:center;justify-content:center;
    cursor:pointer;z-index:5;
}
.atts-prev{left:-19px}.atts-next{right:-19px}
.atts-arrow:hover{background:#fff}
.atts-dots{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:24px}
.atts-dot{
    -webkit-appearance:none;
    appearance:none;
    display:inline-block;
    vertical-align:middle;
    box-sizing:border-box;
    flex:0 0 18px;
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
    max-width:18px!important;
    max-height:18px!important;
    border-radius:50%!important;
    border:1.5px solid #2b2b2b;
    cursor:pointer;
    padding:0!important;
    margin:0!important;
    position:relative;
    overflow:hidden;
    line-height:0!important;
    font-size:0!important;
    text-indent:-9999px;
    white-space:nowrap;
    background:linear-gradient(to bottom,#ef4444 0 46%,#2b2b2b 46% 54%,#ffffff 54% 100%);
    box-shadow:0 2px 5px rgba(0,0,0,.08);
    transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.atts-dot::before{
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    border-radius:50%;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.28);
}
.atts-dot::after{
    content:'';
    position:absolute;
    left:50%;
    top:50%;
    width:5px;
    height:5px;
    border-radius:50%;
    transform:translate(-50%,-50%);
    background:#ffffff;
    border:1.5px solid #2b2b2b;
    box-shadow:0 0 0 1px rgba(255,255,255,.25);
}
.atts-dot:hover{
    transform:translateY(-1px);
}
.atts-dot.is-active{
    transform:scale(1.12);
    box-shadow:0 0 0 2px rgba(255,204,0,.65), 0 3px 8px rgba(0,0,0,.12);
}
@media (max-width: 980px){
    .atts-section{--atts-visible-desktop:2!important}
    .atts-prev{left:0}.atts-next{right:0}
}
@media (max-width: 640px){
    .atts-section{--atts-visible-desktop:1!important;padding:44px 14px 36px}
    .atts-card{min-height:230px;padding:22px}
    .atts-arrow{display:none}
    .atts-header{margin-bottom:30px}
    .atts-customer{white-space:normal;flex-wrap:wrap}
}


/* v1.0.7 mobile optimization */
.atts-track-wrap{
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}
.atts-card{
    box-sizing:border-box;
}
.atts-card p{
    overflow-wrap:anywhere;
}
@media (max-width: 768px){
    .atts-section{
        --atts-visible-desktop:1!important;
        --atts-gap:14px;
        padding:34px 12px 30px!important;
    }
    .atts-header{
        margin-bottom:24px!important;
        padding:0 6px;
    }
    .atts-header h2{
        font-size:28px!important;
        line-height:1.1!important;
        margin-bottom:12px!important;
    }
    .atts-summary{
        max-width:100%;
        gap:6px!important;
        padding:5px 8px!important;
        font-size:11px!important;
        white-space:normal;
        justify-content:center;
    }
    .atts-summary img{
        height:14px!important;
        flex:0 0 auto;
    }
    .atts-slider-shell{
        max-width:100%!important;
        padding:0!important;
    }
    .atts-track-wrap{
        overflow:hidden!important;
        width:100%!important;
        border-radius:12px;
    }
    .atts-track{
        gap:14px!important;
    }
    .atts-card{
        flex:0 0 100%!important;
        width:100%!important;
        min-width:100%!important;
        max-width:100%!important;
        min-height:0!important;
        padding:18px 18px 16px!important;
        border-radius:12px!important;
        box-shadow:0 10px 24px rgba(64,44,82,.08)!important;
    }
    .atts-stars{
        height:16px!important;
        margin-bottom:12px!important;
    }
    .atts-card h3{
        font-size:16px!important;
        line-height:1.25!important;
        margin-bottom:8px!important;
    }
    .atts-card p{
        font-size:13.5px!important;
        line-height:1.5!important;
    }
    .atts-customer{
        gap:8px!important;
        margin-top:16px!important;
        white-space:normal!important;
        flex-wrap:wrap!important;
    }
    .atts-avatar{
        width:34px!important;
        height:34px!important;
        font-size:13px!important;
        flex:0 0 34px!important;
    }
    .atts-name,
    .atts-verified{
        font-size:11px!important;
    }
    .atts-arrow{
        display:none!important;
    }
    .atts-dots{
        gap:8px!important;
        margin-top:18px!important;
        flex-wrap:wrap;
        padding:0 8px;
    }
    .atts-dot{
        flex:0 0 14px!important;
        width:14px!important;
        height:14px!important;
        min-width:14px!important;
        min-height:14px!important;
        max-width:14px!important;
        max-height:14px!important;
        border-width:1.25px!important;
    }
    .atts-dot::after{
        width:4px!important;
        height:4px!important;
        border-width:1.25px!important;
    }
    .atts-dot.is-active{
        transform:scale(1.16)!important;
        box-shadow:0 0 0 2px rgba(255,204,0,.75), 0 2px 6px rgba(0,0,0,.14)!important;
    }
}

@media (max-width: 380px){
    .atts-section{
        padding-left:10px!important;
        padding-right:10px!important;
    }
    .atts-header h2{
        font-size:25px!important;
    }
    .atts-card{
        padding:16px 15px 15px!important;
    }
    .atts-card h3{
        font-size:15.5px!important;
    }
    .atts-card p{
        font-size:13px!important;
    }
}

/* v1.1.0 country flags in customer reviews */
.atts-meta{
    display:flex;
    flex-direction:column;
    min-width:0;
}
.atts-country{
    display:inline-flex;
    align-items:center;
    gap:5px;
    margin-top:2px;
    font-size:11px;
    color:#7a7483;
    line-height:1.25;
}
.atts-flag{
    font-size:14px;
    line-height:1;
}
.atts-verified{
    margin-left:auto;
}
@media (max-width: 768px){
    .atts-meta{
        flex:1 1 auto;
    }
    .atts-country{
        font-size:10.5px!important;
    }
    .atts-verified{
        margin-left:42px;
        width:100%;
    }
}
