/* ========================================
   1. RESET & GLOBAL BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f7efe5;
    color: #2d1b12;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

:root {
    --red: #c50000;
    --red-hover: #a80000;
    --bg-light: #fff5ee;
}

/* Memastikan text panjang tidak merusak kontainer */
h1, h2, h3, h4, p, a, button, span {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ========================================
   2. LAYOUT COMPONENTS (DESKTOP FIRST)
   ======================================== */

/* HEADER & NAVBAR */
header {
    width: 100%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

.navbar {
    max-width: 1450px;
    margin: auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    color: var(--red);
}

.logo-text p {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}

/* NAVIGATION MENU */
.menu {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 22px;
    border-radius: 16px;
    background: var(--bg-light);
    font-size: 15px;
    font-weight: 800;
    transition: .3s;
    color: #2d1b12;
}

.menu a:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-3px);
}

/* BUTTONS */
.nav-btn {
    height: 52px;
    padding: 0 24px;
    border-radius: 16px;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    transition: .3s;
    white-space: nowrap;
}

.nav-btn:hover {
    transform: translateY(-3px);
    background: var(--red-hover);
}

/* HAMBURGER BUTTON */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-light);
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hamburger span {
    position: absolute;
    width: 22px;
    height: 3px;
    background: #111;
    border-radius: 10px;
    transition: .3s;
}

.hamburger span:nth-child(1) { transform: translateY(-7px); }
.hamburger span:nth-child(2) { transform: translateY(0); }
.hamburger span:nth-child(3) { transform: translateY(7px); }

.hamburger.active span:nth-child(1) { transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); }

/* HERO SECTION */
.hero {
    padding: 60px 20px;
    overflow: hidden;
}

.hero-container {
    max-width: 1450px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 20px;
    line-height: 1.9;
    margin-bottom: 34px;
    color: #555;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    height: 58px;
    padding: 0 28px;
    border-radius: 18px;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    transition: .3s;
}

.btn:hover {
    transform: translateY(-3px);
    background: var(--red-hover);
}

.hero-image {
    overflow: hidden;
    border-radius: 32px;
}

.hero-image img {
    height: 520px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

/* SECTION TITLE GLOBAL */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 54px;
    font-weight: 900;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 18px;
    color: #666;
}

/* CATEGORY SECTION */
.category-section {
    padding: 70px 20px;
    overflow: hidden;
}

.category-wrapper{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;
}

.category-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .35s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
}

.category-card img {
    height: 180px;
    object-fit: cover;
}

.category-card h3 {
    padding: 18px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--red);
}

/* PRODUCTS SECTION */
.products {
    padding: 80px 20px;
    background: #fff;
    overflow: hidden;
}

.products-container {
    max-width: 1450px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0e6df;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    height: 240px;
    object-fit: cover;
}

.product-info {
    padding: 22px;
}

.product-info h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--red);
}

.product-info p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
}

.price {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
}

.product-buttons {
    display: flex;
    gap: 10px;
}

.cart-btn {
    flex: 1;
    height: 54px;
    border: none;
    border-radius: 16px;
    background: var(--red);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s;
}

.cart-btn:hover { background: var(--red-hover); }

.detail-btn {
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 16px;
    background: var(--bg-light);
    font-size: 20px;
    cursor: pointer;
    transition: .3s;
}

.detail-btn:hover { background: #ffe4d6; }

/* ABOUT SECTION */
.about {
    padding: 80px 20px;
    overflow: hidden;
}

.about-container {
    max-width: 1450px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 32px;
}

.about-image img {
    height: 500px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 58px;
    font-weight: 900;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #555;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.about-list div {
    font-size: 17px;
    font-weight: 700;
}

/* FOOTER */
footer {
    background: var(--red);
    padding: 70px 20px 30px;
    color: #fff;
    overflow: hidden;
}

.footer-container {
    max-width: 1450px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-box h3, .footer-box h4 {
    font-size: 30px;
    margin-bottom: 20px;
}

.footer-box p {
    line-height: 2;
    font-size: 16px;
}

.copyright {
    margin-top: 50px;
    text-align: center;
    font-size: 14px;
    opacity: .85;
}

/* UTILITIES & FLOATING FEATURES */
.cart-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #111;
    color: #fff;
    padding: 18px 24px;
    border-radius: 16px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: .3s;
    z-index: 99999;
}

.cart-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    z-index: 999;
}

/* CART HEADER NAVIGATION BUTTON */
.cart-navbar-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 18px;
    background: var(--red);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    font-weight: 700;
}

#cartCount {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

/* DESKTOP MODAL CART (DEFAULT) */
.cart-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none; /* Dikontrol JS toggle */
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 15px;
}

.cart-modal.active {
    display: flex; /* Aktif di desktop berbentuk PopUp Tengah */
}

.cart-content {
    background: #fff;
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    padding: 20px;
    max-height: 90vh;
    overflow: auto;
    position: relative;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cart-total {
    font-size: 26px;
    font-weight: 900;
    color: var(--red);
    margin-top: 20px;
}

.checkout-btn {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 18px;
    background: var(--red);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 20px;
}

.close-cart {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

/* ========================================
   3. RESPONSIVE MEDIA QUERIES (BREAKPOINTS)
   ======================================== */

/* TABLET IMPLEMENTATION (LAPTOP KECIL / IPAD) */
@media (max-width: 992px) {
    .hero-container, .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text, .about-text {
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 34px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .products-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* SMARTPHONE IMPLEMENTATION (CORE ANTI-GESER) */
@media (max-width: 768px) {
    /* Mencegah total geser horizontal layar HP */
    html, body {
        overflow-x: hidden !important;
        width: 100vw;
        max-width: 100vw;
    }

    /* Mematikan efek hover transform yang memicu bug layar lari */
    .product-card:hover, .category-card:hover, .btn:hover, .menu a:hover {
        transform: none !important;
    }

    /* NAVBAR MOBILE */
    .navbar {
        padding: 10px 12px;
        gap: 8px;
    }

    .logo {
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    .logo img {
        width: 42px;
        height: 42px;
    }

    .logo-text h1 {
        font-size: 22px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-text p {
        font-size: 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Menyembunyikan tombol order bawaan desktop sesuai instruksi fix */
    .nav-btn {
        display: none !important;
    }

    .hamburger {
        display: flex;
        width: 42px;
        height: 42px;
    }

    /* MENU HAMBURGER DROPDOWN MOBILE */
    .menu {
        display: none;
        position: fixed;
        top: 78px;
        left: 12px;
        right: 12px;
        width: auto;
        background: #fff;
        border-radius: 20px;
        padding: 16px;
        flex-direction: column;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,.12);
        z-index: 999999;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        width: 100%;
    }

    .menu a {
        width: 100%;
        height: 52px;
        font-size: 16px;
        border-radius: 14px;
    }

    /* HERO MOBILE */
    .hero {
        padding: 24px 12px;
    }

    .hero-text h1 {
        font-size: 38px;
        line-height: 1.1;
    }

    .hero-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-image img {
        height: 280px;
    }

    /* SECTION TITLE MOBILE */
    .section-title h2 {
        font-size: 32px;
    }
    
    .section-title p {
        font-size: 15px;
    }

    /* CATEGORY MOBILE */
    .category-section {
        padding: 45px 12px;
    }

    .category-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .category-card img {
        height: 115px;
    }

    .category-card h3 {
        font-size: 14px;
        padding: 12px;
    }

    /* PRODUCTS MOBILE */
    .products {
        padding: 45px 12px;
    }

    .products-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card img {
        height: 220px;
    }

    .product-info {
        padding: 18px;
    }

    .product-info h3 {
        font-size: 22px;
    }

    .price {
        font-size: 24px;
    }

    /* ABOUT MOBILE */
    .about {
        padding: 45px 12px;
    }

    .about-text h2 {
        font-size: 34px;
    }

    .about-text p {
        font-size: 14px;
    }

    .about-image img {
        height: 280px;
    }

    /* FOOTER MOBILE */
    footer {
        padding: 50px 12px 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* CART NAVBAR BUTTON & FLOATING COMPONENTS */
    .cart-navbar-btn {
        width: 52px;
        height: 52px;
        background: linear-gradient(135deg, #ff4b4b, #c4001a);
    }

    #cartCount {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    /* CART MODAL MODE SLIDE-IN UNTUK MOBILE */
    .cart-modal {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 100%;
        height: 100vh;
        background: #f9f4ee;
        transition: .35s;
        z-index: 999999;
        padding: 0;
        display: block; /* Overwrite flex desktop, kontrol geser pakai right */
    }

    .cart-modal.active {
        right: 0;
    }

    .cart-content {
        width: 100%;
        height: 100vh;
        max-width: none;
        border-radius: 0;
        padding: 18px;
        overflow-y: auto;
    }

    .cart-popup {
        left: 12px;
        right: 12px;
        bottom: 80px;
        top: auto;
    }

    .wa-float {
        width: 58px;
        height: 58px;
        font-size: 28px;
        right: 12px;
        bottom: 12px;
    }
}

/* ==========================================================================
   DESAIN TOMBOL BAWAH KEMBAR ELEGAN (STYLE: image_f49e9a.png MODERNIZED)
   ========================================================================== */

/* Pastikan kartu produk memiliki struktur flex vertikal agar tombol selalu presisi di bawah */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0e6df;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(197, 0, 0, 0.1);
}

/* Container utama tombol di bawah kartu */
.product-card-buttons {
    display: flex;
    border-top: 1px solid #eee8e2; /* Garis pembatas atas */
    background: #faf7f5; /* Background kontras lembut di area tombol */
}

/* Aturan dasar kedua tombol */
.prod-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
}

/* Ukuran Icon di dalam tombol */
.prod-btn .btn-icon {
    font-size: 14px;
}

/* Tombol Kiri (Order Now) */
.btn-order {
    color: #c50000; /* Warna merah khas RBC */
    border-right: 1px solid #eee8e2; /* Garis pembatas tengah vertikal pas di tengah */
}

.btn-order:hover {
    background: #c50000;
    color: #ffffff;
}

/* Tombol Kanan (Details) */
.btn-details {
    color: #5c4a40; /* Warna cokelat elegan */
}

.btn-details:hover {
    background: #5c4a40;
    color: #ffffff;
}

/* Penyesuaian responsif untuk layar HP */
@media (max-width: 480px) {
    .prod-btn {
        padding: 12px 5px;
        font-size: 11px; /* Sedikit lebih kecil di HP agar teks tidak terpotong */
    }
    .prod-btn .btn-icon {
        font-size: 12px;
    }
}

/* ==========================================================================
   DESAIN MODAL QUICK VIEW (POP-UP TOMBOL MATA)
   ========================================================================== */
.quickview-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quickview-modal-overlay.show {
    opacity: 1;
}

.quickview-content {
    background: #ffffff;
    width: 90%;
    max-width: 750px;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.quickview-modal-overlay.show .quickview-content {
    transform: translateY(0);
}

.quickview-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f3f3f3;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.2s;
}

.quickview-close:hover {
    background: #e0e0e0;
}

/* Tata Letak Grid Info Produk di Pop-up */
.quickview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.quickview-img-box img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    max-height: 350px;
}

.quickview-info-box h2 {
    font-size: 26px;
    color: #2d1b12;
    margin-bottom: 10px;
}

.quickview-price {
    font-size: 22px;
    font-weight: 800;
    color: #c50000;
    margin-bottom: 15px;
}

.quickview-desc {
    font-size: 14px;
    color: #66554a;
    line-height: 1.6;
    margin-bottom: 25px;
}

.quickview-add-btn {
    background: #c50000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    width: 100%;
    transition: background 0.2s;
}

.quickview-add-btn:hover {
    background: #a80000;
}

/* Pengaturan Responsif Layar HP */
@media (max-width: 768px) {
    /* Di HP, overlay tombol langsung terlihat (karena tidak ada hover mouse) */
    .product-action-overlay {
        opacity: 1;
        background: transparent;
        height: auto;
        top: auto;
        bottom: 10px;
        right: 10px;
        left: auto;
        justify-content: flex-end;
        gap: 8px;
    }

    .action-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .quickview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quickview-content {
        padding: 20px;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .quickview-info-box h2 {
        font-size: 20px;
    }
}

/* ==========================================================================
   PERBAIKAN TOMBOL BAWAH KEMBAR (LEBIH DEKAT, JELAS DI HP & ANTI BUG)
   ========================================================================== */

/* Buat kartu produk lebih kompak tanpa menyisakan ruang kosong terlalu besar */
.product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0e6df;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Mengurangi padding bawah info produk agar jarak ke tombol tidak terlalu jauh */
.product-info {
    padding: 15px 15px 12px 15px !important; /* Dipersempit bagian bawahnya */
    flex-grow: 1;
}

/* Container utama tombol langsung menempel erat di bawah info */
.product-card-buttons {
    display: flex;
    width: 100%;
    margin-top: auto; /* Memaksa tombol sejajar rapi di bagian paling bawah */
    border-top: 1px solid #ebdcd0;
}

/* Aturan Tombol Utama */
.prod-btn {
    flex: 1;
    background: #ffffff;
    border: none !important;
    padding: 14px 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px; /* Diperbesar sedikit agar lebih kelihatan */
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    outline: none;
    transition: all 0.2s ease;
}

/* Memastikan teks tidak terpotong acak atau turun baris secara rusak */
.prod-btn .btn-text {
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: nowrap;
}

.prod-btn .btn-icon {
    font-size: 15px;
}

/* Tombol ORDER NOW - Dibuat warna merah solid agar sangat mencolok di mata */
.btn-order {
    background: #c50000 !important; /* Merah RBC */
    color: #ffffff !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-order:hover {
    background: #a80000 !important;
}

/* Tombol DETAILS - Warna abu-abu kecokelatan lembut sebagai opsi kedua */
.btn-details {
    background: #fdfbf9 !important;
    color: #5c4a40 !important;
}

.btn-details:hover {
    background: #5c4a40 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   OPTIMASI KHUSUS MOBILE SMARTPHONE (HP)
   ========================================================================== */
@media (max-width: 768px) {
    .product-info {
        padding: 10px 10px 8px 10px !important; /* Makin tipis di layar kecil */
    }

    /* Membuat area klik tombol lebih tebal di HP agar ramah sentuhan jempol */
    .prod-btn {
        padding: 15px 5px !important; 
        font-size: 12px; /* Proporsi pas untuk layar smartphone */
    }
    
    .prod-btn .btn-icon {
        font-size: 13px;
    }
    
    /* Hilangkan bayangan/border bawaan browser hp yang sering menghalangi fungsi klik */
    .product-card-buttons button {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* ==========================================================================
   STYLE FORM PENGIRIMAN & CATATAN DI DALAM MODAL KERANJANG
   ========================================================================== */
.delivery-details-box {
    margin-top: 20px;
    background-color: #fcf6f2;
    padding: 15px;
    border-radius: 16px;
    border: 1px solid #f3ece7;
    text-align: left;
}

.delivery-details-box h3 {
    font-size: 15px;
    color: #c50000;
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group-row {
    display: flex;
    gap: 10px;
}

.form-group-row .form-group {
    flex: 1;
}

.delivery-details-box input, 
.delivery-details-box textarea {
    width: 100%;
    padding: 11px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    border: 1px solid #ffffff;
    border-radius: 12px;
    background-color: #ffffff;
    color: #2d1b12;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}

/* Mengubah warna teks penunjuk (placeholder) */
.delivery-details-box input::placeholder,
.delivery-details-box textarea::placeholder {
    color: #a49790;
}

.delivery-details-box input:focus, 
.delivery-details-box textarea:focus {
    border-color: #c50000;
    box-shadow: 0 0 6px rgba(197, 0, 0, 0.15);
}

.delivery-details-box textarea {
    resize: none;
}

/* Total Box Styling */
.cart-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fcf6f2;
    padding: 14px 16px;
    border-radius: 14px;
    margin-top: 15px;
}

.cart-total-box span {
    font-weight: 700;
    color: #2d1b12;
}

.cart-total-box strong {
    font-size: 18px;
    color: #c50000;
    font-weight: 800;
}

/* Tombol Merah Checkout Besar */
.btn-checkout-wa {
    width: 100%;
    background: linear-gradient(135deg, #e60000, #c50000);
    color: white;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(197, 0, 0, 0.3);
    transition: transform 0.2s, background 0.2s;
}

.btn-checkout-wa:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff1a1a, #e60000);
}

.hero-tagline{
font-size:18px;
font-weight:600;
color:#c7922b;
margin-bottom:12px;
letter-spacing:1px;
}

.hero-action{
margin-top:25px;
}

.hero-product-btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:14px 30px;
background:#d40000;
color:#fff;
font-weight:700;
border-radius:14px;
text-decoration:none;
font-size:16px;
transition:.3s;
}

.hero-product-btn:hover{
transform:translateY(-2px);
box-shadow:0 10px 20px rgba(212,0,0,.2);
}
