



@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap');


html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    color: white;
}
body {
    background: url('/assets/bg/bg_cart_svg.svg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
}
.cart-title {
    font-family: 'Dela Gothic One', sans-serif;

    font-size: 64px;
    font-weight: 700;
    margin: 90px 100px 20px auto;
    text-align: right;
}

.cart-container {
    max-width: 1200px;
    margin: 100px auto;

    padding-bottom: 140px;
}

.cart-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(140, 0, 255, 0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
}

.circle-select {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #8744a4;
    background: #222;
    cursor: pointer;
}

.cart-img {
    width: 200px;
    height: 200px;

    border-radius: 15px;
    flex-shrink: 0;
}
.cart-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.cart-info {
    flex: 1;
    gap: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-top {
    margin-bottom: 20px;
}

.cart-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cart-store {
    font-size: 16px;
    opacity: 0.8;
}

.cart-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cart-price {
    font-size: 20px;
    font-weight: 600;
}

.counter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.counter button {
    background: #8744a4;
    color: white;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
}


.order-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 12px 24px;
    backdrop-filter: blur(80px);
    background: rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    gap: 20px;
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    line-height: 18px;
    margin-left:  20%;
}

.item-count {
    margin: 0;
    font-weight: 500;
    font-size: 15px;
}

.address {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

.checkout-button {
    margin-right: 20px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    background: #8744a4;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(135, 68, 164, 0.3);
}
.circle-select {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

.product-checkbox {
    display: none;
}

.circle-select label {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;

    background: #222;
    cursor: pointer;
    transition: background 0.2s ease;
}

.product-checkbox:checked + label {
    background: #8744a4;
    box-shadow: 0 0 0 2px #8744a4 inset;
}

.pading-baton {
    margin-right: 20%; /* отступ справа */
}

/* -------- Планшеты: от 768px до 1023px -------- */
@media (max-width: 1023px) {
    .cart-title {
        font-size: 48px;
        margin: 40px 60px 20px auto;
    }

    .cart-container {
        padding: 0 30px 100px;
    }

    .cart-item {
        gap: 16px;
        padding: 16px 16px 16px 48px; /* ДОБАВИЛ отступ слева под чекпоинт */
        position: relative;
    }

    .circle-select {
        left: 16px; /* Сместили внутрь, чтобы не резался */
        width: 22px;
        height: 22px;
    }

    .cart-img {
        width: 160px;
        height: 160px;
    }

    .cart-info {
        gap: 60px;
    }

    .cart-name {
        font-size: 18px;
    }

    .cart-store {
        font-size: 14px;
    }

    .cart-price {
        font-size: 18px;
    }

    .counter button {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .checkout-button {
        padding: 8px 18px;
        font-size: 14px;
    }

    .order-details {
        margin-left: 10%;
        font-size: 13px;
    }
}


/* -------- Телефоны: до 767px -------- */
@media (max-width: 768px) {
    body {
        background-image: url('/assets/bg/Cart_bg_smol.svg');
    }
    .cart-title {
        font-size: 32px; /* меньше */
        margin: 20px 20px 15px auto;
    }

    .cart-container {
        padding: 0 10px 100px;
    }

    .cart-item {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px 12px 12px 40px; /* выделяем место под чекпоинт */
    }

    .circle-select {
        left: 8px; /* теперь он в отступе */
        width: 22px;
        height: 22px;
    }

    .cart-img {
        width: 100px;
        height: 100px;
    }

    .cart-info {
        gap: 10px;
    }

    .cart-name {
        font-size: 16px;
    }

    .cart-store {
        font-size: 12px;
    }

    .cart-bottom {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .cart-price {
        font-size: 14px;
    }

    .counter button {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
}

@media (max-width: 330px) {
    .cart-title {
        font-size: 24px; /* ещё меньше */
    }

    .cart-item {
        padding: 10px 10px 10px 36px; /* отступ слева под чекпоинт */
    }

    .circle-select {
        left: 6px;
        width: 20px;
        height: 20px;
    }

    .cart-img {
        width: 80px;
        height: 80px;
    }

    .cart-name {
        font-size: 14px;
    }

    .cart-store {
        font-size: 11px;
    }

    .cart-price {
        font-size: 13px;
    }

    .counter button {
        width: 22px;
        height: 22px;
        font-size: 13px;
    }
}




@media (max-width: 768px) {
    .order-summary {
        padding: 10px 15px;
        gap: 15px;
    }

    .order-details {
        margin-left: 10%;
        gap: 2px;
        font-size: 12px;
    }

    .item-count {
        font-size: 13px;
    }

    .address {
        font-size: 12px;
    }

    .checkout-button {
        margin-right: 10px;
        padding: 8px 16px;
        font-size: 13px;
    }

    .pading-baton {
        margin-right: 10%;
    }
}

@media (max-width: 330px) {
    .order-summary {
        padding: 8px 12px;
    }

    .order-details {
        margin-left: 5%;
    }

    .checkout-button {
        padding: 6px 12px;
    }
}
.cart-empty {

    font-weight: 600;
    color: rgb(135, 68, 164); /* фиолетовый */
    text-align: center;
    margin-top: 100px;
    font-size: 48px;
    line-height: 59px;
    letter-spacing: 0%;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {

    .cart-title {

        font-size: 48px;
        margin: 150px 40px 20px auto;
    }

    .cart-empty {
        font-size: 24px;
    }
}

@media (max-width: 768px) {

    .cart-title {
        text-align: center;
        margin: 150px auto 10px;
    }

    .cart-empty {
        font-size: 20px;
        padding: 0 20px;

    }
}

@media (max-width: 480px) {
    .cart-title {
        font-size: 36px;
    }


    .cart-empty {
        font-size: 18px;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;800&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.age-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px; /* было 645px */
    padding: 24px 20px;
    border-radius: 30px;

    width: 100%;
    margin: 10% auto;
    background: rgb(28, 28, 28);
    box-shadow:
            -3px 18px 39px rgba(140, 0, 255, 0.29),
            -11px 71px 72px rgba(140, 0, 255, 0.26),
            -25px 159px 97px rgba(140, 0, 255, 0.15),
            -45px 283px 115px rgba(140, 0, 255, 0.04),
            -70px 442px 125px rgba(140, 0, 255, 0.01),
            0 40px 60px rgba(168, 101, 255, 0.3);
}

.age-content {
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
}

.age-content h2 {
    font-weight: 800;
    font-size: 32px;
    line-height: 1.3;
    color: white;
    margin-bottom: 20px;
}

.age-content p {
    font-size: 18px; /* было 16px */
    line-height: 1.4;
    margin-bottom: 20px;

    font-weight: 500;
    color: rgb(153, 87, 233);

}

.age-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.leave-btn,
.confirm-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.leave-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.leave-btn:hover {
    background: white;
    color: black;
}

.confirm-btn {
    background: rgb(111, 68, 164);
    color: white;
}

.confirm-btn:hover {
    background: rgb(140, 0, 255);
}

@media (max-width: 480px) {
    .age-modal {

        margin: 10% auto;
        padding: 20px 16px;
        border-radius: 20px;
        max-width: 300px;
    }

    .age-content h2 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .age-content p {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 14px;
    }

    .leave-btn,
    .confirm-btn {
        font-size: 14px;
        padding: 6px 14px;
    }

    .age-buttons {
        justify-content: flex-end;
        gap: 10px;
    }
}
.back-button {
    position: absolute;
    top: 25%; /* ← стало 120px вместо 30px */
    left: 30px;
    z-index: 1000;
    background: linear-gradient(105deg, #8744a4, #d035e2);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.back-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(105deg, #9a57c6, #e14ae8);
}

@media (max-width: 480px) {
    .back-button {
        top: 220px; /* фиксированный отступ, более предсказуем */
        left: 16px;
        font-size: 14px;
        padding: 8px 14px;
    }
}

@media (max-width: 400px) {
    .back-button {
        top: 220px;
    }
}

@media (max-width: 360px) {
    .back-button {
        top:220px;
    }
}

/* Полупрозрачный фон + мягкий blur */
.notiflix-overlay {
    background: rgba(7, 12, 10, .55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* Общий каркас модалок */
.tasty-report .notiflix-report,
.tasty-confirm .notiflix-confirm {
    background: #111a16;                     /* тёмно-зелёный под фон сайта */
    border-radius: 18px;
    box-shadow: 0 14px 48px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06);
}

/* Заголовок/текст */
.tasty-report .notiflix-report-title,
.tasty-confirm .notiflix-confirm-title { color:#fff; font-weight:700; letter-spacing:.2px; }
.tasty-report .notiflix-report-message,
.tasty-confirm .notiflix-confirm-message { color:rgba(255,255,255,.92); }

/* Кнопки */
.tasty-report .notiflix-button,
.tasty-confirm .notiflix-button {
    background: linear-gradient(180deg,#9a5bd0,#7a3fb1);
    color:#fff;
    border-radius:14px;
    padding:10px 18px;
    text-transform:none;
    letter-spacing:.2px;
    box-shadow: 0 4px 18px rgba(122,63,177,.35);
}
.tasty-confirm .notiflix-button.cancel {
    background: rgba(255,255,255,.10);
    box-shadow:none;
}

/* Иконка — делаем акцент под фирменный фиолетовый */
.tasty-report .notiflix-report-icon { border-color:#9a5bd0; background:rgba(154,91,208,.12); }
.tasty-report .notiflix-report-icon svg { stroke:#9a5bd0 !important; }
