﻿
body {
    font-family: Inter;
    font-size: 14px;
    margin: 0;
}
video{
}

.hidden {
    display: none;
}

select, button {
    padding: 5px 7px;
}

#partner-form {
    display: flex;
    flex-direction: column;
}

#user-name {
    font-weight: bold;
}

.currency-select {
    margin-top: 15px;
}

.product-select {
    margin-top: 15px;
}

.partner-form-total {
    margin-top: 48px;
}

.partner-form-controls {
    margin-top: 32px;
}

.total-text {
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    text-transform: uppercase;
}

#total {
    margin-top: 10px;
    font-weight: bold;
    color: #191919;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: -0.5px;
}

#products-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}
.product-video{
    /*position: absolute;*/
    /*height: auto;*/
    /*max-width: 100%;*/
    height: 200px;
    max-height: 190px;
    top: 0;
    transition-duration: 500ms;
    opacity: 0.8;
    margin-bottom: 5px;
}
.product {
    font-family: Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;

    letter-spacing: -0.5px;
    line-height: 14.95px;
    position: relative;
    width: 165px;
    height: 360px;
    display: flex;
    border-radius: 10px;
    border: 1px solid #E2E2E2;
    background: #FFF;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    overflow: hidden;

    transition-duration: 500ms;
}
.product:hover>video{

    opacity: 1;
}
.product:hover{
    overflow: unset;
}

.product-image {
    max-width: 200px;
    height: 200px;
}

.product-name {
    color: #151515;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    white-space: pre-wrap;
    margin-bottom: 5px;
}
.product-description-container{
    border-top: 1px solid #E2E2E2;
}

.product-description {
    color: #838383;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    white-space: pre-wrap;    
    margin: 5px;
    text-align: left;
}

.product-price {
    display: flex;
    margin-top: auto;
    color: black;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: 18px;
}

.product-button {
    margin-top: 5px;
    width: 100%;
    border-top: 1px solid #E2E2E2;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.product-button-icon {
    display: none;
}

.product-button-text {
    color: #F57D07;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
}

.product-button-text.selected {
    display: none;
}

.product.selected {
    border-color: #F57D07;
    background: rgba(245, 125, 7, 0.05);
}

.product.selected .product-button-icon {
    display: block;
}

.product.selected .product-button-text.not-selected {
    display: none;
}

.product.selected .product-button-text.selected {
    display: block;
}

.purchase-button {
    height: 60px;
    background-image: linear-gradient(50deg, var(--theme-gradient-color-from), var(--theme-gradient-color-to));
    padding: 0 30px;
    border: none;
    outline: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    cursor: pointer;
}