.product-grid,
.product-images,
.product-image-main,
.main-image-container,
.product-main-swiper,
.product-main-swiper .swiper-wrapper,
.product-main-swiper .swiper-slide {
    min-width: 0;
    max-width: 100%;
}

.main-image,
.product-main-swiper .main-image {
    width: 100%;
    max-width: 100%;
    height: 420px;
    object-fit: contain;
    background: #fff;
    cursor: zoom-in;
}

.product-main-swiper,
.product-thumb-swiper {
    width: 100%;
}

.product-main-swiper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}
.product-gallery-pagination {
    text-align: center;
}
.product-gallery-pagination .swiper-pagination-bullet {
    background-color: #da5726;
}
.product-zoom-pane {
    position: absolute;
    inset: 0;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 180%;
    pointer-events: none;
    z-index: 2;
}

@media (hover: none), (pointer: coarse) {
    .product-zoom-pane {
        display: none;
    }
}

.product-thumb-swiper .swiper-slide {
    width: 84px;
}

.variant-choices[aria-label="Color"] button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rt-swatch {
    width: 14px;
    height: 14px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: 50%;
    display: inline-block;
}

.variant-choices button.is-selected .rt-swatch {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #DA5726;
}

.product-thumb-swiper .swiper-slide-thumb-active .thumbnail {
    border-color: #DA5726;
}

.product-images .nav-btn::after {
    content: none;
}

.product-gallery-single .nav-btn,
.product-gallery-single .product-thumb-swiper {
    display: none;
}

.rt-size-heading {
    margin: 12px 0 0;
    font-weight: 600;
}

.variant-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 14px;
}

.variant-choices button {
    min-width: 42px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.variant-choices button.is-selected {
    border-color: #DA5726;
    color: #DA5726;
}

.variant-choices button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: line-through;
}

.rt-selected-color {
    margin: 5px 0 0 0px;
    font-weight: 600;
}

.product-lightbox {
    width: min(920px, 100%);
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0 auto;
    padding: 24px;
    border: 0;
    background: rgba(17, 17, 17, 0.94);
}

.product-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.product-lightbox img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 80px);
    margin: 0 auto;
    object-fit: contain;
}

.product-lightbox-close,
.product-lightbox-nav {
    position: absolute;
    border: 0;
    background: #fff;
    color: #1a1a1a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.product-lightbox-close { top: 16px; right: 16px; }
.product-lightbox-nav.prev { left: 16px; top: 50%; }
.product-lightbox-nav.next { right: 16px; top: 50%; }

.product-feedback {
    margin-top: 10px;
    font-size: 14px;
}

.product-feedback.is-error { color: #b42318; }
.product-feedback.is-ok { color: #166534; }

.quantity-selector input.quantity {
    width: 2.25rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 2rem;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-selector input.quantity::-webkit-inner-spin-button,
.quantity-selector input.quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 767px) {
    .main-image,
    .product-main-swiper .main-image {
        height: 280px;
        cursor: pointer;
    }

    .thumbnail-container-main {
        width: 100%;
    }
}
