/* Product Section */
#produk {
    perspective: 1000px;
}

/* Product Card 3D Effect */
.product-card {
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    position: relative;
    transform: translateZ(0);
    border: 1px solid rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Product Image Container */
.product-card .relative {
    overflow: hidden;
    transform-style: preserve-3d;
}

.product-image {
    transition: all 0.5s ease;
    transform: translateZ(30px);
}

.product-card:hover .product-image {
    transform: scale(1.05) translateZ(40px);
}

/* Badge 3D Effect */
.badge-online {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #10B981;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    transform: translateZ(20px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Content 3D Effect */
.product-card .p-6 {
    transform-style: preserve-3d;
}

.product-card h3 {
    transform: translateZ(20px);
}

.product-card p {
    transform: translateZ(15px);
}

/* Price 3D Effect */
.product-card .text-blue-600 {
    transform: translateZ(25px);
    display: inline-block;
}

/* Rating Stars 3D Effect */
.product-card .text-yellow-400 {
    transform: translateZ(25px);
}

/* Quantity Control 3D Effect */
.quantity-control {
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    transform: translateZ(30px);
}

.quantity-btn {
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateZ(20px);
}

.quantity-btn:hover {
    background: #e0e0e0;
    transform: translateZ(25px);
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #e0e0e0;
    height: 30px;
    margin: 0 5px;
    transform: translateZ(25px);
}

/* Button 3D Effect */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(20px);
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    border: none;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateZ(30px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.5);
}

.btn-primary:active {
    transform: translateY(2px) translateZ(25px);
}

/* Empty State 3D Effect */
.text-center.py-16 {
    transform-style: preserve-3d;
}

.text-center.py-16 i {
    transform: translateZ(40px);
    display: inline-block;
}

.text-center.py-16 h3 {
    transform: translateZ(30px);
}

.text-center.py-16 p {
    transform: translateZ(25px);
}

.text-center.py-16 a {
    transform: translateZ(35px);
    display: inline-block;
}