/* Footer Styles */
.site-footer {
    background-color: #1a1a1a;
    color: #a0a0a0;
    padding: 60px 0 0;
    font-size: 14px;
}

.footer-widgets-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget-title {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

/* Footer Logo Styling */
.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-widget .logo-primary {
    color: #00a0d2;
    position: relative;
    display: inline-block;
}

.footer-widget .logo-primary:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #00a0d2;
    transform: scaleX(0.7);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.footer-widget .logo-primary:hover:after {
    transform: scaleX(1);
}

.site-info p {
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #00a0d2;
    color: #ffffff;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: #00a0d2;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    padding: 10px 15px;
    background-color: #00a0d2;
    color: #ffffff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #0082a9;
}

.payment-icons {
    display: block;
    text-align: right;
    width: 100%;
}

.payment-icons.has-safecheckout {
    max-width: 100%;
    width: 100%;
}

.payment-icons:not(.has-safecheckout) {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.payment-icons:not(.has-safecheckout) img {
    height: 24px;
    opacity: 0.8;
    transition: var(--transition);
}

.payment-icons img.safecheckout-img {
    max-width: none;
    height: auto;
    opacity: 1;
}

.payment-icons img:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.copyright {
    margin: 0;
    padding: 0;
    white-space: nowrap;
    flex: 1;
}

.copyright p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.payment-methods {
    text-align: right;
    margin-left: 15px;
}

.payment-safe-img {
    display: inline-block !important;
    max-width: none !important;
}

.footer-bottom .copyright {
    margin: 0;
    white-space: nowrap;
}

.footer-bottom .payment-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-bottom .payment-icons img {
    height: auto;
    max-height: 40px;
    margin-left: 5px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.copyright {
    font-size: 13px;
}

.copyright a {
    color: #00a0d2;
    text-decoration: none;
}

@media (max-width: 991px) {
    .footer-widgets-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .footer-widgets-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .footer-bottom-content {
        flex-direction: column !important;
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 10px;
        text-align: center;
    }
    
    .payment-methods {
        text-align: center;
        margin-left: 0;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
    .footer-mobile-container {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .footer-mobile-container > div {
        margin: 5px 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .footer-mobile-container > div:first-child {
        margin-bottom: 10px !important;
    }
    
    .footer-mobile-container > div:last-child {
        margin-top: 10px !important;
        text-align: center !important;
        margin-left: 0 !important;
    }
    
    .footer-mobile-container p {
        text-align: center !important;
    }
    
    /* Fix for the payment image */
    .payment-safecheckout-img {
        margin: 0 auto !important;
        display: block !important;
    }
}
