/* Dark Theme Product Show Page */
body {
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #B0B0B0;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #121212;
}

/* Product Header */
.product-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.product-header h1 {
    color: #E0E0E0;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px #000;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1DB954;
}

.compare-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #777;
}

/* Product Images */
.product-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.main-image, .secondary-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.no-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2D2D2D;
}

.no-image i {
    font-size: 3rem;
    color: #444;
}

/* Product Details */
.product-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.description {
    background-color: #1E1E1E;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.description h2 {
    color: #E0E0E0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description p {
    line-height: 1.6;
}

.shop-info {
    background-color: #1E1E1E;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.shop-info h2 {
    color: #E0E0E0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #E0E0E0;
    margin-bottom: 0.5rem;
}

.shop-district {
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.visit-shop {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #1E1E1E;
    color: #4D9DE0;
    border: 1px solid #4D9DE0;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.visit-shop:hover {
    background-color: rgba(77, 157, 224, 0.1);
}

.visit-shop i {
    margin-right: 0.5rem;
}

/* Product Actions */
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart {
    background-color: #1DB954;
    color: white;
    border: none;
}

.add-to-cart:hover {
    background-color: #168a42;
}

.back-btn {
    background-color: #1E1E1E;
    color: #E0E0E0;
    border: 1px solid #333;
}

.back-btn:hover {
    background-color: #2D2D2D;
}

/* Owner Actions */
.owner-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.update-btn {
    background-color: #3498db;
    color: white;
    border: none;
}

.update-btn:hover {
    background-color: #2980b9;
}

.delete-btn {
    background-color: #E74C3C;
    color: white;
    border: none;
}

.delete-btn:hover {
    background-color: #C0392B;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-images {
        grid-template-columns: 1fr;
    }

    .product-details {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .owner-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .product-header h1 {
        font-size: 1.5rem;
    }

    .price {
        font-size: 1.2rem;
    }

    .main-image, .secondary-image {
        height: 200px;
    }
}
