/**
 * Returns & Refunds Page Styles
 * S1: Hero  S2: Return Eligibility  S3: QTRSHOE/Customer Side
 * S4: Non-Returnable Items  S5: Refund Processing  S6: Contact Form (reuses contact.css)
 */

/* ==========================================
   SECTION 1 — HERO
   ========================================== */

.rr-hero {
    padding: 96px 150px 48px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    /* border-bottom: 1px solid #E0DCD3; */
}

.rr-hero-title {
    font-family: Georgia, 'Canela Text', serif;
    font-size: 64px;
    font-weight: 400;
    color: #2D1F1F;
    margin: 0;
    line-height: 1.1;
    text-transform: capitalize;
}

.rr-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================
   SECTION 2 — RETURN ELIGIBILITY BY SERVICE
   ========================================== */

.rr-eligibility {
    padding: 96px 150px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.rr-eligibility-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

.rr-eligibility-grid {
    display: flex;
    flex-direction: row;
    background: #E0DCD3;
    /* border: 1px solid #E0DCD3; */
    border-radius: 24px;
    gap: 1px;
    padding: 1px;
    width: 100%;
    box-sizing: border-box;
}

.rr-eligibility-card {
    background: #fff;
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.rr-eligibility-card:first-child {
    border-radius: 23px 0 0 23px;
}

.rr-eligibility-card:last-child {
    border-radius: 0 23px 23px 0;
}

.rr-eligibility-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 15428.6px;
    border: 1px solid rgba(26, 26, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    margin-bottom: 36px;
}

.rr-eligibility-card-icon svg {
    width: 24px;
    height: 24px;
}

.rr-eligibility-card-icon .flag-svg {
    position: absolute;
    width: auto;
    height: 100%;
    top: 0;
}

.rr-eligibility-card-icon--plain {
    border: none;
    border-radius: 0;
    overflow: visible;
}

.rr-eligibility-card-icon--plain svg {
    width: 100%;
    height: 100%;
}

.rr-eligibility-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.rr-eligibility-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #2D1F1F;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================
   SECTION 3 — QTRSHOE'S SIDE / CUSTOMER'S SIDE
   ========================================== */

.rr-sides {
    padding: 96px 150px;
    background: #fff;
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.rr-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.rr-side-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

.rr-side-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

.rr-side-card-wrapper {
    background: #E0DCD3;
    /* border: 1px solid #E0DCD3; */
    border-radius: 24px;
    padding: 1px;
}

.rr-side-card {
    background: #fff;
    border-radius: 23px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rr-side-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    line-height: 1.3;
}

.rr-side-card-list {
    margin: 0;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rr-side-card-list li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
}

/* ==========================================
   SECTION 4 — NON-RETURNABLE ITEMS
   ========================================== */

.rr-non-returnable {
    padding: 96px 150px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.rr-non-returnable-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

.rr-non-returnable-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

.rr-non-returnable-card {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    min-width: 0;
}

.rr-non-returnable-card:last-child {
    border-right: none;
}

.rr-non-returnable-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.rr-non-returnable-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    line-height: 1.3;
}

/* ==========================================
   SECTION 5 — REFUND PROCESSING
   ========================================== */

.rr-refund {
    padding: 128px 150px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.rr-refund-label {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: rgba(45, 31, 31, 0.6);
    line-height: 1.2;
    padding-bottom: 20px;
    border-bottom: 1px solid #E0DCD3;
}

.rr-refund-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1174px;
}

.rr-refund-text {
    font-family: Georgia, 'Canela Text', serif;
    font-size: 48px;
    font-weight: 400;
    color: #2D1F1F;
    margin: 0;
    line-height: 136%;
    text-transform: capitalize;
}

/* ==========================================
   RESPONSIVE — MOBILE (max-width: 767px)
   ========================================== */

@media (max-width: 767px) {

    /* S1 — Hero */
    .rr-hero {
        padding: 48px 24px;
        gap: 12px;
    }

    .rr-hero-title {
        font-size: 32px;
    }

    .rr-hero-subtitle {
        font-size: 14px;
        line-height: 24px;
    }

    /* S2 — Eligibility */
    .rr-eligibility {
        padding: 48px 24px;
        gap: 32px;
    }

    .rr-eligibility-title {
        font-size: 24px;
    }

    .rr-eligibility-grid {
        flex-direction: column;
        border-radius: 16px;
    }

    .rr-eligibility-card {
        padding: 20px;
    }

    .rr-eligibility-card:first-child {
        border-radius: 15px 15px 0 0;
    }

    .rr-eligibility-card:last-child {
        border-radius: 0 0 15px 15px;
    }

    .rr-eligibility-card-icon {
        width: 36px;
        height: 36px;
        border-width: 0.75px;
        margin-bottom: 24px;
    }

    .rr-eligibility-card-icon--plain {
        border-width: 0;
    }

    .rr-eligibility-card-title {
        font-size: 20px;
    }

    .rr-eligibility-card-desc {
        font-size: 12px;
    }

    /* S3 — Sides */
    .rr-sides {
        padding: 64px 20px;
        flex-direction: column;
        gap: 64px;
    }

    .rr-side-title {
        font-size: 24px;
    }

    .rr-side-subtitle {
        font-size: 14px;
    }

    .rr-side-card-wrapper {
        border-radius: 16px;
    }

    .rr-side-card {
        border-radius: 15px;
        padding: 20px;
    }

    .rr-side-card-title {
        font-size: 16px;
    }

    .rr-side-card-list li {
        font-size: 14px;
    }

    /* S4 — Non-Returnable */
    .rr-non-returnable {
        padding: 64px 24px;
        gap: 32px;
    }

    .rr-non-returnable-title {
        font-size: 24px;
    }

    .rr-non-returnable-grid {
        flex-direction: column;
    }

    .rr-non-returnable-card {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        padding: 20px;
    }

    .rr-non-returnable-card:last-child {
        border-bottom: none;
    }

    .rr-non-returnable-icon {
        width: 36px;
        height: 36px;
    }

    .rr-non-returnable-card-title {
        font-size: 20px;
    }

    /* S5 — Refund Processing */
    .rr-refund {
        padding: 96px 20px;
        gap: 24px;
    }

    .rr-refund-label {
        font-size: 14px;
        padding-bottom: 16px;
    }

    .rr-refund-text {
        font-size: 28px;
        line-height: 128%;
    }
}

/* ==========================================
   RESPONSIVE — TABLET (768px - 1023px)
   ========================================== */

@media (min-width: 768px) and (max-width: 1023px) {

    /* S1 — Hero */
    .rr-hero {
        padding: 80px 40px 48px;
    }

    .rr-hero-title {
        font-size: 48px;
    }

    /* S2 — Eligibility */
    .rr-eligibility {
        padding: 80px 40px;
    }

    .rr-eligibility-card {
        padding: 24px;
    }

    .rr-eligibility-card-title {
        font-size: 20px;
    }

    .rr-eligibility-card-desc {
        font-size: 14px;
    }

    /* S3 — Sides */
    .rr-sides {
        padding: 80px 40px;
        gap: 32px;
    }

    .rr-side-title {
        font-size: 24px;
    }

    /* S4 — Non-Returnable */
    .rr-non-returnable {
        padding: 80px 40px;
    }

    .rr-non-returnable-grid {
        flex-wrap: wrap;
    }

    .rr-non-returnable-card {
        flex: 1 1 40%;
        padding: 24px;
    }

    .rr-non-returnable-card:nth-child(2) {
        border-right: none;
    }

    .rr-non-returnable-card:nth-child(1),
    .rr-non-returnable-card:nth-child(2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }

    .rr-non-returnable-card-title {
        font-size: 20px;
    }

    /* S5 — Refund Processing */
    .rr-refund {
        padding: 80px 40px;
    }

    .rr-refund-text {
        font-size: 36px;
    }
}
