/* Кнопки контактов */
.contact-buttons {
    display: flex;
    gap: 12px;
}

.contact-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.6),
        inset 0 2px 4px rgba(255,255,255,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.6),
        inset 0 3px 6px rgba(255,255,255,0.4);
}

.telegram { background-color: #0088cc; }
.whatsapp { background-color: #25D366; }

/* Кнопки контактов внизу */
.contact-buttons-bottom {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-buttons-bottom .contact-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.6),
        inset 0 2px 4px rgba(255,255,255,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-buttons-bottom .contact-btn:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.6),
        inset 0 3px 6px rgba(255,255,255,0.4);
}

/* Карточка товара */
.product-card {
    flex-basis: calc(25% - 30px);
    max-width: calc(25% - 30px);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    position: relative;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.6),
        inset 0 2px 4px rgba(255,255,255,0.2);
    border-radius: 16px;
    background: white;
    overflow: hidden;
    transition: transform 0.3s;
}
.product-card:hover {
    transform: translateY(-8px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    transition: all 0.3s ease;
    display: block;
    cursor: pointer;
}

.product-card img:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    border-radius: 12px;
}

/* Подпись под фото */
.product-card .photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    padding: 8px 12px;
    font-size: 0.9rem;
    text-align: center;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    margin: 0;
    z-index: 2;
    box-sizing: border-box;
}

.product-card:hover .photo-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Корзина */
.cart-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.page-title {
    text-align: center;
    font-family: 'Bad Script', cursive;
    font-size: 1.8rem;
    margin: 20px 0 30px;
    color: #555;
}
/* Заголовок корзины — без анимации, под основным заголовком */
.cart-title {
    text-align: center;
    font-family: 'Bad Script', cursive;
    font-size: 28px;
    color: #555;
    margin: 10px auto 24px;
    font-weight: 600;
    /* Никакой анимации и теней — чистый стиль */
}
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-info h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #333;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #800080;
    margin: 8px 0;
}

.btn-remove,
.btn-primary,
.btn-secondary,
.btn-checkout {
    padding: 8px 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Bad Script', cursive;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #800080, #551a8b);
    color: white;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
}

.btn-secondary {
    display: inline-block;
    margin-top: 20px;
    background: rgba(255,255,255,0.7);
    color: #555;
    text-decoration: none;
    padding: 10px 20px;
}

.btn-checkout {
    background: linear-gradient(135deg, #2e8b57, #3cb371);
    color: white;
    padding: 12px 24px;
    font-size: 1.2rem;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    margin: 30px 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 20px 0;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    font-size: 1.3rem;
    font-weight: bold;
}