/* ============================================================
   CHECKOUT PAGE (sfc-co) — custom redesign
   ============================================================ */
.sfc-co {
    background: #EAF3EE;
    padding: 28px 0 90px;
}
.sfc-co__crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6B7A72;
    margin-bottom: 18px;
}
.sfc-co__crumb a { color: #6B7A72; text-decoration: none; }
.sfc-co__crumb svg { color: #18A167; }
.sfc-co__crumb-active { color: #18A167; font-weight: 700; }

.sfc-co__title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #0D2A1D;
    margin: 0 0 10px;
    text-wrap: balance;
}
.sfc-co__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #5C6E64;
    margin: 0 0 36px;
}

.sfc-co__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.sfc-co__step-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.sfc-co__step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #18A167;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    flex: 0 0 auto;
}
.sfc-co__step-head h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0D2A1D;
    margin: 0;
}

.sfc-co__methods {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}
.sfc-co__method {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFFFF;
    border: 1.5px solid #E1EAE4;
    border-radius: 16px;
    padding: 18px 22px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}
.sfc-co__method:hover { border-color: #9FCBB2; }
.sfc-co__method-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.sfc-co__method-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #F1F7F3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
}
.sfc-co__method-icon img {
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
}
.sfc-co__method-text {
    flex: 1 1 auto;
    font-family: 'Poppins', sans-serif;
}
.sfc-co__method-text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #0D2A1D;
}
.sfc-co__method-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #D7E0DA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: background 0.2s, border-color 0.2s;
}
.sfc-co__method-check svg { opacity: 0; transition: opacity 0.15s; }
.sfc-co__method-radio:checked ~ .sfc-co__method-check {
    background: #18A167;
    border-color: #18A167;
}
.sfc-co__method-radio:checked ~ .sfc-co__method-check svg { opacity: 1; }
.sfc-co__method:has(.sfc-co__method-radio:checked) {
    border-color: #18A167;
    background: #F3FAF6;
}

.sfc-co__free-box {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 26px;
    text-align: center;
}
.sfc-co__free-box p {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: #4B5D54;
    margin: 0 0 18px;
}

.sfc-co__help {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid #E1EAE4;
    border-radius: 16px;
    padding: 20px 24px;
}
.sfc-co__help-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #DFF3E7;
    color: #18A167;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.sfc-co__help > div { flex: 1 1 auto; }
.sfc-co__help strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #0D2A1D;
    margin-bottom: 2px;
}
.sfc-co__help p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6B7A72;
    margin: 0;
}
.sfc-co__help-link {
    flex: 0 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #18A167;
    text-decoration: none;
    white-space: nowrap;
}

/* Sidebar */
.sfc-co__sidebar { position: sticky; top: 20px; }
.sfc-co__summary {
    background: #0D3D2D;
    border-radius: 20px;
    padding: 28px;
    color: #FFFFFF;
}
.sfc-co__summary h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 20px;
}
.sfc-co__subscription-note {
    background: rgba(47, 191, 113, 0.12);
    border: 1px dashed rgba(47, 191, 113, 0.4);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #A7F0E1;
    margin: 0 0 16px;
}
.sfc-co__summary-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.sfc-co__summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sfc-co__summary-item img,
.sfc-co__summary-thumb-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
}
.sfc-co__summary-thumb-icon {
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2FBF71;
    font-size: 18px;
}
.sfc-co__summary-item > div {
    flex: 1 1 auto;
    min-width: 0;
}
.sfc-co__summary-item strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #FFFFFF;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sfc-co__summary-item span {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    color: rgba(255,255,255,0.55);
}
.sfc-co__summary-item b {
    flex: 0 0 auto;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #2FBF71;
}
.sfc-co__summary-item-price {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.sfc-co__summary-item-original {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    text-decoration: line-through;
    white-space: nowrap;
}

.sfc-co__promo {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}
.sfc-co__promo input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 0 14px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    outline: none;
}
.sfc-co__promo input::placeholder { color: rgba(255,255,255,0.4); }
.sfc-co__promo button {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 20px;
    background: #2FBF71;
    color: #0D2A1D;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.sfc-co__totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.sfc-co__totals-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #FFFFFF;
}
.sfc-co__totals-row .coupon-discount span { color: #FFFFFF !important; font-size: 13.5px !important; font-weight: 400 !important; }
.sfc-co__totals-discount { color: #2FBF71 !important; font-weight: 700; }
.sfc-co__totals-row--total {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #FFFFFF;
}

.sfc-co__pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #2FBF71;
    color: #0D2A1D;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.sfc-co__pay-btn:hover { background: #26A862; color: #0D2A1D; }

.sfc-co__secure {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 16px 20px;
    background: #FFFFFF;
    border-radius: 14px;
}
.sfc-co__secure svg { color: #18A167; flex: 0 0 auto; }
.sfc-co__secure strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    color: #0D2A1D;
}
.sfc-co__secure span {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    color: #8B9990;
}

@media (max-width: 991px) {
    .sfc-co__layout { grid-template-columns: 1fr; }
    .sfc-co__sidebar { position: static; }
    .sfc-co__title { font-size: 30px; }
}
@media (max-width: 575px) {
    .sfc-co__help { flex-wrap: wrap; }
    .sfc-co__help-link { width: 100%; text-align: center; padding-top: 8px; }
}

