html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.contact-us {
    background-image: url("../images/home/contact-us.jpg");
    height: 75vh;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width * 100) */
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.social-link {
    text-decoration: none !important;
    color: inherit;
}
.social-link:hover {
    color: inherit;
}

.navbar-brand {
    padding: 0px;
}

.nav-link.active {
    color: #8bcc2e!important;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 10px;
}

img.assistance-chat:hover {
    transform: scale(1.15);
}

/* Product card overlay: keep inside the image bounds */
.product-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8%;
    width: calc(100% - 24px);
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.product-overlay .btn {
    pointer-events: auto;
}

.btn-pill {
    border-radius: 50px;
    font-weight: 500;
}

.btn-icon-big {
    font-size: 1.8em;
    line-height: 1;
    margin-left: 6px;
}

/* Responsive button group—wrap on very small screens to avoid overflow */
.btn-row {
    display: flex;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.btn-row .btn {
    min-width: 140px;
}

@media (max-width: 380px) {
    .btn-row .btn {
        min-width: 120px;
    }
}

.card-img-top {
    display: block;
    width: 100%;
    height: auto;
}

img.ap-img {
    margin: 10px 0px;
}

p.mt-3 {
    font-size: 1.3rem;
    margin: 10px 0px;
}

.just-justified {
    text-align: justify;
}

.center-justified {
    text-align: justify;
    text-align-last: center;
}

@media (max-width: 768px) {
    .ms-3 {
        margin-left: 0px!important;
    }
}

@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }
}

.hours-widget .row-line {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0.5rem;
    padding: 0.35rem 0;
    align-items: baseline;
}

.hours-widget .row-line[aria-current="date"] strong {
    color: #000;
}

@media (max-width: 400px){
    .hours-widget {
        max-width: 100%;
    }
}