/* SimpleTools Product Page Pro - frontend */
body.stpp-product-layout {
    --stpp-green: #008644;
    --stpp-green-dark: #005c39;
    --stpp-green-deep: #004b31;
    --stpp-green-soft: #eaf6ef;
    --stpp-line: #e3ebe6;
    --stpp-text: #18251f;
    --stpp-muted: #7c8882;
    --stpp-card: #fff;
    --stpp-shadow: 0 12px 34px rgba(17, 64, 43, .08);
}

body.stpp-product-layout .single-breadcrumbs-wrapper {
    margin-bottom: 14px;
}

body.stpp-product-layout .single-product-page > .container {
    max-width: 1350px;
}

body.stpp-product-layout .product-image-summary-inner {
    align-items: flex-start;
    gap: 26px !important;
}

/* GALLERY */
body.stpp-product-layout .product-images {
    position: relative;
    overflow: hidden;
    padding: 16px !important;
    border: 1px solid var(--stpp-line);
    border-radius: 16px;
    background: var(--stpp-card);
    box-shadow: var(--stpp-shadow);
}

body.stpp-product-layout .woocommerce-product-gallery,
body.stpp-product-layout .wd-gallery-images,
body.stpp-product-layout .wd-gallery-thumb {
    margin-bottom: 0 !important;
}

body.stpp-product-layout .woocommerce-product-gallery__image,
body.stpp-product-layout .woocommerce-product-gallery__image a,
body.stpp-product-layout .woocommerce-product-gallery__image img {
    border-radius: 12px;
}

body.stpp-product-layout .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    background: #fff;
}

body.stpp-product-layout .wd-gallery-thumb {
    margin-top: 12px !important;
}

body.stpp-product-layout .wd-gallery-thumb .wd-carousel-item {
    position: relative;
    overflow: visible !important;
    padding: 10px 4px 4px;
}

body.stpp-product-layout .wd-gallery-thumb img {
    box-sizing: border-box;
    border: 1px solid var(--stpp-line) !important;
    border-radius: 10px;
    background: #fff;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

/*
 * Nu folosim .wd-active aici: in caruselul WoodMart acea clasa poate indica
 * un slide vizibil, nu neaparat miniatura selectata. JS-ul pluginului aplica
 * stpp-thumb-active strict pe imaginea care corespunde fotografiei curente.
 */
body.stpp-product-layout .wd-gallery-thumb .wd-carousel-item.stpp-thumb-active img {
    border: 2px solid var(--stpp-green) !important;
    box-shadow: 0 0 0 1px rgba(0, 134, 68, .08) !important;
}

body.stpp-product-layout .wd-gallery-thumb .wd-carousel-item:not(.stpp-thumb-active):hover img {
    border-color: rgba(0, 134, 68, .55) !important;
}

/* Pointerul verde, centrat deasupra miniaturii active. */
body.stpp-product-layout .wd-gallery-thumb .wd-carousel-item.stpp-thumb-active::before,
body.stpp-product-layout .wd-gallery-thumb .wd-carousel-item.stpp-thumb-active::after {
    content: "";
    position: absolute;
    left: 50%;
    z-index: 6;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    pointer-events: none;
}

body.stpp-product-layout .wd-gallery-thumb .wd-carousel-item.stpp-thumb-active::before {
    top: 1px;
    border-right: 8px solid transparent;
    border-bottom: 9px solid var(--stpp-green);
    border-left: 8px solid transparent;
}

body.stpp-product-layout .wd-gallery-thumb .wd-carousel-item.stpp-thumb-active::after {
    top: 4px;
    border-right: 6px solid transparent;
    border-bottom: 7px solid #fff;
    border-left: 6px solid transparent;
}

body.stpp-product-layout .product-labels {
    top: 12px;
    left: 12px;
}

body.stpp-product-layout .product-labels .product-label {
    min-width: auto;
    padding: 5px 10px;
    border-radius: 6px !important;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

body.stpp-product-layout .wd-show-product-gallery-wrap {
    top: 12px;
    right: 12px;
    left: auto;
}

body.stpp-product-layout .stpp-gallery-counter {
    position: absolute;
    z-index: 8;
    right: 16px;
    bottom: 126px;
    min-width: 46px;
    padding: 5px 9px;
    border: 1px solid var(--stpp-line);
    border-radius: 8px;
    background: rgba(255,255,255,.96);
    color: #7c8781;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    pointer-events: none;
}

/* SUMMARY CARD */
body.stpp-product-layout .summary.entry-summary {
    padding: 24px 26px 20px !important;
    border: 1px solid var(--stpp-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--stpp-shadow);
    text-align: left !important;
}

body.stpp-product-layout .summary-inner {
    text-align: left !important;
}

body.stpp-product-layout .summary .product_title {
    margin-bottom: 8px;
    color: var(--stpp-text);
    font-size: 28px !important;
    font-weight: 800;
    line-height: 1.12;
    text-align: left;
}

body.stpp-product-layout .summary .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px !important;
    text-align: left;
}

body.stpp-product-layout .summary .star-rating {
    margin: 0 !important;
}

body.stpp-product-layout .summary .price {
    margin: 2px 0 0 !important;
    color: var(--stpp-green-dark) !important;
    font-size: clamp(25px, 2vw, 34px) !important;
    font-weight: 800 !important;
    line-height: 1.1;
    text-align: left;
}

body.stpp-product-layout .stpp-vat-label {
    margin-top: 4px;
    color: #93a099;
    font-size: 12px;
    font-weight: 600;
}

/* Ascundem distribuirea din zona de conversie; ramane disponibila mai jos in meta produs. */
body.stpp-product-layout .summary .wd-share-inline-after-price {
    display: none !important;
}

body.stpp-product-layout .summary p.stock {
    display: flex;
    align-items: center;
    margin: 15px 0 12px !important;
    color: var(--stpp-green-dark) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.4;
    text-align: left !important;
}

body.stpp-product-layout .summary p.stock.out-of-stock {
    color: #b64545 !important;
}

body.stpp-product-layout .stpp-purchase-proof {
    margin: 12px 0 12px;
    padding: 10px 13px;
    border-radius: 7px;
    background: #e8f3e9;
    color: #396e48;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

body.stpp-product-layout .stpp-purchase-proof strong {
    color: var(--stpp-green-dark);
    font-weight: 800;
}

body.stpp-product-layout .stpp-short-description {
    margin: 10px 0 18px !important;
    color: #314239;
    font-size: 13.5px;
    line-height: 1.62;
    text-align: justify !important;
    text-justify: inter-word;
}

body.stpp-product-layout .stpp-short-description > :last-child {
    margin-bottom: 0;
}

body.stpp-product-layout .stpp-short-description ul,
body.stpp-product-layout .stpp-short-description ol {
    margin: 8px 0 8px 18px;
    padding: 0;
}

body.stpp-product-layout .stpp-short-description li {
    margin: 3px 0;
}

/* FORMULAR CTA - ordinea din mockup: cantitate + cos, cumpara acum, TBI */
body.stpp-product-layout .summary form.cart {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
        "qty cart"
        "buy buy"
        "tbi tbi";
    gap: 10px !important;
    width: 100%;
    margin: 18px 0 14px !important;
    padding: 0 !important;
    text-align: left !important;
}

body.stpp-product-layout .summary form.cart > .quantity {
    grid-area: qty;
    display: grid !important;
    grid-template-columns: 30px 36px 30px;
    width: 96px !important;
    min-width: 96px;
    height: 52px;
    margin: 0 !important;
    border: 1px solid #dfe7e2;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

body.stpp-product-layout .summary form.cart .quantity .minus,
body.stpp-product-layout .summary form.cart .quantity .plus,
body.stpp-product-layout .summary form.cart .quantity input.qty {
    width: 100% !important;
    min-width: 0 !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-right: 1px solid #e4eae6 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #183329 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 50px !important;
    box-shadow: none !important;
}

body.stpp-product-layout .summary form.cart .quantity .plus {
    border-right: 0 !important;
}

body.stpp-product-layout .summary form.cart .single_add_to_cart_button {
    grid-area: cart;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    min-height: 52px;
    margin: 0 !important;
    padding: 12px 20px !important;
    border: 1px solid var(--stpp-green-dark) !important;
    border-radius: 6px !important;
    background: linear-gradient(100deg, #078d49 0%, #006f3f 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    box-shadow: 0 9px 18px rgba(0,112,63,.18) !important;
    transition: transform .18s ease !important;
}

body.stpp-product-layout .summary form.cart .single_add_to_cart_button::before {
    content: "";
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L20 8H7'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L20 8H7'/%3E%3C/svg%3E") center/contain no-repeat;
}

body.stpp-product-layout .summary form.cart #wd-add-to-cart,
body.stpp-product-layout .summary form.cart .wd-buy-now-btn {
    grid-area: buy;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100% !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 11px 18px !important;
    border: 1px solid #58a77e !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: var(--stpp-green-dark) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    box-shadow: none !important;
    transition: transform .18s ease !important;
}

body.stpp-product-layout .summary form.cart #wd-add-to-cart::before,
body.stpp-product-layout .summary form.cart .wd-buy-now-btn::before {
    content: "⚡";
    color: var(--stpp-green);
    font-size: 17px;
    line-height: 1;
}

body.stpp-product-layout .summary form.cart .tbi_button_container2,
body.stpp-product-layout .summary form.cart #tbi_button_container {
    grid-area: tbi;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.stpp-product-layout .summary form.cart .tbi_button2,
body.stpp-product-layout .summary form.cart #tbi_button {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.stpp-product-layout .summary form.cart .tbi_button_body2,
body.stpp-product-layout .summary form.cart #tbi_button_body {
    box-sizing: border-box;
    width: 100% !important;
    min-height: 58px;
    margin: 0 !important;
    padding: 9px 16px !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 16px rgba(211,89,0,.18) !important;
}

body.stpp-product-layout .summary form.cart .tbi_button_line {
    text-align: center !important;
}

/* TRUST UNDER CTA */
body.stpp-product-layout .stpp-summary-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid #edf1ee;
}

body.stpp-product-layout .stpp-summary-trust__item {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: #52615a;
}

body.stpp-product-layout .stpp-summary-trust__icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: var(--stpp-green-dark);
}

body.stpp-product-layout .stpp-summary-trust__icon svg,
body.stpp-product-layout .stpp-brand-strip__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.stpp-product-layout .stpp-summary-trust__item span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.stpp-product-layout .stpp-summary-trust__item strong {
    color: #000;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

body.stpp-product-layout .stpp-summary-trust__item small {
    margin-top: 2px;
    color: #000;
    font-size: 8.5px;
    line-height: 1.25;
    white-space: nowrap;
}

body.stpp-product-layout .stpp-romania-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    color: #000;
    font-size: 21px;
    line-height: 1.2;
}

body.stpp-product-layout .stpp-romania-line strong {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: inherit;
}

body.stpp-product-layout .stpp-ro-flag {
    display: inline-block;
    width: 30px;
    height: 20px;
    border-radius: 1px;
    background: linear-gradient(90deg, #002b7f 0 33.333%, #fcd116 33.333% 66.666%, #ce1126 66.666% 100%);
    box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}

/* FULL WIDTH BENEFIT STRIP */
body.stpp-product-layout .stpp-brand-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1350px;
    margin: 8px auto 28px;
    padding: 14px 16px;
    border: 1px solid var(--stpp-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(20, 67, 46, .05);
}

body.stpp-product-layout .stpp-brand-strip__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 4px 18px;
    border-right: 1px solid #edf2ee;
}

body.stpp-product-layout .stpp-brand-strip__item:last-child {
    border-right: 0;
}

body.stpp-product-layout .stpp-brand-strip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 9px;
    border-radius: 11px;
    background: var(--stpp-green-soft);
    color: var(--stpp-green);
}

body.stpp-product-layout .stpp-brand-strip__item > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.stpp-product-layout .stpp-brand-strip__item strong {
    color: #2b3d34;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

body.stpp-product-layout .stpp-brand-strip__item small {
    margin-top: 3px;
    color: #7e8d85;
    font-size: 10px;
    line-height: 1.35;
}

/* Theme-specific cleanup for the old centered single-product layout. */
body.stpp-product-layout .product-design-alt .summary,
body.stpp-product-layout .product-align-center .summary {
    text-align: left !important;
}

body.stpp-product-layout .product-summary-shadow .summary-inner {
    box-shadow: none !important;
}

@media (max-width: 1180px) {
    body.stpp-product-layout .stpp-summary-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.stpp-product-layout .stpp-brand-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.stpp-product-layout .stpp-brand-strip__item:nth-child(2) {
        border-right: 0;
    }

    body.stpp-product-layout .stpp-brand-strip__item:nth-child(n+3) {
        margin-top: 8px;
    }
}

@media (max-width: 1024px) {
    body.stpp-product-layout .product-image-summary-inner {
        gap: 16px !important;
    }

    body.stpp-product-layout .product-images,
    body.stpp-product-layout .summary.entry-summary {
        padding: 16px !important;
    }

    body.stpp-product-layout .summary .product_title {
        font-size: 25px;
    }
}

@media (max-width: 768px) {
    body.stpp-product-layout .product-images,
    body.stpp-product-layout .summary.entry-summary {
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(17,64,43,.07);
    }

    body.stpp-product-layout .summary.entry-summary {
        margin-top: 14px;
    }

    body.stpp-product-layout .stpp-short-description {
        font-size: 13px;
        line-height: 1.55;
    }

    body.stpp-product-layout .summary form.cart {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    body.stpp-product-layout .summary form.cart > .quantity {
        grid-template-columns: 28px 36px 28px;
        width: 92px !important;
        min-width: 92px;
    }

    body.stpp-product-layout .stpp-summary-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 8px;
    }

    body.stpp-product-layout .stpp-summary-trust__item strong {
        font-size: 10px;
    }

    body.stpp-product-layout .stpp-brand-strip {
        grid-template-columns: 1fr;
        margin: 16px 10px 22px;
        padding: 10px;
    }

    body.stpp-product-layout .stpp-brand-strip__item,
    body.stpp-product-layout .stpp-brand-strip__item:nth-child(2) {
        margin-top: 0;
        padding: 10px 8px;
        border-right: 0;
        border-bottom: 1px solid #edf2ee;
    }

    body.stpp-product-layout .stpp-brand-strip__item:last-child {
        border-bottom: 0;
    }

    body.stpp-product-layout .stpp-gallery-counter {
        right: 12px;
        bottom: 112px;
    }
}

@media (max-width: 480px) {
    body.stpp-product-layout .summary form.cart {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 8px;
    }

    body.stpp-product-layout .summary form.cart > .quantity {
        grid-template-columns: 26px 36px 26px;
        width: 88px !important;
        min-width: 88px;
    }

    body.stpp-product-layout .summary form.cart .single_add_to_cart_button {
        padding-inline: 10px !important;
        font-size: 13px !important;
    }

    body.stpp-product-layout .stpp-summary-trust {
        grid-template-columns: 1fr 1fr;
    }
}

/* v1.0.3 - ajustări fine cerute pentru CTA, stoc și benzi de încredere. */
body.stpp-product-layout .product-image-summary-wrap,
body.stpp-product-layout .product-image-summary {
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
}

/* Banda de beneficii urcă mai aproape de zona principală. */
body.stpp-product-layout .stpp-brand-strip {
    margin-top: -20px !important;
}

/* WoodMart adaugă propria bifă prin pseudo-element; păstrăm doar bifa din textul pluginului. */
body.stpp-product-layout .summary p.stock::before,
body.stpp-product-layout .summary p.stock:before {
    display: none !important;
    content: none !important;
}

/* Titlul WooCommerce rămâne H1 și primește dimensiunea cerută. */
body.stpp-product-layout .summary h1.product_title,
body.stpp-product-layout .summary .product_title {
    font-size: 28px !important;
}

/* Micro-animație la hover, fără schimbarea culorilor/designului butoanelor. */
body.stpp-product-layout .summary form.cart .single_add_to_cart_button:hover,
body.stpp-product-layout .summary form.cart #wd-add-to-cart:hover,
body.stpp-product-layout .summary form.cart .wd-buy-now-btn:hover {
    transform: translateY(-2px) !important;
}

body.stpp-product-layout .summary form.cart .single_add_to_cart_button:active,
body.stpp-product-layout .summary form.cart #wd-add-to-cart:active,
body.stpp-product-layout .summary form.cart .wd-buy-now-btn:active {
    transform: translateY(0) scale(.99) !important;
}

/* Pe desktop fiecare beneficiu din cardul CTA este exact pe două rânduri:
   titlul pe primul, descrierea pe al doilea. */
@media (min-width: 1181px) {
    body.stpp-product-layout .stpp-summary-trust {
        gap: 6px;
    }

    body.stpp-product-layout .stpp-summary-trust__item {
        gap: 5px;
    }

    body.stpp-product-layout .stpp-summary-trust__item strong,
    body.stpp-product-layout .stpp-summary-trust__item small {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    body.stpp-product-layout .product-image-summary-wrap,
    body.stpp-product-layout .product-image-summary {
        margin-bottom: 6px !important;
    }

    /* Pe mobil permitem ruperea naturală a textului ca să nu iasă din card. */
    body.stpp-product-layout .stpp-summary-trust__item strong,
    body.stpp-product-layout .stpp-summary-trust__item small {
        white-space: normal;
    }
}

/* v1.0.5 - efect CTA reparat: lumina rulează direct în bordură, fără pseudo-elemente. */
@property --stpp-cta-ring-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/*
 * IMPORTANT:
 * Nu folosim ::after pentru efect. Butonul Adaugă în coș folosește deja ::before
 * pentru iconița de coș, iar unele combinații Chrome/WoodMart pot randă masca
 * unui pseudo-element ca un artefact în colțul stânga-sus. Efectul este desenat
 * acum direct în background-ul bordurii butonului.
 */
body.stpp-product-layout .summary form.cart .single_add_to_cart_button,
body.stpp-product-layout .summary form.cart #wd-add-to-cart,
body.stpp-product-layout .summary form.cart .wd-buy-now-btn {
    position: relative !important;
}

/* Dezactivăm explicit vechiul strat luminos dacă CSS-ul anterior rămâne în cache/combinat. */
body.stpp-product-layout .summary form.cart .single_add_to_cart_button::after,
body.stpp-product-layout .summary form.cart #wd-add-to-cart::after,
body.stpp-product-layout .summary form.cart .wd-buy-now-btn::after {
    content: none !important;
    display: none !important;
}

/* Adaugă în coș: lumină NEAGRĂ care se deplasează numai pe marginea butonului. */
body.stpp-product-layout .summary form.cart .single_add_to_cart_button:hover {
    border-color: transparent !important;
    background:
        linear-gradient(100deg, #078d49 0%, #006f3f 100%) padding-box,
        conic-gradient(
            from var(--stpp-cta-ring-angle),
            transparent 0deg 276deg,
            rgba(0, 0, 0, .12) 292deg,
            #050505 312deg,
            #050505 326deg,
            #606060 341deg,
            transparent 357deg 360deg
        ) border-box !important;
    box-shadow:
        0 9px 18px rgba(0,112,63,.18),
        0 0 0 1px rgba(0,0,0,.04) !important;
    animation: stpp-cta-ring-run 1.20s linear infinite;
}

/* Cumpără acum: lumină VERDE care se deplasează numai pe marginea butonului. */
body.stpp-product-layout .summary form.cart #wd-add-to-cart:hover,
body.stpp-product-layout .summary form.cart .wd-buy-now-btn:hover {
    border-color: transparent !important;
    background:
        linear-gradient(#fff, #fff) padding-box,
        conic-gradient(
            from var(--stpp-cta-ring-angle),
            transparent 0deg 276deg,
            rgba(0, 141, 75, .12) 292deg,
            #007b45 310deg,
            #12b766 326deg,
            #62f2aa 341deg,
            transparent 357deg 360deg
        ) border-box !important;
    box-shadow: 0 0 12px rgba(0,141,75,.13) !important;
    animation: stpp-cta-ring-run 1.20s linear infinite;
}

@keyframes stpp-cta-ring-run {
    to {
        --stpp-cta-ring-angle: 360deg;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.stpp-product-layout .summary form.cart .single_add_to_cart_button:hover,
    body.stpp-product-layout .summary form.cart #wd-add-to-cart:hover,
    body.stpp-product-layout .summary form.cart .wd-buy-now-btn:hover {
        animation: none;
    }
}


/* v1.0.6 trust text / Romania line refinements */
@media (max-width: 767px) {
    body.stpp-product-layout .stpp-romania-line {
        font-size: 20px;
        gap: 9px;
    }

    body.stpp-product-layout .stpp-ro-flag {
        width: 27px;
        height: 18px;
    }
}

/* =========================================================
   v1.0.11 - Lightbox modern SimpleTools pentru galeria produsului
   ========================================================= */
body.stpp-product-layout.stpp-lightbox-open {
    overflow: hidden !important;
}

body.stpp-product-layout .stpp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    place-items: center;
    padding: 18px;
    font-family: inherit;
}

body.stpp-product-layout .stpp-lightbox.is-open {
    display: grid;
}

body.stpp-product-layout .stpp-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(8, 145, 76, .16), transparent 34%),
        rgba(5, 18, 13, .92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

body.stpp-product-layout .stpp-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(1500px, calc(100vw - 36px));
    height: min(940px, calc(100vh - 36px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: #0b1712;
    box-shadow: 0 32px 90px rgba(0, 0, 0, .45);
}

body.stpp-product-layout .stpp-lightbox__topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 10px 14px 10px 20px;
    color: #fff;
    background: linear-gradient(90deg, #063d2a 0%, #075736 54%, #063c29 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

body.stpp-product-layout .stpp-lightbox__brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

body.stpp-product-layout .stpp-lightbox__brand-mark {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #35d884;
    box-shadow: 0 0 0 5px rgba(53, 216, 132, .12);
}

body.stpp-product-layout .stpp-lightbox__brand strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
}

body.stpp-product-layout .stpp-lightbox__brand small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, .66);
    font-size: 10px;
    line-height: 1.1;
}

body.stpp-product-layout .stpp-lightbox__counter {
    margin-left: auto;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

body.stpp-product-layout .stpp-lightbox__close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .10) !important;
    color: #fff !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

body.stpp-product-layout .stpp-lightbox__close:hover {
    transform: rotate(90deg);
    background: #fff !important;
    border-color: #fff !important;
    color: #087d46 !important;
}

body.stpp-product-layout .stpp-lightbox__close svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

body.stpp-product-layout .stpp-lightbox__stage {
    position: relative;
    min-height: 0;
    display: grid;
    place-items: center;
    padding: 22px 82px;
    overflow: hidden;
    background:
        linear-gradient(45deg, rgba(8, 125, 70, .025) 25%, transparent 25%, transparent 75%, rgba(8, 125, 70, .025) 75%),
        linear-gradient(45deg, rgba(8, 125, 70, .025) 25%, #fff 25%, #fff 75%, rgba(8, 125, 70, .025) 75%);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}

body.stpp-product-layout .stpp-lightbox__figure {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    margin: 0;
}

body.stpp-product-layout .stpp-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(13, 54, 36, .08);
    user-select: none;
    -webkit-user-drag: none;
}

body.stpp-product-layout .stpp-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid #d8e8de !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #087d46 !important;
    box-shadow: 0 10px 28px rgba(0, 63, 37, .14) !important;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

body.stpp-product-layout .stpp-lightbox__nav:hover {
    transform: translateY(-50%) scale(1.06);
    background: #087d46 !important;
    color: #fff !important;
}

body.stpp-product-layout .stpp-lightbox__nav--prev {
    left: 20px;
}

body.stpp-product-layout .stpp-lightbox__nav--next {
    right: 20px;
}

body.stpp-product-layout .stpp-lightbox__nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.stpp-product-layout .stpp-lightbox[data-total="1"] .stpp-lightbox__nav {
    display: none;
}

body.stpp-product-layout .stpp-lightbox__caption {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 12px 20px;
    color: #fff;
    background: #0b1712;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

body.stpp-product-layout .stpp-lightbox__caption-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #35d884;
    background: rgba(53, 216, 132, .10);
    border: 1px solid rgba(53, 216, 132, .18);
}

body.stpp-product-layout .stpp-lightbox__caption-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

body.stpp-product-layout .stpp-lightbox__caption-copy {
    min-width: 0;
}

body.stpp-product-layout .stpp-lightbox__caption-label {
    display: block;
    margin-bottom: 2px;
    color: #65dd9c;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .10em;
    text-transform: uppercase;
}

body.stpp-product-layout .stpp-lightbox__title {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    body.stpp-product-layout .stpp-lightbox {
        padding: 0;
    }

    body.stpp-product-layout .stpp-lightbox__dialog {
        width: 100vw;
        height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    body.stpp-product-layout .stpp-lightbox__topbar {
        min-height: 56px;
        padding: 8px 10px 8px 14px;
    }

    body.stpp-product-layout .stpp-lightbox__stage {
        padding: 14px 12px 74px;
    }

    body.stpp-product-layout .stpp-lightbox__nav {
        top: auto;
        bottom: 14px;
        width: 44px;
        height: 44px;
        transform: none;
    }

    body.stpp-product-layout .stpp-lightbox__nav:hover {
        transform: scale(1.04);
    }

    body.stpp-product-layout .stpp-lightbox__nav--prev {
        left: calc(50% - 54px);
    }

    body.stpp-product-layout .stpp-lightbox__nav--next {
        right: calc(50% - 54px);
    }

    body.stpp-product-layout .stpp-lightbox__caption {
        min-height: 72px;
        padding: 10px 14px;
    }

    body.stpp-product-layout .stpp-lightbox__title {
        font-size: 13px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

/* =========================================================
   v1.0.12 - Lightbox: imagine complet vizibila + fundal verde deschis
   ========================================================= */
body.stpp-product-layout .stpp-lightbox__stage {
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .72) 40%, rgba(231, 246, 237, .82) 72%),
        linear-gradient(135deg, #eef8f2 0%, #e2f3e9 100%) !important;
}

body.stpp-product-layout .stpp-lightbox__figure {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

body.stpp-product-layout .stpp-lightbox__image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

@media (max-width: 768px) {
    body.stpp-product-layout .stpp-lightbox__stage {
        background:
            radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .74) 42%, rgba(231, 246, 237, .88) 76%),
            linear-gradient(135deg, #eef8f2 0%, #e2f3e9 100%) !important;
    }
}


/* =========================================================
   v1.0.13 - Lightbox: incadrare corecta la orice latime de viewport
   Evita calculul procentual ciclic din grid care putea mari imaginea
   pe ecrane late si apoi o taia prin overflow-ul scenei.
   ========================================================= */
body.stpp-product-layout .stpp-lightbox__dialog {
    height: min(940px, calc(100dvh - 36px));
    max-height: calc(100dvh - 36px);
}

body.stpp-product-layout .stpp-lightbox__stage {
    position: relative;
    display: block !important;
    min-width: 0;
    min-height: 0;
    padding: 0 !important;
    overflow: hidden;
}

body.stpp-product-layout .stpp-lightbox__figure {
    position: absolute;
    inset: 22px 82px;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    min-height: 0;
    margin: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.stpp-product-layout .stpp-lightbox__image {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    flex: 0 1 auto;
}

@media (max-width: 768px) {
    body.stpp-product-layout .stpp-lightbox__dialog {
        height: 100dvh;
        max-height: 100dvh;
    }

    body.stpp-product-layout .stpp-lightbox__figure {
        inset: 14px 12px 74px;
    }
}

/* =========================================================
   v1.0.14 - Produse recomandate + banner contact branduit
========================================================= */
body.stpp-product-layout .related-and-upsells {
    max-width: 1350px;
    margin: 20px auto 30px;
    padding-inline: 12px;
}

body.stpp-product-layout .related-and-upsells .related-products {
    margin-top: 4px;
}

body.stpp-product-layout .related-and-upsells .wd-el-title.title.slider-title.element-title {
    display: block;
    width: 100%;
    margin: 0 0 22px !important;
    text-align: center !important;
}

body.stpp-product-layout .related-and-upsells .wd-el-title.title.slider-title.element-title > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 0 10px;
    color: #163c2b;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.15;
}

body.stpp-product-layout .related-and-upsells .wd-el-title.title.slider-title.element-title > span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 84px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f6b3e 0%, #159151 100%);
    transform: translateX(-50%);
}

body.stpp-product-layout .related-and-upsells .wd-carousel-inner {
    padding-top: 4px;
}

body.stpp-product-layout .related-and-upsells .wd-carousel-item,
body.stpp-product-layout .related-and-upsells .wd-product,
body.stpp-product-layout .related-and-upsells .wd-product-wrapper {
    height: 100%;
}

body.stpp-product-layout .related-and-upsells .wd-product-wrapper {
    overflow: hidden;
    border: 1px solid #e5ece7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(19, 60, 42, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

body.stpp-product-layout .related-and-upsells .wd-product:hover .wd-product-wrapper {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(19, 60, 42, .12);
}

body.stpp-product-layout .related-and-upsells .wd-product-thumb {
    padding: 18px 18px 8px;
    background: #fff;
}

body.stpp-product-layout .related-and-upsells .wd-product-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: #fff;
}

body.stpp-product-layout .related-and-upsells .wd-product-img-link img,
body.stpp-product-layout .related-and-upsells .wd-product-img-hover img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

body.stpp-product-layout .related-and-upsells .product-element-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 0 18px 20px;
}

body.stpp-product-layout .related-and-upsells .wd-entities-title {
    min-height: 50px;
    margin: 0;
    color: #20372c;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.42;
    text-align: center;
}

body.stpp-product-layout .related-and-upsells .wd-entities-title a {
    color: inherit;
}

body.stpp-product-layout .related-and-upsells .price {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    color: #0d6f41;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

body.stpp-product-layout .related-and-upsells .wd-add-btn {
    margin-top: auto;
}

body.stpp-product-layout .related-and-upsells .wd-add-btn .button,
body.stpp-product-layout .related-and-upsells .wd-add-btn .btn,
body.stpp-product-layout .related-and-upsells .wd-add-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #0a6e3f 0%, #12884d 100%) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-align: center;
    text-transform: none !important;
    box-shadow: 0 10px 20px rgba(10, 110, 63, .18) !important;
}

body.stpp-product-layout .related-and-upsells .wd-add-btn .button:hover,
body.stpp-product-layout .related-and-upsells .wd-add-btn .btn:hover,
body.stpp-product-layout .related-and-upsells .wd-add-btn a:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

body.stpp-product-layout .related-and-upsells .outofstock .wd-add-btn .button,
body.stpp-product-layout .related-and-upsells .outofstock .wd-add-btn .btn,
body.stpp-product-layout .related-and-upsells .outofstock .wd-add-btn a {
    background: linear-gradient(135deg, #4c6b5b 0%, #365447 100%) !important;
}

body.stpp-product-layout .related-and-upsells .product-labels {
    top: 14px;
    left: 14px;
}

body.stpp-product-layout .related-and-upsells .wd-nav-pagin-wrap {
    display: none !important;
}

body.stpp-product-layout .stpp-contact-banner {
    max-width: 1350px;
    margin: 24px auto 10px;
    padding-inline: 12px;
}

body.stpp-product-layout .stpp-contact-banner__inner {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: linear-gradient(135deg, #0a5f37 0%, #0f7644 48%, #12884d 100%);
    box-shadow: 0 18px 40px rgba(12, 81, 49, .22);
}

body.stpp-product-layout .stpp-contact-banner__inner::before {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

body.stpp-product-layout .stpp-contact-banner__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/simpletools-logo.webp'), url('../images/simpletools-logo.webp');
    background-repeat: no-repeat, no-repeat;
    background-position: right -10px top -8px, left -30px bottom -24px;
    background-size: 230px auto, 200px auto;
    opacity: .12;
    pointer-events: none;
}

body.stpp-product-layout .stpp-contact-banner__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 26px;
    align-items: center;
    padding: 30px 34px;
}

body.stpp-product-layout .stpp-contact-banner__copy {
    max-width: 760px;
}

body.stpp-product-layout .stpp-contact-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.92);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.stpp-product-layout .stpp-contact-banner__copy h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(28px, 3.1vw, 38px);
    font-weight: 800;
    line-height: 1.15;
}

body.stpp-product-layout .stpp-contact-banner__copy p {
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 16px;
    line-height: 1.65;
}

body.stpp-product-layout .stpp-contact-banner__actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
}

body.stpp-product-layout .stpp-contact-banner__btn,
body.stpp-product-layout .stpp-contact-banner__phone {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-decoration: none;
}

body.stpp-product-layout .stpp-contact-banner__btn {
    justify-content: center;
    min-height: 64px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f3faf5 0%, #ebf7ef 100%);
    color: #0c6d3f;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
}

body.stpp-product-layout .stpp-contact-banner__phone {
    justify-content: center;
    margin-top: 8px;
    padding: 16px 18px 14px;
    border-top: 1px solid #e6efe8;
    color: #1f4b36;
}

body.stpp-product-layout .stpp-contact-banner__btn-icon,
body.stpp-product-layout .stpp-contact-banner__phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    color: currentColor;
}

body.stpp-product-layout .stpp-contact-banner__btn-icon svg,
body.stpp-product-layout .stpp-contact-banner__phone-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.stpp-product-layout .stpp-contact-banner__phone-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

body.stpp-product-layout .stpp-contact-banner__phone-copy small {
    color: #6d8176;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .04em;
}

body.stpp-product-layout .stpp-contact-banner__phone-copy strong {
    color: #0d6f41;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

body.stpp-product-layout .stpp-contact-banner__logo-wrap {
    position: absolute;
    right: 28px;
    top: 50%;
    z-index: 1;
    width: min(20vw, 240px);
    transform: translateY(-50%);
    opacity: .14;
    pointer-events: none;
}

body.stpp-product-layout .stpp-contact-banner__logo {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1200px) {
    body.stpp-product-layout .stpp-contact-banner__content {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    }
}

@media (max-width: 1024px) {
    body.stpp-product-layout .related-and-upsells .wd-entities-title {
        min-height: auto;
        font-size: 16px;
    }

    body.stpp-product-layout .stpp-contact-banner__content {
        grid-template-columns: 1fr;
    }

    body.stpp-product-layout .stpp-contact-banner__actions {
        max-width: 420px;
    }

    body.stpp-product-layout .stpp-contact-banner__logo-wrap {
        width: 190px;
        right: 12px;
        top: 22px;
        transform: none;
    }
}

@media (max-width: 767px) {
    body.stpp-product-layout .related-and-upsells {
        margin-top: 14px;
        padding-inline: 10px;
    }

    body.stpp-product-layout .related-and-upsells .wd-el-title.title.slider-title.element-title {
        margin-bottom: 20px !important;
    }

    body.stpp-product-layout .related-and-upsells .wd-product-thumb {
        padding: 14px 14px 6px;
    }

    body.stpp-product-layout .related-and-upsells .product-element-bottom {
        padding: 0 14px 16px;
    }

    body.stpp-product-layout .related-and-upsells .price {
        font-size: 24px;
    }

    body.stpp-product-layout .stpp-contact-banner {
        margin-top: 18px;
        padding-inline: 10px;
    }

    body.stpp-product-layout .stpp-contact-banner__content {
        gap: 18px;
        padding: 22px 18px;
    }

    body.stpp-product-layout .stpp-contact-banner__copy h3 {
        font-size: 26px;
    }

    body.stpp-product-layout .stpp-contact-banner__copy p {
        font-size: 14px;
    }

    body.stpp-product-layout .stpp-contact-banner__actions {
        max-width: none;
    }

    body.stpp-product-layout .stpp-contact-banner__btn {
        min-height: 58px;
        font-size: 16px;
    }

    body.stpp-product-layout .stpp-contact-banner__phone-copy strong {
        font-size: 24px;
    }

    body.stpp-product-layout .stpp-contact-banner__logo-wrap {
        display: none;
    }

    body.stpp-product-layout .stpp-contact-banner__inner::after {
        background-size: 165px auto, 145px auto;
        background-position: right -14px top -8px, left -28px bottom -10px;
        opacity: .10;
    }
}


/* =========================================================
   v1.0.15 - Related products + contact banner refinement
   ========================================================= */
body.stpp-product-layout .related-and-upsells {
    margin: 18px auto 18px;
}

body.stpp-product-layout .related-and-upsells .wd-el-title.title.slider-title.element-title {
    margin: 0 0 18px !important;
}

body.stpp-product-layout .related-and-upsells .wd-el-title.title.slider-title.element-title > span,
body.stpp-product-layout .related-and-upsells h3 {
    color: #107946 !important;
    font-size: clamp(22px, 2.3vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    text-align: center !important;
}

body.stpp-product-layout .related-and-upsells .wd-el-title.title.slider-title.element-title > span::after {
    width: 66px;
    height: 3px;
    background: #107946;
}

body.stpp-product-layout .related-and-upsells .wd-carousel-item {
    padding-bottom: 6px;
}

body.stpp-product-layout .related-and-upsells .wd-product-wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe7de;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 53, 34, .08);
}

body.stpp-product-layout .related-and-upsells .wd-product-thumb {
    padding: 16px 16px 8px;
}

body.stpp-product-layout .related-and-upsells .wd-product-img-link,
body.stpp-product-layout .related-and-upsells .product-image-link {
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
}

body.stpp-product-layout .related-and-upsells .product-element-bottom {
    gap: 10px;
    padding: 0 14px 0;
}

body.stpp-product-layout .related-and-upsells .wd-entities-title {
    min-height: 48px;
    color: #263a31;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

body.stpp-product-layout .related-and-upsells .star-rating,
body.stpp-product-layout .related-and-upsells .wd-rating,
body.stpp-product-layout .related-and-upsells .woocommerce-product-rating {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin: 0;
    text-align: center;
}

body.stpp-product-layout .related-and-upsells .woocommerce-product-rating .star-rating,
body.stpp-product-layout .related-and-upsells .wd-rating .star-rating {
    margin: 0;
}

body.stpp-product-layout .related-and-upsells .woocommerce-review-link,
body.stpp-product-layout .related-and-upsells .count-review,
body.stpp-product-layout .related-and-upsells .rating-count {
    color: #8b958f;
    font-size: 12px;
    font-weight: 600;
}

body.stpp-product-layout .related-and-upsells .price {
    justify-content: center;
    color: #107946;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
}

body.stpp-product-layout .related-and-upsells .price .amount {
    color: inherit;
}

body.stpp-product-layout .related-and-upsells .stock,
body.stpp-product-layout .related-and-upsells .wd-product-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 2px 0 0;
    color: #5d665f;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

body.stpp-product-layout .related-and-upsells .stock.in-stock,
body.stpp-product-layout .related-and-upsells .wd-product-stock.in-stock {
    color: #4b5f53;
}

body.stpp-product-layout .related-and-upsells .stock.in-stock::before,
body.stpp-product-layout .related-and-upsells .wd-product-stock.in-stock::before {
    content: "✓";
    color: #107946;
    font-weight: 800;
}

body.stpp-product-layout .related-and-upsells .wd-add-btn {
    margin-top: 4px;
    padding-bottom: 12px;
}

body.stpp-product-layout .related-and-upsells .wd-add-btn .button,
body.stpp-product-layout .related-and-upsells .wd-add-btn .btn,
body.stpp-product-layout .related-and-upsells .wd-add-btn a {
    min-height: 38px;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #0c7944 0%, #129553 100%) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 18px rgba(16, 121, 70, .16) !important;
}

body.stpp-product-layout .related-and-upsells .wd-add-btn .button::before,
body.stpp-product-layout .related-and-upsells .wd-add-btn .btn::before,
body.stpp-product-layout .related-and-upsells .wd-add-btn a::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='20' r='1.8'/%3E%3Ccircle cx='18' cy='20' r='1.8'/%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 2-1.5L22 7H8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='20' r='1.8'/%3E%3Ccircle cx='18' cy='20' r='1.8'/%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 2-1.5L22 7H8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

body.stpp-product-layout .related-and-upsells .outofstock .wd-add-btn .button,
body.stpp-product-layout .related-and-upsells .outofstock .wd-add-btn .btn,
body.stpp-product-layout .related-and-upsells .outofstock .wd-add-btn a {
    background: linear-gradient(135deg, #5b7568 0%, #4c6659 100%) !important;
}

body.stpp-product-layout .related-and-upsells .product-actions,
body.stpp-product-layout .related-and-upsells .wrap-buttons,
body.stpp-product-layout .related-and-upsells .hover-content,
body.stpp-product-layout .related-and-upsells .wd-product-buttons,
body.stpp-product-layout .related-and-upsells .wd-bottom-actions,
body.stpp-product-layout .related-and-upsells .product-grid-item .wd-compare-btn,
body.stpp-product-layout .related-and-upsells .product-grid-item .wd-wishlist-btn,
body.stpp-product-layout .related-and-upsells .product-grid-item .quick-view {
    opacity: 1 !important;
    visibility: visible !important;
}

body.stpp-product-layout .related-and-upsells .wd-bottom-actions,
body.stpp-product-layout .related-and-upsells .wrap-buttons,
body.stpp-product-layout .related-and-upsells .product-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: auto;
    border-top: 1px solid #e7eeea;
    background: #fff;
}

body.stpp-product-layout .related-and-upsells .wd-bottom-actions > *,
body.stpp-product-layout .related-and-upsells .wrap-buttons > *,
body.stpp-product-layout .related-and-upsells .product-actions > * {
    min-height: 46px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #6e7d74;
    border-right: 1px solid #e7eeea;
}

body.stpp-product-layout .related-and-upsells .wd-bottom-actions > *:last-child,
body.stpp-product-layout .related-and-upsells .wrap-buttons > *:last-child,
body.stpp-product-layout .related-and-upsells .product-actions > *:last-child {
    border-right: 0;
}

body.stpp-product-layout .related-and-upsells .wd-bottom-actions a:hover,
body.stpp-product-layout .related-and-upsells .wrap-buttons a:hover,
body.stpp-product-layout .related-and-upsells .product-actions a:hover {
    color: #107946;
}

body.stpp-product-layout .stpp-contact-banner {
    margin: 20px auto 34px;
}

body.stpp-product-layout .stpp-contact-banner__copy h3 {
    font-size: clamp(24px, 2.8vw, 34px);
}

@media (max-width: 767px) {
    body.stpp-product-layout .related-and-upsells .wd-el-title.title.slider-title.element-title > span,
    body.stpp-product-layout .related-and-upsells h3 {
        font-size: 22px !important;
    }

    body.stpp-product-layout .related-and-upsells .wd-product-thumb {
        padding: 14px 14px 6px;
    }

    body.stpp-product-layout .related-and-upsells .product-element-bottom {
        padding-inline: 12px;
    }

    body.stpp-product-layout .related-and-upsells .wd-entities-title {
        font-size: 14px;
    }

    body.stpp-product-layout .related-and-upsells .price {
        font-size: 17px;
    }
}


/* =========================================================
   v1.0.16 - Recommended products cards closer to shop style
   ========================================================= */
body.stpp-product-layout .related-and-upsells > h2,
body.stpp-product-layout .related-and-upsells > h3,
body.stpp-product-layout .related.products > h2,
body.stpp-product-layout .related.products > h3,
body.stpp-product-layout .related-products > h2,
body.stpp-product-layout .related-products > h3,
body.stpp-product-layout .related-and-upsells .wd-el-title.title.slider-title.element-title > span {
    color: #107946 !important;
    font-size: clamp(22px, 2vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    text-align: center !important;
}

body.stpp-product-layout .related-and-upsells .wd-product-wrapper {
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid #c8ddd0;
}

body.stpp-product-layout .related-and-upsells .wd-product-thumb {
    padding: 18px 18px 8px;
}

body.stpp-product-layout .related-and-upsells .wd-product-thumb img,
body.stpp-product-layout .related-and-upsells .product-image-link img,
body.stpp-product-layout .related-and-upsells .wd-product-img img {
    max-width: 82%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

body.stpp-product-layout .related-and-upsells .product-element-bottom {
    gap: 8px;
    padding: 0 14px;
}

body.stpp-product-layout .related-and-upsells .wd-entities-title,
body.stpp-product-layout .related-and-upsells .wd-entities-title a,
body.stpp-product-layout .related-and-upsells .product-title,
body.stpp-product-layout .related-and-upsells .product-title a {
    color: #243b31 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    text-align: center !important;
    text-transform: none !important;
}

body.stpp-product-layout .related-and-upsells .wd-entities-title,
body.stpp-product-layout .related-and-upsells .product-title {
    min-height: 42px;
    max-height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.stpp-product-layout .related-and-upsells .price,
body.stpp-product-layout .related-and-upsells .price .amount {
    color: #243b31 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

body.stpp-product-layout .related-and-upsells .star-rating,
body.stpp-product-layout .related-and-upsells .wd-rating,
body.stpp-product-layout .related-and-upsells .woocommerce-product-rating {
    margin-top: 2px;
    min-height: 18px;
}

body.stpp-product-layout .related-and-upsells .woocommerce-review-link,
body.stpp-product-layout .related-and-upsells .count-review,
body.stpp-product-layout .related-and-upsells .rating-count {
    font-size: 11px;
    font-weight: 500;
}

body.stpp-product-layout .related-and-upsells .stock,
body.stpp-product-layout .related-and-upsells .wd-product-stock {
    justify-content: center;
    gap: 6px;
    color: #7d877f;
    font-size: 11px;
    font-weight: 500;
}

body.stpp-product-layout .related-and-upsells .stock .amount,
body.stpp-product-layout .related-and-upsells .stock-status,
body.stpp-product-layout .related-and-upsells .wd-product-stock .amount {
    color: inherit;
}

body.stpp-product-layout .related-and-upsells .wd-add-btn {
    margin-top: 2px;
    padding-bottom: 10px;
}

body.stpp-product-layout .related-and-upsells .wd-add-btn .button,
body.stpp-product-layout .related-and-upsells .wd-add-btn .btn,
body.stpp-product-layout .related-and-upsells .wd-add-btn a {
    min-height: 42px;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 6px 14px rgba(16, 121, 70, .12) !important;
}

body.stpp-product-layout .related-and-upsells .wd-add-btn .button::before,
body.stpp-product-layout .related-and-upsells .wd-add-btn .btn::before,
body.stpp-product-layout .related-and-upsells .wd-add-btn a::before {
    width: 15px;
    height: 15px;
}

body.stpp-product-layout .related-and-upsells .wd-bottom-actions,
body.stpp-product-layout .related-and-upsells .wrap-buttons,
body.stpp-product-layout .related-and-upsells .product-actions {
    border-top: 1px solid #ebefec;
}

body.stpp-product-layout .related-and-upsells .wd-bottom-actions > *,
body.stpp-product-layout .related-and-upsells .wrap-buttons > *,
body.stpp-product-layout .related-and-upsells .product-actions > * {
    min-height: 40px;
    color: #78847d;
}

@media (max-width: 767px) {
    body.stpp-product-layout .related-and-upsells > h2,
    body.stpp-product-layout .related-and-upsells > h3,
    body.stpp-product-layout .related.products > h2,
    body.stpp-product-layout .related.products > h3,
    body.stpp-product-layout .related-products > h2,
    body.stpp-product-layout .related-products > h3,
    body.stpp-product-layout .related-and-upsells .wd-el-title.title.slider-title.element-title > span {
        font-size: 20px !important;
    }

    body.stpp-product-layout .related-and-upsells .wd-entities-title,
    body.stpp-product-layout .related-and-upsells .product-title {
        min-height: 40px;
        max-height: 40px;
        font-size: 13px !important;
    }
}


/* =========================================================
   v1.0.17 - Recommended product cards closer to shop 1:1
   ========================================================= */
body.stpp-product-layout .related-and-upsells .products,
body.stpp-product-layout .related.products .products,
body.stpp-product-layout .related-products .products {
    align-items: stretch;
}

body.stpp-product-layout .related-and-upsells .wd-product,
body.stpp-product-layout .related.products .wd-product,
body.stpp-product-layout .related-products .wd-product {
    height: 100%;
}

body.stpp-product-layout .related-and-upsells .wd-product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #c7d8ce;
    border-radius: 10px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    overflow: hidden;
}

body.stpp-product-layout .related-and-upsells .wd-product-wrapper:hover {
    border-color: #7eb99a;
    box-shadow: 0 10px 24px rgba(16, 121, 70, .08);
    transform: translateY(-2px);
}

body.stpp-product-layout .related-and-upsells .wd-product-wrapper .product-image-link,
body.stpp-product-layout .related-and-upsells .wd-product-wrapper .wd-product-thumb,
body.stpp-product-layout .related-and-upsells .wd-product-wrapper .product-element-top {
    background: #fff;
}

body.stpp-product-layout .related-and-upsells .wd-product-thumb {
    padding: 18px 16px 8px;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.stpp-product-layout .related-and-upsells .wd-product-thumb img,
body.stpp-product-layout .related-and-upsells .product-image-link img,
body.stpp-product-layout .related-and-upsells .wd-product-img img {
    max-width: 78%;
    max-height: 155px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

body.stpp-product-layout .related-and-upsells .wd-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

body.stpp-product-layout .related-and-upsells .product-element-bottom {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 8px;
    padding: 0 14px 10px;
}

body.stpp-product-layout .related-and-upsells .wd-entities-title,
body.stpp-product-layout .related-and-upsells .product-title {
    min-height: 40px;
    max-height: 40px;
    margin-top: 6px;
    margin-bottom: 2px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.stpp-product-layout .related-and-upsells .wd-entities-title,
body.stpp-product-layout .related-and-upsells .wd-entities-title a,
body.stpp-product-layout .related-and-upsells .product-title,
body.stpp-product-layout .related-and-upsells .product-title a {
    color: #2e3a34 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    text-align: center !important;
    text-transform: none !important;
}

body.stpp-product-layout .related-and-upsells .star-rating,
body.stpp-product-layout .related-and-upsells .wd-rating,
body.stpp-product-layout .related-and-upsells .woocommerce-product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 1px;
    min-height: 18px;
}

body.stpp-product-layout .related-and-upsells .star-rating {
    font-size: 12px;
}

body.stpp-product-layout .related-and-upsells .woocommerce-review-link,
body.stpp-product-layout .related-and-upsells .count-review,
body.stpp-product-layout .related-and-upsells .rating-count {
    color: #a1aaa4;
    font-size: 11px;
    font-weight: 500;
}

body.stpp-product-layout .related-and-upsells .price,
body.stpp-product-layout .related-and-upsells .price .amount {
    color: #243b31 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
}

body.stpp-product-layout .related-and-upsells .stock,
body.stpp-product-layout .related-and-upsells .wd-product-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
    min-height: 18px;
    color: #7d877f;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
}

body.stpp-product-layout .related-and-upsells .stock .stock-status,
body.stpp-product-layout .related-and-upsells .wd-product-stock .stock-status,
body.stpp-product-layout .related-and-upsells .stock .amount,
body.stpp-product-layout .related-and-upsells .wd-product-stock .amount {
    color: #148844 !important;
    font-weight: 700;
}

body.stpp-product-layout .related-and-upsells .stock .divider,
body.stpp-product-layout .related-and-upsells .wd-product-stock .divider {
    width: 1px;
    height: 12px;
    background: #d8dfda;
}

body.stpp-product-layout .related-and-upsells .wd-add-btn {
    margin-top: auto;
    padding: 4px 0 10px;
}

body.stpp-product-layout .related-and-upsells .wd-add-btn .button,
body.stpp-product-layout .related-and-upsells .wd-add-btn .btn,
body.stpp-product-layout .related-and-upsells .wd-add-btn a {
    min-height: 42px;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 6px 14px rgba(16, 121, 70, .12) !important;
}

body.stpp-product-layout .related-and-upsells .wd-bottom-actions,
body.stpp-product-layout .related-and-upsells .wrap-buttons,
body.stpp-product-layout .related-and-upsells .product-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    margin-top: auto;
    border-top: 1px solid #e7eeea;
    background: #fff;
}

body.stpp-product-layout .related-and-upsells .wd-bottom-actions > *,
body.stpp-product-layout .related-and-upsells .wrap-buttons > *,
body.stpp-product-layout .related-and-upsells .product-actions > * {
    min-height: 40px;
    color: #78847d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #eef2ef;
}

body.stpp-product-layout .related-and-upsells .wd-bottom-actions > *:last-child,
body.stpp-product-layout .related-and-upsells .wrap-buttons > *:last-child,
body.stpp-product-layout .related-and-upsells .product-actions > *:last-child {
    border-right: none;
}

body.stpp-product-layout .related-and-upsells .wd-bottom-actions .added,
body.stpp-product-layout .related-and-upsells .wrap-buttons .added,
body.stpp-product-layout .related-and-upsells .product-actions .added,
body.stpp-product-layout .related-and-upsells .wd-bottom-actions .active,
body.stpp-product-layout .related-and-upsells .wrap-buttons .active,
body.stpp-product-layout .related-and-upsells .product-actions .active {
    background: #f3f8f4;
    color: #148844;
}

body.stpp-product-layout .related-and-upsells .onsale,
body.stpp-product-layout .related-and-upsells .new,
body.stpp-product-layout .related-and-upsells .wd-product .wd-badge,
body.stpp-product-layout .related-and-upsells .product-labels span {
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 6px 10px !important;
}

@media (max-width: 767px) {
    body.stpp-product-layout .related-and-upsells .wd-product-thumb {
        min-height: 170px;
    }

    body.stpp-product-layout .related-and-upsells .wd-product-thumb img,
    body.stpp-product-layout .related-and-upsells .product-image-link img,
    body.stpp-product-layout .related-and-upsells .wd-product-img img {
        max-height: 140px;
    }

    body.stpp-product-layout .related-and-upsells .wd-entities-title,
    body.stpp-product-layout .related-and-upsells .product-title {
        min-height: 38px;
        max-height: 38px;
        font-size: 13px !important;
    }
}

/* =========================================================
   v1.0.18 - Produse recomandate cu card 1:1 din Shop Pro
   IMPORTANT: stilul INTERN al cardului nu este rescris aici.
   Este preluat direct din SimpleTools Shop Pro, exact ca în modulul Produse Noi.
========================================================= */
body.stpp-product-layout .stpp-recommended {
    position: relative;
    width: 100%;
    max-width: 1350px;
    margin: 24px auto 20px;
    padding: 0 12px;
}

body.stpp-product-layout .stpp-recommended__heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin-bottom: 14px;
}

body.stpp-product-layout .stpp-recommended__title {
    position: relative;
    margin: 0 !important;
    padding: 0 0 9px;
    color: #107946 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

body.stpp-product-layout .stpp-recommended__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: #107946;
    transform: translateX(-50%);
}

body.stpp-product-layout .stpp-recommended__nav {
    position: absolute;
    top: 50%;
    right: 0;
    display: flex;
    gap: 8px;
    transform: translateY(-50%);
}

body.stpp-product-layout .stpp-recommended__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0 !important;
    border: 1px solid #dbe7df !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #107946 !important;
    box-shadow: 0 6px 18px rgba(16, 121, 70, .08) !important;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

body.stpp-product-layout .stpp-recommended__arrow span {
    display: block;
    margin-top: -2px;
    font-size: 29px;
    font-weight: 400;
    line-height: 1;
}

body.stpp-product-layout .stpp-recommended__arrow:hover:not(:disabled) {
    border-color: #107946 !important;
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(16, 121, 70, .14) !important;
}

body.stpp-product-layout .stpp-recommended__arrow:disabled {
    opacity: .32;
    cursor: default;
}

body.stpp-product-layout .stpp-recommended__viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-inline: contain;
}

body.stpp-product-layout .stpp-recommended__viewport::-webkit-scrollbar {
    display: none;
}

/* Doar transformăm grila Shop Pro în track de carusel. Cardul rămâne neatins. */
body.stpp-product-layout .stpp-recommended__track.stsd-product-grid {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: stretch;
    gap: 14px !important;
    width: 100%;
    min-width: 100%;
    margin: 0 !important;
    padding: 0 0 4px !important;
}

body.stpp-product-layout .stpp-recommended__track.stsd-product-grid > .stsd-product-card {
    flex: 0 0 calc((100% - 42px) / 4);
    width: calc((100% - 42px) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

body.stpp-product-layout .stpp-recommended-fallback {
    width: 100%;
    max-width: 1350px;
    margin: 24px auto 20px;
    padding: 0 12px;
}

@media (max-width: 1024px) {
    body.stpp-product-layout .stpp-recommended__track.stsd-product-grid > .stsd-product-card {
        flex-basis: calc((100% - 28px) / 3);
        width: calc((100% - 28px) / 3);
    }
}

@media (max-width: 767px) {
    body.stpp-product-layout .stpp-recommended {
        margin-top: 18px;
        padding-inline: 10px;
    }

    body.stpp-product-layout .stpp-recommended__heading {
        min-height: 88px;
        margin-bottom: 12px;
        align-items: flex-start;
    }

    body.stpp-product-layout .stpp-recommended__title {
        font-size: 20px !important;
    }

    body.stpp-product-layout .stpp-recommended__nav {
        position: absolute;
        top: auto;
        right: auto;
        bottom: 0;
        left: 50%;
        margin-left: 0;
        transform: translateX(-50%);
    }

    body.stpp-product-layout .stpp-recommended__heading {
        justify-content: center;
    }

    body.stpp-product-layout .stpp-recommended__title {
        margin-left: 0 !important;
    }

    body.stpp-product-layout .stpp-recommended__nav + * {
        margin-left: 0;
    }

    body.stpp-product-layout .stpp-recommended__arrow {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    body.stpp-product-layout .stpp-recommended__track.stsd-product-grid {
        gap: 10px !important;
    }

    body.stpp-product-layout .stpp-recommended__track.stsd-product-grid > .stsd-product-card {
        flex-basis: calc((100% - 10px) / 2);
        width: calc((100% - 10px) / 2);
    }
}

@media (max-width: 420px) {
    body.stpp-product-layout .stpp-recommended__track.stsd-product-grid > .stsd-product-card {
        flex-basis: 100%;
        width: 100%;
    }
}


/* ===== Contact banner branding refresh v1.0.20 ===== */
body.stpp-product-layout .stpp-contact-banner__inner {
    border: 1px solid rgba(255,255,255,.16);
    background:
        radial-gradient(circle at 12% 24%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 24%),
        radial-gradient(circle at 86% 18%, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 20%),
        linear-gradient(135deg, #0b6238 0%, #0f7a46 45%, #149654 100%);
    box-shadow: 0 22px 48px rgba(10, 71, 44, .24), inset 0 1px 0 rgba(255,255,255,.08);
}

body.stpp-product-layout .stpp-contact-banner__inner::before {
    width: 360px;
    height: 360px;
    left: -130px;
    bottom: -150px;
    background: radial-gradient(circle, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 68%);
}

body.stpp-product-layout .stpp-contact-banner__inner::after {
    background-image: url('../images/simpletools-logo.webp'), url('../images/simpletools-logo.webp');
    background-repeat: no-repeat, no-repeat;
    background-position: right -18px center, left -28px bottom -28px;
    background-size: 250px auto, 165px auto;
    opacity: .11;
}

body.stpp-product-layout .stpp-contact-banner__content {
    gap: 30px;
    padding: 32px 34px;
}

body.stpp-product-layout .stpp-contact-banner__copy {
    position: relative;
}

body.stpp-product-layout .stpp-contact-banner__eyebrow {
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

body.stpp-product-layout .stpp-contact-banner__eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #57df86;
    box-shadow: 0 0 0 4px rgba(87,223,134,.18);
    flex: 0 0 8px;
}

body.stpp-product-layout .stpp-contact-banner__copy h3 {
    text-shadow: 0 2px 10px rgba(0,0,0,.08);
}

body.stpp-product-layout .stpp-contact-banner__copy p {
    max-width: 780px;
}

body.stpp-product-layout .stpp-contact-banner__actions {
    overflow: hidden;
    border: 1px solid rgba(16,121,70,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .14);
}

body.stpp-product-layout .stpp-contact-banner__btn,
body.stpp-product-layout .stpp-contact-banner__phone {
    position: relative;
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease;
}

body.stpp-product-layout .stpp-contact-banner__btn {
    min-height: 68px;
    border: 1px solid rgba(16,121,70,.08);
    background: linear-gradient(135deg, #f7fcf8 0%, #edf8f1 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.70);
}

body.stpp-product-layout .stpp-contact-banner__btn::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.0) 20%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 80%, transparent 100%);
    transform: translateX(-140%);
    transition: transform .85s ease;
    pointer-events: none;
}

body.stpp-product-layout .stpp-contact-banner__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(16,121,70,.16), inset 0 1px 0 rgba(255,255,255,.85);
}

body.stpp-product-layout .stpp-contact-banner__btn:hover::before {
    transform: translateX(140%);
}

body.stpp-product-layout .stpp-contact-banner__btn--whatsapp {
    color: #0d6f41;
}

body.stpp-product-layout .stpp-contact-banner__btn--whatsapp .stpp-contact-banner__btn-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #44d05b 0%, #22b742 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(34,183,66,.24);
    animation: stppWhatsappPulse 2.4s ease-in-out infinite;
}

body.stpp-product-layout .stpp-contact-banner__btn--whatsapp:hover .stpp-contact-banner__btn-icon {
    animation-play-state: paused;
    transform: scale(1.06) rotate(-4deg);
}

body.stpp-product-layout .stpp-contact-banner__btn--whatsapp .stpp-contact-banner__btn-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.05;
}

body.stpp-product-layout .stpp-contact-banner__phone {
    margin-top: 10px;
    padding: 18px 18px 16px;
    border-top: 1px solid #e3ede6;
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(246,251,247,.92) 100%);
}

body.stpp-product-layout .stpp-contact-banner__phone:hover {
    transform: translateY(-1px);
}

body.stpp-product-layout .stpp-contact-banner__phone-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: #f0f7f2;
    color: #0f7a46;
}

body.stpp-product-layout .stpp-contact-banner__phone-copy small {
    color: #6f8278;
    letter-spacing: .08em;
}

body.stpp-product-layout .stpp-contact-banner__phone-copy strong {
    letter-spacing: .01em;
    text-shadow: 0 2px 10px rgba(16,121,70,.08);
}

body.stpp-product-layout .stpp-contact-banner__logo-wrap {
    right: 24px;
    width: min(22vw, 250px);
    opacity: .16;
    filter: saturate(1.05);
}

@keyframes stppWhatsappPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 18px rgba(34,183,66,.24), 0 0 0 0 rgba(34,183,66,.22);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 20px rgba(34,183,66,.28), 0 0 0 10px rgba(34,183,66,0);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.stpp-product-layout .stpp-contact-banner__btn,
    body.stpp-product-layout .stpp-contact-banner__phone,
    body.stpp-product-layout .stpp-contact-banner__btn::before,
    body.stpp-product-layout .stpp-contact-banner__btn--whatsapp .stpp-contact-banner__btn-icon {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 1024px) {
    body.stpp-product-layout .stpp-contact-banner__content {
        gap: 22px;
    }

    body.stpp-product-layout .stpp-contact-banner__actions {
        max-width: 460px;
    }
}

@media (max-width: 767px) {
    body.stpp-product-layout .stpp-contact-banner__content {
        padding: 22px 18px;
    }

    body.stpp-product-layout .stpp-contact-banner__btn {
        min-height: 60px;
        font-size: 16px;
    }

    body.stpp-product-layout .stpp-contact-banner__btn--whatsapp .stpp-contact-banner__btn-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    body.stpp-product-layout .stpp-contact-banner__phone-copy strong {
        font-size: 23px;
    }
}


/* ===== Product share placement v1.0.21 ===== */
body.stpp-product-layout .summary .stpp-romania-line + .stpp-summary-share,
body.stpp-product-layout .summary .stpp-summary-share {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    text-align: center;
}

body.stpp-product-layout .summary .stpp-summary-share .share-title,
body.stpp-product-layout .summary .stpp-summary-share .wd-label {
    margin-right: 2px;
    color: #111 !important;
    font-weight: 600;
}

body.stpp-product-layout .summary .stpp-summary-share .wd-social-icon {
    margin: 0 2px !important;
}

@media (max-width: 767px) {
    body.stpp-product-layout .summary .stpp-summary-share {
        margin-top: 10px !important;
        margin-bottom: 20px !important;
    }

    body.stpp-product-layout .stpp-recommended {
        margin-top: 14px;
        margin-bottom: 10px;
        padding-inline: 10px;
    }

    body.stpp-product-layout .stpp-contact-banner {
        margin-top: 10px;
        margin-bottom: 8px;
        padding-inline: 10px;
    }
}


/* ===== Desktop + tablet compact section spacing v1.0.24 ===== */
@media (min-width: 768px) {
    body.stpp-product-layout .stpp-recommended {
        height: auto !important;
        min-height: 0 !important;
        margin-top: 16px !important;
        margin-bottom: 6px !important;
        padding-bottom: 0 !important;
    }

    body.stpp-product-layout .stpp-recommended__heading {
        min-height: 46px !important;
        margin-bottom: 10px !important;
    }

    body.stpp-product-layout .stpp-recommended__viewport {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    body.stpp-product-layout .stpp-recommended__track.stsd-product-grid {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 4px !important;
    }

    body.stpp-product-layout .stpp-contact-banner {
        margin-top: 8px !important;
        margin-bottom: 18px !important;
    }
}

/* v1.0.33 - compactare summary pe mobil */
@media (max-width: 767px) {
    .single-product-page .summary-inner {
        margin-bottom: 0 !important;
    }
}



/* ===== v1.0.34 - Cod produs in cardul principal ===== */
body.stpp-product-layout .summary .stpp-summary-sku {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 36px;
    margin: 8px 0 2px;
    padding: 8px 11px;
    border: 1px solid #dce9e1;
    border-radius: 7px;
    background: #f5faf7;
    color: #14251d;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.25;
}

body.stpp-product-layout .summary .stpp-summary-sku__label {
    color: #107946;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

body.stpp-product-layout .summary .stpp-summary-sku__value {
    color: #071f15;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .015em;
    overflow-wrap: anywhere;
    text-align: right;
}

/* Codul este afisat acum sub stoc; in meta-ul de jos raman categoriile. */
body.stpp-product-layout .product_meta .sku_wrapper {
    display: none !important;
}

@media (max-width: 767px) {
    body.stpp-product-layout .summary .stpp-summary-sku {
        margin-top: 7px;
        padding: 8px 10px;
    }
}


/* ===== v1.0.36 - Descriere lunga modernă + eliminare meta Categorii ===== */
/* SKU-ul este deja afișat în cardul principal. Eliminăm complet meta-ul vechi
 * de sub produs (Categorii / eventualul SKU duplicat), fără a afecta breadcrumb-ul. */
body.stpp-product-layout .wd-before-product-tabs .product_meta,
body.stpp-product-layout .product-tabs-wrapper + .wd-before-product-tabs .product_meta {
    display: none !important;
}

body.stpp-product-layout .stpp-long-description {
    position: relative;
    width: 100%;
    margin: 18px 0 22px;
    overflow: hidden;
    border: 1px solid #dce9e1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(16, 74, 45, .07);
}

body.stpp-product-layout .stpp-long-description__head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 21px 26px 20px;
    border-bottom: 1px solid #e3ede7;
    background:
        radial-gradient(circle at 96% 8%, rgba(16, 121, 70, .10) 0 72px, transparent 73px),
        linear-gradient(135deg, #eff8f2 0%, #f8fcf9 42%, #fff 100%);
}

body.stpp-product-layout .stpp-long-description__head::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #0b6d3d 0%, #149451 100%);
}

body.stpp-product-layout .stpp-long-description__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid rgba(16, 121, 70, .13);
    border-radius: 14px;
    background: #e4f4ea;
    color: #107946;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

body.stpp-product-layout .stpp-long-description__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.stpp-product-layout .stpp-long-description__heading {
    min-width: 0;
}

body.stpp-product-layout .stpp-long-description__kicker {
    display: block;
    margin: 0 0 3px;
    color: #107946;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .10em;
    text-transform: uppercase;
}

body.stpp-product-layout .stpp-long-description__heading h2 {
    margin: 0 !important;
    color: #10261c;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: -.015em;
}

body.stpp-product-layout .stpp-long-description__heading p {
    margin: 5px 0 0 !important;
    color: #687c71;
    font-size: 12px;
    line-height: 1.45;
}

body.stpp-product-layout .stpp-long-description__content {
    padding: 26px 30px 28px;
    color: #17251e;
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
}

body.stpp-product-layout .stpp-long-description__content > :first-child {
    margin-top: 0 !important;
}

body.stpp-product-layout .stpp-long-description__content > :last-child {
    margin-bottom: 0 !important;
}

body.stpp-product-layout .stpp-long-description__content p {
    margin: 0 0 15px;
    color: #26362e;
    text-align: justify;
    text-justify: inter-word;
}

body.stpp-product-layout .stpp-long-description__content h2,
body.stpp-product-layout .stpp-long-description__content h3,
body.stpp-product-layout .stpp-long-description__content h4 {
    color: #102c20;
    font-weight: 700;
    line-height: 1.3;
}

body.stpp-product-layout .stpp-long-description__content h2 {
    margin: 28px 0 13px;
    font-size: 22px;
}

body.stpp-product-layout .stpp-long-description__content h3 {
    margin: 24px 0 11px;
    font-size: 18px;
}

body.stpp-product-layout .stpp-long-description__content h4 {
    margin: 20px 0 9px;
    font-size: 16px;
}

body.stpp-product-layout .stpp-long-description__content strong,
body.stpp-product-layout .stpp-long-description__content b {
    color: #10261c;
    font-weight: 700;
}

body.stpp-product-layout .stpp-long-description__content a {
    color: #107946;
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.stpp-product-layout .stpp-long-description__content ul {
    display: grid;
    gap: 9px;
    margin: 16px 0 20px;
    padding: 0;
    list-style: none;
}

body.stpp-product-layout .stpp-long-description__content ul > li {
    position: relative;
    margin: 0;
    padding: 9px 12px 9px 39px;
    border: 1px solid #e5eee8;
    border-radius: 10px;
    background: #fbfdfb;
}

body.stpp-product-layout .stpp-long-description__content ul > li::before {
    content: "✓";
    position: absolute;
    top: 9px;
    left: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e4f4ea;
    color: #107946;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

body.stpp-product-layout .stpp-long-description__content ol {
    margin: 16px 0 20px 20px;
    padding-left: 12px;
}

body.stpp-product-layout .stpp-long-description__content ol > li {
    margin: 0 0 8px;
    padding-left: 4px;
}

body.stpp-product-layout .stpp-long-description__content ol > li::marker {
    color: #107946;
    font-weight: 700;
}

body.stpp-product-layout .stpp-long-description__content blockquote {
    margin: 20px 0;
    padding: 15px 18px;
    border: 0;
    border-left: 4px solid #107946;
    border-radius: 0 10px 10px 0;
    background: #f3f9f5;
    color: #20382c;
}

body.stpp-product-layout .stpp-long-description__content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(20, 55, 38, .08);
}

body.stpp-product-layout .stpp-long-description__content figure {
    margin: 22px 0;
}

body.stpp-product-layout .stpp-long-description__content figcaption {
    margin-top: 7px;
    color: #74847b;
    font-size: 12px;
    text-align: center;
}

body.stpp-product-layout .stpp-long-description__content table {
    display: table;
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid #dde8e1;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
}

body.stpp-product-layout .stpp-long-description__content th,
body.stpp-product-layout .stpp-long-description__content td {
    padding: 11px 13px;
    border: 0;
    border-bottom: 1px solid #e7eee9;
    text-align: left;
    vertical-align: top;
}

body.stpp-product-layout .stpp-long-description__content th {
    background: #f2f8f4;
    color: #0d6f40;
    font-weight: 700;
}

body.stpp-product-layout .stpp-long-description__content tr:last-child th,
body.stpp-product-layout .stpp-long-description__content tr:last-child td {
    border-bottom: 0;
}

body.stpp-product-layout .stpp-long-description__content hr {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid #e2ebe5;
}

@media (max-width: 767px) {
    body.stpp-product-layout .stpp-long-description {
        margin: 12px 0 16px;
        border-radius: 14px;
        box-shadow: 0 9px 24px rgba(16, 74, 45, .06);
    }

    body.stpp-product-layout .stpp-long-description__head {
        gap: 12px;
        padding: 17px 15px 16px 18px;
    }

    body.stpp-product-layout .stpp-long-description__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 12px;
    }

    body.stpp-product-layout .stpp-long-description__icon svg {
        width: 21px;
        height: 21px;
    }

    body.stpp-product-layout .stpp-long-description__heading h2 {
        font-size: 20px !important;
    }

    body.stpp-product-layout .stpp-long-description__heading p {
        font-size: 11px;
    }

    body.stpp-product-layout .stpp-long-description__content {
        padding: 18px 16px 20px;
        font-size: 14px;
        line-height: 1.72;
    }

    body.stpp-product-layout .stpp-long-description__content p {
        text-align: left;
    }

    body.stpp-product-layout .stpp-long-description__content h2 {
        margin-top: 23px;
        font-size: 19px;
    }

    body.stpp-product-layout .stpp-long-description__content h3 {
        margin-top: 20px;
        font-size: 17px;
    }

    body.stpp-product-layout .stpp-long-description__content ul > li {
        padding: 8px 10px 8px 35px;
    }

    body.stpp-product-layout .stpp-long-description__content ul > li::before {
        top: 8px;
        left: 11px;
    }

    body.stpp-product-layout .stpp-long-description__content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        white-space: normal;
        -webkit-overflow-scrolling: touch;
    }
}

/* v1.0.37 - TBI compact + efect luminos continuu, in stilul CTA SimpleTools. */
@property --stpp-tbi-ring-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

body.stpp-product-layout .summary form.cart .tbi_button_container2,
body.stpp-product-layout .summary form.cart #tbi_button_container {
    min-height: 0 !important;
}

body.stpp-product-layout .summary form.cart .tbi_button2,
body.stpp-product-layout .summary form.cart #tbi_button {
    min-height: 0 !important;
}

body.stpp-product-layout .summary form.cart .tbi_button_body2,
body.stpp-product-layout .summary form.cart #tbi_button_body {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    min-height: 50px !important;
    height: auto !important;
    padding: 6px 14px !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    background:
        linear-gradient(#e8f3e9, #e8f3e9) padding-box,
        conic-gradient(
            from var(--stpp-tbi-ring-angle),
            rgba(16,121,70,.12) 0deg 245deg,
            rgba(16,121,70,.18) 265deg,
            #107946 296deg,
            #21bb74 318deg,
            #8bf0b9 338deg,
            rgba(16,121,70,.12) 360deg
        ) border-box !important;
    color: #07160d !important;
    box-shadow: 0 5px 14px rgba(16,121,70,.10) !important;
    overflow: hidden !important;
    animation: stpp-tbi-ring-run 1.55s linear infinite !important;
    transition: transform .18s ease, box-shadow .18s ease !important;
}

body.stpp-product-layout .summary form.cart .tbi_button_body2:hover,
body.stpp-product-layout .summary form.cart #tbi_button_body:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(16,121,70,.16) !important;
}

body.stpp-product-layout .summary form.cart .tbi_button_line {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #07160d !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.18 !important;
}

body.stpp-product-layout .summary form.cart .tbi_button_line + .tbi_button_line {
    font-size: 12.5px !important;
}

body.stpp-product-layout .summary form.cart .tbi_button_logo2,
body.stpp-product-layout .summary form.cart #tbi_button_body img {
    width: 25px !important;
    max-width: 25px !important;
    height: auto !important;
    max-height: 25px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

@keyframes stpp-tbi-ring-run {
    to {
        --stpp-tbi-ring-angle: 360deg;
    }
}

@media (max-width: 767px) {
    body.stpp-product-layout .summary form.cart .tbi_button_body2,
    body.stpp-product-layout .summary form.cart #tbi_button_body {
        min-height: 48px !important;
        padding: 5px 10px !important;
    }

    body.stpp-product-layout .summary form.cart .tbi_button_line {
        font-size: 12.5px !important;
    }

    body.stpp-product-layout .summary form.cart .tbi_button_line + .tbi_button_line {
        font-size: 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.stpp-product-layout .summary form.cart .tbi_button_body2,
    body.stpp-product-layout .summary form.cart #tbi_button_body {
        animation: none !important;
    }
}

/* v1.0.39 - efect luminos continuu pentru controlul de marire galerie, atat restrans cat si extins. */
@property --stpp-gallery-ring-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

body.stpp-product-layout .wd-show-product-gallery-wrap > a,
body.stpp-product-layout .wd-show-product-gallery-wrap .wd-show-product-gallery,
body.stpp-product-layout .woocommerce-product-gallery__trigger {
    box-sizing: border-box !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background:
        linear-gradient(rgba(255,255,255,.98), rgba(255,255,255,.98)) padding-box,
        conic-gradient(
            from var(--stpp-gallery-ring-angle),
            rgba(16,121,70,.10) 0deg 245deg,
            rgba(16,121,70,.18) 265deg,
            #107946 296deg,
            #21bb74 318deg,
            #8bf0b9 338deg,
            rgba(16,121,70,.10) 360deg
        ) border-box !important;
    box-shadow: 0 5px 15px rgba(16,121,70,.10) !important;
    animation: stpp-gallery-ring-run 1.45s linear infinite !important;
    transition: box-shadow .18s ease !important;
}

body.stpp-product-layout .wd-show-product-gallery-wrap > a:hover,
body.stpp-product-layout .wd-show-product-gallery-wrap .wd-show-product-gallery:hover,
body.stpp-product-layout .woocommerce-product-gallery__trigger:hover {
    box-shadow: 0 7px 20px rgba(16,121,70,.18) !important;
}

@keyframes stpp-gallery-ring-run {
    to {
        --stpp-gallery-ring-angle: 360deg;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.stpp-product-layout .wd-show-product-gallery-wrap > a,
    body.stpp-product-layout .wd-show-product-gallery-wrap .wd-show-product-gallery,
    body.stpp-product-layout .woocommerce-product-gallery__trigger {
        animation: none !important;
    }
}

/* ===== v1.0.43 - descrieri structurate/pliabile SimpleTools ===== */
body.stpp-product-layout .stpp-generated-description {
    --stpp-desc-green: #107946;
    --stpp-desc-green-dark: #075f37;
    --stpp-desc-soft: #eef8f2;
    --stpp-desc-border: #dce9e1;
}

body.stpp-product-layout .stpp-desc-advantages {
    margin: 0 0 18px;
}

body.stpp-product-layout .stpp-desc-advantages > h3 {
    margin: 0 0 12px !important;
    color: #10261c !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

body.stpp-product-layout .stpp-desc-advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body.stpp-product-layout .stpp-desc-advantage {
    position: relative;
    min-width: 0;
    padding: 17px 15px 16px;
    border: 1px solid var(--stpp-desc-border);
    border-radius: 14px;
    background: linear-gradient(145deg, #f8fcf9 0%, #edf7f1 100%);
    text-align: center;
    box-shadow: 0 7px 18px rgba(16, 74, 45, .045);
}

body.stpp-product-layout .stpp-desc-advantage__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 9px;
    border-radius: 11px;
    background: #dff2e7;
    color: var(--stpp-desc-green);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

body.stpp-product-layout .stpp-desc-advantage > strong {
    display: block;
    margin: 0 0 5px;
    color: #173025 !important;
    font-size: 13px;
    font-weight: 700 !important;
    line-height: 1.35;
}

body.stpp-product-layout .stpp-desc-advantage > p {
    margin: 0 !important;
    color: #62756a !important;
    font-size: 11.5px;
    line-height: 1.5;
    text-align: center !important;
}

body.stpp-product-layout .stpp-desc-accordion {
    display: grid;
    gap: 9px;
}

body.stpp-product-layout .stpp-desc-panel {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--stpp-desc-border);
    border-radius: 13px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body.stpp-product-layout .stpp-desc-panel[open] {
    border-color: rgba(16, 121, 70, .34);
    box-shadow: 0 7px 20px rgba(16, 74, 45, .06);
}

body.stpp-product-layout .stpp-desc-panel > summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 13px 48px 13px 17px;
    cursor: pointer;
    list-style: none;
    color: #1d3328;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body.stpp-product-layout .stpp-desc-panel > summary::-webkit-details-marker {
    display: none;
}

body.stpp-product-layout .stpp-desc-panel > summary::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--stpp-desc-green);
    opacity: 0;
    transition: opacity .2s ease;
}

body.stpp-product-layout .stpp-desc-panel[open] > summary::before {
    opacity: 1;
}

body.stpp-product-layout .stpp-desc-panel > summary i {
    position: absolute;
    right: 17px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
}

body.stpp-product-layout .stpp-desc-panel > summary i::before,
body.stpp-product-layout .stpp-desc-panel > summary i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 11px;
    height: 2px;
    border-radius: 2px;
    background: var(--stpp-desc-green);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

body.stpp-product-layout .stpp-desc-panel > summary i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

body.stpp-product-layout .stpp-desc-panel[open] > summary i::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

body.stpp-product-layout .stpp-desc-panel__body {
    padding: 0 18px 18px;
    border-top: 1px solid #edf2ef;
    animation: stppDescPanelIn .2s ease both;
}

@keyframes stppDescPanelIn {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

body.stpp-product-layout .stpp-desc-panel__body > :first-child {
    margin-top: 16px !important;
}

body.stpp-product-layout .stpp-desc-panel__body > :last-child {
    margin-bottom: 0 !important;
}

body.stpp-product-layout .stpp-desc-spec-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid #dfe9e3;
    border-radius: 11px;
    background: #fff;
}

body.stpp-product-layout .stpp-desc-spec-row {
    display: grid;
    grid-template-columns: minmax(110px, 44%) minmax(0, 1fr);
    min-height: 42px;
    border-bottom: 1px solid #e8efeb;
}

body.stpp-product-layout .stpp-desc-spec-row:nth-child(odd) {
    border-right: 1px solid #e8efeb;
}

body.stpp-product-layout .stpp-desc-spec-row > span,
body.stpp-product-layout .stpp-desc-spec-row > strong {
    display: flex;
    align-items: center;
    padding: 9px 11px;
    font-size: 12px;
    line-height: 1.35;
}

body.stpp-product-layout .stpp-desc-spec-row > span {
    background: #f5faf7;
    color: #496056;
    font-weight: 600;
}

body.stpp-product-layout .stpp-desc-spec-row > strong {
    color: #10261c !important;
    font-weight: 700 !important;
}

/* Descriere scurta generata din datele deja existente ale produsului. */
body.stpp-product-layout .stpp-short-generated {
    display: grid;
    gap: 12px;
}

body.stpp-product-layout .stpp-short-generated__list {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.stpp-product-layout .stpp-short-generated__list > li {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 2px 0 2px 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #26372f;
    font-size: 12px;
    line-height: 1.45;
}

body.stpp-product-layout .stpp-short-generated__list > li::before {
    top: 5px !important;
    left: 0 !important;
    width: 13px !important;
    height: 13px !important;
    background: var(--stpp-desc-green, #107946) !important;
    color: #fff !important;
    font-size: 8px !important;
}

body.stpp-product-layout .stpp-short-generated__specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #e1eae5;
    border-radius: 10px;
    background: #fff;
}

body.stpp-product-layout .stpp-short-generated__spec {
    min-width: 0;
    padding: 9px 8px;
    border-right: 1px solid #e7eee9;
    text-align: center;
}

body.stpp-product-layout .stpp-short-generated__spec:last-child {
    border-right: 0;
}

body.stpp-product-layout .stpp-short-generated__spec span,
body.stpp-product-layout .stpp-short-generated__spec strong {
    display: block;
}

body.stpp-product-layout .stpp-short-generated__spec span {
    margin-bottom: 3px;
    color: #738179;
    font-size: 9px;
    line-height: 1.25;
}

body.stpp-product-layout .stpp-short-generated__spec strong {
    color: #173025 !important;
    font-size: 11px;
    font-weight: 700 !important;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    body.stpp-product-layout .stpp-desc-advantages__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.stpp-product-layout .stpp-desc-spec-table {
        grid-template-columns: 1fr;
    }

    body.stpp-product-layout .stpp-desc-spec-row:nth-child(odd) {
        border-right: 0;
    }
}

@media (max-width: 767px) {
    body.stpp-product-layout .stpp-desc-advantages {
        margin-bottom: 13px;
    }

    body.stpp-product-layout .stpp-desc-advantages > h3 {
        font-size: 16px !important;
    }

    body.stpp-product-layout .stpp-desc-advantages__grid {
        gap: 8px;
    }

    body.stpp-product-layout .stpp-desc-advantage {
        padding: 13px 10px 12px;
        border-radius: 11px;
    }

    body.stpp-product-layout .stpp-desc-advantage__icon {
        width: 29px;
        height: 29px;
        margin-bottom: 7px;
        border-radius: 9px;
        font-size: 15px;
    }

    body.stpp-product-layout .stpp-desc-advantage > strong {
        font-size: 11.5px;
    }

    body.stpp-product-layout .stpp-desc-advantage > p {
        font-size: 10.5px;
        line-height: 1.42;
    }

    body.stpp-product-layout .stpp-desc-panel > summary {
        min-height: 48px;
        padding: 12px 43px 12px 14px;
        font-size: 13px;
    }

    body.stpp-product-layout .stpp-desc-panel__body {
        padding: 0 13px 15px;
    }

    body.stpp-product-layout .stpp-desc-spec-row {
        grid-template-columns: minmax(100px, 44%) minmax(0, 1fr);
    }

    body.stpp-product-layout .stpp-short-generated__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.stpp-product-layout .stpp-short-generated__spec {
        border-bottom: 1px solid #e7eee9;
    }

    body.stpp-product-layout .stpp-short-generated__spec:nth-child(2n) {
        border-right: 0;
    }

    body.stpp-product-layout .stpp-short-generated__spec:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.stpp-product-layout .stpp-desc-panel__body {
        animation: none;
    }
}
\n\n/* =========================================================\n   v1.0.44 - Eliminare sigură review-uri native WooCommerce\n   ========================================================= */\nbody.stpp-product-layout #reviews:not(#stpp-reviews),\nbody.stpp-product-layout .woocommerce-Reviews,\nbody.stpp-product-layout .woocommerce-Tabs-panel--reviews,\nbody.stpp-product-layout .woocommerce-tabs .wc-tabs li.reviews_tab,\nbody.stpp-product-layout .wc-tabs-wrapper .wc-tabs li.reviews_tab {\n    display: none !important;\n}\n

/* =========================================================
   v1.0.45 - carduri descriere: titlu complet + dimensiuni egale
   ========================================================= */
body.stpp-product-layout .stpp-desc-advantages__grid {
    align-items: stretch !important;
    grid-auto-rows: 1fr;
}

body.stpp-product-layout .stpp-desc-advantage {
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    height: 100% !important;
    min-height: 185px;
    box-sizing: border-box;
}

body.stpp-product-layout .stpp-desc-advantage > strong {
    display: block !important;
    width: 100%;
    max-width: 100%;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

body.stpp-product-layout .stpp-desc-advantage > p {
    width: 100%;
    flex: 1 1 auto;
}

@media (max-width: 767px) {
    body.stpp-product-layout .stpp-desc-advantage {
        min-height: 165px;
    }
}
