/* ==========================================================================
   SECTION 3: STEP 1 STYLES (CARDS & GENERAL CARDS)
   ========================================================================== */

.egc-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.egc-card {
    display: flex;
    align-items: stretch;
    gap: 20px;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 0 20px 0 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.egc-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.egc-card.is-selected {
    border-color: #800080;
    box-shadow: 0 0 0 2px rgba(128, 0, 128, 0.15);
}

.egc-card-image {
    width: 200px;
    flex-shrink: 0;
    display: flex;
}

.egc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.egc-card-body {
    flex: 1 1 auto;
    padding: 16px 0;
}

.egc-card-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
}

.egc-card-description {
    font-size: 13px;
    color: #555555;
    line-height: 1.4;
}

.egc-card-description ul {
    margin: 6px 0 0 0 !important;
    padding-left: 18px !important;
    list-style-type: disc !important;
}

.egc-card-description li {
    font-size: 13px !important;
    color: #555555 !important;
    margin-bottom: 3px !important;
    line-height: 1.3 !important;
}

.egc-card-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
}

.egc-card-price {
    font-weight: 600;
}

.egc-card-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #f6b400;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
}

.egc-badge-blue {
    background: #2f6fed;
    color: #ffffff;
}

.egc-select-btn.egc-btn {
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.egc-select-btn.egc-btn:hover {
    background: #333333;
}

.egc-step-price-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 20px;
    margin-bottom: 35px;
    padding-right: 5px;
    text-align: right;
}

.egc-step-price-summary .egc-summary-row {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
}

.egc-step-price-summary .egc-summary-value {
    font-weight: 700;
}

.egc-step-price-summary .egc-grand-total {
    font-weight: 700;
    font-size: 15px;
    margin-top: 4px;
}

.egc-trust-wrapper {
    margin-top: 45px;
}

/* ==========================================================================
   MOBILE RESPONSIVE STYLES (Image on top -> Body in middle -> Action on bottom)
   ========================================================================== */
@media (max-width: 768px) {
    .egc-card {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 0 16px 0 !important;
        gap: 0 !important;
    }

    /* 1. Image on top */
    .egc-card-image {
        width: 100% !important;
        height: 180px !important;
        order: 1 !important;
    }

    .egc-card-image img {
        height: 100% !important;
        object-fit: cover !important;
    }

    /* 2. Body / Title & Description in middle */
    .egc-card-body {
        padding: 16px 16px 8px 16px !important;
        order: 2 !important;
    }

    /* 3. Action / Price & Button at bottom */
    .egc-card-action {
        order: 3 !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 16px 0 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .egc-step-price-summary {
        align-items: center !important;
        text-align: center !important;
        padding-right: 0 !important;
    }

    .egc-step-price-summary .egc-summary-row {
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 280px !important;
    }
}