*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f7f7f7;
    color:#222;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:92%;
    max-width:1300px;
    margin:auto;
}

.topbar{
    background:linear-gradient(135deg,#b80f0a,#d62828);
    color:#fff;
    padding:14px 0;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 4px 20px rgba(0,0,0,.12);
}

.nav-wrap{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo-text{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.logo-main{
    font-size:26px;
    font-weight:700;
}

.logo-sub{
    font-size:20px;
    font-weight:800;
    color:#ffd166;
}



.menu{
    display:flex;
    gap:18px;
    font-size:14px;
}



.badge{
    position:absolute;
    top:-4px;
    right:-2px;
    background:#ffd166;
    color:#111;
    font-size:11px;
    border-radius:50%;
    width:18px;
    height:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
}

.page-content{
    padding-bottom:90px;
}

/* HERO */
.hero{
    margin:20px auto;
}

.hero-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:15px;
}

.hero-banner{
    background:linear-gradient(135deg,#fff3e0,#fff);
    border-radius:22px;
    overflow:hidden;
    min-height:300px;
    position:relative;
    display:flex;
    align-items:center;
    padding:30px;
    box-shadow:0 8px 28px rgba(0,0,0,.08);
}

.hero-text h1{
    font-size:42px;
    margin-bottom:12px;
    color:#8d0801;
}

.hero-text p{
    font-size:18px;
    margin-bottom:18px;
}

.btn{
    display:inline-block;
    padding:12px 22px;
    border-radius:30px;
    background:#c1121f;
    color:#fff;
    font-weight:bold;
    border:none;
    cursor:pointer;
}

.hero-cards{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.small-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
    min-height:140px;
    display:flex;
    align-items:flex-end;
    padding:14px;
    font-weight:bold;
}

/* SECTIONS */
.section{
    margin:22px auto;
}

.section-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px;
}

.section-title h2{
    font-size:28px;
    color:#222;
}

/* CATEGORIES */
.categories{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:16px;
}

.category-card{
    background:#fffdf6;
    border:1px solid #f3d9b1;
    border-radius:22px;
    padding:18px 10px;
    text-align:center;
    box-shadow:0 6px 18px rgba(0,0,0,.05);
    transition:.3s;
}

.category-card:hover{
    transform:translateY(-4px);
}

.category-icon{
    font-size:34px;
    margin-bottom:8px;
}

/* PRODUCTS */
.products-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:16px;
}

.product-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-5px);
}

.product-card img{
    max-width:100%;
    height:190px;
    object-fit:cover;
}

.product-body{
    padding:12px;
}

.product-title{
    font-size:17px;
    font-weight:700;
    min-height:44px;
    line-height:1.3;
}

.price{
    color:#c1121f;
    font-size:24px;
    font-weight:800;
    margin:6px 0;
}

.old-price{
    text-decoration:line-through;
    color:#777;
    font-size:13px;
}

.meta{
    font-size:13px;
    color:#666;
    margin:8px 0;
}

.buy-btn{
    display:block;
    text-align:center;
    padding:10px;
    border-radius:24px;
    background:linear-gradient(135deg,#b80f0a,#d62828);
    color:#fff;
    font-weight:bold;
}

/* FLASH */
.flash-box{
    background:linear-gradient(135deg,#fff8f0,#fff);
    border-radius:22px;
    padding:16px;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
}

/* BOXES */
.mobile-bottom-nav{
    display:none;
}

.auth-box,
.dashboard-box,
.table-box,
.form-box,
.cart-box{
    background:#fff;
    padding:20px;
    border-radius:16px;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    margin:20px auto;
}

/* FORM */
input,
select,
textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #ddd;
    border-radius:10px;
    margin-bottom:12px;
    outline:none;
}

button{
    border:none;
    cursor:pointer;
}

/* TABLE */
.table{
    width:100%;
    border-collapse:collapse;
}

.table th,
.table td{
    border-bottom:1px solid #eee;
    padding:10px;
    text-align:left;
}

/* PREMIUM TEMP BANNER */
.premium-banner{
    position:relative;
    overflow:hidden;
    min-height:360px;
    border-radius:28px;
    background:
        radial-gradient(circle at top right, rgba(255,209,102,.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255,255,255,.10), transparent 22%),
        linear-gradient(135deg, #8d0801 0%, #b80f0a 35%, #d62828 100%);
    display:grid;
    grid-template-columns:1.15fr .85fr;
    align-items:center;
    padding:34px;
}

.banner-pattern{
    position:absolute;
    inset:0;
    background-image:
        radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(45deg, rgba(255,255,255,.03) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.03) 50%, rgba(255,255,255,.03) 75%, transparent 75%, transparent);
    background-size:22px 22px, 80px 80px;
    opacity:.35;
    pointer-events:none;
}

.banner-glow{
    position:absolute;
    width:280px;
    height:280px;
    right:-60px;
    top:-60px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(255,209,102,.35), rgba(255,209,102,0));
    filter:blur(8px);
}

.premium-text{
    position:relative;
    z-index:2;
    color:#fff;
    max-width:620px;
}

.hero-badge{
    display:inline-block;
    padding:8px 14px;
    border-radius:30px;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.18);
    color:#ffe8a3;
    font-size:13px;
    font-weight:700;
    margin-bottom:16px;
    backdrop-filter:blur(6px);
}

.premium-text h1{
    font-size:44px;
    line-height:1.15;
    margin-bottom:14px;
    color:#fff7e8;
    text-shadow:0 2px 10px rgba(0,0,0,.08);
}

.premium-text p{
    font-size:16px;
    line-height:1.7;
    color:rgba(255,255,255,.9);
    margin-bottom:20px;
    max-width:560px;
}

.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.btn-outline-light{
    background:transparent;
    border:1.5px solid rgba(255,255,255,.55);
    color:#fff;
}

.btn-outline-light:hover{
    background:rgba(255,255,255,.08);
}

.hero-features{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.hero-features span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border-radius:30px;
    background:rgba(255,255,255,.10);
    color:#fff2cf;
    font-size:13px;
    border:1px solid rgba(255,255,255,.12);
}

.hero-visual{
    position:relative;
    min-height:290px;
    z-index:2;
}

.floating-card{
    position:absolute;
    display:flex;
    align-items:center;
    gap:12px;
    width:240px;
    padding:14px;
    border-radius:22px;
    background:rgba(255,255,255,.94);
    box-shadow:0 18px 40px rgba(0,0,0,.16);
    backdrop-filter:blur(12px);
}

.floating-thumb{
    width:54px;
    height:54px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    background:linear-gradient(135deg,#fff4d8,#ffe1a6);
    box-shadow:inset 0 0 0 1px rgba(184,15,10,.08);
}

.floating-info{
    display:flex;
    flex-direction:column;
    line-height:1.35;
}

.floating-info strong{
    color:#75120c;
    font-size:15px;
}

.floating-info span{
    color:#8b6b5e;
    font-size:13px;
}

.card-rendang{
    top:12px;
    right:46px;
    transform:rotate(-4deg);
}

.card-anyaman{
    top:118px;
    left:16px;
    transform:rotate(5deg);
}

.card-sayur{
    bottom:8px;
    right:18px;
    transform:rotate(-2deg);
}

.hero-circle{
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,.09);
    border:1px solid rgba(255,255,255,.08);
}

.circle-1{
    width:120px;
    height:120px;
    top:8px;
    left:72px;
}

.circle-2{
    width:72px;
    height:72px;
    bottom:30px;
    left:110px;
}

.circle-3{
    width:180px;
    height:180px;
    right:0;
    bottom:18px;
}

/* PROMO CARDS */
.promo-card{
    position:relative;
    overflow:hidden;
    min-height:155px;
    color:#fff;
    padding:18px;
    border-radius:22px;
    align-items:flex-end;
    background:linear-gradient(135deg,#7f0904,#c1121f);
}

.promo-card::before{
    content:"";
    position:absolute;
    width:130px;
    height:130px;
    border-radius:50%;
    right:-35px;
    top:-35px;
    background:rgba(255,209,102,.18);
}

.promo-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(135deg, rgba(255,255,255,.07), transparent 50%),
        radial-gradient(circle at bottom left, rgba(255,255,255,.06), transparent 45%);
    pointer-events:none;
}

.promo-card small{
    display:block;
    margin-bottom:8px;
    color:#ffe29a;
    font-weight:700;
    position:relative;
    z-index:2;
}

.promo-card h3{
    font-size:20px;
    line-height:1.2;
    margin-bottom:8px;
    position:relative;
    z-index:2;
}

.promo-card p{
    font-size:13px;
    color:rgba(255,255,255,.88);
    position:relative;
    z-index:2;
}

.promo-card-1{
    background:linear-gradient(135deg,#0f7b3b,#31a354);
}

.promo-card-2{
    background:linear-gradient(135deg,#8d5a12,#d49b1f);
}

.promo-card-3{
    background:linear-gradient(135deg,#8d0801,#d62828);
}

.promo-card-4{
    background:linear-gradient(135deg,#386fa4,#59a5d8);
}

/* PLACEHOLDER IMAGE */
.product-placeholder{
    width:100%;
    height:190px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    background:linear-gradient(135deg,#fff5e8,#f8ede1);
    color:#9b6a52;
    font-weight:700;
    gap:8px;
}

.product-placeholder i{
    font-size:38px;
    color:#d49b1f;
}

/* RESPONSIVE */
@media(max-width:992px){
    .menu{
        display:none;
    }

    .hero-grid{
        grid-template-columns:1fr;
    }

    .categories{
        grid-template-columns:repeat(3,1fr);
    }

    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .premium-banner{
        grid-template-columns:1fr;
        gap:20px;
        min-height:auto;
    }

    .hero-visual{
        min-height:240px;
    }

    .premium-text h1{
        font-size:34px;
    }
}

@media(max-width:768px){
    .topbar{
        border-bottom-left-radius:28px;
        border-bottom-right-radius:28px;
        padding:10px 0 12px;
    }

    .nav-wrap{
        flex-wrap:wrap;
    }

    .logo-main{
        font-size:24px;
    }

    .logo-sub{
        font-size:18px;
    }



    .hero-banner{
        min-height:220px;
        padding:20px;
        border-radius:24px;
    }

    .hero-text h1{
        font-size:28px;
    }

    .hero-text p{
        font-size:14px;
    }

    .categories{
        grid-template-columns:repeat(3,1fr);
        gap:10px;
    }

    .category-card{
        padding:14px 8px;
        border-radius:18px;
    }

    .products-grid{
        display:flex;
        overflow-x:auto;
        gap:12px;
        padding-bottom:10px;
    }

    .product-card{
        min-width:220px;
    }

    .mobile-bottom-nav{
        display:flex;
        position:fixed;
        bottom:0;
        left:0;
        right:0;
        background:#fff;
        border-top:1px solid #ddd;
        justify-content:space-around;
        padding:10px 0;
        z-index:999;
    }

    .mobile-bottom-nav a{
        display:flex;
        flex-direction:column;
        align-items:center;
        font-size:12px;
        color:#444;
    }

    .mobile-bottom-nav i{
        font-size:18px;
        margin-bottom:5px;
    }

    .premium-banner{
        padding:22px;
        border-radius:24px;
    }

    .premium-text h1{
        font-size:28px;
    }

    .premium-text p{
        font-size:14px;
        line-height:1.6;
    }

    .hero-features span{
        font-size:12px;
        padding:8px 12px;
    }

    .hero-visual{
        min-height:220px;
    }

    .floating-card{
        width:205px;
        padding:12px;
        border-radius:18px;
    }

    .floating-thumb{
        width:48px;
        height:48px;
        font-size:22px;
    }

    .floating-info strong{
        font-size:14px;
    }

    .floating-info span{
        font-size:12px;
    }

    .card-rendang{
        top:0;
        right:8px;
    }

    .card-anyaman{
        top:86px;
        left:0;
    }

    .card-sayur{
        bottom:0;
        right:0;
    }

    .promo-card{
        min-height:130px;
        border-radius:18px;
    }

    .promo-card h3{
        font-size:17px;
    }
}

@media(max-width:480px){
    .section-title h2{
        font-size:22px;
    }

    .product-card{
        min-width:200px;
    }

    .price{
        font-size:20px;
    }

    .product-title{
        font-size:15px;
        min-height:40px;
    }
}

.logo-brand{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}

.site-logo{
    width:52px !important;
    height:52px !important;
    object-fit:contain;
    border-radius:12px;
    background:#fff;
    padding:4px;
    box-shadow:0 4px 12px rgba(0,0,0,.12);
    display:block;
    max-width:52px !important;
    min-width:52px !important;
}

.logo-text{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.logo-main{
    font-size:26px;
    font-weight:700;
}

.logo-sub{
    font-size:20px;
    font-weight:800;
    color:#ffd166;
}

.topbar .site-logo{
    width:52px !important;
    height:52px !important;
    max-width:52px !important;
}

/* ===== FINAL: RED TOPBAR HEIGHT (mobile like image 2) ===== */
@media (max-width: 768px) {

  header.topbar,
  .topbar {
    padding: 0 !important;
    height: 92px !important;       /* kunci tinggi area merah */
    min-height: 92px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom-left-radius: 28px !important;
    border-bottom-right-radius: 28px !important;
  }

  header.topbar .nav-wrap,
  header.topbar .container.nav-wrap {
    height: 92px !important;
    min-height: 92px !important;
    align-items: center !important;
    gap: 12px !important;
  }

  header.topbar .search-bar {
    height: 54px !important;
    border-radius: 18px !important;
    margin: 0 !important;
  }

  header.topbar .search-bar input {
    height: 54px !important;
    line-height: 54px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
  }

  header.topbar .search-bar button {
    height: 54px !important;
    line-height: 54px !important;
    width: 60px !important;
    min-width: 60px !important;
    border-radius: 0 18px 18px 0 !important;
    padding: 0 !important;
  }

  header.topbar .nav-icons a {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }
}