body.ntg-qv-open {
    overflow: hidden !important;
}

.ntg-qv-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(9, 9, 11, .72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.ntg-qv-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ntg-qv-dialog {
    position: relative;
    width: min(1120px, 100%);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
    transform: translateY(18px) scale(.985);
    transition: transform .25s ease;
}

.ntg-qv-overlay.is-open .ntg-qv-dialog {
    transform: translateY(0) scale(1);
}

.ntg-qv-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0 0 3px;
    border: 1px solid rgba(17,17,17,.12);
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 26px rgba(0,0,0,.12);
    transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.ntg-qv-close:hover,
.ntg-qv-close:focus-visible {
    background: #111;
    color: #fff;
    transform: rotate(90deg) scale(1.04);
    box-shadow: 0 10px 30px rgba(0,0,0,.20);
    outline: none;
}

.ntg-qv-loading {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #555;
    font-size: 14px;
}

.ntg-qv-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #ececec;
    border-top-color: #111;
    border-radius: 50%;
    animation: ntgQvSpin .75s linear infinite;
}

@keyframes ntgQvSpin {
    to { transform: rotate(360deg); }
}

.ntg-qv-product {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
    min-height: 620px;
}

.ntg-qv-gallery {
    min-width: 0;
    padding: 28px;
    background: #f6f6f6;
}

.ntg-qv-main-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 510px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

.ntg-qv-main-image {
    display: block;
    width: 100%;
    height: 510px;
    object-fit: contain;
}

.ntg-qv-sale-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ntg-qv-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.ntg-qv-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    margin: 0;
    padding: 4px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.ntg-qv-thumb.is-active {
    border-color: #111;
}

.ntg-qv-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ntg-qv-summary {
    position: relative;
    padding: 58px 48px 42px;
}

.ntg-qv-brand {
    margin-bottom: 8px;
    color: #777;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ntg-qv-title {
    margin: 0 52px 14px 0;
    color: #111;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.ntg-qv-brand-description {
    max-width: 560px;
    margin: -2px 0 18px;
    color: #565656;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: .005em;
}

.ntg-qv-brand-description p {
    margin: 0 0 8px;
}

.ntg-qv-brand-description p:last-child {
    margin-bottom: 0;
}

.ntg-qv-price {
    margin-bottom: 15px;
    color: #111;
    font-size: 24px;
    font-weight: 700;
}

.ntg-qv-price del {
    margin-right: 8px;
    color: #999;
    font-size: .78em;
    font-weight: 400;
}

.ntg-qv-price ins {
    text-decoration: none;
}

.ntg-qv-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 20px;
    color: #777;
    font-size: 12px;
}

.ntg-qv-stock p {
    margin: 0;
}

.ntg-qv-description {
    margin-bottom: 24px;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.ntg-qv-cart-wrap form.cart {
    margin: 0 0 20px;
}

.ntg-qv-cart-wrap .variations {
    width: 100%;
    margin-bottom: 16px;
}

.ntg-qv-cart-wrap .variations th,
.ntg-qv-cart-wrap .variations td {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
}

.ntg-qv-cart-wrap .variations label {
    display: block;
    margin: 0 0 8px;
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

.ntg-qv-cart-wrap select {
    width: 100%;
    min-height: 48px;
    margin: 0 0 14px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
}

.ntg-qv-cart-wrap .quantity {
    display: inline-flex;
    margin-right: 10px;
    vertical-align: middle;
}

.ntg-qv-cart-wrap .quantity input.qty {
    min-height: 48px;
    border-radius: 8px;
}

.ntg-qv-cart-wrap .single_add_to_cart_button {
    min-height: 48px;
    margin: 0;
    padding: 13px 24px;
    border-radius: 8px;
    background: #111 !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ntg-qv-cart-wrap .single_add_to_cart_button:hover {
    background: #2b2b2b !important;
}

.ntg-qv-cart-wrap .reset_variations {
    display: inline-block;
    margin-top: 3px;
    color: #777;
    font-size: 12px;
}

.ntg-qv-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 24px 0;
}

.ntg-qv-benefits div {
    padding: 11px 8px;
    border: 1px solid #ececec;
    border-radius: 8px;
    color: #555;
    font-size: 11px;
    text-align: center;
}

.ntg-qv-benefits span {
    color: #111;
    font-weight: 700;
}

.ntg-qv-view-product {
    display: inline-flex;
    align-items: center;
    color: #111 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ntg-qv-message {
    min-height: 22px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
}

.ntg-qv-message.is-success { color: #16783c; }
.ntg-qv-message.is-error { color: #b42318; }

.ntg-qv-error {
    display: grid;
    place-items: center;
    min-height: 420px;
    padding: 40px;
    color: #a11;
    text-align: center;
}

.ntg-qv-card-button {
    /* Buton tehnic folosit doar pentru ID-ul produsului. Nu este afișat. */
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.products .col-inner {
    position: relative;
}

.products .product-small {
    cursor: pointer;
}

@media (max-width: 849px) {
    .ntg-qv-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .ntg-qv-dialog {
        width: 100%;
        max-height: 94dvh;
        border-radius: 18px 18px 0 0;
    }

    .ntg-qv-product {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .ntg-qv-gallery {
        padding: 16px;
    }

    .ntg-qv-main-image-wrap {
        min-height: 360px;
    }

    .ntg-qv-main-image {
        height: 360px;
    }

    .ntg-qv-summary {
        padding: 26px 20px 30px;
    }

    .ntg-qv-title {
        margin-right: 38px;
        font-size: 27px;
    }

    .ntg-qv-benefits {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {
    .ntg-qv-main-image-wrap,
    .ntg-qv-main-image {
        min-height: 300px;
        height: 300px;
    }

    .ntg-qv-thumb {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }

    .ntg-qv-cart-wrap .quantity {
        width: 100%;
        margin: 0 0 10px;
    }

    .ntg-qv-cart-wrap .quantity input.qty {
        width: 100%;
    }

    .ntg-qv-cart-wrap .single_add_to_cart_button {
        width: 100%;
    }
}
.ntg-qv-card-button{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;left:-99999px!important}
.ntg-qv-variations{display:flex;flex-direction:column;gap:10px;margin:18px 0}
.ntg-qv-variation-option{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:700}
.ntg-qv-variation-option input{width:auto!important;margin:0!important}
.ntg-qv-variation-image{width:42px!important;height:52px!important;object-fit:contain}
.ntg-qv-quantity{display:inline-flex;align-items:center;border:1px solid #e5e5e5;margin:0 0 16px}
.ntg-qv-quantity button,.ntg-qv-quantity input{width:36px!important;height:42px!important;border:0!important;background:#fff!important;text-align:center!important;margin:0!important;padding:0!important}
.ntg-qv-quantity input{-moz-appearance:textfield}
.ntg-qv-quantity input::-webkit-outer-spin-button,.ntg-qv-quantity input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}


/* NOTAG v2.3.1 – selector cantitate compact, centrat și protejat de CSS-ul temei */
.ntg-qv-dialog .ntg-qv-quantity {
    display: grid !important;
    grid-template-columns: 44px 58px 44px !important;
    align-items: stretch !important;
    justify-content: start !important;
    width: 146px !important;
    max-width: 146px !important;
    height: 44px !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #dedede !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;
}
.ntg-qv-dialog .ntg-qv-quantity button,
.ntg-qv-dialog .ntg-qv-quantity input[type="number"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 42px !important;
    text-align: center !important;
}
.ntg-qv-dialog .ntg-qv-quantity input[type="number"] {
    border-right: 1px solid #ececec !important;
    border-left: 1px solid #ececec !important;
    font-size: 14px !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}
.ntg-qv-dialog .ntg-qv-quantity button {
    cursor: pointer !important;
    transition: background-color .18s ease, color .18s ease !important;
}
.ntg-qv-dialog .ntg-qv-quantity button:hover,
.ntg-qv-dialog .ntg-qv-quantity button:focus-visible {
    background: #111 !important;
    color: #fff !important;
    outline: none !important;
}
.ntg-qv-dialog .ntg-qv-quantity input::-webkit-outer-spin-button,
.ntg-qv-dialog .ntg-qv-quantity input::-webkit-inner-spin-button {
    margin: 0 !important;
    -webkit-appearance: none !important;
}

/* Evidențiere selecție variație și mesaj de validare */
.ntg-qv-variations {
    padding: 4px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease !important;
}
.ntg-qv-variations.has-error {
    border-color: #d92d20 !important;
    background: #fff5f4 !important;
    box-shadow: 0 0 0 3px rgba(217,45,32,.10) !important;
}
.ntg-qv-message.is-error.is-visible {
    display: block !important;
    margin-top: 16px !important;
    padding: 12px 14px !important;
    border: 1px solid #f0b4ae !important;
    border-radius: 8px !important;
    background: #fff5f4 !important;
    color: #b42318 !important;
    font-weight: 700 !important;
    outline: none !important;
}


/* NOTAG v2.3.3 – preț/compoziție și beneficii Quick View */
.ntg-qv-price .woosq-compozitie {
    display: block !important;
    margin: 8px 0 0 !important;
    color: #666 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
}

.ntg-qv-price .woosq-compozitie strong {
    color: #444 !important;
    font-size: inherit !important;
    font-weight: 600 !important;
}

.ntg-qv-benefits {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
}

.ntg-qv-benefits div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 10px 7px;
    line-height: 1.3;
}

@media (max-width: 1180px) {
    .ntg-qv-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 849px) {
    .ntg-qv-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ntg-qv-benefits div {
        min-height: 52px;
        padding: 10px 8px;
        font-size: 11px;
    }

    .ntg-qv-benefits div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .ntg-qv-benefits {
        grid-template-columns: 1fr;
    }

    .ntg-qv-benefits div:last-child {
        grid-column: auto;
    }
}


/* NOTAG v2.3.4 – buton coș aliniat cu selectorul de cantitate */
.ntg-qv-dialog .ntg-qv-cart-form .single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 0 16px !important;
    padding: 0 24px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    vertical-align: top !important;
}

/* Siguranță suplimentară: linkul către pagina completă nu se afișează */
.ntg-qv-dialog .ntg-qv-view-product {
    display: none !important;
}

@media (max-width: 767px) {
    .ntg-qv-dialog .ntg-qv-cart-form .single_add_to_cart_button {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }
}


/* NOTAG v2.3.6 – swipe galerie Quick View pe mobil */
@media (max-width: 849px) {
    .ntg-qv-main-image-wrap {
        touch-action: pan-y;
        -webkit-user-select: none;
        user-select: none;
    }

    .ntg-qv-main-image {
        -webkit-user-drag: none;
        user-select: none;
    }
}


/* =========================================================
 * NOTAG Quick View 2.3.7 – zoom imagine principală
 * ========================================================= */

body.ntg-qv-zoom-open {
    overflow: hidden !important;
}

.ntg-qv-main-image {
    cursor: zoom-in;
}

.ntg-qv-main-image:focus-visible {
    outline: 2px solid #111;
    outline-offset: -4px;
}

.ntg-qv-zoom {
    position: fixed;
    inset: 0;
    z-index: 1000001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 5, 7, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.ntg-qv-zoom.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ntg-qv-zoom-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.ntg-qv-zoom-image {
    display: block;
    max-width: 94vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform .22s ease;
}

.ntg-qv-zoom-image.is-zoomed {
    transform: scale(2);
    cursor: zoom-out;
}

.ntg-qv-zoom-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0 0 3px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 34px rgba(0,0,0,.3);
}

@media (max-width: 849px) {
    .ntg-qv-zoom {
        padding: 12px;
    }

    .ntg-qv-zoom-image {
        max-width: 100%;
        max-height: 88dvh;
    }

    .ntg-qv-zoom-image.is-zoomed {
        transform: scale(2.25);
    }

    .ntg-qv-zoom-close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ntg-qv-zoom,
    .ntg-qv-zoom-image {
        transition: none !important;
    }
}


/* =========================================================
 * v2.3.9 – Quick View close: X simplu, fără cerc
 * ========================================================= */
.ntg-qv-close,
.ntg-qv-modal .ntg-qv-close,
.ntg-qv-overlay .ntg-qv-close,
.woosq-popup .mfp-close,
.woosq-popup-content .mfp-close,
.woosq-popup .woosq-close,
.woosq-popup-content .woosq-close {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.ntg-qv-close::before,
.ntg-qv-close::after,
.woosq-popup .mfp-close::before,
.woosq-popup .mfp-close::after,
.woosq-popup-content .mfp-close::before,
.woosq-popup-content .mfp-close::after,
.woosq-popup .woosq-close::before,
.woosq-popup .woosq-close::after,
.woosq-popup-content .woosq-close::before,
.woosq-popup-content .woosq-close::after {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.ntg-qv-close:hover,
.ntg-qv-close:focus,
.woosq-popup .mfp-close:hover,
.woosq-popup .mfp-close:focus,
.woosq-popup-content .mfp-close:hover,
.woosq-popup-content .mfp-close:focus,
.woosq-popup .woosq-close:hover,
.woosq-popup .woosq-close:focus,
.woosq-popup-content .woosq-close:hover,
.woosq-popup-content .woosq-close:focus {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}


/* =========================================================
 * v2.4.1 – swipe-down și limitare cantitate după stoc
 * ========================================================= */
@media (max-width: 849px) {
    .ntg-qv-dialog.is-swiping-down {
        transition: none !important;
        will-change: transform;
    }
}

.ntg-qv-dialog .ntg-qv-quantity button:disabled {
    opacity: .35 !important;
    cursor: default !important;
    pointer-events: none !important;
}
