    /* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* css/search-box.css */
/* Professional Search Box Styles */
.search-container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 650px;
    height: 40px;
    transition: all 0.3s ease;
}

.search-form {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 30px;
    padding: 5px;
    height: 100%;
    min-height: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.2);
    border-color: #3498db;
    background: white;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    outline: none;
    color: #333;
    border-radius: 30px 0 0 30px;
    line-height: normal;
}

.search-input::placeholder {
    color: #95a5a6;
    opacity: 1;
}

.search-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    cursor: pointer;
    padding: 0 15px;
    height: 100%;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.search-button:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-1px);
}

.search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.search-icon svg {
    width: 18px;
    height: 18px;
}

.search-text {
    display: inline-block;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 5px;
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s;
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.search-result-item:hover {
    background-color: #f8f9fa;
    color: #3498db;
    border-left-color: #3498db;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-highlight {
    font-weight: bold;
    background-color: #fff8c6;
    padding: 0 2px;
    border-radius: 2px;
}

.search-result-content {
    padding: 5px;
}

.search-result-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #1a0dab;
}

.search-result-content p {
    font-size: 0.9rem;
    color: #4d5156;
    margin-bottom: 5px;
    line-height: 1.4;
}

.search-result-url {
    color: #006621;
    font-size: 0.8rem;
    display: block;
    margin-top: 3px;
}

.search-loading {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    padding: 15px;
    text-align: center;
    margin-top: 5px;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results {
    padding: 15px;
    color: #7f8c8d;
    text-align: center;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1001;
    display: none;
    margin-top: -1px;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    text-decoration: none;
    display: block;
}

.suggestion-item:hover, 
.suggestion-item.selected {
    background-color: #f5f5f5;
}

.suggestion-highlight {
    font-weight: bold;
    color: #3498db;
}

.search-pagination {
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.show-more-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 1280px) {
    .search-container {
        width: 630px;
    }
    
    .search-button {
        padding: 8px 10px;
    }
}

@media (max-width: 1024px) {
    .search-container {
        width: 420px;
		margin-left: 25px;
    }
}

@media (max-width: 912px) {
    .search-container {
        width: 350px;
        margin-left: 20px;
    }
}

@media (max-width: 853px) {
    .search-container {
        width: 315px;
        margin-left: 15px;
    }
}

@media (max-width: 820px) {
    .search-container {
        width: 278px;
        margin-left: 18px;
    }
}

@media (max-width: 768px) {
    .search-container {
        width: 100%;
        height: 40px;
        margin: 15px 0;
        margin-left: 10px;
        order: 3;
    }
    
    .search-form {
        border-radius: 5px;
        min-height: 40px;
    }
    
    .search-input {
        border-radius: 5px 0 0 5px;
    }
    
    .search-button {
        border-radius: 0 5px 5px 0;
    }
}


		/* Navigation Styles */
		.navbar {
    		background-color: white;
    		padding: 10px 0;
    		position: sticky;
    		top: 0;
    		box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    		z-index: 1000;
		}

		.navbar-container {
    		display: flex;
    		justify-content: space-between;
    		align-items: center;
		}

		.navbar-brand {
    		display: flex;
    		align-items: center;
    		text-decoration: none;
		}

		.logo-img {
    		height: 40px;
    		margin-right: 10px;
		}

		.brand-name {
    		font-weight: 700;
    		font-size: 1.25rem;
    		background: linear-gradient(to right, #e74c3c, #3498db);
    		-webkit-background-clip: text;
    		background-clip: text;
    		color: transparent;
    		text-shadow: 1px 1px 3px rgba(0,0,0,0.1);            
		}

		.navbar-nav {
    		display: flex;
    		list-style: none;
            margin: 100;
            padding: 100;
		}

		.nav-item {
		    margin-left: 20px;
		    display: flex;        /* <--- ubah li jadi flex container */
		    align-items: center;  /* <--- isi dalam li rata tengah */
		}

		.nav-link {
    		color: #333;
    		text-decoration: none;
    		font-weight: 500;
    		transition: color 0.3s;
		}
		
		.nav-link:hover {
            color: #2c8a4a;
        }

		.nav-link.active {
    		color: #3498db;
    		font-weight: 600;
		}

		.navbar-toggler {
    		display: none;
    		background: none;
    		border: none;
    		font-size: 1.25rem;
    		cursor: pointer;
		}
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        display: none;
        margin-top: 15px;
    }

    .nav-item {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .navbar-toggler {
        display: block;
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .navbar-nav.active {
        display: flex;
    }
}

    	
    	
        /* Footer */
        footer {
            background-color: #2c3e50;
            color: white;
            padding: 50px 0 20px;
            text-align: center;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            list-style: none;
            margin-bottom: 30px;
        }

        .footer-links li {
            margin: 0 15px;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }
        
        .copyright {
            color: #ecf0f1;
            font-size: 0.9rem;
        }
        

		/* Ads Container */
		.ads-container {
    		background-color: #f8f9fa;
    		border: 1px dashed #ccc;
    		padding: 20px;
    		text-align: center;
    		margin: 40px 0;
    		border-radius: 5px;
		}
		
        /* Main Content Styles */
        .main-content {
            padding: 20px 0;
            background-color: #f5f5f5;
        }
        
        /* Categories Section */
        .categories-section {
            background-color: white;
            padding: 20px;
            margin-bottom: 20px;
            border-radius: 8px;
            box-shadow: 0 1px 5px rgba(0,0,0,0.05);
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #333;
        }
        
        .view-all {
            color: #3498db;
            text-decoration: none;
            font-weight: 500;
        }
        
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            gap: 15px;
        }
        
        .category-item {
            text-align: center;
            transition: transform 0.3s;
        }
        
        .category-item:hover {
            transform: translateY(-5px);
        }
        
        .category-img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 50%;
            margin-bottom: 8px;
            border: 1px solid #eee;
        }
        
        .category-name {
            font-size: 0.85rem;
            color: #333;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* Products Section */
        .products-section {
            background-color: white;
            padding: 20px;
            margin-bottom: 20px;
            border-radius: 8px;
            box-shadow: 0 1px 5px rgba(0,0,0,0.05);
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 15px;
        }
        
        .product-card {
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            transition: box-shadow 0.3s;
        }
        
        .product-card:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .product-img-container {
            position: relative;
            padding-top: 100%;
            overflow: hidden;
        }
        
        .product-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .product-info {
            padding: 10px;
        }
        
        .product-name {
            font-size: 0.9rem;
            color: #333;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 43px;
        }
        
        .product-price {
            font-weight: 600;
            color: #e74c3c;
            font-size: 1rem;
        }
        
        /* Flash Sale Section */
        .flash-sale {
            background-color: #fff6f6;
            border: 1px solid #ffdddd;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
        }
        
        .flash-sale-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .flash-sale-tag {
            background-color: #e74c3c;
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-weight: 600;
            margin-right: 15px;
        }
        
        .countdown {
            display: flex;
            align-items: center;
        }
        
        .countdown-item {
            background-color: #333;
            color: white;
            padding: 3px 5px;
            border-radius: 3px;
            margin: 0 2px;
            font-size: 0.9rem;
        }
        
        /* Responsive Styles */
        @media (max-width: 1200px) {
            .categories-grid {
                grid-template-columns: repeat(6, 1fr);
            }
            
            .products-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .categories-grid {
                grid-template-columns: repeat(5, 1fr);
            }
            
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .categories-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 10px;
            }
            
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .category-img {
                width: 50px;
                height: 50px;
            }
        }
        
        @media (max-width: 576px) {
            .categories-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .section-title {
                font-size: 1.2rem;
            }
        }
        
		.view-more-container {
		    text-align: center;
		    margin: 30px 0;
		}

		.view-more-btn {
		    display: inline-block;
    		padding: 10px 30px;
    		background-color: white;
    		color: #3498db;
    		border: 1px solid #3498db;
    		border-radius: 4px;
    		font-weight: 500;
    		text-decoration: none;
    		transition: all 0.3s ease;
		}

		.view-more-btn:hover {
    		background-color: #f8f9fa;
    		box-shadow: 0 2px 5px rgba(0,0,0,0.1);
		}
		
		
/* Disclaimer Global Styles */
.disclaimer-global {
    background-color: #f8f9fa;
    border-left: 4px solid #e63946;
    padding: 1.25rem;
    margin: 2rem 0;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.disclaimer-global p {
    color: #495057;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

.disclaimer-global a {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.disclaimer-global a:hover {
    color: #c1121f;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .disclaimer-global {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .disclaimer-global p {
        font-size: 0.8rem;
    }
}

/* Dark Mode Compatibility */
@media (prefers-color-scheme: dark) {
    .disclaimer-global {
        background-color: #2b2d42;
        border-left-color: #ef233c;
    }
    
    .disclaimer-global p {
        color: #edf2f4;
    }
    
    .disclaimer-global a {
        color: #ef233c;
    }
    
    .disclaimer-global a:hover {
        color: #d90429;
    }
}

.disclaimer-title {
    color: #e63946;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Dark Mode Compatibility for Title */
@media (prefers-color-scheme: dark) {
    .disclaimer-title {
        color: #ef233c;
    }
}








/* Container untuk meta dan share */
.meta-share-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
    width: 100%;
}

.meta {
    color: #7f8c8d;
    font-size: 14px;
}

/* Default: sembunyikan tombol share (mobile & tablet) */
.share-article-container {
    display: none;
}

/* Tampilkan hanya di desktop (&#8805;992px) */
@media (min-width: 992px) {
    .share-article-container {
        display: flex;
        align-items: center;
    }
}

.share-label {
    margin-right: 12px;
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

/* Tombol Share */
.share-container {
    display: inline-block;
    position: relative;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 30px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    outline: none;
    padding: 0;
}

.share-button:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.share-button.active img {
    transform: rotate(45deg);
}

/* Dropdown Share */
.share-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    transform: scale(0.95);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 420px;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e0e0e0;
}

.share-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.share-dropdown h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-weight: 600;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8f9fa;
    border: 1px solid transparent;
    min-width: 60px;
}

.share-option:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #e9ecef;
}

.share-option img {
    width: 22px;
    height: 22px;
    margin-bottom: 6px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.share-option:hover img {
    transform: scale(1.15);
}

.share-option span {
    font-size: 11px;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.copy-link-container {
    grid-column: 2 / 5;
    display: flex;
    justify-content: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.copy-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto;
    min-width: 140px;
    border: 1px solid #e9ecef;
}

.copy-link:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.copy-link img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    object-fit: contain;
}

.copy-link span {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
}

/* Notifikasi */
.share-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2ecc71;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    animation: fadeIn 0.5s, fadeOut 0.5s 2.5s forwards;
    z-index: 1000;
    font-size: 14px;
    font-weight: 500;
}

.share-notification img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    object-fit: contain;
}

@keyframes fadeIn {
    from { opacity: 0; bottom: 0; }
    to { opacity: 1; bottom: 20px; }
}

@keyframes fadeOut {
    from { opacity: 1; bottom: 20px; }
    to { opacity: 0; bottom: 0; }
}

/* Responsif */
@media (max-width: 768px) {
    .share-dropdown {
        width: 360px;
        right: -20px;
        padding: 20px;
    }

    .share-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .copy-link-container {
        grid-column: 1 / -1;
    }

    .meta-share-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .share-dropdown {
        width: 320px;
        right: -40px;
        padding: 15px;
    }

    .share-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .meta-share-container {
        align-items: center;
    }

    .share-option {
        padding: 8px 4px;
    }

    .share-option img {
        width: 20px;
        height: 20px;
    }

    .share-option span {
        font-size: 10px;
    }

    .copy-link {
        min-width: 120px;
        padding: 8px 16px;
    }

    .copy-link span {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .share-dropdown {
        width: 300px;
        right: -30px;
    }

    .share-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Honeypot field styling */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}