/* FONT IMPORT */

@import url(https://db.onlinewebfonts.com/c/465b1cbe35b5ca0de556720c955abece?family=Abolition+W00+Regular);
@font-face {
    font-family: "Abolition";
    src: url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.eot");
    src: url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.eot?#iefix") format("embedded-opentype"), url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.woff2") format("woff2"), url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.woff") format("woff"), url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.ttf") format("truetype"), url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.svg#Abolition W00 Regular") format("svg");
}


/* NAVBAR BASE */

.glass-navbar {
    background-color: rgba(10, 11, 20, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0.5rem 2rem !important;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}


/* LOGO */

.logo {
    font-family: "Abolition", sans-serif !important;
    color: #fff !important;
    font-size: 3.5rem !important;
    letter-spacing: 0.2rem !important;
}


/* NAV LINKS */

.navbar-nav .nav-link {
    font-family: "Abolition", sans-serif !important;
    color: #e0e0e0 !important;
    font-size: 1.5rem !important;
    letter-spacing: 0.1rem !important;
    text-transform: uppercase !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    position: relative;
    background: none !important;
}

.navbar-nav .nav-link span {
    position: relative;
}

.navbar-nav .nav-link span::after {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -7px;
    border-top: 2px solid #b22222;
    height: 5px;
    background: linear-gradient(to bottom, rgba(178, 34, 34, 0.5), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.navbar-nav .nav-link:hover span::after,
.navbar-nav .nav-link.active span::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}

.shop-link {
    color: #ff4d4d !important;
}

.shop-link.active {
    color: #ff6666 !important;
}


/* -- MINIMALIST RIGHT-SIDE ACTIONS -- */

.icon-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.icon-link i {
    font-size: 1.3rem !important;
    color: #c0c0c0;
    transition: color 0.2s ease-in-out;
}

.icon-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.icon-link:hover i {
    color: #fff;
}


/* Vertical Divider for Right-Side Actions */

.nav-item-divider {
    width: 1px;
    height: 28px;
    background: linear-gradient( to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 0 0.75rem;
}

.user-menu-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    border-radius: 50px !important;
    padding: 0.5rem 1rem !important;
    font-family: sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    height: 42px;
    color: #e0e0e0 !important;
    background: transparent;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.user-menu-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.user-menu-link i {
    font-size: 1.2rem !important;
}

.user-name {
    font-weight: 600 !important;
}


/* -- MINIMALIST LOGIN BUTTON WITH NOTCHED SHAPE -- */

.login-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    padding: 0.4rem 1.2rem !important;
    font-family: sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    border: none;
    background-color: #e53935;
    clip-path: polygon( 0 4px, 4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%);
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.login-button:hover {
    background-color: #f44336;
    transform: translateY(-2px);
}

.login-button span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white !important;
}


/* DROPDOWN MENU */

.dropdown-menu {
    background-color: rgba(20, 22, 37, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 0.5rem 0 !important;
    margin-top: 1rem !important;
    min-width: 220px;
}

.dropdown-item {
    font-family: sans-serif !important;
    font-size: 1rem !important;
    color: #e0e0e0 !important;
    font-weight: 500 !important;
    padding: 0.75rem 1.5rem !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
}

.dropdown-item:hover {
    background-color: rgba(178, 34, 34, 0.8) !important;
    color: #fff !important;
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dropdown-header {
    font-size: 0.9rem !important;
    color: #a0a0a0 !important;
}


/* SEARCH OVERLAY */

.search-overlay-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 0 !important;
    background: rgba(10, 11, 20, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    overflow: hidden !important;
    z-index: 2000 !important;
    transition: height 0.4s ease !important;
    padding: 0 2rem !important;
}

.search-overlay-bar.active {
    height: 16% !important;
    background: rgba(10, 11, 20, 0.6) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.search-bar-container {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    max-width: 100% !important;
    padding-top: 10px !important;
    gap: 70% !important;
}

.search-full {
    width: 100% !important;
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    border-bottom: 2px solid rgba(178, 34, 34, 0.4) !important;
    padding: 0.4rem 0.5rem !important;
    font-size: 1.6rem !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: 0 !important;
}

.search-full:focus {
    outline: none !important;
    border-bottom: 2px solid #b22222 !important;
    box-shadow: 0 4px 4px -2px rgba(178, 34, 34, 0.7) !important;
    background: transparent !important;
    color: #fff !important;
}

.search-full::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.btn-close-search {
    background: none !important;
    border: none !important;
    color: #fff !important;
    font-size: 1.4rem !important;
    cursor: pointer !important;
}


/* MODALS */

.modal-backdrop.show {
    background-color: rgba(10, 11, 20, 1) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

.login-modal-content {
    background-color: #0a0b14 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6) !important;
    z-index: 1055 !important;
    animation: modalZoom 0.3s ease-out !important;
}

.login-modal-content .logo-modal {
    font-family: "Abolition", sans-serif !important;
}

.login-modal-content input.form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.login-modal-content input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.login-modal-content .login-btn {
    background-color: #b22222 !important;
    color: #fff !important;
    border: none !important;
    transition: background-color 0.3s ease !important;
}

.login-modal-content .login-btn:hover {
    background-color: #a01e1e !important;
}

.login-modal-content a {
    color: #ff4d4d !important;
    text-decoration: none !important;
    font-weight: bold !important;
    transition: color 0.3s ease !important;
}

.login-modal-content a:hover {
    color: #ff6666 !important;
    text-decoration: underline !important;
}

@keyframes modalZoom {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* -- KEYFRAMES FOR DROPDOWN ANIMATION -- */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* -- RESPONSIVE & CENTERING STYLES -- */

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem !important;
        background: rgba(15, 17, 28, 0.95) !important;
        backdrop-filter: blur(10px);
        border-radius: 12px !important;
        padding: 1.5rem !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        animation: slideInDown 0.3s ease-out;
    }
    /* UPDATED FOR HORIZONTAL LAYOUT */
    .navbar-nav-centered {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        /* Space below the links */
    }
    /* HORIZONTAL ACTION MODULE FOR MOBILE */
    .navbar-action-group {
        flex-direction: row !important;
        justify-content: center !important;
        width: 100% !important;
    }
    .logo {
        font-size: 2.5rem !important;
    }
}

@media (min-width: 992px) {
    .navbar-nav-centered {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}