﻿html {
    position: relative;
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: #202124;
    background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: "Poppins", sans-serif;
}

/* Top bar */

.top-bar {
    padding: 7px 0;
    color: #ffffff;
    background-color: #212529;
}

    .top-bar a {
        color: #ffffff;
        text-decoration: none;
    }

        .top-bar a:hover {
            color: #dddddd;
        }

/* Navbar */

.main-navbar {
    min-height: 76px;
    z-index: 1030;
}

.site-logo {
    width: auto;
    height: 65px;
    max-width: 220px;
    object-fit: contain;
}

.navbar-nav .nav-link {
    position: relative;
    margin: 0 4px;
    padding: 26px 10px;
    color: #252525;
    font-weight: 500;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #c51c2c;
    }

        .navbar-nav .nav-link.active::after {
            position: absolute;
            right: 10px;
            bottom: 17px;
            left: 10px;
            height: 2px;
            content: "";
            background-color: #c51c2c;
        }

.admin-link {
    color: #c51c2c !important;
}

/* Search */

.header-search {
    width: 190px;
}

    .header-search .form-control {
        border-radius: 25px 0 0 25px;
    }

    .header-search .btn {
        border-radius: 0 25px 25px 0;
    }

/* Cart */

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #222222;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

    .cart-link:hover {
        color: #c51c2c;
    }

.cart-count {
    display: inline-flex;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #c51c2c;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Footer */
/* =========================================================
   SITE FOOTER
   ========================================================= */
.site-footer {
    color: #d7d7d7 !important;
}

    .site-footer .footer-description,
    .site-footer .footer-link-list a,
    .site-footer .footer-contact-list li,
    .site-footer .footer-contact-list a,
    .site-footer .footer-contact-list span,
    .site-footer .footer-copyright,
    .site-footer .footer-bottom-links a {
        color: #cfcfcf !important;
    }

.site-footer {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 4rem;
    background: radial-gradient( circle at 8% 15%, rgba(178, 34, 34, 0.14), transparent 28% ), linear-gradient( 180deg, #171717 0%, #0f0f0f 100% );
    color: #d4d4d4;
}

    .site-footer::before {
        position: absolute;
        top: -150px;
        right: -130px;
        width: 380px;
        height: 380px;
        border: 55px solid rgba(255, 255, 255, 0.025);
        border-radius: 50%;
        content: "";
        pointer-events: none;
    }

.footer-main {
    position: relative;
    z-index: 1;
    padding: 4.5rem 0 3.5rem;
}

.footer-brand {
    max-width: 410px;
}

.footer-logo-link {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: block;
    width: 270px;
    max-width: 100%;
    height: 90px;
    object-fit: contain;
    object-position: left center;
}

.footer-company-name {
    display: inline-block;
    margin-bottom: 1.25rem;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-description {
    max-width: 410px;
    margin: 0 0 1.6rem;
    color: #c3c3c3;
    font-size: 1rem;
    line-height: 1.75;
}

.footer-heading {
    position: relative;
    margin: 0 0 1.4rem;
    padding-bottom: 0.8rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 750;
}

    .footer-heading::after {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 38px;
        height: 3px;
        border-radius: 999px;
        background: #cf1f35;
        content: "";
    }

/* Social links */

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

    .footer-social-links a {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 1.05rem;
        text-decoration: none;
        transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    }

        .footer-social-links a:hover {
            transform: translateY(-4px);
            border-color: #cf1f35;
            background: #cf1f35;
            color: #fff;
        }

/* Footer links */

.footer-link-list,
.footer-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-link-list {
    display: grid;
    gap: 0.85rem;
}

    .footer-link-list a {
        position: relative;
        display: inline-flex;
        align-items: center;
        color: #c8c8c8;
        font-size: 0.98rem;
        text-decoration: none;
        transition: color 0.25s ease, transform 0.25s ease;
    }

        .footer-link-list a::before {
            width: 0;
            overflow: hidden;
            color: #e0273e;
            content: "›";
            transition: width 0.25s ease, margin-right 0.25s ease;
        }

        .footer-link-list a:hover {
            transform: translateX(4px);
            color: #fff;
        }

            .footer-link-list a:hover::before {
                width: 10px;
                margin-right: 0.25rem;
            }

/* Contact list */

.footer-contact-list {
    display: grid;
    gap: 1rem;
}

    .footer-contact-list li {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        align-items: start;
        gap: 0.65rem;
        color: #c8c8c8;
        font-size: 0.96rem;
        line-height: 1.6;
    }

    .footer-contact-list i {
        margin-top: 0.15rem;
        color: #e4e4e4;
        font-size: 1.05rem;
    }

    .footer-contact-list a,
    .footer-contact-list span {
        min-width: 0;
        color: #c8c8c8;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    .footer-contact-list a {
        transition: color 0.25s ease;
    }

        .footer-contact-list a:hover {
            color: #fff;
        }

/* Bottom footer */

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0 1.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-copyright {
    color: #bdbdbd;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
}

    .footer-bottom-links a {
        color: #c8c8c8;
        font-size: 0.9rem;
        text-decoration: none;
        transition: color 0.25s ease;
    }

        .footer-bottom-links a:hover {
            color: #fff;
        }

/* Prevent old global styles from overriding footer */

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
    color: #fff;
}

.site-footer p,
.site-footer li,
.site-footer span {
    color: inherit;
}

.site-footer a {
    text-decoration: none;
}

/* Tablet */

@media (max-width: 991.98px) {
    .footer-main {
        padding: 3.75rem 0 3rem;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo {
        width: 235px;
        height: 80px;
    }
}

/* Mobile */

@media (max-width: 767.98px) {
    .site-footer {
        margin-top: 3rem;
    }

    .footer-main {
        padding: 3rem 0 2.5rem;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom-links {
        gap: 0.8rem 1.4rem;
    }
}

@media (max-width: 575.98px) {
    .footer-logo {
        width: 210px;
        height: 72px;
    }

    .footer-description {
        font-size: 0.95rem;
    }

    .footer-social-links a {
        width: 42px;
        height: 42px;
    }
}

.site-footer .footer-heading {
    color: #ffffff !important;
}

.site-footer .footer-contact-list i {
    color: #ffffff !important;
}

.site-footer .footer-link-list a::before {
    color: #e1263c !important;
}

.site-footer .footer-link-list a:hover,
.site-footer .footer-contact-list a:hover,
.site-footer .footer-bottom-links a:hover {
    color: #ffffff !important;
}

.site-footer .footer-divider,
.site-footer .footer-bottom {
    border-color: rgba(255, 255, 255, 0.10) !important;
}
.alert {
    border: 0;
    border-radius: 10px;
}
