/* = = = Style untuk Mobile = = = */
.mobile-price-checker {
    background-color: #f8f9fa;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Header Section */
.mobile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-header-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-results-container {
    padding: 1rem;
}

.mobile-results-count {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}

.mobile-product-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.2s ease;
    border-left: 4px solid #667eea;
}

.mobile-product-item:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.mobile-product-content {
    padding: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.mobile-product-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.mobile-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mobile-product-item:hover .mobile-product-thumbnail img {
    transform: scale(1.05);
}

.mobile-product-info {
    flex: 1;
    min-width: 0;
}

.mobile-product-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 0.375rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-product-code {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #6c757d;
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}

.mobile-product-code i {
    font-size: 0.875rem;
}

.mobile-product-price-tag {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.mobile-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: white;
    border-radius: 12px;
    margin-top: 2rem;
}

.mobile-empty-icon {
    font-size: 4rem;
    color: #17a2b8;
    margin-bottom: 1rem;
}

.mobile-empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

.mobile-empty-text {
    color: #6c757d;
    font-size: 0.9375rem;
    margin: 0;
}

.mobile-error-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: white;
    border-radius: 12px;
    margin-top: 2rem;
    border: 2px solid #dc3545;
}

.mobile-error-icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.mobile-error-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 0.5rem;
}

.mobile-error-text {
    color: #6c757d;
    font-size: 0.9375rem;
    margin: 0;
}

.mobile-product-item.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.mobile-product-item {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .mobile-product-thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .mobile-product-title {
        font-size: 0.875rem;
    }
    
    .mobile-product-price-tag {
        font-size: 1rem;
        padding: 0.3125rem 0.625rem;
    }
    
    .mobile-product-code {
        font-size: 0.75rem;
    }
}

@media (min-width: 768px) {
    .mobile-results-container {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {
    .mobile-results-container {
        max-width: 960px;
    }
}

.mobile-badge-stock {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    margin-left: 0.5rem;
}

.mobile-badge-available {
    background-color: #d4edda;
    color: #155724;
}

.mobile-badge-limited {
    background-color: #fff3cd;
    color: #856404;
}

.mobile-badge-out {
    background-color: #f8d7da;
    color: #721c24;
}

.mobile-divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 0.75rem 0;
}