* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
    padding: 10px;
}

table.size-chart tr {
    font-size: 15px;
}
.product-details-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.product-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.main-image-container {
    width: 80%;
    overflow: hidden;
    position: relative;
}

.main-image {
    width: 100%;
    height: auto;
    border: 2px solid #ddd;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.thumbnail-container {
    margin-top: 20px;
    width: 80%;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 5px;
}

.thumbnail:hover {
    transform: scale(1.1);
}

h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.size-chart {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.size-chart th,
.size-chart td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2980b9;
}

/* Lightbox Style */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox.zoomed img {
    transform: scale(2);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
    color: #333;
    font-size: 20px;
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
}

.close-btn:hover {
    background-color: #f1f1f1;
}