/* How to Buy Page Styles - Farmostr */

.how-to-buy-section {
    padding: 2rem 0;
}

/* Page Title */
.how-to-buy-title {
    font-size: 2rem;
    color: #000000CC;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

/* Intro Section */
.how-to-buy-intro {
    background: linear-gradient(135deg, rgba(48, 115, 76, 0.08) 0%, rgba(48, 115, 76, 0.04) 100%);
    border: 2px solid #E0E9FF;
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.intro-text {
    color: #344863;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.intro-text:last-child {
    margin-bottom: 0;
}

.phone-link {
    color: #30734C;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #245c3b;
    text-decoration: underline;
}

/* Step Container */
.how-to-buy-step {
    background: #fff;
    border: 2px solid #F3F5FA;
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Step Header */
.step-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #F3F5FA;
}

.step-header.no-number {
    padding-bottom: 1rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #30734C 0%, #4a9e6a 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-title {
    color: #344863;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

/* Step List */
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-list li {
    color: #344863;
    font-size: 1rem;
    line-height: 1.7;
    padding-left: 2rem;
    position: relative;
}

.step-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #30734C;
    font-weight: 700;
    font-size: 1.5rem;
}

.step-list strong {
    color: #30734C;
    font-weight: 700;
}

.step-list a {
    color: #30734C;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.step-list a:hover {
    color: #245c3b;
    text-decoration: underline;
}

/* Warning Item */
.warning-item {
    background: rgba(255, 165, 0, 0.08);
    border-left: 4px solid #FFA500;
    padding: 1rem !important;
    padding-left: 1rem !important;
    margin: 0.5rem 0 !important;
    border-radius: 6px;
}

.warning-item::before {
    display: none;
}

/* Payment Image */
.payment-image {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0 !important;
}

.payment-image::before {
    display: none;
}

.payment-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 300px;
}

.divider-img {
    max-width: 80%;
}

/* Payment Details */
.payment-details {
    background: #f9fafb;
    padding: 1.5rem !important;
    border-radius: 10px;
    border-left: 4px solid #30734C;
}

.payment-details::before {
    display: none;
}

.payment-details p {
    color: #7D879C;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.payment-details p:last-child {
    margin-bottom: 0;
}

.payment-details a {
    color: #30734C;
    text-decoration: none;
    font-weight: 600;
}

.payment-details a:hover {
    text-decoration: underline;
}

/* Return Policy */
.return-policy .step-header {
    border-bottom: 2px solid #F3F5FA;
}

.return-intro {
    color: #344863;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

/* Return List */
.return-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.return-list li {
    color: #344863;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 2rem;
    position: relative;
}

.return-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #30734C;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Return Note */
.return-note {
    background: linear-gradient(135deg, rgba(48, 115, 76, 0.05) 0%, rgba(48, 115, 76, 0.02) 100%);
    border: 2px solid #E0E9FF;
    border-radius: 10px;
    padding: 1.5rem;
}

.return-note p {
    color: #7D879C;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.asterisk {
    color: #30734C;
    font-weight: 700;
}

.return-note a {
    color: #30734C;
    text-decoration: none;
    font-weight: 600;
}

.return-note a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .how-to-buy-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .how-to-buy-intro {
        padding: 1.5rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .how-to-buy-step {
        padding: 1.5rem;
    }

    .step-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .step-list li {
        font-size: 0.95rem;
    }

    .return-note {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .how-to-buy-title {
        font-size: 1.35rem;
    }

    .how-to-buy-intro {
        padding: 1.25rem;
    }

    .intro-text {
        font-size: 0.95rem;
    }

    .how-to-buy-step {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .step-header {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .step-title {
        font-size: 1rem;
    }

    .step-list li {
        font-size: 0.9rem;
        padding-left: 1.75rem;
    }

    .return-list li {
        font-size: 0.9rem;
        padding-left: 1.75rem;
    }

    .payment-image img {
        max-height: 250px;
    }

    .return-note {
        padding: 1rem;
    }

    .return-note p {
        font-size: 0.85rem;
    }
}
