:root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --border: #ddd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}
.product_card_title {
    font-size: 20px;
    text-transform: uppercase;
    color: var(--dark);
    font-weight: 600;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 20px;
}

.back-link:hover {
    text-decoration: underline;
}

.product-detail-container {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.main-image-container {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.product-title {
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--dark);
    text-transform: uppercase;
    margin-top: 10px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-meta-item {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-description {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 15px;
    margin-top: 10px;

}

.product-specs {
    margin-top: 30px;
}

.specs-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    text-align: left;
    padding-top: 20px;
}

.specs-table th {
    width: 30%;
    font-weight: 500;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .product-detail-container {
        flex-direction: row;
    }
    
    .product-gallery {
        flex: 1;
        max-width: 60%;
    }
    
    .product-info {
        flex: 1;
        border-top: none;
        border-left: 1px solid var(--border);
    }
}

@media (max-width: 576px) {
    .main-image-container {
        height: 300px;
    }
    
    .product-title {
        font-size: 20px;
    }
}