:root {
    --sfpdp-green: #287447;
    --sfpdp-green-dark: #1d5936;
    --sfpdp-green-soft: #edf6ef;
    --sfpdp-text: #202721;
    --sfpdp-muted: #6f7a73;
    --sfpdp-border: #e1e8e3;
    --sfpdp-beige: #f6f1e8;
}

body.catalog-product-view main.page-main,
body.catalog-product-view .page-main {
    width: 100% !important;
    max-width: 1690px !important;
    margin-inline: auto !important;
    padding-inline: 24px !important;
}

body.catalog-product-view main.page-main > .columns,
body.catalog-product-view .page-main > .columns {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}

body.catalog-product-view .column.main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.sfpdp-page {
    width: 100%;
    padding: 8px 0 60px;
}

.sfpdp-top {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(460px, .92fr);
    gap: clamp(28px, 3vw, 52px);
    align-items: start;
}

.sfpdp-media {
    min-width: 0;
    padding: 16px;
    border: 1px solid #ece6db;
    border-radius: 20px;
    background: var(--sfpdp-beige);
    box-shadow: 0 10px 30px rgba(24, 49, 35, .055);
}

.sfpdp-media img {
    max-width: 100%;
    border-radius: 13px;
}

.sfpdp-media .gallery-placeholder,
.sfpdp-media [data-gallery-role="gallery-placeholder"] {
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

.sfpdp-summary {
    min-width: 0;
    position: sticky;
    top: 18px;
}

.sfpdp-summary .product-info-main,
.sfpdp-summary .product-info-main > *,
.sfpdp-summary .page-title-wrapper,
.sfpdp-summary .product-info-price,
.sfpdp-summary .box-tocart,
.sfpdp-summary .product-social-links,
.sfpdp-summary .product.attribute.sku,
.sfpdp-summary .card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sfpdp-info {
    width: 100%;
}

.sfpdp-category-badge {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--sfpdp-green-soft);
    color: var(--sfpdp-green-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sfpdp-title h1,
.sfpdp-title .page-title,
.sfpdp-title .page-title .base {
    margin: 0 !important;
    color: var(--sfpdp-text) !important;
    font-size: clamp(34px, 2.8vw, 52px) !important;
    font-weight: 850 !important;
    line-height: 1.02 !important;
    letter-spacing: -.045em !important;
}

.sfpdp-short-description {
    margin-top: 13px;
    color: #505b54;
    font-size: 16px;
    line-height: 1.55;
}

.sfpdp-short-description p:last-child {
    margin-bottom: 0;
}

.sfpdp-rating {
    margin-top: 13px;
}

.sfpdp-price-stock {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-top: 23px;
}

.sfpdp-price {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.sfpdp-price .price {
    color: var(--sfpdp-green) !important;
    font-size: clamp(34px, 2.6vw, 46px) !important;
    font-weight: 850 !important;
    line-height: 1 !important;
}

.sfpdp-price .old-price .price {
    color: #89938d !important;
    font-size: 17px !important;
    font-weight: 500 !important;
}

.sfpdp-tax-label {
    margin-top: 5px;
    color: var(--sfpdp-muted);
    font-size: 12px;
}

.sfpdp-stock {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    text-align: right;
}

.sfpdp-stock .stock {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    width: auto !important;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--sfpdp-green-soft);
    color: var(--sfpdp-green);
    font-size: 12px;
    font-weight: 800;
}

.sfpdp-stock .stock::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ca463;
}

.sfpdp-stock small {
    margin-top: 6px;
    color: var(--sfpdp-muted);
    font-size: 11px;
}

.sfpdp-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 23px;
    overflow: hidden;
    border-radius: 13px;
    background: linear-gradient(90deg, #eff6ed, #f7f9f3);
}

.sfpdp-benefit {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-width: 0;
    padding: 15px 13px;
    border-right: 1px solid #dfe8df;
}

.sfpdp-benefit:last-child {
    border-right: 0;
}

.sfpdp-benefit svg {
    width: 29px;
    height: 29px;
    color: var(--sfpdp-green);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sfpdp-benefit span {
    color: #344039;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
}

.sfpdp-tier-prices,
.sfpdp-form {
    margin-top: 20px;
}

.sfpdp-form .box-tocart {
    margin-top: 20px !important;
}

.sfpdp-form .box-tocart .fieldset {
    display: grid !important;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px !important;
    align-items: end !important;
    margin: 0 !important;
}

.sfpdp-form .box-tocart .field.qty {
    width: 100% !important;
    margin: 0 !important;
}

.sfpdp-form input.qty {
    width: 100% !important;
    min-height: 56px !important;
    border: 1px solid #cbd6ce !important;
    border-radius: 11px !important;
    background: #fff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.sfpdp-form .box-tocart .actions {
    width: 100% !important;
    margin: 0 !important;
}

.sfpdp-form .action.tocart,
.sfpdp-form button.tocart,
.sfpdp-form .btn-primary {
    width: 100% !important;
    min-height: 57px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #287447, #347e50) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    letter-spacing: .01em !important;
    box-shadow: 0 12px 24px rgba(40, 116, 71, .2) !important;
}

.sfpdp-form .action.tocart:hover,
.sfpdp-form button.tocart:hover,
.sfpdp-form .btn-primary:hover {
    background: var(--sfpdp-green-dark) !important;
}

.sfpdp-shortcut-buttons,
.sfpdp-additional-actions,
.sfpdp-additional-info {
    margin-top: 14px;
}

.sfpdp-additional-actions {
    color: #445048;
}

.sfpdp-sku {
    margin-top: 14px;
    color: #8a948e;
    font-size: 11px;
}

.sfpdp-sku strong {
    color: #69736d;
    font-weight: 700;
}

.sfpdp-countdown {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    margin-top: 17px;
    padding: 11px 13px;
    border: 1px solid #d9e7dd;
    border-radius: 11px;
    background: linear-gradient(105deg, #edf7f0, #fafcfa);
}

.sfpdp-countdown > svg {
    width: 38px;
    height: 38px;
    padding: 8px;
    border-radius: 50%;
    background: #fff;
    color: var(--sfpdp-green);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sfpdp-countdown p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin: 0;
    color: #344139;
    font-size: 12px;
    line-height: 1.45;
}

.sfpdp-countdown strong {
    color: var(--sfpdp-green-dark);
    font-weight: 850;
}

.sfpdp-countdown small {
    display: block;
    margin-top: 3px;
    color: #78837c;
    font-size: 10px;
    line-height: 1.35;
}

.sfpdp-live-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #35a45f;
    box-shadow: 0 0 0 3px rgba(53, 164, 95, .12);
}

.sfpdp-countdown-separator {
    color: #8b958f;
}

.sfpdp-payment-line {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    margin-top: 14px;
    padding: 13px 15px;
    border-radius: 11px;
    background: #f6f9f6;
}

.sfpdp-payment-line svg {
    width: 38px;
    height: 38px;
    padding: 8px;
    border-radius: 50%;
    background: #e7f4eb;
    color: var(--sfpdp-green);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sfpdp-payment-line span {
    display: flex;
    flex-direction: column;
}

.sfpdp-payment-line strong {
    color: #303a34;
    font-size: 13px;
    font-weight: 800;
}

.sfpdp-payment-line small {
    margin-top: 2px;
    color: #7a847e;
    font-size: 11px;
}

.sfpdp-certifications {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid var(--sfpdp-border);
    border-radius: 13px;
    background: #fff;
}

.sfpdp-certifications > div {
    display: flex;
    min-height: 103px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 14px 9px;
    border-right: 1px solid var(--sfpdp-border);
    text-align: center;
}

.sfpdp-certifications > div:last-child {
    border-right: 0;
}

.sfpdp-certifications svg {
    width: 35px;
    height: 35px;
    color: var(--sfpdp-green);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sfpdp-certifications span {
    color: #414a45;
    font-size: 11px;
    font-weight: 750;
}

.sfpdp-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 30px 0 25px;
    padding: 17px 0;
    border-top: 1px solid var(--sfpdp-border);
    border-bottom: 1px solid var(--sfpdp-border);
}

.sfpdp-services > div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-width: 0;
    padding: 7px 20px;
}

.sfpdp-services svg {
    width: 38px;
    height: 38px;
    color: var(--sfpdp-green);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sfpdp-services span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.sfpdp-services strong {
    color: #303a34;
    font-size: 13px;
    font-weight: 800;
}

.sfpdp-services small {
    margin-top: 2px;
    color: #7b857f;
    font-size: 11px;
}

.sfpdp-tabs {
    width: 100%;
}

.sfpdp-tabs-nav {
    display: flex;
    gap: 31px;
    overflow-x: auto;
    border-bottom: 1px solid #dfe5e1;
    scrollbar-width: none;
}

.sfpdp-tabs-nav::-webkit-scrollbar {
    display: none;
}

.sfpdp-tabs-nav button {
    position: relative;
    flex: 0 0 auto;
    padding: 16px 2px;
    color: #667169;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.sfpdp-tabs-nav button.is-active {
    color: var(--sfpdp-green);
}

.sfpdp-tabs-nav button.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--sfpdp-green);
}

.sfpdp-tab-panel {
    width: 100%;
    padding: 27px 0 12px;
    color: #3e4942;
    font-size: 15px;
    line-height: 1.72;
}

.sfpdp-tab-panel > *,
.sfpdp-tab-panel .product.attribute,
.sfpdp-tab-panel .prose,
.sfpdp-tab-panel [data-content-type="row"],
.sfpdp-tab-panel [data-element="inner"] {
    width: 100% !important;
    max-width: none !important;
}

.sfpdp-tab-panel .card {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sfpdp-tab-panel h2,
.sfpdp-tab-panel h3,
.sfpdp-tab-panel h4 {
    margin: 25px 0 10px;
    color: #222c26;
    font-weight: 850;
    line-height: 1.2;
}

.sfpdp-tab-panel h2 {
    font-size: 27px;
}

.sfpdp-tab-panel h3 {
    font-size: 21px;
}

.sfpdp-tab-panel p {
    margin-bottom: 14px;
}

.sfpdp-tab-panel ul,
.sfpdp-tab-panel ol {
    margin: 13px 0;
    padding-left: 24px;
}

.sfpdp-tab-panel ul {
    list-style: disc;
}

.sfpdp-tab-panel ol {
    list-style: decimal;
}

.sfpdp-tab-panel .review-form,
.sfpdp-tab-panel form.review-form,
.sfpdp-tab-panel .block.review-add {
    width: 100% !important;
    max-width: 760px !important;
    margin-top: 30px;
    padding: 21px;
    border: 1px solid var(--sfpdp-border);
    border-radius: 15px;
    background: #fff;
}

.sfpdp-related {
    margin-top: 42px;
}

@media (max-width: 1100px) {
    .sfpdp-top {
        grid-template-columns: 1fr;
        gap: 23px;
    }

    .sfpdp-summary {
        position: static;
    }

    .sfpdp-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    body.catalog-product-view main.page-main,
    body.catalog-product-view .page-main {
        padding-inline: 11px !important;
    }

    .sfpdp-media {
        padding: 7px;
        border-radius: 14px;
    }

    .sfpdp-title h1,
    .sfpdp-title .page-title,
    .sfpdp-title .page-title .base {
        font-size: 29px !important;
    }

    .sfpdp-price-stock {
        gap: 12px;
    }

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

    .sfpdp-benefit {
        border-right: 0;
        border-bottom: 1px solid #dfe8df;
    }

    .sfpdp-benefit:last-child {
        border-bottom: 0;
    }

    .sfpdp-form .box-tocart .fieldset {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .sfpdp-countdown {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 10px;
    }

    .sfpdp-countdown > svg {
        width: 34px;
        height: 34px;
        padding: 7px;
    }

    .sfpdp-countdown p {
        font-size: 11px;
    }

    .sfpdp-countdown-separator {
        display: none;
    }

    .sfpdp-certifications {
        grid-template-columns: 1fr;
    }

    .sfpdp-certifications > div {
        min-height: auto;
        justify-content: flex-start;
        flex-direction: row;
        border-right: 0;
        border-bottom: 1px solid var(--sfpdp-border);
        text-align: left;
    }

    .sfpdp-certifications > div:last-child {
        border-bottom: 0;
    }

    .sfpdp-services {
        grid-template-columns: 1fr;
        margin: 20px 0;
    }

    .sfpdp-services > div {
        padding-inline: 4px;
    }

    .sfpdp-tabs-nav {
        gap: 22px;
    }

    .sfpdp-tab-panel {
        padding-top: 21px;
        font-size: 14px;
    }
}

/* SFPDP-CART-ACTIONS-REVIEWS-V4 */

/* SKU immediatamente sotto il titolo */
.sfpdp-sku {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 7px 0 0;
    color: #8a948e;
    font-size: 11px;
    line-height: 1.35;
}

.sfpdp-sku strong {
    color: #66716a;
    font-weight: 750;
}

/* Rating cliccabile */
.sfpdp-rating {
    width: fit-content;
    cursor: pointer;
    border-radius: 8px;
    transition:
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.sfpdp-rating:hover {
    background: #f5f9f6;
    box-shadow: 0 0 0 6px #f5f9f6;
}

.sfpdp-rating:focus-visible {
    outline: 2px solid var(--sfpdp-green);
    outline-offset: 5px;
}

.sfpdp-rating a {
    position: relative;
    z-index: 1;
}

/* Quantità e aggiungi al carrello */
.sfpdp-purchase-row {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 13px;
    align-items: end;
    width: 100%;
    margin-top: 20px;
}

.sfpdp-purchase-row.is-no-qty {
    grid-template-columns: minmax(0, 1fr);
}

.sfpdp-qty {
    width: 100%;
    min-width: 0;
}

.sfpdp-qty .field.qty {
    width: 100% !important;
    margin: 0 !important;
}

.sfpdp-qty label {
    display: block;
    margin-bottom: 6px;
    color: #37423b;
    font-size: 12px;
    font-weight: 750;
}

.sfpdp-qty input.qty,
.sfpdp-qty .form-input.qty {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;
    margin: 0 !important;
    border: 1px solid #cbd6ce !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-align: center !important;
    box-shadow: none !important;
}

.sfpdp-cart,
.sfpdp-cart .actions {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
}

.sfpdp-cart .action.tocart,
.sfpdp-cart button.tocart,
.sfpdp-cart .btn-primary {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(
        135deg,
        #287447,
        #347e50
    ) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    letter-spacing: .01em !important;
    box-shadow: 0 12px 24px rgba(40, 116, 71, .20) !important;
}

.sfpdp-cart .action.tocart:hover,
.sfpdp-cart button.tocart:hover,
.sfpdp-cart .btn-primary:hover {
    background: #1d5936 !important;
    transform: translateY(-1px);
}

/* Wishlist e confronto */
.sfpdp-additional-actions {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
}

.sfpdp-additional-actions > * {
    margin: 0 !important;
}

.sfpdp-additional-actions .actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin: 0 !important;
}

.sfpdp-additional-actions a,
.sfpdp-additional-actions button,
.sfpdp-additional-actions .action {
    display: inline-flex !important;
    width: auto !important;
    min-width: 44px;
    min-height: 42px;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid #dfe7e1 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #425047 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    box-shadow: none !important;
}

.sfpdp-additional-actions a:hover,
.sfpdp-additional-actions button:hover,
.sfpdp-additional-actions .action:hover {
    border-color: #a8c4b0 !important;
    background: #f3f8f4 !important;
    color: var(--sfpdp-green-dark) !important;
}

.sfpdp-additional-actions .action.towishlist::after {
    content: "Wishlist";
}

.sfpdp-additional-actions .action.tocompare::after {
    content: "Confronta";
}

/* Evita eventuali doppioni di testo visibili */
.sfpdp-additional-actions .action.towishlist > span:not(.sr-only),
.sfpdp-additional-actions .action.tocompare > span:not(.sr-only) {
    display: none !important;
}

/* Ancoraggio tab */
#sfpdp-product-tabs {
    scroll-margin-top: 90px;
}

#sfpdp-tab-reviews {
    scroll-margin-top: 90px;
}

@media (max-width: 700px) {
    .sfpdp-purchase-row {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 10px;
    }

    .sfpdp-cart .action.tocart,
    .sfpdp-cart button.tocart,
    .sfpdp-cart .btn-primary {
        padding-inline: 11px !important;
        font-size: 14px !important;
    }

    .sfpdp-additional-actions a,
    .sfpdp-additional-actions button,
    .sfpdp-additional-actions .action {
        min-height: 40px;
        padding-inline: 11px !important;
    }
}

/* SFPDP-CART-ACTIONS-REVIEWS-V4 */

/* SKU immediatamente sotto il titolo */
.sfpdp-sku {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 7px 0 0;
    color: #8a948e;
    font-size: 11px;
    line-height: 1.35;
}

.sfpdp-sku strong {
    color: #66716a;
    font-weight: 750;
}

/* Rating cliccabile */
.sfpdp-rating {
    width: fit-content;
    cursor: pointer;
    border-radius: 8px;
    transition:
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.sfpdp-rating:hover {
    background: #f5f9f6;
    box-shadow: 0 0 0 6px #f5f9f6;
}

.sfpdp-rating:focus-visible {
    outline: 2px solid var(--sfpdp-green);
    outline-offset: 5px;
}

.sfpdp-rating a {
    position: relative;
    z-index: 1;
}

/* Quantità e aggiungi al carrello */
.sfpdp-purchase-row {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 13px;
    align-items: end;
    width: 100%;
    margin-top: 20px;
}

.sfpdp-purchase-row.is-no-qty {
    grid-template-columns: minmax(0, 1fr);
}

.sfpdp-qty {
    width: 100%;
    min-width: 0;
}

.sfpdp-qty .field.qty {
    width: 100% !important;
    margin: 0 !important;
}

.sfpdp-qty label {
    display: block;
    margin-bottom: 6px;
    color: #37423b;
    font-size: 12px;
    font-weight: 750;
}

.sfpdp-qty input.qty,
.sfpdp-qty .form-input.qty {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;
    margin: 0 !important;
    border: 1px solid #cbd6ce !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-align: center !important;
    box-shadow: none !important;
}

.sfpdp-cart,
.sfpdp-cart .actions {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
}

.sfpdp-cart .action.tocart,
.sfpdp-cart button.tocart,
.sfpdp-cart .btn-primary {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(
        135deg,
        #287447,
        #347e50
    ) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    letter-spacing: .01em !important;
    box-shadow: 0 12px 24px rgba(40, 116, 71, .20) !important;
}

.sfpdp-cart .action.tocart:hover,
.sfpdp-cart button.tocart:hover,
.sfpdp-cart .btn-primary:hover {
    background: #1d5936 !important;
    transform: translateY(-1px);
}

/* Wishlist e confronto */
.sfpdp-additional-actions {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
}

.sfpdp-additional-actions > * {
    margin: 0 !important;
}

.sfpdp-additional-actions .actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin: 0 !important;
}

.sfpdp-additional-actions a,
.sfpdp-additional-actions button,
.sfpdp-additional-actions .action {
    display: inline-flex !important;
    width: auto !important;
    min-width: 44px;
    min-height: 42px;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid #dfe7e1 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #425047 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    box-shadow: none !important;
}

.sfpdp-additional-actions a:hover,
.sfpdp-additional-actions button:hover,
.sfpdp-additional-actions .action:hover {
    border-color: #a8c4b0 !important;
    background: #f3f8f4 !important;
    color: var(--sfpdp-green-dark) !important;
}

.sfpdp-additional-actions .action.towishlist::after {
    content: "Wishlist";
}

.sfpdp-additional-actions .action.tocompare::after {
    content: "Confronta";
}

/* Evita eventuali doppioni di testo visibili */
.sfpdp-additional-actions .action.towishlist > span:not(.sr-only),
.sfpdp-additional-actions .action.tocompare > span:not(.sr-only) {
    display: none !important;
}

/* Ancoraggio tab */
#sfpdp-product-tabs {
    scroll-margin-top: 90px;
}

#sfpdp-tab-reviews {
    scroll-margin-top: 90px;
}

@media (max-width: 700px) {
    .sfpdp-purchase-row {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 10px;
    }

    .sfpdp-cart .action.tocart,
    .sfpdp-cart button.tocart,
    .sfpdp-cart .btn-primary {
        padding-inline: 11px !important;
        font-size: 14px !important;
    }

    .sfpdp-additional-actions a,
    .sfpdp-additional-actions button,
    .sfpdp-additional-actions .action {
        min-height: 40px;
        padding-inline: 11px !important;
    }
}

/* SFPDP-BUY-ROW-V5-START */

/* Quantità, carrello, wishlist e confronta sulla stessa riga */
.sfpdp-buy-row {
    display: grid;
    grid-template-columns: 118px minmax(260px, 1fr) auto;
    gap: 12px;
    align-items: stretch;
    width: 100%;
    margin-top: 20px;
}

.sfpdp-buy-row > * {
    min-width: 0;
    margin: 0 !important;
}

.sfpdp-qty {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.sfpdp-qty .field.qty {
    display: flex !important;
    width: 100% !important;
    align-items: stretch !important;
    margin: 0 !important;
}

.sfpdp-qty label {
    display: none !important;
}

.sfpdp-qty input.qty,
.sfpdp-qty .form-input.qty {
    width: 100% !important;
    min-width: 0 !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid #cbd6ce !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    color: #273129 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 56px !important;
    text-align: center !important;
    box-shadow: none !important;
}

.sfpdp-cart,
.sfpdp-cart .actions {
    display: flex !important;
    width: 100% !important;
    min-width: 0;
    align-items: stretch !important;
    margin: 0 !important;
}

.sfpdp-cart .action.tocart,
.sfpdp-cart button.tocart,
.sfpdp-cart .btn-primary {
    display: inline-flex !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(
        135deg,
        #287447,
        #347e50
    ) !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: 0 12px 24px rgba(40, 116, 71, .20) !important;
}

.sfpdp-cart .action.tocart:hover,
.sfpdp-cart button.tocart:hover,
.sfpdp-cart .btn-primary:hover {
    background: #1d5936 !important;
    transform: translateY(-1px);
}

/* Contenitore azioni */
.sfpdp-buy-actions {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
}

.sfpdp-buy-actions > *,
.sfpdp-buy-actions .actions,
.sfpdp-buy-actions .product-addto-links {
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin: 0 !important;
}

/* In alcuni template Hyvä è presente un wrapper supplementare */
.sfpdp-buy-actions .actions > *,
.sfpdp-buy-actions .product-addto-links > * {
    margin: 0 !important;
}

/* Wishlist e confronto quadrati e allineati */
.sfpdp-buy-actions a,
.sfpdp-buy-actions button,
.sfpdp-buy-actions .action,
.sfpdp-buy-actions .btn {
    display: inline-flex !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d5e0d8 !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    color: #425047 !important;
    box-shadow: none !important;
}

.sfpdp-buy-actions a:hover,
.sfpdp-buy-actions button:hover,
.sfpdp-buy-actions .action:hover,
.sfpdp-buy-actions .btn:hover {
    border-color: #91b69d !important;
    background: #f1f7f3 !important;
    color: #1d5936 !important;
}

/* Evita testi aggiunti dalle regole precedenti */
.sfpdp-buy-actions .action.towishlist::after,
.sfpdp-buy-actions .action.tocompare::after {
    content: none !important;
}

.sfpdp-buy-actions .action > span:not(.sr-only) {
    display: none !important;
}

.sfpdp-buy-actions svg {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
}

/* SKU sotto il titolo */
.sfpdp-sku {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 7px 0 0;
    color: #8a948e;
    font-size: 11px;
    line-height: 1.35;
}

.sfpdp-sku strong {
    color: #66716a;
    font-weight: 750;
}

@media (max-width: 900px) {
    .sfpdp-buy-row {
        grid-template-columns: 100px minmax(180px, 1fr) auto;
        gap: 9px;
    }

    .sfpdp-buy-actions {
        gap: 6px !important;
    }

    .sfpdp-buy-actions > *,
    .sfpdp-buy-actions .actions,
    .sfpdp-buy-actions .product-addto-links {
        gap: 6px !important;
    }

    .sfpdp-buy-actions a,
    .sfpdp-buy-actions button,
    .sfpdp-buy-actions .action,
    .sfpdp-buy-actions .btn {
        width: 50px !important;
        min-width: 50px !important;
        height: 56px !important;
    }
}

@media (max-width: 520px) {
    .sfpdp-buy-row {
        grid-template-columns: 72px minmax(120px, 1fr) auto;
        gap: 7px;
    }

    .sfpdp-qty input.qty,
    .sfpdp-qty .form-input.qty,
    .sfpdp-cart .action.tocart,
    .sfpdp-cart button.tocart,
    .sfpdp-cart .btn-primary,
    .sfpdp-buy-actions a,
    .sfpdp-buy-actions button,
    .sfpdp-buy-actions .action,
    .sfpdp-buy-actions .btn {
        height: 50px !important;
        min-height: 50px !important;
    }

    .sfpdp-buy-actions a,
    .sfpdp-buy-actions button,
    .sfpdp-buy-actions .action,
    .sfpdp-buy-actions .btn {
        width: 44px !important;
        min-width: 44px !important;
    }

    .sfpdp-cart .action.tocart,
    .sfpdp-cart button.tocart,
    .sfpdp-cart .btn-primary {
        padding-inline: 9px !important;
        font-size: 13px !important;
    }

    .sfpdp-buy-actions svg {
        width: 22px !important;
        height: 22px !important;
    }
}

/* SFPDP-BUY-ROW-V5-END */

/* SFPDP-ACTIONS-COLORS-V7-START */

:root {
    --sfpdp-blue: #3e7890;
    --sfpdp-blue-soft: #edf5f8;
    --sfpdp-amber: #b67928;
    --sfpdp-amber-soft: #fbf4e8;
    --sfpdp-purple: #765b96;
    --sfpdp-purple-soft: #f4f0f8;
}

/* Riga unica: quantità, carrello, wishlist e confronto */
body.catalog-product-view .sfpdp-buy-row {
    display: grid !important;
    grid-template-columns:
        96px
        minmax(240px, 1fr)
        56px
        56px !important;
    gap: 10px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-top: 20px !important;
}

body.catalog-product-view .sfpdp-buy-row > * {
    min-width: 0 !important;
    margin: 0 !important;
}

body.catalog-product-view .sfpdp-qty,
body.catalog-product-view .sfpdp-cart,
body.catalog-product-view .sfpdp-action-slot {
    display: flex !important;
    height: 56px !important;
    align-items: stretch !important;
}

/* Quantità */
body.catalog-product-view .sfpdp-qty .field.qty {
    display: flex !important;
    width: 100% !important;
    height: 56px !important;
    margin: 0 !important;
}

body.catalog-product-view .sfpdp-qty label {
    display: none !important;
}

body.catalog-product-view .sfpdp-qty input.qty {
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    border: 1px solid #cbd7cf !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    color: #273129 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 56px !important;
    text-align: center !important;
}

/* Carrello */
body.catalog-product-view .sfpdp-cart,
body.catalog-product-view .sfpdp-cart .actions {
    width: 100% !important;
    height: 56px !important;
    margin: 0 !important;
}

body.catalog-product-view .sfpdp-cart .action.tocart,
body.catalog-product-view .sfpdp-cart button.tocart,
body.catalog-product-view .sfpdp-cart .btn-primary {
    display: inline-flex !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(
        135deg,
        #287447,
        #367f51
    ) !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: 0 11px 23px rgba(40, 116, 71, .20) !important;
}

/* Slot wishlist e confronto */
body.catalog-product-view .sfpdp-action-slot,
body.catalog-product-view .sfpdp-action-slot > *,
body.catalog-product-view .sfpdp-action-slot .actions {
    display: flex !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    align-items: stretch !important;
    margin: 0 !important;
}

body.catalog-product-view .sfpdp-action-slot a,
body.catalog-product-view .sfpdp-action-slot button,
body.catalog-product-view .sfpdp-action-slot .action,
body.catalog-product-view .sfpdp-action-slot .btn {
    display: inline-flex !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d4dfd7 !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    color: #425047 !important;
    box-shadow: none !important;
}

body.catalog-product-view .sfpdp-wishlist a:hover,
body.catalog-product-view .sfpdp-wishlist button:hover {
    border-color: #c39c56 !important;
    background: var(--sfpdp-amber-soft) !important;
    color: var(--sfpdp-amber) !important;
}

body.catalog-product-view .sfpdp-compare a:hover,
body.catalog-product-view .sfpdp-compare button:hover {
    border-color: #9e8bb6 !important;
    background: var(--sfpdp-purple-soft) !important;
    color: var(--sfpdp-purple) !important;
}

body.catalog-product-view .sfpdp-action-slot svg {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
}

body.catalog-product-view .sfpdp-action-slot .action > span:not(.sr-only),
body.catalog-product-view .sfpdp-action-slot .btn > span:not(.sr-only) {
    display: none !important;
}

/* Fallback quando Hyvä restituisce entrambe le azioni insieme */
body.catalog-product-view .sfpdp-combined-actions {
    display: grid !important;
    grid-column: 3 / 5;
    grid-template-columns: 56px 56px !important;
    gap: 10px !important;
    height: 56px !important;
    margin: 0 !important;
}

body.catalog-product-view .sfpdp-combined-actions > *,
body.catalog-product-view .sfpdp-combined-actions .actions,
body.catalog-product-view .sfpdp-combined-actions .product-addto-links {
    display: contents !important;
}

body.catalog-product-view .sfpdp-combined-actions a,
body.catalog-product-view .sfpdp-combined-actions button,
body.catalog-product-view .sfpdp-combined-actions .action {
    display: inline-flex !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d4dfd7 !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    color: #425047 !important;
}

/* Colori differenziati nei benefit */
body.catalog-product-view .sfpdp-benefit-natural {
    background: #f1f7f2;
}

body.catalog-product-view .sfpdp-benefit-speed {
    background: var(--sfpdp-amber-soft);
}

body.catalog-product-view .sfpdp-benefit-speed svg {
    color: var(--sfpdp-amber) !important;
}

body.catalog-product-view .sfpdp-benefit-secure {
    background: var(--sfpdp-blue-soft);
}

body.catalog-product-view .sfpdp-benefit-secure svg {
    color: var(--sfpdp-blue) !important;
}

/* Pagamento: tonalità blu */
body.catalog-product-view .sfpdp-payment-line {
    background: var(--sfpdp-blue-soft) !important;
}

body.catalog-product-view .sfpdp-payment-line svg {
    background: #ffffff !important;
    color: var(--sfpdp-blue) !important;
}

/* Certificazioni colorate */
body.catalog-product-view .sfpdp-certifications > div:nth-child(1) svg {
    color: var(--sfpdp-green) !important;
}

body.catalog-product-view .sfpdp-certifications > div:nth-child(2) {
    background: var(--sfpdp-blue-soft);
}

body.catalog-product-view .sfpdp-certifications > div:nth-child(2) svg {
    color: var(--sfpdp-blue) !important;
}

body.catalog-product-view .sfpdp-certifications > div:nth-child(3) {
    background: var(--sfpdp-purple-soft);
}

body.catalog-product-view .sfpdp-certifications > div:nth-child(3) svg {
    color: var(--sfpdp-purple) !important;
}

/* Servizi inferiori con colori diversi */
body.catalog-product-view .sfpdp-services > div:nth-child(1) svg {
    color: var(--sfpdp-blue) !important;
}

body.catalog-product-view .sfpdp-services > div:nth-child(2) svg {
    color: var(--sfpdp-amber) !important;
}

body.catalog-product-view .sfpdp-services > div:nth-child(3) svg {
    color: var(--sfpdp-green) !important;
}

body.catalog-product-view .sfpdp-services > div:nth-child(4) svg {
    color: var(--sfpdp-purple) !important;
}

@media (max-width: 650px) {
    body.catalog-product-view .sfpdp-buy-row {
        grid-template-columns:
            66px
            minmax(130px, 1fr)
            46px
            46px !important;
        gap: 7px !important;
    }

    body.catalog-product-view .sfpdp-qty,
    body.catalog-product-view .sfpdp-cart,
    body.catalog-product-view .sfpdp-action-slot,
    body.catalog-product-view .sfpdp-qty .field.qty,
    body.catalog-product-view .sfpdp-qty input.qty,
    body.catalog-product-view .sfpdp-cart .actions,
    body.catalog-product-view .sfpdp-cart .action.tocart,
    body.catalog-product-view .sfpdp-cart button.tocart,
    body.catalog-product-view .sfpdp-cart .btn-primary {
        height: 50px !important;
        min-height: 50px !important;
    }

    body.catalog-product-view .sfpdp-action-slot,
    body.catalog-product-view .sfpdp-action-slot > *,
    body.catalog-product-view .sfpdp-action-slot .actions,
    body.catalog-product-view .sfpdp-action-slot a,
    body.catalog-product-view .sfpdp-action-slot button,
    body.catalog-product-view .sfpdp-action-slot .action,
    body.catalog-product-view .sfpdp-action-slot .btn {
        width: 46px !important;
        min-width: 46px !important;
        height: 50px !important;
        min-height: 50px !important;
    }

    body.catalog-product-view .sfpdp-cart .action.tocart,
    body.catalog-product-view .sfpdp-cart button.tocart,
    body.catalog-product-view .sfpdp-cart .btn-primary {
        padding-inline: 8px !important;
        font-size: 12px !important;
    }

    body.catalog-product-view .sfpdp-action-slot svg {
        width: 21px !important;
        height: 21px !important;
    }
}

/* SFPDP-ACTIONS-COLORS-V7-END */

/* SFPDP-COMBINED-ACTIONS-V8-START */

/*
 * Quantità, carrello, wishlist e confronto
 * sulla stessa riga.
 */
body.catalog-product-view .sfpdp-buy-row {
    display: grid !important;
    grid-template-columns:
        96px
        minmax(260px, 1fr)
        auto !important;
    gap: 10px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-top: 20px !important;
}

body.catalog-product-view .sfpdp-buy-row > * {
    min-width: 0 !important;
    margin: 0 !important;
}

/* Quantità */

body.catalog-product-view .sfpdp-qty,
body.catalog-product-view .sfpdp-qty .field.qty {
    display: flex !important;
    width: 100% !important;
    height: 56px !important;
    align-items: stretch !important;
    margin: 0 !important;
}

body.catalog-product-view .sfpdp-qty label {
    display: none !important;
}

body.catalog-product-view .sfpdp-qty input.qty,
body.catalog-product-view .sfpdp-qty .form-input.qty {
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    border: 1px solid #cbd7cf !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    color: #273129 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 56px !important;
    text-align: center !important;
    box-shadow: none !important;
}

/* Aggiungi al carrello */

body.catalog-product-view .sfpdp-cart,
body.catalog-product-view .sfpdp-cart .actions {
    display: flex !important;
    width: 100% !important;
    height: 56px !important;
    align-items: stretch !important;
    margin: 0 !important;
}

body.catalog-product-view .sfpdp-cart .action.tocart,
body.catalog-product-view .sfpdp-cart button.tocart,
body.catalog-product-view .sfpdp-cart .btn-primary {
    display: inline-flex !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background:
        linear-gradient(
            135deg,
            #287447,
            #367f51
        ) !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow:
        0 11px 23px
        rgba(40, 116, 71, .20) !important;
}

/* Wrapper nativo Hyvä wishlist + confronto */

body.catalog-product-view .sfpdp-combined-actions {
    display: grid !important;
    grid-template-columns: 56px 56px !important;
    gap: 8px !important;
    width: 120px !important;
    height: 56px !important;
    align-items: stretch !important;
    margin: 0 !important;
}

/*
 * Rimuove i wrapper intermedi senza eliminare
 * i pulsanti o gli script Hyvä.
 */
body.catalog-product-view
.sfpdp-combined-actions > div,

body.catalog-product-view
.sfpdp-combined-actions > .actions,

body.catalog-product-view
.sfpdp-combined-actions .product-addto-links,

body.catalog-product-view
.sfpdp-combined-actions .actions {
    display: contents !important;
}

/* Pulsanti wishlist e confronto */

body.catalog-product-view
.sfpdp-combined-actions a,

body.catalog-product-view
.sfpdp-combined-actions button,

body.catalog-product-view
.sfpdp-combined-actions .action,

body.catalog-product-view
.sfpdp-combined-actions .btn {
    display: inline-flex !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d4dfd7 !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    color: #425047 !important;
    box-shadow: none !important;
}

/* Wishlist: colore ambra */

body.catalog-product-view
.sfpdp-combined-actions .towishlist:hover {
    border-color: #d5aa62 !important;
    background: #fbf4e8 !important;
    color: #aa6e1f !important;
}

/* Confronto: colore viola */

body.catalog-product-view
.sfpdp-combined-actions .tocompare:hover {
    border-color: #a897bd !important;
    background: #f4f0f8 !important;
    color: #765b96 !important;
}

body.catalog-product-view
.sfpdp-combined-actions svg {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
}

/* Nasconde il testo, mantenendo accessibilità e icone */

body.catalog-product-view
.sfpdp-combined-actions
.action > span:not(.sr-only),

body.catalog-product-view
.sfpdp-combined-actions
.btn > span:not(.sr-only) {
    display: none !important;
}

/*
 * Gli script Hyvä rimangono attivi, ma non partecipano
 * alla griglia visiva.
 */
body.catalog-product-view
.sfpdp-combined-actions script {
    display: none !important;
}

/* Tablet */

@media (max-width: 900px) {
    body.catalog-product-view .sfpdp-buy-row {
        grid-template-columns:
            86px
            minmax(180px, 1fr)
            auto !important;
        gap: 8px !important;
    }

    body.catalog-product-view .sfpdp-combined-actions {
        grid-template-columns: 50px 50px !important;
        width: 108px !important;
        gap: 8px !important;
    }

    body.catalog-product-view
    .sfpdp-combined-actions a,

    body.catalog-product-view
    .sfpdp-combined-actions button,

    body.catalog-product-view
    .sfpdp-combined-actions .action,

    body.catalog-product-view
    .sfpdp-combined-actions .btn {
        width: 50px !important;
        min-width: 50px !important;
    }
}

/* Smartphone */

@media (max-width: 540px) {
    body.catalog-product-view .sfpdp-buy-row {
        grid-template-columns:
            64px
            minmax(115px, 1fr)
            auto !important;
        gap: 6px !important;
    }

    body.catalog-product-view .sfpdp-qty,
    body.catalog-product-view .sfpdp-qty .field.qty,
    body.catalog-product-view .sfpdp-qty input.qty,
    body.catalog-product-view .sfpdp-cart,
    body.catalog-product-view .sfpdp-cart .actions,
    body.catalog-product-view .sfpdp-cart .action.tocart,
    body.catalog-product-view .sfpdp-cart button.tocart,
    body.catalog-product-view .sfpdp-cart .btn-primary {
        height: 50px !important;
        min-height: 50px !important;
    }

    body.catalog-product-view
    .sfpdp-cart .action.tocart,

    body.catalog-product-view
    .sfpdp-cart button.tocart,

    body.catalog-product-view
    .sfpdp-cart .btn-primary {
        padding-inline: 7px !important;
        font-size: 12px !important;
    }

    body.catalog-product-view .sfpdp-combined-actions {
        grid-template-columns: 43px 43px !important;
        width: 92px !important;
        height: 50px !important;
        gap: 6px !important;
    }

    body.catalog-product-view
    .sfpdp-combined-actions a,

    body.catalog-product-view
    .sfpdp-combined-actions button,

    body.catalog-product-view
    .sfpdp-combined-actions .action,

    body.catalog-product-view
    .sfpdp-combined-actions .btn {
        width: 43px !important;
        min-width: 43px !important;
        height: 50px !important;
        min-height: 50px !important;
    }

    body.catalog-product-view
    .sfpdp-combined-actions svg {
        width: 21px !important;
        height: 21px !important;
    }
}

/* SFPDP-COMBINED-ACTIONS-V8-END */

/* SFPDP-GALLERY-QUALITY-START */

/*
 * La sorgente della gallery viene generata a 1200 px,
 * ma sul desktop non viene stirata oltre 760 px.
 */
@media (min-width: 1101px) {
    body.catalog-product-view .sfpdp-top {
        grid-template-columns:
            minmax(560px, 760px)
            minmax(460px, 1fr) !important;
        justify-content: space-between;
    }

    body.catalog-product-view .sfpdp-media {
        width: 100%;
        max-width: 760px;
        justify-self: start;
    }
}

body.catalog-product-view .sfpdp-media img {
    object-fit: contain;
    image-rendering: auto;
}

/* Tablet */
@media (min-width: 701px) and (max-width: 1100px) {
    body.catalog-product-view .sfpdp-media {
        width: 100%;
        max-width: 820px;
        margin-inline: auto;
    }
}

/* Smartphone */
@media (max-width: 700px) {
    body.catalog-product-view .sfpdp-media {
        width: 100%;
        max-width: none;
    }
}

/* SFPDP-GALLERY-QUALITY-END */

/* SFPDP-GALLERY-WHITE-START */

body.catalog-product-view .sfpdp-media {
    background: #ffffff !important;
}

body.catalog-product-view .sfpdp-media .gallery-placeholder,
body.catalog-product-view
.sfpdp-media [data-gallery-role="gallery-placeholder"],
body.catalog-product-view .sfpdp-media .fotorama__stage,
body.catalog-product-view .sfpdp-media .fotorama__stage__frame {
    background: #ffffff !important;
}

body.catalog-product-view .sfpdp-media img {
    background: #ffffff;
}

/* SFPDP-GALLERY-WHITE-END */
