body { background-color: #f8f9fa; }
.mobile-frame {
    max-width: 600px;
    width: 100%;  
    margin: auto;
    border: 1px solid #ddd;
    border-radius: 25px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.header {
    background-color: #0d0d0c;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between; /* penting */
    align-items: center;
}
.header .logo { height: 40px; }
.header .menu-icon { font-size: 1.5rem; }
.hero-section {
    position: relative;
    color: white;
    text-align: center;
    padding: 50px 20px;
    background: url("../images/black_bottle.jpeg") no-repeat center center/cover;
    min-height: 250px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}
.hero-text {
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    font-weight: bold;
}
.header .back-btn {
    font-size: 1.3rem;
    cursor: pointer;
    margin-right: 10px;
}
.header .title {
    flex-grow: 1;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
}
.content-section {
    flex-grow: 1;
    padding: 20px;
    background-color: #fff;
    overflow-y: auto;
}
.product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    height: 100%; /* supaya card selalu sama tinggi */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.product-card .body { 
    padding: 10px; 
    flex-grow: 1;
}
.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}
.product-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 10px;
}
.rating i { color: #ffc107; }
.quantity-box {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.quantity-box button {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 6px;
}
.quantity-box input {
    width: 50px;
    text-align: center;
    margin: 0 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    height: 35px;
}
.btn-add-cart {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border-radius: 10px;
}

/* 📱 Mobile (default) */
.bottom-nav {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1000;
}
.bottom-nav-item {
    flex: 1;
    text-align: center;
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
}
.bottom-nav-item i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 3px;
}
.bottom-nav-item.active {
    color: #28a745;
}
.bottom-nav-item.active { color: #28a745; }
/* 💻 Desktop (>= 992px) */

@media (min-width: 992px) {
    .bottom-nav {
        position: static;          /* tidak sticky */
        background: transparent;
        border: none;
        justify-content: center;
        padding: 15px 30px;
    }
    .bottom-nav-item {
        flex: unset;
        margin: 0 15px; /* kasih jarak kiri kanan biar rapi */
        font-size: 1rem;
        color: #333;
        display: flex;
        align-items: center;
    }
    .bottom-nav-item i {
        margin-right: 8px;
        font-size: 1.1rem;
    }
    .bottom-nav-item span {
        display: inline; /* pastikan label tampil */
    }
}

.business-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}
.business-section p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.header {
    background-color: #0d0d0c;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}
.header .logo {
    height: 40px;
}
.header .menu-icon {
    font-size: 1.5rem;
    cursor: pointer;
}
.store-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    background: #fff;
}
.store-card h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.store-card p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #555;
}

.login-content {
    flex-grow: 1;
    padding: 40px 20px;
    text-align: center;
}
.login-content .logo-large {
    height: 80px;
    margin-bottom: 30px;
}
.nav-tabs {
    border: none;
    justify-content: center;
    margin-bottom: 20px;
}
.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #333;
    font-weight: 600;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid #28a745;
    color: #28a745;
}
.form-control {
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
}
.btn-login, .btn-register {
    border-radius: 10px;
    padding: 12px;
    font-size: 1.1rem;
    background-color: #28a745;
    border-color: #28a745;
}
.btn-google {
    border-radius: 10px;
    padding: 12px;
    font-size: 1.1rem;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #333;
}
.btn-google img {
    height: 20px;
    margin-right: 10px;
}

/* Untuk layar lebar (desktop >= 992px) */
@media (min-width: 992px) {
    .mobile-frame {
        max-width: 100%;   /* isi penuh layar */
        border-radius: 0;  /* biar full screen */
        box-shadow: none;  /* hilangkan efek hp */
        border: none;
    }

    .header {
        padding: 15px 30px; /* lebih longgar */
    }

    .bottom-nav {
        position: static;   /* tidak sticky di desktop */
        justify-content: center;
        background: transparent;
        border: none;
    }

    .bottom-nav a {
        margin-left: 20px;
    }
}

@media (min-width: 992px) {
    .login-content, 
    .cart-content, 
    .store-content, 
    .product-detail {
        padding: 40px 80px; /* lebih lega di desktop */
        text-align: left;
    }
}

@media (min-width: 992px) {
    .product-card {
        max-width: 300px; /* batasi biar rapi */
    }

    .product-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
}

.product-header {
    background-color: #0d0d0c;  /* sama kayak header utama */
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.product-header .btn-back,
.product-header .menu-icon {
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.product-header .btn-back:hover,
.product-header .menu-icon:hover {
    color: #28a745; /* efek hover hijau */
}

.product-header .title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.cart-header {
    padding: 12px 15px;
    font-size: 1.2rem;
    font-weight: 600;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

  .cart-header .back-btn {
    position: absolute;
    left: 15px;
    color: #333;
    font-size: 1.2rem;
    border: none;
    background: transparent;
  }

  .cart-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
  }

  .cart-item input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
  }

  .cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 15px;
  }

  .cart-item-details { flex: 1; }

  .cart-item-title {
    font-size: 1rem;
    font-weight: 500;
  }

  .cart-item-price {
    font-size: 0.9rem;
    color: #28a745;
  }

  .cart-item-actions {
    text-align: right;
  }

  .quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
  }

  .quantity-control button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 16px;
    line-height: 1;
    color: #333;
  }

  .quantity-control input {
    width: 40px;
    text-align: center;
    margin: 0 5px;
    border: none;
    background: transparent;
    font-weight: 500;
  }

  .total-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin-top: 15px;
    margin-bottom: 80px; /* biar tidak ketutup nav */
  }

  .btn-checkout {
    width: 100%;
    border-radius: 10px;
    font-size: 1rem;
    padding: 12px;
  }
