* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'montserrat', sans-serif;
}

body {
    background-color: #f1f1f1;
}

.container {
    width: 80%;
    margin-inline: auto;
}

@media (max-width: 992px) {
    .container {
        width: 90%;
    }
}

/* navbar */
.navbar {
    padding: 20px 0 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #f1f1f1;
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    background-color: rgba(241, 241, 241, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.navbar-box .menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.navbar-box .menu li {
    list-style: none;
}

.navbar-box .menu li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.navbar-box .menu li a:hover {
    color: rgb(35, 130, 240);
    border-bottom: 2px solid rgb(35, 130, 240);
}

.navbar-box .ri-menu-3-line {
    display: none;
    font-weight: bold;
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    color: #333;
}

@media (max-width: 768px) {
    .navbar-box .ri-menu-3-line {
        display: block;
    }

    .navbar-box .menu {
        position: fixed;
        top: -100%;
        left: 0;
        flex-direction: column;
        text-align: center;
        background: linear-gradient(135deg, rgb(35, 130, 240), rgb(25, 100, 200));
        width: 100%;
        padding: 35px 0;
        transition: all 0.4s ease-in-out;
        opacity: 0;
        z-index: 999;
        gap: 20px;
        margin-left: 0;
    }

    .navbar-box .menu.menu-active {
        top: 70px;
        opacity: 1;
    }

    .navbar-box .menu li a {
        color: #fff;
        font-size: 16px;
        text-decoration: none;
        justify-content: center;
        padding: 10px 20px;
    }

    .navbar-box .menu li a:hover {
        color: #fff;
        border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    }
}

/* Auth Menu inside hamburger */
.menu-auth {
    margin-left: auto;
}

.menu-auth .btn-auth {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgb(35, 130, 240);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-auth .btn-auth:hover {
    background: rgb(25, 100, 200);
    transform: translateY(-2px);
}

.menu-auth .btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffebee;
    color: #c62828;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-auth .btn-logout:hover {
    background: #c62828;
    color: white;
}

@media (max-width: 768px) {
    .menu-auth {
        margin-left: 0;
        margin-top: 15px;
    }

    .menu-auth .btn-auth {
        background: rgb(35, 130, 240);
        color: white;
        padding: 12px 30px;
        font-size: 14px;
    }

    .menu-auth .btn-auth:hover {
        background: rgb(25, 100, 200);
        color: white;
    }

    .menu-auth .btn-logout {
        background: white;
        color: #c62828;
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* navbar */
/* Hero */
.hero {
    padding-top: 120px;
}

.hero-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.hero-box h1 {
    font-size: 54px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: rgb(35, 130, 240);
}

.hero-box p {
    line-height: 2;
    margin-bottom: 30px;
}

.hero-box a {
    text-decoration: none;
    background-color: rgb(35, 130, 240);
    color: white;
    padding: 10px 20px 10px 20px;
    border-radius: 5px;
}

.hero-box img {
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

@media (max-width: 768px) {
    .hero-box {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 70px;
    }

    .hero-box img {
        margin-top: 30px;
    }

    .hero-box h1 {
        font-size: 36px;
    }
}

/* Hero */

/* Layanan */
.layanan {
    padding-top: 150px;
    padding-bottom: 150px;
}

.layanan-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.layanan-box .box {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

.layanan-box .box:hover {
    background-color: rgb(35, 130, 240);
}

.layanan-box .box:hover>* {
    color: white;
}

.layanan-box .box i {
    color: rgb(35, 130, 240);
}

.layanan-box .box h2 {
    margin-top: 20px;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .layanan-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .layanan-box {
        grid-template-columns: 1fr;
    }
}

/* Layanan */

/* Produk */
.produk {
    padding-bottom: 150px;
}

.produk-box h1 {
    text-align: center;
    margin-bottom: 30px;
    color: rgb(35, 130, 240);
}

/* Product Toolbar */
.product-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    width: 250px;
    max-width: 100%;
}

.search-wrapper:focus-within {
    border-color: rgb(35, 130, 240);
    box-shadow: 0 0 0 3px rgba(35, 130, 240, 0.1);
}

.search-wrapper i {
    color: rgb(35, 130, 240);
    font-size: 18px;
}

.search-wrapper input {
    border: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    outline: none;
    width: 100%;
}

.search-wrapper input::placeholder {
    color: #999;
}

.btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e0e0;
    color: rgb(35, 130, 240);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-share:hover {
    background: rgb(35, 130, 240);
    color: white;
    border-color: rgb(35, 130, 240);
    transform: scale(1.1);
}

/* Categories - Desktop: centered, Mobile: scrollable */
.category-scroll {
    margin-bottom: 30px;
    padding: 5px 0;
    text-align: center;
}

.category-list {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    background-color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-list li:hover {
    border-color: rgb(35, 130, 240);
    color: rgb(35, 130, 240);
}

.category-list li.active {
    background-color: rgb(35, 130, 240);
    color: white;
}

.produk-box .produk-list {
    display: grid;
    grid-template-columns: repeat(4, 200px);
    gap: 15px;
    justify-content: center;
}

/* Produk Item Card */
.produk-box .produk-list .produk-item {
    background-color: white;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(35, 130, 240, 0.2);
    transition: all 0.3s ease;
}

.produk-box .produk-list .produk-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(35, 130, 240, 0.2);
}

/* Coming Soon / Disabled Product */
.produk-box .produk-list .produk-item.produk-disabled {
    opacity: 0.7;
}

.produk-box .produk-list .produk-item.produk-disabled .btn-detail.disabled,
.produk-box .produk-list .produk-item.produk-disabled .btn-ctwa.disabled {
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.produk-box .produk-list .produk-item.produk-disabled .btn-detail.disabled:hover,
.produk-box .produk-list .produk-item.produk-disabled .btn-ctwa.disabled:hover {
    color: #999;
}

.produk-box .produk-list .produk-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.produk-box .produk-list .produk-item:hover img {
    transform: scale(1.03);
}

/* Nama Produk */
.produk-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* Harga Produk */
.produk-price {
    font-size: 18px;
    font-weight: 700;
    color: rgb(35, 130, 240);
    margin-bottom: 15px;
}

/* Button CTWA WhatsApp */
.btn-ctwa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgb(35, 130, 240);
}

.btn-ctwa:hover {
    background: rgb(35, 130, 240);
    color: white;
    transform: scale(1.05);
}

.btn-ctwa i {
    font-size: 18px;
}

.btn-ctwa.disabled {
    background: linear-gradient(135deg, #ccc, #999);
    color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    gap: 2px;
    font-size: 10px;
}

.btn-ctwa.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Platform-specific CTA colors */
.btn-ctwa.cta-whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.btn-ctwa.cta-shopee:hover {
    background: #EE4D2D;
    color: white;
    border-color: #EE4D2D;
}

.btn-ctwa.cta-tokopedia:hover {
    background: #42B549;
    color: white;
    border-color: #42B549;
}

.btn-ctwa.cta-bukalapak:hover {
    background: #E31E52;
    color: white;
    border-color: #E31E52;
}

.btn-ctwa.cta-lazada:hover {
    background: #0F146D;
    color: white;
    border-color: #0F146D;
}

.btn-ctwa.cta-blibli:hover {
    background: #0095DA;
    color: white;
    border-color: #0095DA;
}

.btn-ctwa.cta-tiktok:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

/* Responsive untuk Produk Item */
@media (max-width: 992px) {
    .produk-box .produk-list {
        grid-template-columns: repeat(3, 200px);
    }
}

@media (max-width: 768px) {
    .produk-box .produk-list {
        grid-template-columns: repeat(2, 180px);
    }

    .product-toolbar {
        flex-wrap: wrap;
    }

    .search-wrapper {
        width: 100%;
    }

    /* Make category scroll work on mobile */
    .category-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        text-align: left;
        margin-left: -10%;
        margin-right: -10%;
        padding-left: 10%;
        padding-right: 10%;
        width: calc(100% + 20%);
    }

    .category-scroll::-webkit-scrollbar {
        display: none;
    }

    .category-list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
    }

    .category-list li {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .produk-box .produk-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .search-wrapper {
        padding: 8px 15px;
    }

    .search-wrapper input {
        font-size: 13px;
    }

    .category-list li {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Product Buttons */
.produk-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    color: #000;
    padding: 0;
}

.btn-detail:hover {
    color: rgb(35, 130, 240);
}

.btn-detail i {
    font-size: 12px;
}

.produk-buttons .btn-ctwa {
    font-size: 11px;
    font-weight: 400;
    padding: 0;
    border: none;
    border-radius: 0;
    color: #000;
    background: transparent;
}

.produk-buttons .btn-ctwa:hover {
    background: transparent;
    color: rgb(35, 130, 240);
    transform: none;
}

/* Modal Popup */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    color: rgb(35, 130, 240);
    margin-bottom: 10px;
    font-size: 22px;
}

.modal-price {
    font-size: 20px;
    font-weight: 700;
    color: rgb(35, 130, 240);
    margin-bottom: 15px;
}

.modal-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 14px;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-modal-pesan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: white;
    color: #000;
    border: 2px solid rgb(35, 130, 240);
    transition: all 0.3s ease;
    flex: 1;
}

.btn-modal-pesan:hover {
    background: rgb(35, 130, 240);
    color: white;
}

.btn-modal-close {
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid rgb(35, 130, 240);
    background: white;
    color: #000;
    transition: all 0.3s ease;
}

.btn-modal-close:hover {
    background: rgb(35, 130, 240);
    color: white;
}

/* Produk */

/* footer */
.footer {
    background-color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p span {
    color: rgb(35, 130, 240);
    font-weight: bold;
}

.footer .box:mth-child(2) {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer .box p {
    font-size: 10px;
}

.footer .box i {
    cursor: pointer;
}

.footer .box i:hover {
    color: rgb(35, 130, 240);
}

@media (max-width: 768px) {
    .footer {
        gap: 20px;
    }

    .footer i {
        font-size: 12px;
    }

    .footer .box:mth-child(2) {
        gap: 10px;
    }
}

/* footer */