.home-trust-banner {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    max-height: 300px;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    z-index: 1;
    margin-left: -20px;
    margin-right: -20px;
}

/* content above blur */
.home-trust-banner .banner-content {
    z-index: 2;
}

/* header */
.page-header {
    position: relative;
    z-index: 50;
}

/* BLURRED IMAGE */
.home-trust-banner::before {
    content: "";
    position: absolute;
    inset: 0;

    background: url('../images/home-banner.avif') no-repeat center center;
    background-size: cover;

    filter: blur(1px);
    transform: scale(1.08);

    z-index: 1;
}

/* DARK OVERLAY */
.home-trust-banner::after {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

/* TEXT ABOVE EVERYTHING */
.home-trust-banner .banner-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    color: #fff;
}

.home-trust-banner p {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.home-trust-banner .shop-now-btn {
    display: inline-block;
    margin-top: 20px;
    background: #ff5a00;
    color: #fff;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

/* Top Savings */
.home-savings-header.text-center {
    text-align: center;
}

/* Footer CSS */
.footer.content.footer-columns,
.footer .newsletter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer .newsletter {
    max-width: 320px;
}

.footer.content.footer-columns .block.footer {
    flex: 1 1 220px;
    min-width: 200px;
}

.footer.content.footer-columns .block.footer:last-child {
    order: 4;
}

.footer-links.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}

.footer-links.footer-contact a {
    color: inherit;
    word-break: break-word;
}

.footer-store-name {
    font-weight: 600;
}


/* Footer Disclaimer Styling */
.emedsmart-footer-disclaimer {
    padding: 10px 0 0 10px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.emedsmart-footer-disclaimer p {
    margin: 0 0 10px;
}

.emedsmart-footer-disclaimer strong {
    font-weight: 600;
}

/* Search bar */
/* Desktop: widen search safely without breaking header */
@media (min-width: 1025px) {

    /* keep Magento float — just increase width */
    .page-header .block-search {
        width: 540px;
        max-width: 540px;
    }

    .page-header .block-search .control {
        width: 100%;
    }

    .page-header .block-search input#search {
        width: 100%;
    }

}

/* Mobile responsive table scroll */
@media (max-width: 768px) {

    .home-top-save-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .home-top-save-table table {
        min-width: 600px; /* forces scroll instead of squeeze */
    }
}

/* Limit dropdown height */
@media (min-width: 769px) {

    .navigation .level0.submenu {
        max-height: 70vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .navigation .level0.parent:hover > .submenu {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

}


/* MOBILE hidden */
@media (max-width: 768px) {
    .home-trust-banner {
        display: none;
    }
}