/* =================================
   Footer Styles
   ================================= */
:root {
    /* Color scheme for the light/white theme */
    --uv-footer-bg: #ffffff;
    --uv-footer-text: #6c757d;
    --uv-footer-heading: #212529;
    --uv-footer-link-hover: #0056b3;
    --uv-footer-primary: #007bff;
    --uv-footer-border: #dee2e6;
    /* Override Bootstrap’s global font variable */
    --bs-font-sans-serif: "Manrope", system-ui, -apple-system, "Segoe UI",
                          Roboto, "Helvetica Neue", Arial, "Noto Sans",
                          "Liberation Sans", sans-serif;
}

  /* Optional: enforce on html/body in case of custom resets */
  html, body { font-family: var(--bs-font-sans-serif); }


.uv-footer-site-footer {
    background-color: var(--uv-footer-bg);
    color: var(--uv-footer-text);
    padding: 60px 0 20px 0;
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid var(--uv-footer-border);
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't add to the width */
}

.uv-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.uv-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.uv-footer-col .uv-footer-logo {
    display: block;
    margin-bottom: 20px;
    max-width: 150px;
}

.uv-footer-col h3 {
    color: var(--uv-footer-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.uv-footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--uv-footer-primary);
}

.uv-footer-col p {
    margin-bottom: 15px;
}

.uv-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.uv-footer-col ul li {
    margin-bottom: 12px;
}

.uv-footer-col ul a {
    color: var(--uv-footer-text);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.uv-footer-col ul a:hover {
    color: var(--uv-footer-link-hover);
    padding-left: 5px;
}

.uv-footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.uv-footer-social-icons a {
    color: var(--uv-footer-text);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.uv-footer-social-icons a:hover {
    color: var(--uv-footer-primary);
    transform: translateY(-3px);
}

.uv-footer-bottom {
    border-top: 1px solid var(--uv-footer-border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.uv-footer-copyright {
    font-size: 0.9rem;
    margin: 0;
}

.uv-footer-payment-icons {
    display: flex;
    gap: 10px;
    font-size: 1.8rem;
    color: #adb5bd;
}

/* =================================
   Responsive Styles
   ================================= */
@media (max-width: 768px) {
    .uv-footer-site-footer {
        padding: 40px 20px 20px 20px;
        font-size: 14px;
    }

    /* --- NEW 2-COLUMN GRID FOR MOBILE --- */
    .uv-footer-grid {
        grid-template-columns: repeat(2, 1fr); /* Creates a 2x2 grid */
        gap: 30px 20px; /* Vertical and horizontal gap */
    }

    .uv-footer-col {
        text-align: left; /* Ensures text within columns is left-aligned */
    }

    .uv-footer-col .uv-footer-logo {
        margin-left: 0; /* Align logo to the left */
        margin-right: 0;
    }
    
    .uv-footer-col h3 {
        font-size: 1rem;
    }

    /* --- Revert heading underline to left-aligned --- */
    .uv-footer-col h3::after {
        left: 0;
        transform: none;
    }

    .uv-footer-social-icons {
        justify-content: flex-start; /* Align social icons to the left */
    }

    .uv-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .uv-footer-copyright {
        font-size: 0.8rem;
    }
}
