/* 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;
    }
}

/* Current storefront surface */
.shop-page { background: radial-gradient(circle at 12% 0%, rgba(14, 165, 233, .12), transparent 34rem), #080b12; }
.shop-hero { border-bottom: 1px solid rgba(51, 65, 85, .55); background: linear-gradient(110deg, rgba(14, 165, 233, .1), transparent 45%), radial-gradient(circle at 90% 20%, rgba(99, 102, 241, .14), transparent 28rem); }
.shop-kicker, .shop-label { color: #38bdf8; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.shop-hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3.5rem; }
.shop-hero-stats div { display: flex; flex-direction: column; gap: .3rem; }
.shop-hero-stats strong { color: #f8fafc; font-size: 1.5rem; }
.shop-hero-stats span { color: #64748b; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.shop-filter-bar { display: grid; grid-template-columns: minmax(14rem, 1fr) repeat(2, minmax(9rem, auto)) 7rem 7rem auto auto; gap: .65rem; align-items: center; }
.search-field { display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .65rem .8rem; border: 1px solid rgba(51, 65, 85, .9); border-radius: .55rem; background: rgba(15, 23, 42, .7); color: #64748b; }
.search-field input { width: 100%; min-width: 0; color: #e2e8f0; background: transparent; outline: none; font-size: .875rem; }
.shop-select, .shop-price-input { width: 100%; min-width: 0; padding: .7rem .75rem; border: 1px solid rgba(51, 65, 85, .9); border-radius: .55rem; background: #0f172a; color: #cbd5e1; outline: none; font-size: .8rem; }
.shop-select:focus, .shop-price-input:focus, .search-field:focus-within { border-color: rgba(56, 189, 248, .7); box-shadow: 0 0 0 3px rgba(56, 189, 248, .1); }
.filter-submit { white-space: nowrap; padding: .7rem .8rem; }
.filter-clear { color: #94a3b8; font-size: .75rem; white-space: nowrap; }
.filter-clear:hover { color: #f8fafc; }
.category-link { display: flex; justify-content: space-between; gap: .75rem; padding: .65rem .75rem; border-radius: .5rem; color: #94a3b8; font-size: .875rem; transition: color .2s, background .2s; }
.category-link span:last-child { color: #475569; font-size: .75rem; }
.category-link:hover, .category-link.active { color: #e0f2fe; background: rgba(14, 165, 233, .1); }
.category-link.active span:last-child { color: #38bdf8; }
.sidebar-note { padding: 1rem; border: 1px solid rgba(51, 65, 85, .7); border-radius: .75rem; background: rgba(15, 23, 42, .5); }
.product-card { overflow: hidden; border: 1px solid rgba(51, 65, 85, .7); border-radius: .8rem; background: rgba(15, 23, 42, .72); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, .55); box-shadow: 0 18px 45px rgba(0, 0, 0, .28); }
.product-media { position: relative; display: block; aspect-ratio: 1 / .82; overflow: hidden; background: #111827; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: #334155; font-size: 2.5rem; background: linear-gradient(135deg, #111827, #0f172a); }
.product-category { position: absolute; left: .8rem; bottom: .8rem; padding: .3rem .5rem; border: 1px solid rgba(125, 211, 252, .25); border-radius: .35rem; color: #bae6fd; background: rgba(8, 47, 73, .8); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stock-dot { width: .55rem; height: .55rem; flex-shrink: 0; border-radius: 50%; }
.stock-dot.available { background: #34d399; box-shadow: 0 0 0 .22rem rgba(52, 211, 153, .12); }
.stock-dot.empty { background: #f87171; box-shadow: 0 0 0 .22rem rgba(248, 113, 113, .12); }
.rating-stars { color: #334155; }
.rating-stars .filled { color: #fbbf24; }
.product-price { color: #f8fafc; font-size: 1.25rem; font-weight: 700; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(56, 189, 248, .4); border-radius: .55rem; color: #7dd3fc; background: rgba(14, 165, 233, .1); transition: color .2s, background .2s; }
.icon-button:hover { color: #fff; background: rgba(14, 165, 233, .3); }
.empty-state { min-height: 20rem; display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (max-width: 1100px) { .shop-filter-bar { grid-template-columns: 1fr 1fr 1fr; } .search-field { grid-column: span 3; } }
@media (max-width: 640px) { .shop-filter-bar { grid-template-columns: 1fr 1fr; } .search-field { grid-column: span 2; } .filter-submit { grid-column: span 2; } .shop-hero-stats { gap: 1.5rem; margin-top: 2.5rem; } }
.cart-item-card, .checkout-card { border-color: rgba(51, 65, 85, .75); transition: border-color .2s ease, transform .2s ease; }
.cart-item-card:hover, .checkout-card:focus-within { border-color: rgba(56, 189, 248, .35); }
.checkout-card input:focus { border-color: rgba(56, 189, 248, .7); box-shadow: 0 0 0 3px rgba(56, 189, 248, .1); }
