/* Simple Product Cards */
.product-card-simple {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: var(--color-primary);
}

.product-image-simple {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-simple:hover .product-image-simple img {
    transform: scale(1.05);
}

.product-name-simple {
    padding: 1rem;
    text-align: center;
}

.product-name-simple h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: white;
}

.product-price-simple {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 700;
    margin: 0.5rem 0;
}

.size-selector-simple {
    margin: 0.75rem 0;
}

.size-selector-simple select {
    width: 100%;
    padding: 0.6rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-selector-simple select:hover {
    border-color: var(--color-primary);
    background: rgba(0, 0, 0, 0.4);
}

.size-selector-simple select:focus {
    outline: none;
    border-color: var(--color-accent);
}


.product-actions-simple {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.btn-cart-simple,
.btn-buy-simple {
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cart-simple {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--color-border);
}

.btn-cart-simple:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-primary);
}

.btn-buy-simple {
    background: var(--color-primary);
    color: var(--color-bg);
}

.btn-buy-simple:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

/* Product Detail Modal */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-content-product {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--color-primary);
    transform: rotate(90deg);
}

.modal-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-product-images img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.modal-image-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.modal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.modal-dot.active {
    background: var(--color-primary);
    width: 28px;
    border-radius: 6px;
}

.modal-product-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.modal-price {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 1rem;
}

.modal-description {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-size-selector {
    margin-bottom: 1.5rem;
}

.modal-size-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.modal-size-selector select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    color: white;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.modal-actions button {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .modal-product-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .product-image-simple {
        height: 150px;
    }
}