h1 {
    font-size: 130%;
    max-width: 80%;
    margin: 0 auto 60px auto;
    font-weight: 400;
}

h1::after {
    position: absolute;
    bottom: -20px;
    left: 30%;
    right: 30%;
    height: 2px;
    display: block;
    content: "";
    background-color: var(--color-comp-blue);
    border-radius: 10%;
    -webkit-border-radius: 10%;
    -moz-border-radius: 10%;
    -ms-border-radius: 10%;
    -o-border-radius: 10%;
}

h2 {
    font-size: 150%;
    font-weight: 400;
    margin-bottom: 10px;
    text-align: right;
}

/* PRODUCT-CONTAINER */
.product-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.product-img {
    width: 400px;
    height: 400px;
    box-shadow: 0 0 2px 2px #555;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* NO IMG */
.no-img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.no-img .text {
    font-size: 170%;
    color: #555;
    z-index: 2;
    transform: rotateZ(-45deg);
    -webkit-transform: rotateZ(-45deg);
    -moz-transform: rotateZ(-45deg);
    -ms-transform: rotateZ(-45deg);
    -o-transform: rotateZ(-45deg);
}

.no-img ion-icon {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    font-size: 450%;
    color: #d5d5d5;
    z-index: 1;
}

/* PRODUCT INFO */
.product-info {
    font-size: 80%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.price {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #bbb;
    text-align: center;
}

.price.value {
    text-align: left;
    padding: 0 30px 25px 30px;
    width: fit-content;
    color: #ff3333;
    font-size: 130%;
    font-weight: 500;
}

.price-form:link,
.price-form:visited,
.price-form:hover,
.price-form:active {
    padding: 8px 15px;
    border: 2px solid #ff3333;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
}

.price-form:link,
.price-form:visited {
    color: #ff3333;
    background-color: transparent;
}

.price-form:hover,
.price-form:active {
    color: #fff;
    background-color: #ff3333;
}

.price ion-icon {
    color: #ff3333;
    font-size: 240%;
    margin-left: 30px;
    margin-bottom: -10px;
}

.product-info ul {
    list-style: none;
}

.product-info ul li {
    font-size: 80%;
    display: flex;
    text-align: right;
    padding: 10px 0;
    border-top: 1px solid #888;
}

.product-info ul li:last-child {
    border-bottom: 1px solid #888;
}

.row-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 150px;
    margin: 0 20px;
}

.row-title ion-icon {
    display: flex;
    font-size: 130%;
    color: var(--color-comp-blue);
}

.row-content {
    width: 200px;
    margin: 0 20px;
}

.legal-info {
    margin-top: 100px;
}

/* PRODUCT MODELS */
.product-models {
    margin-top: 40px;
}

.models-list {
    margin: 0 auto;
    width: 400px;
    max-width: 90%;
    font-size: 80%;
}

.models-list th,
.models-list td {
    max-width: 50%;
}

.models-list th {
    background-color: #ddd;
}

.models-list td {
    background-color: #eee;
    text-align: left;
    padding: 0 15px;
}

/* PRODUCT NOT FOUND */
.back-box {
    max-width: 90%;

    text-align: center;
    margin: 50px auto;
}

.back-to-shop:link,
.back-to-shop:visited,
.back-to-shop:hover,
.back-to-shop:active {
    padding: 15px 25px;
    text-align: center;
    font-size: 130%;
    border: 2px solid var(--color-comp-green);
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
}

.back-to-shop:link,
.back-to-shop:visited {
    background-color: #fff;
    color: var(--color-comp-green);
}

.back-to-shop:hover,
.back-to-shop:active {
    color: #fff;
    background-color: var(--color-comp-green);
}

.back-to-shop:link ion-icon,
.back-to-shop:visited ion-icon,
.back-to-shop:hover ion-icon,
.back-to-shop:active ion-icon {
    font-size: 130%;
    margin-bottom: -8px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
}

@media only screen and (max-width: 1140px) {
    .product-img {
        width: 300px;
        height: 300px;
    }
}

@media only screen and (max-width: 780px) {
    .product-img {
        width: 450px;
        height: 450px;
    }

    .product-container {
        flex-direction: column;
        align-items: center;
    }

    .product-img {
        margin-bottom: 80px;
    }

    /* NO PRODUCT */
    .back-to-shop:link,
    .back-to-shop:visited,
    .back-to-shop:hover,
    .back-to-shop:active {
        font-size: 100%;
        padding: 10px 15px;
    }

    .back-to-shop:link ion-icon,
    .back-to-shop:visited ion-icon,
    .back-to-shop:hover ion-icon,
    .back-to-shop:active ion-icon {
        margin-bottom: -4px;
    }
}

@media only screen and (max-width: 480px) {
    .product-img {
        width: 90%;
        height: 200px;
    }

    .no-img .text {
        font-size: 150%;
    }

    .price ion-icon {
        display: none;
    }

    .product-info {
        width: 90%;
    }

    .product-info ul {
        width: 100%;
    }

    .row-title {
        width: 50%;
    }

    .row-content {
        width: 50%;
    }
}