/* css/global.css */

/* ===== GLOBAL RESET ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
        }

        body {
            background-color: #f8fafc;
            color: #1e293b;
            line-height: 1.6;
        }

        body.menu-open {
            overflow: hidden;
        }

        /* ===== HEADER STICKY ===== */
        .site-header {
            background-color: white;
            border-bottom: 1px solid #e5e7eb;
            padding: 0.75rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
        }

        /* Logo Section */
        .logo-section {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo-section img {
            width: 32px;
            height: 32px;
            object-fit: contain;
        }

        .logo-text {
            font-size: 1.5rem;
            font-weight: 700;
            text-decoration: none;
            color: #1e293b;
        }

        .logo-text span {
            color: #2b6e4f;
        }

        /* Search Box */
        .search-wrapper {
            flex: 1;
            max-width: 600px;
            margin: 0 auto;
            position: relative;
        }

        .search-box {
            display: flex;
            align-items: center;
            border: 1px solid #e2e8f0;
            border-radius: 40px;
            overflow: hidden;
            background: white;
            transition: all 0.3s;
        }

        .search-box:hover,
        .search-box:focus-within {
            border-color: #2b6e4f;
            box-shadow: 0 0 0 3px rgba(43, 110, 79, 0.1);
        }

        .search-box input {
            flex: 1;
            border: none;
            outline: none;
            padding: 0.7rem 1.2rem;
            font-size: 0.95rem;
            background: transparent;
        }

        .search-box button {
            background: transparent;
            border: none;
            padding: 0.7rem 1.5rem;
            cursor: pointer;
            color: #64748b;
            transition: color 0.3s;
        }

        .search-box button:hover {
            color: #2b6e4f;
        }

        .search-box svg {
            width: 16px;
            height: 16px;
        }

        /* Share Button */
        .share-button {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 40px;
            padding: 0.6rem 1.2rem;
            cursor: pointer;
            transition: all 0.3s;
            justify-content: center;
        }

        .share-button:hover {
            background: #2b6e4f;
            border-color: #2b6e4f;
            color: white;
        }

        .share-button svg {
            width: 16px;
            height: 16px;
        }

        .share-button span {
            font-weight: 500;
            font-size: 0.9rem;
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: transparent;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 0.5rem 1rem;
            cursor: pointer;
            color: #1e293b;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        .mobile-menu-toggle:hover {
            background: #f8fafc;
        }

        .mobile-menu-toggle svg {
            width: 20px;
            height: 20px;
        }

        /* Overlay untuk mobile */
        .nav-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .nav-overlay.active {
            display: block;
            opacity: 1;
        }

        /* ===== NAVIGASI STICKY ===== */
        .nav-bar {
            background-color: white;
            border-bottom: 1px solid #e5e7eb;
            position: sticky;
            top: 60px;
            z-index: 99;
        }

        .nav-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 0.1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .nav-item {
            position: static;
        }

        .nav-item > .menu-button {
            display: inline-block;
            padding: 1rem 1.1rem;
            text-decoration: none;
            color: #334155;
            font-weight: 500;
            font-size: 0.88rem;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
            white-space: nowrap;
            background: none;
            border: none;
            cursor: pointer;
            font-family: inherit;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        .nav-item > .menu-button:hover {
            border-bottom-color: #2b6e4f;
            color: #2b6e4f;
        }

        .nav-item.active .chevron-down-svg {
            transform: rotate(180deg);
        }

        .chevron-down-svg {
            margin-left: 0.3rem;
            width: 18px;
            height: 18px;
            transition: transform 0.3s;
        }

        /* Tombol Close Mobile */
        .mobile-nav-header {
            display: none;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #e5e7eb;
        }

        .mobile-nav-header h3 {
            font-size: 1.1rem;
            color: #1e293b;
        }

        .mobile-close-btn {
            background: transparent;
            border: none;
            cursor: pointer;
            color: #64748b;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        .mobile-close-btn:hover {
            background: #f1f5f9;
            color: #ef4444;
        }

        .mobile-close-btn svg {
            width: 26px;
            height: 26px;
        }

        /* ===== MEGA DROPDOWN ===== */
        .mega-menu {
            display: none;
            position: absolute;
            left: 0;
            width: 100%;
            background-color: white;
            border-top: 1px solid #e5e7eb;
            border-bottom: 1px solid #e5e7eb;
            box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1);
            padding: 2rem 0;
            z-index: 1000;
        }

        .nav-item:hover .mega-menu {
            display: block;
        }

        .mega-menu-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

        .mega-menu-container.mega-menu-grid-3 {
            grid-template-columns: repeat(3, 1fr);
        }

        .mega-menu-container.mega-menu-grid-2 {
            grid-template-columns: repeat(2, 1fr);
        }

        .menu-col h4 {
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #64748b;
            margin-bottom: 1rem;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 0.5rem;
        }

        .menu-col ul {
            list-style: none;
        }

        .menu-col li {
            margin-bottom: 0.6rem;
        }

        .menu-col a {
            text-decoration: none;
            color: #1e293b;
            font-size: 0.9rem;
            display: block;
            transition: all 0.2s;
        }

        .menu-col a:hover {
            color: #2b6e4f;
            padding-left: 5px;
        }

        /* ===== MAIN CONTENT ===== */
        .content-wrapper {
            max-width: 1280px;
            margin: 2rem auto;
            padding: 0 1rem;
        }

        /* Breadcrumb */
        .breadcrumb {
            color: #64748b;
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #e2e8f0;
        }

        .breadcrumb a {
            color: #2b6e4f;
            text-decoration: none;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        /* ===== HERO SECTION ===== */
        .hero {
            color: white;
            padding: 3rem 2rem;
            border-radius: 12px;
            text-align: center;
            margin-bottom: 2rem;
            min-height: 250px;
            margin-left: auto;
            margin-right: auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-size: cover;
            background-position: center;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 600;
            text-shadow: 0 2px 5px rgba(0,0,0,0.4);
        }

        .hero p {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            opacity: 1;
            text-shadow: 0 1px 3px rgba(0,0,0,0.5);
        }

        .btn {
            display: inline-block;
            padding: 0.7rem 1.8rem;
            background: #2b6e4f;
            color: white;
            text-decoration: none;
            border-radius: 40px;
            font-weight: 500;
            transition: all 0.3s;
            border: none;
        }

        .btn:hover {
            background: #1f4f3a;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(43, 110, 79, 0.4);
        }

        /* Info Box */
        .info-box {
            background: #e3f2e9;
            border-left: 4px solid #2b6e4f;
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }

        /* Section Title */
        .section-title {
            font-size: 1.8rem;
            margin: 2rem 0 1rem;
            color: #1e293b;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: #2b6e4f;
            border-radius: 2px;
        }

        /* ===== CATEGORY GRID ===== */
        .category-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.8rem;
            margin: 2rem 0;
        }

        .category-card {
            background: white;
            padding: 2rem 1rem;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 6px 16px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            text-decoration: none;
            color: inherit;
            border: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .category-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 30px rgba(43, 110, 79, 0.15);
            border-color: #2b6e4f;
        }

        .category-icon {
            width: 96px;
            height: 96px;
            object-fit: contain;
            margin-bottom: 1.2rem;
            display: block;
            transition: transform 0.3s ease;
        }

        .category-card:hover .category-icon {
            transform: scale(1.1);
        }

        .category-card h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: #1e293b;
            font-weight: 600;
        }

        .category-card p {
            color: #64748b;
            font-size: 0.9rem;
            margin: 0;
        }

        /* ===== ARTICLE GRID ===== */
        .article-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }

        .article-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 6px 16px rgba(0,0,0,0.05);
            transition: all 0.3s;
            border: 1px solid #e2e8f0;
        }

        .article-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 30px rgba(43, 110, 79, 0.15);
            border-color: #2b6e4f;
        }

        .article-image {
            height: 200px;
            background: linear-gradient(135deg, #2b6e4f, #1e293b);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        .article-image-webp {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .article-card:hover .article-image-webp {
            transform: scale(1.05);
        }

        .article-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .article-card:hover .article-image::after {
            opacity: 1;
        }

        .article-content {
            padding: 1.5rem;
        }

        .article-content h3 {
            font-size: 1.2rem;
            margin-bottom: 0.75rem;
            color: #1e293b;
            line-height: 1.4;
        }

        .article-content p {
            color: #64748b;
            margin-bottom: 1.2rem;
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .read-more {
            display: inline-block;
            padding: 0.6rem 1.5rem;
            background: #2b6e4f;
            color: white;
            text-decoration: none;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s;
        }

        .read-more:hover {
            background: #1f4f3a;
            transform: translateX(5px);
        }

        /* Toast Notification */
        .toast {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: #1e293b;
            color: white;
            padding: 12px 24px;
            border-radius: 40px;
            font-size: 0.9rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            z-index: 1000;
            opacity: 0;
            transition: all 0.3s;
            border-left: 4px solid #2b6e4f;
        }

        .toast.show {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }

        /* ===== SEARCH RESULTS STYLES ===== */
        .search-results {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0 0 12px 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            z-index: 1000;
            max-height: 400px;
            overflow-y: auto;
            margin-top: 5px;
        }

        .search-result-item {
            display: block;
            padding: 15px;
            text-decoration: none;
            color: #1e293b;
            border-bottom: 1px solid #f1f5f9;
            transition: all 0.2s;
        }

        .search-result-item:hover {
            background-color: #f8fafc;
        }

        .search-result-item.selected {
            background-color: #f0f7fd;
            border-left: 3px solid #2b6e4f;
        }

        .search-result-content h4 {
            font-size: 1rem;
            margin-bottom: 5px;
            color: #1e293b;
        }

        .search-result-content p {
            font-size: 0.85rem;
            color: #64748b;
            margin-bottom: 3px;
        }

        .search-result-url {
            color: #2b6e4f;
            font-size: 0.8rem;
        }

        .search-highlight {
            background-color: #fff8c6;
            padding: 0 2px;
            border-radius: 2px;
            font-weight: 600;
        }

        .search-loading {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            padding: 15px;
            text-align: center;
            border: 1px solid #e2e8f0;
            border-radius: 0 0 12px 12px;
            color: #64748b;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .search-loading svg {
            animation: spin 1s linear infinite;
        }

        .no-results {
            padding: 20px;
            text-align: center;
            color: #64748b;
        }

        .no-results strong {
            color: #1e293b;
        }

        .no-results ul {
            margin-top: 15px;
            padding-left: 0;
            list-style: none;
        }

        .no-results li {
            margin-bottom: 8px;
            cursor: pointer;
            color: #2b6e4f;
        }

        .no-results li:hover {
            text-decoration: underline;
        }

        /* Search Suggestions */
        .search-suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 0 0 12px 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            z-index: 1000;
            display: none;
            max-height: 300px;
            overflow-y: auto;
        }

        .suggestion-item {
            padding: 12px 15px;
            cursor: pointer;
            transition: all 0.2s;
            color: #1e293b;
            border-bottom: 1px solid #f1f5f9;
        }

        .suggestion-item:hover,
        .suggestion-item.selected {
            background-color: #f8fafc;
        }

        .suggestion-highlight {
            font-weight: bold;
            color: #2b6e4f;
        }

        .suggestion-item:last-child {
            border-bottom: none;
        }

        /* ===== FOOTER ===== */
        footer {
            background: #0f172a;
            color: white;
            padding: 3rem 0 1rem;
            margin-top: 4rem;
        }

        .footer-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .footer-section h4 {
            font-size: 1rem;
            margin-bottom: 1rem;
            border-bottom: 1px solid #334155;
            padding-bottom: 0.5rem;
            color: #e2e8f0;
        }

        .footer-section a {
            color: #94a3b8;
            text-decoration: none;
            display: block;
            margin-bottom: 0.5rem;
            font-size: 0.85rem;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: #2b6e4f;
        }

        .copyright {
            text-align: center;
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid #334155;
            color: #64748b;
            font-size: 0.8rem;
        }

        /* ===== RESPONSIVE ===== */
        @media (min-width: 769px) and (max-width: 1024px) {
            .nav-item > .menu-button {
                padding: 1rem 0.8rem;
                font-size: 0.9rem;
            }
            
            .nav-item:hover .mega-menu {
                display: none;
            }
            
            .nav-item.active .mega-menu {
                display: block;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                z-index: 1000;
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            }
            
            .mega-menu-container {
                grid-template-columns: repeat(2, 1fr) !important;
            }

            .nav-bar {
                top: 58px;
            }

            .category-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 1.5rem;
            }
            
            .category-icon {
                width: 80px;
                height: 80px;
            }

            .article-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .header-container {
                flex-wrap: wrap;
                gap: 1rem;
            }

            .logo-section {
                width: 100%;
                justify-content: space-between;
            }

            .logo-text {
                font-size: 1.2rem;
            }

            .search-wrapper {
                order: 3;
                width: 100%;
                max-width: none;
                margin: 0;
            }

            .share-button {
                min-width: auto;
                padding: 0.5rem 1rem;
            }

            .share-button span {
                display: none;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .nav-bar {
                position: fixed;
                top: 0;
                right: -100%;
                width: 85%;
                max-width: 400px;
                height: 100vh;
                background: white;
                z-index: 999;
                border-left: 1px solid #e2e8f0;
                transition: right 0.3s ease;
                overflow-y: auto;
            }

            .nav-bar.active {
                right: 0;
            }

            .nav-container {
                flex-direction: column;
                padding: 0;
            }

            .mobile-nav-header {
                display: flex;
                width: 100%;
            }

            .nav-menu {
                flex-direction: column;
                width: 100%;
                margin: 0;
                gap: 0;
            }

            .nav-item > .menu-button {
                display: flex !important;
                justify-content: space-between !important;
                align-items: center !important;
                width: 100% !important;
                padding: 1rem 1.5rem;
                border-bottom: 1px solid #f1f5f9;
                font-size: 1rem;
            }

            .chevron-down-svg {
                margin-left: 0 !important;
                flex-shrink: 0 !important;
            }

            .mega-menu {
                position: static;
                box-shadow: none;
                border: none;
                padding: 0;
                background: #f8fafc;
                display: none;
            }

            .nav-item:hover .mega-menu {
                display: none;
            }

            .nav-item.active .mega-menu {
                display: block;
            }

            .mega-menu-container {
                grid-template-columns: 1fr !important;
                gap: 1rem;
                padding: 1rem 1.5rem;
            }

            .hero {
                padding: 2rem 1rem;
            }
            
            .hero h1 {
                font-size: 2rem;
            }         
            
            .btn {
                padding: 0.6rem 1.5rem;
                font-size: 0.9rem;
            }

            .category-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }
            
            .category-card {
                padding: 1.5rem 0.8rem;
                border-radius: 12px;
            }
            
            .category-icon {
                width: 64px;
                height: 64px;
                margin-bottom: 0.8rem;
            }
            
            .category-card h3 {
                font-size: 1rem;
            }
            
            .category-card p {
                font-size: 0.8rem;
            }

            .article-grid {
                grid-template-columns: 1fr;
            }

            .article-image {
                height: 180px;
            }
        }

        @media (max-width: 480px) { 
            .btn {
                padding: 0.5rem 1.2rem;
                font-size: 0.85rem;
            }
            
            .category-icon {
                width: 56px;
                height: 56px;
            }
        }

        @media (min-width: 1025px) {
            .nav-item:hover .mega-menu {
                display: block;
            }
        }

        /* Ads Container - Simple Version */
        .adsense-container {
            background-color: #f8f9fa;
            border: 1px dashed #ccc;
            padding: 20px;
            text-align: center;
            margin: 40px 0;
            border-radius: 5px;
            max-width: 1250px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* Optional: Responsive */
        @media (max-width: 768px) {
            .adsense-container {
                margin: 30px 0;
                padding: 15px;
            }
        }
        
        /* ===== WALMART AFFILIATE PRODUCTS CSS ===== */
        .products-container {
            max-width: 1280px;
            margin: 3rem auto;
            padding: 0 1rem;
        }

        .products-section {
            background: linear-gradient(to bottom, #ffffff, #f9f9f9);
            border-radius: 24px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 1px solid #e2e8f0;
        }

        /* Styling untuk h2 di dalam products-section */
        .products-section .section-title {
            font-size: 1.8rem;
            margin: 0 0 2rem 0;
            color: #1e293b;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .products-section .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: #2b6e4f;
            border-radius: 2px;
        }

        .loading {
            text-align: center;
            padding: 3rem;
            color: #64748b;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .loading::after {
            content: '';
            width: 20px;
            height: 20px;
            border: 3px solid #e2e8f0;
            border-top-color: #2b6e4f;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Grid 4 kolom untuk desktop */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .product-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 6px 20px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 30px rgba(43, 110, 79, 0.15);
            border-color: #2b6e4f;
        }

        .sponsored-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(43, 110, 79, 0.9);
            color: white;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 30px;
            z-index: 10;
            letter-spacing: 0.3px;
            backdrop-filter: blur(4px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .product-img {
            width: 100%;
            height: 200px; /* Sedikit dikurangi untuk 4 kolom */
            background: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.2rem;
            border-bottom: 1px solid #e2e8f0;
            position: relative;
            overflow: hidden;
        }

        .product-img img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            transition: transform 0.5s ease;
            display: block;
        }

        .product-card:hover .product-img img {
            transform: scale(1.05);
        }

        .no-image {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f1f5f9;
            color: #64748b;
            font-size: 0.9rem;
            text-align: center;
            padding: 1rem;
            border-radius: 8px;
        }

        .product-info {
            padding: 1.2rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .product-info h4 {
            font-size: 0.95rem;
            margin-bottom: 0.6rem;
            color: #1e293b;
            line-height: 1.4;
            font-weight: 600;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 2.7rem;
        }

        .product-price {
            font-size: 1.2rem;
            font-weight: 700;
            color: #2b6e4f;
            margin-bottom: 0.6rem;
            line-height: 1.2;
        }

        .price-timestamp {
            font-size: 0.65rem !important;
            color: #64748b !important;
            margin: 0 0 0.8rem 0 !important;
            background: #f8fafc !important;
            padding: 6px 10px !important;
            border-radius: 6px !important;
            border-left: 3px solid #2b6e4f !important;
            line-height: 1.3 !important;
        }

        .price-timestamp span:first-child {
            font-weight: 600;
            color: #475569;
            display: inline-block;
            margin-bottom: 2px;
        }

        .price-timestamp span:last-child {
            font-family: 'Courier New', monospace;
            background: white;
            padding: 2px 4px;
            border-radius: 4px;
            display: inline-block;
            font-size: 0.6rem;
        }

        .product-btn {
            background: #2b6e4f;
            color: white;
            text-decoration: none;
            padding: 0.7rem 0.8rem;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.85rem;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #2b6e4f;
            margin-top: auto;
            display: inline-block;
            width: 100%;
            letter-spacing: 0.3px;
        }

        .product-btn:hover {
            background: #1f4f3a;
            border-color: #1f4f3a;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(43, 110, 79, 0.3);
        }

        .product-btn:active {
            transform: translateY(0);
        }

        .fallback-notice {
            grid-column: 1 / -1;
            text-align: center;
            padding: 1rem;
            margin-bottom: 1.5rem;
            background: #fff8e7;
            border: 1px solid #ffd9a3;
            border-radius: 12px;
            color: #9b6b00;
            font-size: 0.9rem;
        }

        .error-message {
            grid-column: 1 / -1;
            text-align: center;
            padding: 2rem;
            background: #fee9e9;
            border: 1px solid #fccaca;
            border-radius: 12px;
            color: #b91c1c;
        }

        .error-message p:first-child {
            font-size: 1.1rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .no-products {
            grid-column: 1 / -1;
            text-align: center;
            padding: 2.5rem;
            background: #f8fafc;
            border: 1px dashed #cbd5e1;
            border-radius: 16px;
            color: #475569;
        }

        .no-products p:first-child {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: #334155;
        }

        /* ===== AFFILIATE DISCLAIMER CSS ===== */
        .affiliate-disclaimer {
            margin-top: 2rem;
            padding: 1rem 1.5rem;
            background: #f1f9f4;
            border-radius: 40px;
            font-size: 0.8rem;
            color: #2b6e4f;
            text-align: center;
            border: 1px solid #c0e0d0;
            line-height: 1.5;
            transition: all 0.3s ease;
        }

        .affiliate-disclaimer:hover {
            background: #e3f2e9;
            border-color: #2b6e4f;
        }

        .affiliate-disclaimer::before {
            content: "";
            font-size: 0.9rem;
            margin-right: 4px
        }

        /* Responsive untuk produk - Tablet (3 kolom) */
        @media (min-width: 769px) and (max-width: 1024px) {
            .product-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 1.2rem;
            }
            
            .product-img {
                height: 180px;
            }
        }

        /* Responsive untuk produk - Mobile besar (2 kolom) */
        @media (min-width: 481px) and (max-width: 768px) {
            .products-section {
                padding: 1.5rem;
            }

            .products-section .section-title {
                font-size: 1.5rem;
                margin-bottom: 1.5rem;
            }

            .product-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .product-img {
                height: 160px;
                padding: 1rem;
            }

            .product-info {
                padding: 1rem;
            }

            .product-info h4 {
                font-size: 0.9rem;
                min-height: 2.5rem;
            }

            .product-price {
                font-size: 1.1rem;
            }

            .product-btn {
                padding: 0.6rem 0.8rem;
                font-size: 0.8rem;
            }

            .affiliate-disclaimer {
                padding: 0.8rem 1rem;
                font-size: 0.75rem;
                border-radius: 30px;
            }
        }

        /* Responsive untuk produk - Mobile kecil (1 kolom) */
        @media (max-width: 480px) {
            .products-section {
                padding: 1rem;
                border-radius: 16px;
            }

            .products-section .section-title {
                font-size: 1.3rem;
                margin-bottom: 1rem;
            }

            .product-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .product-img {
                height: 200px;
            }

            .sponsored-badge {
                font-size: 0.65rem;
                padding: 3px 8px;
            }
        }