.po-product-gallery {
    max-width: 678px;
    width: 100%;
    margin: 0 auto;
}

.po-gallery-main {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.po-gallery-main-image {
    flex-grow: 1;
    overflow: hidden;
    aspect-ratio: 492 / 500;
    position: relative;
}

.po-gallery-track {
    display: flex;
	gap: 40px;
    height: 100%;
}

.po-gallery-slide {
    width: 100%;
	flex: 0 0 auto;
    height: 100%;
    flex-shrink: 0;
	padding: 0 0px;
    box-sizing: border-box;
	border-radius: 20px;
	overflow: hidden;
}

.po-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button.po-gallery-arrow.next,
button.po-gallery-arrow.prev {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #A77B51;
    min-height: 40px;
    min-width: 40px;
    box-sizing: border-box;
    padding: 0;
	display: flex;
    justify-content: center;
    align-items: center;
}

button.po-gallery-arrow.next.disabled,
button.po-gallery-arrow.prev.disabled {
	border: 1px solid #838383;
	color: #838383;
	cursor: default;
}


button.po-gallery-arrow.next:before,
button.po-gallery-arrow.prev:before {
    font-size: 12px;
    content: "\f113";
    font-family: "woodmart-font";
}

button.po-gallery-arrow.prev:before {
	transform: rotate(180deg);
}

button.po-gallery-arrow.next.disabled:before,
button.po-gallery-arrow.prev.disabled:before {
    color: #838383;
}

button.po-gallery-arrow.next:hover,
button.po-gallery-arrow.prev:hover {
	opacity: 0.63;
}
button.po-gallery-arrow.next.disabled:hover,
button.po-gallery-arrow.prev.disabled:hover {
	opacity: 1;
}

.po-gallery-thumbnails {
    height: 60px;
    max-width: 282px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.po-gallery-thumbnails-track {
    display: flex;
    gap: 14px;
    position: absolute;
    top: 0;
    left: 0;
}

.po-gallery-thumb {
    width: 60px;
    height: 60px;
    border-radius: 7px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    flex-shrink: 0;
}

.po-gallery-thumb.active {
    border-color: #FFC935;
}

.po-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.po-gallery-dots {
    display: none;
    justify-content: center;
    margin-top: 10px;
    gap: 8px;
}
.po-gallery-dots .po-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}
.po-gallery-dots .po-dot.active {
    background: #FFC935;
}

@media (max-width: 767px) {
    .po-gallery-thumbnails {
        display: none;
    }
    .po-gallery-dots {
        display: flex;
    }
}
