/* Variabel CSS untuk warna */
:root {
    --herbal-dark: #2E473E; /* Hijau gelap */
    --herbal-green: #4A7C59; /* Hijau sedang */
    --herbal-light: #D6E5D8; /* Hijau sangat terang (untuk navbar & footer) */
    --herbal-cream: #F8F8F8; /* Krem (untuk body background & slider) */
    --ivory-yellow: #FFFFF0; /* Kuning Gading */
    --shopee: #EE4D2D; /* Warna Orange Shopee */
    --text-color: #333; /* Warna teks umum */
    --gray-600: #666;
    --gray-700: #555;
    --gray-800: #444;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --royal-green: #0f3d2e;
    --deep-green: #07271c;
    --luxury-gold: #d4af37;
    --pale-gold: #f3e5ab;
    --ivory: #fdfbf7;
    --text-dark: #1a1a1a;
    --gradient-gold: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);    
    --sage-dark: #4F6F52;
    --sage-main: #739072;
    --sage-light: #F5F7F5;
    --sage-hover: #D8E2DC;
    --white: #FFFFFF;
}

/* Reset dan Styling Dasar */
 {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--herbal-cream);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar Styling */
    .navbar {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0.75rem;
        gap: 0.5rem;
        position: relative; /* Sosmed & Logo ikut scroll */
    }
/* Navbar Brand (Logo Gambar) - Diposisikan di tengah */
    /* BARIS 1: Logo di atas tengah */
    .navbar-brand {
        position: static !important;
        transform: none !important;
        display: flex;
        justify-content: center;
        width: 100%;
        order: 1;
    }

.navbar-brand img {
    height: 75px;
    width: auto;
    border-radius: 8px;
}

.navbar-brand span {
    color: var(--herbal-dark);
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
}

/* Dropdown Menu (Kiri) */
.dropdown-wrapper {
    position: relative;
    z-index: 22;
    margin-right: auto;
    padding-left: 0; /* Ubah dari 2.5rem menjadi 0 */
    margin-left: 0;
}

.dropdown-button {
    background-color: transparent;
    border: none;
    color: var(--herbal-dark);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    
    display: flex;
    /* PERBAIKAN DI SINI */
    justify-content: flex-start; /* Mengatur konten (ikon & teks) ke kiri */
    align-items: center;        /* Menjaga ikon & teks tetap rata tengah secara vertikal */
    padding-left: 0;            /* Menghilangkan jarak di dalam tombol sebelah kiri */
    
    gap: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-button:hover {
    background-color: var(--herbal-green);
    color: var(--ivory-yellow);
}

.dropdown-button .fas {
    font-size: 1.5rem;
}

/* Gaya untuk dropdown-content dan submenu-content */
.dropdown-content {
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 8px 16px 0 var(--shadow-medium);
    border-radius: 8px;
    z-index: 30;
    margin-top: 0.5rem;
    left: 0;
    
    /* Pengganti <br> dan <hr> */
    padding-top: 1.5rem; 
    border-top: 2px solid var(--herbal-light);
    
    padding-bottom: 0.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
    position: absolute;
}

.dropdown-wrapper.active .dropdown-content {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    overflow: visible;
}

    /* MENU FLOATING (Melayang di Tengah Kiri) */
    .dropdown-wrapper {
        position: fixed; /* Melayang tetap di layar */
        left: 0;
            bottom: 40%; /* Menggunakan bottom lebih aman untuk menghindari widget bawah */
            transform: translateY(0); /* Hapus transform jika menggunakan bottom */
            z-index: 99999;
        display: flex;
        width: auto;
    }

/* Tombol Menu tetap terlihat saat menu terbuka */
    .dropdown-button {
        background-color: var(--herbal-green);
        color: white;
        padding: 15px 12px;
        border-radius: 0 10px 10px 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        writing-mode: vertical-rl;
        text-orientation: mixed;
        z-index: 10001; /* Pastikan tombol berada di depan box menu */
        cursor: pointer;
        margin-bottom: 20px;
    }

    /* Isi Dropdown muncul dari arah kiri layar */
    .dropdown-content {
        position: absolute;
        left: 15%; /* Jarak agar tidak menempel tombol menu */
        top: 50%;
        transform: translateY(-50%);
        max-width: 120px;
        background-color: white;
        border-radius: 12px;
        padding: 1.5rem 0.5rem 1rem 0.5rem; /* Padding pengganti br */
        border-top: 5px solid var(--herbal-green);
        display: flex;
        flex-direction: column;
    }
    
    .dropdown-wrapper.active .dropdown-content {
        max-height: 50vh;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
        margin-left: 50px;
    }
.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: var(--herbal-light);
}

/* Nested Dropdowns */
.dropdown-content .submenu-item {
    position: relative;
}

.dropdown-content .submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 0.95rem;
    cursor: pointer;
}

.dropdown-content .submenu-toggle:hover {
    background-color: var(--herbal-light);
}

.dropdown-content .submenu-toggle i {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.dropdown-content .submenu-item.active .submenu-toggle i {
    transform: rotate(90deg);
}

.dropdown-content .submenu-content {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 var(--shadow-medium);
    border-radius: 8px;
    z-index: 31;
    padding: 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, max-height 0.3s ease-out, visibility 0.3s ease-out;
}

.dropdown-content .submenu-item.active .submenu-content {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-content {
    min-width: 200px;
}

/* Right Icons Container */
.right-icons-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    padding-right: 1.5rem;
    z-index: 22;
}

.icon-button {
    cursor: pointer;
    color: var(--herbal-dark);
    font-size: 1.25rem;
    /*padding: 0.5rem;*/
    border-radius: 9999px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-button:hover {
    background-color: var(--text-color);
    color: #ffffff;
}

.icon-button svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke-width: 2;
}

/* Hero Image Section */
.hero-image-section {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-image-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.7);
}

.hero-overlay-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 1rem;
    max-width: 800px;
}

.hero-overlay-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay-content p {
    font-size: 1.25rem;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    color: var(--gray-700);
    flex-grow: 1;
}

.main-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--herbal-green);
    margin-bottom: 1rem;
}

/*.main-content p {*/
/*    max-width: 65ch;*/
/*    margin-left: auto;*/
/*    margin-right: auto;*/
/*}*/

/* Article Section */
.article-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #ffffff;
    display: flex;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.article-section h2, .article-section h3, .article-section h4 {
    color: var(--herbal-dark);
    text-align: left;
    margin-bottom: 1rem;
}

.article-section h2 {
    font-size: 2rem;
    font-weight: 700;
}

.article-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
}

.article-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.article-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: none;
}

.article-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.article-section a {
    color: var(--herbal-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-section a:hover {
    color: var(--herbal-dark);
    text-decoration: underline;
}

/* Product Grid */
#all-products-display-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Search Results */
#search-results-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

#search-results-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--herbal-dark);
}

.product-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid var(--herbal-light);
    border-radius: 10px;
    background-color: #fcfcfc;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.product-item h3 {
    margin: 0 0 8px 0;
    color: var(--herbal-green);
    font-size: 1.3em;
}

.product-item p {
    margin: 0 0 8px 0;
    color: var(--gray-700);
    line-height: 1.5;
    font-size: 0.95em;
}

.product-item .details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    color: var(--gray-600);
}

.product-item .price {
    font-weight: 700;
    color: #27ae60;
    font-size: 1.1em;
}

.product-item .stock {
    color: #e67e22;
    font-weight: 600;
}

.no-results, .loading-indicator {
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.loading-indicator {
    color: var(--herbal-green);
    font-weight: 600;
}

/* Section Common */
.section-common {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    /*text-align: center;*/
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--herbal-dark);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: var(--herbal-green);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Footer Styling */
.main-footer {
    background-color: var(--herbal-light);
    color: var(--herbal-dark);
    padding: 2rem 1.5rem;
    margin-top: auto;
    width: 100%;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 180px;
}

.footer-column.footer-logo-newsletter {
    flex: 1.5;
    min-width: 250px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--herbal-dark);
    margin-bottom: 1rem;
}

.newsletter-signup h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--herbal-dark);
    font-weight: 600;
}

.newsletter-signup form {
    display: flex;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-signup input[type="email"] {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
}

.newsletter-signup button {
    background-color: var(--herbal-green);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-signup button:hover {
    background-color: var(--ivory-yellow);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--herbal-dark);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--herbal-green);
}

.social-media-icons {
    margin-top: 15px;
}
.social-media-icons a {
    color: #adb5bd;
    font-size: 1.8em;
    margin: 0 12px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}
.social-media-icons a:hover {
    color: var(--herbal-green);
    transform: scale(1.2);
}
.social-media-icons a.facebook:hover { color: #1877F2; }
.social-media-icons a.instagram:hover { color: #E4405F; }
.social-media-icons a.whatsapp:hover { color: #25D366; }
.social-media-icons a.youtube:hover { color: #FF0000; }
.social-media-icons a.tiktok:hover { color: #000000; }
.social-media-icons a.telegram:hover { color: #0088cc; }

.footer-column h4 {
    font-size: 1.2rem;
    color: var(--herbal-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--herbal-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--herbal-green);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--herbal-dark);
    font-size: 0.9rem;
}

.footer-bottom strong {
    font-weight: 700;
}

.footer-bottom .cert-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-bottom img {
    height: 60px;
    max-width: 60px;
    display: block;
    margin: 0;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* Blog Section Styling */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 0.5rem;
    text-align: left;
}

/*.blog-post-card {*/
/*    background-color: #ffffff;*/
/*    border-radius: 12px;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.blog-post-card img {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--herbal-light);
}

.blog-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-post-content {
    padding: 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post-content h3 {
    font-size: 1.4rem;
    color: var(--herbal-dark);
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-post-content p {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-post-card .read-more {
    display: inline-block;
    background-color: var(--herbal-green);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.blog-post-card .read-more:hover {
    background-color: var(--herbal-dark);
}

/* Footer Map Styling */
.footer-map-container {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Static Form Section */
.static-form-section {
    text-align: left;
}

.static-form-section h2 {
    text-align: center;
}

.static-form-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.static-form-section .form-group {
    margin-bottom: 0.5rem;
}

.static-form-section label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: var(--gray-700);
}

.static-form-section input[type="text"],
.static-form-section input[type="file"],
.static-form-section textarea,
.static-form-section select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--herbal-light);
    border-radius: 8px;
    font-size: 1rem;
    background-color: #ffffff;
}

.static-form-section button[type="submit"] {
    background-color: var(--herbal-green);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.static-form-section button[type="submit"]:hover {
    background-color: var(--herbal-dark);
}

/* Swiper Slider */
.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
}
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px;
}
.swiper-pagination-bullet-active {
    background-color: #fff;
}

    .video-section {
        padding-top: 1rem;
        padding-bottom: 3rem;
        background-color: white;
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
        color: var(--herbal-dark);
        text-align: center;
        padding-left: 1.5rem;
        padding-right: 1.5rem;            
    }
/* =========================================
   RESPONSIVE MOBILE STYLING (FIXED)
   ========================================= */
@media (max-width: 768px) {
    /* Navbar tetap di atas untuk Logo dan Sosmed */
    .navbar {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0.75rem;
        gap: 0.5rem;
        position: relative; /* Sosmed & Logo ikut scroll */
    }

    /* BARIS 1: Logo di atas tengah */
    .navbar-brand {
        position: static !important;
        transform: none !important;
        display: flex;
        justify-content: center;
        width: 100%;
        order: 1;
    }

    /* BARIS 2: Sosmed di bawah logo (Tengah) - TIDAK FLOATING */
    .right-icons-container {
        display: flex;
        justify-content: center;
        width: 100%;
        order: 2;
        margin: 5px 0;
        gap: 1rem;
        position: static; /* Ikut scroll normal */
    }

    /* MENU FLOATING (Melayang di Tengah Kiri) */
    .dropdown-wrapper {
        position: fixed; /* Melayang tetap di layar */
        left: 0;
            bottom: 40%; /* Menggunakan bottom lebih aman untuk menghindari widget bawah */
            transform: translateY(0); /* Hapus transform jika menggunakan bottom */
            z-index: 99999;
        display: flex;
        width: auto;
    }

/* Tombol Menu tetap terlihat saat menu terbuka */
    .dropdown-button {
        background-color: var(--herbal-green);
        color: white;
        padding: 15px 12px;
        border-radius: 0 10px 10px 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        writing-mode: vertical-rl;
        text-orientation: mixed;
        z-index: 10001; /* Pastikan tombol berada di depan box menu */
        cursor: pointer;
        margin-bottom: 20px;
    }

    /* Isi Dropdown muncul dari arah kiri layar */
    .dropdown-content {
        position: absolute;
        left: 15%; /* Jarak agar tidak menempel tombol menu */
        top: 50%;
        transform: translateY(-50%);
        max-width: 120px;
        background-color: white;
        border-radius: 12px;
        padding: 1.5rem 0.5rem 1rem 0.5rem; /* Padding pengganti br */
        border-top: 5px solid var(--herbal-green);
        display: flex;
        flex-direction: column;
    }
    
    .dropdown-wrapper.active .dropdown-content {
        max-height: 50vh;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
        margin-left: 50px;
    }

    /* Submenu khusus mobile agar tidak melebar ke samping */
    .dropdown-content .submenu-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: #f9f9f9;
        transform: none;
    }
    
    .dropdown-content .submenu-content a {
        padding-left: 2.5rem; /* Menjorok ke dalam */
    }

    .dropdown-content .submenu-toggle {
        padding: 12px 20px;
    }

    .dropdown-content .submenu-toggle i {
        transform: rotate(0deg);
    }

    .dropdown-content .submenu-item.active .submenu-toggle i {
        transform: rotate(90deg);
    }

    /* Elemen Lain di Mobile */
    .hero-image-section {
        height: 250px;
        margin-bottom: 1.5rem;
    }
    .hero-overlay-content h1 {
        font-size: 2rem;
    }
    .hero-overlay-content p {
        font-size: 1rem;
    }
    .main-content {
        padding: 1rem;
    }
    .main-content h2 {
        font-size: 1.35rem;
    }
    #search-results-container {
        margin: 1rem auto;
        padding: 15px;
    }

    /* Footer Mobile */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-column {
        min-width: unset;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .footer-column.footer-logo-newsletter {
        order: -1;
        margin-bottom: 2rem;
    }
    .footer-logo {
        font-size: 1.75rem;
    }
    .social-links {
        justify-content: center;
    }
    .newsletter-signup form {
        max-width: 300px;
        margin: 1rem auto 0;
    }
    .footer-bottom .cert-images {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    .footer-bottom img {
        height: 50px;
        max-width: 50px;
        margin-bottom: 0;
    }

    /* Blog Mobile */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-post-content h3 {
        font-size: 1.2rem;
    }
    .blog-post-content p {
        font-size: 0.9rem;
    }
    .shopee {
      background-color: #EE4D2D;  
    }
    
    #translate-loader {
        z-index: 9999;
    }
}

/* Tampilkan tombol navigasi di desktop saja */
@media (min-width: 769px) {
    .slider-nav {
        display: block;
    }
    #translate-loader {
        z-index: 9999;
    }
}

@media (min-width: 1024px) {
    .main-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    /* Navbar tetap di atas untuk Logo dan Sosmed */
    .navbar {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0.75rem;
        gap: 0.5rem;
        position: relative; /* Sosmed & Logo ikut scroll */
    }

    /* BARIS 1: Logo di atas tengah */
    .navbar-brand {
        position: static !important;
        transform: none !important;
        display: flex;
        justify-content: center;
        width: 100%;
        order: 1;
    }

    /* BARIS 2: Sosmed di bawah logo (Tengah) - TIDAK FLOATING */
    .right-icons-container {
        display: flex;
        justify-content: center;
        width: 100%;
        order: 2;
        margin: 5px 0;
        gap: 1rem;
        position: static; /* Ikut scroll normal */
    }

    /* MENU FLOATING (Melayang di Tengah Kiri) */
    .dropdown-wrapper {
        position: fixed; /* Melayang tetap di layar */
        left: 0;
            bottom: 40%; /* Menggunakan bottom lebih aman untuk menghindari widget bawah */
            transform: translateY(0); /* Hapus transform jika menggunakan bottom */
            z-index: 99999;
        display: flex;
        width: auto;
    }

/* Tombol Menu tetap terlihat saat menu terbuka */
    .dropdown-button {
        background-color: var(--herbal-green);
        color: white;
        padding: 15px 12px;
        border-radius: 0 10px 10px 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        writing-mode: vertical-rl;
        text-orientation: mixed;
        z-index: 10001; /* Pastikan tombol berada di depan box menu */
        cursor: pointer;
        margin-bottom: 20px;
    }

    /* Isi Dropdown muncul dari arah kiri layar */
    .dropdown-content {
        position: absolute;
        left: 15%; /* Jarak agar tidak menempel tombol menu */
        top: 50%;
        transform: translateY(-50%);
        max-width: 120px;
        background-color: white;
        border-radius: 12px;
        padding: 1.5rem 0.5rem 1rem 0.5rem; /* Padding pengganti br */
        border-top: 5px solid var(--herbal-green);
        display: flex;
        flex-direction: column;
    }
    
    .dropdown-wrapper.active .dropdown-content {
        max-height: 50vh;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
        margin-left: 50px;
    }
    
}

/* =========================================
   PERBAIKAN KHUSUS DESKTOP (MIN-WIDTH: 1025px)
   ========================================= */
@media (min-width: 1025px) {
    /* 1. Paksa Menu Utama Melebar Sesuai Teks */
    .dropdown-content {
        position: absolute !important;
        left: 100% !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin-left: 10px !important;
        
        /* Kunci Lebar Dinamis */
        width: max-content !important; 
        min-width: 240px !important;
        max-width: 450px !important;
        
        /* Hilangkan Scroll & Tampilkan Submenu ke Samping */
        overflow: visible !important; 
        display: block !important;
        padding: 10px 0 !important;
        background-color: #ffffff !important;
        box-shadow: 10px 10px 30px rgba(0,0,0,0.15) !important;
    }

    /* 2. Paksa Teks Satu Baris (Mencegah Menu Terlihat Sempit) */
    .dropdown-content a, 
    .dropdown-content .submenu-toggle {
        white-space: nowrap !important; 
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 14px 25px !important;
        gap: 25px !important; /* Jarak antara teks dan ikon panah */
    }

    /* 3. Sistem Fly-out Submenu (Muncul di Kanan) */
    .dropdown-content .submenu-item {
        position: relative !important;
    }

    .dropdown-content .submenu-content {
        position: absolute !important;
        left: 100% !important; 
        top: -5px !important; 
        margin-left: 5px !important;
        
        /* Lebar Dinamis untuk Submenu */
        width: max-content !important;
        min-width: 220px !important;
        
        background-color: #ffffff !important;
        border-radius: 12px !important;
        box-shadow: 10px 10px 30px rgba(0,0,0,0.15) !important;
        border-left: 4px solid var(--herbal-green) !important;

        /* Sembunyikan secara default untuk Hover */
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(10px) !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* 4. Tampilkan Submenu Saat Kursor Diatasnya (Hover) */
    .dropdown-content .submenu-item:hover > .submenu-content {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }

    /* 5. Perbaikan Ikon Panah (Tetap menghadap kanan di Desktop) */
    .dropdown-content .submenu-toggle i.fa-caret-right {
        transform: rotate(0deg) !important;
    }

    /* Matikan efek expand/collapse klik JavaScript agar tidak berantakan di Desktop */
    .dropdown-wrapper.active .dropdown-content .submenu-content {
        max-height: none !important;
    }
    
/* 1. Mencerahkan gambar latar belakang */
    .hero-image-section img {
        filter: brightness(0.85) !important; /* Ditingkatkan dari 0.7 agar lebih terang */
        transition: filter 0.5s ease;
    }

    /* 2. Mengatur kontras teks agar tidak tenggelam di latar belakang yang lebih terang */
    .hero-overlay-content {
        background: rgba(0, 0, 0, 0.2); /* Memberi lapisan hitam tipis transparan di belakang teks */
        padding: 2rem !important;
        border-radius: 15px;
        backdrop-filter: blur(3px); /* Memberi efek blur halus pada latar belakang teks */
        max-width: 900px !important;
    }

    .hero-overlay-content h1 {
        color: #FFFFFF !important; /* Putih bersih */
        font-size: 4.5rem !important; /* Ukuran lebih besar untuk desktop */
        font-weight: 800 !important;
        text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.8) !important; /* Bayangan hitam agar teks 'keluar' */
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }

    /* 2. Mengatur tulisan sub-header (p) di bawahnya */
    .hero-overlay-content p {
        color: #F8F8F8 !important; /* Putih gading tipis */
        font-size: 1.4rem !important;
        font-weight: 400;
        text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.8) !important;
    }

    /* 3. Memberi efek gradasi halus di belakang teks (Opsional tapi disarankan) */
    .hero-overlay-content {
        background: linear-gradient(to right, rgba(0,0,0,0.4), transparent) !important;
        padding: 3rem !important;
        border-radius: 20px;
        display: inline-block; /* Agar background hanya membungkus area teks */
    }
}    