/* ==========================================================================
   Vendors Listing — Footer Widget Styles
   Matches class names from class-footer-widget.php render()
   ========================================================================== */

/* ---------------------------------------------------------------------
   1. Footer Base
   --------------------------------------------------------------------- */
.vl-wrapper .vl-footer {
    background: var(--vl-bg-dark, #1A1A2E) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    width: 100%;
}

/* Override Elementor for footer */
.elementor-page .vl-wrapper .vl-footer,
.e-con .vl-wrapper .vl-footer,
.elementor-widget-container .vl-wrapper .vl-footer {
    color: rgba(255, 255, 255, 0.8) !important;
    background: var(--vl-bg-dark, #1A1A2E) !important;
}

.vl-wrapper .vl-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 32px 0;
}

/* ---------------------------------------------------------------------
   2. Footer Columns Grid
   Class: .vl-footer__columns (from widget render)
   --------------------------------------------------------------------- */
.vl-wrapper .vl-footer__columns {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

/* Individual column */
.vl-wrapper .vl-footer__col {
    min-width: 0;
}

/* Brand column — extra right padding */
.vl-wrapper .vl-footer__col--brand {
    padding-right: 24px;
}

/* ---------------------------------------------------------------------
   3. Logo
   --------------------------------------------------------------------- */
.vl-wrapper .vl-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.vl-wrapper .vl-footer__logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.vl-wrapper .vl-footer__logo-text {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.03em !important;
    line-height: 1 !important;
}

/* Override Elementor color on footer logo */
.elementor-widget-container .vl-wrapper .vl-footer__logo-text,
.e-con .vl-wrapper .vl-footer__logo-text {
    color: #ffffff !important;
}

/* Description */
.vl-wrapper .vl-footer__description {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.55) !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
}

/* Override Elementor on description */
.elementor-widget-container .vl-wrapper .vl-footer__description,
.e-con .vl-wrapper .vl-footer__description {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* ---------------------------------------------------------------------
   4. Column Headings
   Class: .vl-footer__col-heading (from widget render)
   --------------------------------------------------------------------- */
.vl-wrapper .vl-footer__col-heading {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

/* Override Elementor heading colors */
.elementor-widget-container .vl-wrapper .vl-footer__col-heading,
.e-con .vl-wrapper .vl-footer__col-heading {
    color: #ffffff !important;
}

/* ---------------------------------------------------------------------
   5. Link Lists
   Class: .vl-footer__link-list (from widget render)
   --------------------------------------------------------------------- */
.vl-wrapper .vl-footer__link-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vl-wrapper .vl-footer__link-list li {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.vl-wrapper .vl-footer__link-list li:last-child {
    margin-bottom: 0 !important;
}

/* Links */
.vl-wrapper .vl-footer__link {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.5 !important;
}

.vl-wrapper .vl-footer__link:hover {
    color: #ffffff !important;
    padding-left: 4px;
}

/* Override Elementor link colors */
.elementor-widget-container .vl-wrapper .vl-footer__link,
.e-con .vl-wrapper .vl-footer__link {
    color: rgba(255, 255, 255, 0.55) !important;
}

.elementor-widget-container .vl-wrapper .vl-footer__link:hover,
.e-con .vl-wrapper .vl-footer__link:hover {
    color: #ffffff !important;
}

/* ---------------------------------------------------------------------
   6. Social Icons
   Class: .vl-footer__social-icons (from widget render)
   --------------------------------------------------------------------- */
.vl-wrapper .vl-footer__social-icons {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.vl-wrapper .vl-footer__social-link {
    width: 38px;
    height: 38px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    fill: currentColor;
}

.vl-wrapper .vl-footer__social-link:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.vl-wrapper .vl-footer__social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Override Elementor link colors on social icons */
.elementor-widget-container .vl-wrapper .vl-footer__social-link,
.e-con .vl-wrapper .vl-footer__social-link {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ---------------------------------------------------------------------
   7. Contact Info Items
   Class: .vl-footer__contact-item (from widget render)
   --------------------------------------------------------------------- */
.vl-wrapper .vl-footer__contact-item {
    margin-bottom: 8px;
}

.vl-wrapper .vl-footer__contact-item .vl-footer__link {
    font-size: 13px !important;
}

/* ---------------------------------------------------------------------
   8. Newsletter
   Class: .vl-footer__newsletter (from widget render)
   --------------------------------------------------------------------- */
.vl-wrapper .vl-footer__newsletter {
    margin-top: 20px;
}

.vl-wrapper .vl-footer__newsletter-heading {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

.elementor-widget-container .vl-wrapper .vl-footer__newsletter-heading,
.e-con .vl-wrapper .vl-footer__newsletter-heading {
    color: rgba(255, 255, 255, 0.7) !important;
}

.vl-wrapper .vl-footer__newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vl-wrapper .vl-footer__newsletter-input {
    width: 100%;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 14px !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px;
    outline: none !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.vl-wrapper .vl-footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.vl-wrapper .vl-footer__newsletter-input:focus {
    border-color: var(--vl-primary-light, #A29BFE) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.vl-wrapper .vl-footer__newsletter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: var(--vl-primary, #6C5CE7) !important;
    border: none !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: auto;
    align-self: flex-start;
}

.vl-wrapper .vl-footer__newsletter-btn:hover {
    background: var(--vl-primary-dark, #5A4BD1) !important;
    transform: translateY(-1px);
}

/* ---------------------------------------------------------------------
   9. Copyright Bar
   Class: .vl-footer__copyright (from widget render)
   --------------------------------------------------------------------- */
.vl-wrapper .vl-footer__copyright {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    margin-top: 0;
}

.vl-wrapper .vl-footer__copyright-text {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

/* Override Elementor paragraph styles */
.elementor-widget-container .vl-wrapper .vl-footer__copyright-text,
.e-con .vl-wrapper .vl-footer__copyright-text {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ---------------------------------------------------------------------
   10. Responsive — Tablet
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .vl-wrapper .vl-footer__columns {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 32px;
    }

    .vl-wrapper .vl-footer__col--brand {
        grid-column: 1 / -1;
        padding-right: 0;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .vl-wrapper .vl-footer__inner {
        padding: 48px 24px 0;
    }
}

/* ---------------------------------------------------------------------
   11. Responsive — Mobile
   --------------------------------------------------------------------- */
@media (max-width: 768px) {
    .vl-wrapper .vl-footer__inner {
        padding: 40px 16px 0;
    }

    .vl-wrapper .vl-footer__columns {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px;
    }

    .vl-wrapper .vl-footer__col--brand {
        grid-column: 1 / -1;
    }

    .vl-wrapper .vl-footer__col--connect {
        grid-column: 1 / -1;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .vl-wrapper .vl-footer__col-heading {
        font-size: 12px !important;
        margin-bottom: 14px !important;
    }

    .vl-wrapper .vl-footer__link {
        font-size: 13px !important;
    }

    .vl-wrapper .vl-footer__copyright {
        padding: 20px 0;
    }

    .vl-wrapper .vl-footer__social-icons {
        margin-bottom: 12px;
    }
}

/* ---------------------------------------------------------------------
   12. Very small screens
   --------------------------------------------------------------------- */
@media (max-width: 480px) {
    .vl-wrapper .vl-footer__columns {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .vl-wrapper .vl-footer__col--categories,
    .vl-wrapper .vl-footer__col--company {
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
}
