body {
    margin: 0 auto;
    max-width: 900px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    background: #f5f5f5;
}

.header {
    position: sticky;
    top: 0;
    background: #ee4d2d;
    padding: 10px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.logo {
    color: white;
    font-weight: bold;
    font-size: 18px;
    margin-right: 10px;
}

.search {
    flex: 1;
    padding: 8px;
    border-radius: 4px;
    border: none;
}

.badge {
    font-size: 11px;
    color: #ee4d2d;
    font-weight: bold;
}

.trust {
    background: #fff;
    padding: 8px;
    font-size: 12px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.trust div {
    white-space: nowrap;
}

.section-title {
    padding: 10px;
    font-weight: bold;
}

/* GRID (tight like Shopee) */
.grid {
    display: grid;
    grid-template-columns: repeat(5, 180px);
    gap: 10px;
    padding: 10px;
    overflow-x: auto;
}

@media (max-width:600px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:601px) {
    .grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* CARD */
.card {
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
}

.card {
    width: 100%;
    max-width: 180px;
}

/* HOVER (Shopee feel) */
.card:hover {
    border: 1px solid #ee4d2d;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* IMAGE */
.card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.card:hover img {
    transform: scale(1.03);
}

/* BODY */
.card-body {
    padding: 6px 8px 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* NAME */
.name {
    font-size: 12px;
    line-height: 1.3;
    height: 32px;
    overflow: hidden;
    color: #222;
}

/* PRICE */
.price12 {
    color: #ee4d2d;
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
}

/* BADGE */
.badge {
    font-size: 10px;
    color: #ee4d2d;
    margin-top: 2px;
}

/* BUTTON */
.btn {
    margin-top: auto;
    padding: 6px;
    font-size: 12px;
    border-radius: 2px;
    border: none;
    background: #ee4d2d;
    color: #fff;
    cursor: pointer;
}

.btn:hover {
    background: #d8432a;
}

.footer {
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    margin-top: 30px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-col {
    font-size: 12px;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-title {
    font-weight: bold;
    font-size: 13px;
    color: #222;
    margin-bottom: 5px;
}

.footer a {
    text-decoration: none;
    color: #555;
}

.footer a:hover {
    color: #ee4d2d;
}

.footer-icons span {
    display: inline-block;
    background: #fff;
    padding: 4px 6px;
    border: 1px solid #ddd;
    margin-right: 4px;
    font-size: 11px;
}

.footer-bottom {
    text-align: center;
    font-size: 11px;
    color: #888;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.product-page {
    display: flex;
    gap: 20px;
    padding: 10px;
}

.product-left img {
    width: 300px;
    border-radius: 8px;
}

.product-right {
    flex: 1;
}

.product-right h1 {
    font-size: 20px;
}

.price {
    color: #ee4d2d;
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
}

.stock {
    margin-bottom: 10px;
}
.menu-kategori {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px;
}

.menu-kategori button {
    padding: 6px 12px;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 6px;
}

.menu-kategori button:hover {
    background: #ddd;
}
.layout {
    display: flex;
}

.sidebar {
    width: 220px;
    background: #f5f5f5;
    padding: 10px;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 10px;
}

.menu-kategori {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-kategori button {
    text-align: left;
    padding: 8px;
    border: none;
    background: #fff;
    cursor: pointer;
    border-radius: 6px;
}

.menu-kategori button:hover {
    background: #ddd;
}
.logo a {
    text-decoration: none;
    color: inherit;
}

#ajax_listOfOptions {
    position: absolute;
    top: 60px; /* adjust based on header height */
    left: 200px; /* adjust to align with input */
    
    width: 400px;
    max-height: 250px;
    overflow-y: auto;

    background: #fff;
    border: 1px solid #ccc;
    z-index: 9999;

    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#ajax_listOfOptions div {
    padding: 8px;
    cursor: pointer;
}

#ajax_listOfOptions div:hover {
    background: #f0f0f0;
}