/* ========================================
   PAKSA MARGIN KIRI KANAN - VERSI SUPER
   ======================================== */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.top-bar,
.main-header,
.nav-bar {
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
}

.top-bar .container,
.main-header .container,
.nav-bar .container {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    box-sizing: border-box !important;
}

/* Paksa semua konten utama */
.top-bar-content,
.header-content,
.nav-content {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix untuk search bar */
.search-bar {
    max-width: 601px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
}

/* Fix untuk header icon group */
.header-icon-group {
    border-left: 3px solid #E1E2EA !important;
    border-right: 3px solid #E1E2EA !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

/* ========================================
   RESPONSIVE DENGAN PADDING KONSISTEN
   ======================================== */
@media (max-width: 1400px) {
    .top-bar .container,
    .main-header .container,
    .nav-bar .container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

@media (max-width: 1024px) {
    .top-bar .container,
    .main-header .container,
    .nav-bar .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (max-width: 768px) {
    .top-bar .container,
    .main-header .container,
    .nav-bar .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .header-icon-group {
        border: none !important;
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .top-bar .container,
    .main-header .container,
    .nav-bar .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

:root {
    --primary-pr1: #e0ebe3;
    --primary-pr4: #659a71;
    --primary-pr5: #507c5b;
    --primary-pr7: #283e2d;
    --neutral-nt2: #e1e2ea;
    --neutral-nt4: #9ba0c5;
    --neutral-nt6: #696f96;
    --neutral-nt8: #3f425a;
    --neutral-white: #ffffff;
    --smooth-white: #f2f3f7;
    --warning-wr5: #e59c4d;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background-color: #ffffff;
    padding: 1px 0;
    font-size: 12px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

@media (max-width: 1024px) {
    .top-bar-content {
        padding: 5px 20px;
    }
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-links a {
    color: #666;
    font-size: 12px;
}

.top-bar-links a:hover {
    color: #6b9b7c;
}

.top-bar-links span {
    color: #ccc;
}

/* Language Selector Dropdown */
.language-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 4px 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #3f425a;
    transition: all 0.2s ease;
}

.lang-btn img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

.lang-btn i {
    font-size: 10px;
    color: #696f96;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e1e2ea;
    border-radius: 4px;
    margin-top: 4px;
    min-width: 100px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.language-dropdown.active .lang-menu {
    display: block;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #3f425a;
    text-decoration: none;
    font-size: 12px;
    transition: background 0.2s;
}

.lang-item:hover {
    background: #f2f3f7;
}

.lang-item img {
    width: 18px;
    height: 12px;
}

.lang-item.active {
    font-weight: 600;
    background: #f0f2f0;
}

/* ========================================
   MAIN HEADER
   ======================================== */
.main-header {
    background-color: white;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    height: 84px;
    padding: 0 !important;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .logo {
        padding: 0 !important;
        margin: 0 !important;
    }
}

.logo img {
    height: 40px;
    width: auto;
    margin: 0;
}

/* Search Bar */
.search-bar {
    width: 601px;
    position: relative;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    flex: none;
}

.search-bar form {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 8px;
    height: 54px;
    width: 100%;
    background: #ffffff;
    border-radius: 40px;
    overflow: visible;
    border: 1px solid #e8e9f1;
    box-sizing: border-box;
}

.filter-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 12px 14px 20px;
    gap: 10px;
    min-width: 110px;
    height: 54px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-family: "Outfit", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    text-transform: capitalize;
    color: #3f425a;
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
}

.filter-btn::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 26px;
    background-color: #c3c5d5;
}

.filter-btn:hover {
    background-color: #f8f9fa;
}

.filter-btn span {
    flex: none;
}

.filter-btn i {
    width: 16px;
    height: 16px;
    font-size: 12px;
    color: #3f425a;
}

.search-bar input {
    flex: 1;
    padding: 14px 20px 14px 12px;
    height: 54px;
    border: none;
    background-color: transparent;
    font-family: "Outfit", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: #3f425a;
    outline: none;
}

.search-bar input::placeholder {
    color: #696f96;
    text-transform: capitalize;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.search-btn:hover {
    opacity: 0.7;
}

.search-btn svg {
    width: 26px;
    height: 26px;
}

.search-btn svg path {
    stroke: #3f425a;
    transition: stroke 0.3s ease;
}

.search-btn:hover svg path {
    stroke: #6b9b7c;
}

/* ========================================
   HEADER ACTIONS
   ======================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

/* Header Icon Group with Vertical Dividers */
.header-icon-group {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    border-left: 3px solid #E1E2EA;
    border-right: 3px solid #E1E2EA;
    height: 100%;
    position: relative;
    margin-left: 10px;
}

.header-actions a,
.header-actions button {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-actions a:hover,
.header-actions button:hover {
    color: #6b9b7c;
    background-color: #f8f9fa;
}

.header-actions i {
    font-size: 20px;
}

/* User Profile */
.user-profile-link {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #507c5b;
}

.user-avatar-initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #507c5b, #6b9c7d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #507c5b;
}

/* Cart Icon */
.cart-icon-link {
    position: relative;
    display: inline-block;
    margin-left: -8px;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.user-profile-link:hover .user-avatar,
.user-profile-link:hover .user-avatar-initials {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* ========================================
   FILTER DROPDOWN
   ======================================== */
.filter-dropdown-wrapper {
    position: relative;
}

.filter-dropdown-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    gap: 4px;
    position: absolute;
    width: 231px;
    left: 0;
    top: calc(100% + 8px);
    z-index: 1000;
    background: #ffffff;
    box-shadow: 26px 18px 13px rgba(97, 115, 168, 0.01),
                15px 10px 11px rgba(97, 115, 168, 0.05),
                7px 4px 8px rgba(97, 115, 168, 0.09),
                2px 1px 4px rgba(97, 115, 168, 0.1);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.filter-dropdown-menu.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.filter-dropdown-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 10px;
    width: 207px;
    height: 46px;
    background: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-dropdown-item span {
    font-family: "Outfit", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    color: #3f425a;
}

.filter-dropdown-item.active {
    background: #e0ebe3;
}

.filter-dropdown-item.active span {
    color: #507c5b;
}

.filter-dropdown-item:hover {
    background: #e0ebe3;
}

.filter-dropdown-item:hover span {
    color: #507c5b;
}

.filter-btn.active i {
    transform: rotate(180deg);
}

/* ========================================
   NAV BAR
   ======================================== */
.nav-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
}

/* Base categories-btn definition */
.categories-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background-color: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #3f425a;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

/* Force 60px visual baseline alignment for icons on desktop */
@media (min-width: 1025px) {
    .categories-btn {
        padding-left: 0 !important;
    }
}

.nav-divider {
    width: 1px;
    height: 30px;
    background-color: #E1E2EA;
    margin: 0 10px;
}

.categories-btn:hover {
    background-color: transparent;
    color: #6b9b7c;
}

.categories-btn i {
    font-size: 16px;
}

.categories-dropdown {
    position: relative;
}

.categories-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 0;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 900px;
}

.categories-menu.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.category-tabs {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e9ecef;
    min-width: 150px;
}

.category-tab {
    padding: 20px 25px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.category-tab:last-child {
    border-bottom: none;
}

.category-tab.active {
    background-color: transparent;
    color: #507c5b;
    font-weight: 600;
}

.category-tab:hover {
    background-color: #f8f9fa;
}

.category-content-wrapper {
    flex: 1;
    display: flex;
}

.category-content {
    display: none;
    padding: 30px;
    flex: 1;
}

.category-content.active {
    display: flex;
    gap: 30px;
}

.category-lists {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.categories-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-section ul li {
    margin-bottom: 8px;
}

.categories-section ul li a {
    font-size: 13px;
    color: #666;
    display: block;
    padding: 6px 0;
    transition: all 0.3s ease;
}

.categories-section ul li a:hover {
    color: #6b9b7c;
    padding-left: 8px;
}

.category-featured {
    width: 250px;
    flex-shrink: 0;
}

.featured-product-card {
    background-color: #f8f9fa;
    overflow: hidden;
    height: 100%;
}

.featured-product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-product-info {
    padding: 15px;
}

.featured-product-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    min-height: 40px;
}

.featured-product-info .price {
    font-size: 16px;
    font-weight: 700;
    color: #6b9b7c;
    margin-bottom: 12px;
}

.featured-product-info .btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 10px;
    background-color: #6b9b7c;
    color: white;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.featured-product-info .btn-buy:hover {
    background-color: #5a8569;
}

.featured-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-size: 13px;
    text-align: center;
    padding: 20px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    flex: 1;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links li a {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    padding: 15px 0;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: #6b9b7c;
}

.nav-links li a.active {
    color: #6b9b7c;
}

.nav-links li a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #6b9b7c;
}

.chat-support {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
}

.chat-support i {
    color: #25d366;
    font-size: 18px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 8px;
}

.categories-icon-mobile {
    display: none;
}

.categories-section ul li a.active-category {
    color: #507c5b;
    font-weight: 600;
    background-color: #83af8e;
    padding: 4px 8px;
    border-radius: 4px;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1099;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: white;
    z-index: 1100;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-logo svg {
    width: 135px;
    height: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-search {
    margin-bottom: 20px;
}

.mobile-search form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e8e9f1;
    border-radius: 25px;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    outline: none;
}

.mobile-search input:focus {
    border-color: #6b9b7c;
}

.mobile-search button {
    width: 100%;
    padding: 12px;
    background-color: #6b9b7c;
    color: white;
    border: none;
    border-radius: 25px;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.mobile-search button:active {
    background-color: #5a8569;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.mobile-nav-links li {
    margin-bottom: 5px;
}

.mobile-nav-links li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    gap: 10px;
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
    background-color: #f8f9fa;
    color: #6b9b7c;
}

.mobile-categories {
    margin-bottom: 20px;
}

.mobile-categories-title {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding: 0 16px;
}

.mobile-category-item {
    margin-bottom: 15px;
}

.mobile-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-category-header:hover {
    background-color: #f8f9fa;
}

.mobile-category-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.mobile-category-toggle {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.mobile-category-item.active .mobile-category-toggle {
    transform: rotate(180deg);
}

.mobile-subcategories {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-category-item.active .mobile-subcategories {
    max-height: 500px;
}

.mobile-subcategories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-subcategories ul li {
    margin-bottom: 3px;
}

.mobile-subcategories ul li a {
    display: block;
    padding: 10px 16px 10px 32px;
    color: #666;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-subcategories ul li a:hover {
    background-color: #f8f9fa;
    color: #6b9b7c;
    padding-left: 36px;
}

.mobile-chat-support {
    margin-top: 20px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.mobile-chat-support .chat-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.mobile-chat-support .chat-number {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.mobile-chat-support .chat-number i {
    color: #25d366;
    font-size: 18px;
}

.mobile-language {
    margin-top: 20px;
    padding: 16px;
    border-top: 1px solid #e9ecef;
}

.mobile-language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
}

.mobile-language-selector img {
    width: 24px;
    height: 16px;
}

.mobile-language-selector span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.mobile-language-selector i {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.mobile-language.active .mobile-language-selector i {
    transform: rotate(180deg);
}

.mobile-lang-options {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    background-color: #ffffff;
    border-radius: 8px;
    margin-top: 0;
}

.mobile-language.active .mobile-lang-options {
    height: auto;
    margin-top: 10px;
    border: 1px solid #e1e2ea;
}

.mobile-lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    color: #3f425a;
    font-size: 14px;
    transition: background 0.2s;
}

.mobile-lang-item:hover {
    background-color: #f8f9fa;
}

.mobile-lang-item.active {
    background-color: #f0f2f0;
    font-weight: 600;
}

.mobile-lang-item img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

/* ========================================
   RESPONSIVE MOBILE - PERBAIKAN JARAK
   ======================================== */
@media (max-width: 767px) {
    .top-bar {
        display: none;
    }

    .nav-bar {
        display: none;
    }
    
    .main-header {
        padding: 12px 0 8px 0;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 8px !important;
        height: auto;
        padding: 0 !important;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex: 1;
        padding: 0 !important;
        margin: 0 !important;
        display: flex;
        align-items: center;
    }

    .logo img,
    .logo svg:first-child {
        height: 28px;
        width: auto;
    }

    .logo svg:last-child {
        width: 90px;
        height: auto;
    }
    
    .header-actions {
        flex: 0 0 auto;
        padding: 0 !important;
        margin: 0 !important;
        gap: 8px !important;
        display: flex;
        align-items: center;
    }

    .header-icon-group {
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .header-actions a,
    .header-actions button {
        padding: 4px !important;
        margin: 0;
    }

    .header-actions a svg,
    .header-actions button svg {
        width: 26px;
        height: 26px;
    }

    .header-actions i {
        font-size: 20px;
    }

    .user-avatar,
    .user-avatar-initials {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px;
    }
    
    .user-profile-link {
        margin-left: 0;
        margin-top: 0;
    }

    .cart-icon-link {
        margin-left: 0;
        margin-top: 0;
    }

    .cart-badge {
        top: -3px;
        right: -3px;
        font-size: 9px;
        padding: 1px 4px;
        min-width: 14px;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background-color: #83AF8E;
        color: #FFFFFF;
        border-radius: 8px;
        padding: 0;
        margin: 0 0 0 5px !important;
        flex-shrink: 0;
        position: relative;
        z-index: 1002;
        cursor: pointer;
    }

    .mobile-menu-toggle i {
        font-size: 16px;
        color: #FFFFFF;
    }
    
    .search-bar {
        display: flex;
        width: 100%;
        max-width: 100%;
        order: 3;
        padding: 5px 0 0 0;
        position: relative;
        margin-top: 5px !important;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    .search-bar::before {
        content: "";
        position: absolute;
        top: -2px;
        left: 0;
        right: 0;
        height: 1px;
        background-color: #e8e9f1;
    }

    .search-bar form {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        height: 42px;
        gap: 0;
    }
    
    .filter-btn {
        min-width: 90px;
        height: 42px;
        padding: 10px 12px;
        font-size: 11px;
    }

    .filter-btn::after {
        height: 18px;
    }
    
    .search-bar input {
        height: 42px;
        padding: 8px 8px 8px 6px;
        font-size: 12px;
        flex: 1;
        min-width: 0;
    }

    .search-bar input::placeholder {
        font-size: 12px;
    }
    
    .search-btn {
        padding: 8px 12px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .categories-icon-desktop {
        display: none;
    }

    .categories-icon-mobile {
        display: block;
    }
}

/* ========================================
   RESPONSIVE MOBILE KECIL
   ======================================== */
@media (max-width: 480px) {
    .header-content {
        gap: 5px !important;
    }
    
    .header-actions {
        gap: 5px !important;
    }
    
    .header-icon-group {
        gap: 5px !important;
    }
    
    .header-actions a,
    .header-actions button {
        padding: 3px !important;
    }
    
    .mobile-menu-toggle {
        margin-left: 3px !important;
        width: 32px;
        height: 32px;
    }
    
    .mobile-menu-toggle i {
        font-size: 14px;
    }
    
    .search-bar {
        margin-top: 3px !important;
        padding: 3px 0 0 0;
    }
    
    .search-bar::before {
        top: -5px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    .mobile-nav-links li a,
    .mobile-category-header,
    .mobile-subcategories ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .header-actions a,
    .header-actions button {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-nav,
    .mobile-menu-overlay,
    .mobile-category-toggle,
    .mobile-subcategories {
        transition: none;
    }
}