/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header Styling */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f8f8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.logo img {
    max-height: 60px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.shop-links {
    display: flex;
    gap: 15px;
    flex-grow: 1;
    justify-content: center;
}

.shop-links a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.language-switcher {
    display: flex;
    gap: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

/* Product Detail Section Styling */
.product-detail {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-detail h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.product-detail p {
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
}

/* Main Product Image Styling */
.main-product-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Additional Images Styling */
.additional-images-section {
    margin-top: 30px;
    text-align: left; /* Align the text to the left */
}

.additional-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.additional-image {
    width: 100px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.additional-image:hover {
    transform: scale(1.1);
}

.image-container {
    position: relative;
    display: inline-block;
}

/* Full-Size Image Styling */
.full-size-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.full-size-image-container img {
    max-width: 70%;
    max-height: 90%;
    border-radius: 8px;
}

/* Stock Status Colors */
.stock-status {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 10px;
}

.stock-status.in_stock {
    color: green; /* Green for in stock */
}

.stock-status.out_of_stock {
    color: red; /* Red for out of stock */
}

.stock-status.on_backorder {
    color: orange; /* Yellow for on backorder */
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-links, .language-switcher {
        margin-top: 10px;
    }

    .products {
        grid-template-columns: 1fr;
    }

    .logo {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        margin-bottom: 10px;
    }

    .language-switcher {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        margin-top: 10px;
    }

    .additional-images {
        justify-content: center;
    }

    .additional-image {
        width: 70px;
        max-width: 80px;
    }

    .full-size-image-container img {
        max-width: 90%;
        max-height: 90%;
    }
}
