/* 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: #f8f9fa;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Bar */
.top-bar {
    background: #d32f2f;
    color: white;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-left span {
    cursor: pointer;
    transition: opacity 0.3s;
}

.top-left span:hover {
    opacity: 0.8;
}

/* Gaya untuk tautan di top-bar */
.top-left a {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 4px;
    border-radius: 3px;
    overflow: hidden;
}

.top-left a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.top-left a:hover {
    color: #ffeb3b;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

.top-left a:hover::before {
    left: 0;
}

.top-left a:active {
    transform: translateY(1px);
}

/* Efek garis bawah saat hover */
.top-left a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #ffeb3b;
    transition: width 0.3s ease;
}

.top-left a:hover::after {
    width: 100%;
}

/* Gaya untuk tautan aktif */
.top-left a.active {
    color: #ffeb3b;
    font-weight: bold;
}

.top-left a.active::after {
    width: 100%;
    height: 2px;
    background-color: #ffeb3b;
}

.separator {
    color: rgba(255,255,255,0.5);
}

.highlight {
    background: #ffeb3b;
    color: #333 !important;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

.top-left a .highlight {
    display: inline-block;
    transition: all 0.3s ease;
}

.top-left a:hover .highlight {
    background: #fff59d;
    transform: scale(1.05);
    box-shadow: 0 0 5px rgba(255, 235, 59, 0.5);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.language-selector:hover {
    opacity: 0.8;
}

/* Main Header */
.main-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.search-section {
    flex: 1;
    max-width: 500px;
}

.advanced-search-link {
    text-align: right;
    font-size: 13px;
    margin-top: 5px;
}

.advanced-search-link a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.advanced-search-link a:hover {
    color: #d32f2f;
    text-decoration: underline;
}

.search-bar {
    display: flex;
    border: 2px solid #d32f2f;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 14px;
    outline: none;
}

.search-btn {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #b71c1c;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s;
    position: relative;
}

.action-item:hover {
    background: #f5f5f5;
}

.action-item i {
    font-size: 18px;
    color: #666;
}

/* Styling untuk link keranjang */
.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.cart-link:hover {
    background: #e9ecef;
    color: #d32f2f;
    text-decoration: none;
}

/* Badge jumlah item di keranjang */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #d32f2f;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    min-width: 20px;
}

/* Animasi untuk ikon keranjang */
@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cart-bounce {
    animation: cartBounce 0.5s ease;
}

.action-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.action-title {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    line-height: 1;
}

.action-subtitle {
    font-size: 11px;
    color: #666;
    line-height: 1;
}

.login-register-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn, .register-btn {
    background: #ff0000;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    text-decoration: none;
}

.login-btn:hover, .register-btn:hover {
    background: #cc0000;
}

.login-register-links .separator {
    color: #666;
    font-weight: bold;
}

/* User Menu Styles */
.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-btn, .logout-btn, .history-btn {
    background: #ff0000;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    text-decoration: none;
}

.user-btn {
    background: #28a745;
}

.user-btn:hover {
    background: #218838;
}

.history-btn {
    background: #007bff;
}

.history-btn:hover {
    background: #0056b3;
}

.logout-btn:hover {
    background: #cc0000;
}

/* Navigation */
.main-nav {
    background: #f8f9fa;
    padding: 12px 0;
    border-top: 1px solid #e5e5e5;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-btn {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.3s;
}

.category-btn:hover {
    background: #b71c1c;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
    flex: 1;
    margin-left: 30px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #d32f2f;
}

.new-badge {
    color: #ff6b35;
    font-size: 8px;
    vertical-align: super;
}

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

.nav-btn {
    background: transparent;
    border: 1px solid #d32f2f;
    color: #d32f2f;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #d32f2f;
    color: white;
}

.nav-btn.primary {
    background: #d32f2f;
    color: white;
}

.nav-btn.primary:hover {
    background: #b71c1c;
}

/* Main Banner */
.main-banner {
    position: relative;
    margin-bottom: 20px;
}

.banner-carousel {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.banner-prev, .banner-next {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: background 0.3s;
}

.banner-prev:hover, .banner-next:hover {
    background: rgba(0,0,0,0.7);
}

/* Product Comparison Slider */
.product-comparison-slider {
    padding: 30px 0;
    background: #f8f9fa;
    margin-bottom: 20px;
    overflow: hidden;
}

.comparison-slider {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.comparison-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-slide.active {
    opacity: 1;
    visibility: visible;
}

.comparison-content {
    display: flex;
    height: 100%;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
}

/* Product Comparison Specific Styles */
.comparison-text {
    flex: 1;
    padding: 0 20px;
}

.comparison-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.comparison-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.info-btn {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.info-btn:hover {
    background: #b71c1c;
}

.comparison-products {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-scale {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100px;
}

.product-scale img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
}

.scale-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.scale-feature {
    font-size: 16px;
    font-weight: bold;
    padding: 2px 0;
}

.scale-feature.positive {
    color: #27ae60;
}

.scale-feature.negative {
    color: #e74c3c;
}

.vs-badge {
    background: #f39c12;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
}

/* Other Slides Styles */
.discount-content, .shipping-content, .payment-content, .review-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.discount-text, .shipping-text, .payment-text, .review-text {
    flex: 1;
}

.discount-image, .shipping-image, .payment-image, .review-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.discount-image img, .shipping-image img, .payment-image img, .review-image img {
    max-width: 250px;
    max-height: 200px;
    object-fit: contain;
}

/* Slide Specific Backgrounds */
#comparison-slide-1 {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

#comparison-slide-2 {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
}

#comparison-slide-3 {
    background: linear-gradient(135deg, #e8f5e9 0%, #a5d6a7 100%);
}

#comparison-slide-4 {
    background: linear-gradient(135deg, #e3f2fd 0%, #90caf9 100%);
}

#comparison-slide-5 {
    background: linear-gradient(135deg, #f3e5f5 0%, #ce93d8 100%);
}

/* Slider Navigation */
.comparison-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.comparison-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comparison-dot.active {
    background: #d32f2f;
    transform: scale(1.2);
}

.comparison-dot:hover {
    background: #999;
}

.comparison-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    z-index: 10;
    pointer-events: auto;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.comparison-arrow:hover {
    background: rgba(0,0,0,0.7);
}

/* Info Bar Section */
.info-bar-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 30px;
}

.info-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-bar-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.info-bar-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: #d32f2f;
}

.info-icon {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.info-icon i {
    font-size: 20px;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.info-content span {
    display: block;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
    line-height: 1.4;
}

.info-content small {
    color: #888;
    font-size: 12px;
    font-style: italic;
}

/* Responsive Styles for Info Bar */
@media (max-width: 992px) {
    .info-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .info-bar-item {
        padding: 25px 20px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
    }
    
    .info-icon i {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .info-bar-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-bar-section {
        padding: 40px 0;
    }
    
    .info-bar-item {
        padding: 20px 15px;
    }
}

/* Responsive Styles for Comparison Slider */
@media (max-width: 992px) {
    .comparison-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .comparison-text, .discount-text, .shipping-text, .payment-text, .review-text {
        margin-bottom: 20px;
    }
    
    .comparison-products {
        justify-content: center;
    }
    
    .discount-content, .shipping-content, .payment-content, .review-content {
        flex-direction: column;
        padding: 20px;
    }
    
    .discount-image, .shipping-image, .payment-image, .review-image {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .comparison-slider {
        height: 400px;
    }
    
    .comparison-products {
        flex-direction: column;
        gap: 10px;
    }
    
    .vs-badge {
        margin: -5px 0;
    }
}

/* Quick Access */
.quick-access {
    background: #f8f9fa;
    padding: 30px 0;
    margin-bottom: 40px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.quick-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.quick-item:hover {
    transform: translateY(-5px);
}

.quick-item i {
    font-size: 2.5rem;
    color: #d32f2f;
    margin-bottom: 15px;
}

.quick-item span {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.quick-item small {
    color: #666;
    font-size: 12px;
}

/* Promo Section */
.promo-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.promo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><rect fill="rgba(211, 47, 47, 0.03)" x="25" y="25" width="50" height="50" transform="rotate(45 50 50)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.promo-banner {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.left-banner {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
    position: relative;
}

.left-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle fill="rgba(255, 255, 255, 0.1)" cx="50" cy="50" r="40"/></svg>');
    background-size: 100px 100px;
    background-repeat: no-repeat;
    background-position: right center;
    z-index: 0;
}

.center-banner {
    background: linear-gradient(135deg, #e8f5e8 0%, #a5d6a7 100%);
    position: relative;
}

.center-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle fill="rgba(255, 255, 255, 0.1)" cx="50" cy="50" r="40"/></svg>');
    background-size: 100px 100px;
    background-repeat: no-repeat;
    background-position: right center;
    z-index: 0;
}

.banner-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.banner-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.promo-banner:hover .banner-icon {
    transform: scale(1.1);
}

.banner-icon i {
    color: white;
    font-size: 1.2rem;
}

.promo-banner h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.promo-banner p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.promo-btn {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.promo-btn:hover {
    background: #b71c1c;
}

.banner-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.right-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommendation-box {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendation-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.recommendation-box::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 0;
}

.recommendation-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e65100;
    margin-bottom: 5px;
}

.recommendation-box p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

.recommendation-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
}

.recommendation-image {
    width: 60px;
    height: 40px;
    margin: 0 auto;
}

.recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-highlight {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-highlight h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.highlight-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.highlight-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.highlight-info {
    flex: 1;
}

.highlight-info h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.highlight-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: 2px;
}

.highlight-delivery {
    font-size: 0.7rem;
    color: #666;
}

.info-bar {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 15px 20px;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 5px;
}

.info-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.info-links {
    font-size: 0.8rem;
}

.info-links a {
    color: #1976d2;
    text-decoration: none;
    margin: 0 5px;
}

.info-links a:hover {
    text-decoration: underline;
}

/* Promo Dots Indicator */
.promo-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.promo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-dot.active {
    background: #d32f2f;
    transform: scale(1.2);
}

.promo-dot:hover {
    background: #999;
}

/* Promo Banner Transitions */
.promo-banner {
    transition: all 0.5s ease;
}

.promo-banner h3,
.promo-banner p,
.promo-btn {
    transition: all 0.3s ease;
}

.banner-icon {
    transition: all 0.3s ease;
}

/* Banner Slide Animation */
.banner-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .promo-banner {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 15px;
    }
    
    .banner-image {
        margin-top: 10px;
    }
    
    .promo-dots {
        margin-top: 15px;
    }
    
    .promo-dot {
        width: 10px;
        height: 10px;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Categories Section */
.categories {
    padding: 50px 0;
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 5px;
    color: #333;
    font-weight: 700;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.view-all {
    color: #d32f2f;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.view-all:hover {
    color: #b71c1c;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.category-image {
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 15px;
}

.category-image img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.category-image i {
    font-size: 40px;
    color: #d32f2f;
}

.category-info {
    padding: 15px;
    text-align: center;
}

.category-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    line-height: 1.3;
}

.category-info p {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* Products Showcase */
.products-showcase {
    padding: 50px 0;
    background: #f8f9fa;
}

.product-tabs {
    display: flex;
    gap: 20px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #d32f2f;
    color: white;
}

.tab-btn:hover {
    background: #e5e5e5;
}

.tab-btn.active:hover {
    background: #b71c1c;
}



.product-item {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f8f8; /* Latar belakang untuk gambar transparan */
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d32f2f;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.product-badge.discount {
    background: #ff9800;
}

.product-badge.new {
    background: #4caf50;
}

.product-details {
    padding: 15px;
}

.product-code {
    color: #999;
    font-size: 11px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-brand {
    color: #666;
    font-size: 12px;
    margin-bottom: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.stars {
    color: #ffc107;
    font-size: 12px;
}

.rating-count {
    color: #999;
    font-size: 11px;
}

.product-price {
    margin-bottom: 15px;
}

.current-price {
    font-size: 16px;
    font-weight: 700;
    color: #d32f2f;
}

.original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-cart {
    flex: 1;
    background: #d32f2f;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-cart:hover {
    background: #b71c1c;
}

.btn-compare, .btn-wishlist {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    color: #666;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-compare:hover, .btn-wishlist:hover {
    background: #e5e5e5;
    color: #333;
}

/* Brands Section */
.brands {
    padding: 60px 0;
    background: #f8f9fa;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.brand-logo {
    width: 100%;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.brand-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p {
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.footer-section ul li i {
    margin-right: 10px;
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #e74c3c;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-bar {
        margin: 0;
        max-width: 100%;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid,
    .categories-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .features,
    .categories,
    .products-showcase,
    .cta {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e74c3c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fallback Image Styling */
.fallback-image {
    object-fit: contain !important;
    max-width: 100%;
    max-height: 100%;
    padding: 5px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}