﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'Fregat';
    src: url('fonts/fregat/Fregat_bold.otf');
    src: local('fonts/fregat/Fregat Italic'), local('Fregat-Italic'),
    url('fonts/fregat/Fregat_regular.otf') format('woff');
    /*url('fonts/fregat/Fregat-Italic.ttf') format('truetype');*/
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fregat', sans-serif;
}

body {
    background-color: #001034
}

section {
    margin-top: 121px;
    margin-bottom: 50px;
    width: 100%;
    min-height: 750px;
    background-color: #001034;
}

.container {
    padding: 0;
    padding-top: 100px;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}

.container .basket-title {
    position: absolute;
    font-family: 'Fregat';
    font-size: 34px;
    font-weight: 500;
    color: white;
    display: inline-block;
    margin-left: 90px;
    margin-top: -65px;
}

/* Стили для пустой корзины */
.container .empty-basket {
    margin-left: 90px;
    margin-top: 40px;
    font-size: 18px;
    font-weight: 500;
    color: #b2b7c2;
}

.container .empty-basket a {
    display: flex;
    text-decoration: none;
    color: white;
    margin-top: 40px;
}

.container .empty-basket a img {
    width: 20px;
    margin-left: 5px;
}

/* ----------------- */


.container .basket-count {
    margin-left: 90px;
    margin-top: 10px;
    font-size: 24px;
    font-weight: 500;
    color: #b2b7c2;
}

.container .products {
    color: white;
    width: 100%;
    max-width: 700px;
    min-height: 600px;
    margin-left: 90px;
    margin-top: 0px;
}

.container .products .product {
    width: 100%;
    height: 111px;
    margin-top: 60px;
}

.container .products .product .preview {
    height: 111px;
    width: 28%;
    background-color: #000D28;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
}

.container .products .product .preview img {
    height: 100%;
    border-radius: 20px;
}

.container .products .product .title {
    font-family: 'Fregat';
    font-size: 20px;
    font-weight: 700;
    width: 400px;
    margin-top: -110px;
    margin-left: 220px;
}

.container .products .product .price {
    font-family: 'Fregat';
    font-size: 20px;
    font-weight: 700;
    width: 80px;
    margin-top: -22px;
    margin-left: 620px;
    text-align: right;
}

.container .products .product .platform {
    font-family: 'Fregat';
    font-size: 16px;
    font-weight: 600;
    width: 100px;
    margin-top: 10px;
    margin-left: 220px;
}

.container .products .product .platform > p {
    display: flex;
    flex-wrap: wrap;
}

.container .products .product .platform > p > span {
    white-space: nowrap;
}

.container .products .product .count {
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-family: 'Fregat';
    width: 84px;
    border-radius: 50px;
    display: flex;
    height: 24px;
    background-color: #34415D;
    border: 2px solid #4D51C3;
    margin-top: -40px;
    margin-left: auto;
    padding: 0 3px;
}

.container .products .product .count p {
    width: 20px;
    text-align: center;
    /*margin-left: 5px;*/
    /*margin-top: 3px;*/
}

.container .products .product .count span {
    font-size: 0;
    position: relative;
    /*margin-top: 3px;*/
    /*margin-left: 7px;*/
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.container .products .product .count span:first-child:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='2' viewBox='0 0 12 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1H11' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
}

.container .products .product .count span:last-child:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 6H11' stroke='white' stroke-width='1.42857' stroke-linecap='round'/%3E%3Cpath d='M6 11L6 1' stroke='white' stroke-width='1.42857' stroke-linecap='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
}


.container .products .product button {
    cursor: pointer;
    display: flex;
    background-color: transparent;
    border: none;
    outline: none;
    margin-left: 220px;
    margin-top: 40px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.container .products .product button p {
    margin-left: 4px;
    margin-top: 4px;
}

.container .order {
    position: absolute;
    color: white;
    max-width: 480px;
    width: 100%;
    min-height: 400px;
    border-left: 3px solid #4D51C3;
    margin-left: 810px;
    top: 230px;
}

.container .order p {
    margin-left: 20px;
    font-size: 30px;
    font-weight: 500;
}

.container .order .sub-title {
    display: flex;
    font-size: 26px;
    font-weight: 500;
    margin-top: 30px;
    margin-left: 0px;
}

.container .order .sub-title span {
    margin-left: auto;
}

.container .order form {
    margin-left: 20px;
    margin-top: 60px;
    display: flex;
}

.container .order form input {
    height: 51px;
    width: 350px;
    outline: none;
    border: 3px solid #4D51C3;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    background-color: transparent;
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 0 15px;
}

.container .order form button {
    cursor: pointer;
    margin-left: -25px;
    width: 151px;
    height: 51px;
    border-radius: 50px;
    border: none;
    outline: none;
    background-color: #4D51C3;
    color: white;
    font-size: 17px;
    font-weight: 500;
    transition: 0.2s;
}

.container .order form button:hover {
    box-shadow: 0 0 10px #4D51C3;
    transition: 0.2s;
}

.container .order .result {
    display: flex;
    margin-left: 0px;
    margin-top: 60px;
}

.container .order .result span {
    display: inline-block;
    margin-left: auto;
    font-size: 26px;
    font-weight: 500;
}

.container .order .result .old-price {
    margin-left: 180px;
    text-decoration: line-through;
    color: #808799;
}

.container .order .continue form {
    margin-left: 110px;
    margin-top: 50px;
    display: inline-block;
}

.container .order .continue form button {
    cursor: pointer;
    width: 315px;
    height: 65px;
    border-radius: 50px;
    border: none;
    outline: none;
    background-color: #BD03A1;
    color: white;
    font-size: 18px;
    font-weight: 600;
    transition: 0.2s;
}

.container .order .continue form button:hover {
    box-shadow: 0 0 15px #BD03A1;
    transition: 0.2s;
}

.commission-notice {
    display: flex;
    flex-direction: column;
    padding: 22px 50px;
    position: relative;

    margin-left: 20px;
    margin-top: 30px;

    border-radius: 10px;
    border: 3px solid;
    animation: rainbow-border 8s linear infinite;
}

@keyframes rainbow-border {
    0% { border-color: red; }
    14% { border-color: orange; }
    28% { border-color: yellow; }
    42% { border-color: green; }
    57% { border-color: blue; }
    71% { border-color: indigo; }
    85% { border-color: violet; }
    100% { border-color: red; }
}


.commission-notice a {
    color: #EC00BC!important;
    text-decoration: underline;
    transition: all .3s ease;
}

.commission-notice a:hover {
    opacity: .7;
}

.commission-notice span:first-child {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}

.commission-notice span:last-child {
    font-size: 16px;
    font-weight: 400;
}

.commission-notice:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 19px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 17C13.4183 17 17 13.4183 17 9C17 4.58172 13.4183 1 9 1C4.58172 1 1 4.58172 1 9C1 13.4183 4.58172 17 9 17Z' stroke='%23EC00BC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 12.5557H9.00889V12.5646H9V12.5557Z' stroke='%23EC00BC' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 8.99989V5.44434' stroke='%23EC00BC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

@media screen and (max-width: 480px) {
    .commission-notice {
        padding: 22px 30px 22px 40px;
        margin-left: 0;
    }
    .commission-notice:before {
        left: 10px;
    }
}

