/* Product Page Styles */
.product-detail {
    margin-bottom: 3rem;
}

.product-images {
    position: sticky;
    top: 20px;
}

.product-image-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.product-gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.product-gallery img:hover {
    opacity: 0.7;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-price-old {
    text-decoration: line-through;
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.product-actions {
    margin-top: 2rem;
}

.product-actions .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.related-products {
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .product-image-main {
        height: 300px;
    }
    
    .product-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-info h1 {
        font-size: 1.5rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
}

/* Action Buttons - Tech Style */
.action-buttons-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-action {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-action::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;
}

.btn-action:hover::before {
    left: 100%;
}

.btn-action i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-action:hover i {
    transform: scale(1.15);
}

.btn-action span {
    font-size: 1rem;
    letter-spacing: 0.025em;
    font-weight: 700;
}

/* Primary Button - Gray */
.btn-action-primary {
    background: #515151;
    color: white;
}

.btn-action-primary:hover {
    background: #404040;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(81, 81, 81, 0.4);
    color: white;
}

.btn-action-primary:active {
    transform: translateY(0);
}

/* Success Button - White */
.btn-action-success {
    background: white;
    color: #000;
    border: 2px solid #e9ecef;
}

.btn-action-success:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    color: #000;
    border-color: #dee2e6;
}

.btn-action-success:active {
    transform: translateY(0);
}

/* Favorite Button - Red/Pink Tech */
.btn-action-favorite {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-action-favorite:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(245, 87, 108, 0.4);
    color: white;
}

.btn-action-favorite:active {
    transform: translateY(0);
}

.btn-action-favorite.active {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.btn-action-favorite.active i {
    animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .action-buttons-wrapper {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .btn-action {
        flex-direction: row;
        padding: 1rem;
    }

    .btn-action i {
        font-size: 1.25rem;
    }

    .btn-action span {
        font-size: 0.9rem;
    }
}

