/* Swiper Testimonials - Public Styles */

.sts-slider-wrapper {
    position: relative;
    padding: 22px 12px 38px;
    background: var(--sts-background, #c4b89f);
    font-family: var(--sts-font, 'Poppins', sans-serif);
}

.sts-slider-wrapper.sts-full-width {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    position: relative;
    right: 50%;
    width: 100vw;
}

.sts-swiper {
    width: 100%;
    padding: 20px 0 40px !important;
}

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

.sts-swiper .swiper-slide {
    display: flex;
    height: auto;
}

/* === CARD === */
.sts-card {
    background: var(--sts-card-bg, #ffffff);
    border-radius: var(--sts-radius, 36px);
    padding: 42px 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    height: 100%;
    box-shadow: 0 1px 0 rgba(255,255,255,.75) inset, 0 2px 6px rgba(15,23,42,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid rgba(71,85,105,.35);
    position: relative;
    overflow: hidden;
    width: 100%;
}
.sts-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15,23,42,.14);
}

/* Quote text */
.sts-card-quote {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.42;
    color: var(--sts-text, #2c2c2c);
    flex: 1;
    margin-bottom: 34px;
    position: relative;
    z-index: 1;
}

/* Footer */
.sts-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 0;
    padding-top: 0;
}

.sts-card-author {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

/* Avatar */
.sts-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 0;
}
.sts-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sts-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sts-primary, #b5a48a), #8a7a6a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    font-family: var(--sts-font, 'Poppins', sans-serif);
}

/* Author info */
.sts-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.sts-name {
    font-size: 16px;
    font-weight: 700;
    color: #1f2a44;
    line-height: 1.2;
}
.sts-location-pet {
    font-size: 13px;
    color: var(--sts-meta, #64748b);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* Stars */
.sts-stars {
    display: flex;
    gap: 1px;
    flex-shrink: 0;
}
.sts-star {
    font-size: 15px;
    line-height: 1;
    transition: transform .2s;
}
.sts-star.filled { color: var(--sts-star, #d4a843); }
.sts-star.empty  { color: #ddd; }
.sts-card:hover .sts-star.filled { transform: scale(1.15); }

/* === NAVIGATION ARROWS === */
.sts-btn-prev,
.sts-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 3px 14px rgba(0,0,0,.14);
    transition: all .25s ease;
    color: var(--sts-primary, #b5a48a);
    border: 1.5px solid rgba(0,0,0,.06);
}
.sts-btn-prev { left: 0; }
.sts-btn-next { right: 0; }
.sts-btn-prev svg,
.sts-btn-next svg { width: 18px; height: 18px; }
.sts-btn-prev:hover,
.sts-btn-next:hover {
    background: var(--sts-primary, #b5a48a);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
    transform: translateY(-60%) scale(1.07);
}

/* === PAGINATION DOTS === */
.sts-pagination {
    bottom: 0px !important;
}
.sts-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    transition: all .3s;
}
.sts-pagination .swiper-pagination-bullet-active {
    background: var(--sts-primary, #b5a48a);
    width: 24px;
    border-radius: 4px;
}

/* No testimonials */
.sts-no-testimonials {
    text-align: center;
    padding: 40px;
    color: #888;
    font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 1023px) {
    .sts-slider-wrapper { padding: 18px 14px 38px; }
    .sts-card { min-height: 300px; }
    .sts-card-quote { font-size: 19px; }
}
@media (max-width: 767px) {
    .sts-slider-wrapper { padding: 14px 12px 36px; }
    .sts-card { padding: 30px 22px 24px; min-height: 260px; }
    .sts-card-quote { font-size: 17px; margin-bottom: 24px; }
    .sts-card-footer { align-items: flex-end; }
    .sts-avatar { width: 48px; height: 48px; }
    .sts-name { font-size: 15px; }
    .sts-location-pet { font-size: 12px; }
    .sts-star { font-size: 13px; }
    .sts-btn-prev { left: -2px; }
    .sts-btn-next { right: -2px; }
}
