/* SHEIN Layout Styles - Exact Clone */
.shein-header {
    position: sticky !important;
    top: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
    z-index: 1000 !important;
}

/* Top Bar with Logo, Search, and Icons */
.shein-topbar {
    background: #fff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 8px 0 !important;
    height: 56px;

}

.shein-topbar-container {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

.shein-topbar-left {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.shein-menu-toggle {
    display: none !important;
    background: none !important;
    border: none !important;
    padding: 8px !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    transition: background 0.2s ease !important;
}

.shein-menu-toggle:hover {
    background: #f5f5f5 !important;
}

.shein-logo {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #111 !important;
    text-decoration: none !important;
    letter-spacing: -0.02em !important;
    display: flex !important;
    align-items: center !important;
}

.shein-logo-img {
    max-height: 40px !important;
    max-width: 120px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.shein-search-container {
    flex: 1 !important;
    max-width: 530px !important;
    margin: 0 50px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #333 !important;
    border-radius: 0 !important;
    height: 38px !important;
}

.shein-search-form {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
}

.shein-search-input {
    flex: 1 !important;
    padding: 0 15px !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    outline: none !important;
    background: #fff !important;
    color: #333 !important;
    height: 100% !important;
}

.shein-search-input:focus {
    border: none !important;
    box-shadow: none !important;
}

.shein-search-btn {
    background: #333 !important;
    border: none !important;
    padding: 0 15px !important;
    border-radius: 0 !important;
    color: white !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    min-width: 50px !important;
}

.shein-search-btn:hover {
    background: #555 !important;
}

/* Search Discovery Panel */
.shein-search-discovery {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Search Discovery Overlay */
.shein-search-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: transparent !important;
    z-index: 999 !important;
    display: none !important;
}

.shein-search-overlay.active {
    display: block !important;
}

/* Live Search Results */
.shein-live-search-results {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    z-index: 1001 !important;
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    max-height: 400px !important;
    overflow-y: auto !important;
}

.shein-live-search-results.active {
    display: block !important;
}

/* Search Results Overlay */
.shein-search-results-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: transparent !important;
    z-index: 1000 !important;
    display: none !important;
}

.shein-search-results-overlay.active {
    display: block !important;
}

.live-search-header {
    padding: 16px 20px 8px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.live-search-header h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 !important;
}

.live-search-content {
    padding: 16px 20px 20px !important;
}

.live-search-item {
    display: flex !important;
    align-items: center !important;
    padding: 12px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: background 0.2s ease !important;
}

.live-search-item:hover {
    background: #f8f9fa !important;
}

.live-search-item:last-child {
    border-bottom: none !important;
}

.live-search-item-image {
    width: 50px !important;
    height: 50px !important;
    border-radius: 4px !important;
    margin-right: 12px !important;
    background: #f5f5f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.live-search-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.live-search-item-info {
    flex: 1 !important;
}

.live-search-item-name {
    font-weight: 500 !important;
    margin-bottom: 4px !important;
    color: #333 !important;
}

.live-search-item-price {
    color: #e74c3c !important;
    font-weight: 600 !important;
}

.live-search-loading {
    text-align: center !important;
    padding: 20px !important;
    color: #666 !important;
}

.live-search-no-results {
    text-align: center !important;
    padding: 20px !important;
    color: #666 !important;
}

.shein-search-discovery.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.shein-search-discovery-header {
    padding: 16px 20px 8px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.shein-search-discovery-header h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 !important;
}

.shein-search-suggestions {
    padding: 16px 20px 20px !important;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 8px !important;
}

.shein-search-suggestion {
    background: #f5f5f5 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 14px !important;
    color: #333 !important;
    text-decoration: none !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.shein-search-suggestion:hover {
    background: #e9ecef !important;
    border-color: #dee2e6 !important;
    transform: translateY(-1px) !important;
}

.shein-topbar-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.shein-icon-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

.shein-icon-btn:hover {
    background: #f5f5f5 !important;
    color: #000 !important;
    transform: translateY(-1px) !important;
}

/* Navigation Bar */
.shein-nav {
    background: #fff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    
}

.shein-nav-container {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 50px !important;
    height: 40px;
}

.shein-nav-scroll {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
}

.shein-nav-items {
    display: flex !important;
    gap: 0px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    flex: 1 !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}

.shein-nav-items::-webkit-scrollbar {
    display: none !important;
}

.shein-nav-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 10px;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
 
    flex-shrink: 0 !important;
    min-width: fit-content !important;
    transition: all 0.2s ease !important;
}

.shein-nav-item:hover {
    background-color: rgba(0, 0, 0, .08);
    color: #000 !important;
}

.shein-nav-item.active {
    background: #f0f0f0 !important;
    color: #000 !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #222;
}

/* Mega Menu */
.shein-categories-trigger {
    position: relative !important;
}

.shein-mega-menu {
    position: fixed !important;
    top: 96px !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    background: #fff !important;
    border: none !important;
    border-top: 1px solid #ddd !important;
    border-radius: 0 !important;
   
    z-index: 99999 !important;
    display: none !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
    min-height: 400px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.shein-mega-menu.active {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
}

.shein-mega-menu.scroll-down {
    top: 96px !important;
    transition: top 0.3s ease !important;
}

.shein-mega-menu.scroll-up {
    top: 96px !important;
    transition: top 0.3s ease !important;
}

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton-item {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%) !important;
    background-size: 200px 100% !important;
    animation: skeleton-loading 1.5s infinite !important;
    border-radius: 4px !important;
}

.skeleton-text {
    height: 16px !important;
    margin-bottom: 8px !important;
}

.skeleton-text.short {
    width: 60% !important;
}

.skeleton-text.medium {
    width: 80% !important;
}

.skeleton-text.long {
    width: 100% !important;
}

.skeleton-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    margin-bottom: 8px !important;
}

.skeleton-category {
    height: 20px !important;
    margin-bottom: 12px !important;
    width: 70% !important;
}

.skeleton-subcategory {
    height: 16px !important;
    margin-bottom: 8px !important;
    width: 85% !important;
}

.skeleton-subsubcategory {
    height: 14px !important;
    margin-bottom: 6px !important;
    width: 90% !important;
}

/* Skeleton for category grid items */
.skeleton-category-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 15px 10px !important;
    text-align: center !important;
    border-radius: 8px !important;
    background: #fafafa !important;
    margin-bottom: 10px !important;
}

.skeleton-subcategory-item {
    padding: 8px 12px !important;
    margin-bottom: 6px !important;
    border-radius: 6px !important;
    background: #f8f9fa !important;
}

.skeleton-subsubcategory-item {
    padding: 6px 10px !important;
    margin-bottom: 4px !important;
    border-radius: 4px !important;
    background: #f8f9fa !important;
}

/* Debug: Make mega menu always visible for testing - REMOVED */

.shein-mega-container {
    display: flex !important;
    flex-direction: row !important;
    padding: 0 !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 400px !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    margin: 0 !important;
}

.shein-mega-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 20px !important;
}

.shein-mega-categories {
    width: 250px !important;
    background: #f8f9fa !important;
    border-right: 1px solid #eee !important;
    padding: 20px 0 !important;
}

.shein-mega-subcategories {
 
   
    min-width: 295px !important;
    width: 25% !important;
    max-width: 401px;
    padding: 0 calc(6.25vw - 67.5px);


}

.shein-mega-subsubcategories {
    width: 75% !important;
    
    min-width: 400px !important;
    padding: 0 calc(6.25vw - 67.5px);
}

/* Split lines between columns */
.split-line {
    background-color: #ccc !important;
    margin: 20px 0 !important;
 
    width: 1px !important;
    
}

.shein-mega-col h3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 16px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding-top: 20px;


}

/* Main Categories (Column 1) */
.shein-main-categories {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.shein-main-category-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.shein-main-category-item:hover,
.shein-main-category-item.active {
    background: #f5f5f5 !important;
    color: #000 !important;
}

.shein-main-category-item svg {
    opacity: 0.6 !important;
    transition: opacity 0.2s ease !important;
}

.shein-main-category-item:hover svg,
.shein-main-category-item.active svg {
    opacity: 1 !important;
}

.shein-mega-col h4 {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #666 !important;
    margin: 0 0 12px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding-top: 20px;
}

/* SHOP BY CATEGORY Section */
.shein-shop-category h3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ff6b9d !important; /* Orange color like SHEIN */
    margin: 0 0 16px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.shein-mega-menu .shein-category-grid {
    display: flex !important;
    flex-direction: column !important; /* Single column */
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 20px !important;
   
    min-width: 200px !important; /* Ensure minimum width */
}

/* Create rows of 3 items each */
.shein-mega-menu .shein-category-grid .category-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin-bottom: 8px !important;    justify-content: space-between;
}

/* Force grid layout for category items */
.shein-mega-menu .shein-category-grid .shein-category-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 8px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    width: 100% !important;
    max-width: 100px !important;
    flex-shrink: 0 !important;
    grid-column: auto !important; /* Force auto column placement */
    grid-row: auto !important; /* Force auto row placement */
}

.shein-category-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 8px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.shein-category-item:hover {
   
    color: #000 !important;
    transform: translateY(-2px) !important;
}

.shein-category-icon {
    width: 82px !important;
    height: 82px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.shein-category-item span {
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

/* Category Sections */
.shein-category-sections {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.shein-category-section h4 {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #666 !important;
    margin: 0 0 12px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.shein-subcategory-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important; /* 7 columns for sub-subcategories */
    gap: 6px !important;
    width: 100% !important;
}

.shein-subcategory-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 6px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.shein-subcategory-item:hover {
    
    color: #000 !important;
    transform: translateY(-1px) !important;
}

.shein-subcategory-icon {
    width: 82px !important;
    height: 82px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-bottom: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.shein-subcategory-item span {
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

/* Sub-subcategories */
.shein-subsubcategory-content {
    width: 100% !important;
}

.shein-subsubcategory-section {
    display: none !important;
}

.shein-subsubcategory-section:first-child {
    display: block !important;
}

.shein-subsubcategory-section h4 {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #666 !important;
    margin: 0 0 12px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.shein-mega-menu .shein-subsubcategory-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important; /* 7 columns for sub-subcategories */
    gap: 6px !important;
    width: 100% !important;
 
}

.shein-subsubcategory-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 4px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.shein-subsubcategory-item:hover {
    background: #f5f5f5 !important;
    color: #000 !important;
    transform: translateY(-1px) !important;
}

.shein-subsubcategory-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-bottom: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.shein-subsubcategory-item span {
    font-size: 9px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.shein-category-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 12px 8px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.shein-category-item:hover {
 
    color: #000 !important;
    transform: translateY(-2px) !important;
}

.shein-category-icon {
    width: 82px !important;
    height: 82px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    background: #f8f8f8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.shein-category-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.shein-category-item span {
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

/* Subcategory Grid - Removed duplicate */

.shein-subcategory-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 12px 8px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.shein-subcategory-item:hover {
     
    color: #000 !important;
    transform: translateY(-2px) !important;
}

.shein-subcategory-icon {
    width: 82px !important;
    height: 82px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    background: #f8f8f8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.shein-subcategory-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.shein-subcategory-item span {
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

/* Sub-subcategory */
.shein-subsubcategory-section {
    margin-bottom: 24px !important;
}

.shein-subsubcategory-section:last-child {
    margin-bottom: 0 !important;
}

.shein-subsubcategory-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important; /* 7 columns for sub-subcategories */
    gap: 8px !important;
    width: 100% !important;
}

.shein-subsubcategory-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.shein-subsubcategory-item:hover {
    background: #f5f5f5 !important;
    color: #000 !important;
}

.shein-subsubcategory-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #f8f8f8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.shein-subsubcategory-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.shein-subsubcategory-item span {
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.shein-nav-arrows {
    display: flex !important;
    gap: 8px !important;
    margin-left: 16px !important;
}

.shein-nav-arrow {
    width: 32px !important;
    height: 32px !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.shein-nav-arrow:hover {
    background: #f5f5f5 !important;
    border-color: #999 !important;
}

/* Left Sidebar */
.shein-sidebar-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 999 !important;
    display: none !important;
}

.shein-sidebar-overlay.active {
    display: block !important;
}

.shein-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 300px !important;
    height: 100vh !important;
    background: #fff !important;
    border-right: 1px solid #eee !important;
    z-index: 1000 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    overflow-y: auto !important;
}

.shein-sidebar.active {
    transform: translateX(0) !important;
}

.shein-sidebar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px !important;
    border-bottom: 1px solid #eee !important;
}

.shein-sidebar-header h3 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 !important;
}

.shein-sidebar-close {
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    transition: background 0.2s ease !important;
}

.shein-sidebar-close:hover {
    background: #f5f5f5 !important;
}

.shein-sidebar-content {
    padding: 20px !important;
}

.shein-sidebar-categories {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.shein-sidebar-category {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.shein-sidebar-category:hover {
    background: #f5f5f5 !important;
    color: #000 !important;
}

.shein-sidebar-category.active {
    background: #f0f0f0 !important;
    color: #000 !important;
    font-weight: 500 !important;
}

/* Content Wrapper */
.shein-content-wrapper {
    background: #fff !important;
    min-height: 100vh !important;
}

.shein-content-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    display: flex !important;
    gap: 40px !important;
}

/* Left Sidebar in Content */
.shein-left-sidebar {
    width: 250px !important;
    flex-shrink: 0 !important;
}

.shein-left-sidebar .shein-sidebar-categories {
    background: #f9f9f9 !important;
    border-radius: 8px !important;
    padding: 16px !important;
}

.shein-left-sidebar .shein-sidebar-category {
    background: transparent !important;
    margin-bottom: 4px !important;
}

.shein-left-sidebar .shein-sidebar-category.active {
    background: #e8e8e8 !important;
}

/* Main Content */
.shein-main-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
}

/* Sections */
.shein-section {
    background: #fff !important;
}

.shein-section-header {
    margin-bottom: 24px !important;
}

.shein-section-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 !important;
}

/* Product Grids */
.shein-products-grid {
    display: grid !important;
    gap: 16px !important;
}

.shein-products-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.shein-products-grid-6 {
    grid-template-columns: repeat(6, 1fr) !important;
}

.shein-product-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 16px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.shein-product-item:hover {
    background: #f9f9f9 !important;
    transform: translateY(-2px) !important;
}

.shein-product-image {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    background: #f5f5f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.shein-products-grid-6 .shein-product-image {
    width: 60px !important;
    height: 60px !important;
}

.shein-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.shein-product-name {
    font-size: 12px !important;
    color: #333 !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.shein-products-grid-6 .shein-product-name {
    font-size: 11px !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .shein-content-container {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .shein-left-sidebar {
        width: 100% !important;
    }
    
    .shein-products-grid-3 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .shein-products-grid-6 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .shein-menu-toggle {
        display: flex !important;
    }
    
    .shein-search-container {
        margin: 0 10px !important;
        max-width: 300px !important;
    }
    
    .shein-topbar-right {
        gap: 8px !important;
    }
    
    .shein-icon-btn {
        width: 36px !important;
        height: 36px !important;
    }
    
    .shein-nav-items {
        gap: 16px !important;
    }
    
    .shein-nav-item {
        font-size: 13px !important;
        padding: 6px 10px !important;
    }
    
    .shein-products-grid-3,
    .shein-products-grid-6 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .shein-topbar-container {
        padding: 0 16px !important;
        gap: 12px !important;
    }
    
    .shein-logo {
        font-size: 20px !important;
    }
    
    .shein-search-container {
        margin: 0 8px !important;
        max-width: 200px !important;
    }
    
    .shein-search-input {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
    
    .shein-topbar-right {
        gap: 6px !important;
    }
    
    .shein-icon-btn {
        width: 32px !important;
        height: 32px !important;
    }
    
    .shein-content-container {
        padding: 16px !important;
    }
    
    .shein-products-grid-3,
    .shein-products-grid-6 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .shein-product-image {
        width: 60px !important;
        height: 60px !important;
    }
    
    .shein-products-grid-6 .shein-product-image {
        width: 50px !important;
        height: 50px !important;
    }
}
