.po-product-gallery {
    max-width: 678px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.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;
    border-radius: 20px;
}

.po-gallery-track {
    display: flex;
    height: 100%;
}

.po-gallery-slide {
    flex: 0 0 100%;
    height: 100%;
    box-sizing: border-box;
}

.po-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button.po-gallery-arrow {
    width: 40px;
    height: 40px;
	min-height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #A77B51;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s, border-color 0.2s, color 0.2s;
}

button.po-gallery-arrow:before {
    font-size: 12px;
    content: "\f113";
    font-family: "woodmart-font";
    line-height: 1;
}

button.po-gallery-arrow.prev:before {
    transform: rotate(180deg);
}

button.po-gallery-arrow:hover {
    opacity: 0.63;
}

button.po-gallery-arrow.disabled {
    border-color: #838383;
    color: #838383;
    cursor: default;
    opacity: 1;
}

.po-gallery-thumbnails {
    height: 60px;
    max-width: 282px;
    margin: 0 auto;
    overflow: hidden;
}

.po-gallery-thumbnails-track {
    display: flex;
    gap: 14px;
}

.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-main {
        margin-bottom: 15px;
    }
    .po-gallery-thumbnails {
        display: none;
    }
    .po-gallery-dots {
        display: flex;
    }
}