/**
 * @author    presta.design
 * @copyright 2026 presta.design
 */
#product .product__variants,
#product .product-variants,
#product .js-product-variants {
    display: none !important;
}

.ma20 {
    position: relative;
    margin: 0 0 1.25rem 0;
}

.ma20 .ma20-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.ma20 .ma20-group-description {
    margin: 0 0 0.75rem 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #5a5a5a;
}

.ma20 .ma20-group-description :last-child {
    margin-bottom: 0;
}

.ma20-launcher {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0 0 1rem 0;
}

.ma20-launcher-state {
    font-size: 0.8125rem;
    color: #7a7a7a;
}

.ma20-modal .modal-body { padding-top: 0; }
.ma20-modal .ma20-body { border-top: 0; }
.ma20-modal .modal-footer { justify-content: space-between; }
.ma20-modal .ma20-modal-price { font-size: 1.125rem; font-weight: 600; }
.ma20-modal .ma20-title { font-size: 1.125rem; margin: 0; }

.ma20 .materials-list.ma20-products .material { width: 8rem; }
.ma20 .materials-list.ma20-products .material .material-image {
    height: 5.5rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.ma20 .ma20-body {
    position: relative;
    border-top: 1px solid #e5e5e5;
}

.ma20 .ma20-group-button {
    display: block;
    position: relative;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.ma20 .ma20-group-button .ma20-flexcolumn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.ma20 .ma20-group-button .ma20-flexrow1 {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.ma20 .ma20-group-button .ma20-flexrow {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
}

.ma20 .ma20-group-button .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid #a7a7a7;
    border-radius: 50%;
    font-size: 0.8125rem;
    color: #7a7a7a;
}

.ma20 .ma20-group-button.current .step-number {
    border-color: #232323;
    color: #232323;
}

.ma20 .ma20-group-button .step-number.ok {
    border-color: #232323;
    background: #232323;
    color: #232323; /* CACHE LE TERME 1 */
}

.ma20 .ma20-group-button .variant-name {
    font-weight: 600;
    line-height: 1.3;
}

.ma20 .ma20-group-button .selected-material {
    font-size: 0.8125rem;
    color: #7a7a7a;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ma20 .ma20-group-button .selected-image {
    display: block;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 2px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.ma20 .ma20-group-button .variant-req {
    display: none;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
    background: url(../gfx/warning.png) center center no-repeat;
    background-size: contain;
}

.ma20 .ma20-group-button.ma20-missing .variant-req {
    display: block;
}

.ma20 .ma20-group-panel {
    padding: 0.75rem 0 1rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.ma20 .materials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ma20 .materials-list .material {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 6.25rem;
    padding: 0.375rem;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    cursor: pointer;
}

.ma20 .materials-list .material:hover {
    border-color: #a7a7a7;
}

.ma20 .materials-list .material.selected {
    border-color: #232323;
    box-shadow: inset 0 0 0 1px #232323;
}

.ma20 .materials-list .material .material-image {
    display: flex;
    align-items: center;
    width: 100%;
    height: 4.375rem;
    border-radius: 2px;
    background-size: cover;
    background-position: center center;
}

.ma20 .materials-list .material .material-image .bigcaption {
    width: 100%;
    padding: 0 0.25rem;
    font-size: 0.75rem;
    line-height: 1.2;
    text-align: center;
}

.ma20 .materials-list .material .caption {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.75rem;
    line-height: 1.2;
}

.ma20 .materials-list .material .price-impact {
    display: block;
    min-height: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #232323;
    opacity: 0;
}

.ma20 .materials-list .material .zoomin {
    position: absolute;
    top: 0.375rem;
    right: 0.375rem;
    width: 1.25rem;
    height: 1.25rem;
}

.ma20 .materials-list .material .zoomin a.enlarge-image {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    background: rgb(255 255 255 / 0%) url(../gfx/lupe.png) center center no-repeat;
    background-size: 0.875rem;
    border-radius: 2px;
}

.ma20 .quantityselect {
    display: flex;
    margin-top: 0.375rem;
}

.ma20 .quantityselect button {
    width: 25%;
    padding: 0;
    border: 1px solid #e5e5e5;
    background: #fff;
    line-height: 1.4;
}

.ma20 .quantityselect input {
    width: 50%;
    min-width: 0;
    border: 1px solid #e5e5e5;
    text-align: center;
    font-size: 0.75rem;
}

.ma20-error {
    display: none;
    margin: 0.75rem 0 0 0;
}

.ma20-error.ma20-visible {
    display: block;
}

.ma20-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    display: none;
    z-index: 5;
}

.ma20-loader .ma20-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    padding: 15px;
    margin: -21px 0 0 -21px;
    border: 6px solid #ccc;
    border-right-color: #888;
    border-radius: 22px;
    animation: ma20-rotate 1s infinite linear;
}

@keyframes ma20-rotate {
    100% { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .ma20 .materials-list .material { width: 5rem; }
    .ma20 .materials-list .material .material-image { height: 3.5rem; }
}
