
/* Backup styling untuk mobile */
@media only screen and (max-width: 780px) {
    #shelf {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
        padding: 15px 10px !important;
    }

    .box {
        width: calc(50% - 15px) !important;
        margin: 0 !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }

    .productshot {
        width: 100% !important;
        height: auto !important;
    }

    /* Styling untuk search box seperti Shopee - STICKY dengan z-index tinggi */
    .mobile-search-container {
        background: #fff;
        padding: 15px 10px;
        border-bottom: 1px solid #e8e8e8;
        position: sticky;
        top: 0;
        z-index: 10000 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .mobile-search-box {
        display: flex;
        align-items: center;
        background: #f8f8f8;
        border-radius: 25px;
        padding: 8px 15px;
        border: 1px solid #e0e0e0;
    }

    .mobile-search-box i {
        color: #888;
        margin-right: 8px;
        font-size: 16px;
    }

    .mobile-search-input {
        flex: 1;
        border: none;
        background: transparent;
        outline: none;
        font-size: 14px;
        color: #333;
    }

    .mobile-search-input::placeholder {
        color: #999;
    }

    .mobile-search-button {
        background: #ee4d2d;
        color: white;
        border: none;
        border-radius: 20px;
        padding: 6px 15px;
        font-size: 12px;
        font-weight: bold;
        margin-left: 8px;
        cursor: pointer;
    }

    /* Menu Kategori dengan Scroll Horizontal - STICKY JUGA */
    .mobile-category-wrapper {
        background: #fff;
        border-bottom: 1px solid #e8e8e8;
        position: sticky;
        top: 80px;
        z-index: 9999 !important;
        padding: 10px 0;
    }

    .mobile-category-container {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 0 15px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }

    .mobile-category-container::-webkit-scrollbar {
        display: none;
    }

    .mobile-category-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        min-width: 70px;
        padding: 10px 8px;
        border-radius: 12px;
        transition: all 0.3s ease;
        flex-shrink: 0;
        border: 1px solid transparent;
    }

    .mobile-category-item.active {
        background: #f0f7ff;
        border-color: #007bff;
    }

    .mobile-category-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
        font-size: 24px;
        transition: all 0.3s ease;
        background: #f8f9fa;
    }

    .mobile-category-text {
        font-size: 11px;
        color: #333;
        text-align: center;
        font-weight: 500;
        line-height: 1.2;
        white-space: nowrap;
    }

    /* Warna untuk setiap kategori */
    .category-all .mobile-category-icon {
        background: #f8f9fa;
        color: #6c757d;
    }

    .category-all.active .mobile-category-icon {
        background: #6c757d;
        color: white;
    }

    .category-pertanian .mobile-category-icon {
        background: #e8f5e8;
        color: #2e7d32;
    }

    .category-pertanian.active .mobile-category-icon {
        background: #2e7d32;
        color: white;
    }

    .category-perikanan .mobile-category-icon {
        background: #e3f2fd;
        color: #1565c0;
    }

    .category-perikanan.active .mobile-category-icon {
        background: #1565c0;
        color: white;
    }

    .category-peternakan .mobile-category-icon {
        background: #fff3e0;
        color: #ef6c00;
    }

    .category-peternakan.active .mobile-category-icon {
        background: #ef6c00;
        color: white;
    }

    .category-perkebunan .mobile-category-icon {
        background: #f3e5f5;
        color: #7b1fa2;
    }

    .category-perkebunan.active .mobile-category-icon {
        background: #7b1fa2;
        color: white;
    }

    .category-olahan .mobile-category-icon {
        background: #ffebee;
        color: #c62828;
    }

    .category-olahan.active .mobile-category-icon {
        background: #c62828;
        color: white;
    }

    .category-alat .mobile-category-icon {
        background: #e0e0e0;
        color: #455a64;
    }

    .category-alat.active .mobile-category-icon {
        background: #455a64;
        color: white;
    }

    /* Scroll indicators */
    .scroll-indicator {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #e0e0e0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .scroll-left {
        left: 5px;
    }

    .scroll-right {
        right: 5px;
    }

    .scroll-indicator svg {
        width: 16px;
        height: 16px;
        color: #666;
    }

    /* Hide scroll indicators on very small screens */
    @media only screen and (max-width: 360px) {
        .scroll-indicator {
            display: none;
        }

        .mobile-category-wrapper {
            top: 70px;
        }
    }

    /* Untuk device dengan notch/layar khusus */
    @supports (padding: max(0px)) {
        .mobile-search-container {
            padding-top: max(15px, env(safe-area-inset-top));
            padding-left: max(10px, env(safe-area-inset-left));
            padding-right: max(10px, env(safe-area-inset-right));
        }
    }

    /* PERBAIKAN: HAPUS ATAU PERBAIKI BAGIAN INI - INI YANG MEMBUAT MENU BURGER TIDAK TAMPIL */
    /* 
    #wprmenu_bar {
        z-index: 999 !important;
    }

    .cbp-spmenu {
        z-index: 998 !important;
    } 
    */

    /* SEBALIKNYA, TINGKATKAN Z-INDEX MENU MOBILE */
    #wprmenu_bar {
        z-index: 10001 !important;
    }

    .wprmenu_bar {
        z-index: 10001 !important;
    }

    .cbp-spmenu {
        z-index: 10002 !important;
    }

    #mg-wprm-wrap {
        z-index: 10002 !important;
    }
}

/* Tambahan CSS untuk memastikan search box selalu di atas */
@media only screen and (max-width: 780px) {
    /* Pastikan elemen lain tidak menutupi search box */
    #footer,
    .wprm-wrapper {
        position: relative;
        z-index: 1;
    }

    /* Mobile search container harus selalu di atas */
    .mobile-search-container {
        z-index: 10000 !important;
    }

    .mobile-category-wrapper {
        z-index: 9999 !important;
    }

    /* Tapi menu mobile harus LEBIH TINGGI dari search box */
    #wprmenu_bar,
    .wprmenu_bar {
        z-index: 10001 !important;
    }

    .cbp-spmenu,
    #mg-wprm-wrap {
        z-index: 10002 !important;
    }
}

/* Benefits container styling */
.benefits-container-shop {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 5px;
    background-color: #3f780e !important;
    border-radius: 10px;
    color: white;
    width: 100%;
}

.benefit-shop {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0 5px;
}

.benefit-shop i {
    font-size: 16px;
    margin-bottom: 3px;
}

.benefit-shop span {
    font-size: 9px;
    font-weight: 500;
    line-height: 1.2;
}


.mobile-footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 5px;
    z-index: 9990;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex: 1;
    padding: 6px 4px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin: 0 2px;
}

.footer-menu-item:active {
    background: rgba(248, 249, 250, 0.8);
    transform: scale(0.95);
}

.footer-menu-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2e7d32;
    border-radius: 10px;
    padding: 5px;
    font-size: 20px;
    background: rgba(46, 125, 50, 0.05);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

/* Menu Divider */
.menu-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(46, 125, 50, 0.2) 20%, 
        rgba(46, 125, 50, 0.3) 50%, 
        rgba(46, 125, 50, 0.2) 80%, 
        transparent 100%);
    margin: 0 2px;
}

/* STYLE KHUSUS UNTUK ICON HOME */
.home-menu-item {
    flex: 1.2;
    margin: 0 4px;
}

.home-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 24px !important;
    background: linear-gradient(135deg, #2e7d32, #4caf50) !important;
    color: white !important;
    border-radius: 14px !important;
    box-shadow: 
        0 6px 20px rgba(46, 125, 50, 0.4),
        0 2px 4px rgba(46, 125, 50, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
    margin-bottom: 8px !important;
    position: relative;
    top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

.home-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.4;
    filter: blur(4px);
}

.home-icon::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: transparent;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.home-menu-item.active .home-icon {
    background: linear-gradient(135deg, #1b5e20, #2e7d32) !important;
    box-shadow: 
        0 8px 25px rgba(46, 125, 50, 0.5),
        0 4px 8px rgba(46, 125, 50, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-6px) scale(1.08) !important;
    font-size: 26px !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
}

.home-menu-item:hover .home-icon {
    background: linear-gradient(135deg, #1b5e20, #2e7d32) !important;
    box-shadow: 
        0 8px 25px rgba(46, 125, 50, 0.5),
        0 4px 8px rgba(46, 125, 50, 0.3) !important;
    transform: translateY(-4px) scale(1.04) !important;
}

.home-menu-item.active .footer-menu-text {
    color: #2e7d32;
    font-weight: 700;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(46, 125, 50, 0.2);
}

.home-menu-item:hover .footer-menu-text {
    color: #1b5e20;
}

.footer-menu-text {
    font-size: 11px;
    color: #666;
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
}

/* Active state untuk menu footer */
.footer-menu-item.active .footer-menu-icon {
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.15);
    border-color: rgba(46, 125, 50, 0.3);
    transform: translateY(-3px);
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.footer-menu-item.active .footer-menu-text {
    color: #2e7d32;
    font-weight: 600;
    font-size: 12px;
}

/* Hover effects */
.footer-menu-item:hover .footer-menu-icon {
    color: #1b5e20;
    background: rgba(46, 125, 50, 0.1);
    border-color: rgba(46, 125, 50, 0.2);
    transform: translateY(-2px);
    font-size: 21px;
    box-shadow: 0 3px 8px rgba(46, 125, 50, 0.15);
}

.footer-menu-item:hover .footer-menu-text {
    color: #1b5e20;
}

/* Animation untuk icon */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-8px,0);
    }
    70% {
        transform: translate3d(0,-4px,0);
    }
    90% {
        transform: translate3d(0,-2px,0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(46, 125, 50, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(46, 125, 50, 0.6);
    }
}

.footer-menu-item.active .footer-menu-icon {
    animation: bounce 0.6s ease;
}

.home-menu-item.active .home-icon {
    animation: pulse 1s ease-in-out !important;
}

.home-icon {
    animation: glow 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media only screen and (max-width: 360px) {
    .footer-menu-text {
        font-size: 10px;
    }
    
    .footer-menu-icon {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
    
    .home-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 22px !important;
        top: -8px;
    }
    
    .menu-divider {
        height: 20px;
    }
    
    .footer-menu-item.active .footer-menu-icon {
        font-size: 20px;
    }
    
    .home-menu-item.active .home-icon {
        font-size: 24px !important;
    }
    
    .footer-menu-item:hover .footer-menu-icon {
        font-size: 19px;
    }
    
    .mobile-footer-menu {
        padding: 10px 4px;
    }
}

@media only screen and (max-width: 320px) {
    .footer-menu-text {
        font-size: 9px;
    }
    
    .footer-menu-icon {
        width: 26px;
        height: 26px;
        font-size: 16px;
    }
    
    .home-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 20px !important;
        top: -7px;
    }
    
    .menu-divider {
        height: 18px;
    }
    
    .footer-menu-item.active .footer-menu-icon {
        font-size: 18px;
    }
    
    .home-menu-item.active .home-icon {
        font-size: 22px !important;
    }
    
    .footer-menu-item:hover .footer-menu-icon {
        font-size: 17px;
    }
    
    .mobile-footer-menu {
        padding: 8px 3px;
    }
}

@media only screen and (min-width: 781px) {
    .mobile-footer-menu {
        display: none;
    }
}

/* Tambahkan padding bottom pada body untuk menghindari konten tertutup footer */
@media only screen and (max-width: 780px) {
    body {
        padding-bottom: 80px !important;
    }
}

/* Smooth transition untuk semua elemen */
.mobile-footer-menu,
.footer-menu-item,
.footer-menu-icon,
.footer-menu-text,
.menu-divider {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Font Awesome icon alignment */
.footer-menu-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Micro-interaction untuk divider saat menu aktif */
.footer-menu-item.active ~ .menu-divider,
.menu-divider:has(+ .footer-menu-item.active) {
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(46, 125, 50, 0.4) 20%, 
        rgba(46, 125, 50, 0.6) 50%, 
        rgba(46, 125, 50, 0.4) 80%, 
        transparent 100%);
}


.hero-banner {
    background: linear-gradient( 135deg, #f6f6f6 0%, #e9f5e9 100% );
    color: #2c541d;
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient( 90deg, #4CAF50, #8BC34A, #CDDC39 );
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.hero-content h2 {
    
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.hero-banner h3 {
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX( -50% );
    width: 100px;
    height: 3px;
    background: #4CAF50;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* Garis Devider Styling */
.hero-divider {
    width: 80%;
    max-width: 400px;
    height: 2px;
    background: linear-gradient( 90deg, transparent, #4CAF50, transparent );
    margin: 30px auto;
    position: relative;
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY( -50% );
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
}

.hero-divider::before {
    left: 0;
}

.hero-divider::after {
    right: 0;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat( 3, 1fr );
    gap: 20px;
    margin: 30px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

.benefit-icon {
    background: #4CAF50;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.8rem;
    box-shadow: 0 4px 8px rgba( 0, 0, 0, 0.1 );
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale( 1.1 );
}

.benefit-text {
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
}

.cta-button {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba( 0, 0, 0, 0.1 );
}

.cta-button:hover {
    background: #388E3C;
    transform: translateY( -3px );
    box-shadow: 0 6px 12px rgba( 0, 0, 0, 0.15 );
}

/* Tablet */
@media ( max-width: 768px ) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-divider {
        margin: 25px auto;
        width: 70%;
    }

    .benefits-container {
        gap: 15px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .benefit-text {
        font-size: 0.9rem;
    }
}

/* Mobile */
@media ( max-width: 480px ) {
    .hero-banner {
        padding: 40px 15px;
    }

    .hero-divider {
        margin: 20px auto;
        width: 60%;
    }

    .benefits-container {
        grid-template-columns: repeat( 3, 1fr );
        gap: 10px;
    }

    .benefit-item {
        padding: 10px 5px;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .benefit-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* Untuk layar sangat kecil ( opsional ) */
@media ( max-width: 360px ) {
    .benefits-container {
        gap: 5px;
    }

    .benefit-text {
        font-size: 0.75rem;
    }

    .hero-divider {
        width: 50%;
    }
}

/* TESTIMONI STYLES */
.testimoni-section {
    /* margin: 50px 0; */
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.testimoni-header {
    text-align: center;
    margin-bottom: 30px;
}

.testimoni-header h2 {
    color: #2c541d;
    font-size: 2rem;
    margin-bottom: 10px;
}

.testimoni-header p {
    color: #666;
    font-size: 1.1rem;
}

.testimoni-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimoni-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #4CAF50;
}

.testimoni-user {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimoni-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.testimoni-avatar svg {
    width: 20px;
    height: 20px;
    fill: #4CAF50;
}

.testimoni-user-info {
    flex: 1;
}

.testimoni-username {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.testimoni-rating {
    display: flex;
    gap: 2px;
}

.testimoni-rating svg {
    width: 16px;
    height: 16px;
    fill: #ffc107;
}

.testimoni-date {
    color: #888;
    font-size: 0.9rem;
}

.testimoni-content {
    margin-bottom: 15px;
}

.testimoni-details {
    margin-bottom: 10px;
}

.testimoni-detail-item {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.testimoni-detail-label {
    font-weight: bold;
    color: #555;
}

.testimoni-comment {
    color: #333;
    line-height: 1.5;
    font-style: italic;
}

.testimoni-media {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.testimoni-media-item {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimoni-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimoni-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.testimoni-likes {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.testimoni-likes svg {
    width: 14px;
    height: 14px;
    fill: #666;
}

.testimoni-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.testimoni-pagination button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimoni-pagination button:hover {
    background: #388E3C;
}

.testimoni-pagination .page-numbers {
    display: flex;
    gap: 5px;
}

.testimoni-pagination .page-number {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimoni-pagination .page-number.active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

/* Responsive Testimoni */
@media ( max-width: 768px ) {
    .testimoni-section {
        padding: 30px 15px;
        margin: 30px 0;
    }

    .testimoni-header h2 {
        font-size: 1.6rem;
    }

    .testimoni-item {
        padding: 15px;
    }

    .testimoni-media-item {
        width: 50px;
        height: 50px;
    }
}

@media ( max-width: 480px ) {
    .testimoni-section {
        padding: 20px 10px;
        margin: 20px 0;
    }

    .testimoni-header h2 {
        font-size: 1.4rem;
    }

    .testimoni-user {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimoni-avatar {
        margin-bottom: 10px;
    }

    .testimoni-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .testimoni-pagination {
        flex-wrap: wrap;
    }
}


/* Styling untuk hasil pencarian */
/* WHY SHOP HERE SECTION */
/* WHY SHOP HERE SECTION */
.why-shop-here {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.why-shop-here h2 {
    font-size: 2.2rem;
    color: #2d5016;
    margin-bottom: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.why-shop-here h2 i {
    color: #ffc107;
    font-size: 1.8rem;
}

.value-propositions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4a7c20, #1b5e20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.value-icon::after {
    content: '';
    position: absolute;
    width: 78px;
    height: 78px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    opacity: 0.3;
}

.value-icon i {
    font-size: 1.7rem;
    color: white;
}

.value-card h3 {
    font-size: 1.2rem;
    color: #2d5016;
    margin-bottom: 12px;
    font-weight: 600;
    text-align: center;
}

.value-card p {
    color: #6c757d;
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .value-propositions {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 800px;
    }
    
    .value-card {
        padding: 25px 15px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .why-shop-here {
        padding: 40px 15px;
    }
    
    .why-shop-here h2 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .value-propositions {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    
    .value-card {
        padding: 25px 20px;
    }
    
    .value-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
    
    .value-card h3 {
        font-size: 1.3rem;
    }
    
    .value-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .why-shop-here h2 {
        font-size: 1.5rem;
    }
    
    .value-card {
        padding: 20px 15px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon i {
        font-size: 1.4rem;
    }
    
    .value-card h3 {
        font-size: 1.1rem;
    }
    
    .value-card p {
        font-size: 0.85rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-card {
    animation: fadeInUp 0.6s ease forwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }


/* Shopping Guide Styles */
/* Shopping Guide Styles */
/* Shopping Guide Styles */
.shopping-guide {
    background: #e9f5e9;
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shopping-guide h2 {
    text-align: center;
    color: #2d5016;
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.shopping-guide h2 i {
    color: #4a7c20;
    margin-right: 15px;
}

.shopping-guide h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4a7c20, #8bc34a);
    border-radius: 2px;
}

.guide-item {
    background: white;
    margin: 25px 0;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #4a7c20;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 124, 32, 0.05), transparent);
    transition: left 0.6s ease;
}

.guide-item:hover::before {
    left: 100%;
}

.guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-color: #8bc34a;
}

.guide-item h3 {
    color: #2d5016;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.guide-item h3::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background: #4a7c20;
    color: white;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.9rem;
    font-weight: bold;
}

.guide-item p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    padding-left: 37px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .shopping-guide {
        padding: 40px 15px;
        margin: 30px 0;
        border-radius: 10px;
    }
    
    .shopping-guide h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .guide-item {
        padding: 25px 20px;
        margin: 20px 0;
    }
    
    .guide-item h3 {
        font-size: 1.2rem;
    }
    
    .guide-item p {
        padding-left: 0;
        font-size: 0.95rem;
    }
    
    .guide-item h3::before {
        width: 22px;
        height: 22px;
        margin-right: 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .shopping-guide {
        padding: 30px 10px;
    }
    
    .shopping-guide h2 {
        font-size: 1.5rem;
    }
    
    .guide-item {
        padding: 20px 15px;
    }
    
    .guide-item h3 {
        font-size: 1.1rem;
    }
    
    .guide-item p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Animation for guide items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-item {
    animation: fadeInUp 0.6s ease-out;
}

.guide-item:nth-child(1) { animation-delay: 0.1s; }
.guide-item:nth-child(2) { animation-delay: 0.2s; }
.guide-item:nth-child(3) { animation-delay: 0.3s; }
.guide-item:nth-child(4) { animation-delay: 0.4s; }

/* Additional styles for icons in guide items */
.guide-item h3 i {
    margin-right: 10px;
    color: #4a7c20;
    width: 20px;
    text-align: center;
}

.guide-item:hover h3 i {
    color: #8bc34a;
    transform: scale(1.1);
    transition: all 0.3s ease;
}