@font-face {
    font-family: 'BobbyJones';
    src: url('../font/Bobby Jones.otf') format('opentype');
}

@font-face {
    font-family: 'BobbyJonesCondensed';
    src: url('../font/Bobby Jones Condensed.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    font-family: 'BobbyJonesCondensed', sans-serif; /* harus sama persis dengan nama di @font-face */
    box-sizing: border-box;
    color: #333;
}

body {
    background: white;
}

h1, h2, h3 {
    font-family: 'BobbyJones';
}

.top-banner {
       background: #f8f8f8;
       border-bottom: 1px solid #e0e0e0;
       padding: 8px 20px;
       font-size: 12px;
       text-align: center;
       display: flex;
       justify-content: space-between;
       align-items: center;
       overflow-x: auto;
       white-space: nowrap;
   }




   .products-header {
       display: flex;
       justify-content: center;
       align-items: center;
       flex-direction: column;
       text-align: center;
   }

   .top-banner span {
       margin: 0 15px;
   }

   .vip-badge {
       background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
       color: white;
       padding: 2px 8px;
       border-radius: 3px;
       font-weight: 600;
       font-size: 10px;
   }

   header {
       background: white;
       padding: 15px 20px;
       box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
       position: sticky;
       top: 0;
       z-index: 100;
   }

   .header-content {
       max-width: 1400px;
       margin: 0 auto;
       display: flex;
       align-items: center;
       gap: 20px;
   }

   .logo {
       font-size: 24px;
       font-weight: 300;
       letter-spacing: 4px;
       color: #000;
       text-decoration: none;
       white-space: nowrap;
   }

   .search-container {
       flex: 1;
       position: relative;
       max-width: 600px;
   }

   .search-input {
       width: 100%;
       padding: 12px 50px 12px 20px;
       border: 1px solid #ddd;
       border-radius: 25px;
       font-size: 14px;
       outline: none;
       transition: border-color 0.3s;
   }

   .search-input:focus {
       border-color: #000;
   }

   .search-btn {
       position: absolute;
       right: 5px;
       top: 50%;
       transform: translateY(-50%);
       background: #000;
       color: white;
       border: none;
       width: 40px;
       height: 40px;
       border-radius: 50%;
       cursor: pointer;
       display: flex;
       align-items: center;
       justify-content: center;
   }

   .header-actions {
       display: flex;
       gap: 20px;
       align-items: center;
   }

   .header-actions a {
       color: #000;
       text-decoration: none;
       font-size: 14px;
       display: flex;
       align-items: center;
       gap: 5px;
   }

   nav {
       background: white;
       border-bottom: 1px solid #e0e0e0;
       padding: 15px 20px;
   }

   .nav-content {
       max-width: 1400px;
       margin: 0 auto;
       display: flex;
       gap: 30px;
       justify-content: center;
   }

   .nav-content a {
       color: #000;
       text-decoration: none;
       font-weight: 500;
       font-size: 14px;
       text-transform: uppercase;
       transition: color 0.3s;
   }

   .nav-content a:hover {
       color: #6366f1;
   }

   .container {
       max-width: 1400px;
       margin: 0 auto;
       padding: 20px;
       display: flex;
       gap: 20px;
   }

   .sidebar {
       width: 280px;
       background: white;
       padding: 24px;
       border-radius: 8px;
       height: fit-content;
       position: sticky;
       top: 120px;
       box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
   }

   .filter-section {
       margin-bottom: 28px;
       padding-bottom: 24px;
       border-bottom: 1px solid #eeeeee;
   }

   .filter-section:last-child {
       border-bottom: none;
       margin-bottom: 0;
       padding-bottom: 0;
   }

   .filter-title {
       font-weight: 600;
       margin-bottom: 16px;
       display: flex;
       justify-content: space-between;
       align-items: center;
       cursor: pointer;
       font-size: 15px;
       color: #1a1a1a;
   }

   .filter-search {
       width: 100%;
       padding: 10px 14px;
       border: 1px solid #e0e0e0;
       border-radius: 6px;
       font-size: 13px;
       margin-bottom: 12px;
       transition: border-color 0.2s;
   }

   .filter-search:focus {
       outline: none;
       border-color: #000;
   }

   .size-grid {
       display: grid;
       grid-template-columns: repeat(4, 1fr);
       gap: 10px;
       margin-top: 14px;
   }

   .size-btn {
       padding: 10px 8px;
       border: 1px solid #e0e0e0;
       background: white;
       border-radius: 6px;
       cursor: pointer;
       font-size: 13px;
       font-weight: 500;
       transition: all 0.2s;
       text-align: center;
   }

   .size-btn:hover {
       border-color: #000;
       background: #fafafa;
   }

   .price-range {
       margin: 12px 0;
   }

   .price-inputs {
       display: flex;
       gap: 10px;
       margin-top: 14px;
       margin-bottom: 16px;
   }

   .price-inputs input {
       flex: 1;
       padding: 10px 14px;
       border: 1px solid #e0e0e0;
       border-radius: 6px;
       font-size: 13px;
       transition: border-color 0.2s;
   }

   .price-inputs input:focus {
       outline: none;
       border-color: #000;
   }

   .products-section {
       flex: 1;
   }

   .products-header {
       background: white;
       padding: 20px;
       border-radius: 8px;
       margin-bottom: 20px;
       display: flex;
       justify-content: space-between;
       align-items: center;
   }

   .products-header h1 {
       font-size: 24px;
       font-weight: 400;
   }

   .products-count {
       color: #666;
       font-size: 14px;
   }

   .sort-filter {
       display: flex;
       gap: 10px;
       align-items: center;
   }

   .filter-btn,
   .sort-btn {
       padding: 8px 16px;
       border: 1px solid #ddd;
       background: white;
       border-radius: 4px;
       cursor: pointer;
       font-size: 13px;
       display: flex;
       align-items: center;
       gap: 5px;
   }

   .vip-filter {
       background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
       color: white;
       border: none;
   }

   .products-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
       gap: 20px;
   }

   .product-card {
       background: white;
       border-radius: 8px;
       overflow: hidden;
       cursor: pointer;
       transition: all 0.3s;
       position: relative;
   }

   .product-card:hover {
       box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
       transform: translateY(-5px);
   }

   .product-image {
       width: 100%;
       aspect-ratio: 3/4;
       object-fit: cover;
       background: #f0f0f0;
   }

   .product-badge {
       position: absolute;
       top: 10px;
       left: 10px;
       background: #000;
       color: white;
       padding: 6px 12px;
       border-radius: 4px;
       font-size: 12px;
       font-weight: 600;
   }

   .rating-badge {
       position: absolute;
       top: 10px;
       left: 10px;
       background: white;
       padding: 4px 8px;
       border-radius: 4px;
       font-size: 12px;
       display: flex;
       align-items: center;
       gap: 3px;
   }

   .paling-populer {
       position: absolute;
       top: 40px;
       left: 10px;
       background: #3b82f6;
       color: white;
       padding: 4px 8px;
       border-radius: 3px;
       font-size: 11px;
   }

   .wishlist-btn {
       position: absolute;
       top: 10px;
       right: 10px;
       background: white;
       border: none;
       width: 36px;
       height: 36px;
       border-radius: 50%;
       cursor: pointer;
       display: flex;
       align-items: center;
       justify-content: center;
       box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
   }

   .product-info {
       padding: 15px;
   }

   .brand-name {
       font-size: 13px;
       color: #666;
       margin-bottom: 5px;
       display: flex;
       align-items: center;
       gap: 5px;
   }

   .product-name {
       font-size: 14px;
       color: #000;
       margin-bottom: 10px;
       height: 40px;
       overflow: hidden;
       display: -webkit-box;
       -webkit-line-clamp: 2;
       -webkit-box-orient: vertical;
   }

   .price-section {
       display: flex;
       align-items: center;
       gap: 8px;
   }

   .current-price {
       font-size: 18px;
       font-weight: 600;
       color: #e53e3e;
   }

   .original-price {
       font-size: 14px;
       color: #999;
       text-decoration: line-through;
   }

   .discount {
       font-size: 12px;
       color: #e53e3e;
   }

   /* Mobile Bottom Nav */
   .mobile-nav {
       display: none;
       position: fixed;
       bottom: 0;
       left: 0;
       right: 0;
       background: white;
       border-top: 1px solid #e0e0e0;
       padding: 10px 0;
       z-index: 100;
   }

   .mobile-nav-content {
       display: flex;
       justify-content: space-around;
       align-items: center;
   }

   .mobile-nav-item {
       display: flex;
       flex-direction: column;
       align-items: center;
       gap: 4px;
       color: #666;
       text-decoration: none;
       font-size: 11px;
   }

   .mobile-nav-item.active {
       color: #000;
   }

   /* Pagination */
   .pagination {
       background: white;
       padding: 30px 20px;
       border-radius: 8px;
       margin-top: 30px;
       display: flex;
       justify-content: center;
       align-items: center;
       gap: 8px;
   }

   .pagination-btn {
       padding: 10px 16px;
       border: 1px solid #ddd;
       background: white;
       border-radius: 6px;
       cursor: pointer;
       font-size: 14px;
       transition: all 0.3s;
       color: #333;
       min-width: 40px;
       text-align: center;
   }

   .pagination-btn:hover:not(.active):not(:disabled) {
       border-color: #000;
       background: #f5f5f5;
   }

   .pagination-btn.active {
       background: #000;
       color: white;
       border-color: #000;
   }

   .pagination-btn:disabled {
       opacity: 0.4;
       cursor: not-allowed;
   }

   .pagination-dots {
       padding: 10px;
       color: #999;
   }

   /* Category Footer */
   .category-footer {
       background: white;
       padding: 30px 20px;
       border-radius: 8px;
       margin-top: 20px;
       text-align: center;
   }

   .category-tabs {
       display: flex;
       justify-content: center;
       gap: 40px;
       border-bottom: 2px solid #e0e0e0;
       padding-bottom: 15px;
   }

   .category-tab {
       color: #666;
       text-decoration: none;
       font-size: 14px;
       padding-bottom: 15px;
       position: relative;
       transition: color 0.3s;
   }

   .category-tab:hover {
       color: #000;
   }

   .category-tab.active {
       color: #000;
       font-weight: 500;
   }

   .category-tab.active::after {
       content: '';
       position: absolute;
       bottom: -2px;
       left: 0;
       right: 0;
       height: 2px;
       background: #000;
   }

   /* Responsive */
   @media (max-width: 768px) {
       .top-banner {
           font-size: 11px;
           padding: 6px 10px;
       }

       .header-content {
           flex-wrap: wrap;
       }

       .logo {
           font-size: 20px;
           letter-spacing: 3px;
       }

       .search-container {
           order: 3;
           width: 100%;
           max-width: 100%;
           margin-top: 10px;
       }

       .header-actions {
           gap: 15px;
       }

       .header-actions span {
           display: none;
       }

       nav {
           display: none;
       }

       .container {
           padding: 10px;
           padding-bottom: 100px;
       }

       .sidebar {
           display: none;
       }

       .products-section {
           width: 100%;
       }

       .products-header {
           flex-direction: column;
           gap: 15px;
           padding: 15px;
       }

       .products-header h1 {
           font-size: 18px;
           width: 100%;
       }

       .sort-filter {
           width: 100%;
           justify-content: space-between;
       }

       .products-grid {
           grid-template-columns: repeat(2, 1fr);
           gap: 10px;
       }

       .product-info {
           padding: 10px;
       }

       .product-name {
           font-size: 13px;
           height: 36px;
       }

       .current-price {
           font-size: 16px;
       }

       .mobile-nav {
           display: block;
       }

       .pagination {
           padding: 15px 10px;
           gap: 6px;
           margin-bottom: 20px;
       }

       .pagination-btn {
           padding: 8px 12px;
           font-size: 13px;
           min-width: 38px;
       }

       .pagination-dots {
           padding: 5px;
           font-size: 12px;
       }

       .category-footer {
           display: none;
       }
   }

   @media (min-width: 769px) and (max-width: 1024px) {
       .sidebar {
           width: 240px;
       }

       .products-grid {
           grid-template-columns: repeat(3, 1fr);
       }
   }