html,
body {
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}


footer {
    font-size: 0.9rem;
}

.top-header {
    background: #111;
}

.top-header .top-header-link {
    color: #fff;
    text-decoration: none;
}

.top-header .top-header-link:hover {
    text-decoration: underline;
}

.toast-container .toast {
    width: 360px;
    margin-bottom: 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
    overflow: visible !important;
}

.custom-toast {
    position: relative;
    overflow: visible !important;
}

.arrow-up {
    position: absolute;
    top: -10px;
    right: 22px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 10px solid black;
    z-index: 10;
}

/* stop the toast growing off-screen */
.toast-container .toast {
    max-height: 80vh;
    /* never taller than 80% of screen */
    overflow: hidden !important;
}

.input-group .btn {
    min-width: 38px;
    border-radius: 0;
}

.btn.btn-outline-black {
    --bs-btn-color: #000;
    --bs-btn-border-color: #000;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #000;
    --bs-btn-hover-border-color: #000;
    border-width: 2px;
    padding: 12px 28px;
}

.btn.btn-black {
    --bs-btn-color: #fff;
    --bs-btn-bg: #000;
    --bs-btn-border-color: #000;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #222;
    --bs-btn-hover-border-color: #222;
    padding: 12px 28px;
}

@media (max-width: 1399px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }
}

.navbar .container {
    max-width: 1600px;
}

.navbar {
    overflow: visible !important;
}

.newsletter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.6);

    display: none;
    /* CRITICAL */
    justify-content: center;
    align-items: center;

    z-index: 99999;
}

.newsletter-overlay.show {
    display: flex;
    /* this is the key change */
}

.newsletter-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.newsletter-box {
    width: 90%;
    max-width: 500px;
    border-radius: 6px;
}

button.shop-now-button {
    background-color: #ff6600 !important;
    border-color: #ff6600 !important;
    color: #fff !important;
}

button.shop-now-button:hover {
    background-color: #e65c00 !important;
    border-color: #e65c00 !important;
}


footer .social-icon,
footer .social-icon:link,
footer .social-icon:visited,
footer .social-icon:hover,
footer .social-icon:active,
footer .social-icon:focus {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

footer .social-icon i {
    text-decoration: none !important;
    border: none !important;
}

footer .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

footer .social-icon:hover {
    transform: translateY(-3px);
    transition: 0.3s ease;
}