/* Shop Styles */
.shop-container {
    padding: 8rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.shop-header {
    text-align: center;
    margin-bottom: 3rem;
}

.shop-header h1 {
    font-size: 2.5rem;
    color: #00ffff;
    margin-bottom: 0.5rem;
}

.shop-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Sidebar */
.shop-sidebar {
    background: rgba(0, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: #b0e0e6;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.category-list a:hover,
.category-list a.active {
    color: #00ffff;
    padding-left: 1rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 5px;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #00ffff;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: bold;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.product-title a {
    color: #fff;
    text-decoration: none;
}

.product-title a:hover {
    color: #00ffff;
}

.product-category {
    color: #b0e0e6;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ff88;
    margin-bottom: 1rem;
}

.old-price {
    font-size: 0.8rem;
    color: #b0e0e6;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.add-to-cart-btn,
.quick-view-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn {
    flex: 1;
    background: linear-gradient(135deg, #00ffff, #0099ff);
    color: #0a1628;
    font-weight: 600;
}

.quick-view-btn {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
}

.add-to-cart-btn:hover,
.quick-view-btn:hover {
    transform: translateY(-2px);
}

/* Cart Styles */
.cart-items {
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin: 0 0 0.25rem;
    color: #00ffff;
}

.cart-item-price {
    color: #00ff88;
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    color: #00ffff;
    cursor: pointer;
}

.cart-item-quantity input {
    width: 50px;
    text-align: center;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    color: #fff;
    padding: 0.25rem;
}

.cart-item-subtotal {
    font-weight: bold;
    color: #00ff88;
    min-width: 80px;
    text-align: right;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4444;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.5rem;
}

.cart-summary {
    padding: 1rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    text-align: right;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 1rem;
}

.checkout-btn {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    color: #0a1628;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
}

.empty-cart i {
    font-size: 4rem;
    color: #b0e0e6;
    margin-bottom: 1rem;
}

/* Order Summary */
.order-summary {
    background: rgba(0, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.summary-item.total {
    font-weight: bold;
    color: #00ffff;
    font-size: 1.1rem;
    border-bottom: none;
}

/* Quick View */
.quick-view-product {
    text-align: center;
}

.quantity-selector {
    margin: 1rem 0;
}

.quantity-selector input {
    width: 80px;
    padding: 0.5rem;
    text-align: center;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    color: #fff;
}

.stock-status {
    margin: 1rem 0;
    padding: 0.5rem;
    border-radius: 5px;
}

.stock-status.in-stock {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.stock-status.out-of-stock {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

/* Responsive */
@media (max-width: 768px) {
    .shop-content {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}