/* Product Page */
/* Requires variables_1.0.css */
/* Reference HTML - Long description 
<div class="long-description-wrapper">
    <div class="long-description-item">
        <h2>Section label</h2>
        <ul>
            <li></li> 
        </ul> 
    </div>
    <div class="long-description-item">
        <h2>Section label</h2> 
        <ul>
            <li></li>
        </ul>
    </div>
    <div class="long-description-item"> 
        <h2>Section label</h2>
        <ul>
            <li></li>
        </ul> 
    </div>
</div>
*/

.catalog-product-view .column.main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.product.media {
    order: 1;
}
.catalog-product-view .product.media {
    min-width: calc(100% - 4rem);
    margin: auto;
}

.product-info-main {
    order: 2;
}

.product.info.detailed {
    order: 3;
}

.product-info-main {
    display: flex;
    flex-direction: column;
}

.page-title-wrapper.product {
    order: 1;
}

.product-info-price {
    order: 2;
}

.product.attribute.overview {
    order: 3;
}

.product-add-form {
    order: 4;
    border-top: 1px solid var(--color-border-lines);
}

.long-description-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.long-description-item {
    width: calc(100% - 4rem);
    background: var(--color-product-page-description-background);
    padding: 2rem;
}

.long-description-item ul {
    padding: 0 0 0 2rem;
}

.long-description-item h2 {
    margin-top: 0;
}

div#tab-label-additional,
div#tab-label-description {
    display: none;
}

.product.data.items > .item.content {
    margin-top: 0;
    padding: 0px;
    border: unset;
}

.fotorama {
    z-index: 999999 !important;
}

.fotorama__stage__frame.fotorama_vertical_ratio.fotorama__loaded.fotorama__loaded--img.magnify-wheel-loaded.fotorama__fade-rear.fotorama__loaded--full.fotorama__active {
    cursor: pointer;
}

.back-to-cat {
    width: calc(100% - 4rem);
    margin: 2rem auto 0;
    max-width: calc(var(--width-content-max) - 4rem);
}



@media only screen and (min-width: 768px) {
    .catalog-product-view .product.media {
        min-width: unset;
    }

    .long-description-wrapper {
        flex-direction: row;
    }

    .page-layout-1column .product.media {
        width: calc(57% - 4rem);
        margin: 2rem 2rem 2rem 0;
    }

}
