.product-page {
    width: 90%;
    max-width: 2000px;
    min-height: 20vw;
    padding: 0;
    background-color: white;
    margin: auto;
    z-index: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, .2);
}

.article-slide {
    width: 100%;
    flex-shrink: 0;
    display: inline-block;
    aspect-ratio: 940 / 325;
    background-size: cover;
    background-position: center 50%;
    scroll-snap-align: center;
    vertical-align: top;
    transition: background-image 2s;
}

@media (max-width: 800px) {
    .article-slide {
        aspect-ratio: unset;
        height: 300px;
    }

    .calculator>div>input, .calculator>div>select {
        flex-shrink: 1 !important;
    }

    .product-buttons {
        justify-content: flex-start !important;
    }
}

.product-head {
    padding: 2% 10%;
}

.product-body {
    padding: 2% 10% 50px 10%;
}

.product-head>h1 {
    color: var(--green);
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: min(50px, 8vw);
}

.product-head>span {
    padding: 0 10px 10px 10px;
    display: inline-block;
}

.product-buttons {
    position: relative;
    width: 100%;
    background-color: var(--green);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: scroll;
}

.product-buttons::-webkit-scrollbar {
    display: none;
}

.product-button {
    position: relative;
    height: 120px;
    width: 150px;
    cursor: pointer;
    min-width: 150px;
}

.product-button>div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .5s;
    text-align: center;
    transform-origin: center;
    color: white;
}

.product-button:hover>div {
    color: black !important;
}

.product-buttons:has(.product-button:hover)>.product-button.active>*>.button-label {
    color: white;
}

.product-buttons:has(.product-button:hover)>.product-button.active:hover>*>.button-label {
    color: black;
}

.product-button>div>img {
    height: 60px;
}

.product-button>div>span, .product-button>div>div[data-type="SPAN"]>span {
    display: block;
    font-size: 14px;
    font-weight: bold;
}

.product-buttons * {
    transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-button>div:hover {
    transform: scale(1.1) translate(-46%, -46%);
}

.product-button>div:active {
    transform: scale(.8) translate(-58%, -58%);
}

.product-button::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    width: 2px;
    height: 80%;
    background-color: white;
}

.product-button:last-child::after {
    content: none;
}

.product-button.active>*>.button-label {
    color: black;
}

.product-body {
    display: none;
}

.active-product, .product-body.active {
    display: block !important;
}

.product-indicator {
    transition: all .5s;
    position: absolute;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
}

.product-body input, .product-body textarea, .product-body select {
    background-color: #f5f5f5;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    resize: none;
    display: block;
}

.product-body button {
    font-size: 25px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
}

.invert-hover, *:has(*:hover)>.active>*>.invert-hover {
    filter: invert(100%);
}

*:hover>*>.invert-hover, .active>*>.invert-hover, *:has(*:hover)>.active:hover>*>.invert-hover {
    filter: invert(0);
}

.calculator>div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.calculator>div>label {
    flex-basis: 200px;
    flex-shrink: 0;
    flex-grow: 0.4;
}

.calculator>div>input, .calculator>div>select {
    flex-basis: 400px;
    flex-shrink: 0;
    flex-grow: 1;
    font-size: 14px;
}

.calculator>div>select {
    font-size: 14px;
    padding: 10px;
    line-height: 1.5;
}

.product-section {
    display: none;
}

.product-section.active {
    display: block;
}