/* Eptins Way Of India Testimonials Widget v1.1.0 */
.eptins-woi-testimonials {
    --eptins-woi-testimonial-accent: #c98337;
    --eptins-testimonial-gap: 28px;
    position: relative;
    overflow: hidden;
    background: #fbf5ea;
    padding: 90px 40px;
    isolation: isolate;
}

.eptins-woi-testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 12% 15%, rgba(201, 131, 55, 0.25), transparent 18%),
        radial-gradient(circle at 88% 18%, rgba(201, 131, 55, 0.22), transparent 18%),
        repeating-linear-gradient(45deg, transparent 0, transparent 32px, rgba(201, 131, 55, 0.17) 33px, transparent 34px);
    z-index: 0;
}

.eptins-woi-testimonials::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 95px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(15,12,9,0.95) 100%);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.eptins-woi-testimonials.has-bottom-fade::after {
    opacity: 0.08;
}

.eptins-woi-testimonials__inner {
    position: relative;
    z-index: 2;
    max-width: 1380px;
    margin: 0 auto;
}

.eptins-woi-testimonials__header {
    text-align: center;
    margin-bottom: 52px;
}

.eptins-woi-testimonials__eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    color: var(--eptins-woi-testimonial-accent);
    font-size: 14px;
    line-height: 1;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.eptins-woi-testimonials__eyebrow::before,
.eptins-woi-testimonials__eyebrow::after {
    content: "";
    width: 86px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.eptins-woi-testimonials__heading {
    margin: 0;
    color: #21160f;
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 82px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
}

.eptins-woi-testimonials__subtitle {
    max-width: 720px;
    margin: 28px auto 0;
    color: #5d5852;
    font-size: 22px;
    line-height: 1.45;
}

.eptins-woi-testimonials__viewport {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.eptins-woi-testimonials__track {
    display: flex;
    gap: var(--eptins-testimonial-gap);
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 2px 22px;
    scrollbar-width: none;
}

.eptins-woi-testimonials__track::-webkit-scrollbar {
    display: none;
}

.eptins-woi-testimonial-card {
    position: relative;
    flex: 0 0 calc((100% - (var(--eptins-testimonial-gap) * 2)) / 3);
    min-width: calc((100% - (var(--eptins-testimonial-gap) * 2)) / 3);
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(201, 131, 55, 0.28);
    border-radius: 14px;
    padding: 40px 36px 34px;
    box-shadow: 0 18px 46px rgba(50, 34, 18, 0.10);
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.eptins-woi-testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 131, 55, 0.55);
    box-shadow: 0 24px 60px rgba(50, 34, 18, 0.16);
}

.eptins-woi-testimonial-card__pattern {
    display: none;
    position: absolute;
    right: -36px;
    top: -36px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    opacity: 0.10;
    --eptins-card-pattern-color: var(--eptins-woi-testimonial-accent);
    background:
        radial-gradient(circle, transparent 0 35%, var(--eptins-card-pattern-color) 36% 37%, transparent 38%),
        repeating-conic-gradient(from 0deg, var(--eptins-card-pattern-color) 0 4deg, transparent 4deg 12deg);
    pointer-events: none;
}

.eptins-woi-testimonials.has-card-pattern .eptins-woi-testimonial-card__pattern {
    display: block;
}

.eptins-woi-testimonial-card__quote {
    color: #d39b4a;
    font-family: Georgia, serif;
    font-size: 94px;
    line-height: 0.65;
    margin-bottom: 24px;
}

.eptins-woi-testimonial-card__text {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #24211d;
    font-size: 18px;
    line-height: 1.55;
}

.eptins-woi-testimonial-card__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 34px 0 22px;
    color: var(--eptins-woi-testimonial-accent);
}

.eptins-woi-testimonial-card__divider::before,
.eptins-woi-testimonial-card__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(201, 131, 55, 0.30);
}

.eptins-woi-testimonial-card__divider span {
    position: relative;
    width: 9px;
    height: 9px;
    margin: 0 14px;
    border: 1px solid currentColor;
    transform: rotate(45deg);
}

.eptins-woi-testimonial-card__footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 22px;
}

.eptins-woi-testimonial-card__avatar {
    width: 82px;
    height: 82px;
    flex: 0 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--eptins-woi-testimonial-accent);
    background: #f4eadb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eptins-woi-testimonial-accent);
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 600;
}

.eptins-woi-testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eptins-woi-testimonial-card__name {
    margin: 0 0 6px;
    color: #21160f;
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.1;
}

.eptins-woi-testimonial-card__country {
    color: var(--eptins-woi-testimonial-accent);
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.eptins-woi-testimonial-card__stars {
    color: #d39b4a;
    font-size: 20px;
    letter-spacing: 3px;
    line-height: 1;
}

.eptins-woi-testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin-top: 12px;
}

.eptins-woi-testimonials__arrow {
    width: 48px;
    height: 48px;
    border: 1px solid #d39b4a;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    color: #21160f;
    font-size: 34px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0 0 4px;
}

.eptins-woi-testimonials__arrow:hover {
    background: var(--eptins-woi-testimonial-accent);
    color: #ffffff;
}

.eptins-woi-testimonials__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.eptins-woi-testimonials__dot {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: #d9cdbc;
    cursor: pointer;
    padding: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.eptins-woi-testimonials__dot.is-active {
    background: var(--eptins-woi-testimonial-accent);
    transform: scale(1.05);
}

.eptins-woi-testimonials__button-wrap {
    text-align: center;
    margin-top: 28px;
}

.eptins-woi-testimonials__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 260px;
    min-height: 62px;
    padding: 16px 34px;
    border: 1px solid var(--eptins-woi-testimonial-accent);
    border-radius: 6px;
    background: #111111;
    color: #d39b4a;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.eptins-woi-testimonials__button:hover {
    background: var(--eptins-woi-testimonial-accent);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .eptins-woi-testimonials { padding: 75px 28px; }
    .eptins-woi-testimonials__header { margin-bottom: 42px; }
    .eptins-woi-testimonials__heading { font-size: 54px; }
    .eptins-woi-testimonial-card {
        flex-basis: calc((100% - var(--eptins-testimonial-gap)) / 2);
        min-width: calc((100% - var(--eptins-testimonial-gap)) / 2);
    }
}

@media (max-width: 767px) {
    .eptins-woi-testimonials { padding: 60px 18px; }
    .eptins-woi-testimonials__header { margin-bottom: 30px; }
    .eptins-woi-testimonials__eyebrow {
        gap: 12px;
        letter-spacing: 4px;
        font-size: 11px;
        margin-bottom: 18px;
    }
    .eptins-woi-testimonials__eyebrow::before,
    .eptins-woi-testimonials__eyebrow::after { width: 42px; }
    .eptins-woi-testimonials__heading { font-size: 38px; line-height: 1.08; }
    .eptins-woi-testimonials__subtitle { margin-top: 18px; font-size: 16px; }
    .eptins-woi-testimonials__track { gap: 16px; --eptins-testimonial-gap: 16px; padding-bottom: 18px; }
    .eptins-woi-testimonial-card {
        flex-basis: 100%;
        min-width: 100%;
        min-height: 400px;
        padding: 32px 26px 28px;
    }
    .eptins-woi-testimonial-card__quote { font-size: 76px; margin-bottom: 18px; }
    .eptins-woi-testimonial-card__text { font-size: 16px; }
    .eptins-woi-testimonial-card__footer { gap: 16px; }
    .eptins-woi-testimonial-card__avatar { width: 68px; height: 68px; }
    .eptins-woi-testimonial-card__name { font-size: 22px; }
    .eptins-woi-testimonials__controls { gap: 18px; }
    .eptins-woi-testimonials__arrow { width: 42px; height: 42px; font-size: 30px; }
    .eptins-woi-testimonials__button { min-width: 220px; min-height: 56px; font-size: 16px; }
}
