.product-sku {
    color: inherit;
    font-size: 14px;
    line-height: 1.4;
}

.product-sku:empty {
    display: none;
}

.purchase-count-wrapper {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.purchase-count-icon {
    display: inline-flex;
}

.product-sort-buttons,
.price-filter-buttons,
.view-switcher {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sort-button,
.price-filter-button,
.view-switcher a {
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: inherit;
    display: inline-flex;
    gap: 6px;
    justify-content: center;
    line-height: 1;
    padding: 10px 14px;
    text-decoration: none;
}

.sort-button.active,
.price-filter-button.active,
.view-switcher a.active {
    background: currentColor;
}

.sort-button svg {
    height: 1em;
    width: 1em;
}

.price-filter-widget {
    width: 100%;
}

.sticky-add-to-cart {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    bottom: 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
    left: 0;
    padding: 12px 16px;
    position: fixed;
    right: 0;
    z-index: 999;
}

.sticky-add-to-cart-inner {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
}

.sticky-product-image img {
    border-radius: 6px;
    display: block;
    height: 54px;
    object-fit: cover;
    width: 54px;
}

.sticky-product-title {
    font-weight: 600;
}

.product-gallery-wrapper {
    display: flex;
    gap: 16px;
    width: 100%;
}

.gallery-layout-vertical.thumbnails-position-right {
    flex-direction: row-reverse;
}

.gallery-layout-horizontal {
    flex-direction: column;
}

.product-gallery-main {
    flex: 1 1 auto;
    min-width: 0;
}

.gallery-image {
    display: none;
}

.gallery-image.active {
    display: block;
}

.gallery-image img,
.gallery-thumbnail img {
    display: block;
    height: auto;
    width: 100%;
}

.product-gallery-thumbnails {
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
}

.gallery-thumbnails-slider {
    display: flex;
    gap: 10px;
    transition: transform 0.2s ease;
}

.gallery-layout-vertical .gallery-thumbnails-slider {
    flex-direction: column;
}

.gallery-thumbnail {
    cursor: pointer;
    flex: 0 0 100px;
    opacity: 0.65;
}

.gallery-thumbnail.active,
.gallery-thumbnail:hover {
    opacity: 1;
}

.gallery-nav-button {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.no-products-message {
    opacity: 0.72;
}

.elementor-widget-advanced_recently_viewed_products .product-button.loading,
.elementor-widget-advanced_recently_viewed_products .add-to-cart-simple.loading {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 767px) {
    .product-gallery-wrapper,
    .sticky-add-to-cart-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .sticky-add-to-cart {
        padding: 10px;
    }
}
