.gallery-container {
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.tz-gallery .row {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 auto;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-toggle {
    margin-top: 20px;
    margin-bottom: 20px;
}

.gallery_btn {
	width: 200px;
	height: 48px;
    display: block;
    margin: 40px auto 50px auto;
    padding: 10px 20px;
    background-color: #C2B0A2;
    border: none;
	border-radius: 0.5rem;
    color: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s;
    font-family: "SUITE-Regular";
    font-size: 15px;
}
.gallery_btn:hover {
    box-shadow: 3px 4px 11px 0px #00000040;
}

.baguetteBox .full-image img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
}

.extra-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 90%;
    text-align: center;
    margin: 0 auto;
    margin-top: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 1s ease, opacity 1s ease;
}
.extra-images.show {
    max-height: 1000px; /* 충분히 큰 값으로 설정 */
    opacity: 1;
}

.extra-images .thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.extra-images .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.baguetteBox .full-image img {
  max-width: 80%;
  max-height: 80vh;
  object-fit: contain;
  margin: auto;
}