﻿.nav-div {
    background-color: white;
    width: 100%;
    z-index: 100;
}

.first-nav {
    z-index: 100;
}

.nav-home {
    height: 100px;
    z-index: 100;
}

.nav-logo {
    text-align: center;
    text-decoration: none;
    font-size: 35px;
    margin: auto;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    display: inline-block;
    z-index: 1000;
}

.logoo {
    text-decoration: none;
    color: black;
    z-index: 100;
    margin-right: 50px;
}

    .logoo:hover {
        color: black;
    }

.nav-links {
    margin-left: 25px;
    position: relative;
    z-index: 10;
}

.navbar-nav {
    height: 35px;
    margin-top: 30px;
}

.nav-link:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.item {
    margin-left: 35px;
    font-size: 15px;
    color: black !important;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    height: 10px;
}

nav .navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px 0px;
    max-width: 100%;
}

.nav-item:hover .nav-hr {
    background-color: black;
}

.nav-hr {
    background-color: white;
    margin-top: -1px;
    margin: auto;
    display: none;
}

.item:hover hr {
    display: block;
}

.item:focus hr {
    display: block;
    background-color: black;
}

/* Restyled main dropdown menu for Clothes */
.clothes .menu {
    background-color: white;
    list-style: none;
    display: none;
    position: absolute;
    margin-top: 15px;
    padding: 0;
    width: calc(100% - 35px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    left: 50%;
    transform: translateX(-50%);
}

    .clothes .menu .btn-group {
        display: block;
        margin-bottom: 0;
        width: 100%;
    }

.clothes .nav-top {
    width: 100%;
    text-decoration: none;
    color: black;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.clothes .arrow-top,
.clothes .arrow-topscroll {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.clothes .nav-top:hover {
    background-color: rgb(87, 87, 87);
    color: white;
}

    .clothes .nav-top:hover .arrow-top,
    .clothes .nav-top:hover .arrow-topscroll {
        color: white;
    }

.clothes .menu1 {
    margin-top: 0;
    display: none;
    background-color: #f9f9f9;
    padding: 5px 0;
    border-top: 1px solid #e0e0e0;
}

    .clothes .menu1 a {
        display: block;
        text-decoration: none;
        color: black;
        padding: 8px 20px;
        font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
        font-size: 13px;
    }

.clothes .menu1-ele:hover {
    background-color: rgb(87, 87, 87);
    color: white;
}

.clothes:hover .menu {
    display: block;
}

.icons {
    position: absolute;
    margin-top: 12px;
    right: 2px;
    text-align: center;
    font-size: 20px;
    color: rgb(0, 0, 0);
    z-index: 10;
}

.login-icon {
    margin-right: 23px;
}

    .login-icon:hover {
        transform: scale(1.1, 1.1);
        transition: 0.3s;
        cursor: pointer;
    }

.fav-icon {
    margin-right: 22px;
}

    .fav-icon:hover {
        transform: scale(1.1, 1.1);
        transition: 0.3s;
        cursor: pointer;
    }

.cart-icon:hover {
    transform: scale(1.1, 1.1);
    transition: 0.3s;
    cursor: pointer;
}

.nav-homee {
    height: 120px;
    z-index: 100;
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
}

    .nav-homee .item {
        color: black !important;
    }

    .nav-homee .nav-links {
        margin-top: 30px;
    }

.hide-nav {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.fixed-header {
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    z-index: 999;
}

.show-nav {
    display: flex;
    position: absolute;
    top: 80px;
    width: 100%;
    background-color: white;
    z-index: 998;
    transition: all 0.3s ease-in-out;
}

header {
    width: 100%;
    height: 50px;
    background-color: #ffffff00;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 10000;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-bb {
    color: #111;
    z-index: 100;
    font-size: 20px;
}

.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fffbfb;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 100000;
}

    .side-nav a {
        padding: 10px 15px;
        text-decoration: none;
        font-size: 15px;
        color: rgb(3, 0, 0);
        display: block;
        transition: 0.3s;
        font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    }

        .side-nav a:hover {
            background-color: #575757;
            color: white;
        }

    .side-nav .close-btn {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 30px;
        cursor: pointer;
        color: rgb(0, 0, 0);
    }

.open-btn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
    position: absolute;
    top: 20px;
    left: 20px;
}

.cta-button {
    display: block;
    width: 80%;
    margin: 20px auto;
    padding: 10px;
    background-color: #575757;
    color: white;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

    .cta-button:hover {
        background-color: #777;
    }

.open {
    color: white;
    z-index: 10000;
    visibility: hidden;
    cursor: pointer;
}

.s {
    z-index: 100;
    color: black;
    margin-left: 15px;
    cursor: pointer;
    font-size: 17px;
    transition: visibility 0.3s ease-in-out;
}

.search-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 100001; /* Increased to avoid overlap with side-nav */
    padding: 10px 15px;
    gap: 10px;
}

    .search-container form {
        flex-grow: 1;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.search-box {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}

.search-btn,
.close-btn {
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 8px 12px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn {
    color: #333;
    font-size: 20px;
}

.search-container.open {
    opacity: 1;
    visibility: visible;
}

    /* Hide search icon when search container is open */
    .search-container.open ~ .s {
        visibility: hidden;
    }

/* Sidebar submenu styles */
.side-nav .submenu#clothesSubmenu {
    display: none;
    padding-left: 15px;
    background-color: #f5f5f5;
    border-left: 2px solid #e0e0e0;
}

    .side-nav .submenu#clothesSubmenu .sidetop {
        padding: 10px 15px;
        text-decoration: none;
        font-size: 15px;
        color: rgb(3, 0, 0);
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: 0.3s;
        font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
        font-weight: 500;
    }

.side-nav potrzebie#clothesSubmenu .arrowTop {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.side-nav .submenu#clothesSubmenu .sidetop:hover {
    background-color: #575757;
    color: white;
}

    .side-nav .submenu#clothesSubmenu .sidetop:hover .arrowTop {
        color: white;
    }

.side-nav .submenu#clothesSubmenu a.topSub {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 14px;
    color: rgb(3, 0, 0);
    transition: 0.3s;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
}

    .side-nav .submenu#clothesSubmenu a.topSub:hover {
        background-color: #575757;
        color: white;
    }

/* Default state of arrows */
.arrow-top,
.arrow-topscroll,
.arrowTop,
.arrow {
    transform: rotate(180deg);
}

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #dc2626;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    display: none;
    min-width: 20px;
    text-align: center;
    z-index: 10;
}

.outline {
    font-weight: 400; /* Light weight for a thinner appearance */
    color: transparent; /* Make the inside transparent */
    -webkit-text-stroke: 1.4px black; /* Outline effect */
    transition: -webkit-text-stroke-color ease;
}

    .outline:hover {
        -webkit-text-stroke-color: black; /* Change stroke color on hover */
        color: transparent;
    }

.nav-div:hover .outline {
    -webkit-text-stroke-color: black;
}

@media screen and (max-width: 1400px) {
    .navbar-nav {
        margin-right: 50px;
    }
}

@media screen and (max-width: 768px) {
    .open {
        visibility: visible;
        z-index: 5000;
    }

    .login-icon {
        display: none;
    }

    .icons {
        margin-right: 10px;
    }

    .nav-home {
        display: none;
    }

    .swipper {
        min-height: 30vh;
    }
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-right: 50px;
}

.side-nav .submenu {
    display: none;
    padding-left: 25px;
}

    .side-nav .submenu a {
        display: block;
        padding: 5px;
    }

.arrow {
    margin-left: 100px;
}

.sideclothes:hover .arrow {
    color: white;
}

.sidetop:hover .arrowTop {
    color: white;
}

.arrowTop {
    margin-left: 140px;
}

.sidebottom:hover .arrowBottom {
    color: white;
}

.arrowBottom {
    margin-left: 123px;
}


@media screen and (max-width: 768px) {
    .login-icon {
        display: inline-block; /* Restore visibility */
        font-size: 1.4rem; /* Larger icon for better visibility */
        padding: 10px; /* Increase touch target size */
        cursor: pointer; /* Ensure it looks clickable */
    }

    .icons {
        z-index: 1000; /* Prevent overlap by nav-div::after */
        margin-right: 10px; /* Maintain spacing */
    }

    .login-icon {
        margin-right: 11px;
    }
}

@media screen and (max-width: 768px) {
    .nav-logo {
        font-size: 30px; /* Reduce font size for smaller screens */
        margin-right: auto; /* Ensure it stays aligned to the left */
    }

    .logoo {
        margin-left: -30px; /* Reduce the right margin to prevent overlap with icons */
    }
}