.payment-social-container {
    margin-bottom: 20px;
}

.payment-social-container .widget-title {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.payment-description {
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.payment-methods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.payment-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.payment-icon-item:hover {
    transform: translateY(-2px);
}

.payment-icon-item img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Theme 1: White icons / Transparent background */
.theme-1 {
    background: transparent;
}

.theme-1 .payment-icon-item {
    background: transparent;
}

/* Theme 2: Color icons / White background */
.theme-2 {
    background: transparent;
}

.theme-2 .payment-icon-item {
    background: #ffffff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Theme 3: Color icons / No background */
.theme-3 {
    background: transparent;
}

.theme-3 .payment-icon-item {
    background: transparent;
}

/* Theme 4: White icons / Brand background */
.theme-4 {
    background: transparent;
}

.theme-4 .payment-icon-item {
    padding: 5px;
}

.theme-4 .visa {
    background-color: #1A1F71;
}

.theme-4 .master-card {
    background-color: #EB001B;
}

.theme-4 .amex {
    background-color: #007BC1;
}

.theme-4 .diners {
    background-color: #004A97;
}

.theme-4 .paypal {
    background-color: #003087;
}

.payment-cta-wrapper {
    margin-top: 20px;
    text-align: left;
}

.payment-cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #2c3842, #4a5b6a, #2c3842, #4a5b6a);
    background-size: 300% 100%;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    animation: gradientMove 4s ease infinite;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.payment-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 56, 66, 0.5);
    color: #ffffff !important;
    text-decoration: none;
}

@media (max-width: 768px) {
    .payment-social-container {
        text-align: center;
    }

    .payment-methods-grid {
        justify-content: center;
    }

    .payment-cta-wrapper {
        text-align: center;
    }
}