#opts .header .family-title {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    width: 100%;
    justify-content: space-between;
    border-bottom: 3px solid;
}

#opts #slash-icon {
    height: 35px;
    text-align: left;
}

#opts #slash-icon img {
    width: 35px;
}
#opts .header .family-title .family-desc {
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 33px;
}

#opts .header {position: relative;}

#opts .header .new {
    position: absolute;
    left: 35%;
    width: 68px;
    height: 68px;
    top: 50px;
}

#opts .header .new img {
    width: 100%;
    height: auto;
}

#opts .product-title .product-id .the-id {
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
}

#opts .header .product-title {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 2px;
}

#opts .header .family-title .product-application {
    text-transform: uppercase;
    font-size: 12px;
    line-height: 12px;
}

#opts .header .product-title .product-id .sub {
    font-size: 20px;
    font-weight: 200;
    line-height: 24px;
}

#opts .header .product-title .applications-image {
    display: flex;
    gap: 8px;
}

#opts .header .product-title .applications-image img {
    width: 49px;
    height: auto;
    display: block;
}

#opts .header .product-description {
    font-size: 32px;
    line-height: 38px;
    padding: 38px 0;
    width: 75%;
    font-weight: 200;
}

#opts .header .details {
    display: flex;
    flex-direction: row;
    gap: 25px;
    padding-left: 10px;
    margin-bottom: 35px;
}

#opts .relations {
    display: grid;
    gap: 8px;
    margin-top: 40px;
    grid-template-columns: 1fr 1fr 1fr;
}

#opts .relations .content {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
}

.relations .related.count-3 {
    grid-column-start: 1;
    grid-column-end: 4;
}

.relations .related.count-2 {
    grid-column-start: 2;
    grid-column-end: 4;
}

.relations .included.count-2 {
    grid-column-start: 1;
    grid-column-end: 3;
}

#opts .relations .content > a {
    width: 100%;
}

#opts .finishings {
    margin-top: 40px;
    margin-bottom: 60px;
}

#opts .finishings .content {
    white-space: normal;
    margin-top: 15px;
    width: 100%;
}

#opts .finishings .content img {
    width: calc(100% / 5);
    position: relative;
    height: auto;
    cursor: pointer;
}

#opts .finishings .content img:not(:first-child) {
    margin-left: -5px;
}

#opts .rohs {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

#opts .rohs .logo {
    width: 58px;
}

#opts .rohs .logo img {
    width: 100%;
    height: auto;
}

#opts .rohs .text {
    flex: 1;
    font-size: 10px;
    line-height: 12px;
    font-weight: 300;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 7px;
}

.custom-dynamic {
    padding: 0;
    max-height: 80px;
    height: 100%;
}

.custom-dynamic .dynspace-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
}

#utility {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow-y: clip;
    padding: 15px 7px;
    position: relative;
    overflow-x: revert;
}

#utility .product-image {
    margin-top: 30px;
    flex: 1;
    padding: 0 20px;
    text-align: center;
}

.custom-dynamic .dynspace-content {
    width: 100%;
    max-width: 80px;
    height: 100%;
    max-height: 80px;
}

#utility .product-image img {
    max-height: calc(100vh / 2);
    width: auto;
    display: none;
}

#utility .product-image img:first-child {
    display: initial;
}

#utility .messages .the-bell {
    text-align: center;
    height: 16px;
    margin-bottom: 15px;
}

#content .available-sizes {
    margin-top: 28px;
}

#content .available-sizes .dimtag-wrapper .dimtag.unselected {
    opacity: 0.2;
}

#content .available-sizes .title {
    font-weight: 600;
    font-size: 13px;
    line-height: 20px;
    text-transform: uppercase;
}

#content .available-sizes .dimtag-wrapper {
    margin-top: 5px;
    display: flex;
    gap: 1px;
}

#content .available-sizes .dimtag-wrapper .dimtag {
    flex-basis: 100%;
    text-align: center;
    padding: 3px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 700;
}

#content .sizes {
    margin-top: 20px;
}

#content .sizes table {
    width: 100%;
}

.finishings .unselected {
    opacity: 0.2;
}

#product-content-wrapper {
    padding: 40px 25px;
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

/*******************************************************************************
                                                                      Size table
*/

.size-table th {
    vertical-align: bottom;
}

.size-table th img {
    width: 100px;
    height: auto;
}

table.size-table tbody tr.dim-header td:not(.col1) {
    background-color: var(--abv--colors--familycolor);
}

table.size-table tbody tr.dim-header .impronta-wrapper {
    height: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.size-table tbody tr:nth-child(even) td:not(:first-child),
.size-table tbody tr:nth-child(even) td.has-icon {
    background-color: #eeeeee;
}

.size-table tbody tr:nth-child(odd) td:not(:first-child),
.size-table tbody tr:nth-child(odd) td.has-icon {
    background-color: #f4f4f4;
}

.size-table tbody td.has-icon {
    border-right: 3px solid #fff;
}

table.size-table {
    font-size: 16px;
    line-height: 15px;
    text-align: center;
    border-collapse: separate;
    border-spacing: 0 2px;
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 300;
}

table.size-table td.blister {
    background-color: #ffe40a !important;
}

table.size-table .var-icon {
    width: 1%;
}

table.size-table .var-icon img {
    width: 36px;
    min-width: 36px;
    display: block;
}

.size-table .new-badge {
    width: 24px;
}

.size-table .size-header {
    font-weight: 700;
    text-align: left;
    padding: 7px 12px;
    font-size: 20px;
}

.size-table tbody td {
    height: 36px;
    width: 36px;
}

.size-table .size-spec {
    font-weight: 600;
    text-align: left;
    padding-left: 14px;
    font-size: 120%;
}

table.size-table td.blister.icon {
    width: 30px;
    padding-left: 4px;
}

/*******************************************************************************
                                                                     Related box
*/

#related {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #1f1f1f;
    top: 0;
    left: 100%;
    z-index: 999;
    color: white;
    padding: 40px 25px 40px 25px;
    transition: left 0.3s linear;
}

#opts.related-open #related {
    left:  0;
}

#related .close-btn-wrapper {
    display: inline-flex;
    cursor: pointer;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    text-decoration: underline;
    text-transform: uppercase;
    text-underline-offset: 5px;
    font-weight: 300;
    font-size: 14px;
}

#related .close-btn-wrapper .icon {
    width: 30px;
    height: 30px;
}

#related .title {
    font-weight: 100;
    font-size: 34px;
    margin-top: 38px;
    margin-bottom: 5px;
}

#related .body {
    font-weight: 200;
    font-size: 14px;
    max-width: 50%;
}

#related .tag-button-wrapper {
    margin-top: 16px;
    margin-bottom: 32px;
}

#related .product-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    overflow-y: auto;
    max-height: 100%;
}

#related .content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product related */
.related .content .resume-box {
    /* max-width: 250px; */
}

/*******************************************************************************
                                                                    Wipe buttons
*/

#related-btn {
    position: absolute;
    background-color: #2468ff;
    border-radius: 100%;
    padding: 15px;
    left: 0;
    transform: translateX(-50%) scale(1);
    top: 33%;
    transition: transform 0.3s linear, border-radius 0.3s linear;
    transform-origin: center;
    cursor: pointer;
    z-index: 1000;
}

#related-btn img {
    width: 30px;
    height: 30px;
    display: block;
}

#contact-btn {
    position: absolute;
    background-color: #2468ff;
    border-radius: 100%;
    padding: 15px;
    right: 0;
    transform: translateX(50%) scale(1);
    top: 33%;
    transition: transform 0.3s linear, border-radius 0.3s linear;
    transform-origin: center;
    cursor: pointer;
    z-index: 1000;
}

#contact-btn img {
    width: 30px;
    height: 30px;
    display: block;
}

#contact-aux-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #1f1f1f;
    top: 0;
    right: 100%;
    z-index: 999;
    color: white;
    padding: 0;
    transition: right 0.3s linear;
}

#contact-aux-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

body.contact-open #contact-aux-wrapper {
    right: 0;
}

body.contact-open #contact-btn {
    transform: translateX(0%);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#opts.related-open +#utility #related-btn {
    transform: translateX(0%);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#body-wrapper {
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 40px 25px 40px 25px;
}

#opts {
    padding: 0;
}

/*******************************************************************************
                                                                Tech data tables
*/

.tech-table-data {
    font-size: 11px;
    border: none;
    padding: 5px;
    border-collapse: collapse;
}

.tech-table-data td {
    border-bottom: 1px solid #9a9a9a;
    text-align: center;
    padding: 3px 8px;
    white-space: nowrap;
}

.tech-data-table .header td {
    background-color: black;
    color: white;
    font-weight: 600;
}

.product-footer {
    display: grid;
    gap: 25px;
    padding-top: 40px;
}

.product-footer.align-content {
    grid-template-columns: 1fr 99fr !important;
}

.product-footer.layout-100_50-50 {
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
}

.product-footer.layout-100_50-50 .tech-data-table {
    grid-column-start: 1;
    grid-column-end: 3;
}

.product-footer.layout-80-20 {
    grid-template-columns: 80fr 20fr;
    row-gap: 5px;
}

.product-footer.layout-70-30 {
    grid-template-columns: 70fr 30fr;
}

.product-footer.layout-70-30 .tech-bottom-content {
    grid-column-start: 1;
    grid-column-end: 3;
}

.tech-table-splitted {
    display: grid;
    grid-template-columns: minmax(auto, 50%) minmax(auto, 50%);
    width: 100%;
    column-gap: 15px;
}

.tech-table-splitted table {
    max-width: 100%;
    display: block;
}

.product-footer.layout-100 {
    display: block;
}

.product-footer.layout-100 .tech-side-content,
.product-footer.layout-100 .tech-bottom-content {
    display: none;
}

.extra-content {
    padding-top: 60px;
}

.extra-content .content {
    padding-top: 15px;
}   

.extra-content .content > p {
    display: block;
    width: 100%;
}

.extra-content .content > p iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.tech-draw {
    margin-top: 25px;
    width: 100%;
    height: 135px;
}

.tech-draw img {
    width: auto;
    height: 100%;
    display: inline-block;
}

.tabprod-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--abv--colors--familycolor);
    margin-bottom: 10px;
    line-height: 100%;
}

.tech-bottom-content,
.tech-side-content {
    line-height: 109%;
    font-size: 12px;
    font-weight: 300;
}

.tech-bottom-content li,
.tech-side-content li {
    list-style-type: none;
}

.legenda {
    background-color: #f7f7f7;
    margin-top: 0px;
    margin-bottom: 25px;
    padding: 8px 7px;
    text-align: left;
    font-size: 11px;
}

/* Impossibile trovare il foglio di stile originale. */
.legenda-label {
  margin-top: 25px;
  text-align: left;
  margin-left: 5px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 11px;
}

.legenda .icon-description {
    display: inline-flex;
    gap: 5px;
    margin-right: 15px;
    align-items: center;
}

.legenda .icon-description img {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #c4c4c4;
}

.tech-li .tech-li-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--abv--colors--familycolor);
    margin-top: 3px;
    min-width: 10px;
    min-height: 10px;
}

.tech-li {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    gap: 5px;
}

.certificazioni-wrapper {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.certificazioni-wrapper .certificazione-item.image {
    height: 40px;
}

.certificazioni-wrapper .image img {
    height: 100%;
}

.material-image {
    height: 60px;
}

.callout-simple .see-more {
    text-align: center;
    color: #2468ff;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

@media screen and (max-width: 748px) {
    #opts .product-image-mobile {
        background-color: #f4f4f4;
        margin-top: 45px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #opts .header > .product-image-mobile.inner{
        width: calc(100% + 20px);
        position: relative;
        left: -10px;
    }
    
    .product-image-mobile .product-image {
        width: 100%;
        position: relative;
        padding-top: 20.73%;
    }

    .product-image-mobile .product-image > img {
        position: absolute;
        top: 100%;
        left: 20px;
        transform: rotate(-90deg);
        height: auto;
        width: calc((100vw - 40px) * 0.2073);
        transform-origin: top left;
        max-width: initial;
        max-height: initial;
    }
    
    #opts .product-image-dynspace-mobile .dynspace-wrapper {
        display: flex;
        margin-top: 15px;
        flex-direction: row;
        justify-content: start;
    }
    
    #opts .header .details {
        display: block;
    }

    #opts .header .details .box-certificazioni {
        margin-bottom: 25px;
    }

    #opts .header .details .box-materiale {
        display: inline-block;
    }
    
    #body-wrapper .messages-mobile {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-bottom: 35px;
        justify-content: space-between;
    }

    #body-wrapper .messages-mobile .the-bell {
        width: 40px;
        padding-right: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    #body-wrapper .messages-mobile .alert-wrapper {
        border-left: 2px solid var(--abv--colors--familycolor);
        padding-left: 10px;
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 10px;
    }

    #body-wrapper .messages-mobile .callout-simple {
        margin: 0;
        padding: 0;
        border: none;
        background-color: transparent;
        text-align: left;
        font-size: 17px;
    }
    
    .messages-mobile .alert-wrapper .callout-simple .title {
        font-size: 20px;
    }
    
    .extra-content iframe {
        max-width: 100%;
    }
    
    div#opts .header .product-description {
        width: 100%;
    }
    
    .tech-table-data {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
        white-space: nowrap;
    }
    
    div#opts .finishings .content img {
        width: calc(100% / 3);
    }
    
    #body-wrapper {
        padding-bottom: 0;
    }

    #product-content-wrapper {
        padding: 0 10px 25px;
    }
    
    .product-image-mobile .enlarge-button {
        width: 40px;
        height: 40px;
        position: absolute;
        right: 10px;
        bottom: -5px;
        cursor: pointer;
    }

    .product-image-mobile .product-image-wrapper {
        position: relative;
    }
    
    .product-image-mobile .product-image-zoom {
        position: fixed;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        overflow: auto;
        background-color: #fff;
        bottom: -100%;
        z-index: 999999;
        left: 0;
        padding: 40px 20px;
        transition: bottom 0.3s ease;
    }

    .product-image-mobile .product-image-zoom.open {
        bottom: 0;
    }
    
    .product-image-mobile .product-image-zoom.open .bottom-close-button {
        bottom: 20px;
    }
    
    #content .available-sizes .dimtag-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    #content .sizes {
        overflow-x: auto;
        width: 100%;
    }

    table.size-table {
        min-width: 100%;
        white-space: nowrap;
    }

    table.size-table td.col3 {
        position: sticky;
        left: 0;
    }

    table.size-table th {
        background-color: white;
        padding: 0 5px;
        width: 260px;
    }

    #product-image-overlay {
        position: fixed;
        background-color: white;
        z-index: 2;
        width: 100%;
        left: 0;
        padding: 0;
        transition: top 0.4s ease;
        top: -100%;
    }

    #product-image-overlay.open {
        top: 65px;
    }
 
    #opts #product-image-overlay .product-image-mobile {
        margin-top: 0;
        padding: 0;
    }

    #opts #body-wrapper {
        padding: 15px 10px 0px 10px;
    }
    
    .tech-draw {
        padding-top: 18%;
        position: relative;
        width: 100%;
        height: 0;
    }
    
    .tech-draw img {
        position: absolute;
        height: 100%;
        width: auto;
        top: 0;
        display: block;
    }
    
    .size-table .pack-label {
        white-space: break-spaces;
        line-height: 15px;
        height: 30px;
        overflow: hidden;
    }

    .size-table .col8.icon.blister {
        width: 50px;
        min-width: 50px;
        vertical-align: middle;
    }
    
    table.size-table .quantity {
        padding: 0 10px;
    }
    
    table.size-table .size-spec {
        padding-right: 15px;
    }

    #goeasy-banner-float {
        position: fixed;
        width: 100%;
        height: fit-content;
        z-index: 3;
        transition: transform 0.3s ease;
        bottom: 0;
        font-size: 0;
        transform: translateY(100%);
    }

    #goeasy-banner-float.open {
        transform: translateY(0);
    }
    
    #opts .header .details .box-normative {
        margin-bottom: 25px;
    }
    
    #opts .header .new {
        right: 14px;
        left: auto;
        top: 20px;
        width: 75px;
        height: 75px;
    }
    
    #contact-btn-mobile {
        position: fixed;
        background-color: #2468ff;
        border-radius: 100%;
        padding: 15px;
        right: 25px;
        bottom: 25px;
        cursor: pointer;
        z-index: 4;
    }

    #contact-btn-mobile img {
        width: 45px;
        height: 45px;
        display: block;
    }

    #admin-menu {
        display: none;
    }
    
    #contact-aux-wrapper-float {
        position: fixed;
        height: 100%;
        width: 100vw;
        z-index: 999999;
        bottom: -100%;
        transition: bottom 0.4s ease;
    }

    #contact-aux-wrapper-float iframe {
        width: 100%;
        height: calc(100% - 35px);
    }

    body.float-contact-open #contact-aux-wrapper-float {
        bottom: 0;
    }
    
    body.float-contact-open #contact-aux-wrapper-float .bottom-close-button {
        bottom: 0;
    }

    #contact-aux-wrapper-float .bottom-close-button {
        width: 100%;
        height: 37px;
        text-align: center;
        color: white;
        font-weight: 500;
        border-radius: 0;
        right: 0;
        cursor: pointer;
    }
    
    table.size-table .col1.hide-desktop {
        border-right: none;
    }
    
    #product-image-overlay .product-image-mobile .enlarge-button {
        bottom: 10px;
    }
    
    .size-table th img {
        width: 80px;
        height: auto;
        max-width: initial;
    }

    .size-table .new-badge img {
        width: 36px;
        display: block;
        height: 36px;
        max-width: none;
        max-height: none;
    }
    
    #opts #body-wrapper .finishings {
        margin-bottom: 0;
    }
    
    .details .certificazioni-wrapper .certificazione-item.image {
    }

    .certificazioni-wrapper {
        flex-wrap: wrap;
        max-width: 320px;
    }
}