/* ==========================================================================
   Used iPhone Store
   Product Page Modules
   Inspection Report
   ========================================================================== */

.used-product-module {
    width: 100%;
    margin: 34px 0;
    direction: rtl;
}


/* --------------------------------------------------------------------------
   Main card
   -------------------------------------------------------------------------- */

.used-inspection-report {
    padding: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--used-border, #dbeafe);
    border-radius: 22px;
    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.07),
        0 2px 8px rgba(15, 23, 42, 0.04);
}


/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.used-inspection-report__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.used-inspection-report__heading {
    min-width: 0;
}

.used-inspection-report__eyebrow {
    display: inline-block;
    margin-bottom: 5px;
    color: #0284c7;
    font-size: 12px;
    font-weight: 800;
}

.used-inspection-report__heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.5;
}

.used-inspection-report__heading p {
    max-width: 700px;
    margin: 7px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
}


/* --------------------------------------------------------------------------
   Summary number
   -------------------------------------------------------------------------- */

.used-inspection-report__summary {
    flex: 0 0 auto;
    min-width: 130px;
    padding: 14px 18px;
    text-align: center;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 16px;
}

.used-inspection-report__summary-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.used-inspection-report__summary-number strong {
    color: #0369a1;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
}

.used-inspection-report__summary-number span {
    color: #0369a1;
    font-size: 12px;
    font-weight: 800;
}

.used-inspection-report__summary-total {
    margin-top: 5px;
    color: #64748b;
    font-size: 11px;
}

.used-inspection-report__summary-total strong {
    color: #334155;
}


/* --------------------------------------------------------------------------
   Statistics
   -------------------------------------------------------------------------- */

.used-inspection-report__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.used-inspection-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 13px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.used-inspection-stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 15px;
    font-weight: 900;
}

.used-inspection-stat__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.used-inspection-stat__content strong {
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.used-inspection-stat__content small {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
}

.used-inspection-stat.is-pass .used-inspection-stat__icon {
    background: #dcfce7;
    color: #15803d;
}

.used-inspection-stat.is-fail .used-inspection-stat__icon {
    background: #fee2e2;
    color: #b91c1c;
}

.used-inspection-stat.is-pending .used-inspection-stat__icon {
    background: #fef3c7;
    color: #a16207;
}

.used-inspection-stat.is-na .used-inspection-stat__icon {
    background: #e2e8f0;
    color: #475569;
    font-size: 9px;
}


/* --------------------------------------------------------------------------
   Progress
   -------------------------------------------------------------------------- */

.used-inspection-progress {
    margin-bottom: 26px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
}

.used-inspection-progress__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 9px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.used-inspection-progress__top strong {
    color: #0284c7;
    font-size: 15px;
}

.used-inspection-progress__track {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 999px;
}

.used-inspection-progress__bar {
    display: block;
    height: 100%;
    background: #0284c7;
    border-radius: inherit;
    transition: width 0.35s ease;
}


/* --------------------------------------------------------------------------
   Category
   -------------------------------------------------------------------------- */

.used-inspection-category {
    margin-top: 18px;
}

.used-inspection-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 9px;
    padding-bottom: 9px;
    border-bottom: 1px solid #e2e8f0;
}

.used-inspection-category__header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 15px;
    font-weight: 900;
}

.used-inspection-category__header span {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}


/* --------------------------------------------------------------------------
   Test rows
   -------------------------------------------------------------------------- */

.used-inspection-tests {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.used-inspection-test {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 11px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.used-inspection-test__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 900;
}

.used-inspection-test__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.used-inspection-test__title {
    overflow: hidden;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
    text-overflow: ellipsis;
}

.used-inspection-test__note {
    margin-top: 2px;
    overflow: hidden;
    color: #64748b;
    font-size: 10px;
    line-height: 1.6;
    text-overflow: ellipsis;
}

.used-inspection-test__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 0 0 auto;
    min-width: 72px;
    padding: 5px 7px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
}

.used-inspection-test.is-pass .used-inspection-test__status {
    background: #dcfce7;
    color: #15803d;
}

.used-inspection-test.is-fail .used-inspection-test__status {
    background: #fee2e2;
    color: #b91c1c;
}

.used-inspection-test.is-na .used-inspection-test__status {
    background: #e2e8f0;
    color: #475569;
}

.used-inspection-test.is-not_tested .used-inspection-test__status {
    background: #fef3c7;
    color: #a16207;
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.used-inspection-report__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.used-inspection-report__footer div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.used-inspection-report__footer span {
    color: #64748b;
    font-size: 10px;
}

.used-inspection-report__footer strong {
    color: #334155;
    font-size: 12px;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {

    .used-inspection-report__header {
        align-items: stretch;
        flex-direction: column;
    }

    .used-inspection-report__summary {
        width: 100%;
    }

    .used-inspection-report__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .used-inspection-tests {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .used-product-module {
        margin: 24px 0;
    }

    .used-inspection-report {
        padding: 17px;
        border-radius: 17px;
    }

    .used-inspection-report__heading h2 {
        font-size: 20px;
    }

    .used-inspection-report__heading p {
        font-size: 12px;
    }

    .used-inspection-report__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .used-inspection-stat {
        padding: 10px;
    }

    .used-inspection-stat__icon {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
    }

    .used-inspection-stat__content strong {
        font-size: 16px;
    }

    .used-inspection-test {
        align-items: flex-start;
    }

    .used-inspection-test__status {
        min-width: auto;
        white-space: nowrap;
    }

    .used-inspection-report__footer {
        gap: 18px;
    }
}


@media (max-width: 380px) {

    .used-inspection-report__stats {
        grid-template-columns: 1fr;
    }

    .used-inspection-test__status span {
        display: none;
    }

    .used-inspection-test__status {
        min-width: 30px;
        width: 30px;
        height: 30px;
        padding: 0;
    }
}


@media (prefers-reduced-motion: reduce) {

    .used-inspection-progress__bar {
        transition: none;
    }
}

/* =========================================================
   Product Decision Card
   ========================================================= */

.used-decision-card {
    margin: 22px 0;
    padding: 22px;
    border: 1px solid rgba(2, 132, 199, 0.14);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(240, 249, 255, 0.96),
            rgba(255, 255, 255, 0.98)
        );
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.used-decision-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.used-decision-card__heading {
    min-width: 0;
}

.used-decision-card__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
}

.used-decision-card__heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 800;
}

.used-decision-card__inspection-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    color: #0369a1;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.used-decision-card__inspection-link:hover {
    color: #0284c7;
    text-decoration: underline;
}

.used-decision-card__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.used-decision-card__fact {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.used-decision-card__fact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: #f0f9ff;
    color: #0284c7;
    font-size: 16px;
    font-weight: 800;
}

.used-decision-card__fact-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.used-decision-card__fact-label {
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
}

.used-decision-card__fact-value {
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 800;
}

.used-decision-card__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-top: 12px;
}

.used-decision-card__inspection {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid rgba(16, 185, 129, 0.16);
    border-radius: 14px;
    background: rgba(236, 253, 245, 0.72);
}

.used-decision-card__inspection-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    font-size: 17px;
    font-weight: 900;
}

.used-decision-card__inspection-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.used-decision-card__inspection-content strong {
    color: #065f46;
    font-size: 13px;
    line-height: 1.5;
}

.used-decision-card__inspection-content span {
    color: #047857;
    font-size: 11px;
    line-height: 1.6;
}

.used-decision-card__inspection-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    padding-right: 5px;
    border-right: 1px solid rgba(5, 150, 105, 0.15);
}

.used-decision-card__inspection-score strong {
    color: #047857;
    font-size: 17px;
    line-height: 1.2;
}

.used-decision-card__inspection-score span {
    color: #059669;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.used-decision-card__commerce {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 260px;
    padding: 13px 15px;
    border: 1px solid rgba(2, 132, 199, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
}

.used-decision-card__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.used-decision-card__price > span {
    color: #64748b;
    font-size: 10px;
}

.used-decision-card__price > strong {
    color: #0f172a;
    font-size: 15px;
    line-height: 1.5;
}

.used-decision-card__price .woocommerce-Price-amount {
    color: inherit;
    font-size: inherit;
}

.used-decision-card__stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
}

.used-decision-card__stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
}

.used-decision-card__stock.is-in-stock {
    color: #047857;
}

.used-decision-card__stock.is-in-stock
.used-decision-card__stock-dot {
    background: #10b981;
}

.used-decision-card__stock.is-out-of-stock {
    color: #b91c1c;
}

.used-decision-card__stock.is-out-of-stock
.used-decision-card__stock-dot {
    background: #ef4444;
}

.used-decision-card__variation-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 11px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(241, 245, 249, 0.75);
    color: #64748b;
    font-size: 11px;
    line-height: 1.8;
}

.used-decision-card__variation-note > span:first-child {
    flex: 0 0 auto;
    color: #0284c7;
    font-weight: 800;
}

 /* ---------------------------------------------------------
   Responsive — Container Based
   --------------------------------------------------------- */

/*
 * مهم:
 * Decision Card ممکن است روی دسکتاپ داخل ستون Summary
 * قرار بگیرد و عرض خودش بسیار کمتر از viewport باشد.
 *
 * بنابراین Responsive باید بر اساس عرض خود کارت باشد،
 * نه عرض کل صفحه.
 */
.used-decision-card {
    container-type: inline-size;
}

/*
 * حالت پایه:
 * برای کارت‌های باریک، دو ستون.
 */
.used-decision-card__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/*
 * جلوگیری از شکستن فارسی به صورت حرف‌به‌حرف.
 */
.used-decision-card__fact-value {
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
}

.used-decision-card__fact-label {
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
}

/*
 * Header نیز نباید باعث فشرده شدن محتوا شود.
 */
.used-decision-card__header {
    min-width: 0;
}

.used-decision-card__heading {
    min-width: 0;
}

.used-decision-card__inspection-link {
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
}

/*
 * Bottom در کارت‌های باریک یک‌ستونه باشد.
 */
.used-decision-card__bottom {
    grid-template-columns: 1fr;
}

.used-decision-card__commerce {
    min-width: 0;
    width: 100%;
}

/*
 * ---------------------------------------------------------
 * وقتی خود Decision Card حداقل 620px عرض دارد
 * ---------------------------------------------------------
 */
@container (min-width: 620px) {

    .used-decision-card__facts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .used-decision-card__bottom {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .used-decision-card__commerce {
        width: auto;
        min-width: 260px;
    }
}

/*
 * ---------------------------------------------------------
 * کارت متوسط
 * ---------------------------------------------------------
 */
@container (min-width: 480px) and (max-width: 619px) {

    .used-decision-card__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .used-decision-card__bottom {
        grid-template-columns: 1fr;
    }

    .used-decision-card__commerce {
        width: 100%;
        min-width: 0;
    }
}

/*
 * ---------------------------------------------------------
 * موبایل / کارت بسیار باریک
 * ---------------------------------------------------------
 */
@container (max-width: 479px) {

    .used-decision-card {
        padding: 16px;
        border-radius: 16px;
    }

    .used-decision-card__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 14px;
    }

    .used-decision-card__heading h2 {
        font-size: 17px;
    }

    .used-decision-card__facts {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .used-decision-card__fact {
        padding: 10px;
    }

    .used-decision-card__fact-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: 14px;
    }

    .used-decision-card__fact-label {
        font-size: 10px;
    }

    .used-decision-card__fact-value {
        font-size: 12px;
    }

    .used-decision-card__commerce {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    .used-decision-card__stock {
        margin-right: 0;
    }

    .used-decision-card__inspection {
        align-items: flex-start;
    }

    .used-decision-card__inspection-score {
        margin-right: auto;
    }
}

/*
 * ---------------------------------------------------------
 * کارت‌های خیلی باریک
 * ---------------------------------------------------------
 */
@container (max-width: 380px) {

    .used-decision-card__facts {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Product Video Preview
   ========================================================= */

.used-video-preview {
    margin: 28px 0;
    padding: 22px;
    border: 1px solid rgba(2, 132, 199, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(240, 249, 255, 0.96),
            rgba(255, 255, 255, 0.99)
        );
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.used-video-preview__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.used-video-preview__heading {
    min-width: 0;
}

.used-video-preview__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #0284c7;
    font-size: 12px;
    font-weight: 800;
}

.used-video-preview__heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
    line-height: 1.5;
    font-weight: 800;
}

.used-video-preview__heading p {
    max-width: 720px;
    margin: 7px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
}

.used-video-preview__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid rgba(2, 132, 199, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: #0369a1;
    font-size: 11px;
    font-weight: 800;
}

.used-video-preview__badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #0284c7;
    color: #fff;
    font-size: 9px;
}

.used-video-preview__player {
    position: relative;
    overflow: hidden;
    border-radius: 17px;
    background: #020617;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.used-video-preview__player video,
.used-video-preview__player iframe,
.used-video-preview__player embed,
.used-video-preview__player object {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

.used-video-preview__player video {
    height: auto;
    max-height: 720px;
    background: #020617;
}

.used-video-preview__player iframe {
    aspect-ratio: 16 / 9;
    height: auto;
}

.used-video-preview__player .wp-video {
    width: 100% !important;
    max-width: 100% !important;
}

.used-video-preview__player .mejs-container {
    width: 100% !important;
    max-width: 100% !important;
}

.used-video-preview__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 11px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.8;
}

.used-video-preview__footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    font-size: 11px;
    font-weight: 900;
}

@media (max-width: 600px) {

    .used-video-preview {
        margin: 20px 0;
        padding: 16px;
        border-radius: 17px;
    }

    .used-video-preview__header {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 14px;
    }

    .used-video-preview__heading h2 {
        font-size: 18px;
    }

    .used-video-preview__heading p {
        font-size: 12px;
    }

    .used-video-preview__badge {
        align-self: flex-start;
    }

    .used-video-preview__player {
        border-radius: 13px;
    }

    .used-video-preview__footer {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {

    .used-video-preview *,
    .used-video-preview *::before,
    .used-video-preview *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   Product Purchase Info
   ========================================================= */

.used-purchase-info {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid rgba(2, 132, 199, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.used-purchase-info__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.used-purchase-info__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #0284c7;
    font-size: 11px;
    font-weight: 800;
}

.used-purchase-info__header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 800;
}

.used-purchase-info__availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.used-purchase-info__availability-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.used-purchase-info__availability.is-available {
    background: #ecfdf5;
    color: #047857;
}

.used-purchase-info__availability.is-available
.used-purchase-info__availability-dot {
    background: #10b981;
}

.used-purchase-info__availability.is-unavailable {
    background: #fef2f2;
    color: #b91c1c;
}

.used-purchase-info__availability.is-unavailable
.used-purchase-info__availability-dot {
    background: #ef4444;
}

.used-purchase-info__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.used-purchase-info__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    background: #f8fafc;
}

.used-purchase-info__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border-radius: 9px;
    background: #f0f9ff;
    color: #0284c7;
    font-size: 15px;
    font-weight: 900;
}

.used-purchase-info__content {
    min-width: 0;
}

.used-purchase-info__content strong {
    display: block;
    margin-bottom: 3px;
    color: #0f172a;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 800;
}

.used-purchase-info__content p {
    margin: 0;
    color: #64748b;
    font-size: 10px;
    line-height: 1.8;
}

.used-purchase-info__notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 11px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
}

.used-purchase-info__notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 10px;
    font-weight: 900;
}

.used-purchase-info__notice p {
    margin: 0;
    color: #64748b;
    font-size: 10px;
    line-height: 1.8;
}

@media (max-width: 850px) {

    .used-purchase-info__items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .used-purchase-info {
        margin: 16px 0;
        padding: 16px;
        border-radius: 16px;
    }

    .used-purchase-info__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .used-purchase-info__header h2 {
        font-size: 17px;
    }

    .used-purchase-info__item {
        padding: 11px;
    }
}

/* =========================================================
   What You Get
   ========================================================= */

.used-what-you-get {
    margin: 26px 0;
    padding: 22px;
    border: 1px solid rgba(2, 132, 199, 0.12);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(240, 249, 255, 0.78)
        );
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.used-what-you-get__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
}

.used-what-you-get__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #0284c7;
    font-size: 11px;
    font-weight: 800;
}

.used-what-you-get__header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 800;
}

.used-what-you-get__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f0f9ff;
    color: #0369a1;
    font-size: 10px;
    font-weight: 800;
}

.used-what-you-get__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.used-what-you-get__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.82);
}

.used-what-you-get__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    font-size: 13px;
    font-weight: 900;
}

.used-what-you-get__text {
    min-width: 0;
    color: #334155;
    font-size: 12px;
    line-height: 1.8;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.used-what-you-get__empty {
    padding: 15px;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 650px) {

    .used-what-you-get {
        margin: 20px 0;
        padding: 16px;
        border-radius: 17px;
    }

    .used-what-you-get__header {
        align-items: flex-start;
    }

    .used-what-you-get__header h2 {
        font-size: 17px;
    }

    .used-what-you-get__list {
        grid-template-columns: 1fr;
    }

    .used-what-you-get__item {
        padding: 11px 12px;
    }
}

@media (max-width: 380px) {

    .used-what-you-get__header {
        flex-direction: column;
    }

    .used-what-you-get__count {
        align-self: flex-start;
    }
}

/* ==========================================================================
   Important Notes
   ========================================================================== */

.used-important-notes {
    position: relative;
    margin: 28px 0;
    padding: 24px;
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            rgba(240, 249, 255, 0.96),
            rgba(255, 255, 255, 0.98)
        );
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.used-important-notes::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #0284c7;
    border-radius: 0 4px 4px 0;
}

.used-important-notes__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.used-important-notes__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.used-important-notes__heading {
    min-width: 0;
}

.used-important-notes__heading .used-product-module__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
}

.used-important-notes__heading .used-product-module__title {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.5;
}

.used-important-notes__heading .used-product-module__subtitle {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}

.used-important-notes__list {
    display: grid;
    gap: 10px;
}

.used-important-notes__item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid #e0f2fe;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.used-important-notes__bullet {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 800;
}

.used-important-notes__item p {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
}

.used-important-notes__empty {
    padding: 15px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: #64748b;
    background: rgba(248, 250, 252, 0.8);
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 600px) {

    .used-important-notes {
        margin: 20px 0;
        padding: 18px;
        border-radius: 18px;
    }

    .used-important-notes__header {
        gap: 11px;
        margin-bottom: 16px;
    }

    .used-important-notes__icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 19px;
    }

    .used-important-notes__heading .used-product-module__title {
        font-size: 18px;
    }

    .used-important-notes__heading .used-product-module__subtitle {
        font-size: 12px;
    }

    .used-important-notes__item {
        padding: 11px 12px;
    }

    .used-important-notes__item p {
        font-size: 13px;
        line-height: 1.85;
    }
}

/* ==========================================================================
   Model Comparison
   ========================================================================== */

.used-model-comparison {
    margin: 28px 0;
    padding: 24px;
    border: 1px solid rgba(14, 165, 233, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            rgba(248, 252, 255, 0.98),
            rgba(255, 255, 255, 0.98)
        );
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.055);
    overflow: hidden;
}

.used-model-comparison__header {
    margin-bottom: 20px;
}

.used-model-comparison__header
.used-product-module__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
}

.used-model-comparison__header
.used-product-module__title {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.5;
}

.used-model-comparison__header
.used-product-module__subtitle {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}

.used-model-comparison__table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e0f2fe;
    border-radius: 16px;
    background: #fff;
}

.used-model-comparison__table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.used-model-comparison__table th,
.used-model-comparison__table td {
    padding: 14px 12px;
    border-bottom: 1px solid #eef2f7;
    text-align: center;
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.75;
}

.used-model-comparison__table thead th {
    min-width: 190px;
    background: #f8fbff;
    color: #0f172a;
    font-weight: 800;
    border-bottom: 1px solid #dbeafe;
}

.used-model-comparison__table thead th.used-model-comparison__feature {
    width: 150px;
    min-width: 150px;
    text-align: right;
}

.used-model-comparison__table tbody th {
    width: 150px;
    min-width: 150px;
    background: #f8fbff;
    color: #475569;
    text-align: right;
    font-weight: 700;
}

.used-model-comparison__table tbody td {
    color: #334155;
    font-weight: 500;
    background: #fff;
}

.used-model-comparison__table thead th.is-current {
    background:
        linear-gradient(
            180deg,
            #eff8ff,
            #f8fbff
        );
    color: #0369a1;
}

.used-model-comparison__product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.used-model-comparison__image {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.used-model-comparison__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.used-model-comparison__product-name {
    max-width: 190px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
}

.used-model-comparison__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 700;
}

.used-model-comparison__missing {
    color: #94a3b8;
    font-size: 12px;
}

.used-model-comparison__price-row th,
.used-model-comparison__price-row td {
    background: #f8fbff;
}

.used-model-comparison__price-row td {
    color: #0369a1;
    font-weight: 800;
}

.used-model-comparison__availability-row th,
.used-model-comparison__availability-row td {
    border-bottom: 0;
}

.used-model-comparison__stock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.used-model-comparison__stock.is-in-stock {
    background: #ecfdf5;
    color: #047857;
}

.used-model-comparison__stock.is-out-of-stock {
    background: #fff1f2;
    color: #be123c;
}

.used-model-comparison__empty {
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 700px) {

    .used-model-comparison {
        margin: 20px 0;
        padding: 18px;
        border-radius: 18px;
    }

    .used-model-comparison__header
    .used-product-module__title {
        font-size: 18px;
    }

    .used-model-comparison__header
    .used-product-module__subtitle {
        font-size: 12px;
    }

    .used-model-comparison__table {
        min-width: 620px;
    }

    .used-model-comparison__table th,
    .used-model-comparison__table td {
        padding: 11px 9px;
        font-size: 12px;
    }

    .used-model-comparison__image {
        width: 58px;
        height: 58px;
    }

    .used-model-comparison__product-name {
        font-size: 12px;
    }
}