/*
 Theme Name:   Fynode Child
 Template:     fynode
*/

/* =========================================================
   MEXIM – GRID PRODUCT TYPE 1 FINAL CLEAN + RESPONSIVE FIX
   ========================================================= */

/* card general */
.product-wrapper.product-type-1,
.product-wrapper.product-type-1 .product-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
}

/* content */
.product-wrapper.product-type-1 .product-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    position: relative !important;
    padding: 0 0.8rem 0.2rem !important;
}

.product-wrapper.product-type-1 .product-content-inner {
    display: block !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
}

/* ascunde buton overlay vechi */
.product-wrapper.product-type-1 .product-thumbnail-wrapper > .product-cart-button {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* wishlist */
.product-wrapper.product-type-1 .product-content-wrapper > .product-buttons {
    position: absolute !important;
    top: -18.7rem !important;
    left: 0.95rem !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 8 !important;
}

.product-wrapper.product-type-1 .product-content-wrapper > .product-buttons .product-button,
.product-wrapper.product-type-1 .product-content-wrapper > .product-buttons .wishlist-button,
.product-wrapper.product-type-1 .product-content-wrapper > .product-buttons .klbwl-btn,
.product-wrapper.product-type-1 .product-content-wrapper > .product-buttons a {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* titlu */
.product-wrapper.product-type-1 .product-title {
    margin-bottom: 12px !important;
}

/* =========================================================
   PRETURI
   ========================================================= */

.product-wrapper.product-type-1 .mexim-prices-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px 18px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 0 12px !important;
}

/* fiecare coloana */
.product-wrapper.product-type-1 .mexim-prices-row > .price,
.product-wrapper.product-type-1 .mexim-prices-row > .price.has-sale-label,
.product-wrapper.product-type-1 .mexim-buyback-price {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* stanga */
.product-wrapper.product-type-1 .mexim-prices-row > .price,
.product-wrapper.product-type-1 .mexim-prices-row > .price.has-sale-label {
    align-items: flex-start !important;
    text-align: left !important;
}

/* dreapta */
.product-wrapper.product-type-1 .mexim-buyback-price {
    align-items: flex-end !important;
    text-align: right !important;
}

/* label-uri */
.product-wrapper.product-type-1 .pret-vanzare-label,
.product-wrapper.product-type-1 .mexim-buyback-price .pret-rascumparare-label {
    display: block !important;
    width: 100% !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    min-height: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.product-wrapper.product-type-1 .pret-vanzare-label {
    text-align: left !important;
}

.product-wrapper.product-type-1 .mexim-buyback-price .pret-rascumparare-label {
    text-align: right !important;
}

/* valori */
.product-wrapper.product-type-1 .mexim-prices-row > .price .woocommerce-Price-amount,
.product-wrapper.product-type-1 .mexim-prices-row > .price bdi,
.product-wrapper.product-type-1 .mexim-buyback-price .woocommerce-Price-amount,
.product-wrapper.product-type-1 .mexim-buyback-price bdi {
    display: inline-block !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.product-wrapper.product-type-1 .mexim-prices-row > .price .woocommerce-Price-amount,
.product-wrapper.product-type-1 .mexim-prices-row > .price bdi {
    text-align: left !important;
}

.product-wrapper.product-type-1 .mexim-buyback-price .woocommerce-Price-amount,
.product-wrapper.product-type-1 .mexim-buyback-price bdi {
    text-align: right !important;
}

/* elimina spatii interne dubioase din woocommerce */
.product-wrapper.product-type-1 .price del,
.product-wrapper.product-type-1 .price ins,
.product-wrapper.product-type-1 .price .woocommerce-Price-currencySymbol,
.product-wrapper.product-type-1 .price .amount {
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
}

/* =========================================================
   BUTON
   ========================================================= */

.product-wrapper.product-type-1 .product-content-wrapper .product-cart-button--bottom {
    display: block !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    order: 99 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-wrapper.product-type-1 .product-content-wrapper .product-cart-button--bottom a.added_to_cart {
    display: none !important;
}

.product-wrapper.product-type-1 .product-content-wrapper .product-cart-button--bottom .button,
.product-wrapper.product-type-1 .product-content-wrapper .product-cart-button--bottom a.button,
.product-wrapper.product-type-1 .product-content-wrapper .product-cart-button--bottom .add_to_cart_button {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    border-radius: 999px !important;
    background: #0F151B !important;
    border: 1px solid #0F151B !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-wrapper.product-type-1 .product-content-wrapper .product-cart-button--bottom .button:hover,
.product-wrapper.product-type-1 .product-content-wrapper .product-cart-button--bottom a.button:hover,
.product-wrapper.product-type-1 .product-content-wrapper .product-cart-button--bottom .add_to_cart_button:hover {
    background: #2a313b !important;
    border-color: #2a313b !important;
    color: #ffffff !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {
    .product-wrapper.product-type-1 .mexim-prices-row {
        gap: 8px 14px !important;
    }

    .product-wrapper.product-type-1 .pret-vanzare-label,
    .product-wrapper.product-type-1 .mexim-buyback-price .pret-rascumparare-label {
        font-size: 11px !important;
        line-height: 1.1 !important;
        margin: 0 0 3px !important;
    }

    .product-wrapper.product-type-1 .mexim-prices-row > .price .woocommerce-Price-amount,
    .product-wrapper.product-type-1 .mexim-prices-row > .price bdi,
    .product-wrapper.product-type-1 .mexim-buyback-price .woocommerce-Price-amount,
    .product-wrapper.product-type-1 .mexim-buyback-price bdi {
        font-size: 16px !important;
        line-height: 1.05 !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .product-wrapper.product-type-1 .product-content-wrapper > .product-buttons {
        top: -15.9rem !important;
        left: 0.8rem !important;
    }

    .product-wrapper.product-type-1 .mexim-prices-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 6px 10px !important;
        margin: 0 0 10px !important;
    }

    .product-wrapper.product-type-1 .pret-vanzare-label,
    .product-wrapper.product-type-1 .mexim-buyback-price .pret-rascumparare-label {
        font-size: 9px !important;
        line-height: 1.08 !important;
        margin: 0 0 2px !important;
        letter-spacing: -0.01em !important;
    }

    .product-wrapper.product-type-1 .mexim-prices-row > .price .woocommerce-Price-amount,
    .product-wrapper.product-type-1 .mexim-prices-row > .price bdi,
    .product-wrapper.product-type-1 .mexim-buyback-price .woocommerce-Price-amount,
    .product-wrapper.product-type-1 .mexim-buyback-price bdi {
        font-size: 13px !important;
        line-height: 1.02 !important;
        letter-spacing: -0.02em !important;
    }

    .product-wrapper.product-type-1 .product-content-wrapper .product-cart-button--bottom .button,
    .product-wrapper.product-type-1 .product-content-wrapper .product-cart-button--bottom a.button,
    .product-wrapper.product-type-1 .product-content-wrapper .product-cart-button--bottom .add_to_cart_button {
        min-height: 44px !important;
        font-size: 14px !important;
    }
}

/* =========================================================
   EXTRA SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {
    .product-wrapper.product-type-1 .mexim-prices-row {
        gap: 5px 8px !important;
    }

    .product-wrapper.product-type-1 .pret-vanzare-label,
    .product-wrapper.product-type-1 .mexim-buyback-price .pret-rascumparare-label {
        font-size: 8.5px !important;
    }

    .product-wrapper.product-type-1 .mexim-prices-row > .price .woocommerce-Price-amount,
    .product-wrapper.product-type-1 .mexim-prices-row > .price bdi,
    .product-wrapper.product-type-1 .mexim-buyback-price .woocommerce-Price-amount,
    .product-wrapper.product-type-1 .mexim-buyback-price bdi {
        font-size: 12px !important;
    }
}






.site-header .site-nav .site-menu > li.menu-item-has-children:after {
    content: none !important;
    display: none !important;
}






