/* ELDVOR TECHNOLOGIES - Shop-specific styles */

/* Product card hover effect */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Product image zoom on hover */
.product-image-zoom {
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0;
}

.product-image-zoom img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-zoom img {
    transform: scale(1.1);
}

/* Star rating display */
.stars-display {
    display: inline-flex;
    gap: 2px;
}

.stars-display .star-filled {
    color: #f59e0b;
}

.stars-display .star-empty {
    color: #334155;
}

/* Price display */
.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-original {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: #64748b;
    margin-left: 0.5rem;
}

/* Cart quantity input */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid #334155;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.quantity-selector button:hover {
    color: white;
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    background: transparent;
    border: none;
    color: white;
    font-weight: 600;
    outline: none;
    border-left: 1px solid #334155;
    border-right: 1px solid #334155;
    height: 40px;
}

/* Filter sidebar */
.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

/* Price range slider */
input[type="range"] {
    width: 100%;
    height: 4px;
    background: #334155;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    border-radius: 50%;
    cursor: pointer;
}

/* Sorting dropdown */
.sort-select {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.sort-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Checkbox styling */
.checkbox-custom {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #475569;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.checkbox-custom:checked {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    border-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4.5L6 12l-3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.pagination-item {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid #334155;
    transition: all 0.2s;
    cursor: pointer;
}

.pagination-item:hover {
    border-color: #6366f1;
    color: white;
}

.pagination-item.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
    color: #818cf8;
}

/* Checkout Steps */
.checkout-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.checkout-step.active {
    background: rgba(99, 102, 241, 0.1);
}

.checkout-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.checkout-step.active .checkout-step-number {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: white;
}

.checkout-step.completed .checkout-step-number {
    background: #22c55e;
    color: white;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        z-index: 100;
        transition: left 0.3s ease;
    }

    .shop-sidebar.open {
        left: 0;
    }

    .shop-sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 99;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .shop-sidebar-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }
}
