:root {
    --bg-gold: #B9A788;
    --border-brown: #2E2E2E;
    --text-white: #ffffff;
    --text-black: #000000;
    --text-gray: #333333;
    --text-light-gray: #777777;
    --border-color: #e0e0e0;
    --mega-bg: #ffffff;
    --sidebar-bg: #F7F7F7;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

.main-header {
    max-width: 2000px;
    display: flex;
    margin: 0 auto;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    position: relative;
}

.header-top {
    justify-content: center;
    padding: 0.6rem 0;
    align-items: center;
    width: 100%;
    background-color: var(--bg-gold);
    display: flex;
    overflow: hidden;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    width: max-content;
    color: var(--text-white);
    animation: scroll 20s linear infinite;
    display: flex;
}

.marquee-content {
    display: flex;
    gap: 40px;
    font-weight: 500;
    font-size: 0.8rem;
    white-space: nowrap;
    padding-right: 40px;
    align-items: center;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.header-content {
    display: flex;
    background-color: #fff;
    align-items: center;
    max-width: 2000px;
    margin: 0 auto;
    justify-content: space-between;
    width: 100%;
    min-height: 85px;
    padding: 0 3rem;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
}

.main-menu-list {
    gap: 1.5rem;
    list-style: none;
    align-items: center;
    display: flex;
}

.menu-element {
    padding: 2.2rem 0;
}

.menu-element>a {
    transition: color 0.2s, border-bottom-color 0.2s;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    color: var(--text-gray);
    padding-bottom: 4px;
    display: inline-block;
}

.menu-element:hover>a {
    color: var(--text-black);
    border-bottom-color: var(--text-black);
}

.menu-element>a.outlet-link {
    color: #e60000;
}

.menu-element>a.timeless-link {
    color: #6B3F1E;
}

.logo {
    height: auto;
    object-fit: contain;
    cursor: pointer;
    width: 7.5%;
}

.right-group {
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
    display: flex;
}

.search-container {
    width: 19vw;
    display: flex;
    max-width: 400px;
    align-items: center;
    padding-bottom: 6px;
    min-width: 270px;
    border-bottom: 1px solid #ddd;
}

.search-input {
    width: 100%;
    outline: none;
    border: none;
    font-size: 0.85rem;
    color: var(--text-black);
    background: transparent;
}

.search-input::placeholder {
    color: #272727;
    font-weight: 400;
}

.search-button {
    cursor: pointer;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    display: flex;
}

.search-icon {
    width: 18px;
    height: 18px;
}

.header-item-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.header-item a {
    align-items: center;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    display: flex;
    color: var(--text-gray);
    justify-content: center;
}

.header-item a:hover {
    color: var(--text-black);
}

.item-icon-box {
    align-items: center;
    height: 24px;
    background-color: transparent;
    display: flex;
    justify-content: center;
}

.item-icon {
    width: 20px;
    height: 20px;
}

.header-item span {
    font-size: 0.65rem;
    font-weight: 500;
}

.cart-box {
    position: relative;
}

.badge {
    font-size: 0.65rem;
    font-weight: 700;
    font-style: normal;
    color: var(--text-white);
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -5px;
    width: 16px;
    right: -8px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--text-black);
}

.mega-dropdown-menu {
    visibility: hidden;
    left: 0;
    background-color: var(--mega-bg);
    width: 100%;
    z-index: 100;
    justify-content: space-between;
    display: flex;
    transition: all 0.3s ease-in-out;
    transform: translateY(10px);
    border-top: 1px solid var(--border-color);
    position: absolute;
    top: 100%;
    pointer-events: none;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    padding: 0;
}

.menu-element.has-dropdown:hover .mega-dropdown-menu {
    transform: translateY(0);
    pointer-events: all;
    opacity: 1;
    visibility: visible;
}

.mega-left {
    display: flex;
    min-width: 200px;
    flex-direction: column;
    background-color: var(--sidebar-bg);
    padding: 3rem 0 8rem 0;
    width: 20%;
}

.mega-left ul {
    list-style: none;
    flex-direction: column;
    display: flex;
}

.mega-left ul li a {
    padding: 0.5rem 1rem;
    display: flex;
    text-decoration: none;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    color: #333;
    transition: background 0.2s, color 0.2s;
    align-items: center;
    position: relative;
}

.mega-left ul li a:hover,
.mega-left ul li a.active {
    background-color: #fff;
    color: #000;
}

.arrow {
    display: none;
    font-size: 1.1rem;
    font-weight: 600;
    position: absolute;
    right: 1rem;
}

.card-content {
    height: auto;
    left: 25%;
    gap: 0;
    position: absolute;
    top: 2rem;
    width: 30%;
    padding: 0;
    display: none;
}

.active-card .card-content {
    display: flex;
}

.mega-left:hover .active-card .card-content {
    display: none;
}

.mega-left .menu-card:hover .card-content {
    display: flex;
}

.active-card>a .arrow {
    display: inline;
}

.mega-left:hover .active-card>a .arrow {
    display: none;
}

.mega-left .menu-card:hover>a .arrow {
    display: inline;
}

.active-card>a {
    background-color: #fff;
    color: #000;
}

.mega-left:hover .active-card>a {
    background-color: transparent;
    color: #333;
}

.mega-left .menu-card:hover>a {
    background-color: #fff;
    color: #000;
}

.card-text-columns {
    width: 100%;
    column-count: 3;
    column-gap: 5px;
}

.card-text-columns a {
    width: 100%;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 0.8;
    text-decoration: none;
    transition: color 0.2s;
    margin-bottom: 0;
    display: block;
    break-inside: avoid-column;
    color: #333;
}

.card-text-columns a:hover {
    color: var(--text-light-gray);
}

.mega-right {
    width: 40%;
    align-items: stretch;
    justify-content: flex-end;
    display: flex;
    padding: 2rem 0 7rem 0;
}

.mega-img {
    width: 100%;
    max-width: 650px;
    height: 100%;
    object-fit: cover;
    border-radius: 0px 10px 10px 0px;
    margin-left: auto;
}

.mobile-left {
    display: none;
}

.hamburger-div {
    gap: 6px;
    flex-direction: column;
    cursor: pointer;
}

.hamburger-line {
    height: 1.5px;
    width: 22px;
    background-color: #000;
}

.mobile-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.mobile-search-btn img {
    width: 22px;
    height: 22px;
}

.space {
    height: 200vh;
}

.space img {
    width: 100%;
    height: auto;

}



@media (max-width: 992px) {
    .header-content {
        padding: 1rem 1.5rem;
    }

    .mobile-left {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        flex: 1;
    }

    .hamburger-div {
        display: flex;
    }

    .header-nav {
        display: none;
    }

    .logo {
        flex: 1;
        height: 35px;
        object-fit: contain;
    }

    .right-group {
        flex: 1;
        justify-content: flex-end;
    }

    .search-container {
        display: none;
    }

    .header-item-container {
        gap: 1.2rem;
    }

    .header-item span {
        display: none;
    }

    .item-icon-box {
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        border-radius: 0;
    }

    .item-icon {
        width: 24px;
        height: 24px;
    }

    .cart-box .badge {
        top: -4px;
        right: -8px;
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
}