.site-header *,
.site-header *::before,
.site-header *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1300px;
    height: 90px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header .header-left,
.site-header .header-center,
.site-header .header-right {
    display: flex;
    align-items: center;
}

.site-header .header-left {
    flex: 0 0 auto;
}

.site-header .header-center {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0 15px;
}

.site-header .header-right {
    flex: 0 0 auto;
    gap: 20px;
    justify-content: flex-end;
}

.site-header .logo img {
    max-height: 60px;
    width: auto;
}

/* 🔍 Search Bar */
.site-header .site-header-search {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    border-radius: 30px;
    padding: 6px 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: inset 0 0 0 1px #ccc;
}

.site-header .site-header-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 30px;
    color: #333;
    font-weight: 400;
    outline: none;
}

.site-header .site-header-search-button {
    background: #d44a89;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.site-header .site-header-search-button svg {
    fill: white;
}

/* 🛒 Cart & Menu */
.site-header .cart-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.site-header .cart-icon svg {
    width: 30px;
    height: 30px;
    color: #ffffff;
}

.site-header .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
}

.site-header .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.site-header .hamburger span {
    width: 24px;
    height: 3px;
    background: #8B5D67;
    display: block;
    transition: all 0.3s ease-in-out;
}

/* 📱 Nav & Overlay */
.site-header .nav-container {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.site-header .nav-container.active {
    display: block;
    right: 0;
}

.site-header .nav-menu {
    list-style: none;
    width: 100%;
    text-align: left;
}

.site-header .nav-menu li {
    border-bottom: 1px solid #ddd;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
}

.site-header .nav-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px 15px;
    transition: background 0.3s;
}

.site-header .nav-menu li a:hover {
    background: #f5f5f5;
}

.site-header .submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.4s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

body.nav-open {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

.site-header .submenu-active {
    left: 0;
    visibility: visible;
    opacity: 1;
    display: block;
}

.site-header .submenu li {
    border-bottom: 1px solid #ddd;
}

.site-header .submenu li a {
    padding: 10px;
    display: block;
    color: #333;
}

.site-header .submenu li a:hover {
    background: #f5f5f5;
}

.site-header .back-button {
    background: #d44a89;
    color: white;
    padding: 15px;
    display: block;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}

.site-header .back-button:hover {
    background: #b8376f;
}

.site-header .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
}

.site-header .nav-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* 📱 Responsive Layout */
@media (max-width: 1024px) {
    .site-header .header-inner {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        padding: 10px 15px;
        gap: 0;
        position: relative;
    }

    .site-header .header-left,
    .site-header .header-center,
    .site-header .header-right {
        width: 100%;
    }

    .site-header .header-left {
        justify-content: flex-start;
    }

    .site-header .header-center {
        order: 2;
        margin-top: 10px;
        justify-content: center;
    }

    .site-header .header-right {
        order: 1;
        position: absolute;
        top: 30%;
        right: 15px;
        transform: translateY(-50%);
        width: auto;
        display: flex;
        align-items: center;
    }

    .site-header .site-header-search {
        max-width: 100%;
    }

    .site-header .logo img {
        max-height: 50px;
    }
}

@media (max-width: 600px) {
    .site-header .site-header-search-button {
        width: 32px;
        height: 32px;
    }

    .site-header .site-header-input {
        font-size: 14px;
    }

    .site-header .header-inner {
        gap: 6px;
    }
}
::-webkit-scrollbar {
    width: 14px !important;
    background: #2c0044 !important;
  }
  ::-webkit-scrollbar-thumb {
    border-radius: 7px !important;
    background: linear-gradient(135deg, #e10097 40%, #2efbe8 100%) !important;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #f677fa 0%, #8000ff 100%) !important;
  }
  
  /* Firefox */
  html {
    scrollbar-width: thin !important;
    scrollbar-color: #e10097 #2c0044 !important;
  }
  
  /* ========== HEADER & FOOTER GLASS OVERRIDE ========== */
  #header-container,
  #footer-container {
    box-shadow: 0 12px 32px -18px #32003a66, 0 -12px 32px -18px #48005588 !important;
    background: rgba(30,8,45,0.96) !important;
    border-radius: 0 0 32px 32px !important;
    margin-bottom: 1.3rem !important;
  }