

.footer-text {
    font-size: 0.7rem !important;
    margin-bottom: 0.25rem; /* or even 0 for no space */
    margin-top: 0; /* remove any top margin */
    line-height: 1.2; /* slightly tighter line spacing */
}

/* Rounded card styling for footer */
.footer-card {
    border-radius: 1rem !important; /* rounded corners */
    overflow: hidden !important; /* ensure inner bg is clipped to rounded corners */
    box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important; /* subtle elevation */
    margin: 1.5rem 0 !important; /* space from page content */
}

.footer-card .footer-row {
    background-color: #212529; /* match Bootstrap bg-dark */
    padding: 1.5rem 2rem; /* more balanced inner spacing */
}

/* Slightly larger radius on larger screens */
@media (min-width: 768px) {
    .footer-card {
        border-radius: 1.25rem;
        margin: 2rem 0;
    }
}

/* Improve link contrast inside footer */
.footer-card a {
    color: #ffffff;
}

/* Make sure icons and svg respect the card padding */
.footer-card .sf-svg-icon {
    height: 3rem;
}

/* Mobile layout for screens 1185px and below */
@media (max-width: 1185px) {
    .footer-row {
        flex-direction: column !important;
    }
    
    .footer-row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Logo - centered at top */
    .footer-row .col-md-1 {
        text-align: start;
        margin-bottom: 2rem;
        order: 1;
    }
    
    /* Company info - left aligned */
    .footer-row .col-md-4 {
        text-align: left;
        padding-left: 1rem;
        order: 2;
    }
    
    /* Opening hours - below company info */
    .footer-row .col-md-5 {
        margin-top: 2rem !important;
        text-align: left;
        order: 3;
    }
    
    /* Fix opening hours columns - reduce gap */
    .footer-row .col-md-5 .row > div {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .footer-row .col-md-5 .col-6:first-child {
        padding-right: 1rem;
    }
    
    .footer-row .col-md-5 .col-6:last-child {
        padding-left: 0.5rem;
    }
}

