/* Cart */

.cart .cart-block {
    width: var(--width);
    max-width: var(--max-width);
    margin: auto;
    display: flex;
    gap: 40px;
}

.cart .cart-block .items {
    width: 100%;
}

.cart .cart-block .items h5 {
    font-size: 14px;
    font-weight: 400;
    margin-top: 35px;
    line-height: 1;
}

.cart .cart-block .items h5 a:last-child {
    color: #11111199;
}

.cart .cart-block .items h1 {
    margin-top: 35px;
    font-size: 36px;
    font-weight: 600;
}

.cart .cart-block .items h1 span {
    font-weight: 500;
    color: #11111180;
}

.cart .cart-block .items .list {
    margin-top: 25px;
    border-top: 1px solid #D7D7D7;
}

.cart .cart-block .items .list .item {
    position: relative;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #D7D7D7;
}

.cart .cart-block .items .list .item .title {
    display: flex;
    gap: 25px;
}

.cart .cart-block .items .list .item .title img {
    width: 100px;
    height: 100px;
    -o-object-fit: contain;
    object-fit: contain;
}

.cart .cart-block .items .list .item .title .name {
    display: grid;
    align-content: space-between;
    height: 100px;
}

.cart .cart-block .items .list .item .title .name h2 {
    font-size: 18px;
    font-weight: 600;
    max-width: 300px;
}

.cart .cart-block .items .list .item .title .name h3 {
    font-size: 14px;
    font-weight: 500;
}

.cart .cart-block .items .list .item .manage {
    display: flex;
    align-items: center;
    gap: 50px;
}

.cart .cart-block .items .list .item .manage h2 {
    font-size: 18px;
    font-weight: 700;
    text-wrap: nowrap;
}

.cart .cart-block .items .list .item .manage .count {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart .cart-block .items .list .item .manage .count span {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 18px;
    color: #888888;
    font-weight: 600;
}

.cart .cart-block .items .list .item .manage .count span:hover {
    opacity: var(--opacity);
}

.cart .cart-block .items .list .item .manage .count span:active {
    opacity: var(--opacity-2);
}

.cart .cart-block .items .list .item .close {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: var(--transition);
    cursor: pointer;
    position: absolute;
    z-index: 3;
    right: 0;
    top: 15px;
}

.cart .cart-block .items .list .item .close:hover {
    opacity: var(--opacity);
}

.cart .cart-block .items .list .item .close:active {
    opacity: var(--opacity-2);
}

.cart .cart-block .items .list .empty {
    margin-top: 25px;
    text-align: center;
    display: grid;
    align-items: center;
    align-content: center;
}

.cart .cart-block .items .list .empty img {
    width: 300px;
    height: 300px;
    -o-object-fit: contain;
    object-fit: contain;
    margin: auto;
}

.cart .cart-block .items .list .empty h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px;
}

.cart .cart-block .items .list .empty h4 {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #11111180;
}

.cart .cart-block .items .list .empty .button {
    width: calc(100% - 45px * 2);
    max-width: calc(400px - 45px * 2);
    margin: auto;
    margin-top: 35px;
}

.cart .cart-block .items .result {
    text-align: right;
    margin-top: 35px;
    font-size: 24px;
    font-weight: 700;
}

.cart .cart-block form {
    width: calc(100% - 40px * 2);
    background-color: #F8F8F8;
    padding: 84px 40px 35px 40px;
}

.cart .cart-block form.disabled {
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cart .cart-block form.disabled * {
    opacity: var(--opacity);
    pointer-events: none;
}

.cart .cart-block form h1 {
    font-size: 36px;
    font-weight: 600;
}

.cart .cart-block form .block {
    margin-top: 35px;
    display: grid;
}

.cart .cart-block form .block h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cart .cart-block form .block h2 span {
    font-weight: 400;
    color: var(--accent);
}

.cart .cart-block form .block input:not([type="radio"]),
.cart .cart-block form .block textarea {
    width: calc(100% - 25px * 2);
    outline: none;
    padding: 20px 25px;
    font-family: var(--font-family);
    border-radius: 0;
    border: none;
    caret-color: var(--text);
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    resize: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
    line-height: 1;
}

.cart .cart-block form .block input::-webkit-input-placeholder {
    color: #11111180;
}

.cart .cart-block form .block input::-moz-placeholder {
    color: #11111180;
}

.cart .cart-block form .block input:-ms-input-placeholder {
    color: #11111180;
}

.cart .cart-block form .block input::-ms-input-placeholder {
    color: #11111180;
}

.cart .cart-block form .block input::placeholder {
    color: #11111180;
}

.cart .cart-block form .block textarea::-webkit-input-placeholder {
    color: #11111180;
}

.cart .cart-block form .block textarea::-moz-placeholder {
    color: #11111180;
}

.cart .cart-block form .block textarea:-ms-input-placeholder {
    color: #11111180;
}

.cart .cart-block form .block textarea::-ms-input-placeholder {
    color: #11111180;
}

.cart .cart-block form .block textarea::placeholder {
    color: #11111180;
}

.cart .cart-block form .block textarea {
    height: calc(180px - 20px * 2);
    line-height: 1.3;
    resize: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cart .cart-block form .block textarea::-webkit-scrollbar {
    display: none;
}

.cart .cart-block form .block input:not(:last-child) {
    margin-bottom: 10px;
}

.cart .cart-block form .block .radio-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart .cart-block form .block .radio-container:not(:first-of-type) {
    margin-top: 15px;
}

.cart .cart-block form .block .radio-container .radio {
    background-color: var(--background);
    position: relative;
    width: 24px;
    height: 24px;
    transition: var(--transition);
    border: 1.5px solid #11111180;
    border-radius: 32px;
}

.cart .cart-block form .block .radio-container .radio::before {
    transition: var(--transition);
    content: "";
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: 32px;
    background-color: transparent
}

.cart .cart-block form .block .radio-container .radio:has(input:checked)::before {
    background-color: var(--accent);
}

.cart .cart-block form .block .radio-container .radio:hover {
    opacity: var(--opacity);
}

.cart .cart-block form .block .radio-container .radio:active {
    opacity: var(--opacity-2);
}

.cart .cart-block form .block .radio-container .radio input {
    position: relative;
    width: 24px;
    height: 24px;
    opacity: 0;
    cursor: pointer;
}

.cart .cart-block form .block .radio-container label {
    font-size: 16px;
    font-weight: 600;
}

.cart .cart-block form .block .input-container {
    margin-top: 15px;
}

.cart .cart-block form .block .input-container .input-flex {
    display: flex;
    gap: 15px;
    align-items: baseline;
}

.cart .cart-block form .block.promocode .flex {
    display: flex;
    gap: 15px;
}

.cart .cart-block form .block.promocode .flex input {
    margin-bottom: 0;
}

.cart .cart-block form .block.promocode .flex button {
    border-radius: 0;
    padding: 20px 50px;
    background-color: var(--text);
}

.cart .cart-block form .block.promocode .flex button:hover {
    opacity: 1;
    background-color: var(--accent);
}

.cart .cart-block form .block.promocode .flex button:active {
    opacity: var(--opacity);
}

.cart .cart-block form .submit {
    margin-top: 35px;
    width: 100%;
    border-radius: 0;
}