* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #f5f7fa; color: #1e293b; line-height: 1.5; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; }

/* TOP BAR */
.top-bar { background: #0b3b5c; color: white; padding: 8px 0; font-size: 0.82rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: #ffd966; }
.contact-info { display: flex; gap: 20px; flex-wrap: wrap; }

/* NAVBAR */
.navbar { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.06); padding: 12px 0; position: sticky; top: 0; z-index: 100; }
.navbar .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: #0b3b5c; }
.logo i { font-size: 28px; color: #e67e22; }
.logo span { color: #e67e22; }
.search-bar { flex: 1 1 300px; display: flex; max-width: 500px; }
.search-bar input { flex: 1; padding: 12px 16px; border: 2px solid #e2e8f0; border-right: none; border-radius: 50px 0 0 50px; outline: none; font-family: inherit; }
.search-bar input:focus { border-color: #e67e22; }
.search-bar button { background: #e67e22; color: white; border: none; padding: 12px 24px; border-radius: 0 50px 50px 0; cursor: pointer; }
.search-bar button:hover { background: #cf6d17; }
.nav-actions { display: flex; gap: 20px; align-items: center; }
.nav-actions a { display: flex; align-items: center; gap: 6px; color: #1e293b; font-weight: 500; font-size: 0.9rem; position: relative; }
.nav-actions a:hover { color: #e67e22; }
.cart-count { position: absolute; top: -8px; right: -12px; background: #e67e22; color: white; font-size: 0.7rem; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* MAIN NAV */
.main-nav { background: white; border-top: 1px solid #e9eef3; }
.main-nav .container { display: flex; gap: 4px; overflow-x: auto; }
.main-nav a { padding: 14px 18px; color: #334155; font-weight: 500; font-size: 0.9rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: #e67e22; border-bottom-color: #e67e22; }
.main-nav .all-category { background: #e67e22; color: white; padding: 14px 24px; font-weight: 600; display: flex; align-items: center; gap: 8px; border-bottom: none; margin-right: 8px; }
.main-nav .all-category:hover { background: #cf6d17; color: white; border-bottom-color: transparent; }

/* HERO */
.hero { background: linear-gradient(135deg, #0b3b5c 0%, #1e4a6b 100%); padding: 60px 0; }
.hero .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-content { flex: 1 1 500px; }
.hero-content h1 { font-size: 2.6rem; font-weight: 800; color: white; line-height: 1.2; margin-bottom: 20px; }
.hero-content h1 span { color: #ffd966; display: block; font-size: 1.5rem; margin-top: 8px; }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { flex: 1 1 400px; background: rgba(255,255,255,0.08); border-radius: 40px; padding: 40px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; border: 1px solid rgba(255,255,255,0.1); }
.hero-image i { font-size: 4rem; color: #ffd966; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-tags span { background: rgba(255,255,255,0.15); color: white; padding: 6px 16px; border-radius: 40px; font-size: 0.85rem; font-weight: 600; }

/* BUTTONS */
.btn { padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; }
.btn-primary { background: #e67e22; color: white; box-shadow: 0 8px 18px rgba(230,126,34,0.3); }
.btn-primary:hover { background: #cf6d17; transform: translateY(-2px); }
.btn-secondary { background: white; color: #0b3b5c; border: 2px solid #0b3b5c; }
.btn-secondary:hover { background: #0b3b5c; color: white; }

/* SECTION TITLE */
.section-title { font-size: 1.8rem; font-weight: 700; color: #0b3b5c; margin: 50px 0 12px; text-align: center; }
.section-sub { text-align: center; color: #475569; margin-bottom: 32px; font-size: 1rem; }

/* CATEGORY GRID */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 30px 0; }
.category-item { background: white; border-radius: 20px; padding: 28px 16px; text-align: center; border: 1px solid #e9eef3; transition: all 0.2s; }
.category-item:hover { border-color: #e67e22; transform: translateY(-6px); box-shadow: 0 16px 30px -10px rgba(230,126,34,0.15); }
.category-item i { font-size: 2.4rem; color: #e67e22; margin-bottom: 14px; }
.category-item h4 { font-weight: 700; color: #0b3b5c; font-size: 0.95rem; margin-bottom: 6px; }
.category-item span { font-size: 0.8rem; color: #64748b; }

/* PRODUCT GRID */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 24px 0; }
.product-card { background: white; border-radius: 16px; padding: 16px; border: 1px solid #e9eef3; transition: all 0.2s; display: flex; flex-direction: column; }
.product-card:hover { border-color: #e67e22; box-shadow: 0 12px 24px -8px rgba(230,126,34,0.12); transform: translateY(-4px); }
.product-image { background: #f8faff; border-radius: 12px; height: 170px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; position: relative; overflow: hidden; }
.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-placeholder i { font-size: 3.5rem; color: #cbd5e1; }
.product-brand { position: absolute; top: 8px; left: 8px; background: #0b3b5c; color: white; font-size: 0.7rem; padding: 3px 10px; border-radius: 50px; font-weight: 600; }
.product-card h4 { font-size: 0.95rem; font-weight: 700; color: #0b3b5c; margin-bottom: 8px; line-height: 1.3; }
.product-desc { font-size: 0.82rem; color: #64748b; margin-bottom: 12px; flex: 1; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-price { font-size: 1rem; font-weight: 800; color: #0b3b5c; }
.btn-detail { background: #e67e22; color: white; padding: 8px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; }
.btn-detail:hover { background: #cf6d17; }

/* BRANDS */
.brands { background: #f1f5f9; padding: 40px; border-radius: 32px; margin: 40px 0; }
.brand-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-logos a span { display: inline-block; font-weight: 600; color: #334155; background: white; padding: 10px 24px; border-radius: 50px; font-size: 0.88rem; border: 1px solid #e2e8f0; transition: all 0.2s; }
.brand-logos a span:hover { border-color: #e67e22; background: #fff5eb; color: #e67e22; }

/* CTA */
.contact-cta { background: #0b3b5c; color: white; border-radius: 32px; padding: 40px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin: 40px 0; }
.contact-cta h3 { font-size: 1.6rem; font-weight: 700; max-width: 600px; }

/* PAGE LAYOUT */
.page-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; margin: 30px 0; }
.sidebar { background: white; border-radius: 20px; padding: 24px; border: 1px solid #e9eef3; height: fit-content; position: sticky; top: 120px; }
.sidebar h3 { font-size: 1rem; font-weight: 700; color: #0b3b5c; margin: 16px 0 10px; padding-bottom: 8px; border-bottom: 2px solid #f1f5f9; }
.sidebar h3:first-child { margin-top: 0; }
.sidebar ul { list-style: none; }
.sidebar ul li a { display: block; padding: 8px 12px; border-radius: 8px; color: #475569; font-size: 0.88rem; transition: all 0.2s; }
.sidebar ul li a:hover, .sidebar ul li a.active { background: #fff5eb; color: #e67e22; font-weight: 600; }

/* TOOLBAR */
.toolbar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .search-form { flex: 1 1 300px; display: flex; }
.toolbar .search-form input { flex: 1; padding: 10px 16px; border: 1px solid #e2e8f0; border-radius: 50px 0 0 50px; outline: none; }
.toolbar .search-form button { background: #0b3b5c; color: white; border: none; padding: 10px 20px; border-radius: 0 50px 50px 0; cursor: pointer; }
.toolbar select { padding: 10px 16px; border: 1px solid #e2e8f0; border-radius: 50px; outline: none; font-family: inherit; cursor: pointer; }
.result-count { color: #64748b; font-size: 0.88rem; margin-bottom: 12px; }

/* PAGINATION */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 30px 0; }
.pagination a { padding: 8px 16px; border-radius: 50px; background: white; border: 1px solid #e2e8f0; color: #334155; font-weight: 600; font-size: 0.9rem; }
.pagination a.active, .pagination a:hover { background: #e67e22; color: white; border-color: #e67e22; }

/* BREADCRUMB */
.breadcrumb { font-size: 0.85rem; color: #64748b; margin: 20px 0; }
.breadcrumb a { color: #0b3b5c; }
.breadcrumb a:hover { color: #e67e22; }

/* DETAIL PRODUK */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 30px 0; }
.detail-image { background: white; border-radius: 24px; padding: 30px; display: flex; align-items: center; justify-content: center; min-height: 400px; border: 1px solid #e9eef3; }
.detail-image img { max-width: 100%; max-height: 400px; object-fit: contain; }
.detail-image .product-placeholder.large i { font-size: 8rem; color: #cbd5e1; }
.detail-info h1 { font-size: 1.8rem; font-weight: 800; color: #0b3b5c; margin: 12px 0; }
.badge-brand { display: inline-block; background: #0b3b5c; color: white; padding: 4px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
.kode { color: #64748b; font-size: 0.88rem; margin-bottom: 16px; }
.price-box { display: flex; align-items: baseline; gap: 16px; margin: 20px 0; padding: 20px; background: #fff5eb; border-radius: 16px; }
.price { font-size: 2rem; font-weight: 800; color: #e67e22; }
.price-grosir { font-size: 1rem; color: #64748b; }
.stok { font-size: 0.95rem; color: #334155; margin-bottom: 20px; }
.stok strong { color: #10b981; }
.deskripsi-singkat { color: #475569; font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* TABS */
.detail-tabs { background: white; border-radius: 24px; padding: 30px; margin: 40px 0; border: 1px solid #e9eef3; }
.tab-header { display: flex; gap: 8px; border-bottom: 2px solid #f1f5f9; margin-bottom: 24px; }
.tab-btn { background: none; border: none; padding: 12px 24px; font-weight: 600; color: #64748b; cursor: pointer; border-bottom: 3px solid transparent; font-family: inherit; font-size: 0.95rem; }
.tab-btn.active { color: #e67e22; border-bottom-color: #e67e22; }
.tab-content { display: none; color: #475569; line-height: 1.8; }
.tab-content.active { display: block; }

/* FOOTER */
footer { background: white; border-top: 1px solid #e2e8f0; padding: 40px 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer-col h4 { font-weight: 700; color: #0b3b5c; margin-bottom: 16px; }
.footer-col p { color: #475569; font-size: 0.9rem; margin-bottom: 8px; }
.copyright { text-align: center; padding-top: 30px; color: #64748b; font-size: 0.88rem; border-top: 1px solid #e2e8f0; margin-top: 30px; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .page-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content h1 span { font-size: 1.1rem; }
    .contact-cta { padding: 30px 24px; text-align: center; justify-content: center; }
    .contact-cta h3 { font-size: 1.3rem; }
    .navbar .container { flex-direction: column; }
    .search-bar { max-width: 100%; }
}