/*
=============================================================================
  ES COKELAT SEROJA — ANDROID / MOBILE RESPONSIVE
  Target: 360px  (low-end Android, e.g. Samsung A-series)
          390px  (standard Android, e.g. Pixel / Samsung S-series)
          412px  (large Android, e.g. Pixel 7 Pro)
          480px  (phablet)
          768px  (tablet / large phone landscape)
=============================================================================
*/

/* ─────────────────────────────────────────────────────────────
   0. GLOBAL — mencegah horizontal overflow + performa scroll
───────────────────────────────────────────────────────────── */
html,
body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Semua gambar tidak melebihi container */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Input/select ukuran font minimal 16px agar iOS/Android tidak auto-zoom */
input,
select,
textarea {
    font-size: 16px !important;
    -webkit-appearance: none;
    appearance: none;
}

/* ─────────────────────────────────────────────────────────────
   1. BASE HERO — menggantikan inline style di index.php
───────────────────────────────────────────────────────────── */
.hero-row {
    padding: 120px 0 70px;
    min-height: auto;
    /* buang 92vh yang bikin terlalu tinggi */
}

/* Gambar hero: center di semua layar */
.hero-img-col {
    display: flex;
    justify-content: center;
}

.hero-img-col .hero-img-wrap {
    max-width: 440px;
    width: 100%;
    position: relative;
}

/* ─────────────────────────────────────────────────────────────
   2. TABLET/LARGE PHONE LANDSCAPE (≤768px)
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* === HERO === */
    .hero-row {
        padding: 82px 0 40px;
    }

    .hero-section {
        padding: 0;
    }

    /* biarkan hero-row yang atur */
    .hero-left {
        text-align: center;
        order: 2;
    }

    .hero-img-col {
        order: 1;
    }

    .hero-img-col .hero-img-wrap {
        max-width: 260px;
    }

    .hero-eyebrow {
        font-size: 0.72rem;
        padding: 0.4rem 0.9rem;
        margin: 0 auto 1rem;
    }

    .hero-title {
        font-size: clamp(1.55rem, 7vw, 2rem);
        line-height: 1.2;
        margin-bottom: 0.9rem;
        letter-spacing: -0.2px;
    }

    .hero-desc {
        font-size: 0.88rem;
        line-height: 1.7;
        max-width: 100%;
        margin-bottom: 1.4rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        min-height: 48px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    /* Tampilkan elemen dekoratif dengan penyesuaian ukuran */
    .hero-ring-1,
    .hero-ring-2,
    .hero-glow-circle {
        display: block !important;
        opacity: 0.3; /* Kurangi opacity agar tidak mengganggu */
    }
    .hero-ring-1 { width: 300px; height: 300px; }
    .hero-ring-2 { width: 350px; height: 350px; }

    .float-badge,
    .fb-1,
    .fb-2,
    .fb-3,
    .glass-float-card,
    .premium-floating-badge {
        display: flex !important;
        transform: scale(0.7); /* Perkecil skala untuk layar kecil */
        transform-origin: center;
    }


    .hero-product-img {
        max-width: 200px;
        margin: 0 auto;
    }

    .hero-img-wrap {
        margin: 0 auto 1.5rem;
    }

    /* === MARQUEE === */
    .marquee-item {
        padding: 0.75rem 1.2rem;
        font-size: 0.78rem;
    }

    .marquee-section {
        display: none;
    }

    /* sembunyikan di HP kecil */

    /* === FEATURES === */
    .features-section {
        padding: 44px 0;
    }

    .feat-box {
        padding: 1.4rem 1rem;
        text-align: center;
        border-radius: 16px;
    }

    .feat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        border-radius: 14px;
        margin: 0 auto 0.85rem;
    }

    .feat-box h4 {
        font-size: 0.93rem;
        margin-bottom: 0.4rem;
    }

    .feat-box p {
        font-size: 0.8rem;
    }

    /* === STATS COUNTER === */
    .stats-section {
        padding: 44px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stat-item {
        padding: 1.5rem 0.75rem;
        border-bottom: 1px solid rgba(107, 66, 38, 0.08);
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid rgba(107, 66, 38, 0.08);
    }

    .stat-item::after {
        display: none !important;
    }

    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    /* === BEST SELLER (index) === */
    .bestseller-section {
        padding: 50px 0;
    }

    .sec-header {
        margin-bottom: 1.75rem;
    }

    .sec-title {
        font-size: clamp(1.35rem, 6vw, 1.8rem);
    }

    .sec-sub {
        font-size: 0.83rem;
    }

    .prod-card {
        border-radius: 18px;
    }

    .prod-img-wrap {
        padding-top: 70%;
    }

    .prod-body {
        padding: 0.9rem 0.9rem 1rem;
    }

    .prod-name {
        font-size: 0.9rem;
    }

    .prod-desc {
        font-size: 0.78rem;
        margin-bottom: 0.75rem;
    }

    .prod-price {
        font-size: 1.05rem;
    }

    .prod-rating {
        font-size: 0.8rem;
    }

    .prod-badge {
        font-size: 0.62rem;
        padding: 0.25rem 0.6rem;
        top: 8px;
        right: 8px;
    }

    .btn-view-all {
        font-size: 0.88rem;
        padding: 0.85rem 1.8rem;
        min-height: 48px;
    }

    /* === WHY US === */
    .whyus-section {
        padding: 50px 0;
    }

    .whyus-bg-text {
        display: none;
    }

    .whyus-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .why-card {
        padding: 1.2rem;
        gap: 0.85rem;
        border-radius: 16px;
        align-items: center;
    }

    .why-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .why-content h4 {
        font-size: 0.92rem;
        margin-bottom: 0.2rem;
    }

    .why-content p {
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .why-number {
        display: none;
    }

    /* === PROMO BANNER === */
    .promo-section {
        padding: 0 0 44px;
    }

    .promo-banner {
        flex-direction: column;
        padding: 1.75rem 1.2rem;
        border-radius: 20px;
        gap: 1.4rem;
        text-align: center;
    }

    .promo-tag {
        font-size: 0.72rem;
    }

    .promo-title {
        font-size: clamp(1.2rem, 5.5vw, 1.6rem);
        line-height: 1.25;
    }

    .promo-sub {
        font-size: 0.82rem;
        max-width: 100%;
    }

    .promo-deal-badge {
        width: 90px;
        height: 90px;
        margin: 0 auto;
    }

    .promo-deal-badge .deal-pct {
        font-size: 1.55rem;
    }

    .promo-deal-badge .deal-off {
        font-size: 0.7rem;
    }

    .promo-deal-badge .deal-label {
        font-size: 0.64rem;
    }

    .btn-promo {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        min-height: 48px;
        margin: 0 auto;
    }

    /* === STORY / OUR STORY === */
    .story-section {
        padding: 50px 0;
    }

    .story-float-wrap,
    .story-years-badge {
        display: none;
    }

    .story-imgs {
        padding-bottom: 0;
    }

    .story-txt {
        font-size: 0.86rem;
        line-height: 1.7;
    }

    .story-feats {
        gap: 0.85rem;
        margin-top: 1.25rem;
    }

    .story-feat-item {
        gap: 0.75rem;
        padding: 0.75rem;
        border-radius: 12px;
    }

    .sfi-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .story-feat-item h4 {
        font-size: 0.88rem;
        margin-bottom: 0.15rem;
    }

    .story-feat-item p {
        font-size: 0.78rem;
    }

    .btn-hero-primary.mt-4 {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* === TESTIMONIALS === */
    .testi-section {
        padding: 50px 0;
    }

    .testi-filter {
        gap: 0.4rem;
        margin: 1.2rem 0;
        flex-wrap: wrap;
    }

    .tf-btn {
        padding: 0.42rem 0.8rem;
        font-size: 0.73rem;
        min-height: 36px;
        border-radius: 50px;
    }

    .tf-count {
        font-size: 0.68rem;
        padding: 0.08rem 0.3rem;
    }

    .testi-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .testi-card {
        padding: 1.1rem;
        border-radius: 15px;
    }

    .tc-head {
        gap: 0.7rem;
        margin-bottom: 0.75rem;
    }

    .tc-avatar {
        width: 40px;
        height: 40px;
    }

    .tc-head h4 {
        font-size: 0.84rem;
    }

    .tc-stars i {
        font-size: 0.75rem;
    }

    .tc-text {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .tc-verified {
        font-size: 0.73rem;
    }

    .btn-show-more {
        font-size: 0.83rem;
        padding: 0.65rem 1.6rem;
        min-height: 44px;
    }

    /* === CTA SECTION === */
    .cta-section {
        padding: 44px 0;
    }

    .cta-card {
        padding: 1.75rem 1.1rem;
        border-radius: 18px;
        text-align: center;
    }

    .cta-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        border-radius: 15px;
        margin-bottom: 0.9rem;
        display: inline-flex;
    }

    .cta-title {
        font-size: clamp(1.3rem, 5.5vw, 1.65rem);
        margin-bottom: 0.4rem;
    }

    .cta-sub {
        font-size: 0.86rem;
    }

    .btn-cta-order {
        display: flex;
        width: 100%;
        max-width: 280px;
        justify-content: center;
        margin: 1rem auto 0;
        padding: 0.9rem 1.2rem;
        font-size: 0.92rem;
        min-height: 48px;
        border-radius: 50px;
    }

    /* === FLOATING ACTIONS === */
    .floating-actions {
        bottom: 1.1rem;
        right: 1.1rem;
        gap: 10px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        border-radius: 14px;
    }

    .float-btn::before {
        display: none !important;
    } /* Sembunyikan tooltip di mobile */

    /* === FOOTER === */
    .footer-content {
        padding: 50px 0 30px;
    }

    .footer-logo h3 {
        font-size: 1.1rem;
    }

    .footer-desc {
        font-size: 0.83rem;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.97rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    .footer-copyright {
        font-size: 0.82rem;
        text-align: center;
    }

    /* === ABOUT PAGE === */
    .about-hero {
        padding: 90px 0 50px;
    }

    .about-title {
        font-size: clamp(1.5rem, 6.5vw, 1.9rem);
        line-height: 1.2;
    }

    .about-desc {
        font-size: 0.87rem;
        line-height: 1.7;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.85rem;
        padding: 1.25rem 0;
    }

    .stat-number {
        font-size: 1.7rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .about-badge-float,
    .about-badge-float {
        display: none;
    }

    .about-main-image {
        border-radius: 20px;
    }

    .btn-about-cta {
        min-height: 48px;
        font-size: 0.9rem;
        padding: 0.9rem 1.8rem;
    }

    /* Story Journey (about) */
    .story-journey {
        padding: 50px 0;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }

    .timeline-year {
        width: auto;
        text-align: left;
    }

    .year-badge {
        font-size: 0.88rem;
        padding: 0.5rem 1rem;
    }

    .timeline-content {
        padding: 1.1rem;
        border-radius: 14px;
    }

    .timeline-content h4 {
        font-size: 0.95rem;
    }

    .timeline-content p {
        font-size: 0.82rem;
    }

    /* Our Values (about) */
    .our-values {
        padding: 50px 0;
    }

    .value-card {
        padding: 1.5rem 1.1rem;
        border-radius: 18px;
    }

    .value-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        border-radius: 15px;
    }

    .value-title {
        font-size: 0.95rem;
    }

    .value-desc {
        font-size: 0.82rem;
    }

    /* Team (about) */
    .team-section {
        padding: 50px 0;
    }

    .team-info {
        padding: 1.25rem;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .team-role {
        font-size: 0.8rem;
    }

    .team-desc {
        font-size: 0.82rem;
    }

    /* CTA About */
    .cta-about {
        padding: 50px 0;
    }

    .cta-main-title {
        font-size: clamp(1.35rem, 5.5vw, 1.7rem);
    }

    .cta-main-sub {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-cta-green,
    .btn-cta-white {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        min-height: 48px;
        font-size: 0.9rem;
    }

    /* === CONTACT PAGE === */
    .contact-hero {
        padding: 90px 0 50px;
    }

    .contact-info {
        padding: 50px 0;
    }

    .info-card {
        padding: 1.4rem 1.1rem;
        border-radius: 16px;
    }

    .info-card h4 {
        font-size: 1rem;
    }

    .info-card p {
        font-size: 0.85rem;
    }

    .opening-hours li {
        font-size: 0.85rem;
        padding: 0.7rem 0;
    }

    .btn-whatsapp {
        font-size: 0.9rem;
        padding: 0.9rem 1.5rem;
        min-height: 48px;
    }

    .contact-form-card {
        padding: 1.5rem 1.1rem;
        border-radius: 18px;
    }

    .contact-form-card h3 {
        font-size: 1.2rem;
    }

    .contact-form-card>p {
        font-size: 0.84rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.72rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem 0.9rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .form-group textarea {
        min-height: 110px;
    }

    .btn-contact-submit {
        font-size: 0.93rem;
        padding: 1rem 1.5rem;
        min-height: 48px;
        border-radius: 12px;
    }

    .faq-section {
        padding: 50px 0;
    }

    .faq-q {
        padding: 0.95rem 1.1rem;
        font-size: 0.88rem;
    }

    .faq-a {
        padding: 0 1.1rem;
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .faq-item {
        border-radius: 14px;
    }

    .location-section {
        padding: 50px 0;
    }

    .maps-wrap {
        height: 280px;
        border-radius: 16px;
        margin-top: 1.75rem;
    }

    .social-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        border-radius: 12px;
    }

    /* === MENU PAGE === */
    .menu-page {
        padding: 80px 0 40px;
    }

    .menu-header {
        margin-bottom: 1.5rem;
    }

    .menu-title {
        font-size: clamp(1.5rem, 6.5vw, 1.9rem);
    }

    .menu-subtitle {
        font-size: 0.84rem;
    }

    .menu-badge-top {
        font-size: 0.72rem;
        padding: 0.38rem 0.9rem;
    }

    /* Order bar */
    .order-bar {
        top: 60px;
        padding: 0.6rem 0;
    }

    .order-bar-inner {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .cat-pills {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .cat-pill {
        flex: 1 1 auto;
        justify-content: center;
        padding: 0.52rem 0.6rem;
        font-size: 0.8rem;
        min-height: 38px;
        border-radius: 50px;
    }

    .cat-pill i {
        display: none;
    }

    .cart-indicator {
        justify-content: center;
        margin-left: 0;
        min-height: 38px;
    }

    /* Menu grid */
    .menu-card {
        border-radius: 18px;
    }

    .menu-img-wrap {
        padding-top: 72%;
    }

    .menu-body {
        padding: 0.85rem 0.85rem 1rem;
    }

    .menu-name {
        font-size: 0.88rem;
    }

    .menu-desc {
        font-size: 0.76rem;
        -webkit-line-clamp: 1;
        margin-bottom: 0.65rem;
    }

    .img-price {
        font-size: 0.88rem;
    }

    .menu-badge {
        font-size: 0.6rem;
        padding: 0.22rem 0.55rem;
        top: 7px;
        right: 7px;
    }

    /* Variant & extras */
    .variant-lbl {
        font-size: 0.65rem;
    }

    .variant-sel {
        padding: 0.58rem 0.7rem;
        font-size: 0.82rem;
        border-radius: 10px;
    }

    .extras-wrap {
        padding: 0.65rem 0.75rem;
        border-radius: 10px;
    }

    .extras-lbl {
        font-size: 0.65rem;
    }

    .extra-row label {
        font-size: 0.8rem;
    }

    /* Footer card */
    .menu-footer {
        gap: 0.4rem;
        padding-top: 0.7rem;
        flex-wrap: wrap;
    }

    .price-text {
        font-size: 1rem;
    }

    .price-text.muted {
        font-size: 0.82rem;
    }

    .qty-wrap {
        padding: 0.2rem;
        gap: 0.2rem;
        border-radius: 9px;
    }

    .qty-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        border-radius: 7px;
    }

    .qty-input {
        width: 32px;
        font-size: 0.88rem;
    }

    /* Order summary */
    .order-summary {
        padding: 1.5rem 1rem;
        border-radius: 18px;
        margin-top: 2rem;
    }

    .summary-label {
        font-size: 0.72rem;
    }

    .summary-total-items {
        font-size: 2.4rem;
    }

    .summary-total-label {
        font-size: 0.82rem;
        margin-bottom: 1.5rem;
    }

    .btn-order {
        font-size: 0.93rem;
        padding: 1rem 1.2rem;
        border-radius: 14px;
        min-height: 50px;
    }

    .btn-back {
        font-size: 0.88rem;
        padding: 0.8rem 1.4rem;
        min-height: 44px;
    }

    /* === NAVBAR === */
    .navbar {
        padding: 0.45rem 0;
    }

    .navbar-logo {
        width: 36px;
        height: 36px;
    }

    .navbar-brand-text .brand-main {
        font-size: 0.88rem;
    }

    .navbar-brand-text .brand-sub {
        display: none;
    }

    .navbar-collapse {
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.65rem;
    }

    .nav-link {
        padding: 0.65rem 0.9rem !important;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .btn-nav-cta {
        padding: 0.65rem 1.1rem !important;
        font-size: 0.88rem !important;
        min-height: 44px;
    }
}

/* ─────────────────────────────────────────────────────────────
   3. STANDARD ANDROID PORTRAIT (≤430px)
   Pixel 7, Samsung S-series, Xiaomi, OPPO
───────────────────────────────────────────────────────────── */
@media (max-width: 430px) {

    /* Hero */
    .hero-row {
        padding: 76px 0 36px;
    }

    .hero-img-col .hero-img-wrap {
        max-width: 210px;
    }

    .hero-product-img {
        max-width: 200px;
    }

    .hero-title {
        font-size: clamp(1.45rem, 7.5vw, 1.8rem);
    }

    .hero-eyebrow {
        font-size: 0.69rem;
    }

    .hero-desc {
        font-size: 0.84rem;
    }

    /* Sections */
    .sec-title {
        font-size: clamp(1.3rem, 6.5vw, 1.6rem);
    }

    .sec-sub {
        font-size: 0.8rem;
    }

    /* Features */
    .features-section {
        padding: 40px 0;
    }

    .feat-icon {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }

    .feat-box h4 {
        font-size: 0.89rem;
    }

    .feat-box p {
        font-size: 0.77rem;
    }

    /* Stats */
    .stat-item {
        padding: 1.25rem 0.6rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    /* Bestseller */
    .bestseller-section {
        padding: 44px 0;
    }

    .prod-img-wrap {
        padding-top: 75%;
    }

    .prod-body {
        padding: 0.8rem;
    }

    .prod-name {
        font-size: 0.85rem;
    }

    .prod-price {
        font-size: 1rem;
    }

    /* Why us */
    .why-card {
        padding: 1.1rem;
    }

    .why-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .why-content h4 {
        font-size: 0.88rem;
    }

    .why-content p {
        font-size: 0.76rem;
    }

    /* Promo */
    .promo-banner {
        padding: 1.5rem 1rem;
    }

    .promo-title {
        font-size: clamp(1.1rem, 5.5vw, 1.4rem);
    }

    .promo-deal-badge {
        width: 82px;
        height: 82px;
    }

    .promo-deal-badge .deal-pct {
        font-size: 1.4rem;
    }

    /* Story */
    .story-section {
        padding: 44px 0;
    }

    .story-txt {
        font-size: 0.83rem;
    }

    .sfi-icon {
        width: 36px;
        height: 36px;
    }

    /* Testi */
    .testi-section {
        padding: 44px 0;
    }

    .testi-card {
        padding: 1rem;
    }

    .tc-text {
        font-size: 0.78rem;
    }

    .tf-btn {
        font-size: 0.7rem;
        padding: 0.38rem 0.7rem;
    }

    /* CTA */
    .cta-section {
        padding: 40px 0;
    }

    .cta-card {
        padding: 1.5rem 0.9rem;
    }

    .cta-title {
        font-size: clamp(1.25rem, 5.5vw, 1.5rem);
    }

    /* Menu page */
    .menu-page {
        padding: 75px 0 36px;
    }

    .menu-title {
        font-size: clamp(1.35rem, 7vw, 1.7rem);
    }

    .menu-body {
        padding: 0.75rem 0.75rem 0.9rem;
    }

    .menu-name {
        font-size: 0.83rem;
    }

    .qty-btn {
        width: 28px;
        height: 28px;
    }

    .order-summary {
        padding: 1.25rem 0.85rem;
    }

    .summary-total-items {
        font-size: 2.1rem;
    }

    /* About */
    .about-title {
        font-size: 1.45rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.65rem;
    }

    .stat-number {
        font-size: 1.55rem;
    }

    /* Contact */
    .contact-form-card {
        padding: 1.25rem 0.9rem;
    }

    .maps-wrap {
        height: 240px;
    }

    /* Footer */
    .footer-content {
        padding: 42px 0 26px;
    }
}

/* ─────────────────────────────────────────────────────────────
   4. SMALL ANDROID (≤390px)
   Samsung Galaxy A-series, Redmi, dll
───────────────────────────────────────────────────────────── */
@media (max-width: 390px) {

    .hero-row {
        padding: 72px 0 32px;
    }

    .hero-title {
        font-size: 1.38rem;
    }

    .hero-img-col .hero-img-wrap {
        max-width: 185px;
    }

    .hero-product-img {
        max-width: 175px;
    }

    .sec-title {
        font-size: 1.3rem;
    }

    /* Features 1 col */
    .feat-box {
        padding: 1.2rem 0.9rem;
    }

    /* Stats super compact */
    .stat-value {
        font-size: 1.5rem;
    }

    .stat-item {
        padding: 1.1rem 0.5rem;
    }

    /* Bestseller */
    .prod-img-wrap {
        padding-top: 80%;
    }

    .prod-name {
        font-size: 0.81rem;
    }

    .prod-price {
        font-size: 0.92rem;
    }

    /* Why 1 col */
    .why-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    /* Promo */
    .promo-title {
        font-size: 1.1rem;
    }

    .promo-deal-badge {
        width: 76px;
        height: 76px;
    }

    .promo-deal-badge .deal-pct {
        font-size: 1.25rem;
    }

    /* Testi */
    .tc-text {
        font-size: 0.76rem;
    }

    .tf-btn {
        font-size: 0.68rem;
        padding: 0.35rem 0.6rem;
    }

    /* CTA */
    .cta-title {
        font-size: 1.2rem;
    }

    .btn-cta-order {
        font-size: 0.85rem;
    }

    /* Menu */
    .menu-title {
        font-size: 1.3rem;
    }

    .cat-pill {
        font-size: 0.74rem;
        padding: 0.46rem 0.5rem;
    }

    .qty-btn {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }

    .qty-input {
        width: 28px;
    }

    .btn-order {
        font-size: 0.87rem;
    }

    /* About */
    .about-title {
        font-size: 1.35rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .stat-number {
        font-size: 1.45rem;
    }

    /* Navbar */
    .navbar-logo {
        width: 32px;
        height: 32px;
    }

    .navbar-brand-text .brand-main {
        font-size: 0.82rem;
    }

    /* FloatWA */
    .float-wa-btn {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }

    #back-to-top {
        width: 35px;
        height: 35px;
        bottom: 4rem;
    }
}

/* ─────────────────────────────────────────────────────────────
   5. VERY SMALL (≤360px)
   Budget Android, Samsung A03, Redmi entry
───────────────────────────────────────────────────────────── */
@media (max-width: 360px) {

    .hero-title {
        font-size: 1.25rem;
    }

    .hero-img-col .hero-img-wrap {
        max-width: 165px;
    }

    .hero-product-img {
        max-width: 155px;
    }

    .sec-title {
        font-size: 1.2rem;
    }

    .sec-sub {
        font-size: 0.78rem;
    }

    .prod-price {
        font-size: 0.88rem;
    }

    .prod-name {
        font-size: 0.78rem;
    }

    .promo-title {
        font-size: 1.05rem;
    }

    .cta-title {
        font-size: 1.15rem;
    }

    .btn-cta-order {
        font-size: 0.82rem;
        padding: 0.82rem 1rem;
    }

    .menu-title {
        font-size: 1.2rem;
    }

    .qty-btn {
        width: 24px;
        height: 24px;
    }

    .qty-input {
        width: 26px;
    }

    .about-title {
        font-size: 1.25rem;
    }

    .footer-logo h3 {
        font-size: 0.95rem;
    }

    #back-to-top {
        bottom: 3.8rem;
        width: 33px;
        height: 33px;
        font-size: 0.8rem;
    }
}

/* ─────────────────────────────────────────────────────────────
   6. NONAKTIFKAN HOVER EFFECTS DI TOUCH (Android)
───────────────────────────────────────────────────────────── */
@media (hover: none) and (pointer: coarse) {

    /* Tidak ada hover transform — cegah "loncatan" saat tap */
    .feat-box:hover,
    .feat-box:hover::before {
        transform: none !important;
    }

    .prod-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .prod-card:hover .prod-overlay {
        opacity: 0 !important;
    }

    .prod-card:hover .prod-img-wrap img {
        transform: none !important;
    }

    .why-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .testi-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .info-card:hover {
        transform: none !important;
    }

    .story-feat-item:hover {
        transform: none !important;
    }

    .timeline-content:hover {
        transform: none !important;
    }

    .value-card:hover {
        transform: none !important;
    }

    .menu-card:hover {
        transform: none !important;
    }

    .btn-hero-primary:hover,
    .btn-cta-order:hover,
    .btn-view-all:hover {
        transform: none !important;
    }

    /* Tap highlight warna brand */
    a,
    button {
        -webkit-tap-highlight-color: rgba(227, 101, 29, 0.1);
    }

    /* Active state sebagai pengganti hover */
    .btn-hero-primary:active {
        transform: scale(0.97) !important;
    }

    .btn-cta-order:active {
        transform: scale(0.97) !important;
    }

    .btn-order:active {
        transform: scale(0.97) !important;
    }

    .cat-pill:active {
        transform: scale(0.96) !important;
    }

    .feat-box:active {
        transform: scale(0.98) !important;
    }

    .why-card:active {
        transform: scale(0.98) !important;
    }
}

/* ─────────────────────────────────────────────────────────────
   7. TOUCH TARGET MINIMUM 44px (Google Material + Apple HIG)
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    a[href],
    button,
    .nav-link,
    .cat-pill,
    .tf-btn,
    .btn-hero-primary,
    .btn-hero-outline,
    .btn-cta-order,
    .btn-view-all,
    .btn-promo,
    .btn-order,
    .btn-back,
    .btn-contact-submit,
    .btn-whatsapp,
    .qty-btn,
    .faq-q {
        min-height: 44px;
    }

    /* Spacing antar elemen touch */
    .hero-actions {
        gap: 0.85rem;
    }

    .testi-filter {
        row-gap: 0.5rem;
    }
}

/* ─────────────────────────────────────────────────────────────
   8. TYPOGRAPHY SCALING — keterbacaan Android
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Gunakan clamp agar tidak terlalu besar/kecil */
    .hero-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    .sec-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .about-title {
        font-size: clamp(1.4rem, 6.5vw, 1.9rem);
    }

    .promo-title {
        font-size: clamp(1.15rem, 5.5vw, 1.6rem);
    }

    .cta-title {
        font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    }

    .menu-title {
        font-size: clamp(1.4rem, 6.5vw, 1.9rem);
    }
}

/* ─────────────────────────────────────────────────────────────
   9. PRINT (bersih)
───────────────────────────────────────────────────────────── */
@media print {

    .navbar,
    .float-wa,
    #back-to-top,
    #page-preloader,
    .float-badge,
    .hero-blobs,
    .hero-particles,
    .testi-filter,
    .show-more-wrap {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }
}