/* Header Styles */
.header {
    background-color: #131921;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Main Navigation */
.nav {
    background-color: #131921;
    padding: 0;
}

.nav-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    gap: 20px;
    overflow: hidden;
}

/* Logo */
.nav-logo {
    flex-shrink: 0;
}

.nav-logo h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

/* Location */
.nav-location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #cccccc;
    font-size: 12px;
    cursor: pointer;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: border-color 0.15s ease;
}

.nav-location:hover {
    border-color: #ffffff;
}

.nav-location-icon {
    font-size: 16px;
}

.nav-location-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-location-line1 {
    font-size: 12px;
    color: #cccccc;
}

.nav-location-line2 {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

/* Search Bar */
.nav-search {
    flex: 1;
    max-width: 800px;
}

.nav-search-form {
    display: flex;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(15, 17, 17, 0.15);
}

.nav-search-category {
    background-color: #f3f3f3;
    border: none;
    padding: 0 8px;
    font-size: 12px;
    color: #0f1111;
    cursor: pointer;
    border-radius: 4px 0 0 4px;
    min-width: 50px;
}

.nav-search-input {
    flex: 1;
    border: none;
    padding: 0 12px;
    font-size: 16px;
    outline: none;
    background-color: #ffffff;
}

.nav-search-submit {
    background-color: #febd69;
    border: none;
    padding: 0 12px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: background-color 0.15s ease;
}

.nav-search-submit:hover {
    background-color: #f3a847;
}

.nav-search-icon {
    width: 20px;
    height: 20px;
    color: #0f1111;
}

/* Language Selector */
.nav-language {
    flex-shrink: 0;
}

.nav-language-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: border-color 0.15s ease;
}

.nav-language-link:hover {
    border-color: #ffffff;
}

.nav-flag {
    font-size: 16px;
}

.nav-language-text {
    font-size: 14px;
    font-weight: bold;
}

/* Account & Lists */
.nav-account {
    flex-shrink: 0;
}

.nav-account-link {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: border-color 0.15s ease;
    line-height: 1.2;
}

.nav-account-link:hover {
    border-color: #ffffff;
}

.nav-account-line1 {
    font-size: 12px;
    color: #cccccc;
}

.nav-account-line2 {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

/* Returns & Orders */
.nav-returns {
    flex-shrink: 0;
}

.nav-returns-link {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: border-color 0.15s ease;
    line-height: 1.2;
}

.nav-returns-link:hover {
    border-color: #ffffff;
}

.nav-returns-line1 {
    font-size: 12px;
    color: #cccccc;
}

.nav-returns-line2 {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

/* Cart */
.nav-cart {
    flex-shrink: 0;
}

.nav-cart-link {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: border-color 0.15s ease;
}

.nav-cart-link:hover {
    border-color: #ffffff;
}

.nav-cart-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-cart-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.nav-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ff9900;
    color: #0f1111;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 8px;
    min-width: 14px;
    height: 16px;
    text-align: center;
    line-height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-cart-text {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

/* Sub Navigation */
.sub-nav {
    background-color: #232f3e;
    padding: 8px 14px;
}

.sub-nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 14px;
}

.sub-nav-menu {
    margin-right: 8px;
}

.sub-nav-menu-button {
    background: none;
    border: 1px solid transparent;
    color: #ffffff;
    padding: 8px 9px;
    cursor: pointer;
    border-radius: 2px;
    transition: border-color 0.15s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.sub-nav-menu-button:hover {
    border-color: #ffffff;
}

.sub-nav-menu-icon {
    font-size: 16px;
}

.sub-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sub-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: border-color 0.15s ease;
    white-space: nowrap;
}

.sub-nav-link:hover {
    border-color: #ffffff;
}


/* Career Breadcrumb */
.breadcrumb {
    background-color: #f7f8f8;
    padding: 10px 14px;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    color: #333;
}

.breadcrumb-container {
    width: 100%;
    padding: 0 14px;
}

.breadcrumb-item {
    color: #007185;
    text-decoration: none;
}

.breadcrumb-item:hover {
    color: #c7511f;
    text-decoration: underline;
}

.breadcrumb-item.current {
    color: #0f1111;
    font-weight: 600;
}

.breadcrumb-separator {
    margin: 0 6px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 8px 10px;
        gap: 15px;
    }
    
    .nav-search {
        max-width: 400px;
    }
    
    .nav-location,
    .nav-returns {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }
    
    .nav-account,
    .nav-language {
        display: none;
    }
    
    .sub-nav-container {
        padding: 8px 0;
        overflow-x: hidden;
    }
    
    .sub-nav-links {
        gap: 15px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 14px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        flex: 1;
    }
    
    .sub-nav-links::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .breadcrumb {
        font-size: 12px;
        padding: 8px 10px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .breadcrumb::-webkit-scrollbar {
        display: none;
    }
    
    .breadcrumb-container {
        white-space: nowrap;
        padding: 0 14px;
    }
}

@media (max-width: 480px) {
    .nav-logo h3 {
        font-size: 20px;
    }
    
    .sub-nav-container {
        gap: 10px;
    }
    
    .sub-nav-links {
        gap: 10px;
    }
    
    .sub-nav-link {
        font-size: 13px;
        padding: 6px 8px;
    }
}
