/* prcustomtestimonials — Beinitas (BNT-U002) */
:root {
    --prct-accent: #CF1778;
    --prct-star-off: #F2D3E3;
    --prct-text: #222;
    --prct-muted: #6b6b6b;
    --prct-line: #ececec;
    --prct-soft: #FCF0F5;
}

/* Stars */
.prct-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    white-space: nowrap;
}
.prct-star svg {
    display: block;
    width: 18px;
    height: 17px;
    fill: var(--prct-star-off);
}
.prct-star.is-on svg {
    fill: var(--prct-accent);
}
.prct-stars--lg .prct-star svg {
    width: 26px;
    height: 25px;
}
.prct-stars--sm {
    gap: 3px;
}
.prct-stars--sm .prct-star svg {
    width: 14px;
    height: 13px;
}

/* Buttons */
.prct-btn {
    display: inline-block;
    border: 1px solid var(--prct-accent);
    background: var(--prct-accent);
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 34px;
    border-radius: 2px;
    cursor: pointer;
    transition: opacity .2s;
}
.prct-btn:hover,
.prct-btn:focus {
    opacity: .88;
    color: #fff;
}
.prct-btn--outline {
    background: transparent;
    color: var(--prct-accent);
}
.prct-btn--outline:hover {
    color: var(--prct-accent);
}

/* ---------- Product page ---------- */
.prct-product {
    margin-top: 50px;
    margin-bottom: 50px;
}
.prct-product__title {
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 30px;
}
.prct-product__layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}
.prct-summary {
    flex: 0 0 300px;
    max-width: 300px;
    background: var(--prct-soft);
    border-radius: 12px;
    padding: 30px 28px;
    text-align: center;
}
.prct-product__layout.is-empty .prct-summary {
    flex-basis: auto;
    max-width: 600px;
    text-align: left;
}
.prct-summary__avg {
    font-size: 56px;
    line-height: 1;
    font-weight: 500;
    color: #000;
    margin-bottom: 18px;
}
.prct-summary__count {
    margin-top: 12px;
    font-size: 15px;
    color: var(--prct-text);
}
.prct-summary__sep {
    border: 0;
    border-top: 1px solid #f0d2df;
    margin: 22px 0;
}
.prct-summary__note {
    margin: 0;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    color: var(--prct-muted);
}
.prct-reviews {
    flex: 1 1 auto;
    min-width: 0;
}
.prct-review {
    padding: 0 0 26px;
    margin: 0 0 26px;
    border-bottom: 1px solid var(--prct-line);
}
.prct-review__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 12px;
}
.prct-review__name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    min-width: 0;
    overflow-wrap: anywhere;
}
.prct-review__badge {
    background: #eef2f4;
    color: #33505c;
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 3px;
}
.prct-review__date {
    margin-left: auto;
    color: #8a8a8a;
    font-size: 14px;
}
.prct-review__text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--prct-text);
    overflow-wrap: anywhere;
}
.prct-review__text p {
    margin: 0;
}
.prct-review__text.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    max-height: 4.8em; /* 3 x line-height */
}
.prct-review__toggle {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--prct-accent);
    font-size: 15px;
    cursor: pointer;
}
.prct-review__toggle .js-prct-toggle-label {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.prct-review__toggle::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform .2s;
}
.prct-review__toggle.is-expanded::after {
    transform: translateY(1px) rotate(-135deg);
}
.prct-review__toggle[hidden],
.prct-reviews__more[hidden] {
    display: none;
}
.prct-reviews__more {
    text-align: center;
}
.prct-more-btn {
    background: #fff;
    border: 1px solid #000;
    color: #000;
    padding: 16px 44px;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
}
.prct-more-btn:hover {
    background: #000;
    color: #fff;
}
.prct-more-btn[disabled] {
    opacity: .6;
    cursor: progress;
}
.prct-more-btn__count {
    color: #8a8a8a;
}

@media (max-width: 991px) {
    .prct-product__layout {
        flex-direction: column;
        gap: 20px;
    }
    /* Above the list the summary is only informational: one compact row
       (average, stars, count) with the note in small print under it. */
    .prct-summary,
    .prct-product__layout.is-empty .prct-summary {
        flex: none;
        width: 100%;
        max-width: none;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 10px;
        padding: 12px 16px;
        border-radius: 8px;
        text-align: left;
    }
    .prct-summary__avg {
        font-size: 22px;
        margin: 0;
    }
    .prct-summary .prct-stars--lg .prct-star svg {
        width: 16px;
        height: 15px;
    }
    .prct-summary__count {
        margin: 0;
        font-size: 14px;
        color: var(--prct-muted);
    }
    .prct-summary__sep {
        display: none;
    }
    .prct-summary__note {
        flex: 1 0 100%;
        font-size: 12px;
        line-height: 1.4;
    }
}
@media (max-width: 767px) {
    .prct-product__title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    /* Compact review list on phones: stars, name, badge and date share one
       wrapping row; tight gaps between header, text and divider. */
    .prct-product__layout {
        gap: 12px;
    }
    .prct-review {
        padding: 0 0 10px;
        margin: 0 0 10px;
    }
    .prct-product .prct-review__head {
        gap: 2px 8px;
        margin-bottom: 4px;
    }
    .prct-product .prct-review__name {
        font-size: 15px;
    }
    .prct-product .prct-review__date {
        margin-left: 0;
        font-size: 12px;
    }
    .prct-product .prct-review__text {
        font-size: 14px;
        line-height: 1.4;
    }
    .prct-product .prct-review__text.is-clamped {
        max-height: 4.2em; /* 3 x line-height */
    }
    .prct-product .prct-review__toggle {
        margin-top: 4px;
        font-size: 14px;
    }
    .prct-product .prct-reviews__more {
        margin-top: 4px;
    }
    .prct-more-btn {
        width: 100%;
        padding: 14px 16px;
        letter-spacing: 1px;
    }
}

/* ---------- Homepage ---------- */
.prct-home {
    padding: 10px 0 50px;
    text-align: center;
}
#index .prct-home .h2-title > h2 {
    margin-bottom: 12px;
}
.prct-home__summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--prct-muted);
    font-size: 14px;
    margin-bottom: 30px;
}
.prct-home__carousel {
    text-align: left;
}
.prct-card {
    height: 100%;
    border: 1px solid #f1d6e2;
    border-radius: 6px;
    background: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.prct-home .owl-stage {
    display: flex;
}
.prct-home .owl-item {
    display: flex;
    /* Owl clips the stage (overflow: hidden) and slides by fractional pixels,
       which cut off the card's 1px border at the edges while turning. */
    padding: 1px;
    box-sizing: border-box;
}
.prct-home .owl-item .prct-card {
    width: 100%;
}
.prct-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.prct-card__ref img {
    width: auto;
    height: 18px;
}
.prct-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--prct-text);
    flex: 1 1 auto;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}
.prct-card__text p {
    margin: 0;
}
.prct-card__name {
    font-weight: 700;
    font-size: 15px;
    color: #000;
}
.prct-home .owl-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}
.prct-home .owl-carousel button.owl-dot,
.prct-home #custom-testimonial-carousel.owl-carousel button.owl-dot.active {
    width: 12px;
    height: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--prct-star-off);
}
.prct-home .owl-carousel button.owl-dot.active,
.prct-home #custom-testimonial-carousel.owl-carousel button.owl-dot.active {
    background: var(--prct-accent);
}
.prct-home .owl-carousel button.owl-dot span {
    display: none;
}
.prct-home .owl-dots.disabled {
    display: none;
}
.prct-home__actions {
    margin-top: 30px;
}
@media (max-width: 767px) {
    .prct-card {
        padding: 22px;
    }
}
/* Phones show two cards side by side, so the card is compact and a long
   text stops after 7 lines; the name stays at the bottom of the card. */
@media (max-width: 575px) {
    .prct-card {
        padding: 14px 12px;
    }
    .prct-card__top {
        margin-bottom: 10px;
    }
    .prct-card .prct-stars {
        gap: 2px;
    }
    .prct-card .prct-star svg {
        width: 13px;
        height: 12px;
    }
    .prct-card__ref img {
        height: 14px;
    }
    .prct-card__text {
        flex: 0 0 auto;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
        line-clamp: 7;
        overflow: hidden;
        max-height: 10.5em; /* 7 x line-height */
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    .prct-card__name {
        margin-top: auto;
        font-size: 13px;
    }
    .prct-home .owl-dots {
        margin-top: 20px;
    }
}

/* ---------- Form (popup + order review page) ---------- */
.prct-modal .modal-dialog {
    max-width: 600px;
}
.prct-modal .modal-body {
    text-align: left;
}
.prct-form__row {
    margin-bottom: 16px;
}
.prct-form .alert,
#write_testimonial .modal-body .write_testimonial_container .prct-form .alert {
    margin: 0 0 16px;
    width: auto;
}
.prct-form__row label,
.prct-form__label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--prct-text);
}
.prct-form__row textarea {
    resize: vertical;
}
.prct-form__cols {
    display: flex;
    gap: 16px;
}
.prct-form__cols > .prct-form__row {
    flex: 1 1 0;
}
.prct-form__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}
.prct-form__check input {
    margin-top: 3px;
}
.prct-form__check label {
    margin: 0;
}
.prct-form__footer {
    margin-top: 20px;
}
.prct-form.is-loading {
    opacity: .6;
    pointer-events: none;
}
.prct-form .required {
    color: var(--prct-accent);
}
.prct-rate {
    display: inline-flex;
    gap: 4px;
}
.prct-rate__star {
    border: 0;
    background: none;
    padding: 2px;
    cursor: pointer;
}
.prct-rate__star svg {
    display: block;
    width: 30px;
    height: 28px;
    fill: var(--prct-star-off);
}
.prct-rate__star.is-on svg {
    fill: var(--prct-accent);
}
.prct-form__success p {
    font-size: 15px;
    margin-bottom: 16px;
}
@media (max-width: 575px) {
    .prct-form__cols {
        flex-direction: column;
        gap: 0;
    }
}

.prct-form__success--order .prct-form__success-lead {
    font-size: 18px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 8px;
}
.prct-form__success--order .prct-form__success-note {
    color: var(--prct-muted);
    font-size: 14px;
    margin-bottom: 20px;
}
.prct-form__success--order .prct-btn {
    text-decoration: none;
}
@media (max-width: 575px) {
    .prct-form__success--order .prct-btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* Order review page */
.prct-review-page {
    max-width: 720px;
}
.prct-review-page__products {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.prct-review-page__intro {
    font-size: 15px;
    line-height: 1.6;
    color: var(--prct-text);
    margin-bottom: 16px;
}
.prct-review-page__products li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--prct-line);
}
.prct-review-page__products li > a,
.prct-review-page__products li > span {
    flex: 1 1 auto;
    font-size: 15px;
    text-align: left;
}
.prct-review-page__products img {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    object-fit: contain;
}
