@font-face {    /* подключается шрифт */
    font-family: "AKONY";
    src: url("/AKONY.ttf");
}
@font-face {
    font-family: "Tektur";
    src: url("/Tektur-VariableFont_wdth\,wght.ttf")
}
* {
    font-family: "Tektur";
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-weight: 600;
}
a{
    margin: 0;
    padding: 0;
    color:unset;
    text-decoration: none;
}
main {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.block-style{
    border-radius: 26px;
    border-color: black;
    border-style: solid;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}
/* все что ниже относится к шапке */
.header-block{
    background: black;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 55px;
}
.header-text {
    color:white;
    font-family: "AKONY";
    font-size: clamp(16px 4vw 48px)
}
.shopping-cart-container{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.checkout-container{
    width: 420px;
    padding: 20px 40px;
    height: 660px;
}
.main-text{
    text-align: center;
    font-size: 36px;
}
.promocode-container{
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
}
.promocode-checkbox{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 50px;
    transition: background 0.2s,color 0.2s;
}
.promocode-checkbox:hover{
    cursor: pointer;
    fill: white;
    stroke: white;
    background: black;
}
.checkout-svg{
    width: 20px;
    height: 20px;
}
.promocode-checkbox .checkout-svg{
    fill: white;
}
.total-container{
    margin-top: 60px;
    padding: 20px 20px;
}
.total-text{
    display: flex;
    justify-content: space-between;
}
.total-text-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.place-an-order{
    margin-top: 80px;
    text-align: center;
    background: black;
    color: white;
    padding: 30px;
    font-size: 24px;
    transition: background 0.2s,color 0.2s,padding 0.2s,font-size 0.2s;
}
.place-an-order:hover{
    background: white;
    color: black;
    cursor: pointer;
    font-size:26px;
}
.product-cart{
    display: flex;
    padding: 20px;
    align-items: center;
    gap:10px;
    width: 600px;
    height: 300px;
}
.product-name{
    font-size:24px;
    margin-bottom: 20px;
}
.description-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.test{
    padding: 10px;
}
.test:first-child{
    grid-column: span 2;
}
.name-description-text{
    color:grey;
    margin-bottom: 10px;
}
.size{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 7px;
    border-color: black;
    border-style: solid;
    font-size: 16px;
    color: white;
    background: black;
}
.count-container{
    display:flex;
    gap:10px
}
.count-sign{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 7px;
    border-color: black;
    border-style: solid;
    font-size: 20px;
    transition: background 0.2s,color 0.2s;
}
.count-sign:hover{
    cursor: pointer;
    background: black;
    color: white;
}
.count-text{
    display: flex;
    align-items: center;
    font-size:16px
}
.product-image{
    width: 210px;
    height: 210px;
}
.products-container{
    display: flex;
    flex-direction: column;
    gap:15px
}
.name-description-text-big{
    font-size:16px
}
        /* Минималистичные стили для скидки в черно-белой гамме */
        .old-price {
            text-decoration: line-through;
            color: #888;
            font-size: 14px;
            margin-right: 8px;
        }
        .new-price {
            color: #000;
            font-size: 16px;
        }
        .discount-badge {
            background: #000;
            color: white;
            border-radius: 20px;
            padding: 2px 10px;
            font-size: 12px;
            display: inline-block;
            margin-left: 10px;
        }
        .quantity-discount-tag {
            position: absolute;
            top: 20px;
            right: 20px;
            background: #000;
            color: white;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: normal;
        }
        .promocode-applied {
            background: #000 !important;
            color: white !important;
        }
        .promocode-applied svg path {
            fill: white;
        }
        .discount-row {
            display: flex;
            justify-content: space-between;
            margin-top: 5px;
        }
        .promocode-discount {
            border-top: 1px dashed #ccc;
            margin-top: 5px;
            padding-top: 5px;
        }
        .remove-promocode {
            background: none;
            border: none;
            color: #999;
            cursor: pointer;
            font-size: 12px;
            text-decoration: underline;
            margin-left: 10px;
        }
        .remove-promocode:hover {
            color: #000;
        }

        /* Стили для уведомлений */
        .toast-notification {
            position: fixed;
            top: 90px;
            right: 20px;
            min-width: 280px;
            max-width: 400px;
            background: white;
            border: 2px solid black;
            border-radius: 12px;
            padding: 14px 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            animation: slideIn 0.3s ease-out;
            font-family: "Tektur", monospace;
        }
        .toast-notification.success {
            border-left: 6px solid #000;
        }
        .toast-notification.error {
            border-left: 6px solid #000;
        }
        .toast-notification.info {
            border-left: 6px solid #888;
        }
        .toast-content {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1;
        }
        .toast-icon {
            font-size: 24px;
            min-width: 28px;
            text-align: center;
        }
        .toast-message {
            font-size: 14px;
            line-height: 1.4;
            color: #000;
        }
        .toast-close {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: #999;
            padding: 0 5px;
            transition: color 0.2s;
        }
        .toast-close:hover {
            color: #000;
        }
        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }
        .toast-notification.hiding {
            animation: slideOut 0.3s ease-in forwards;
        }
footer {
    padding: 0 50px;
    margin-top: 100px;
    height: 200px;
    background: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-text {
    width: 600px;
    color: white;
    text-align: center;
    font-size: 20px;
    font-family: "AKONY";
}