html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    background-color: #fefff7;
    box-shadow: 0 2px 10px 0 rgba(42, 88, 0, 0.15);

    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eaeaea;
}

nav .logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

nav .logo .nav-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    color: #2E3C18;
    line-height: 1.1;
    letter-spacing: 0.5px;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    transition: color 0.2s ease, opacity 0.2s ease;
}

nav .logo .nav-brand-link:hover {
    color: #314424;
    opacity: 0.85;
}

nav .menu {
    display: flex;
    gap: 35px;
    list-style: none;
    justify-content: center;
    align-items: center;
}

nav .menu li a {
    text-decoration: none;
    color: #556045;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

nav .menu li a:hover {
    color: #314424;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

nav .cart {
    display: flex;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: #2E3C18;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}



#home {
    position: relative;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 4% 60px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #2E3C18;
}

.hero-banner-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.62) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    max-width: 1100px;
    margin: auto 0;
}

.hero-center-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-center-logo img {
    max-width: 480px;
    max-height: 190px;
    width: 90%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.55));
    transition: transform 0.3s ease;
}

.hero-center-logo img:hover {
    transform: scale(1.03);
}

/* Backward compatibility */
#home .hero {
    display: none;
}

.search-bar-wrapper {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    padding: 0;
    box-sizing: border-box;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 20px;
    width: 100%;
    max-width: 1100px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-bar:focus-within {
    border-color: #314424;
    box-shadow: 0 0 0 3px rgba(49, 68, 36, 0.12);
}

.search-bar input {
    flex: 1;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #2E3C18;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
}

.search-bar input::placeholder {
    color: #94a3b8;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    font-size: 16px;
    color: #314424;
    transition: color 0.2s ease;
}

.search-bar button:hover {
    color: #1a260f;
}


#about {
    display: flex;
    align-items: center;
    padding: 80px 10%;
    gap: 60px;
    background-color: #FFFFFF;
}

#about .about-image {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
}

#about .about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#about .about-text {
    flex: 1.2;
}

#about .about-text h2 {
    font-size: 40px;
    color: #2E3C18;
    margin-bottom: 20px;
    font-weight: 800;
}

#about .about-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}


.best-sellers-section {
    padding: 50px 5%;
    background-color: #314424;
    text-align: center;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0;
}

.section-footer {
    margin-top: 35px;
}

.view-all {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.view-all:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}


.product-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-grid .product-card {
    flex: 1 1 310px;
    max-width: 360px;
    box-sizing: border-box;
}

.product-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 20px 18px 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.image-wrapper img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    border-radius: 16px;
}

.product-info {
    padding: 18px 0 5px 0;
}

.product-info h3 {
    font-size: 1.18rem;
    margin-bottom: 6px;
    color: #222222;
    font-weight: 700;
    line-height: 1.3;
}

.price {
    font-size: 0.98rem;
    color: #666666;
    font-weight: 600;
    margin-bottom: 16px;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.btn-buy {
    background-color: #314424;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    flex-grow: 1;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.btn-cart {
    background-color: #314424;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.btn-buy:hover,
.btn-cart:hover {
    opacity: 0.85;
}

/* Footer Styles (Plain dark green without shadow) */
footer#contact {
    background-color: #314424;
    color: #ffffff;
    padding: 35px 5%;
    text-align: center;
    box-shadow: none !important;
    border: none !important;
}

footer#contact h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

footer#contact .social-media {
    font-size: 15px;
    color: #ffffff;
}

footer#contact .social-media span {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

footer#contact .social-media span:hover {
    opacity: 0.8;
}

/* ==========================================================================
   PRODUCT CATALOG PAGE STYLES (ISOLATED - DOES NOT TOUCH HOME/LANDING PAGE)
   ========================================================================== */
.catalog-header {
    padding: 30px 4% 15px;
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
    box-sizing: border-box;
}

.catalog-title {
    width: 220px;
    flex-shrink: 0;
}

.catalog-title h1 {
    font-size: 32px;
    font-weight: 800;
    color: #2E3C18;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.catalog-search {
    flex: 1;
    width: 100%;
}

.catalog-search-form {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 20px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search-form:focus-within {
    border-color: #314424;
    box-shadow: 0 0 0 3px rgba(49, 68, 36, 0.12);
}

.catalog-search-form input {
    flex: 1;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #2E3C18;
    font-size: 15px;
    font-weight: 500;
}

.catalog-search-form input::placeholder {
    color: #94a3b8;
}

.catalog-search-form button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    color: #314424;
}

.catalog-container {
    display: flex;
    gap: 32px;
    padding: 15px 4% 60px;
    width: 100%;
    align-items: flex-start;
    box-sizing: border-box;
}

.mobile-filter-toggle-wrapper {
    display: none;
    width: 100%;
}

.mobile-filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: #314424;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.mobile-filter-btn:hover {
    border-color: #314424;
    background-color: #f8faf6;
}

.mobile-filter-btn .toggle-arrow {
    transition: transform 0.3s ease;
}

.catalog-sidebar {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-card {
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    padding: 18px 20px;
    background-color: #ffffff;
}

.filter-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-list a {
    text-decoration: none;
    font-size: 13px;
    color: #4a5568;
    display: block;
    padding: 3px 0;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.filter-list a:hover,
.filter-list a.active {
    color: #314424;
    font-weight: 800;
}

.catalog-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.catalog-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.catalog-card .image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
    border-radius: 15px;
    overflow: hidden;
}

.badge-best-seller {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
    pointer-events: none;
}

.badge-best-seller i {
    font-size: 11px;
    color: #fef08a;
}

.catalog-card .image-wrapper img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    border-radius: 15px;
    background-color: #f7fafc;
    display: block;
}

.catalog-card .product-info {
    padding: 5px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.catalog-card .product-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.catalog-card .price {
    font-size: 0.9rem;
    color: #888888;
    margin-bottom: 15px;
}

.catalog-card .card-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: auto;
}

.pagination-wrapper,
.pagination-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 30px !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    position: static !important;
}

.pagination-list {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    list-style: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.page-link {
    text-decoration: none !important;
    color: #718096 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 4px 6px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transition: color 0.2s ease, font-weight 0.2s ease !important;
}

.page-link:hover {
    color: #314424 !important;
    font-weight: 700 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.page-link.active {
    color: #314424 !important;
    font-weight: 800 !important;
    font-size: 17px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    color: #718096;
    font-size: 16px;
}

@media (max-width: 1400px) {
    .catalog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 12px 5%;
    }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fefff7;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        border-bottom: 1px solid #eaeaea;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
        padding: 0 5%;
    }

    nav .menu.active {
        max-height: 350px;
        opacity: 1;
        padding: 12px 5%;
    }

    nav .menu li {
        width: 100%;
        text-align: center;
    }

    nav .menu li a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
        font-weight: 600;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    nav .menu li:last-child a {
        border-bottom: none;
    }

    /* Hero Section Mobile */
    #home {
        min-height: 60vh;
        padding: 50px 5% 40px;
    }

    .hero-content {
        gap: 22px;
    }

    .hero-center-logo img {
        max-width: 280px;
        max-height: 120px;
    }

    /* About Us Mobile: Gambar atas, Teks bawah */
    #about {
        flex-direction: column;
        padding: 45px 6%;
        gap: 25px;
        text-align: center;
    }

    #about .about-image {
        justify-content: center;
        width: 100%;
    }

    #about .about-image img {
        max-width: 100%;
        height: auto;
    }

    #about .about-text {
        width: 100%;
        text-align: center;
    }

    #about .about-text p {
        text-align: center;
    }

    /* Best Sellers Mobile: Carousel Swipe 1 Baris */
    .best-sellers-section .product-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 18px;
        padding: 10px 15px 25px 15px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start;
    }

    .best-sellers-section .product-grid::-webkit-scrollbar {
        display: none;
    }

    .best-sellers-section .product-card {
        flex: 0 0 85%;
        max-width: 320px;
        min-width: 270px;
        scroll-snap-align: center;
        box-sizing: border-box;
        padding: 16px;
    }

    .best-sellers-section .product-card .image-wrapper img {
        height: 270px;
        border-radius: 14px;
    }

    .best-sellers-section .product-card .product-info h3 {
        font-size: 1.08rem;
        margin-bottom: 5px;
    }

    .best-sellers-section .product-card .price {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .best-sellers-section .product-card .btn-buy {
        padding: 11px 12px;
        font-size: 0.86rem;
        border-radius: 8px;
    }

    .best-sellers-section .product-card .btn-cart {
        padding: 11px 13px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .catalog-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .catalog-title {
        width: 100%;
    }

    .mobile-filter-toggle-wrapper {
        display: flex;
        margin-bottom: 15px;
    }

    .catalog-container {
        flex-direction: column;
    }

    .catalog-sidebar {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
        margin-bottom: 0;
    }

    .catalog-sidebar.active {
        max-height: 800px;
        opacity: 1;
        margin-bottom: 20px;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .catalog-card {
        padding: 12px;
        border-radius: 16px;
    }

    .catalog-card .image-wrapper {
        margin-bottom: 10px;
    }

    .catalog-card .image-wrapper img {
        height: 215px;
        border-radius: 12px;
    }

    .catalog-card .product-info h3 {
        font-size: 0.95rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .catalog-card .price {
        font-size: 0.84rem;
        margin-bottom: 10px;
    }

    .catalog-card .card-actions {
        gap: 8px;
        flex-direction: row;
        width: 100%;
    }

    .catalog-card .btn-buy {
        padding: 9px 8px;
        font-size: 0.8rem;
        border-radius: 8px;
        flex-grow: 1;
        text-align: center;
        white-space: nowrap;
    }

    .catalog-card .btn-cart {
        padding: 9px 10px;
        font-size: 0.85rem;
        border-radius: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .catalog-card {
        padding: 10px;
        border-radius: 14px;
    }

    .catalog-card .image-wrapper img {
        height: 190px;
        border-radius: 10px;
    }

    .catalog-card .product-info h3 {
        font-size: 0.88rem;
    }

    .catalog-card .price {
        font-size: 0.78rem;
    }

    .catalog-card .btn-buy {
        font-size: 0.78rem;
        padding: 8px 4px;
        white-space: nowrap;
    }

    .catalog-card .btn-cart {
        font-size: 0.82rem;
        padding: 8px 8px;
    }

    .best-sellers-section .product-card {
        flex: 0 0 88%;
        min-width: 250px;
    }
}

/* --- SECTION: WHAT THEY SAID (REVIEW) --- */
.review-section {
    background-color: #faf5eb;
    /* Warna krem/beige lembut */
    padding: 60px 5%;
    text-align: center;
}

.review-section h2 {
    color: #314424;
    /* Hijau gelap */
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 800;
}

.testimonial-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 5px 25px 5px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.testimonial-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 17px);
    min-width: 280px;
    scroll-snap-align: start;
    border-radius: 25px;
    /* Membuat sudut kartu melengkung tajam ala mockup */
    padding: 35px 25px;
    color: #ffffff;
    text-align: left;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    /* Menjaga tinggi kartu agar konsisten */
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 13px);
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
}

.testimonial-footer {
    margin-top: auto;
    /* Mendorong bagian ini selalu ke bawah kartu */
}

.reviewer {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.date {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-bottom: 12px;
}

.stars {
    color: #FFD700;
    /* Kuning emas */
    font-size: 1.1rem;
    letter-spacing: 3px;
}

/* --- CAROUSEL DOTS --- */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #d1c7bd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background-color: #314424;
    /* Hijau gelap aktif */
    transform: scale(1.2);
}

/* --- SECTION: FOOTER --- */
.footer-section, footer#contact {
    background-color: #24331a;
    color: #ffffff;
    padding: 55px 5% 25px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.footer-brand {
    max-width: 550px;
}

.footer-logo {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
}

.footer-tagline {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-weight: 400;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 5px 0;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 5px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #314424;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.footer-bottom {
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 10px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* --- CART & ORDER SYSTEM STYLES --- */

/* Navbar Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #314424;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
}

.cart-badge.pop-anim {
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* Cart Page Main Layout */
.cart-main-container {
    padding: 40px 5% 70px;
    background-color: #fcfbf7;
    min-height: 70vh;
}

.cart-wrapper {
    max-width: 1150px;
    margin: 0 auto;
}

.cart-main-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #314424;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid #cbd5e1;
}

.cart-content-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cart-items-column {
    flex: 1.6;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-summary-column {
    flex: 1;
    position: sticky;
    top: 90px;
}

/* Cart Item Card (Matching Mockup 1:1) */
.cart-item-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-item-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.cart-item-card .item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-item-card .item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 1.05rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.btn-remove-item:hover {
    color: #b91c1c;
    transform: scale(1.1);
}

.cart-item-card .item-body {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cart-item-card .item-image-col {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.cart-item-card .item-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.cart-item-card .item-detail-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cart-item-card .detail-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-card .detail-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.cart-item-card .detail-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.cart-item-card .total-val {
    color: #314424;
    font-weight: 800;
}

/* Quantity Control Box */
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #9ca3af;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.qty-control button {
    background: #f3f4f6;
    border: none;
    width: 28px;
    height: 30px;
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s ease;
}

.qty-control button:hover {
    background: #e5e7eb;
}

.qty-control input {
    width: 42px;
    height: 30px;
    border: none;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    outline: none;
    -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Order Summary Card */
.summary-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.summary-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #314424;
    margin-bottom: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 12px;
}

.summary-row.total-row {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin-top: 15px;
    margin-bottom: 18px;
}

.highlight-price {
    color: #314424;
}

.summary-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 15px 0;
}

.summary-form .form-group {
    margin-bottom: 15px;
}

.summary-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.summary-form label .required {
    color: #ef4444;
}

.summary-form input,
.summary-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color 0.2s ease;
}

.summary-form input:focus,
.summary-form textarea:focus {
    border-color: #314424;
    box-shadow: 0 0 0 3px rgba(49, 68, 36, 0.1);
}

.btn-checkout-wa {
    width: 100%;
    padding: 14px;
    background-color: #25d366;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    margin-top: 8px;
}

.btn-checkout-wa:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

/* Empty Cart State */
.empty-cart-state {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 60px 30px;
    text-align: center;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.empty-cart-state .empty-icon {
    font-size: 3rem;
    color: #9ca3af;
    margin-bottom: 15px;
}

.empty-cart-state h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 8px;
}

.empty-cart-state p {
    color: #6b7280;
    margin-bottom: 20px;
}

.btn-browse-products {
    display: inline-block;
    padding: 10px 24px;
    background-color: #314424;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.btn-browse-products:hover {
    background-color: #24331a;
}

/* Modal Overlay & Card (Cart Confirmation & Buy Now) */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-modal-card {
    background: #ffffff;
    border-radius: 18px;
    width: 100%;
    max-width: 480px;
    padding: 28px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
}

.cart-modal-overlay.active .cart-modal-card {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #6b7280;
    cursor: pointer;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-icon-wa {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #e6f9ed;
    color: #25d366;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.modal-header h3 {
    font-size: 1.3rem;
    color: #111827;
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.88rem;
    color: #6b7280;
}

.confirm-info-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.confirm-items-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.confirm-item-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    max-height: 140px;
    overflow-y: auto;
    font-size: 0.88rem;
}

.confirm-item-list li {
    padding: 6px 0;
    border-bottom: 1px dashed #e5e7eb;
    color: #4b5563;
}

.confirm-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    padding-top: 10px;
    border-top: 2px solid #e5e7eb;
}

.confirm-total-box strong {
    color: #314424;
    font-size: 1.15rem;
}

.modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.btn-modal-cancel {
    flex: 1;
    padding: 12px;
    background: #f3f4f6;
    color: #4b5563;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-modal-wa {
    flex: 1.5;
    padding: 12px;
    background: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Buy Now Mini Modal Specifics */
.cart-modal-card.mini-buy-now {
    max-width: 420px;
}

.mini-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #314424;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.mini-product-summary {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
}

.mini-prod-img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
}

.mini-prod-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.mini-unit-price {
    font-size: 0.85rem;
    color: #6b7280;
}

.mini-qty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.mini-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 0;
    border-top: 1px dashed #e5e7eb;
    border-bottom: 1px dashed #e5e7eb;
    margin-bottom: 15px;
}

/* Floating Toast Notification */
.cart-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #111827;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.cart-toast i {
    color: #22c55e;
    font-size: 1.2rem;
}

.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Mobile Responsive Cart Page Layout */
@media (max-width: 850px) {
    .cart-content-grid {
        flex-direction: column;
    }

    .cart-summary-column {
        width: 100%;
        position: static;
    }

    .cart-item-card .item-body {
        gap: 15px;
    }

    .cart-item-card .item-detail-col {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .cart-item-card {
        padding: 15px;
    }

    .cart-item-card .item-image-col {
        width: 70px;
        height: 70px;
    }

    .cart-item-card .item-title {
        font-size: 0.98rem;
    }
}