.pps-order-tracking,
.pps-order-review {
    width: min(100%, 760px);
    margin-inline: auto;
    color: #202945;
}

.pps-review-survey-page .container-bakala {
    width: 100%;
    max-width: 1440px;
    padding-inline: clamp(16px, 4vw, 64px);
}

.pps-review-survey-page #bakala_breadcrumbs,
.pps-review-survey-page .entry-header,
.pps-review-survey-page .page-header,
.pps-review-survey-page .entry-title,
.pps-review-survey-page .page-title {
    display: none !important;
}

.pps-review-survey-page .site-main,
.pps-review-survey-page article,
.pps-review-survey-page .entry-content {
    width: 100%;
    max-width: none;
}

.pps-review-survey-page .entry-content.content-box {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.pps-review-survey-page .pps-order-review {
    width: 100%;
    max-width: 1180px;
    margin-block: clamp(20px, 4vw, 48px);
}

.pps-order-tracking form,
.pps-order-review {
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid #eceef3;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 36px rgb(28 36 61 / 6%);
}

.pps-order-tracking .form-row,
.pps-order-review .form-row {
    width: 100%;
    margin: 0 0 18px;
}

.pps-order-tracking input,
.pps-order-review input[type="email"],
.pps-order-review textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #dfe3eb;
    border-radius: 12px;
    background: #fff;
    font: inherit;
}

.pps-order-tracking button,
.pps-order-review button {
    min-height: 48px;
    padding-inline: 24px;
    border: 0;
    border-radius: 12px;
    background: var(--pps-theme-accent, #ef4056);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.pps-order-review__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 18px;
    margin-block: 22px;
}

.pps-order-review--notice {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    overflow: hidden;
    min-height: 220px;
    border-color: #f1dce1;
    background:
        radial-gradient(circle at 100% 0%, rgb(239 64 86 / 10%), transparent 42%),
        linear-gradient(145deg, #fff 0%, #fff9fa 100%);
    text-align: right;
}

.pps-order-review--notice::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--pps-theme-accent, #ef4056);
    content: "";
}

.pps-order-review__notice-icon {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border-radius: 22px;
    background: var(--pps-theme-accent, #ef4056);
    box-shadow: 0 12px 28px rgb(239 64 86 / 22%);
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.pps-order-review__notice-body {
    min-width: 0;
}

.pps-order-review__notice-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--pps-theme-accent, #ef4056);
    font-size: .82rem;
    font-weight: 800;
}

.pps-order-review__notice-body h2 {
    margin: 0 0 10px;
    color: #202945;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    line-height: 1.6;
}

.pps-order-review__notice-body p {
    margin: 0;
    color: #687089;
    line-height: 1.9;
}

.pps-order-review__notice-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 20px;
    padding: 9px 20px;
    border-radius: 12px;
    background: #202945;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.pps-order-review__notice-action:hover {
    background: #11182d;
    box-shadow: 0 8px 20px rgb(32 41 69 / 18%);
    transform: translateY(-1px);
}

.pps-order-review--success {
    border-color: #d9eee5;
    background: radial-gradient(circle at 100% 0%, rgb(37 171 113 / 10%), transparent 42%), #fff;
}

.pps-order-review--success::before,
.pps-order-review--success .pps-order-review__notice-icon {
    background: #25ab71;
}

.pps-order-review--success .pps-order-review__notice-kicker {
    color: #168457;
}

.pps-order-review--info {
    border-color: #dbe6f7;
    background: radial-gradient(circle at 100% 0%, rgb(42 109 199 / 9%), transparent 42%), #fff;
}

.pps-order-review--info::before,
.pps-order-review--info .pps-order-review__notice-icon {
    background: #2a6dc7;
}

.pps-order-review--info .pps-order-review__notice-kicker {
    color: #2a6dc7;
}

.pps-order-review__item {
    padding: 20px;
    border-radius: 18px;
    background: #f7f7f9;
}

.pps-order-review__item h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.9;
}

.pps-order-review__product-summary {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.pps-order-review__product-media {
    position: relative;
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border: 1px solid #eceef3;
    border-radius: 16px;
    background: #fff;
}

.pps-order-review__product-media img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.pps-order-review__quantity {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 27px;
    height: 27px;
    padding-inline: 6px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 9px;
    background: var(--pps-theme-accent, #ef4056);
    box-shadow: 0 5px 12px rgb(239 64 86 / 22%);
    color: #fff;
    font-size: .82rem;
    font-weight: 900;
    line-height: 1;
}

.pps-order-review__empty {
    grid-column: 1 / -1;
    margin: 0;
    color: #687089;
    text-align: center;
}

.pps-order-review__rating {
    display: block;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    direction: rtl;
}

.pps-order-review__rating-choices {
    display: flex;
    clear: both;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 8px;
}

.pps-order-review__item > label[for^="pps-review-content-"] {
    position: relative;
    z-index: 1;
    display: block;
    clear: both;
    width: 100%;
    padding-top: 4px;
    margin: 0 0 10px;
    color: #202945;
    direction: rtl;
    font-weight: 700;
    line-height: 1.7;
    text-align: right;
}

.pps-order-review__item > textarea {
    position: relative;
    z-index: 0;
    display: block;
    clear: both;
    min-height: 132px;
    margin: 0;
    resize: vertical;
}

.pps-order-review .pps-order-review__rating > legend {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-weight: 700;
}

.pps-order-review__rating label {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    margin: 0;
    cursor: pointer;
}

.pps-order-review .pps-order-review__rating label > input[type="radio"] {
    position: absolute !important;
    display: block !important;
    float: none;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.pps-order-review .pps-order-review__rating label > span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    border: 1.5px solid #d8dce6;
    border-radius: 50%;
    background: #fff;
    color: #46506a;
    font-weight: 800;
    line-height: 1;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pps-order-review__rating label:hover span {
    border-color: var(--pps-theme-accent, #ef4056);
    transform: translateY(-1px);
}

.pps-order-review__rating input:checked + span {
    border-color: var(--pps-theme-accent, #ef4056);
    background: var(--pps-theme-accent, #ef4056);
    color: #fff;
    box-shadow: 0 6px 16px rgb(239 64 86 / 24%);
}

.pps-order-review__rating input:focus-visible + span {
    outline: 3px solid rgb(239 64 86 / 22%);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .pps-order-tracking,
    .pps-order-review {
        width: 100%;
    }

    .pps-order-tracking form,
    .pps-order-review {
        padding: 18px;
        border-radius: 18px;
    }

    .pps-order-tracking input,
    .pps-order-review input,
    .pps-order-review textarea,
    .pps-order-review select {
        font-size: 16px;
    }

    .pps-order-review__rating {
        margin-bottom: 18px;
    }

    .pps-order-review__rating-choices {
        gap: 9px;
        margin-top: 6px;
    }

    .pps-order-review__rating label {
        width: 40px;
        height: 40px;
    }

    .pps-order-review__items {
        grid-template-columns: 1fr;
    }

    .pps-order-review__product-summary {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 13px;
    }

    .pps-order-review__product-media {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }

    .pps-order-review__product-media img {
        width: 62px;
        height: 62px;
    }

    .pps-order-review--notice {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 16px;
        min-height: 0;
        padding: 28px 20px;
        text-align: center;
    }

    .pps-order-review__notice-icon {
        width: 58px;
        height: 58px;
        border-radius: 19px;
        font-size: 27px;
    }

    .pps-order-review__notice-body h2 {
        font-size: 1.22rem;
    }

    .pps-order-review__notice-action {
        width: 100%;
    }

    .pps-review-survey-page .container-bakala {
        padding-inline: 10px;
    }

    .pps-review-survey-page .pps-order-review {
        margin-block: 12px 24px;
    }
}
