.site-header {
    width: 100%;
    height: 80px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: sticky;
    top:0px;
    z-index: 9999;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.menu-toggle {
    width: 45px;
    height: 45px;
    border: none;
    background: none !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
}

.menu-toggle svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.logo a img{
    width: 100%;
    max-width: 100px;
}

/* .logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
    background: #111;
    padding: 10px 14px;
    border-radius: 8px;
} */

.logo-top {
    font-size: 10px;
    color: #fff;
    font-weight: 700;
}

.logo-bottom {
    font-size: 20px;
    font-weight: 900;
    color: #f5c518;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-icon-btn {
    width: 45px;
    height: 45px;
    border: none;
    background:none !important;
    border-radius:0px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: .3s;
    position: relative;
}

.header-icon-btn svg {
    width: 26px;
    height: 26px;
    color: #fff;
}

.cart-icon-wrap {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fecc00;
    color: #111;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .cart-badge.hidden {
    display: none;
} */

.wishlist-icon-wrap {
    position: relative;
}


.wishlist-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fecc00;
    color: #111;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* .wishlist-badge.hidden {
    display: none;
} */


.site-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
    z-index: 9990;
}

.site-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-dropdown-top {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9995;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
    padding: 30px;
    max-height: calc(100vh - 117px);
    overflow-y: auto;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s ease, opacity .35s ease, visibility .35s;
}

.search-dropdown-top.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-inner {
    max-width: 900px;
    margin: auto;
}

.search-box {
    width: 100%;
    display: flex;
    border: 2px solid #d6d6d6;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    height: 60px;
    border: none;
    outline: none;
    padding: 0 20px;
    font-size: 16px;
}

.search-box button {
    width: 70px;
    border: none;
    background: #f5c518;
    cursor: pointer;
}

.search-box button svg {
    width: 22px;
    height: 22px;
}

#searchResults { margin-top: 18px; }

.search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.search-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    transition: .25s ease;
}

.search-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.search-card-img-wrap {
    aspect-ratio: 1 / 1;
    background: #f8f8f8;
}

.search-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.search-card-body { padding: 10px 12px 12px; }

.search-card-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.search-card-price {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.sr-empty {
    padding: 18px;
    text-align: center;
    color: #888;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
}

@media (min-width: 768px) {
    .search-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
    .search-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: #000000;
    z-index: 9999;
    transition: left .4s ease;
    padding: 25px;
    overflow-y: auto;
}

.sidebar-menu.active { left: 0; }

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.sidebar-logo {
    font-size: 22px;
    font-weight: 900;
}

.sidebar-logo img {
    width: 100%;
    max-width: 100px;
}

.sidebar-close {
    width: 32px;
    height: 32px;
    border: none;
    background:#f5c518;
    border-radius: 0px;
    font-size: 22px;
    cursor: pointer;
    color: #000;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-nav a {
    padding: 4px 0;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sidebar-nav a:hover {
    color: #f5c518;
    padding-left: 10px;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: right .4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 30px rgba(0, 0, 0, .10);
}

.cart-drawer.active { right: 0; }

.cart-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.cart-drawer-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    text-transform: uppercase;
}

.cart-drawer-count {
    background: #f5c518;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.cart-drawer-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

.cart-drawer-close svg {
    width: 18px;
    height: 18px;
    color: #111;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-drawer-loading {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
}

.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 70px 20px;
    text-align: center;
}

.cart-drawer-empty svg {
    width: 54px;
    height: 54px;
    color: #ccc;
}

.cart-drawer-empty p {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin: 0;
}

.cart-drawer-empty a {
    display: inline-block;
    padding: 10px 24px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
    text-transform: uppercase;
}

.cart-drawer-empty a:hover {
    background: #f5c518;
    color: #111;
}

.cart-drawer-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f3f3;
    position: relative;
}

.cart-drawer-item:last-child { border-bottom: none; }

.cdi-img-wrap {
    width: 72px;
    height: 72px;
    overflow: hidden;
    background: #f8f8f8;
    flex-shrink: 0;
}

.cdi-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cdi-info {
    flex: 1;
    min-width: 0;
    padding-right: 30px;
}

.cdi-name {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.cdi-variant {
    font-size: 12px;
    color: #888;
    margin: 0 0 8px;
}

.cdi-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cdi-qty {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.cdi-qty button {
    width: 30px;
    height: 30px;
    border: none;
    background: #f7f7f7;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #111;
    transition: background .2s;
}

.cdi-qty span {
    width: 34px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.cdi-price {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.cdi-remove {
    position: absolute;
    top: 14px;
    right: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background .2s;
}

.cdi-remove:hover { background: #fff0f0; }

.cdi-remove svg {
    width: 15px;
    height: 15px;
    color: #e53e3e;
}

.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #fff;
}

.cart-drawer-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.cart-drawer-btn-view,
.cart-drawer-btn-checkout {
    display: block;
    width: 100%;
    padding: 13px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cart-drawer-btn-view {
    background: #f5f5f5;
    color: #111;
    border: 1px solid #e5e5e5;
}

.cart-drawer-btn-view:hover { background: #e8e8e8; }

.cart-drawer-btn-checkout {
    background: #111;
    color: #fff;
    margin-bottom: 0;
}

.cart-drawer-btn-checkout:hover {
    background: #f5c518;
    color: #111;
}

@media (max-width: 768px) {
    .site-header { padding: 0 15px; }
    .search-dropdown-top { max-height: calc(100vh - 113px); padding: 20px; }
    .search-box input { height: 52px; font-size: 14px; }
    .sidebar-menu { width: 280px; }
    .header-icon-btn {width: 35px; height:35px;}
    .wishlist-badge{ top: -6px; right: -6px; min-width: 16px; height: 16px; font-size: 12px;}
    .cart-badge { top: -6px; right: -6px; min-width: 16px; height: 16px; font-size: 12px;}
    .sidebar-close { width: 28px; height: 28px; font-size: 22px;}
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100vw;
        right: -100vw;
    }
}