.shop-ew-wrapper,
.shop-ew-wrapper * {
    box-sizing: border-box;
}

.shop-ew-wrapper {
    width: 100%;
    max-width: 100%;
    --shop-ew-primary: #ef233c;
    --shop-ew-success: #009966;
    --shop-ew-dark: #020617;
    --shop-ew-muted: #8b96a8;
    --shop-ew-border: #e6ebf2;
    --shop-ew-soft: #f5f7fa;
    --shop-ew-star: #ffc400;
}

.shop-ew-feature {
    background: #ffffff;
}

.shop-ew-feature-header {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    gap: 18px;
    padding: 0 0 18px;
    margin: 0 0 20px;
    border-bottom: 1px solid var(--shop-ew-border);
}

.shop-ew-feature-title {
    grid-column: 1;
    justify-self: start;
}

.shop-ew-feature-title,
.shop-ew-section-title {
    margin: 0;
    color: var(--shop-ew-dark);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.shop-ew-tabs-wrap {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
}

.shop-ew-tabs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    padding: 3px;
    background: var(--shop-ew-soft);
    border-radius: 13px;
}

.shop-ew-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--shop-ew-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    --shop-ew-tab-hover-y: 0px;
    --shop-ew-tab-hover-scale: 1;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
    outline: none;
}

.shop-ew-tab-btn:hover,
.shop-ew-tab-btn:focus {
    color: var(--shop-ew-primary);
    transform: translateY(var(--shop-ew-tab-hover-y)) scale(var(--shop-ew-tab-hover-scale));
}

.shop-ew-tab-btn.is-active {
    background: var(--shop-ew-primary);
    color: #ffffff;
}

.shop-ew-view-all {
    grid-column: 3;
    justify-self: end;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--shop-ew-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    --shop-ew-view-hover-y: 0px;
    --shop-ew-view-hover-scale: 1;
    transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.shop-ew-view-all:hover {
    color: var(--shop-ew-primary);
    transform: translateY(var(--shop-ew-view-hover-y)) scale(var(--shop-ew-view-hover-scale));
}

.shop-ew-view-all svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.shop-ew-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 0 0 24px;
    border-bottom: 0 solid var(--shop-ew-border);
}

.shop-ew-products-header .shop-ew-section-title {
    flex: 1 1 auto;
    min-width: 0;
}

.shop-ew-products-button-wrap {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.shop-ew-products-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 12px 22px;
    border: 0 solid transparent;
    border-radius: 999px;
    background: #e7f0ff;
    color: #0057ff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    --shop-ew-more-hover-y: -1px;
    --shop-ew-more-hover-scale: 1;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.shop-ew-products-more-button:hover {
    color: #ffffff;
    background: var(--shop-ew-primary);
    transform: translateY(var(--shop-ew-more-hover-y)) scale(var(--shop-ew-more-hover-scale));
}

.shop-ew-products-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
}

.shop-ew-products-more-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.shop-ew-promo-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 0 solid transparent;
    border-radius: 12px;
    text-decoration: none;
    --shop-ew-promo-hover-y: 0px;
    --shop-ew-promo-hover-scale: 1;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}

.shop-ew-promo-card:hover {
    transform: translateY(var(--shop-ew-promo-hover-y)) scale(var(--shop-ew-promo-hover-scale));
}

.shop-ew-promo-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    --shop-ew-promo-image-hover-scale: 1.035;
    transition: transform .25s ease, opacity .25s ease;
}

.shop-ew-promo-card:hover img {
    transform: scale(var(--shop-ew-promo-image-hover-scale));
}

.shop-ew-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
}

.shop-ew-product-card {
    position: relative;
    min-width: 0;
    background: #ffffff;
    border: 0 solid transparent;
    border-radius: 0;
    padding: 0;
    --shop-ew-card-hover-y: 0px;
    --shop-ew-card-hover-scale: 1;
    --shop-ew-image-hover-scale: 1.035;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.shop-ew-product-card:hover {
    transform: translateY(var(--shop-ew-card-hover-y)) scale(var(--shop-ew-card-hover-scale));
}

.shop-ew-product-card.is-hidden {
    display: none !important;
}

/* Keep responsive product counts independent of filtering and load-more state. */
.shop-ew-products-grid > .shop-ew-product-card.shop-ew-responsive-hidden {
    display: none !important;
}

.shop-ew-product-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 228px;
    width: 100%;
    margin: 0 0 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--shop-ew-border);
    border-radius: 10px;
}

.shop-ew-product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.shop-ew-product-image-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.shop-ew-product-media img,
.shop-ew-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .25s ease;
}

.shop-ew-product-image:not(.is-active) {
    display: none;
}

.shop-ew-product-card:hover .shop-ew-product-media img.is-active,
.shop-ew-product-card:hover .shop-ew-product-media img:not(.shop-ew-product-image) {
    transform: scale(var(--shop-ew-image-hover-scale));
}

.shop-ew-image-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    border: 1px dashed #d6dde7;
    border-radius: 8px;
    color: #9aa4b2;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.shop-ew-badge {
    position: absolute;
    z-index: 2;
    top: 11px;
    left: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 6px 10px;
    background: var(--shop-ew-primary);
    color: #ffffff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.shop-ew-sale-badge {
    position: absolute;
    z-index: 4;
    top: 11px;
    right: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 6px 10px;
    background: var(--shop-ew-primary);
    color: #ffffff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}


.shop-ew-product-card.shop-ew-has-sale-badge .shop-ew-wishlist-btn {
    top: 50px;
}

/* Two narrow mobile cards: labels stay on their own side and wrap in place. */
@media (max-width: 767px) {
    .shop-ew-product-card.shop-ew-has-both-badges .shop-ew-badge,
    .shop-ew-product-card.shop-ew-has-both-badges .shop-ew-sale-badge {
        box-sizing: border-box;
        min-width: 0;
        white-space: normal !important;
        overflow-wrap: anywhere;
        text-align: center;
    }

    .shop-ew-product-card.shop-ew-has-both-badges .shop-ew-badge {
        max-width: calc(50% - var(--shop-ew-badge-left-offset, 11px) - 3px) !important;
    }

    .shop-ew-product-card.shop-ew-has-both-badges .shop-ew-sale-badge {
        max-width: calc(50% - var(--shop-ew-badge-right-offset, 11px) - 3px) !important;
    }
}

.shop-ew-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: 0;
    border-radius: 12px;
    background: #f2f5f8;
    color: var(--shop-ew-dark);
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
    --shop-ew-icon-hover-y: -1px;
    --shop-ew-icon-hover-scale: 1;
    --shop-ew-cart-hover-duration: 450ms;
    --shop-ew-cart-hover-easing: cubic-bezier(.22, .61, .36, 1);
    transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease, width var(--shop-ew-cart-hover-duration) var(--shop-ew-cart-hover-easing), max-width var(--shop-ew-cart-hover-duration) var(--shop-ew-cart-hover-easing), min-width var(--shop-ew-cart-hover-duration) var(--shop-ew-cart-hover-easing), padding var(--shop-ew-cart-hover-duration) var(--shop-ew-cart-hover-easing);
}

.shop-ew-icon-btn:hover {
    color: #ffffff;
    background: var(--shop-ew-primary);
    transform: translateY(var(--shop-ew-icon-hover-y)) scale(var(--shop-ew-icon-hover-scale));
}

.shop-ew-icon-btn svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.shop-ew-wishlist-btn {
    position: absolute;
    z-index: 2;
    top: 11px;
    right: 11px;
    background: #ffffff;
    border-radius: 50%;
}

.shop-ew-image-dots {
    position: absolute;
    z-index: 3;
    left: 15px;
    right: 15px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
}

.shop-ew-image-dots-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    pointer-events: auto;
}

.shop-ew-image-dot {
    display: inline-flex;
    width: 7px;
    height: 7px;
    min-width: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d8dfe7;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.shop-ew-image-dot:hover,
.shop-ew-image-dot:focus {
    transform: scale(1.18);
    outline: none;
}

.shop-ew-image-dot.is-active {
    background: var(--shop-ew-star);
}

.shop-ew-product-content {
    position: relative;
    min-width: 0;
}

.shop-ew-product-title {
    margin: 0 0 10px;
    color: var(--shop-ew-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.23;
    --shop-ew-title-lines: 2;
    display: -webkit-box;
    -webkit-line-clamp: var(--shop-ew-title-lines);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-ew-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
    display: -webkit-box;
    -webkit-line-clamp: var(--shop-ew-title-lines);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-ew-product-title a:hover,
.shop-ew-product-card:hover .shop-ew-product-title {
    color: var(--shop-ew-primary);
}

.shop-ew-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 10px;
}

.shop-ew-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1;
}

.shop-ew-star.is-active {
    color: var(--shop-ew-star);
}

.shop-ew-review-text {
    color: var(--shop-ew-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.shop-ew-code {
    margin: 0 0 8px;
    color: var(--shop-ew-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.shop-ew-code-label {
    display: inline-block;
    margin-right: 4px;
    font-weight: 700;
}

.shop-ew-code-value {
    display: inline-block;
}

.shop-ew-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 12px;
    overflow: visible;
}

.shop-ew-prices {
    display: flex;
    flex-direction: var(--shop-ew-prices-direction, row);
    align-items: baseline;
    flex-wrap: wrap;
    gap: var(--shop-ew-prices-gap, 8px);
    min-width: 0;
}

.shop-ew-current-price-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
}

.shop-ew-price-label {
    display: inline-flex;
    color: var(--shop-ew-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.shop-ew-price-old {
    color: #9aa4b2;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: line-through;
}

.shop-ew-price-current {
    color: var(--shop-ew-primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.shop-ew-cart-btn {
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
    gap: 0;
    white-space: nowrap;
    --shop-ew-cart-text-gap: 8px;
    --shop-ew-cart-hover-max-width: 220px;
    --shop-ew-cart-hover-pad-x: 14px;
    --shop-ew-cart-hover-radius: 0px;
    --shop-ew-cart-hover-border-width: 0px;
    --shop-ew-cart-hover-border-color: transparent;
}

.shop-ew-cart-btn .shop-ew-cart-hover-text {
    display: inline-flex;
    align-items: center;
    max-width: 0;
    margin-left: 0;
    overflow: hidden;
    opacity: 0;
    color: currentColor;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    transform: translateX(-2px);
    transition: max-width var(--shop-ew-cart-hover-duration, 450ms) var(--shop-ew-cart-hover-easing, cubic-bezier(.22, .61, .36, 1)), margin-left var(--shop-ew-cart-hover-duration, 450ms) var(--shop-ew-cart-hover-easing, cubic-bezier(.22, .61, .36, 1)), opacity .28s ease, transform var(--shop-ew-cart-hover-duration, 450ms) var(--shop-ew-cart-hover-easing, cubic-bezier(.22, .61, .36, 1));
}

.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:hover,
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:focus-visible,
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.shop-ew-cart-is-added,
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.is-added,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:hover,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:focus-visible,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.shop-ew-cart-is-added,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.is-added {
    width: max-content;
    max-width: 100%;
    min-width: 38px;
    padding-left: var(--shop-ew-cart-hover-pad-x);
    padding-right: var(--shop-ew-cart-hover-pad-x);
    border-radius: var(--shop-ew-cart-hover-radius);
    border-style: solid;
    border-width: var(--shop-ew-cart-hover-border-width);
    border-color: var(--shop-ew-cart-hover-border-color);
}

.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:hover .shop-ew-cart-hover-text,
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:focus-visible .shop-ew-cart-hover-text,
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.shop-ew-cart-is-added .shop-ew-cart-hover-text,
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.is-added .shop-ew-cart-hover-text,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:hover .shop-ew-cart-hover-text,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:focus-visible .shop-ew-cart-hover-text,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.shop-ew-cart-is-added .shop-ew-cart-hover-text,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.is-added .shop-ew-cart-hover-text {
    max-width: var(--shop-ew-cart-hover-max-width);
    margin-left: var(--shop-ew-cart-text-gap);
    opacity: 1;
    transform: translateX(0);
}

.shop-ew-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--shop-ew-success);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.shop-ew-stock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-ew-success);
    font-size: 13px;
}

.shop-ew-stock-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.shop-ew-stock-dot {
    display: inline-block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--shop-ew-success);
}

.shop-ew-product-card.shop-ew-is-in-stock .shop-ew-stock-dot {
    background: var(--shop-ew-success);
}

.shop-ew-product-card.shop-ew-is-out-of-stock .shop-ew-stock-dot {
    background: #ef4444;
}

.shop-ew-product-card.shop-ew-is-on-backorder .shop-ew-stock-dot {
    background: #f5bd3f;
}

/* Produse EW: the status label and dot always share their effective color. */
.shop-ew-products-widget .shop-ew-stock {
    color: var(--shop-ew-stock-state-color, var(--shop-ew-stock-base-color, var(--shop-ew-success))) !important;
}
.shop-ew-products-widget .shop-ew-product-card.shop-ew-is-out-of-stock .shop-ew-stock {
    --shop-ew-stock-state-color: #ef4444;
}
.shop-ew-products-widget .shop-ew-product-card.shop-ew-is-on-backorder .shop-ew-stock {
    --shop-ew-stock-state-color: #f5bd3f;
}
.shop-ew-products-widget .shop-ew-product-card:hover .shop-ew-stock {
    color: var(--shop-ew-stock-hover-color, var(--shop-ew-stock-state-color, var(--shop-ew-stock-base-color, var(--shop-ew-success)))) !important;
}
.shop-ew-products-widget .shop-ew-stock-dot {
    background: currentColor !important;
}

.shop-ew-empty {
    width: 100%;
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    background: #f8fafc;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 1024px) {
    .shop-ew-feature-header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
    }

    .shop-ew-feature-title {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
        grid-column: auto;
        justify-self: auto;
    }

    .shop-ew-view-all {
        order: 2;
        flex: 0 0 auto;
        margin-left: auto;
        grid-column: auto;
        justify-self: auto;
    }

    .shop-ew-tabs-wrap {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
        grid-column: auto;
        justify-self: stretch;
        overflow: visible;
        justify-content: flex-start;
    }

    .shop-ew-tabs {
        width: auto;
        max-width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .shop-ew-tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .shop-ew-products-header {
        flex-wrap: wrap;
    }

    .shop-ew-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .shop-ew-feature-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .shop-ew-feature-title,
    .shop-ew-view-all,
    .shop-ew-tabs-wrap {
        width: 100%;
        min-width: 0;
        grid-column: auto;
        justify-self: stretch;
    }

    .shop-ew-feature-title {
        order: 1;
        flex: 0 0 auto;
    }

    .shop-ew-tabs-wrap {
        order: 2;
        flex: 0 0 auto;
        overflow: visible;
    }

    .shop-ew-view-all {
        order: 3;
        align-self: flex-start;
        margin-left: 0;
        width: auto;
    }

    .shop-ew-tabs {
        display: flex;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .shop-ew-tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .shop-ew-products-header {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-ew-products-button-wrap {
        width: 100%;
        margin-left: 0;
    }

    .shop-ew-products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .shop-ew-product-media {
        height: 210px;
    }

    .shop-ew-price-current {
        font-size: 20px;
    }
}

/* Shop EW v1.19 - sortare, arhiva, paginatie, load more si hover focus selector */
.shop-ew-slider-shell {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.shop-ew-products-has-slider .shop-ew-slider-track,
.shop-ew-feature-has-slider .shop-ew-slider-track {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.shop-ew-products-has-slider .shop-ew-slider-track::-webkit-scrollbar,
.shop-ew-feature-has-slider .shop-ew-slider-track::-webkit-scrollbar {
    display: none;
}

.shop-ew-products-has-slider .shop-ew-slider-track > .shop-ew-product-card,
.shop-ew-products-has-slider .shop-ew-slider-track > .shop-ew-promo-card,
.shop-ew-feature-has-slider .shop-ew-slider-track > .shop-ew-product-card,
.shop-ew-feature-has-slider .shop-ew-slider-track > .shop-ew-promo-card {
    flex: 0 0 var(--shop-ew-slider-card-width, 280px);
    width: var(--shop-ew-slider-card-width, 280px);
    max-width: var(--shop-ew-slider-card-width, 280px);
    scroll-snap-align: start;
}

.shop-ew-products-has-slider .shop-ew-slider-track > .shop-ew-promo-card,
.shop-ew-feature-has-slider .shop-ew-slider-track > .shop-ew-promo-card {
    align-self: stretch;
    height: auto;
    min-height: var(--shop-ew-slider-promo-height, auto);
}

.shop-ew-products-has-slider .shop-ew-slider-track > .shop-ew-promo-card img,
.shop-ew-feature-has-slider .shop-ew-slider-track > .shop-ew-promo-card img {
    height: 100%;
    min-height: 100%;
}

.shop-ew-slider-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin-top: 24px;
}

.shop-ew-slider-controls-classic {
    justify-content: center;
    flex-wrap: wrap;
}

.shop-ew-slider-controls-line_arrows {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px 24px;
}

.shop-ew-slider-controls-line_arrows .shop-ew-slider-progress {
    grid-column: 1;
}

.shop-ew-slider-controls-line_arrows .shop-ew-slider-arrows {
    grid-column: 2;
}

.shop-ew-slider-controls-line_arrows .shop-ew-slider-dots {
    grid-column: 1 / -1;
}

.shop-ew-slider-arrows {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
}

.shop-ew-slider-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    border: 1px solid #cfd6df;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    --shop-ew-slider-arrow-hover-y: -1px;
    --shop-ew-slider-arrow-hover-scale: 1;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.shop-ew-slider-arrow:hover {
    background: var(--shop-ew-primary);
    border-color: var(--shop-ew-primary);
    color: #ffffff;
    transform: translateY(var(--shop-ew-slider-arrow-hover-y)) scale(var(--shop-ew-slider-arrow-hover-scale));
}

.shop-ew-slider-arrow.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.shop-ew-slider-arrow svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.shop-ew-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.shop-ew-slider-dot {
    display: inline-flex;
    width: 8px;
    height: 8px;
    min-width: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d8dfe7;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, width .2s ease, opacity .2s ease;
}

.shop-ew-slider-dot:hover,
.shop-ew-slider-dot:focus {
    transform: scale(1.18);
    outline: none;
}

.shop-ew-slider-dot.is-active {
    background: var(--shop-ew-primary);
}

.shop-ew-slider-progress {
    position: relative;
    display: block;
    width: 100%;
    height: 2px;
    min-width: 0;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 999px;
}

.shop-ew-slider-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 0%;
    height: 100%;
    background: #0f172a;
    border-radius: inherit;
    transition: width .25s ease;
}

@media (max-width: 767px) {
    .shop-ew-slider-controls-line_arrows {
        grid-template-columns: 1fr;
    }

    .shop-ew-slider-controls-line_arrows .shop-ew-slider-progress,
    .shop-ew-slider-controls-line_arrows .shop-ew-slider-arrows,
    .shop-ew-slider-controls-line_arrows .shop-ew-slider-dots {
        grid-column: 1;
    }

    .shop-ew-slider-controls-line_arrows .shop-ew-slider-arrows {
        justify-content: flex-end;
    }
}

.shop-ew-slider-controls.is-disabled {
    display: none;
}

/* Shop EW v1.19 - sortare front-end, paginatie si load more */
.shop-ew-products-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin: 0 0 24px;
}

.shop-ew-products-sort-form {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
}

.shop-ew-products-sort-label {
    color: var(--shop-ew-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.shop-ew-products-widget .shop-ew-products-sort-select {
    box-sizing: border-box;
    width: auto;
    min-width: max-content;
    max-width: 100%;
    min-height: 42px;
    padding: 9px 36px 9px 14px;
    border: 1px solid var(--shop-ew-border);
    border-radius: 10px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23020617' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 14px;
    color: var(--shop-ew-dark);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

@media (max-width: 767px) {
    .shop-ew-products-widget .shop-ew-products-sort-select {
        width: 100%;
        min-width: 0;
    }
}

.shop-ew-products-sort-select:hover,
.shop-ew-products-sort-select:focus {
    border-color: var(--shop-ew-border);
    box-shadow: none;
    outline: none;
}

.shop-ew-load-more-grid .shop-ew-product-card.shop-ew-load-more-hidden {
    display: none !important;
}

.shop-ew-pagination-wrap,
.shop-ew-load-more-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin: 28px 0 0;
}

.shop-ew-page-link,
.shop-ew-load-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--shop-ew-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--shop-ew-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.shop-ew-page-link:hover,
.shop-ew-load-more-button:hover,
.shop-ew-page-link.is-active {
    background: var(--shop-ew-primary);
    border-color: var(--shop-ew-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.shop-ew-load-more-button.is-hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .shop-ew-products-tools {
        justify-content: stretch;
    }

    .shop-ew-products-sort-form,
    .shop-ew-products-sort-select {
        width: 100%;
    }
}

/* Shop EW v1.17 - status la comanda / backorder */
.shop-ew-product-card.shop-ew-is-on-backorder .shop-ew-stock {
    --shop-ew-stock-status: backorder;
}

/* Shop EW v1.20 - corectii mobil pentru taburi, sortare si buton */
.shop-ew-products-button-mobile-after {
    display: none;
}

@media (max-width: 767px) {
    .shop-ew-feature-header {
        align-items: stretch !important;
        overflow: hidden;
    }

    .shop-ew-feature .shop-ew-tabs-wrap {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .shop-ew-feature .shop-ew-tabs {
        justify-content: flex-start !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        min-width: max-content !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }

    .shop-ew-feature .shop-ew-tab-btn {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        scroll-snap-align: start;
    }

    .shop-ew-feature .shop-ew-view-all {
        align-self: flex-start !important;
        justify-self: flex-start !important;
        margin-left: 0 !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .shop-ew-products-header {
        align-items: stretch !important;
        gap: 12px !important;
    }

    .shop-ew-products-button-wrap-header {
        display: none !important;
    }

    .shop-ew-products-button-mobile-after {
        display: flex !important;
        width: 100%;
        justify-content: center;
        margin: 20px 0 0;
    }

    .shop-ew-products-button-mobile-after .shop-ew-products-more-button {
        width: auto;
        max-width: 100%;
    }
}


/* Shop EW v1.21 - corectii slider pe mobil: linie progres si sageti pe acelasi rand, buton sub slider */
@media (max-width: 767px) {
    .shop-ew-products-has-slider .shop-ew-slider-controls-line_arrows,
    .shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: var(--shop-ew-mobile-tabs-progress-gap, 10px) !important;
        width: 100% !important;
    }

    .shop-ew-products-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-progress,
    .shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-progress {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        align-self: center !important;
    }

    .shop-ew-products-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-arrows,
    .shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-arrows {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-content: flex-end !important;
        align-self: center !important;
        white-space: nowrap !important;
    }

    .shop-ew-products-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-dots,
    .shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-dots {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
    }

    .shop-ew-products-has-slider .shop-ew-slider-controls,
    .shop-ew-feature-has-slider .shop-ew-slider-controls {
        flex-wrap: nowrap !important;
    }

    .shop-ew-products-has-slider .shop-ew-products-button-wrap-header {
        display: none !important;
    }

    .shop-ew-products-has-slider .shop-ew-products-button-mobile-after {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        margin: 16px 0 0 !important;
        clear: both !important;
    }
}

/* Shop EW v1.26 - slider mobil pentru zona completa de taburi Feature EW */
.shop-ew-tabs-mobile-shell {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.shop-ew-tabs-mobile-shell .shop-ew-tabs-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.shop-ew-tabs-mobile-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border: 1px solid var(--shop-ew-border);
    border-radius: 50%;
    background: #ffffff;
    color: var(--shop-ew-dark);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.shop-ew-tabs-mobile-arrow:hover {
    background: var(--shop-ew-primary);
    border-color: var(--shop-ew-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.shop-ew-tabs-mobile-arrow.is-disabled {
    opacity: .42;
    cursor: not-allowed;
    transform: none;
}

.shop-ew-tabs-mobile-arrow svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

@media (max-width: 1024px) {
    .shop-ew-feature .shop-ew-tabs-mobile-shell {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
        grid-column: auto;
        justify-self: stretch;
    }
}

@media (max-width: 767px) {
    .shop-ew-feature .shop-ew-tabs-mobile-shell {
        order: 2;
        flex: 0 0 auto;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        grid-column: auto;
        justify-self: stretch;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled.has-arrows {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled:not(.has-arrows) {
        display: block !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled.has-arrows .shop-ew-tabs-mobile-arrow-prev {
        grid-column: 1;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled.has-arrows .shop-ew-tabs-wrap {
        grid-column: 2;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled.has-arrows .shop-ew-tabs-mobile-arrow-next {
        grid-column: 3;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tabs-mobile-arrow {
        display: inline-flex !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tabs-wrap {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 0 !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tabs-wrap::-webkit-scrollbar {
        display: none;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        width: max-content !important;
        min-width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tab-btn {
        flex: 0 0 var(--shop-ew-mobile-tab-width, auto) !important;
        width: var(--shop-ew-mobile-tab-width, auto);
        max-width: var(--shop-ew-mobile-tab-width, none);
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        scroll-snap-align: none;
    }
}

/* Shop EW v1.26 - fix afisare slider taburi Feature EW pe mobil */
@media (max-width: 767px) {
    .shop-ew-feature-mobile-tabs-slider .shop-ew-feature-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled.has-arrows {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled:not(.has-arrows) {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled.has-arrows .shop-ew-tabs-mobile-arrow {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tabs-wrap {
        display: block !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tabs {
        width: max-content !important;
        min-width: max-content !important;
        max-width: none !important;
    }
}


/* Shop EW v1.27 - controale slider vizual pentru taburi Feature EW pe mobil */
.shop-ew-tabs-mobile-controls {
    display: none;
}

.shop-ew-tabs-mobile-progress {
    position: relative;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.shop-ew-tabs-mobile-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--shop-ew-primary);
    transition: width .24s ease;
}

.shop-ew-tabs-mobile-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled.has-arrows,
    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled:not(.has-arrows) {
        display: block !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tabs-wrap {
        margin-bottom: var(--shop-ew-mobile-tabs-progress-gap, 12px) !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tabs-mobile-controls {
        display: flex !important;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tabs-mobile-progress {
        flex: 1 1 auto;
        min-width: 0;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-arrow {
        display: inline-flex !important;
        position: relative !important;
        z-index: 2 !important;
    }
}


/* Shop EW v1.28 - corectie layout slider taburi Feature EW pe mobil */
@media (max-width: 767px) {
    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: var(--shop-ew-mobile-tabs-progress-gap, 10px) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-wrap {
        order: 1 !important;
        width: 100% !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-progress {
        display: block !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-arrows {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-arrow {
        display: inline-flex !important;
    }
}


/* Shop EW v1.30 - fix preview Elementor pentru slider taburi Feature EW */
body.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled,
body.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled,
.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled,
.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: var(--shop-ew-mobile-tabs-progress-gap, 10px) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

body.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-wrap,
body.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-wrap,
.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-wrap,
.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-wrap {
    order: 1 !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
}

body.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-wrap::-webkit-scrollbar,
body.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-wrap::-webkit-scrollbar,
.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-wrap::-webkit-scrollbar {
    display: none !important;
}

body.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls,
body.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls,
.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls,
.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    flex: 0 0 auto !important;
}

body.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-progress,
body.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-progress,
.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-progress,
.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-progress {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
}

body.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-arrows,
body.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-arrows,
.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-arrows,
.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-arrows {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
}

body.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-arrow,
body.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-arrow,
.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-arrow,
.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls .shop-ew-tabs-mobile-arrow {
    display: inline-flex !important;
}

.shop-ew-slider-shell.shop-ew-slider-no-products .shop-ew-slider-controls,
.shop-ew-products-widget .shop-ew-slider-controls.is-disabled {
    display: none !important;
}


/* Shop EW v1.37 - aplicare corecta distanta taburi / linie slider pe frontend mobil */
@media (max-width: 767px) {
    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled {
        gap: var(--shop-ew-mobile-tabs-progress-gap, 10px) !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-wrap {
        margin-bottom: 0 !important;
    }
}

body.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled,
body.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled,
.elementor-editor-active .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled,
.elementor-editor-preview .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled {
    gap: var(--shop-ew-mobile-tabs-progress-gap, 10px) !important;
}


/* Shop EW v1.37 - protectie slider responsive in preview mobil/tableta Elementor */
@media (max-width: 767px) {
    .shop-ew-products-has-slider .shop-ew-slider-track > .shop-ew-product-card,
    .shop-ew-products-has-slider .shop-ew-slider-track > .shop-ew-promo-card,
    .shop-ew-feature-has-slider .shop-ew-slider-track > .shop-ew-product-card,
    .shop-ew-feature-has-slider .shop-ew-slider-track > .shop-ew-promo-card {
        min-width: min(100%, var(--shop-ew-slider-card-width, 280px));
    }
}


/* Shop EW v1.38 - fix desktop Feature EW slider controls layout */
@media (min-width: 768px) {
    .shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 18px 24px !important;
        width: 100% !important;
    }

    .shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-progress {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        width: 100% !important;
        align-self: center !important;
    }

    .shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-arrows {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-content: flex-end !important;
        align-self: center !important;
        white-space: nowrap !important;
        margin-left: auto !important;
    }

    .shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-dots {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
    }
}

.shop-ew-slider-controls.is-disabled,
.shop-ew-slider-shell.shop-ew-slider-no-products .shop-ew-slider-controls {
    display: none !important;
}


/* Shop EW v1.39 - fix strict controale slider produse Feature EW, nu taburi */
.shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
}

.shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-line-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-line-row .shop-ew-slider-progress {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

.shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows .shop-ew-slider-line-row .shop-ew-slider-arrows {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    min-width: max-content !important;
    margin-left: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

.shop-ew-feature-has-slider .shop-ew-slider-controls-line_arrows > .shop-ew-slider-dots {
    width: 100% !important;
}


/* Shop EW v1.40 - ascunde controalele sliderului de produse cand nu exista produse in plus fata de numarul vizibil setat */
.shop-ew-slider-controls.is-disabled,
.shop-ew-slider-shell.shop-ew-slider-no-products .shop-ew-slider-controls,
.shop-ew-slider-shell.shop-ew-slider-no-overflow .shop-ew-slider-controls,
.shop-ew-feature-has-slider .shop-ew-slider-controls.is-disabled,
.shop-ew-products-has-slider .shop-ew-slider-controls.is-disabled,
.shop-ew-feature-has-slider .shop-ew-slider-shell.shop-ew-slider-no-overflow .shop-ew-slider-controls,
.shop-ew-products-has-slider .shop-ew-slider-shell.shop-ew-slider-no-overflow .shop-ew-slider-controls {
    display: none !important;
}


/* Shop EW v1.41 - controalele sliderului apar doar cand exista produse in plus fata de numarul vizibil setat */
.shop-ew-slider-shell .shop-ew-slider-controls,
.shop-ew-slider-shell.shop-ew-slider-no-overflow .shop-ew-slider-controls,
.shop-ew-slider-shell.shop-ew-slider-no-products .shop-ew-slider-controls,
.shop-ew-slider-shell .shop-ew-slider-controls.is-disabled {
    display: none !important;
}

.shop-ew-slider-shell.shop-ew-slider-has-overflow:not(.shop-ew-slider-no-overflow):not(.shop-ew-slider-no-products) .shop-ew-slider-controls:not(.is-disabled) {
    display: flex !important;
}

.shop-ew-feature-has-slider .shop-ew-slider-shell.shop-ew-slider-has-overflow:not(.shop-ew-slider-no-overflow):not(.shop-ew-slider-no-products) .shop-ew-slider-controls-line_arrows:not(.is-disabled) {
    display: flex !important;
}

/* Shop EW v1.42 - Editor Produs EW */
.shop-ew-editor-product,
.shop-ew-editor-product * {
    box-sizing: border-box;
}

.shop-ew-editor-product {
    --shop-ew-editor-primary: #15b981;
    --shop-ew-editor-accent: #ef4444;
    --shop-ew-editor-border: #e5e7eb;
    --shop-ew-editor-surface: #ffffff;
    --shop-ew-editor-text: #111827;
    --shop-ew-editor-muted: #6b7280;
    color: var(--shop-ew-editor-text);
}

.shop-ew-editor-product-main {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.9fr);
    gap: 40px;
    align-items: start;
}

.shop-ew-editor-gallery-stage {
    position: relative;
    min-height: 520px;
    background: var(--shop-ew-editor-surface);
    border: 1px solid var(--shop-ew-editor-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.shop-ew-editor-main-image img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.shop-ew-editor-sale-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--shop-ew-editor-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.shop-ew-editor-gallery-arrow,
.shop-ew-editor-zoom-button,
.shop-ew-editor-wishlist-btn,
.shop-ew-editor-related-heart {
    border: 1px solid var(--shop-ew-editor-border);
    background: #fff;
    color: var(--shop-ew-editor-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.shop-ew-editor-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
}

.shop-ew-editor-gallery-arrow svg,
.shop-ew-editor-zoom-button svg,
.shop-ew-editor-wishlist-btn svg,
.shop-ew-editor-related-heart svg {
    width: 20px;
    height: 20px;
    display: block;
}

.shop-ew-editor-gallery-arrow.is-prev { left: 18px; }
.shop-ew-editor-gallery-arrow.is-next { right: 18px; }

.shop-ew-editor-zoom-button {
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
}

.shop-ew-editor-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.shop-ew-editor-thumb {
    width: 80px;
    height: 80px;
    border: 1px solid var(--shop-ew-editor-border);
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.shop-ew-editor-thumb.is-active {
    border-color: var(--shop-ew-editor-text);
}

.shop-ew-editor-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.shop-ew-editor-title {
    margin: 0 0 18px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--shop-ew-editor-text);
}

.shop-ew-editor-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.shop-ew-editor-rating,
.shop-ew-editor-sku {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--shop-ew-editor-muted);
    font-size: 15px;
}

.shop-ew-editor-star {
    color: #d1d5db;
    font-size: 16px;
    line-height: 1;
}
.shop-ew-editor-star.is-active,
.shop-ew-editor-stars-inline .shop-ew-editor-star.is-active {
    color: #f5b301;
}
.shop-ew-editor-rating-text { color: var(--shop-ew-editor-text); font-weight: 600; }

.shop-ew-editor-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--shop-ew-editor-primary) 12%, white);
    color: var(--shop-ew-editor-primary);
    font-weight: 700;
}

.shop-ew-editor-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}

.shop-ew-editor-price-old {
    color: #9ca3af;
    font-size: 22px;
    text-decoration: line-through;
}

.shop-ew-editor-price-current {
    color: var(--shop-ew-editor-accent);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.shop-ew-editor-benefits {
    margin: 0 0 22px 18px;
    padding: 0;
    color: var(--shop-ew-editor-muted);
}
.shop-ew-editor-benefits li { margin-bottom: 8px; }

.shop-ew-editor-cart-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 22px 0;
    border-top: 1px solid var(--shop-ew-editor-border);
}

.shop-ew-editor-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--shop-ew-editor-border);
    border-radius: 12px;
    overflow: hidden;
    min-width: 110px;
    height: 54px;
    background: #fff;
}
.shop-ew-editor-qty button,
.shop-ew-editor-qty span {
    width: 36px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    font-size: 22px;
    color: var(--shop-ew-editor-text);
}
.shop-ew-editor-addcart {
    min-height: 54px;
    padding: 12px 28px;
    border: 0;
    border-radius: 12px;
    background: var(--shop-ew-editor-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.shop-ew-editor-helper-text {
    margin: 0;
    color: var(--shop-ew-editor-muted);
    font-size: 15px;
}

.shop-ew-editor-wishlist-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding-bottom: 22px;
}

.shop-ew-editor-wishlist-btn {
    width: 48px;
    height: 48px;
    border-radius: 999px;
}

.shop-ew-editor-specialist {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px 0;
}

.shop-ew-editor-specialist-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
}

.shop-ew-editor-specialist-label {
    color: var(--shop-ew-editor-muted);
    font-size: 14px;
    margin-bottom: 4px;
}
.shop-ew-editor-specialist-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}
.shop-ew-editor-specialist-row strong {
    font-size: 18px;
    color: var(--shop-ew-editor-text);
}
.shop-ew-editor-specialist-row span {
    color: #14b8e4;
}

.shop-ew-editor-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 26px;
    padding: 18px 0;
}

.shop-ew-editor-feature-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}
.shop-ew-editor-feature-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--shop-ew-editor-border);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-ew-editor-text);
}
.shop-ew-editor-feature-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
}
.shop-ew-editor-feature-item span:last-child {
    color: var(--shop-ew-editor-muted);
    display: block;
}

.shop-ew-editor-categories {
    padding-top: 18px;
    border-top: 1px solid var(--shop-ew-editor-border);
    color: var(--shop-ew-editor-muted);
}
.shop-ew-editor-categories strong { color: var(--shop-ew-editor-text); }

.shop-ew-editor-tabs-section {
    margin-top: 44px;
}
.shop-ew-editor-tabs-nav {
    display: flex;
    gap: 26px;
    border-bottom: 1px solid var(--shop-ew-editor-border);
}
.shop-ew-editor-tabs-nav button {
    background: transparent;
    border: 0;
    padding: 0 0 16px;
    color: #9ca3af;
    font-size: 16px;
    font-weight: 600;
}
.shop-ew-editor-tabs-nav button.is-active {
    color: var(--shop-ew-editor-text);
}
.shop-ew-editor-tabs-panel {
    padding-top: 22px;
    color: var(--shop-ew-editor-text);
}

.shop-ew-editor-related-section {
    margin-top: 44px;
}
.shop-ew-editor-related-heading {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--shop-ew-editor-border);
    font-size: 22px;
    font-weight: 800;
}
.shop-ew-editor-related-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}
.shop-ew-editor-related-card {
    border: 1px solid var(--shop-ew-editor-border);
    border-radius: 10px;
    padding: 0 0 14px;
    background: #fff;
    overflow: hidden;
}
.shop-ew-editor-related-image-wrap {
    position: relative;
    min-height: 215px;
    background: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-ew-editor-related-image-wrap img {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
    display: block;
}
.shop-ew-editor-related-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--shop-ew-editor-accent);
    color: #fff;
    border-radius: 8px;
    min-height: 24px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}
.shop-ew-editor-related-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
}
.shop-ew-editor-related-title,
.shop-ew-editor-related-reviews,
.shop-ew-editor-related-prices,
.shop-ew-editor-related-stock {
    padding-left: 16px;
    padding-right: 16px;
}
.shop-ew-editor-related-title {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}
.shop-ew-editor-related-reviews,
.shop-ew-editor-related-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--shop-ew-editor-muted);
    font-size: 14px;
    margin-bottom: 10px;
}
.shop-ew-editor-stars-inline { display: inline-flex; gap: 2px; }
.shop-ew-editor-related-old-price {
    color: #9ca3af;
    text-decoration: line-through;
    margin-right: 8px;
}
.shop-ew-editor-related-price {
    color: var(--shop-ew-editor-accent);
    font-weight: 800;
    font-size: 18px;
}
.shop-ew-editor-related-dots {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    gap: 5px;
}
.shop-ew-editor-related-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d1d5db;
}
.shop-ew-editor-related-dots span.is-active { background: #f5b301; }

@media (max-width: 1200px) {
    .shop-ew-editor-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .shop-ew-editor-product-main {
        grid-template-columns: 1fr;
    }
    .shop-ew-editor-gallery-stage {
        min-height: 420px;
    }
}

@media (max-width: 767px) {
    .shop-ew-editor-title {
        font-size: 28px;
    }
    .shop-ew-editor-feature-grid,
    .shop-ew-editor-related-grid {
        grid-template-columns: 1fr;
    }
    .shop-ew-editor-gallery-stage {
        min-height: 320px;
        padding: 24px;
    }
    .shop-ew-editor-wishlist-row,
    .shop-ew-editor-specialist,
    .shop-ew-editor-cart-row {
        grid-template-columns: 1fr;
    }
    .shop-ew-editor-cart-row {
        align-items: stretch;
    }
}

/* Shop EW v1.44 - Editor Produs EW: zona specialist + beneficii sub coloanele produsului */
.shop-ew-editor-trust-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
    gap: 32px;
    align-items: center;
    margin-top: 30px;
    padding: 24px 0;
    border-top: 1px solid var(--shop-ew-editor-border);
    border-bottom: 1px solid var(--shop-ew-editor-border);
}

.shop-ew-editor-trust-section .shop-ew-editor-specialist {
    padding: 0;
}

.shop-ew-editor-trust-section .shop-ew-editor-feature-grid {
    padding: 0;
}

@media (max-width: 1024px) {
    .shop-ew-editor-trust-section {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}


/* Shop EW v1.45 - Editor Produs EW extra zones */
.shop-ew-editor-meta-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
}

.shop-ew-editor-short-description {
    margin: 0 0 20px;
    color: var(--shop-ew-editor-muted);
    line-height: 1.7;
}

.shop-ew-editor-short-description p:last-child,
.shop-ew-editor-below-selector p:last-child,
.shop-ew-editor-tab-panel p:last-child {
    margin-bottom: 0;
}

.shop-ew-editor-below-selector {
    margin: 0 0 18px;
    color: var(--shop-ew-editor-muted);
    line-height: 1.7;
}

.shop-ew-editor-cart-form {
    margin: 0;
}

.shop-ew-editor-qty input[type="number"] {
    width: 46px;
    min-width: 46px;
    height: 54px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
    color: inherit;
    font: inherit;
    appearance: textfield;
    -moz-appearance: textfield;
}

.shop-ew-editor-qty input[type="number"]::-webkit-outer-spin-button,
.shop-ew-editor-qty input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shop-ew-editor-tabs-section {
    clear: both;
}

.shop-ew-editor-tab-panel {
    display: none;
    padding-top: 22px;
    color: var(--shop-ew-editor-text);
    line-height: 1.7;
}

.shop-ew-editor-tab-panel.is-active {
    display: block;
}

.shop-ew-editor-tabs-panel {
    display: none;
}

.shop-ew-editor-downloads-list {
    display: grid;
    gap: 12px;
}

.shop-ew-editor-download-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid var(--shop-ew-editor-border);
    border-radius: 12px;
    background: #fff;
    color: var(--shop-ew-editor-text);
    text-decoration: none;
    font-weight: 700;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.shop-ew-editor-download-item:hover {
    color: var(--shop-ew-editor-primary);
    border-color: var(--shop-ew-editor-primary);
    transform: translateY(-1px);
}

.shop-ew-editor-download-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--shop-ew-editor-primary) 12%, white);
    color: var(--shop-ew-editor-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.shop-ew-editor-trust-section {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--shop-ew-editor-border);
}

.shop-ew-editor-product .shop-ew-editor-tabs-nav button {
    cursor: pointer;
}

.shop-ew-editor-product .shop-ew-editor-addcart,
.shop-ew-editor-product .shop-ew-editor-wishlist-btn,
.shop-ew-editor-product .shop-ew-editor-qty button,
.shop-ew-editor-product .shop-ew-editor-gallery-arrow,
.shop-ew-editor-product .shop-ew-editor-zoom-button {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.shop-ew-editor-product .shop-ew-editor-addcart:hover,
.shop-ew-editor-product .shop-ew-editor-wishlist-btn:hover,
.shop-ew-editor-product .shop-ew-editor-gallery-arrow:hover,
.shop-ew-editor-product .shop-ew-editor-zoom-button:hover {
    transform: translateY(-1px);
}

/* Shop EW v1.46 - icon / imagine pentru beneficiile din Editor Produs EW */
.shop-ew-editor-feature-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.shop-ew-editor-feature-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Shop EW v1.48 - specialist links + beneficii fara subtitlu */
.shop-ew-editor-specialist-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
}

.shop-ew-editor-specialist-phone,
.shop-ew-editor-specialist-link {
    text-decoration: none;
    transition: color .2s ease;
}

.shop-ew-editor-specialist-phone {
    font-weight: 700;
    color: var(--shop-ew-editor-text);
}

.shop-ew-editor-specialist-link {
    color: #14b8e4;
}

.shop-ew-editor-feature-content {
    min-width: 0;
}

.shop-ew-editor-feature-title {
    display: block;
    margin: 0;
}

.shop-ew-editor-feature-icon img {
    display: block;
    object-fit: contain;
}

@media (max-width: 767px) {
    .shop-ew-editor-specialist {
        grid-template-columns: auto minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .shop-ew-editor-specialist-content {
        min-width: 0;
    }

    .shop-ew-editor-specialist-label,
    .shop-ew-editor-specialist-phone,
    .shop-ew-editor-specialist-link {
        display: block;
    }

    .shop-ew-editor-specialist-row {
        display: block !important;
    }

    .shop-ew-editor-specialist-phone {
        margin-top: 6px;
    }

    .shop-ew-editor-specialist-link {
        margin-top: 6px;
    }
}

/* Shop EW v1.50 - specialist layout, Whatsapp si spacing beneficii */
.shop-ew-editor-specialist-fields {
    display: grid;
    row-gap: 6px;
    justify-items: start;
}

.shop-ew-editor-specialist-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.shop-ew-editor-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    line-height: 1;
    flex: 0 0 auto;
}

.shop-ew-editor-whatsapp-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.shop-ew-editor-whatsapp-icon img {
    display: block;
    width: 1em;
    height: 1em;
    object-fit: contain;
}

.shop-ew-editor-feature-title {
    transition: color .2s ease;
}

@media (max-width: 767px) {
    .shop-ew-editor-specialist-fields {
        display: grid !important;
        row-gap: 6px;
        justify-items: start;
    }

    .shop-ew-editor-specialist-phone,
    .shop-ew-editor-specialist-link {
        margin-top: 0 !important;
    }

    .shop-ew-editor-specialist-link {
        display: inline-flex !important;
    }
}

/* Shop EW v1.51 - icon telefon si pozitie icon specialist */
.shop-ew-editor-specialist-phone,
.shop-ew-editor-specialist-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.shop-ew-editor-phone-icon,
.shop-ew-editor-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
}

.shop-ew-editor-phone-icon svg,
.shop-ew-editor-whatsapp-icon svg,
.shop-ew-editor-phone-icon img,
.shop-ew-editor-whatsapp-icon img {
    display: block;
}

.shop-ew-editor-icon-position-after {
    flex-direction: row;
}


/* Shop EW v1.52 - Editor Produs EW galerie cu numar poze + sageti */
.shop-ew-editor-gallery-stage {
    position: relative;
}

.shop-ew-editor-gallery-images {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.shop-ew-editor-gallery-images .shop-ew-editor-main-image {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.shop-ew-editor-gallery-images .shop-ew-editor-main-image.is-active {
    display: flex;
}

.shop-ew-editor-gallery-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    width: 100%;
}

.shop-ew-editor-gallery-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 38px;
    padding: 6px 0;
    color: var(--shop-ew-editor-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.shop-ew-editor-gallery-arrows {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
}

.shop-ew-editor-gallery-arrows .shop-ew-editor-gallery-arrow {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 999px;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.shop-ew-editor-gallery-arrows .shop-ew-editor-gallery-arrow:hover {
    transform: translateY(-1px);
}

.shop-ew-editor-gallery-arrows .shop-ew-editor-gallery-arrow.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.shop-ew-editor-thumbs {
    display: none !important;
}

@media (max-width: 767px) {
    .shop-ew-editor-gallery-bottom {
        gap: 12px;
        margin-top: 12px;
    }

    .shop-ew-editor-gallery-arrows .shop-ew-editor-gallery-arrow {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
}

/* Shop EW v1.53 - Editor Produs EW fullscreen zoom */
.shop-ew-editor-product .shop-ew-editor-zoom-button {
    top: 18px;
    right: 18px;
    left: auto;
    bottom: auto;
    z-index: 6;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 999px;
}

.shop-ew-editor-product .shop-ew-editor-zoom-button svg {
    width: 20px;
    height: 20px;
}

.shop-ew-editor-lightbox-open {
    overflow: hidden;
}

.shop-ew-editor-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(2, 6, 23, 0.88);
}

.shop-ew-editor-lightbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-ew-editor-lightbox img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.shop-ew-editor-lightbox-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.shop-ew-editor-lightbox-close:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.65);
    transform: translateY(-1px);
}


/* Shop EW v1.54 - contor galerie fix + aliniere descrieri */
.shop-ew-editor-gallery-counter {
    box-sizing: border-box;
    width: 52px;
    min-width: 52px;
    white-space: nowrap;
}

.shop-ew-editor-short-description,
.shop-ew-editor-tab-panel {
    text-align: inherit;
}


/* Shop EW v1.55 - buton inchidere fullscreen centrat si compatibil cu stilul butonului full screen */
.shop-ew-editor-lightbox-close {
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    text-align: center !important;
}

.shop-ew-editor-lightbox-close svg {
    display: block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
}

.shop-ew-editor-lightbox-close svg path {
    fill: currentColor;
}


/* Shop EW v1.57 - Editor Produs EW: meta produs vertical */
.shop-ew-editor-meta-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 18px;
}

.shop-ew-editor-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--shop-ew-editor-muted);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.shop-ew-editor-meta-item strong {
    color: inherit;
    font-weight: 700;
}

.shop-ew-editor-meta-stock {
    padding: 8px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--shop-ew-editor-primary) 12%, white);
    color: var(--shop-ew-editor-primary);
    font-weight: 700;
}

.shop-ew-editor-meta-rating {
    gap: 4px;
}

.shop-ew-editor-meta-rating .shop-ew-editor-rating-text {
    margin-left: 6px;
}

.shop-ew-editor-meta-category {
    padding: 0;
    border: 0;
}

.shop-ew-editor-meta-category span,
.shop-ew-editor-meta-sku span {
    display: inline-block;
}

/* Shop EW v1.59 - Editor Produs EW fixes */
.shop-ew-editor-addcart .shop-ew-editor-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 0 0 auto;
}
.shop-ew-editor-addcart .shop-ew-editor-cart-icon svg,
.shop-ew-editor-addcart .shop-ew-editor-cart-icon img {
    display: block;
    width: 1em;
    height: 1em;
    object-fit: contain;
}
.shop-ew-editor-addcart.shop-ew-editor-icon-position-after {
    flex-direction: row;
}
.shop-ew-editor-short-description {
    border-bottom: 0 solid var(--shop-ew-editor-border);
}


/* Shop EW v1.59 - corectii Editor Produs EW */
.shop-ew-editor-product .shop-ew-editor-addcart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 0 0 auto;
}
.shop-ew-editor-product .shop-ew-editor-addcart-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}
.shop-ew-editor-product .shop-ew-editor-addcart-icon img {
    display: block;
    object-fit: contain;
}
.shop-ew-editor-product .shop-ew-editor-icon-position-after {
    flex-direction: row;
}
.shop-ew-editor-product .shop-ew-editor-icon-position-before {
    flex-direction: row;
}
.shop-ew-editor-categories strong::after {
    content: '';
}

/* Shop EW v1.60 - corectii Editor Produs EW */
.shop-ew-editor-addcart .shop-ew-editor-cart-icon,
.shop-ew-editor-addcart .shop-ew-editor-cart-icon * {
    color: inherit;
}
.shop-ew-editor-addcart .shop-ew-editor-cart-icon svg,
.shop-ew-editor-addcart .shop-ew-editor-cart-icon svg * {
    fill: currentColor;
    stroke: currentColor;
}
.shop-ew-editor-stock-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 auto;
    background: var(--shop-ew-editor-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--shop-ew-editor-primary) 16%, transparent);
}
.shop-ew-editor-stock-status-in-stock .shop-ew-editor-stock-dot {
    background: #009966;
    box-shadow: 0 0 0 3px rgba(0, 153, 102, .14);
}
.shop-ew-editor-stock-status-out-of-stock .shop-ew-editor-stock-dot {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .14);
}
.shop-ew-editor-stock-status-on-backorder .shop-ew-editor-stock-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .16);
}
.shop-ew-editor-short-description {
    border-bottom-style: solid;
}
.shop-ew-editor-trust-section {
    border-top-style: solid;
    border-bottom-style: solid;
}
.shop-ew-editor-qty button {
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.shop-ew-editor-meta-category strong {
    white-space: nowrap;
}


/* Shop EW v1.69 - AJAX add to cart loading state */
.shop-ew-cart-is-loading {
    opacity: .65;
    pointer-events: none;
}


/* Shop EW v1.69 - ascunde butonul WooCommerce "Vezi cosul" generat dupa AJAX add to cart */
.shop-ew-card .added_to_cart.wc-forward,
.shop-ew-card a.added_to_cart,
.shop-ew-card a.wc-forward.added_to_cart,
.shop-ew-product-card .added_to_cart.wc-forward,
.shop-ew-product-card a.added_to_cart,
.shop-ew-product-card a.wc-forward.added_to_cart,
.shop-ew-product .added_to_cart.wc-forward,
.shop-ew-product a.added_to_cart,
.shop-ew-product a.wc-forward.added_to_cart,
.shop-ew-editor-product .added_to_cart.wc-forward,
.shop-ew-editor-product a.added_to_cart,
.shop-ew-editor-product a.wc-forward.added_to_cart,
.shop-ew-editor-cart-form .added_to_cart.wc-forward,
.shop-ew-editor-cart-form a.added_to_cart,
.shop-ew-editor-cart-form a.wc-forward.added_to_cart {
    display: none !important;
}

/* Shop EW v1.70 - corectii mobile pentru Feature EW si Produse EW slider */
@media (max-width: 767px) {
    .shop-ew-feature-mobile-tabs-slider .shop-ew-feature-header {
        overflow: visible !important;
        gap: 14px !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled {
        position: relative !important;
        overflow: visible !important;
        min-height: 0 !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-wrap {
        position: relative !important;
        z-index: 1 !important;
        margin-bottom: 0 !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled > .shop-ew-tabs-mobile-controls {
        position: relative !important;
        z-index: 2 !important;
        flex: 0 0 auto !important;
        clear: both !important;
        margin-top: var(--shop-ew-mobile-tabs-progress-gap, 10px) !important;
    }

    .shop-ew-feature-mobile-tabs-slider .shop-ew-tabs-mobile-shell.is-enabled .shop-ew-tab-btn {
        position: relative !important;
        z-index: 1 !important;
    }

    .shop-ew-products-has-slider .shop-ew-slider-shell,
    .shop-ew-feature-has-slider .shop-ew-slider-shell {
        overflow: visible !important;
    }

    .shop-ew-products-has-slider .shop-ew-slider-track,
    .shop-ew-feature-has-slider .shop-ew-slider-track {
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

.shop-ew-products-has-slider .shop-ew-slider-track.shop-ew-slider-has-preview,
.shop-ew-feature-has-slider .shop-ew-slider-track.shop-ew-slider-has-preview {
    scroll-snap-type: none !important;
}

.shop-ew-products-has-slider .shop-ew-slider-track.shop-ew-slider-has-preview > .shop-ew-product-card,
.shop-ew-products-has-slider .shop-ew-slider-track.shop-ew-slider-has-preview > .shop-ew-promo-card,
.shop-ew-feature-has-slider .shop-ew-slider-track.shop-ew-slider-has-preview > .shop-ew-product-card,
.shop-ew-feature-has-slider .shop-ew-slider-track.shop-ew-slider-has-preview > .shop-ew-promo-card {
    scroll-snap-align: none !important;
}


/* Shop EW v1.71 - afisare separata fotografie card Produse EW pe desktop/mobil */
@media (min-width: 768px) {
    .shop-ew-promo-card.shop-ew-hide-desktop {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .shop-ew-promo-card.shop-ew-hide-mobile {
        display: none !important;
    }
}


/* Shop EW v1.79 - inaltime imagine responsive pe mobil */
.shop-ew-product-media {
    height: var(--shop-ew-product-media-height, 228px);
}

@media (max-width: 767px) {
    .shop-ew-product-media {
        height: var(--shop-ew-product-media-mobile-height, 210px);
    }
}

.shop-ew-promo-card.shop-ew-promo-card-has-custom-height img {
    height: 100%;
    min-height: 100%;
}

/* Shop EW v1.79 - mobile product price/cart layout and touch reset */
@media (max-width: 767px) {
    .shop-ew-product-card .shop-ew-price-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        margin-top: 2px;
        overflow: visible;
    }

    .shop-ew-product-card .shop-ew-prices {
        display: flex;
        flex-direction: var(--shop-ew-prices-direction, row);
        align-items: baseline;
        flex-wrap: wrap;
        gap: var(--shop-ew-prices-gap, 8px);
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .shop-ew-product-card .shop-ew-current-price-wrap {
        display: inline-flex;
        align-items: baseline;
        flex-wrap: nowrap;
        max-width: 100%;
        white-space: nowrap;
    }

    .shop-ew-product-card .shop-ew-price-current,
    .shop-ew-product-card .shop-ew-price-label,
    .shop-ew-product-card .shop-ew-price-old {
        max-width: 100%;
        white-space: nowrap;
    }

    .shop-ew-product-card .shop-ew-cart-btn {
        align-self: flex-start;
        max-width: 100%;
    }
}

@media (hover: none), (max-width: 767px) {
    .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):hover,
    .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):focus,
    .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):focus-visible,
    .shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):hover,
    .shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):focus,
    .shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):focus-visible {
        width: var(--shop-ew-cart-button-size, 38px);
        max-width: var(--shop-ew-cart-button-size, 38px);
        min-width: var(--shop-ew-cart-button-size, 38px);
        padding-left: 0;
        padding-right: 0;
        border-color: inherit;
    }

    .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):hover .shop-ew-cart-hover-text,
    .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):focus .shop-ew-cart-hover-text,
    .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):focus-visible .shop-ew-cart-hover-text,
    .shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):hover .shop-ew-cart-hover-text,
    .shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):focus .shop-ew-cart-hover-text,
    .shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-is-added):not(.is-added):focus-visible .shop-ew-cart-hover-text {
        max-width: 0;
        margin-left: 0;
        opacity: 0;
        transform: translateX(-2px);
    }
}

/* Shop EW v1.80 - spacing and mobile content alignment for product cards */
@media (max-width: 767px) {
    .shop-ew-product-card .shop-ew-product-content {
        text-align: var(--shop-ew-mobile-card-align, start) !important;
    }

    .shop-ew-product-card .shop-ew-price-row {
        gap: var(--shop-ew-mobile-price-cart-gap, 8px) !important;
        align-items: var(--shop-ew-mobile-card-align, start) !important;
        justify-content: var(--shop-ew-mobile-card-align, start) !important;
        margin-top: 0 !important;
    }

    .shop-ew-product-card .shop-ew-prices {
        text-align: var(--shop-ew-mobile-card-align, start) !important;
        justify-content: var(--shop-ew-mobile-card-align, start) !important;
    }

    .shop-ew-product-card .shop-ew-current-price-wrap {
        justify-content: var(--shop-ew-mobile-card-align, start) !important;
    }

    .shop-ew-product-card .shop-ew-cart-btn {
        align-self: var(--shop-ew-mobile-card-align, start) !important;
        margin-top: 0 !important;
    }

    .shop-ew-product-card .shop-ew-stock {
        justify-content: var(--shop-ew-mobile-card-align, start) !important;
        width: 100%;
        margin-top: 0 !important;
    }
}


/* Shop EW v1.81 - label filters and desktop price/cart layout */
.shop-ew-product-card .shop-ew-price-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--shop-ew-price-cart-gap, 10px);
    width: 100%;
}

.shop-ew-product-card .shop-ew-prices {
    width: 100%;
    max-width: 100%;
}

.shop-ew-product-card .shop-ew-current-price-wrap {
    flex-wrap: nowrap;
    max-width: 100%;
    white-space: nowrap;
}

.shop-ew-product-card .shop-ew-price-current,
.shop-ew-product-card .shop-ew-price-label,
.shop-ew-product-card .shop-ew-price-old {
    max-width: 100%;
    white-space: nowrap;
}

.shop-ew-product-card .shop-ew-cart-btn {
    align-self: flex-start;
}

/* Shop EW v1.82 - stable cart hover and clearer price/cart spacing */
.shop-ew-product-card .shop-ew-price-row {
    gap: var(--shop-ew-price-cart-gap, 14px);
}

.shop-ew-product-card .shop-ew-cart-btn {
    --shop-ew-cart-hover-duration: 280ms;
    --shop-ew-cart-hover-easing: cubic-bezier(.25, .1, .25, 1);
    --shop-ew-icon-hover-y: 0px;
    --shop-ew-icon-hover-scale: 1;
    transform: none;
    transition: background-color .22s ease, color .22s ease, box-shadow .22s ease, border-color .22s ease, padding var(--shop-ew-cart-hover-duration) var(--shop-ew-cart-hover-easing);
    will-change: padding, background-color, color;
    backface-visibility: hidden;
}

.shop-ew-product-card .shop-ew-cart-btn:hover,
.shop-ew-product-card .shop-ew-cart-btn:focus,
.shop-ew-product-card .shop-ew-cart-btn:focus-visible,
.shop-ew-product-card .shop-ew-cart-btn.shop-ew-cart-is-added,
.shop-ew-product-card .shop-ew-cart-btn.is-added {
    transform: none;
}

.shop-ew-product-card .shop-ew-cart-btn .shop-ew-cart-hover-text {
    pointer-events: none;
    transform: none;
    will-change: max-width, opacity, margin-left;
    backface-visibility: hidden;
    transition: max-width var(--shop-ew-cart-hover-duration) var(--shop-ew-cart-hover-easing), margin-left var(--shop-ew-cart-hover-duration) var(--shop-ew-cart-hover-easing), opacity .18s ease;
}

.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:hover .shop-ew-cart-hover-text,
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:focus-visible .shop-ew-cart-hover-text,
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.shop-ew-cart-is-added .shop-ew-cart-hover-text,
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.is-added .shop-ew-cart-hover-text,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:hover .shop-ew-cart-hover-text,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:focus-visible .shop-ew-cart-hover-text,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.shop-ew-cart-is-added .shop-ew-cart-hover-text,
.shop-ew-product-card .shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text.is-added .shop-ew-cart-hover-text {
    transform: none;
}

@media (max-width: 767px) {
    .shop-ew-product-card .shop-ew-price-row {
        gap: var(--shop-ew-mobile-price-cart-gap, var(--shop-ew-price-cart-gap, 8px)) !important;
    }
}

/* Shop EW 1.84 - eticheta pret si taburi personalizabile */
.shop-ew-editor-price-label {
    color: var(--shop-ew-editor-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.shop-ew-editor-tabs-nav button {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.shop-ew-editor-tab-panel {
    box-sizing: border-box;
}

/* Shop EW 1.85 - Feature EW: ordine unica pentru elementele cardului */
.shop-ew-product-content-ordered {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    gap: 0 !important;
}

/* Shop EW 1.88 - distante individuale intre elementele cardului. */
.shop-ew-product-content-ordered > .shop-ew-order-image {
    margin-bottom: var(--shop-ew-gap-after-image, var(--shop-ew-card-elements-gap, 10px)) !important;
}

.shop-ew-product-content-ordered > .shop-ew-order-title {
    margin-bottom: var(--shop-ew-gap-after-title, var(--shop-ew-card-elements-gap, 10px)) !important;
}

.shop-ew-product-content-ordered > .shop-ew-order-rating {
    margin-bottom: var(--shop-ew-gap-after-rating, var(--shop-ew-card-elements-gap, 10px)) !important;
}

.shop-ew-product-content-ordered > .shop-ew-order-price {
    margin-bottom: var(--shop-ew-gap-after-price, var(--shop-ew-card-elements-gap, 10px)) !important;
}

.shop-ew-product-content-ordered > .shop-ew-order-stock {
    margin-bottom: var(--shop-ew-gap-after-stock, var(--shop-ew-card-elements-gap, 10px)) !important;
}

.shop-ew-product-content-ordered > .shop-ew-order-cart {
    margin-bottom: var(--shop-ew-gap-after-cart, var(--shop-ew-card-elements-gap, 10px)) !important;
}

.shop-ew-product-content-ordered > .shop-ew-order-element:last-child {
    margin-bottom: 0 !important;
}

.shop-ew-product-content-ordered > .shop-ew-order-element,
.shop-ew-product-content-ordered .shop-ew-order-title {
    width: 100%;
    min-width: 0;
}

.shop-ew-product-content-ordered .shop-ew-product-media,
.shop-ew-product-content-ordered .shop-ew-product-title,
.shop-ew-product-content-ordered .shop-ew-rating,
.shop-ew-product-content-ordered .shop-ew-code,
.shop-ew-product-content-ordered .shop-ew-price-row,
.shop-ew-product-content-ordered .shop-ew-stock {
    margin-top: 0;
    margin-bottom: 0;
}

.shop-ew-product-content-ordered .shop-ew-price-row-price-only {
    gap: 0;
}

.shop-ew-product-content-ordered .shop-ew-cart-area {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
}

.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-icon_text,
.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-text {
    width: auto !important;
    max-width: 100%;
    min-width: var(--shop-ew-cart-button-size, 38px) !important;
    padding-left: var(--shop-ew-cart-hover-pad-x, 14px);
    padding-right: var(--shop-ew-cart-hover-pad-x, 14px);
    gap: var(--shop-ew-cart-text-gap, 8px);
    overflow: visible;
}

.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-icon_text .shop-ew-cart-text,
.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-text .shop-ew-cart-text {
    display: inline-flex;
    align-items: center;
    max-width: none;
    margin: 0;
    overflow: visible;
    opacity: 1;
    white-space: nowrap;
    transform: none;
    color: currentColor;
    line-height: 1.15;
}

.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-text svg,
.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-text .shop-ew-fallback-icon {
    display: none !important;
}

.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-icon .shop-ew-cart-text {
    display: none !important;
}

.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-icon_text:hover .shop-ew-cart-text,
.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-icon_text:focus-visible .shop-ew-cart-text,
.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-text:hover .shop-ew-cart-text,
.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-text:focus-visible .shop-ew-cart-text,
.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-icon_text.shop-ew-cart-is-added .shop-ew-cart-text,
.shop-ew-product-content-ordered .shop-ew-cart-btn-mode-text.shop-ew-cart-is-added .shop-ew-cart-text {
    max-width: none;
    margin: 0;
    opacity: 1;
    transform: none;
}

@media (max-width: 767px) {
    .shop-ew-product-content-ordered .shop-ew-cart-area {
        justify-content: var(--shop-ew-mobile-card-align, start) !important;
    }

    .shop-ew-product-content-ordered .shop-ew-cart-btn-mode-icon_text,
    .shop-ew-product-content-ordered .shop-ew-cart-btn-mode-text {
        width: auto !important;
        max-width: 100%;
        min-width: var(--shop-ew-cart-button-size, 38px) !important;
        padding-left: var(--shop-ew-cart-hover-pad-x, 14px) !important;
        padding-right: var(--shop-ew-cart-hover-pad-x, 14px) !important;
    }
}

/* Shop EW 1.86 - acelasi motor de ordine pentru Produse EW si Feature EW */
.shop-ew-products-widget .shop-ew-product-content-ordered {
    min-height: 0;
}

/* Shop EW 1.90 - hover stabil: hover-ul nu mută, nu mărește și nu redimensionează elementele. */
.shop-ew-product-card,
.shop-ew-product-media img,
.shop-ew-product-image,
.shop-ew-promo-card,
.shop-ew-promo-card img,
.shop-ew-tab-btn,
.shop-ew-view-all,
.shop-ew-products-more-button,
.shop-ew-icon-btn,
.shop-ew-image-dot,
.shop-ew-slider-arrow,
.shop-ew-slider-dot,
.shop-ew-page-link,
.shop-ew-load-more-button,
.shop-ew-tabs-mobile-arrow,
.shop-ew-editor-download-item,
.shop-ew-editor-addcart,
.shop-ew-editor-wishlist-btn,
.shop-ew-editor-gallery-arrow,
.shop-ew-editor-zoom-button,
.shop-ew-editor-lightbox-close {
    transition-property: color, background-color, border-color, box-shadow, opacity, filter !important;
}

.shop-ew-product-card:hover,
.shop-ew-product-card:focus-within,
.shop-ew-product-card:hover .shop-ew-product-media img,
.shop-ew-promo-card:hover,
.shop-ew-promo-card:hover img,
.shop-ew-tab-btn:hover,
.shop-ew-tab-btn:focus,
.shop-ew-view-all:hover,
.shop-ew-view-all:focus,
.shop-ew-products-more-button:hover,
.shop-ew-products-more-button:focus,
.shop-ew-icon-btn:hover,
.shop-ew-icon-btn:focus,
.shop-ew-image-dot:hover,
.shop-ew-image-dot:focus,
.shop-ew-slider-arrow:hover,
.shop-ew-slider-arrow:focus,
.shop-ew-slider-dot:hover,
.shop-ew-slider-dot:focus,
.shop-ew-page-link:hover,
.shop-ew-load-more-button:hover,
.shop-ew-tabs-mobile-arrow:hover,
.shop-ew-editor-download-item:hover,
.shop-ew-editor-addcart:hover,
.shop-ew-editor-wishlist-btn:hover,
.shop-ew-editor-gallery-arrow:hover,
.shop-ew-editor-zoom-button:hover,
.shop-ew-editor-lightbox-close:hover {
    transform: none !important;
}

/* Butonul de coș nu se mai lărgește la hover. Modurile Icon + text / Doar text rămân statice. */
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-btn-mode-icon_text):not(.shop-ew-cart-btn-mode-text):hover,
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-btn-mode-icon_text):not(.shop-ew-cart-btn-mode-text):focus-visible {
    width: var(--shop-ew-cart-button-size, 38px) !important;
    max-width: var(--shop-ew-cart-button-size, 38px) !important;
    min-width: var(--shop-ew-cart-button-size, 38px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-btn-mode-icon_text):not(.shop-ew-cart-btn-mode-text):hover .shop-ew-cart-hover-text,
.shop-ew-price-row .shop-ew-cart-btn.shop-ew-cart-btn-has-text:not(.shop-ew-cart-btn-mode-icon_text):not(.shop-ew-cart-btn-mode-text):focus-visible .shop-ew-cart-hover-text {
    max-width: 0 !important;
    margin-left: 0 !important;
    opacity: 0 !important;
    transform: none !important;
}

/* Shop EW 2.14: keep the photo inside its rounded viewport. Dots and badges
   belong to the outer media box, so they can remain visible outside the photo. */
.shop-ew-product-card .shop-ew-product-media {
    overflow: visible !important;
    flex-shrink: 0;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    margin-bottom: calc(20px + var(--shop-ew-dots-height, 14px) + var(--shop-ew-dots-extra, 0px));
}

.shop-ew-product-card .shop-ew-product-image-link,
.shop-ew-product-card .shop-ew-product-image-track,
.shop-ew-product-card .shop-ew-product-media img,
.shop-ew-product-card .shop-ew-product-image {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    box-sizing: border-box;
}

.shop-ew-product-card .shop-ew-product-image-link {
    overflow: hidden;
    border-radius: inherit;
    margin: 0;
}

.shop-ew-product-card .shop-ew-product-image-track {
    flex: 1 1 auto;
    overflow: hidden;
    border-radius: inherit;
}

.shop-ew-product-card .shop-ew-product-media img {
    margin: 0 !important;
    object-fit: contain;
    object-position: center top;
}

/* Intrinsic image proportions must not size or shift the flex gallery. */
.shop-ew-product-card .shop-ew-product-image {
    position: absolute;
    inset: 0;
}

.shop-ew-product-card .shop-ew-image-dots {
    top: calc(100% + 5px + var(--shop-ew-dots-extra, 0px)) !important;
    bottom: auto !important;
    min-height: 14px;
    align-items: center;
    justify-content: center;
}

.shop-ew-product-card .shop-ew-image-dots-inner {
    min-height: 14px;
}

.shop-ew-product-content-ordered > .shop-ew-order-image {
    margin-bottom: calc(var(--shop-ew-gap-after-image, var(--shop-ew-card-elements-gap, 10px)) + 5px + var(--shop-ew-dots-height, 14px) + var(--shop-ew-dots-extra, 0px)) !important;
}

/* Shop EW v1.91 - selectare vizuala a variatiilor cu imaginile WooCommerce */
.shop-ew-editor-variations {
    width: 100%;
    margin: 18px 0 20px;
}

.shop-ew-editor-variation-heading {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.35;
}

.shop-ew-editor-variation-title,
.shop-ew-editor-variation-selected-prefix {
    color: inherit;
}

.shop-ew-editor-variation-separator {
    margin-left: 1px;
}

.shop-ew-editor-variation-selected-prefix {
    margin-left: 4px;
}

.shop-ew-editor-variation-heading strong {
    margin-left: 3px;
    font-weight: 700;
}

.shop-ew-editor-variation-swatches {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .shop-ew-editor-variation-swatches {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .shop-ew-editor-variation-swatches {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.shop-ew-editor-variation-swatch {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    min-width: 0;
    padding: 6px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: center;
    font: inherit;
    transform: none !important;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.shop-ew-editor-variation-swatch:hover {
    transform: none !important;
}

.shop-ew-editor-variation-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 5px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 9px;
    background: #fff;
    transition-property: border-color, box-shadow, background-color !important;
}

.shop-ew-editor-variation-swatch.is-active .shop-ew-editor-variation-image {
    border-width: 2px;
    border-color: currentColor;
    box-shadow: 0 0 0 1px currentColor;
}

.shop-ew-editor-variation-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-ew-editor-variation-label {
    display: block;
    width: 100%;
    overflow: hidden;
    color: inherit;
    font-size: 11px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-ew-editor-variation-swatch.is-active .shop-ew-editor-variation-label {
    font-weight: 700;
}


/* Shop EW v1.93 - swipe touch pe galeria imaginilor din carduri */
.shop-ew-product-card .shop-ew-product-image-track[data-shop-ew-gallery="1"] {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.shop-ew-product-card .shop-ew-product-image-track[data-shop-ew-gallery="1"] img {
    -webkit-user-drag: none;
    user-select: none;
}

/* Shop EW v1.97 - preserve original card geometry; sale price is one compact line:
   label -> regular price -> sale/current price. */
.shop-ew-product-card .shop-ew-current-price-wrap,
.shop-ew-order-price .shop-ew-current-price-wrap {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: var(--shop-ew-prices-gap, 8px);
}

.shop-ew-product-card .shop-ew-prices,
.shop-ew-order-price .shop-ew-prices {
    flex-wrap: nowrap;
}


/* Shop EW v1.98 - price alignment + unified badges.
   The sale badge uses exactly the same visual controls as the product badge.
   The price group follows the existing card alignment on desktop/tablet/mobile. */
.shop-ew-products-widget .shop-ew-product-card .shop-ew-prices {
    min-width: 0;
}

/* Shop EW v2.00 - Editor Produs EW: sageti galerie mobile complet interactive */
.shop-ew-editor-product .shop-ew-editor-gallery-bottom {
    position: relative;
    z-index: 20;
}
.shop-ew-editor-product .shop-ew-editor-gallery-arrows {
    position: relative;
    z-index: 21;
    pointer-events: auto;
}
.shop-ew-editor-product .shop-ew-editor-gallery-arrows .shop-ew-editor-gallery-arrow {
    position: relative;
    z-index: 22;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.shop-ew-editor-product .shop-ew-editor-gallery-arrows .shop-ew-editor-gallery-arrow svg,
.shop-ew-editor-product .shop-ew-editor-gallery-arrows .shop-ew-editor-gallery-arrow svg * {
    pointer-events: none;
}

/* Produse EW 2.05: introductory card uses independent text/button styles. */
.shop-ew-products-showcase {
    display: grid;
    grid-template-columns: minmax(0, var(--shop-ew-intro-width, 26%)) minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
    width: 100%;
    min-width: 0;
}
.shop-ew-products-list { min-width: 0; max-width: 100%; }
.shop-ew-promo-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    min-height: var(--shop-ew-promo-min-height, 0px);
    padding: 24px;
    overflow: visible;
    text-align: left;
    overflow-wrap: anywhere;
    align-self: stretch;
}
.shop-ew-promo-title {
    margin: 0 0 12px;
    color: var(--shop-ew-dark);
    font-family: inherit;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}
.shop-ew-promo-description {
    margin: 0 0 20px;
    color: var(--shop-ew-muted);
    font-size: 14px;
    line-height: 1.6;
}
.shop-ew-promo-description p { margin: 0; }
.shop-ew-promo-media { height: 160px; margin-bottom: 18px; overflow: hidden; }
.shop-ew-promo-intro .shop-ew-promo-media img { display: block; width: 100%; height: 100%; min-height: 0; }
.shop-ew-promo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    min-height: 44px;
    padding: 12px 22px;
    border: 0 solid transparent;
    border-radius: 999px;
    background: #e7f0ff;
    color: #0057ff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: normal;
    text-align: center;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.shop-ew-promo-cta:hover, .shop-ew-promo-cta:focus-visible { color: #fff; background: var(--shop-ew-primary); }
.shop-ew-promo-cta:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.shop-ew-promo-cta span { flex: 0 0 auto; }
.shop-ew-promo-mobile-button { display: none; }
@media (min-width: 768px) {
    .shop-ew-products-showcase.shop-ew-intro-hidden-desktop { grid-template-columns: minmax(0, 1fr); }
    /* The introduction occupies one product cell, never the entire multirow list. */
    .shop-ew-products-widget:not(.shop-ew-products-has-slider) .shop-ew-products-showcase {
        grid-template-columns: minmax(0, 1fr) repeat(var(--shop-ew-products-columns, 4), minmax(0, 1fr));
        gap: var(--shop-ew-products-grid-gap, 30px) !important;
    }
    .shop-ew-products-widget:not(.shop-ew-products-has-slider) .shop-ew-products-showcase.shop-ew-intro-hidden-desktop {
        grid-template-columns: repeat(var(--shop-ew-products-columns, 4), minmax(0, 1fr));
    }
    .shop-ew-products-widget:not(.shop-ew-products-has-slider) .shop-ew-products-showcase > .shop-ew-products-list,
    .shop-ew-products-widget:not(.shop-ew-products-has-slider) .shop-ew-products-showcase > .shop-ew-products-list > .shop-ew-products-grid {
        display: contents;
    }
    .shop-ew-products-widget:not(.shop-ew-products-has-slider) .shop-ew-products-showcase > .shop-ew-promo-intro {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }
}
@media (max-width: 1024px) and (min-width: 768px) {
    .shop-ew-products-showcase { --shop-ew-products-columns: 2; }
    .shop-ew-promo-intro { padding: 16px; }
    .shop-ew-promo-title { font-size: 24px; }
}
@media (max-width: 767px) {
    .shop-ew-products-showcase { display: flex; flex-direction: column; }
    .shop-ew-promo-intro { order: 0; width: 100%; text-align: center; padding: 16px; }
    .shop-ew-products-list { order: 1; width: 100%; }
    .shop-ew-promo-mobile-button { order: 2; display: block; width: 100%; text-align: center; }
    .shop-ew-promo-mobile-button .shop-ew-promo-cta { width: 100%; }
    .shop-ew-promo-desktop-button { display: none; }
    .shop-ew-promo-title { font-size: 24px; }
    .shop-ew-promo-description { margin-bottom: 0; }
}


/* Shop EW 2.18 - galerie adaptiva (PC, tableta si mobil).
   Indicatorii sunt un rand real intre poza si urmatorul element, doar pentru
   produsele cu minimum doua imagini si optiunea activa in Elementor. */
.shop-ew-product-card .shop-ew-product-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.shop-ew-product-card .shop-ew-product-gallery > .shop-ew-product-media {
    position: relative;
    margin: 0 !important;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden !important;
}
.shop-ew-product-card .shop-ew-product-gallery > .shop-ew-image-dots {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: var(--shop-ew-dots-align, center);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
    padding-left: var(--shop-ew-dots-side-space, 0px);
    padding-right: var(--shop-ew-dots-side-space, 0px);
    margin-top: calc(5px + var(--shop-ew-dots-extra, 7px)) !important;
    margin-right: 0 !important;
    margin-bottom: var(--shop-ew-dots-to-title, 16px) !important;
    margin-left: 0 !important;
    pointer-events: auto;
}
.shop-ew-product-card .shop-ew-product-gallery > .shop-ew-image-dots .shop-ew-image-dots-inner {
    min-height: 0;
    flex: 0 0 auto;
}
/* Același control Elementor al marginii interioare funcționează și pe
   desktop/tabletă; implicit 0 acolo, ca aspectul existent să fie păstrat. */
.shop-ew-product-card .shop-ew-product-gallery .shop-ew-product-image-track {
    flex: 0 1 auto !important;
    width: calc(100% - var(--shop-ew-photo-inner-inset, 0px) - var(--shop-ew-photo-inner-inset, 0px)) !important;
    height: calc(100% - var(--shop-ew-photo-inner-inset, 0px) - var(--shop-ew-photo-inner-inset, 0px)) !important;
    max-width: 100% !important;
    max-height: 100% !important;
}
/* Nu se rezerva artificial spatiu in plus dupa un rand de puncte; marginile
   efective sunt la indicatori. Fara galerie, ramane un interval suficient
   intre fotografie si titlu chiar daca un stil vechi seteaza 0-5px. */
.shop-ew-product-content-ordered > .shop-ew-product-gallery.shop-ew-order-image.shop-ew-media-has-dots {
    margin-bottom: 0 !important;
}
.shop-ew-product-content-ordered > .shop-ew-product-gallery.shop-ew-order-image:not(.shop-ew-media-has-dots) {
    margin-bottom: max(16px, var(--shop-ew-gap-after-image, var(--shop-ew-card-elements-gap, 10px))) !important;
}
.shop-ew-product-card > .shop-ew-product-gallery:not(.shop-ew-order-image).shop-ew-media-has-dots {
    margin-bottom: 0 !important;
}
.shop-ew-product-card > .shop-ew-product-gallery:not(.shop-ew-order-image):not(.shop-ew-media-has-dots) {
    margin-bottom: 18px;
}

@media (max-width: 767px) {
    .shop-ew-products-widget .shop-ew-product-card,
    .shop-ew-products-widget .shop-ew-product-content,
    .shop-ew-products-widget .shop-ew-product-content-ordered,
    .shop-ew-products-widget .shop-ew-order-element {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }
    /* Caseta patrata se redimensioneaza dupa latimea reala a coloanei.
       Configuratia Elementor este un plafon, nu o inaltime fortata. */
    .shop-ew-wrapper .shop-ew-product-content-ordered > .shop-ew-product-gallery.shop-ew-order-image > .shop-ew-product-media,
    .shop-ew-product-card .shop-ew-product-gallery > .shop-ew-product-media {
        height: auto !important;
        min-height: 0 !important;
        max-height: var(--shop-ew-config-image-height, 228px);
        aspect-ratio: 1 / 1;
    }
    /* Inset interior pentru toate proportiile de imagini. Insetul micsoreaza
       numai zona fotografiei, fara sa mute badge-urile sau randul punctelor.
       Setarea responsive din Elementor il poate ajusta de la 0 la 30px. */
    .shop-ew-product-card .shop-ew-product-gallery .shop-ew-product-image-track {
        flex: 0 1 auto !important;
        width: calc(100% - var(--shop-ew-photo-inner-inset, 8px) - var(--shop-ew-photo-inner-inset, 8px)) !important;
        height: calc(100% - var(--shop-ew-photo-inner-inset, 8px) - var(--shop-ew-photo-inner-inset, 8px)) !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
    .shop-ew-wrapper .shop-ew-product-content-ordered > .shop-ew-product-gallery.shop-ew-order-image > .shop-ew-product-media img,
    .shop-ew-product-card .shop-ew-product-gallery > .shop-ew-product-media img,
    .shop-ew-product-card .shop-ew-product-gallery > .shop-ew-product-media .shop-ew-product-image {
        object-fit: var(--shop-ew-photo-fit, contain) !important;
        object-position: var(--shop-ew-photo-position, center center) !important;
    }
    /* Păstrăm intervalele validate anterior pe telefon. */
    .shop-ew-product-content-ordered > .shop-ew-product-gallery.shop-ew-order-image:not(.shop-ew-media-has-dots) {
        margin-bottom: var(--shop-ew-gap-after-image, var(--shop-ew-card-elements-gap, 10px)) !important;
    }
    .shop-ew-product-card > .shop-ew-product-gallery:not(.shop-ew-order-image):not(.shop-ew-media-has-dots) {
        margin-bottom: 18px;
    }
    .shop-ew-product-title {
        --shop-ew-title-lines: 3;
    }
    .shop-ew-product-card .shop-ew-product-title,
    .shop-ew-product-card .shop-ew-product-title a,
    .shop-ew-product-card .shop-ew-code {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .shop-ew-products-widget .shop-ew-product-card .shop-ew-price-row,
    .shop-ew-products-widget .shop-ew-product-card .shop-ew-prices,
    .shop-ew-products-widget .shop-ew-product-card .shop-ew-current-price-wrap,
    .shop-ew-products-widget .shop-ew-product-card .shop-ew-cart-area {
        min-width: 0;
        max-width: 100%;
    }
    .shop-ew-products-widget .shop-ew-product-card .shop-ew-current-price-wrap {
        flex-wrap: wrap;
        white-space: normal;
    }
    .shop-ew-products-widget .shop-ew-product-card .shop-ew-cart-btn-mode-text,
    .shop-ew-products-widget .shop-ew-product-card .shop-ew-cart-btn-mode-icon_text {
        box-sizing: border-box;
        max-width: 100%;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }
    .shop-ew-products-widget .shop-ew-product-card .shop-ew-cart-btn-mode-text .shop-ew-cart-text,
    .shop-ew-products-widget .shop-ew-product-card .shop-ew-cart-btn-mode-icon_text .shop-ew-cart-text {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}


/* Shop EW 2.19 - carduri cu una sau mai multe imagini.
   Numarul maxim de randuri al titlului este limita de trunchiere, NU
   un numar de randuri rezervate.  La 2 randuri vizibile, nu pastram
   randul 3 invizibil intre nume si SKU. Suprascrierea !important
   neutralizeaza si CSS-ul vechi generat deja de Elementor. */
.shop-ew-product-card .shop-ew-product-title {
    min-height: 0 !important;
}

/* Fara puncte: un interval scurt si predictibil intre fotografie si titlu.
   Cu puncte: pastram exact distantele 12px / 16px validate in 2.18.
   max() respecta o valoare mai mare definita intentionat in Elementor. */
.shop-ew-product-content-ordered > .shop-ew-product-gallery.shop-ew-order-image:not(.shop-ew-media-has-dots) {
    margin-bottom: max(18px, var(--shop-ew-gap-after-image, var(--shop-ew-card-elements-gap, 10px))) !important;
}
.shop-ew-product-card > .shop-ew-product-gallery:not(.shop-ew-order-image):not(.shop-ew-media-has-dots) {
    margin-bottom: 18px !important;
}

/* Shop EW 2.22: Produse EW reserves the configured title line count so
   short and long names keep the SKU, stock and price rows aligned.
   The lh unit follows the actual local/global font line-height. */
.shop-ew-products-widget .shop-ew-product-card .shop-ew-product-title {
    min-height: calc(var(--shop-ew-title-lines, 2) * 1.23em) !important;
    min-height: calc(var(--shop-ew-title-lines, 2) * 1lh) !important;
}


/* Shop EW 2.20 / Plugin Pack 1.7.62 – inaltime vizuala uniforma a fotografiilor.
   Problema: imaginea landscape dintr-un cadru aproape patrat, cu object-fit:
   contain si obiectul aliniat sus, lasa o banda alba sub fotografie. Pentru
   desktop/tableta umplem acelasi viewport fara deformarea raportului de aspect.
   Se aplica numai daca switch-ul corespunzator este activ. Telefonul ramane
   pe incadrarea 'contain' deja validata. */
@media (min-width: 768px) {
    .shop-ew-product-card .shop-ew-product-gallery.shop-ew-images-uniform-desktop
    > .shop-ew-product-media .shop-ew-product-image-track > img.shop-ew-product-image {
        object-fit: cover !important;
        object-position: center center !important;
    }
}

/* Shop EW 2.24: choices for variations configured with Any attribute values. */
.shop-ew-editor-product .shop-ew-editor-variation-fields { display: grid; gap: 12px; margin-bottom: 16px; }
.shop-ew-editor-product .shop-ew-editor-variation-fields[hidden],
.shop-ew-editor-product .shop-ew-editor-variation-field[hidden] { display: none !important; }
.shop-ew-editor-product .shop-ew-editor-variation-field { min-width: 0; }
.shop-ew-editor-product .shop-ew-editor-variation-field label { display: grid; gap: 6px; margin: 0; color: var(--shop-ew-editor-text); font: inherit; }
.shop-ew-editor-product .shop-ew-editor-variation-field select { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 42px; padding: 9px 12px; border: 1px solid var(--shop-ew-editor-border); border-radius: 8px; background: transparent; color: var(--shop-ew-editor-text); font: inherit; }

/* Produse EW: preview must not disable product-by-product snapping. */
.shop-ew-products-widget.shop-ew-products-has-slider .shop-ew-slider-track {
    scroll-snap-type: x mandatory !important;
}
.shop-ew-products-widget.shop-ew-products-has-slider .shop-ew-slider-track > .shop-ew-product-card,
.shop-ew-products-widget.shop-ew-products-has-slider .shop-ew-slider-track > .shop-ew-promo-card {
    scroll-snap-align: start !important;
    scroll-snap-stop: always;
}

/* A button command owns its animation; native snapping resumes at its destination. */
.shop-ew-products-widget.shop-ew-products-has-slider .shop-ew-slider-track.shop-ew-slider-is-moving {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
}

/* Produse EW: keep short and long SKUs on the same row below their label on phones. */
@media (max-width: 767px) {
    .shop-ew-products-widget .shop-ew-code-label,
    .shop-ew-products-widget .shop-ew-code-value {
        display: block;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .shop-ew-products-widget .shop-ew-code-label {
        margin-right: 0;
    }
}
