body {
    background-color: #f8f8f8;
    font-family: 'Poppins', sans-serif;
}

/* ===================== NAVBAR ===================== */
.navbar-custom {
    background: #ffffff;
    padding: 16px 0;
}

.navbar-logo {
    height: 45px;
    transform: scale(2.1);
    transform-origin: left center;
    filter: none;
}
.store-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}
.store-location {
    font-size: 15px;
    color: #fff;
    opacity: 0.9;
}

/* ===================== HERO ===================== */
/* ===================== HERO (SAMA HOME) ===================== */
.hero-wrap{
    padding: 0;
    margin-top: 0;
}

.hero-banner{
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.hero-banner img{
    width: 100%;
    height: auto;
    display: block;
}
/* CART ICON PREMIUM */
/* ===================== CART ICON FINAL (SAMA HOME) ===================== */
.cart-circle {
    position: relative;
    width: 60px;
    height: 60px;
    background: #b30000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.cart-circle:hover {
    transform: scale(1.08);
}

.cart-icon {
    font-size: 30px;
    color: #ffffff;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #00e676;
    color: #000;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 50px;
    min-width: 24px;
    text-align: center;
}


.btn-red {
    background: #e60000;
    color: white;
    border: none;
}
.btn-red:hover {
    background: #b30000;
}

/* ===================== CATEGORY ===================== */
.category-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 10px;
}
.category-wrapper::-webkit-scrollbar {
    display: none;
}
.category-card {
    background: white;
    border-radius: 10px;
    padding: 12px 5px;
    border: 1px solid #eee;
    text-align: center;
    cursor: pointer;
    width: 100px;
    flex-shrink: 0;
    transition: .2s;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(179,0,0,0.15);
}
.category-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 6px;
}
.category-name {
    font-size: 11px;
    font-weight: 500;
}

/* ===================== PRODUCT SECTION ===================== */
.product-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
}
.product-scroll::-webkit-scrollbar { display: none; }

.product-card {
    width: 220px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: white;
    flex-shrink: 0;
    transition: .3s;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.product-card img {
    width: 100%;
    height: 220px;
    border-radius: 12px 12px 0 0;
    object-fit: cover;
}
.price {
    color: #e60000;
    font-weight: bold;
    font-size: 16px;
}
.product-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    height: 38px; /* cukup utk 2 baris */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
}

/* ===== SCROLL BUTTON ===== */
.scroll-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: .2s;
}
.scroll-btn:hover {
    background: #b30000;
    color: white;
    border-color: #b30000;
}

.scroll-left { left: -15px; }
.scroll-right { right: -15px; }

/* Wrapper untuk posisi tombol per kategori */
.scroll-container {
    position: relative;
}

/* SEARCH CATEGORY */
.search-wrapper {
    position: relative;
}

.search-circle {
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.search-circle:hover {
    transform: scale(1.08);
}

.search-icon {
    font-size: 24px;
    color: #b30000;
}

.search-input {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    transition: .3s;
    border-radius: 50px;
    z-index: 50;
}

.search-input.active {
    width: 260px;
    opacity: 1;
}