.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 800 / 640;
    overflow: hidden;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: grab; /* Indicate draggable area */
}
.image-container img:active {
    cursor: grabbing; /* Change cursor when dragging */
}
.thumbnail-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    margin-top: 10px;
    position: relative;
    user-select: none; /* Disable text selection */
}
/* Thin scrollbar hack */
.thumbnail-container::-webkit-scrollbar {
    height: 6px; /* Thin scrollbar */
}
.thumbnail-container::-webkit-scrollbar-track {
    background: #f1f1f1; /* Light grey track */
}
.thumbnail-container::-webkit-scrollbar-thumb {
    background: #888; /* Dark grey thumb */
    border-radius: 3px; /* Rounded corners */
}
.thumbnail-container::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker grey on hover */
}
.thumbnail-container img {
    width: 60px;
    height: 60px;
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    flex-shrink: 0; /* Prevent thumbnails from shrinking */
    user-select: none; /* Disable text selection */
}
.thumbnail-container img.active {
    border-color: #007bff;
}
.thumbnail-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none; /* Allow clicks to pass through */
}
.thumbnail-navigation .nav-button {
    pointer-events: all; /* Enable clicks on buttons */
    background: rgba(0, 0, 0, 0.3); /* Transparent background */
    color: white;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    width: 30px; /* Width of the rectangular button */
    height: 60px; /* Match the height of the thumbnails */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0.7; /* Semi-transparent */
    transition: opacity 0.3s ease;
}
.thumbnail-navigation .nav-button:hover {
    opacity: 1; /* Fully visible on hover */
}
.thumbnail-navigation .nav-button.prev {
    border-radius: 0 5px 5px 0; /* Rounded corners on the right side */
}
.thumbnail-navigation .nav-button.next {
    border-radius: 5px 0 0 5px; /* Rounded corners on the left side */
}
.zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}
.zoom-controls button {
    background: rgba(0, 0, 0, 0.7); /* Darker background for better visibility */
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    width: 50px; /* Larger buttons */
    height: 50px; /* Larger buttons */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* Larger font size */
    opacity: 0.9; /* Less transparent */
    transition: opacity 0.3s ease;
}
.zoom-controls button:hover {
    opacity: 1; /* Fully visible on hover */
}
.image-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Allow clicks to pass through */
    padding: 0 20px; /* Move buttons inward */
}
.image-navigation button {
    pointer-events: all; /* Enable clicks on buttons */
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0.7; /* Semi-transparent */
    transition: opacity 0.3s ease;
}
.image-navigation button:hover {
    opacity: 1; /* Fully visible on hover */
}

/* New CSS for Price and Availability */
.price-availability-section {
    margin-top: 20px;
}

.price-availability-section-list {
    margin: 10px 0;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.price-container-list {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.price-container-featured {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
}

.old-price-list {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
}

.old-price-featured {
    text-decoration: line-through;
    color: #999;
    font-size: 15px;
}

.new-price {
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.new-price-list {
    color: #333;
    font-size: 15px;
    font-weight: bold;
}

.new-price-featured {
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

.availability-container-available {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    background-color: #28a745;
    color: white;
    width: 50%;
    text-align: center;
}

.availability-container-available-list {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    color: #28a745;
}

.availability-container-available-featured {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: #28a745;
}

.availability-container-not-available {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    background-color: #dc3545;
    color: white;
    width: 50%;
    text-align: center;
}

.availability-container-not-available-list {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    color: #dc3545;
}

.availability-container-not-available-featured {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: #dc3545;
}