/* =========================================================
   ARTEPROMO - SHOP VISUAL TUNING
   varianta curata finala
   IMPORTANT:
   - desktop custom
   - mobil/tableta controlate de tema
   ========================================================= */


/* =========================================================
   A. LAYOUT SHOP / CATEGORII DESKTOP
   ========================================================= */

@media (min-width: 992px) {
    body.woocommerce .pls-site-container > .row.flex-row-reverse,
    body.woocommerce-page .pls-site-container > .row.flex-row-reverse {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 10px !important;
        --bs-gutter-x: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.woocommerce #secondary.pls-widget-area.col-12.col-lg-3.col-xl-3,
    body.woocommerce-page #secondary.pls-widget-area.col-12.col-lg-3.col-xl-3 {
        flex: 0 0 17.5% !important;
        max-width: 17.5% !important;
        width: 17.5% !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    body.woocommerce #secondary.pls-widget-area.col-12.col-lg-3.col-xl-3 .sidebar-inner,
    body.woocommerce-page #secondary.pls-widget-area.col-12.col-lg-3.col-xl-3 .sidebar-inner {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.woocommerce #primary.pls-content-area.col-12.col-lg-9.col-xl-9,
    body.woocommerce-page #primary.pls-content-area.col-12.col-lg-9.col-xl-9 {
        flex: 0 0 calc(82.5% - 10px) !important;
        max-width: calc(82.5% - 10px) !important;
        width: calc(82.5% - 10px) !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }
}


/* =========================================================
   B. GRID PRODUSE - DOAR DESKTOP
   ========================================================= */

@media (min-width: 992px) {
    body.woocommerce #primary .products.products-wrap.pls-product-grid,
    body.woocommerce-page #primary .products.products-wrap.pls-product-grid {
        display: grid !important;
        gap: 8px !important;
        column-gap: 8px !important;
        row-gap: 8px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.woocommerce #primary .products.products-wrap.pls-product-grid.grid-col-xl-3,
    body.woocommerce-page #primary .products.products-wrap.pls-product-grid.grid-col-xl-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.woocommerce #primary .products.products-wrap.pls-product-grid.grid-col-xl-4,
    body.woocommerce-page #primary .products.products-wrap.pls-product-grid.grid-col-xl-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    body.woocommerce #primary .products.products-wrap.pls-product-grid.grid-col-xl-5,
    body.woocommerce-page #primary .products.products-wrap.pls-product-grid.grid-col-xl-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    body.woocommerce #primary .products.products-wrap.pls-product-grid.grid-col-lg-3:not(.grid-col-xl-4):not(.grid-col-xl-5),
    body.woocommerce-page #primary .products.products-wrap.pls-product-grid.grid-col-lg-3:not(.grid-col-xl-4):not(.grid-col-xl-5) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.woocommerce #primary .products.products-wrap.pls-product-grid.grid-col-lg-4,
    body.woocommerce-page #primary .products.products-wrap.pls-product-grid.grid-col-lg-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    body.woocommerce #primary .products.products-wrap.pls-product-grid.grid-col-lg-5,
    body.woocommerce-page #primary .products.products-wrap.pls-product-grid.grid-col-lg-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    body.woocommerce #primary .products.products-wrap.pls-product-grid > .product,
    body.woocommerce-page #primary .products.products-wrap.pls-product-grid > .product,
    body.woocommerce #primary .products.products-wrap.pls-product-grid > [class*="col-"],
    body.woocommerce-page #primary .products.products-wrap.pls-product-grid > [class*="col-"] {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: initial !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body.woocommerce #primary .products.products-wrap.pls-product-grid > *,
    body.woocommerce-page #primary .products.products-wrap.pls-product-grid > * {
        min-width: 0 !important;
    }
}

body.woocommerce #primary .products img,
body.woocommerce-page #primary .products img {
    max-width: 100% !important;
    height: auto !important;
}

/* pe <=991 lasam tema sa controleze layoutul */
@media (max-width: 991px) {
    body.woocommerce .pls-site-container > .row.flex-row-reverse,
    body.woocommerce-page .pls-site-container > .row.flex-row-reverse {
        flex-wrap: wrap !important;
        gap: 0 !important;
    }

    body.woocommerce #secondary.pls-widget-area.col-12.col-lg-3.col-xl-3,
    body.woocommerce-page #secondary.pls-widget-area.col-12.col-lg-3.col-xl-3,
    body.woocommerce #primary.pls-content-area.col-12.col-lg-9.col-xl-9,
    body.woocommerce-page #primary.pls-content-area.col-12.col-lg-9.col-xl-9 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    body.woocommerce #secondary.pls-widget-area.col-12.col-lg-3.col-xl-3 .sidebar-inner,
    body.woocommerce-page #secondary.pls-widget-area.col-12.col-lg-3.col-xl-3 .sidebar-inner {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* =========================================================
   C. THUMBNAIL UNIFORM 420x560
   ========================================================= */

body.woocommerce #primary .pls-product-image,
body.woocommerce-page #primary .pls-product-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 420 / 560 !important;
    overflow: hidden !important;
    background: transparent !important;
    margin-bottom: 12px !important;
    display: block !important;
}

body.woocommerce #primary .pls-product-image > a.woocommerce-LoopProduct-link,
body.woocommerce-page #primary .pls-product-image > a.woocommerce-LoopProduct-link {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    overflow: hidden !important;
    z-index: 1 !important;
    background: transparent !important;
}

body.woocommerce #primary .pls-product-image > a.woocommerce-LoopProduct-link img,
body.woocommerce-page #primary .pls-product-image > a.woocommerce-LoopProduct-link img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: translate(-50%, -50%) scale(1) !important;
    transform-origin: center center !important;
    transition: transform 0.28s ease, opacity 0.28s ease !important;
    margin: 0 !important;
    display: block !important;
    z-index: 1 !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
}

body.woocommerce #primary .pls-product-image > a.woocommerce-LoopProduct-link img:nth-of-type(2),
body.woocommerce-page #primary .pls-product-image > a.woocommerce-LoopProduct-link img:nth-of-type(2) {
    opacity: 0 !important;
    z-index: 2 !important;
}

body.woocommerce #primary .product:hover .pls-product-image > a.woocommerce-LoopProduct-link img:first-of-type,
body.woocommerce-page #primary .product:hover .pls-product-image > a.woocommerce-LoopProduct-link img:first-of-type {
    opacity: 0 !important;
}

body.woocommerce #primary .product:hover .pls-product-image > a.woocommerce-LoopProduct-link img:nth-of-type(2),
body.woocommerce-page #primary .product:hover .pls-product-image > a.woocommerce-LoopProduct-link img:nth-of-type(2) {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1.05) !important;
}

body.woocommerce #primary .product:hover .pls-product-image > a.woocommerce-LoopProduct-link img:only-child,
body.woocommerce-page #primary .product:hover .pls-product-image > a.woocommerce-LoopProduct-link img:only-child {
    transform: translate(-50%, -50%) scale(1.05) !important;
}

body.woocommerce #primary .product.outofstock .pls-product-image::after,
body.woocommerce-page #primary .product.outofstock .pls-product-image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(230,230,230,0.55) !important;
    z-index: 3 !important;
    pointer-events: none !important;
}

body.woocommerce #primary .pls-product-image .pls-product-labels,
body.woocommerce-page #primary .pls-product-image .pls-product-labels,
body.woocommerce #primary .pls-product-image .pls-product-outofstock-label,
body.woocommerce-page #primary .pls-product-image .pls-product-outofstock-label,
body.woocommerce #primary .pls-product-image .pls-product-icons,
body.woocommerce-page #primary .pls-product-image .pls-product-icons,
body.woocommerce #primary .pls-product-image .pls-product-actions,
body.woocommerce-page #primary .pls-product-image .pls-product-actions {
    position: absolute !important;
    z-index: 5 !important;
}

body.woocommerce #primary .product,
body.woocommerce-page #primary .product {
    position: relative !important;
    z-index: 1 !important;
}

body.woocommerce #primary .product:hover,
body.woocommerce-page #primary .product:hover {
    z-index: 2 !important;
}

@supports not (aspect-ratio: 420 / 560) {
    body.woocommerce #primary .pls-product-image,
    body.woocommerce-page #primary .pls-product-image {
        height: 0 !important;
        padding-bottom: 133.3333% !important;
    }

    body.woocommerce #primary .pls-product-image > a.woocommerce-LoopProduct-link,
    body.woocommerce-page #primary .pls-product-image > a.woocommerce-LoopProduct-link {
        position: absolute !important;
        inset: 0 !important;
    }
}


/* =========================================================
   D. FARA STOC
   ========================================================= */

body.woocommerce #primary .pls-product-outofstock-label,
body.woocommerce-page #primary .pls-product-outofstock-label {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 6 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
}

body.woocommerce #primary .pls-product-outofstock-label div,
body.woocommerce #primary .pls-product-outofstock-label span,
body.woocommerce-page #primary .pls-product-outofstock-label div,
body.woocommerce-page #primary .pls-product-outofstock-label span {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.woocommerce #primary .pls-product-outofstock-label span,
body.woocommerce-page #primary .pls-product-outofstock-label span {
    background: #ffffff !important;
    border-radius: 50% !important;
    padding: 18px 14px !important;
    display: inline-block !important;
}

body.woocommerce #primary .pls-product-outofstock-label::before,
body.woocommerce #primary .pls-product-outofstock-label::after,
body.woocommerce-page #primary .pls-product-outofstock-label::before,
body.woocommerce-page #primary .pls-product-outofstock-label::after {
    display: none !important;
}


/* =========================================================
   E. HEADER CATEGORIE / BREADCRUMB
   ========================================================= */

body.tax-product_cat #page-title.pls-page-title,
body.post-type-archive-product #page-title.pls-page-title,
body.woocommerce.archive #page-title.pls-page-title {
    padding: 12px 0 !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
}

body.tax-product_cat #page-title .container,
body.post-type-archive-product #page-title .container,
body.woocommerce.archive #page-title .container,
body.tax-product_cat #page-title .row,
body.post-type-archive-product #page-title .row,
body.woocommerce.archive #page-title .row,
body.tax-product_cat #page-title .col,
body.post-type-archive-product #page-title .col,
body.woocommerce.archive #page-title .col {
    margin: 0 !important;
    padding: 0 !important;
}

body.tax-product_cat #page-title .entry-header,
body.post-type-archive-product #page-title .entry-header,
body.woocommerce.archive #page-title .entry-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    line-height: 1.1 !important;
}

body.tax-product_cat #page-title .entry-header .title,
body.post-type-archive-product #page-title .entry-header .title,
body.woocommerce.archive #page-title .entry-header .title {
    font-size: 28px !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

body.tax-product_cat #page-title .entry-header nav,
body.post-type-archive-product #page-title .entry-header nav,
body.woocommerce.archive #page-title .entry-header nav,
body.tax-product_cat #page-title .entry-header .woocommerce-breadcrumb,
body.post-type-archive-product #page-title .entry-header .woocommerce-breadcrumb,
body.woocommerce.archive #page-title .entry-header .woocommerce-breadcrumb {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
}

body.tax-product_cat #page-title .entry-header .woocommerce-breadcrumb *,
body.post-type-archive-product #page-title .entry-header .woocommerce-breadcrumb *,
body.woocommerce.archive #page-title .entry-header .woocommerce-breadcrumb *,
body.tax-product_cat #page-title .entry-header nav *,
body.post-type-archive-product #page-title .entry-header nav *,
body.woocommerce.archive #page-title .entry-header nav * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.tax-product_cat #page-title + .pls-site-container,
body.post-type-archive-product #page-title + .pls-site-container,
body.woocommerce.archive #page-title + .pls-site-container {
    margin-top: 15px !important;
    padding-top: 0 !important;
}

body.tax-product_cat #main-content.pls-site-content,
body.post-type-archive-product #main-content.pls-site-content,
body.woocommerce.archive #main-content.pls-site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

@media (max-width: 991px) {
    body.tax-product_cat #page-title.pls-page-title,
    body.post-type-archive-product #page-title.pls-page-title,
    body.woocommerce.archive #page-title.pls-page-title {
        padding: 10px 0 !important;
    }

    body.tax-product_cat #page-title .entry-header,
    body.post-type-archive-product #page-title .entry-header,
    body.woocommerce.archive #page-title .entry-header {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    body.tax-product_cat #page-title .entry-header .title,
    body.post-type-archive-product #page-title .entry-header .title,
    body.woocommerce.archive #page-title .entry-header .title {
        font-size: 24px !important;
        white-space: normal !important;
        text-align: center !important;
    }

    body.tax-product_cat #page-title .entry-header nav,
    body.post-type-archive-product #page-title .entry-header nav,
    body.woocommerce.archive #page-title .entry-header nav,
    body.tax-product_cat #page-title .entry-header .woocommerce-breadcrumb,
    body.post-type-archive-product #page-title .entry-header .woocommerce-breadcrumb,
    body.woocommerce.archive #page-title .entry-header .woocommerce-breadcrumb {
        font-size: 14px !important;
        white-space: normal !important;
        justify-content: center !important;
        text-align: center !important;
    }

    body.tax-product_cat #page-title + .pls-site-container,
    body.post-type-archive-product #page-title + .pls-site-container,
    body.woocommerce.archive #page-title + .pls-site-container {
        margin-top: 12px !important;
    }
}

@media (max-width: 575px) {
    body.tax-product_cat #page-title .entry-header .title,
    body.post-type-archive-product #page-title .entry-header .title,
    body.woocommerce.archive #page-title .entry-header .title {
        font-size: 20px !important;
        line-height: 1.15 !important;
    }

    body.tax-product_cat #page-title .entry-header nav,
    body.post-type-archive-product #page-title .entry-header nav,
    body.woocommerce.archive #page-title .entry-header nav,
    body.tax-product_cat #page-title .entry-header .woocommerce-breadcrumb,
    body.post-type-archive-product #page-title .entry-header .woocommerce-breadcrumb,
    body.woocommerce.archive #page-title .entry-header .woocommerce-breadcrumb {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }
}


/* =========================================================
   F. PAGINATION + FOOTER
   ========================================================= */

body.tax-product_cat .pls-site-container.container,
body.post-type-archive-product .pls-site-container.container,
body.woocommerce.archive .pls-site-container.container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.tax-product_cat #primary.pls-content-area,
body.post-type-archive-product #primary.pls-content-area,
body.woocommerce.archive #primary.pls-content-area {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: auto !important;
}

body.tax-product_cat .pls-site-container > .row.flex-row-reverse,
body.post-type-archive-product .pls-site-container > .row.flex-row-reverse,
body.woocommerce.archive .pls-site-container > .row.flex-row-reverse {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.tax-product_cat .pls-pagination,
body.post-type-archive-product .pls-pagination,
body.woocommerce.archive .pls-pagination,
body.tax-product_cat .pls-pagination.default,
body.post-type-archive-product .pls-pagination.default,
body.woocommerce.archive .pls-pagination.default {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
}

.pls-pagination ul,
.pls-pagination li {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body .pls-site-footer {
    margin-top: 10px !important;
    padding-top: 15px !important;
}


/* =========================================================
   G. HEADER PRODUSE
   ========================================================= */

body.woocommerce.archive #primary .pls-products-header {
    margin-bottom: 10px !important;
    padding: 0 !important;
}

body.woocommerce.archive #primary .pls-products-header-controls {
    margin-bottom: 6px !important;
}

body.woocommerce.archive #primary .pls-products-active-filters {
    margin: 4px 0 6px 0 !important;
    padding: 0 !important;
}

body.woocommerce.archive #primary .woocommerce-result-count {
    margin: 0 0 6px 0 !important;
}

body.woocommerce.archive #primary .products.products-wrap {
    margin-top: 0 !important;
}

@media (max-width: 991px) {
    body.woocommerce.archive #primary .pls-products-header-controls {
        margin-bottom: 4px !important;
    }

    body.woocommerce.archive #primary .pls-products-active-filters {
        margin: 2px 0 4px 0 !important;
    }

    body.woocommerce.archive #primary .woocommerce-result-count {
        margin-bottom: 4px !important;
    }
}


/* =========================================================
   H. TITLU PRODUS
   ========================================================= */

.products .pls-product-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center !important;
    width: 100% !important;
    min-width: 0 !important;
}

.products .product-title,
.products .product-title a,
.products h3.product-title,
.products h3.product-title a {
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 50px !important;
    max-height: 50px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    letter-spacing: 0 !important;
}

.products .price {
    text-align: center !important;
    margin: 0 !important;
}

@media (max-width: 991px) {
    .products .product-title,
    .products .product-title a {
        font-size: 17px !important;
        min-height: 42px !important;
        max-height: 42px !important;
    }
}


/* =========================================================
   I. PRET
   ========================================================= */

.products .price,
.products .product-price,
.products .woocommerce-Price-amount {
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
    writing-mode: horizontal-tb !important;
}

.products del,
.products del .woocommerce-Price-amount {
    font-size: 16px !important;
    font-weight: 400 !important;
    opacity: 0.6 !important;
}

.products ins,
.products ins .woocommerce-Price-amount {
    font-weight: 500 !important;
    text-decoration: none !important;
}

.products .price {
    margin: 0 !important;
}

@media (max-width: 991px) {
    .products .price,
    .products .product-price,
    .products .woocommerce-Price-amount {
        font-size: 20px !important;
    }

    .products del,
    .products del .woocommerce-Price-amount {
        font-size: 15px !important;
    }
}


/* =========================================================
   J. BUTOANE CARD PRODUS
   ========================================================= */

body.woocommerce .products .pls-product-actions,
body.woocommerce-page .products .pls-product-actions,
body.woocommerce .products .pls-cart-button,
body.woocommerce-page .products .pls-cart-button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

body.woocommerce .products .pls-product-actions .button,
body.woocommerce-page .products .pls-product-actions .button,
body.woocommerce .products .pls-cart-button .button,
body.woocommerce-page .products .pls-cart-button .button,
body.woocommerce .products a.button.product_type_variable,
body.woocommerce-page .products a.button.product_type_variable,
body.woocommerce .products a.button.product_type_simple,
body.woocommerce-page .products a.button.product_type_simple,
body.woocommerce .products a.button.add_to_cart_button,
body.woocommerce-page .products a.button.add_to_cart_button {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;

    width: 110% !important;
    max-width: 110% !important;
    min-width: 110% !important;

    min-height: 44px !important;
    padding: 9px 16px !important;

    font-size: 16px !important;
    line-height: 1.12 !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px !important;

    white-space: normal !important;
    word-break: break-word !important;

    border-radius: 999px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

body.woocommerce .products .pls-product-actions .button span,
body.woocommerce-page .products .pls-product-actions .button span,
body.woocommerce .products .pls-cart-button .button span,
body.woocommerce-page .products .pls-cart-button .button span,
body.woocommerce .products a.button.product_type_variable span,
body.woocommerce-page .products a.button.product_type_variable span {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
}

body.woocommerce .products .pls-product-actions .button i,
body.woocommerce-page .products .pls-product-actions .button i,
body.woocommerce .products .pls-cart-button .button i,
body.woocommerce-page .products .pls-cart-button .button i,
body.woocommerce .products .pls-product-actions .button svg,
body.woocommerce-page .products .pls-product-actions .button svg,
body.woocommerce .products .pls-cart-button .button svg,
body.woocommerce-page .products .pls-cart-button .button svg {
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
}

body.woocommerce .products .pls-product-actions .button:hover,
body.woocommerce-page .products .pls-product-actions .button:hover,
body.woocommerce .products .pls-cart-button .button:hover,
body.woocommerce-page .products .pls-cart-button .button:hover,
body.woocommerce .products a.button.product_type_variable:hover,
body.woocommerce-page .products a.button.product_type_variable:hover {
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    body.woocommerce .products .pls-product-actions .button,
    body.woocommerce-page .products .pls-product-actions .button,
    body.woocommerce .products .pls-cart-button .button,
    body.woocommerce-page .products .pls-cart-button .button,
    body.woocommerce .products a.button.product_type_variable,
    body.woocommerce-page .products a.button.product_type_variable,
    body.woocommerce .products a.button.product_type_simple,
    body.woocommerce-page .products a.button.product_type_simple,
    body.woocommerce .products a.button.add_to_cart_button,
    body.woocommerce-page .products a.button.add_to_cart_button {
        width: 108% !important;
        max-width: 108% !important;
        min-width: 108% !important;
        font-size: 15px !important;
        padding: 8px 14px !important;
        min-height: 42px !important;
    }
}


/* =========================================================
   K. FIX EXTRA
   ========================================================= */

body.woocommerce #primary .products.products-wrap.pls-product-grid .product,
body.woocommerce-page #primary .products.products-wrap.pls-product-grid .product {
    min-width: 0 !important;
}

body.woocommerce #primary .products.products-wrap.pls-product-grid .product *,
body.woocommerce-page #primary .products.products-wrap.pls-product-grid .product * {
    min-width: 0 !important;
}



/* =========================================================
   SHOP / ARHIVE / CATEGORII
   BREADCRUMB GLOBAL RESPONSIVE - varianta corecta
   ========================================================= */

/* containere */
body.woocommerce.archive #page-title .container,
body.woocommerce.archive #page-title .row,
body.woocommerce.archive #page-title .col,
body.tax-product_cat #page-title .container,
body.tax-product_cat #page-title .row,
body.tax-product_cat #page-title .col,
body.post-type-archive-product #page-title .container,
body.post-type-archive-product #page-title .row,
body.post-type-archive-product #page-title .col {
    width: 100% !important;
    max-width: 100% !important;
}

/* entry header */
body.woocommerce.archive #page-title .entry-header,
body.tax-product_cat #page-title .entry-header,
body.post-type-archive-product #page-title .entry-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
}

/* breadcrumb real */
body.woocommerce.archive #page-title .woocommerce-breadcrumb,
body.tax-product_cat #page-title .woocommerce-breadcrumb,
body.post-type-archive-product #page-title .woocommerce-breadcrumb,
body.woocommerce.archive #page-title .entry-header nav,
body.tax-product_cat #page-title .entry-header nav,
body.post-type-archive-product #page-title .entry-header nav {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 8px !important;

    width: 100% !important;
    max-width: min(1400px, 96vw) !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    line-height: 1.45 !important;

    max-height: calc(1.45em * 2) !important;
    overflow: hidden !important;
}

/* toti copiii inline-flex */
body.woocommerce.archive #page-title .woocommerce-breadcrumb > *,
body.tax-product_cat #page-title .woocommerce-breadcrumb > *,
body.post-type-archive-product #page-title .woocommerce-breadcrumb > *,
body.woocommerce.archive #page-title .entry-header nav > *,
body.tax-product_cat #page-title .entry-header nav > *,
body.post-type-archive-product #page-title .entry-header nav > * {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    max-width: 100% !important;
    white-space: normal !important;
}

/* linkuri/text inline */
body.woocommerce.archive #page-title .woocommerce-breadcrumb a,
body.tax-product_cat #page-title .woocommerce-breadcrumb a,
body.post-type-archive-product #page-title .woocommerce-breadcrumb a,
body.woocommerce.archive #page-title .entry-header nav a,
body.tax-product_cat #page-title .entry-header nav a,
body.post-type-archive-product #page-title .entry-header nav a,
body.woocommerce.archive #page-title .woocommerce-breadcrumb span,
body.tax-product_cat #page-title .woocommerce-breadcrumb span,
body.post-type-archive-product #page-title .woocommerce-breadcrumb span,
body.woocommerce.archive #page-title .entry-header nav span,
body.tax-product_cat #page-title .entry-header nav span,
body.post-type-archive-product #page-title .entry-header nav span {
    display: inline !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* ascundem Home */
body.woocommerce.archive #page-title .woocommerce-breadcrumb a:first-of-type,
body.tax-product_cat #page-title .woocommerce-breadcrumb a:first-of-type,
body.post-type-archive-product #page-title .woocommerce-breadcrumb a:first-of-type,
body.woocommerce.archive #page-title .entry-header nav a:first-of-type,
body.tax-product_cat #page-title .entry-header nav a:first-of-type,
body.post-type-archive-product #page-title .entry-header nav a:first-of-type {
    display: none !important;
}

/* ascundem Shop */
body.woocommerce.archive #page-title .woocommerce-breadcrumb a[href*="/shop"],
body.tax-product_cat #page-title .woocommerce-breadcrumb a[href*="/shop"],
body.post-type-archive-product #page-title .woocommerce-breadcrumb a[href*="/shop"],
body.woocommerce.archive #page-title .entry-header nav a[href*="/shop"],
body.tax-product_cat #page-title .entry-header nav a[href*="/shop"],
body.post-type-archive-product #page-title .entry-header nav a[href*="/shop"] {
    display: none !important;
}

/* separator dupa Home */
body.woocommerce.archive #page-title .woocommerce-breadcrumb a:first-of-type + *,
body.tax-product_cat #page-title .woocommerce-breadcrumb a:first-of-type + *,
body.post-type-archive-product #page-title .woocommerce-breadcrumb a:first-of-type + *,
body.woocommerce.archive #page-title .entry-header nav a:first-of-type + *,
body.tax-product_cat #page-title .entry-header nav a:first-of-type + *,
body.post-type-archive-product #page-title .entry-header nav a:first-of-type + * {
    display: none !important;
}

/* separator dupa Shop */
body.woocommerce.archive #page-title .woocommerce-breadcrumb a[href*="/shop"] + *,
body.tax-product_cat #page-title .woocommerce-breadcrumb a[href*="/shop"] + *,
body.post-type-archive-product #page-title .woocommerce-breadcrumb a[href*="/shop"] + *,
body.woocommerce.archive #page-title .entry-header nav a[href*="/shop"] + *,
body.tax-product_cat #page-title .entry-header nav a[href*="/shop"] + *,
body.post-type-archive-product #page-title .entry-header nav a[href*="/shop"] + * {
    display: none !important;
}

/* desktop */
@media (min-width: 1025px) {
    body.woocommerce.archive #page-title .woocommerce-breadcrumb,
    body.tax-product_cat #page-title .woocommerce-breadcrumb,
    body.post-type-archive-product #page-title .woocommerce-breadcrumb,
    body.woocommerce.archive #page-title .entry-header nav,
    body.tax-product_cat #page-title .entry-header nav,
    body.post-type-archive-product #page-title .entry-header nav {
        font-size: 15px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

/* tableta */
@media (min-width: 768px) and (max-width: 1024px) {
    body.woocommerce.archive #page-title .woocommerce-breadcrumb,
    body.tax-product_cat #page-title .woocommerce-breadcrumb,
    body.post-type-archive-product #page-title .woocommerce-breadcrumb,
    body.woocommerce.archive #page-title .entry-header nav,
    body.tax-product_cat #page-title .entry-header nav,
    body.post-type-archive-product #page-title .entry-header nav {
        max-width: min(98vw, 1200px) !important;
        font-size: 15px !important;
        line-height: 1.45 !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

/* mobil */
@media (max-width: 767px) {
    body.woocommerce.archive #page-title .woocommerce-breadcrumb,
    body.tax-product_cat #page-title .woocommerce-breadcrumb,
    body.post-type-archive-product #page-title .woocommerce-breadcrumb,
    body.woocommerce.archive #page-title .entry-header nav,
    body.tax-product_cat #page-title .entry-header nav,
    body.post-type-archive-product #page-title .entry-header nav {
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}


/* ============================================================
   ARTEPROMO - ASCUNDE CTA DIN CARDURILE DE PRODUS
   Categorii / Shop / Arhive / Search
   Desktop + Tablet + Mobile

   Ascunde:
   - Selecteaza Optiunile
   - Add to cart
   - Pre Order
   - Preorder

   Pastreaza:
   - Wishlist
   - Compare
   - Quick view
   - Fara stoc
   - Produs Nou
   ============================================================ */


/* Containerul principal al actiunii din card */
body.woocommerce .pls-product-grid .product .pls-product-actions,
body.woocommerce-page .pls-product-grid .product .pls-product-actions,
body.archive .pls-product-grid .product .pls-product-actions,
body.search .pls-product-grid .product .pls-product-actions,

/* Containerul exact Ochaka pentru butonul cart */
body.woocommerce .pls-product-grid .product .pls-cart-button,
body.woocommerce-page .pls-product-grid .product .pls-cart-button,
body.archive .pls-product-grid .product .pls-cart-button,
body.search .pls-product-grid .product .pls-cart-button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;

    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;

    overflow: hidden !important;
}


/* Protectie suplimentara pentru butonul WooCommerce propriu-zis */
body.woocommerce .pls-product-grid .product .pls-cart-button > a,
body.woocommerce-page .pls-product-grid .product .pls-cart-button > a,
body.archive .pls-product-grid .product .pls-cart-button > a,
body.search .pls-product-grid .product .pls-cart-button > a,

body.woocommerce .pls-product-grid .product a.product_type_variable.add_to_cart_button,
body.woocommerce-page .pls-product-grid .product a.product_type_variable.add_to_cart_button,

body.woocommerce .pls-product-grid .product a.product_type_simple.add_to_cart_button,
body.woocommerce-page .pls-product-grid .product a.product_type_simple.add_to_cart_button,

body.woocommerce .pls-product-grid .product a.add_to_cart_button,
body.woocommerce-page .pls-product-grid .product a.add_to_cart_button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ============================================================
   PREORDER / PRE ORDER
   Doar elemente cu clase specifice.
   Nu ascundem toate badge-urile.
   ============================================================ */

body.woocommerce .pls-product-grid .product [class~="preorder"],
body.woocommerce-page .pls-product-grid .product [class~="preorder"],

body.woocommerce .pls-product-grid .product [class*="preorder-"],
body.woocommerce-page .pls-product-grid .product [class*="preorder-"],

body.woocommerce .pls-product-grid .product [class*="-preorder"],
body.woocommerce-page .pls-product-grid .product [class*="-preorder"],

body.woocommerce .pls-product-grid .product [class~="pre-order"],
body.woocommerce-page .pls-product-grid .product [class~="pre-order"],

body.woocommerce .pls-product-grid .product [class*="pre-order-"],
body.woocommerce-page .pls-product-grid .product [class*="pre-order-"],

body.woocommerce .pls-product-grid .product [class*="-pre-order"],
body.woocommerce-page .pls-product-grid .product [class*="-pre-order"] {
    display: none !important;
}


/* ============================================================
   TABLETA
   ============================================================ */

@media (max-width: 991px) {

    body .pls-product-grid .product .pls-product-actions,
    body .pls-product-grid .product .pls-cart-button,
    body .pls-product-grid .product .pls-cart-button > a,
    body .pls-product-grid .product .add_to_cart_button {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;

        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }
}


/* ============================================================
   MOBIL
   ============================================================ */

@media (max-width: 640px) {

    body .pls-product-grid .product .pls-product-actions,
    body .pls-product-grid .product .pls-cart-button,
    body .pls-product-grid .product .pls-cart-button > a,
    body .pls-product-grid .product .add_to_cart_button {
        display: none !important;
    }



