body { font-family: 'Arial', sans-serif; margin: 0; color: #333; background-color: #f9f9f9; }
header { background-color: #fff; border-bottom: 1px solid #eee; padding: 20px 0; }
.navbar { display: flex; justify-content: space-between; alignItems: center; }
.navbar-brand { font-size: 24px; color: #222; text-decoration: none; font-weight: bold; }
.navbar-nav { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; }
.nav-item { margin-left: 20px; }
.nav-link { text-decoration: none; color: #555; font-size: 16px; padding: 10px 0; display: block; }
.nav-link:hover { color: #222; }
.navbar-right-items {
    display: flex; /* Make it a flex container */
    align-items: center; /* Vertically align items inside */
    margin-left: auto; /* Push the whole container to the right */
}

.navbar-nav.navbar-right {
    margin-left: 0; /* Reset margin for logout UL inside right items container */
    margin-right: 15px; /* Add space between logout and search box */
}

.navbar-nav.navbar-right .nav-item .nav-link {
    /* Keep the styles for the logout link from before */
    background-color: #f0f0f0;
    color: #555;
    border-radius: 5px;
    padding: 8px 15px;
    margin-left: 0; /* Reset margin-left, spacing is handled by container now */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav.navbar-right .nav-item .nav-link:hover {
    /* Keep hover styles */
    background-color: #e0e0e0;
    color: #222;
}
.search-box { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 5px; padding: 5px 10px; margin-left: 0;}
.search-input { border: none; outline: none; font-size: 14px; margin-right: 5px; }
.search-button { background: none; border: none; color: #777; cursor: pointer; }
.container { padding: 20px; }
.breadcrumbs { margin-bottom: 20px; font-size: 14px; color: #777; }
.breadcrumbs a { color: #555; text-decoration: none; }
.breadcrumbs span { margin: 0 5px; }
.product-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.product-count { font-size: 16px; color: #555; }
.sort-by { display: flex; align-items: center; }
.sort-label { font-size: 16px; color: #555; margin-right: 10px; }
.sort-select { padding: 8px; border-radius: 5px; border: 1px solid #ddd; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'); background-repeat: no-repeat; background-position-x: 100%; background-position-y: 5px; }
.collection-grid {
    display: flex; /* Ubah menjadi Flexbox */
    flex-wrap: wrap; /* Aktifkan wrapping */
    justify-content: center; /* Ratakan tengah item per baris */
    gap: 20px;
}
.collection-card { border-radius: 8px; overflow: hidden; background-color: #fff; display: flex; flex-direction: column; width: 280px; /* Tetapkan lebar card */ }
.collection-image { width: 100%; height: 280px; object-fit: cover; display: block; }
.product-details { padding: 15px; text-align: left; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-title { font-size: 16px; font-weight: bold; margin-bottom: 8px; color: #333; }
.price-container { display: flex; align-items: center; margin-bottom: 5px; }
.price { color: #e60000; font-weight: bold; margin-right: 10px; font-size: 16px; }
.old-price { color: #777; text-decoration: line-through; font-size: 14px; }
.sale-badge { background-color: #e60000; color: white; padding: 5px 10px; border-radius: 5px; font-size: 12px; font-weight: bold; position: absolute; top: 10px; left: 10px; }
.pagination { display: flex; justify-content: center; margin-top: 30px; }
.pager { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; }
.pager li { margin: 0 5px; }
.pager a, .pager span { padding: 8px 12px; border: 1px solid #ddd; border-radius: 5px; text-decoration: none; color: #555; background-color: #fff; }
.pager a:hover { background-color: #f8f8f8; }
.pager .current, .pager .current:hover { background-color: #ddd; color: #222; border-color: #ccc; font-weight: bold; }
.pager .disabled { opacity: 0.5; pointer-events: none; }
footer { text-align: center; padding: 30px 0; border-top: 1px solid #eee; color: #777; font-size: 14px; }
