:root {
    /* Base Monochromatic Colors */
    --color-light: #E7E2E0;
    --color-medium: #D9C5BA;
    --color-dark: #C9A793;
    
    /* Pop Color - Blue */
    --color-pop: #9c796c;
    --color-pop-dark: #C9A793;
    --color-pop-light: #C9A793;
    
    /* Text Colors */
    --text-primary: #2c2c2c;
    --text-secondary: #5a5a5a;
    --text-light: #8a8a8a;
    --text-on-pop: #ffffff;
    
    /* Shadows with pop color */
    --shadow-sm: 0 1px 2px 0 rgba(52, 152, 219, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(52, 152, 219, 0.15), 0 2px 4px -2px rgba(52, 152, 219, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(52, 152, 219, 0.2), 0 4px 6px -4px rgba(52, 152, 219, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(52, 152, 219, 0.25), 0 8px 10px -6px rgba(52, 152, 219, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-pop) 0%, var(--color-pop-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--color-dark) 0%, var(--color-medium) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-pop) 0%, var(--color-pop-dark) 100%);
    --gradient-bg: linear-gradient(135deg, var(--color-light) 0%, var(--color-medium) 50%, var(--color-dark) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gradient-bg);
    min-height: 100vh;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Header Styles */
.header {
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.logo-image:hover {
    box-shadow: var(--shadow-lg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .lapak {
    color: #C9A793;
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-text .ayang {
    color: #9c796c;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-item a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item a:hover {
    color: var(--color-pop);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-pop);
    transition: width 0.3s ease;
}

.nav-item a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 300px;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid var(--color-medium);
    border-radius: 50px;
    background: var(--color-light);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-pop);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    z-index: 1;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: var(--color-medium);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.icon-btn:hover {
    background: var(--color-pop);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-pop);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(52, 152, 219, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--color-pop);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.1);
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-on-pop);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--gradient-accent);
}

.btn-secondary {
    background: rgba(217, 197, 186, 0.3);
    color: var(--text-primary);
    border: 2px solid var(--color-medium);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--color-medium);
    color: var(--text-primary);
    transform: translateY(-2px);
    border-color: var(--color-pop);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-pop);
}

.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-card {
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.character-container {
    text-align: center;
    margin-bottom: 2rem;
}

.character-image {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    margin: 0 auto 1rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.character-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.price-display {
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 16px;
    color: white;
    margin-bottom: 1.5rem;
}

.price-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
}

/* Product Navigation */
.product-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-dot.active {
    background: var(--color-pop);
    transform: scale(1.2);
}

/* Stats Section */
.stats-section {
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.stats-container {
    background: rgba(231, 226, 224, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(52, 152, 219, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.stat-item {
    text-align: center;
    padding: 1rem 0;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-pop);
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Special Offers Section */
.special-offers-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.offers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.offer-card {
    width: 160px;
    text-align: center;
}

.robux-icon {
    margin: 0 auto 1rem;
    background: transparent !important;
}

.robux-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.price {
    margin-top: 0.25rem;
    color: var(--color-pop);
    font-weight: 700;
}

/* Popular Products Section */
.popular-products-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(52, 152, 219, 0.25), 0 8px 10px -6px rgba(52, 152, 219, 0.1);
    background: #E7E2E0;
    border-color: #9c796c;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #9c796c 0%, #C9A793 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.special {
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    animation: pulse 2s infinite;
}

.product-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin-bottom: 1.5rem;
    position: relative;
}

.product-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    transition: all 0.3s ease;
    background: #D9C5BA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #2c2c2c;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9c796c 0%, #C9A793 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 15px -3px rgba(52, 152, 219, 0.2), 0 4px 6px -4px rgba(52, 152, 219, 0.1);
}

.product-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 0.75rem;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #9c796c;
}

.original-price {
    font-size: 1rem;
    color: #8a8a8a;
    text-decoration: line-through;
}

.product-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #27ae60;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-status i {
    font-size: 0.75rem;
}

.product-buy-btn {
    width: 100%;
    background: linear-gradient(135deg, #9c796c 0%, #C9A793 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(52, 152, 219, 0.2), 0 4px 6px -4px rgba(52, 152, 219, 0.1);
    background: linear-gradient(135deg, #9c796c 0%, #C9A793 100%);
}

.section-cta {
    text-align: center;
}

/* Enhanced Testimonial Section */
.testimonial-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.testimonial-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-container {
    position: relative;
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(52, 152, 219, 0.2);
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    min-width: 100%;
    text-align: center;
    padding: 0 2rem;
    flex-shrink: 0;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #f39c12;
    font-size: 1.25rem;
}

.testimonial-content {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-pop);
    margin-bottom: 0.5rem;
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--color-medium);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.testimonial-btn:hover {
    background: var(--color-pop);
    color: white;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(156, 121, 108, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--color-pop);
    transform: scale(1.2);
}

/* Feedback Form Section */
.feedback-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feedback-header {
    text-align: center;
    margin-bottom: 3rem;
}

.feedback-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feedback-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.feedback-form {
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.feedback-form .form-group {
    margin-bottom: 1.5rem;
}

.feedback-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feedback-form .form-group input,
.feedback-form .form-group textarea,
.feedback-form .form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-medium);
    border-radius: 12px;
    background: var(--color-light);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.feedback-form .form-group input:focus,
.feedback-form .form-group textarea:focus,
.feedback-form .form-group select:focus {
    outline: none;
    border-color: var(--color-pop);
    box-shadow: 0 0 0 3px rgba(156, 121, 108, 0.1);
}

.feedback-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.rating-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.star:hover,
.star.active {
    color: #f39c12;
}

#ratingText {
    margin-left: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-pop), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--color-pop);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--color-pop);
    transform: translateX(5px);
}

.company-info {
    background: rgba(156, 121, 108, 0.1);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(156, 121, 108, 0.2);
}

.company-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.company-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.company-tagline {
    font-size: 0.9rem;
    color: var(--color-pop);
    font-weight: 500;
}

.contact-info {
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #cccccc;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(156, 121, 108, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-pop);
    flex-shrink: 0;
    margin-top: 2px;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.payment-item {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2c2c2c;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(156, 121, 108, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-pop);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-link:hover {
    background: var(--color-pop);
    color: white;
    transform: translateY(-3px) scale(1.1);
}

.footer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(156, 121, 108, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(156, 121, 108, 0.2);
}

.footer-stat {
    text-align: center;
}

.footer-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-pop);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-stat-label {
    color: #cccccc;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-bottom {
    border-top: 1px solid rgba(156, 121, 108, 0.3);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #cccccc;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-pop);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    font-size: 1.25rem;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
}

/* Button Effects */
.btn-primary:active {
    animation: pulse 0.3s ease;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.product-card * {
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .search-input {
        width: 200px;
    }

    .logo-text {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .stats-section {
        margin: 1rem;
        padding: 0 1rem;
    }

    .stats-container {
        padding: 1.5rem 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .special-offers-section {
        padding: 2rem 1rem;
    }

    .popular-products-section {
        padding: 2rem 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .product-card {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonial-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .testimonial-item {
        padding: 0 1rem;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .testimonial-content {
        font-size: 1rem;
    }
    
    .feedback-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .feedback-header h2 {
        font-size: 2rem;
    }
    
    .rating-input {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    #ratingText {
        margin-left: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-item {
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .payment-methods,
    .social-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-card {
        padding: 1rem;
    }

    .product-name {
        font-size: 1.125rem;
    }

    .current-price {
        font-size: 1.125rem;
    }

    .popular-products-section {
        padding: 1.5rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .testimonial-section,
    .feedback-section {
        padding: 2rem 1rem;
    }
    
    .testimonial-header h2,
    .feedback-header h2 {
        font-size: 1.75rem;
    }
    
    .testimonial-content {
        font-size: 0.95rem;
    }
    
    .footer-stat-number {
        font-size: 1.5rem;
    }
    
    .company-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .star {
        font-size: 1.25rem;
    }
}
/* FIXED TESTIMONIAL SECTION - Ganti di styles.css */

/* Enhanced Testimonial Section - FIXED VERSION */
.testimonial-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.testimonial-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-container {
    position: relative;
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(52, 152, 219, 0.2);
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    flex: 1;
    align-items: center;
}

.testimonial-item {
    min-width: 100%;
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    color: #f39c12;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimonial-content {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    flex: 1;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-pop);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-shrink: 0;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--color-medium);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-btn:hover {
    background: var(--color-pop);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.testimonial-btn:active {
    transform: scale(0.95);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-shrink: 0;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(156, 121, 108, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-dot:hover {
    background: rgba(156, 121, 108, 0.6);
    transform: scale(1.1);
}

.testimonial-dot.active {
    background: var(--color-pop);
    transform: scale(1.2);
    border-color: rgba(156, 121, 108, 0.3);
}

/* Mobile Responsive untuk Testimonials */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 3rem 1rem;
    }

    .testimonial-container {
        padding: 2rem 1rem;
        margin: 0;
        min-height: 400px;
    }
    
    .testimonial-item {
        padding: 1rem;
    }
    
    .testimonial-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-content {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }

    .testimonial-rating {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .testimonial-author {
        font-size: 1rem;
    }

    .testimonial-role {
        font-size: 0.85rem;
    }

    .testimonial-controls {
        margin-top: 1.5rem;
    }

    .testimonial-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .testimonial-container {
        padding: 1.5rem 1rem;
        min-height: 350px;
    }

    .testimonial-item {
        padding: 0.5rem;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .testimonial-content {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0;
    }

    .testimonial-rating {
        font-size: 1rem;
    }

    .testimonial-header h2 {
        font-size: 1.8rem;
    }

    .testimonial-header p {
        font-size: 1rem;
    }

    .testimonial-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonial-dots {
        gap: 0.5rem;
    }

    .testimonial-dot {
        width: 10px;
        height: 10px;
    }
}

/* Fix untuk overflow dan layout issues */
.testimonial-container * {
    box-sizing: border-box;
}

/* Smooth animation untuk slider */
.testimonial-slider {
    will-change: transform;
}

/* Prevent text selection pada kontrol */
.testimonial-btn,
.testimonial-dot {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* Loading state untuk testimonials */
.testimonial-container.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility improvements */
.testimonial-btn:focus,
.testimonial-dot:focus {
    outline: 2px solid var(--color-pop);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .testimonial-container {
        border: 2px solid var(--text-primary);
    }
    
    .testimonial-btn {
        border: 2px solid var(--text-primary);
    }
}

/* TAMBAHKAN CSS INI KE styles.css ANDA */

/* Updated Special Offers Section - 2 Rows dengan Pagination */
.special-offers-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.offers-container {
    position: relative;
}

/* Updated Offers Grid - 2 Rows Layout */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    min-height: 320px;
    align-items: stretch;
}

.offer-card {
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--color-light);
    border-color: var(--color-pop);
}

.offer-card.hidden {
    display: none;
}

.robux-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-pop) 0%, var(--color-pop-light) 100%) !important;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.offer-card:hover .robux-icon {
    transform: scale(1.1) rotate(5deg);
}

.robux-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.offer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.offer-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-pop);
    margin-bottom: 0.5rem;
}

.offer-robux {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.offer-status {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.status-available {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.status-out {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

/* Pagination Controls */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--color-medium);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--color-pop);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pagination-info {
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    font-weight: 600;
    color: var(--text-primary);
    min-width: 120px;
    text-align: center;
}

.pagination-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(156, 121, 108, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: var(--color-pop);
    transform: scale(1.3);
}

.pagination-dot:hover {
    background: rgba(156, 121, 108, 0.6);
    transform: scale(1.1);
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.offer-card.slide-in {
    animation: slideIn 0.4s ease-out forwards;
}

/* Responsive Design untuk Pagination */
@media (max-width: 1024px) {
    .offers-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .offer-card {
        padding: 1rem;
    }
    
    .robux-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 0.75rem;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-dots {
        order: -1;
    }
    
    .pagination-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .pagination-info {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        min-width: 100px;
    }
}
/* BALANCED ENHANCED POPULAR PRODUCTS - SMOOTH ANIMATIONS */

/* Popular Products Section */
.popular-products-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* Animated decorative line */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--color-pop) 0%, var(--color-pop-light) 100%);
    border-radius: 2px;
    animation: lineGrow 1s ease-out 0.5s forwards;
}

@keyframes lineGrow {
    to { width: 60px; }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

/* Enhanced grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ENHANCED PRODUCT CARD with BALANCED ANIMATIONS */
.product-card {
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(156, 121, 108, 0.2);
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(156, 121, 108, 0.15);
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideIn 0.6s ease-out forwards;
}

/* Staggered card animation */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle floating animation */
.product-card {
    animation: cardSlideIn 0.6s ease-out forwards, 
               gentleFloat 6s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.product-card:nth-child(even) {
    animation-delay: 0.2s, 3s;
}

/* Enhanced hover effects */
.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(156, 121, 108, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-pop);
}

/* Subtle shimmer effect */
.product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(156, 121, 108, 0.1),
        transparent
    );
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.product-card:hover::before {
    opacity: 1;
}

/* Enhanced badge with animation */
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    transform: scale(0);
    animation: badgePopIn 0.5s ease-out 0.8s forwards;
}

@keyframes badgePopIn {
    0% { transform: scale(0) rotate(-180deg); }
    80% { transform: scale(1.1) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.product-card:hover .product-badge {
    transform: scale(1.05) rotate(-5deg);
    animation: badgeWiggle 0.5s ease-in-out;
}

@keyframes badgeWiggle {
    0%, 100% { transform: scale(1.05) rotate(-5deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* Enhanced image container */
.product-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(156, 121, 108, 0.1), rgba(201, 167, 147, 0.1));
    overflow: hidden;
}

/* Animated glow effect */
.product-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(156, 121, 108, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: all 0.4s ease;
    opacity: 0.6;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.1); }
}

.product-card:hover .product-image-container::before {
    width: 110px;
    height: 110px;
    opacity: 1;
}

/* Enhanced icon with smooth animation */
.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9c796c 0%, #C9A793 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(156, 121, 108, 0.3);
    animation: iconBounceIn 0.6s ease-out 0.5s both;
}

@keyframes iconBounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.product-card:hover .product-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(156, 121, 108, 0.4);
}

/* Enhanced product info */
.product-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: textSlideIn 0.5s ease-out 0.6s forwards;
}

@keyframes textSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover .product-name {
    color: #9c796c;
    transform: scale(1.02);
}

/* Enhanced price with animation */
.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #9c796c;
    padding: 0.25rem 0.75rem;
    background: rgba(156, 121, 108, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    animation: pricePopIn 0.4s ease-out 0.7s forwards;
}

@keyframes pricePopIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-card:hover .current-price {
    background: rgba(156, 121, 108, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(156, 121, 108, 0.2);
}

.original-price {
    font-size: 1rem;
    color: #8a8a8a;
    text-decoration: line-through;
    opacity: 0;
    animation: textSlideIn 0.4s ease-out 0.8s forwards;
}

/* Enhanced status with pulse */
.product-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(39, 174, 96, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    animation: textSlideIn 0.4s ease-out 0.9s forwards;
}

.product-card:hover .product-status {
    background: rgba(39, 174, 96, 0.15);
    border-color: rgba(39, 174, 96, 0.3);
    transform: scale(1.02);
}

.product-status i {
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Enhanced button with shine effect */
.product-buy-btn {
    width: 100%;
    background: linear-gradient(135deg, #9c796c 0%, #C9A793 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(156, 121, 108, 0.3);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    animation: textSlideIn 0.4s ease-out 1s forwards;
}

/* Button shine effect */
.product-buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.product-buy-btn:hover::before {
    left: 100%;
}

.product-buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(156, 121, 108, 0.4);
    background: linear-gradient(135deg, #8b6f63 0%, #B8A085 100%);
}

.product-buy-btn:active {
    transform: translateY(-1px);
}

/* Disabled state */
.product-buy-btn:disabled {
    background: #95a5a6 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    transform: none !important;
}

/* Enhanced section CTA */
.section-cta {
    text-align: center;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 1.2s forwards;
}

.section-cta .btn {
    background: linear-gradient(135deg, #9c796c 0%, #C9A793 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(156, 121, 108, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.section-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.section-cta .btn:hover::before {
    left: 100%;
}

.section-cta .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(156, 121, 108, 0.4);
}

/* Base fadeInUp animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.25rem;
    }
    
    .product-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .product-name {
        font-size: 1.125rem;
    }
    
    .current-price {
        font-size: 1.25rem;
    }
}
/* SIMPLE ENHANCED TESTIMONIALS - MATCHING UI COLORS */

/* Enhanced Testimonial Section */
.testimonial-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.testimonial-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Testimonial Container */
.testimonial-container {
    position: relative;
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 
        0 15px 35px rgba(156, 121, 108, 0.2),
        0 8px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(156, 121, 108, 0.2);
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-container:hover {
    box-shadow: 
        0 20px 45px rgba(156, 121, 108, 0.25),
        0 12px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Enhanced Testimonial Slider */
.testimonial-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    flex: 1;
    align-items: center;
}

.testimonial-item {
    min-width: 100%;
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Enhanced Avatar */
.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-pop) 0%, var(--color-pop-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(156, 121, 108, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.testimonial-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(156, 121, 108, 0.4);
}

/* Enhanced Rating Stars */
.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    color: #f39c12;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.testimonial-rating i {
    transition: all 0.2s ease;
}

.testimonial-rating i:hover {
    transform: scale(1.2);
    color: #e67e22;
}

/* Enhanced Content */
.testimonial-content {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    flex: 1;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

/* Simple quote styling */
.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 2rem;
    color: rgba(156, 121, 108, 0.3);
    position: absolute;
    font-family: serif;
    line-height: 1;
}

.testimonial-content::before {
    top: -10px;
    left: 10px;
}

.testimonial-content::after {
    bottom: -15px;
    right: 10px;
}

/* Enhanced Author Info */
.testimonial-author {
    font-weight: 700;
    color: var(--color-pop);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Enhanced Controls */
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-shrink: 0;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--color-medium);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(156, 121, 108, 0.2);
}

.testimonial-btn:hover {
    background: var(--color-pop);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(156, 121, 108, 0.3);
}

.testimonial-btn:active {
    transform: scale(1.05);
}

/* Enhanced Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-shrink: 0;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(156, 121, 108, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot:hover {
    background: rgba(156, 121, 108, 0.6);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: var(--color-pop);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(156, 121, 108, 0.4);
}

/* Simple fade animation for testimonials */
.testimonial-item {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Smooth container entrance */
.testimonial-container {
    opacity: 0;
    transform: translateY(20px);
    animation: containerFadeIn 0.8s ease-out 0.3s forwards;
}

@keyframes containerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 3rem 1rem;
    }

    .testimonial-container {
        padding: 2rem 1rem;
        margin: 0;
        min-height: 400px;
    }
    
    .testimonial-item {
        padding: 1rem;
    }
    
    .testimonial-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-content {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }

    .testimonial-rating {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .testimonial-author {
        font-size: 1rem;
    }

    .testimonial-role {
        font-size: 0.85rem;
    }

    .testimonial-controls {
        margin-top: 1.5rem;
    }

    .testimonial-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .testimonial-container {
        padding: 1.5rem 1rem;
        min-height: 350px;
    }

    .testimonial-item {
        padding: 0.5rem;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .testimonial-content {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0;
    }

    .testimonial-rating {
        font-size: 1rem;
    }

    .testimonial-header h2 {
        font-size: 1.8rem;
    }

    .testimonial-header p {
        font-size: 1rem;
    }

    .testimonial-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonial-dots {
        gap: 0.5rem;
    }

    .testimonial-dot {
        width: 10px;
        height: 10px;
    }
}
/* ENHANCED HEADER & SEARCH - TAMBAHKAN KE styles.css */

/* Enhanced Header Styles */
.header {
    background: rgba(231, 226, 224, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(156, 121, 108, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(156, 121, 108, 0.1);
}

/* Header scroll effect */
.header.scrolled {
    background: rgba(231, 226, 224, 1);
    box-shadow: 0 4px 30px rgba(156, 121, 108, 0.15);
    border-bottom-color: rgba(156, 121, 108, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s ease;
}

.header.scrolled .header-container {
    padding: 0.75rem 2rem;
}

/* Enhanced Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(156, 121, 108, 0.3);
    transition: all 0.3s ease;
}

.logo:hover .logo-image {
    box-shadow: 0 6px 20px rgba(156, 121, 108, 0.4);
    transform: rotate(-2deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .lapak {
    color: #C9A793;
    font-size: 1.4rem;
    font-weight: 800;
    transition: color 0.3s ease;
}

.logo-text .ayang {
    color: #9c796c;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    transition: color 0.3s ease;
}

.logo:hover .logo-text .lapak {
    color: #9c796c;
}

.logo:hover .logo-text .ayang {
    color: #8b6f63;
}

/* Enhanced Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-item a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.nav-item a:hover {
    color: var(--color-pop);
    background: rgba(156, 121, 108, 0.1);
    transform: translateY(-1px);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-pop);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item a:hover::after {
    width: 80%;
}

/* ENHANCED SEARCH CONTAINER */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 320px;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid var(--color-medium);
    border-radius: 25px;
    background: rgba(231, 226, 224, 0.8);
    backdrop-filter: blur(10px);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-weight: 500;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-pop);
    box-shadow: 0 0 0 3px rgba(156, 121, 108, 0.1);
    background: rgba(231, 226, 224, 1);
    width: 350px;
}

.search-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    z-index: 1;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-container:hover .search-icon,
.search-input:focus + .search-icon {
    color: var(--color-pop);
    transform: scale(1.1);
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(231, 226, 224, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(156, 121, 108, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(156, 121, 108, 0.2);
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 5px;
}

.search-results.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(156, 121, 108, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-result-item:hover {
    background: rgba(156, 121, 108, 0.1);
    transform: translateX(5px);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--color-pop) 0%, var(--color-pop-light) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.search-result-price {
    font-size: 0.8rem;
    color: var(--color-pop);
    font-weight: 500;
}

.search-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

/* Enhanced Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: var(--color-medium);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.icon-btn:hover {
    background: var(--color-pop);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(156, 121, 108, 0.3);
}

.icon-btn:active {
    transform: translateY(-1px);
}

/* Enhanced Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--color-pop);
    transform: scale(1.1);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .search-input {
        width: 200px;
        font-size: 0.8rem;
    }

    .search-input:focus {
        width: 220px;
    }

    .logo-text {
        display: none;
    }

    .header-container {
        padding: 1rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .search-input {
        width: 150px;
        padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    }

    .search-input:focus {
        width: 170px;
    }

    .search-icon {
        left: 0.75rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }
}
/* HORIZONTAL PRODUCTS SLIDER - SINGLE ROW */

/* Enhanced Popular Products Section - Slider Version */
.popular-products-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-pop);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Products Slider Container */
.products-slider-container {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 60px; /* Space for navigation buttons */
}

/* Products Slider */
.products-slider {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.products-grid {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Product Card - Optimized for Slider */
.product-card {
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(156, 121, 108, 0.2);
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(156, 121, 108, 0.15);
    min-width: 280px;
    flex-shrink: 0;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(156, 121, 108, 0.25);
    border-color: var(--color-pop);
}

/* Enhanced Product Badge */
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    transition: transform 0.3s ease;
}

.product-card:hover .product-badge {
    transform: scale(1.05) rotate(-5deg);
}

/* Enhanced Image Container */
.product-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(156, 121, 108, 0.1), rgba(201, 167, 147, 0.1));
}

.product-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(156, 121, 108, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.product-card:hover .product-image-container::before {
    width: 100px;
    height: 100px;
    opacity: 1;
}

/* Enhanced Product Icon */
.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9c796c 0%, #C9A793 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(156, 121, 108, 0.3);
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(156, 121, 108, 0.4);
}

/* Enhanced Product Info */
.product-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: #9c796c;
}

/* Enhanced Price */
.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #9c796c;
    padding: 0.25rem 0.75rem;
    background: rgba(156, 121, 108, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.product-card:hover .current-price {
    background: rgba(156, 121, 108, 0.2);
    transform: scale(1.02);
}

.original-price {
    font-size: 1rem;
    color: #8a8a8a;
    text-decoration: line-through;
}

/* Enhanced Status */
.product-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(39, 174, 96, 0.2);
    transition: all 0.3s ease;
}

.product-card:hover .product-status {
    background: rgba(39, 174, 96, 0.15);
    border-color: rgba(39, 174, 96, 0.3);
}

/* Enhanced Buy Button */
.product-buy-btn {
    width: 100%;
    background: linear-gradient(135deg, #9c796c 0%, #C9A793 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(156, 121, 108, 0.3);
}

.product-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(156, 121, 108, 0.4);
    background: linear-gradient(135deg, #8b6f63 0%, #B8A085 100%);
}

.product-buy-btn:disabled {
    background: #95a5a6 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    transform: none !important;
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(156, 121, 108, 0.2);
    border-radius: 50%;
    color: var(--color-pop);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(156, 121, 108, 0.2);
}

.slider-nav:hover {
    background: var(--color-pop);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(156, 121, 108, 0.3);
}

.slider-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

.slider-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%) !important;
    background: rgba(231, 226, 224, 0.5) !important;
    color: var(--text-light) !important;
}

/* Slider Dots Indicator */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(156, 121, 108, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(156, 121, 108, 0.6);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--color-pop);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(156, 121, 108, 0.4);
}

/* Enhanced Section CTA */
.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.section-cta .btn {
    background: linear-gradient(135deg, #9c796c 0%, #C9A793 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(156, 121, 108, 0.3);
    border: none;
    cursor: pointer;
}

.section-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(156, 121, 108, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .products-slider-container {
        padding: 0 50px;
    }
    
    .product-card {
        min-width: 250px;
        padding: 1.25rem;
    }
    
    .product-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slider-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .products-slider-container {
        padding: 0 40px;
    }
    
    .product-card {
        min-width: 220px;
        padding: 1rem;
    }
    
    .product-name {
        font-size: 1.125rem;
    }
    
    .current-price {
        font-size: 1.25rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-nav.prev {
        left: 5px;
    }
    
    .slider-nav.next {
        right: 5px;
    }
}
/* ESSENTIAL MOBILE CSS - Tambahin ke styles.css yang sudah ada */

/* Mobile Menu Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s ease;
}

.mobile-overlay.show {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu {
    background: var(--color-light);
    height: 100%;
    width: 280px;
    padding: 1rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(156, 121, 108, 0.2);
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--color-pop);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu nav a {
    padding: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(156, 121, 108, 0.1);
    transition: all 0.2s ease;
}

.mobile-menu nav a:hover {
    background: rgba(156, 121, 108, 0.1);
    color: var(--color-pop);
    padding-left: 1.5rem;
}

/* Simple Modal */
.simple-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.simple-modal.show {
    opacity: 1;
}

.modal-content {
    background: var(--color-light);
    padding: 2rem;
    border-radius: 15px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.simple-modal.show .modal-content {
    transform: translateY(0);
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
}

.modal-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn.primary {
    background: var(--color-pop);
    color: white;
}

.modal-btn.secondary {
    background: rgba(156, 121, 108, 0.2);
    color: var(--text-primary);
}

.modal-btn:active {
    transform: scale(0.98);
}

/* Touch Feedback */
.offer-card:active,
.product-card:active {
    transform: scale(0.98) !important;
}

.product-buy-btn:active {
    transform: scale(0.96) !important;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    /* Header adjustments */
    .header-container {
        padding: 1rem;
    }
    
    .search-input {
        width: 180px;
    }
    
    /* Hero section */
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Offers grid */
    .offers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }
    
    .offer-card {
        padding: 1rem;
    }
    
    .robux-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* Testimonials */
    .testimonial-container {
        margin: 0 1rem;
        padding: 2rem 1rem;
    }
    
    .testimonial-content {
        font-size: 1rem;
    }
    
    /* Products grid */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Very small screens */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .offers-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-container {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }
}

/* Prevent text selection on touch */
.offer-card,
.product-card,
.testimonial-btn,
.pagination-btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Better button touch targets */
@media (max-width: 768px) {
    .btn,
    .product-buy-btn,
    .testimonial-btn,
    .pagination-btn {
        min-height: 44px; /* iOS recommendation */
        min-width: 44px;
    }
}

/* Loading animation for mobile */
@keyframes mobileLoading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mobile-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(156, 121, 108, 0.3);
    border-top: 2px solid var(--color-pop);
    border-radius: 50%;
    animation: mobileLoading 1s linear infinite;
}
/* Category Filter System Styles */
/* Add this to your styles.css file */

.category-filter {
    margin: 2rem 0;
    padding: 0;
    width: 100%;
}

.category-filter-container {
    background: rgba(231, 226, 224, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(156, 121, 108, 0.2);
    box-shadow: 0 8px 32px rgba(156, 121, 108, 0.1);
}

.category-filter-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-filter-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c2c2c;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.category-filter-header p {
    margin: 0;
    color: #5a5a5a;
    font-size: 1rem;
    font-weight: 500;
}

.category-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 0;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    border: 2px solid;
    background: rgba(231, 226, 224, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(156, 121, 108, 0.2);
}

.category-btn.active {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(156, 121, 108, 0.3);
}

.category-btn i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.category-btn:hover i {
    transform: scale(1.1);
}

.category-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
}

.category-count {
    font-size: 0.8rem;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 700;
    min-width: 30px;
    display: inline-block;
}

.category-btn.active .category-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Empty Category State */
.empty-category-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(231, 226, 224, 0.6);
    border-radius: 20px;
    border: 2px dashed rgba(156, 121, 108, 0.3);
    margin: 2rem 0;
}

.empty-category-state h3 {
    margin: 1rem 0 0.5rem 0;
    color: #2c2c2c;
    font-size: 1.5rem;
}

.empty-category-state p {
    margin: 0 0 1.5rem 0;
    color: #5a5a5a;
    font-size: 1rem;
}

.empty-category-state button {
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.empty-category-state button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Category Indicator on Product Cards */
.product-card {
    position: relative;
}

.category-indicator {
    z-index: 2;
    font-size: 0.7rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Enhanced Product Cards for Category System */
.product-card[data-category="robux"] {
    border-left: 4px solid #9c796c;
}

.product-card[data-category="gamepass"] {
    border-left: 4px solid #3498db;
}

.product-card[data-category="items"] {
    border-left: 4px solid #e74c3c;
}

/* Product Robux Display */
.product-robux {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9c796c;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-robux::before {
    content: '💎';
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .category-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-btn {
        padding: 1.25rem 0.75rem;
    }
    
    .category-btn i {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .category-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .category-filter-container {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .category-filter-header h3 {
        font-size: 1.25rem;
    }
    
    .category-filter-header p {
        font-size: 0.9rem;
    }
    
    .category-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .category-btn {
        padding: 1rem 0.5rem;
        border-radius: 12px;
    }
    
    .category-btn i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .category-label {
        font-size: 0.85rem;
    }
    
    .category-count {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 480px) {
    .category-filter-container {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .category-filter-header {
        margin-bottom: 1.5rem;
    }
    
    .category-filter-header h3 {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .category-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.75rem 0.25rem;
        border-radius: 10px;
    }
    
    .category-btn i {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .category-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .category-count {
        font-size: 0.7rem;
        padding: 0.15rem 0.3rem;
        margin-top: 0.25rem;
    }
    
    .empty-category-state {
        padding: 2rem 1rem;
    }
    
    .empty-category-state h3 {
        font-size: 1.25rem;
    }
    
    .empty-category-state p {
        font-size: 0.9rem;
    }
}

/* Animation for category switching */
@keyframes categoryFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offers-grid {
    animation: categoryFadeIn 0.5s ease-out;
}

/* Loading state for category switching */
.category-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.category-loading i {
    font-size: 2rem;
    color: #9c796c;
    animation: spin 1s linear infinite;
    margin-right: 1rem;
}

/* Enhanced section titles for categories */
.special-offers-section .section-title {
    transition: all 0.3s ease;
}

.special-offers-section .section-subtitle {
    transition: all 0.3s ease;
}

/* Category-specific colors for section titles */
.category-robux .section-title span {
    color: #9c796c !important;
}

.category-gamepass .section-title span {
    color: #3498db !important;
}

.category-items .section-title span {
    color: #e74c3c !important;
}
/* FORCE MOBILE LAYOUT - Tambahkan ini di akhir styles.css */
@media (max-width: 768px) {
    .products-slider-container {
        padding: 0 20px !important;
        overflow-x: auto !important;
    }
    
    .products-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 1rem !important;
    }
    
    .product-card {
        min-width: 250px !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
    }
    
    .slider-nav {
        display: none !important;
    }
}
/* MOBILE CENTER FIX - TAMBAHKAN KE BAGIAN PALING BAWAH styles.css */

/* Mobile Detection yang lebih kuat */
@media screen and (max-width: 768px) {
    
    /* FORCE Mobile Layout untuk Popular Products */
    .popular-products-section .products-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 1rem !important;
        padding: 0 1rem 1rem 1rem !important;
        
        /* Remove grid properties */
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-gap: unset !important;
        
        /* Center the scrollable area */
        justify-content: flex-start !important;
        align-items: stretch !important;
    }
    
    /* Mobile Product Cards - Fixed Width */
    .popular-products-section .product-card {
        min-width: 280px !important;
        max-width: 280px !important;
        width: 280px !important;
        flex: 0 0 280px !important;
        scroll-snap-align: start !important;
        
        /* Ensure proper spacing */
        margin: 0 !important;
        padding: 1.25rem !important;
        
        /* Prevent shrinking */
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    /* Hide Desktop Navigation pada Mobile */
    .popular-products-section .slider-nav,
    .popular-products-section .slider-dots,
    .products-slider-container .slider-nav,
    .products-slider-container .slider-dots {
        display: none !important;
    }
    
    /* Styling untuk container */
    .popular-products-section .products-slider-container {
        padding: 0 !important;
        overflow: visible !important;
    }
    
    .popular-products-section .products-slider {
        overflow: visible !important;
        border-radius: 0 !important;
    }
    
    /* Mobile Responsive Content */
    .popular-products-section .product-icon {
        width: 70px !important;
        height: 70px !important;
        font-size: 1.5rem !important;
    }
    
    .popular-products-section .product-image-container {
        height: 100px !important;
        margin-bottom: 1rem !important;
    }
    
    .popular-products-section .product-name {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.75rem !important;
    }
    
    .popular-products-section .product-description {
        font-size: 0.8rem !important;
        height: 2.4rem !important;
        margin: 0.5rem 0 0.75rem 0 !important;
        line-height: 1.4 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    .popular-products-section .current-price {
        font-size: 1.2rem !important;
    }
    
    .popular-products-section .product-buy-btn {
        padding: 0.9rem 1rem !important;
        font-size: 0.95rem !important;
        min-height: 44px !important;
        width: 100% !important;
    }
    
    /* Custom Scrollbar untuk Mobile */
    .popular-products-section .products-grid::-webkit-scrollbar {
        height: 8px !important;
    }
    
    .popular-products-section .products-grid::-webkit-scrollbar-track {
        background: rgba(156, 121, 108, 0.1) !important;
        border-radius: 4px !important;
        margin: 0 1rem !important;
    }
    
    .popular-products-section .products-grid::-webkit-scrollbar-thumb {
        background: rgba(156, 121, 108, 0.4) !important;
        border-radius: 4px !important;
    }
    
    .popular-products-section .products-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(156, 121, 108, 0.6) !important;
    }
    
    /* Swipe Indicator */
    .popular-products-section::after {
        content: "← Geser untuk melihat lebih banyak →" !important;
        display: block !important;
        text-align: center !important;
        font-size: 0.8rem !important;
        color: rgba(156, 121, 108, 0.7) !important;
        margin-top: 1rem !important;
        font-style: italic !important;
        padding: 0 1rem !important;
    }
}

/* Very Small Mobile Adjustment */
@media screen and (max-width: 480px) {
    
    .popular-products-section .product-card {
        min-width: 250px !important;
        max-width: 250px !important;
        width: 250px !important;
        flex: 0 0 250px !important;
        padding: 1rem !important;
    }
    
    .popular-products-section .product-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.25rem !important;
    }
    
    .popular-products-section .product-image-container {
        height: 80px !important;
        margin-bottom: 0.75rem !important;
    }
    
    .popular-products-section .product-name {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .popular-products-section .product-description {
        font-size: 0.75rem !important;
        height: 2rem !important;
        margin: 0.25rem 0 0.5rem 0 !important;
    }
    
    .popular-products-section .current-price {
        font-size: 1.1rem !important;
    }
    
    .popular-products-section .product-buy-btn {
        padding: 0.8rem 0.75rem !important;
        font-size: 0.9rem !important;
    }
    
    .popular-products-section::after {
        content: "← Geser →" !important;
        font-size: 0.75rem !important;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .popular-products-section .product-card * {
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .popular-products-section .product-card:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
    
    .popular-products-section .product-buy-btn:active {
        transform: scale(0.96) !important;
        transition: transform 0.1s ease !important;
    }
}

/* Landscape Mobile */
@media screen and (max-width: 1024px) and (orientation: landscape) and (max-height: 768px) {
    .popular-products-section .products-grid {
        display: flex !important;
        overflow-x: auto !important;
        grid-template-columns: none !important;
    }
    
    .popular-products-section .product-card {
        min-width: 300px !important;
        flex: 0 0 300px !important;
    }
}
/* PERBAIKAN LAYOUT PRODUK POPULER - TAMBAHKAN KE styles.css */

/* Popular Products Section - Desktop Layout Fix */
.popular-products-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Desktop Products Grid - Centered Layout */
.popular-products-section .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0 auto 3rem;
    max-width: 1200px;
    justify-content: center;
    align-items: start;
    
    /* Ensure proper centering */
    place-items: center;
    place-content: center;
}

/* Desktop - Specific 4 column layout for better control */
@media (min-width: 1200px) {
    .popular-products-section .products-grid {
        grid-template-columns: repeat(4, 280px);
        justify-content: center;
        max-width: 1200px;
    }
}

/* Tablet - 3 columns */
@media (min-width: 900px) and (max-width: 1199px) {
    .popular-products-section .products-grid {
        grid-template-columns: repeat(3, 280px);
        justify-content: center;
        max-width: 900px;
    }
}

/* Small tablet - 2 columns */
@media (min-width: 600px) and (max-width: 899px) {
    .popular-products-section .products-grid {
        grid-template-columns: repeat(2, 280px);
        justify-content: center;
        max-width: 600px;
        gap: 1.5rem;
    }
}

/* Enhanced Product Card - Consistent sizing */
.popular-products-section .product-card {
    width: 280px;
    max-width: 280px;
    min-height: 420px;
    background: rgba(231, 226, 224, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(156, 121, 108, 0.2);
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(156, 121, 108, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* Centering within grid cell */
    justify-self: center;
    align-self: start;
}

.popular-products-section .product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(156, 121, 108, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-pop);
}

/* Product Image Container - Consistent sizing */
.popular-products-section .product-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(156, 121, 108, 0.1), rgba(201, 167, 147, 0.1));
}

/* Product Info - Consistent spacing */
.popular-products-section .product-info {
    text-align: center;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popular-products-section .product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 0.75rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}

.popular-products-section .product-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 1rem 0;
    line-height: 1.4;
    text-align: center;
    height: 3.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Product Price - Consistent layout */
.popular-products-section .product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    min-height: 2rem;
}

/* Buy Button - Consistent size */
.popular-products-section .product-buy-btn {
    width: 100%;
    background: linear-gradient(135deg, #9c796c 0%, #C9A793 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(156, 121, 108, 0.3);
    min-height: 48px;
    margin-top: auto;
}

/* Section CTA - Centered */
.popular-products-section .section-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* MOBILE OVERRIDE - Horizontal Scroll */
@media (max-width: 768px) {
    .popular-products-section .products-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 1rem !important;
        padding: 0 1rem 1rem 1rem !important;
        
        /* Remove grid properties for mobile */
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        place-items: unset !important;
        place-content: unset !important;
        
        /* Mobile scroll layout */
        justify-content: flex-start !important;
        align-items: stretch !important;
        max-width: none !important;
        margin: 0 0 2rem 0 !important;
    }
    
    .popular-products-section .product-card {
        min-width: 280px !important;
        max-width: 280px !important;
        width: 280px !important;
        flex: 0 0 280px !important;
        scroll-snap-align: start !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        margin: 0 !important;
        padding: 1.25rem !important;
        justify-self: unset !important;
        align-self: unset !important;
    }
    
    /* Custom scrollbar for mobile */
    .popular-products-section .products-grid::-webkit-scrollbar {
        height: 8px !important;
    }
    
    .popular-products-section .products-grid::-webkit-scrollbar-track {
        background: rgba(156, 121, 108, 0.1) !important;
        border-radius: 4px !important;
        margin: 0 1rem !important;
    }
    
    .popular-products-section .products-grid::-webkit-scrollbar-thumb {
        background: rgba(156, 121, 108, 0.4) !important;
        border-radius: 4px !important;
    }
    
    /* Swipe indicator */
    .popular-products-section::after {
        content: "← Geser untuk melihat lebih banyak →" !important;
        display: block !important;
        text-align: center !important;
        font-size: 0.8rem !important;
        color: rgba(156, 121, 108, 0.7) !important;
        margin-top: 1rem !important;
        font-style: italic !important;
        padding: 0 1rem !important;
    }
}

/* Very small mobile */
@media (max-width: 480px) {
    .popular-products-section .product-card {
        min-width: 250px !important;
        max-width: 250px !important;
        width: 250px !important;
        flex: 0 0 250px !important;
        padding: 1rem !important;
    }
    
    .popular-products-section::after {
        content: "← Geser →" !important;
        font-size: 0.75rem !important;
    }
}

/* Loading state improvements */
.popular-products-section .loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #5a5a5a;
    grid-column: 1 / -1;
    text-align: center;
}

.popular-products-section .loading-spinner {
    font-size: 2rem;
    color: #9c796c;
    margin-bottom: 1rem;
}

.popular-products-section .loading-spinner i {
    animation: spin 1s linear infinite;
}

/* Empty state for categories */
.popular-products-section .empty-category-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(231, 226, 224, 0.6);
    border-radius: 20px;
    border: 2px dashed rgba(156, 121, 108, 0.3);
    margin: 2rem auto;
    max-width: 500px;
    grid-column: 1 / -1;
}

/* Ensure consistent centering across all screen sizes */
@media (min-width: 769px) {
    .popular-products-section .products-grid {
        margin-left: auto;
        margin-right: auto;
    }
}
/* CHROME ANDROID FIX - TAMBAHKAN KE BAGIAN PALING BAWAH styles.css */

/* Force Mobile Layout untuk Chrome Android - Priority CSS */
@media screen and (max-width: 768px) {
    
    /* PAKSA Mobile Layout dengan !important */
    .popular-products-section .products-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 1rem !important;
        padding: 0 1rem 1rem 1rem !important;
        
        /* HAPUS semua grid properties */
        grid-template-columns: unset !important;
        grid-template-rows: unset !important;
        grid-gap: unset !important;
        place-items: unset !important;
        place-content: unset !important;
        
        /* Mobile layout yang dipaksa */
        justify-content: flex-start !important;
        align-items: stretch !important;
        max-width: 100vw !important;
        width: 100% !important;
        margin: 0 0 2rem 0 !important;
        
        /* Chrome Android specific fixes */
        transform: translateZ(0) !important;
        will-change: scroll-position !important;
        -webkit-transform: translateZ(0) !important;
        backface-visibility: hidden !important;
    }
    
    /* Mobile Product Cards dengan sizing yang dipaksa */
    .popular-products-section .product-card {
        min-width: 280px !important;
        max-width: 280px !important;
        width: 280px !important;
        flex: 0 0 280px !important;
        scroll-snap-align: start !important;
        
        /* HAPUS grid properties */
        justify-self: unset !important;
        align-self: unset !important;
        place-self: unset !important;
        
        /* Prevent shrinking */
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        margin: 0 !important;
        padding: 1.25rem !important;
        
        /* Chrome Android optimization */
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        backface-visibility: hidden !important;
    }
    
    /* Pastikan container tidak menggunakan grid */
    .popular-products-section .products-slider-container {
        padding: 0 !important;
        overflow: visible !important;
    }
    
    .popular-products-section .products-slider {
        overflow: visible !important;
        border-radius: 0 !important;
    }
    
    /* Hide navigation untuk mobile */
    .popular-products-section .slider-nav,
    .popular-products-section .slider-dots,
    .products-slider-container .slider-nav,
    .products-slider-container .slider-dots {
        display: none !important;
    }
    
    /* Styling untuk scrollbar Chrome Android */
    .popular-products-section .products-grid::-webkit-scrollbar {
        height: 8px !important;
        background: transparent !important;
    }
    
    .popular-products-section .products-grid::-webkit-scrollbar-track {
        background: rgba(156, 121, 108, 0.1) !important;
        border-radius: 4px !important;
        margin: 0 1rem !important;
    }
    
    .popular-products-section .products-grid::-webkit-scrollbar-thumb {
        background: rgba(156, 121, 108, 0.4) !important;
        border-radius: 4px !important;
    }
    
    .popular-products-section .products-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(156, 121, 108, 0.6) !important;
    }
    
    /* Touch optimization untuk Chrome Android */
    .popular-products-section .product-card {
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
    }
    
    /* Smooth touch scroll */
    .popular-products-section .products-grid {
        scroll-behavior: smooth !important;
        -webkit-scroll-behavior: smooth !important;
    }
}

/* Extra Small Mobile - Chrome Android */
@media screen and (max-width: 480px) {
    .popular-products-section .product-card {
        min-width: 260px !important;
        max-width: 260px !important;
        width: 260px !important;
        flex: 0 0 260px !important;
        padding: 1rem !important;
    }
    
    .popular-products-section .product-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.25rem !important;
    }
    
    .popular-products-section .product-image-container {
        height: 80px !important;
        margin-bottom: 0.75rem !important;
    }
    
    .popular-products-section .product-name {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
        min-height: 2rem !important;
    }
    
    .popular-products-section .product-description {
        font-size: 0.75rem !important;
        height: 2.4rem !important;
        margin: 0.25rem 0 0.5rem 0 !important;
    }
}

/* Chrome Android specific - Force layout dengan JavaScript backup */
@supports (-webkit-touch-callout: none) {
    @media screen and (max-width: 768px) {
        .popular-products-section .products-grid {
            display: flex !important;
            flex-direction: row !important;
            overflow-x: scroll !important;
            overflow-y: hidden !important;
        }
        
        .popular-products-section .product-card {
            flex: none !important;
            min-width: 280px !important;
            width: 280px !important;
        }
    }
}

/* Samsung Internet & WebView fix */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
    .popular-products-section .products-grid {
        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-box-orient: horizontal !important;
        -webkit-box-direction: normal !important;
        -webkit-flex-direction: row !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }
    
    .popular-products-section .product-card {
        -webkit-box-flex: 0 !important;
        -webkit-flex: 0 0 280px !important;
        flex: 0 0 280px !important;
        min-width: 280px !important;
        width: 280px !important;
    }
}

/* Landscape mode pada mobile */
@media screen and (max-width: 1024px) and (orientation: landscape) and (max-height: 768px) {
    .popular-products-section .products-grid {
        display: flex !important;
        overflow-x: auto !important;
        grid-template-columns: none !important;
    }
    
    .popular-products-section .product-card {
        min-width: 300px !important;
        flex: 0 0 300px !important;
    }
}

/* Debug helper - hapus setelah testing */
.popular-products-section .products-grid[data-debug="true"] {
    border: 2px solid red !important;
    background: rgba(255, 0, 0, 0.1) !important;
}

.popular-products-section .product-card[data-debug="true"] {
    border: 1px solid blue !important;
    background: rgba(0, 0, 255, 0.1) !important;
}
/* SIMPLE MOBILE FIX - TAMBAHKAN DI PALING BAWAH styles.css */
/* Ini akan override semua CSS existing */

/* MOBILE DEVICE DETECTION YANG LEBIH AKURAT */
@media only screen and (max-width: 768px),
       only screen and (max-device-width: 768px),
       only screen and (orientation: portrait) and (max-width: 1024px) {
    
    /* PAKSA SECTION CONTAINER */
    .popular-products-section {
        overflow-x: hidden !important;
        padding: 2rem 0 !important;
    }
    
    /* PAKSA PRODUCTS GRID MENJADI HORIZONTAL SCROLL */
    .popular-products-section .products-grid {
        /* HAPUS GRID LAYOUT SEPENUHNYA */
        display: block !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        
        /* HAPUS SEMUA GRID PROPERTIES */
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-gap: unset !important;
        place-items: unset !important;
        place-content: unset !important;
        
        /* MOBILE SCROLL PROPERTIES */
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        padding: 0 1rem 1rem 1rem !important;
        margin: 0 !important;
        
        /* PERFORMANCE */
        will-change: scroll-position !important;
        transform: translateZ(0) !important;
    }
    
    /* PAKSA PRODUCT CARD MENJADI INLINE-BLOCK */
    .popular-products-section .product-card {
        /* INLINE BLOCK LAYOUT */
        display: inline-block !important;
        white-space: normal !important;
        vertical-align: top !important;
        
        /* FIXED SIZING */
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        
        /* SPACING */
        margin: 0 8px 0 0 !important;
        padding: 1.25rem !important;
        
        /* SCROLL SNAP */
        scroll-snap-align: start !important;
        
        /* REMOVE GRID PROPERTIES */
        justify-self: unset !important;
        align-self: unset !important;
        place-self: unset !important;
        grid-column: unset !important;
        grid-row: unset !important;
        
        /* MOBILE OPTIMIZATION */
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }
    
    /* LAST CARD MARGIN FIX */
    .popular-products-section .product-card:last-child {
        margin-right: 1rem !important;
    }
    
    /* HIDE NAVIGATION PADA MOBILE */
    .popular-products-section .slider-nav,
    .popular-products-section .slider-dots,
    .products-slider-container .slider-nav,
    .products-slider-container .slider-dots {
        display: none !important;
    }
    
    /* SCROLLBAR STYLING */
    .popular-products-section .products-grid::-webkit-scrollbar {
        height: 6px !important;
    }
    
    .popular-products-section .products-grid::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.1) !important;
        border-radius: 3px !important;
    }
    
    .popular-products-section .products-grid::-webkit-scrollbar-thumb {
        background: rgba(156, 121, 108, 0.5) !important;
        border-radius: 3px !important;
    }
    
    /* CONTAINER ADJUSTMENTS */
    .popular-products-section .products-slider-container {
        padding: 0 !important;
        overflow: visible !important;
    }
    
    .popular-products-section .products-slider {
        overflow: visible !important;
        border-radius: 0 !important;
    }
}

/* EXTRA SMALL MOBILE */
@media only screen and (max-width: 480px),
       only screen and (max-device-width: 480px) {
    
    .popular-products-section .product-card {
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        padding: 1rem !important;
        margin: 0 6px 0 0 !important;
    }
    
    .popular-products-section .product-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.25rem !important;
    }
    
    .popular-products-section .product-name {
        font-size: 1rem !important;
    }
    
    .popular-products-section .product-description {
        font-size: 0.75rem !important;
        height: 2rem !important;
    }
}

/* LANDSCAPE MOBILE */
@media only screen and (max-height: 500px) and (orientation: landscape) {
    .popular-products-section .products-grid {
        display: block !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
    }
    
    .popular-products-section .product-card {
        display: inline-block !important;
        width: 280px !important;
        margin: 0 8px 0 0 !important;
    }
}

/* CHROME ANDROID SPECIFIC */
@supports (-webkit-appearance: none) {
    @media only screen and (max-width: 768px) {
        .popular-products-section .products-grid {
            display: block !important;
            white-space: nowrap !important;
            overflow-x: scroll !important;
            -webkit-overflow-scrolling: touch !important;
        }
        
        .popular-products-section .product-card {
            display: inline-block !important;
            white-space: normal !important;
            width: 280px !important;
        }
    }
}

/* SAMSUNG INTERNET & WEBVIEW */
@media screen and (-webkit-min-device-pixel-ratio: 1) and (max-width: 768px) {
    .popular-products-section .products-grid {
        display: -webkit-box !important;
        -webkit-box-orient: horizontal !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
    
    .popular-products-section .product-card {
        display: inline-block !important;
        -webkit-box-flex: 0 !important;
        width: 280px !important;
        white-space: normal !important;
    }
}

/* FALLBACK UNTUK BROWSER LAMA */
@media handheld, only screen and (max-width: 768px) {
    .popular-products-section .products-grid {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
    
    .popular-products-section .product-card {
        display: inline-block !important;
        width: 280px !important;
        vertical-align: top !important;
        white-space: normal !important;
    }
}
/* RESPONSIVE MODAL FIX - TAMBAHKAN KE styles.css */

/* Modal responsif untuk mobile */
@media screen and (max-width: 768px) {
    
    /* Modal overlay - adjust untuk mobile */
    .simple-modal,
    div[style*="backdrop-filter: blur(5px)"] {
        padding: 0.5rem !important;
        align-items: flex-start !important;
        padding-top: 2rem !important;
    }
    
    /* Modal content - ukuran yang lebih kecil */
    .modal-content,
    div[style*="backdrop-filter: blur(5px)"] > div {
        max-width: 90vw !important;
        width: 90vw !important;
        max-height: 85vh !important;
        padding: 1.5rem !important;
        margin: 0 !important;
        border-radius: 12px !important;
        overflow-y: auto !important;
        transform: none !important;
    }
    
    /* Product info section dalam modal */
    .modal-content h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Product detail box */
    .modal-content div[style*="background: linear-gradient"] {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
        border-radius: 8px !important;
    }
    
    /* Product title dalam modal */
    .modal-content div[style*="font-size: 1.2rem"] {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Product description dalam modal */
    .modal-content div[style*="font-size: 0.9rem"] {
        font-size: 0.8rem !important;
        padding: 0.5rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }
    
    /* Price display */
    .modal-content div[style*="font-size: 1.5rem"] {
        font-size: 1.25rem !important;
    }
    
    /* Robux amount */
    .modal-content div[style*="font-size: 0.9rem; opacity: 0.9"] {
        font-size: 0.8rem !important;
    }
    
    /* Security badges container */
    .modal-content div[style*="display: flex; justify-content: center; gap: 1rem"] {
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Individual security badge */
    .modal-content div[style*="padding: 0.5rem 1rem"] {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.75rem !important;
        text-align: center !important;
    }
    
    /* Button container */
    .modal-content div[style*="display: flex; gap: 1rem"] {
        flex-direction: column !important;
        gap: 0.75rem !important;
        margin-top: 1rem !important;
    }
    
    /* Modal buttons */
    .modal-content button {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
        width: 100% !important;
    }
    
    /* Payment methods preview */
    .modal-content div[style*="margin-top: 1.5rem"] {
        margin-top: 1rem !important;
        padding-top: 0.75rem !important;
    }
    
    /* Payment method labels */
    .modal-content span[style*="padding: 0.25rem 0.5rem"] {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.65rem !important;
        margin: 0.1rem !important;
    }
    
    /* Icon dalam modal */
    .modal-content div[style*="width: 60px; height: 60px"] {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }
}

/* Extra small mobile */
@media screen and (max-width: 480px) {
    
    .modal-content,
    div[style*="backdrop-filter: blur(5px)"] > div {
        max-width: 95vw !important;
        width: 95vw !important;
        padding: 1rem !important;
        border-radius: 10px !important;
    }
    
    .modal-content h3 {
        font-size: 1.1rem !important;
    }
    
    .modal-content div[style*="background: linear-gradient"] {
        padding: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .modal-content div[style*="font-size: 1.2rem"] {
        font-size: 0.9rem !important;
    }
    
    .modal-content div[style*="font-size: 0.9rem"] {
        font-size: 0.75rem !important;
        padding: 0.4rem !important;
    }
    
    .modal-content div[style*="font-size: 1.5rem"] {
        font-size: 1.1rem !important;
    }
    
    .modal-content button {
        padding: 0.65rem 0.8rem !important;
        font-size: 0.85rem !important;
    }
    
    .modal-content div[style*="width: 60px; height: 60px"],
    .modal-content div[style*="width: 50px; height: 50px"] {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
}

/* Landscape mobile */
@media screen and (max-height: 600px) and (orientation: landscape) {
    
    .simple-modal,
    div[style*="backdrop-filter: blur(5px)"] {
        padding: 0.25rem !important;
        padding-top: 0.5rem !important;
        align-items: flex-start !important;
    }
    
    .modal-content,
    div[style*="backdrop-filter: blur(5px)"] > div {
        max-height: 90vh !important;
        padding: 1rem !important;
        overflow-y: auto !important;
    }
    
    .modal-content div[style*="background: linear-gradient"] {
        padding: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .modal-content div[style*="display: flex; justify-content: center; gap: 1rem"] {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
}

/* Tablet portrait */
@media screen and (min-width: 481px) and (max-width: 768px) {
    
    .modal-content,
    div[style*="backdrop-filter: blur(5px)"] > div {
        max-width: 80vw !important;
        width: 80vw !important;
        padding: 2rem !important;
    }
    
    .modal-content h3 {
        font-size: 1.3rem !important;
    }
    
    .modal-content div[style*="background: linear-gradient"] {
        padding: 1.25rem !important;
    }
}

/* Error modal responsif */
@media screen and (max-width: 768px) {
    
    /* Error modal yang lebih kecil */
    div[style*="border: 2px solid rgba(231, 76, 60, 0.2)"] {
        max-width: 85vw !important;
        width: 85vw !important;
        padding: 1.5rem !important;
        border-radius: 12px !important;
    }
    
    /* Error icon */
    div[style*="background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%)"] {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }
}

@media screen and (max-width: 480px) {
    
    div[style*="border: 2px solid rgba(231, 76, 60, 0.2)"] {
        max-width: 90vw !important;
        width: 90vw !important;
        padding: 1.25rem !important;
    }
    
    div[style*="background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%)"] {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
}

/* Success modal responsif */
@media screen and (max-width: 768px) {
    
    div[style*="border: 2px solid rgba(52, 152, 219, 0.2)"] {
        max-width: 85vw !important;
        width: 85vw !important;
        padding: 1.5rem !important;
    }
    
    div[style*="background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%)"] {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }
}

/* All Products modal responsif */
@media screen and (max-width: 768px) {
    
    /* Container modal yang lebih besar */
    div[style*="max-width: 700px"] {
        max-width: 95vw !important;
        width: 95vw !important;
        max-height: 90vh !important;
        padding: 1.5rem !important;
        border-radius: 12px !important;
    }
    
    /* Grid products dalam modal */
    div[style*="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Individual product dalam modal */
    div[style*="background: white; padding: 1.25rem"] {
        padding: 1rem !important;
        border-radius: 10px !important;
    }
    
    /* Product icon dalam modal list */
    div[style*="width: 50px; height: 50px; background: linear-gradient"] {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }
}

@media screen and (max-width: 480px) {
    
    div[style*="max-width: 700px"] {
        max-width: 98vw !important;
        width: 98vw !important;
        padding: 1rem !important;
    }
    
    div[style*="background: white; padding: 1.25rem"] {
        padding: 0.75rem !important;
    }
}

/* Touch optimization untuk modal */
@media (hover: none) and (pointer: coarse) {
    
    .modal-content button,
    div[style*="backdrop-filter: blur(5px)"] button {
        min-height: 44px !important;
        min-width: 44px !important;
        padding: 0.75rem 1rem !important;
    }
    
    /* Larger touch targets */
    .modal-content button:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
}

/* Prevent modal dari keluar layar */
@media screen and (max-width: 768px) {
    .simple-modal,
    div[style*="position: fixed"][style*="backdrop-filter: blur(5px)"] {
        box-sizing: border-box !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}