/* ========== ХЛЕБНЫЕ КРОШКИ ========== */
.breadcrumbs {
    margin: 20px 0 30px;
}

.breadcrumbs a {
    color: #b87c4a;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: #5d3a1a;
}

.breadcrumbs span {
    color: #9b7a5a;
    font-size: 14px;
}

.breadcrumbs i {
    font-size: 12px;
    margin: 0 8px;
    color: #9b7a5a;
}

/* ========== ОСНОВНАЯ СЕТКА ========== */
.room-detail {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    margin-bottom: 50px;
}

/* ========== ФОТОГРАФИИ ========== */
.room-photo {
    position: sticky;
    top: 100px;
}

.main-photo {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    background: #e6d5c0;
    margin-bottom: 15px;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.photo-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.photo-thumbs::-webkit-scrollbar {
    height: 4px;
}

.photo-thumbs::-webkit-scrollbar-track {
    background: #e6d5c0;
    border-radius: 4px;
}

.photo-thumbs::-webkit-scrollbar-thumb {
    background: #b87c4a;
    border-radius: 4px;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.thumb:hover {
    opacity: 0.9;
}

.thumb.active {
    opacity: 1;
    border-color: #b87c4a;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== БЛОК БРОНИРОВАНИЯ ========== */
.room-booking {
    position: sticky;
    top: 100px;
}

.booking-box {
    background: white;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e6d5c0;
}

.booking-price {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e6d5c0;
}

.booking-price .price {
    font-size: 32px;
    font-weight: 800;
    color: #b87c4a;
}

.booking-price .per-night {
    font-size: 14px;
    color: #9b7a5a;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field.full-width {
    grid-column: span 2;
}

.form-field label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b5a2b;
}

.form-field input,
.form-field select {
    padding: 12px 14px;
    border: 1px solid #e6d5c0;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    background: white;
    transition: all 0.3s;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #b87c4a;
    box-shadow: 0 0 0 3px rgba(184, 124, 74, 0.1);
}

.btn-check {
    background: #b87c4a;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.btn-check:hover {
    background: #5d3a1a;
    transform: translateY(-2px);
}

/* ========== РЕЗУЛЬТАТ БРОНИРОВАНИЯ ========== */
.booking-result {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e6d5c0;
}

.result-success {
    background: #e8f5e9;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #4caf50;
}

.result-success i {
    font-size: 24px;
    color: #4caf50;
    margin-right: 12px;
    float: left;
}

.result-success strong {
    color: #2e7d32;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.result-success p {
    color: #5d3a1a;
    font-size: 13px;
    margin: 5px 0;
}

.result-success .total {
    font-weight: 700;
    color: #b87c4a;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #c8e6c9;
}

.result-error {
    background: #ffebee;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #f44336;
}

.result-error i {
    font-size: 24px;
    color: #f44336;
    margin-right: 12px;
    float: left;
}

.result-error strong {
    color: #c62828;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.result-error p {
    color: #5d3a1a;
    font-size: 13px;
}

.btn-book {
    display: block;
    text-align: center;
    background: #4caf50;
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-book:hover {
    background: #388e3c;
    transform: translateY(-2px);
}

/* ========== ОПИСАНИЕ НОМЕРА ========== */
.room-description-full {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e6d5c0;
}

.room-description-full h2 {
    font-size: 28px;
    font-weight: 700;
    color: #5d3a1a;
    margin-bottom: 15px;
}

.room-text {
    font-size: 16px;
    line-height: 1.6;
    color: #6b4f34;
    margin-bottom: 30px;
}

/* ========== ИНФОРМАЦИОННАЯ СЕТКА ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border-radius: 20px;
    border: 1px solid #e6d5c0;
}

.info-item h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b87c4a;
    margin-bottom: 8px;
}

.info-item p {
    font-size: 18px;
    font-weight: 600;
    color: #5d3a1a;
    margin-bottom: 5px;
}

.info-item small {
    font-size: 12px;
    color: #9b7a5a;
}

/* ========== УДОБСТВА ========== */
.amenities-sections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.amenity-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #5d3a1a;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #b87c4a;
    display: inline-block;
}

.amenity-list {
    list-style: none;
    padding: 0;
}

.amenity-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #6b4f34;
    border-bottom: 1px solid #f3ede5;
}

.amenity-list li i {
    color: #b87c4a;
    font-size: 12px;
    width: 18px;
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ УСЛУГИ ========== */
.options-section {
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border-radius: 20px;
    border: 1px solid #e6d5c0;
}

.options-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #5d3a1a;
    margin-bottom: 20px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 15px;
    background: #faf7f2;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.option-item:hover {
    background: #f3ede5;
    transform: translateX(5px);
}

.option-item input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #b87c4a;
}

.option-item span {
    flex: 1;
    font-size: 14px;
    color: #4a3729;
}

.option-cost {
    font-weight: 600;
    color: #b87c4a;
}

/* ========== ПРИМЕЧАНИЯ ========== */
.notes-section {
    padding: 25px;
    background: #f3ede5;
    border-radius: 20px;
    margin-top: 20px;
}

.notes-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #5d3a1a;
    margin-bottom: 15px;
}

.notes-section ul {
    list-style: none;
    padding: 0;
}

.notes-section li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #6b4f34;
}

.notes-section li i {
    color: #b87c4a;
    width: 20px;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 992px) {
    .room-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .room-photo {
        position: static;
    }

    .main-photo {
        height: 350px;
    }

    .room-booking {
        position: static;
    }
}

@media (max-width: 768px) {
    .main-photo {
        height: 280px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-field.full-width {
        grid-column: span 1;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .room-description-full h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .main-photo {
        height: 220px;
    }

    .booking-box {
        padding: 20px;
    }

    .booking-price .price {
        font-size: 26px;
    }

    .thumb {
        width: 60px;
        height: 60px;
    }
}
/* Группы опций */
.option-group {
    margin-bottom: 25px;
}

.option-group-title {
    font-size: 15px;
    font-weight: 600;
    color: #5d3a1a;
    margin-bottom: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e6d5c0;
}

.option-group-title i {
    color: #b87c4a;
    margin-right: 8px;
}

/* Калькулятор цены */
.price-calculator {
    background: #faf7f2;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.price-details {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e6d5c0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    color: #6b4f34;
}

.total-row {
    font-size: 18px;
    font-weight: 700;
    color: #5d3a1a;
    border-top: 1px solid #e6d5c0;
    margin-top: 8px;
    padding-top: 12px;
}

.total-row span:last-child {
    color: #b87c4a;
    font-size: 22px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-calculate {
    flex: 1;
    background: #e6d5c0;
    border: none;
    color: #5d3a1a;
    padding: 12px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-calculate:hover {
    background: #d4c0a8;
    transform: translateY(-2px);
}

.btn-cart {
    flex: 1;
    background: #b87c4a;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cart:hover {
    background: #5d3a1a;
    transform: translateY(-2px);
}
/* Кнопка добавления в корзину */
.cart-action {
    margin-top: 20px;
}

.btn-cart {
    display: block;
    width: 100%;
    background: transparent;
    border: 2px solid #b87c4a;
    color: #b87c4a;
    padding: 14px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn-cart:hover {
    background: #b87c4a;
    color: white;
    transform: translateY(-2px);
}
/* ========== КНОПКИ ДЕЙСТВИЙ ========== */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-calculate {
    flex: 1;
    background: #e6d5c0;
    border: none;
    color: #5d3a1a;
    padding: 14px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-calculate:hover {
    background: #d4c0a8;
    transform: translateY(-2px);
}

.btn-cart {
    flex: 1;
    background: #b87c4a;
    border: none;
    color: white;
    padding: 14px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-cart:hover {
    background: #5d3a1a;
    transform: translateY(-2px);
}

/* Блок калькулятора цены */
.price-calculator {
    background: #faf7f2;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.price-details {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e6d5c0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    color: #6b4f34;
}

.price-row.options-row {
    border-top: 1px dashed #e6d5c0;
    margin-top: 5px;
    padding-top: 10px;
}

.total-row {
    font-size: 18px;
    font-weight: 700;
    color: #5d3a1a;
    border-top: 1px solid #e6d5c0;
    margin-top: 8px;
    padding-top: 12px;
}

.total-row span:last-child {
    color: #b87c4a;
    font-size: 22px;
}

/* Блок результата проверки наличия */
.availability-result {
    margin-top: 20px;
}

.result-success {
    background: #e8f5e9;
    border-radius: 16px;
    padding: 15px;
    border-left: 4px solid #4caf50;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.result-success i {
    font-size: 28px;
    color: #4caf50;
}

.result-success strong {
    color: #2e7d32;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.result-success p {
    color: #5d3a1a;
    font-size: 13px;
    margin: 5px 0;
}

.result-success .total {
    font-weight: 700;
    color: #b87c4a;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #c8e6c9;
}

.result-error {
    background: #ffebee;
    border-radius: 16px;
    padding: 15px;
    border-left: 4px solid #f44336;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.result-error i {
    font-size: 28px;
    color: #f44336;
}

.result-error strong {
    color: #c62828;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.result-error p {
    color: #5d3a1a;
    font-size: 13px;
}

/* Группы опций */
.option-group {
    margin-bottom: 25px;
}

.option-group-title {
    font-size: 15px;
    font-weight: 600;
    color: #5d3a1a;
    margin-bottom: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e6d5c0;
}

.option-group-title i {
    color: #b87c4a;
    margin-right: 8px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 15px;
    background: #faf7f2;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.option-item:hover {
    background: #f3ede5;
    transform: translateX(5px);
}

.option-item input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #b87c4a;
}

.option-item span {
    flex: 1;
    font-size: 14px;
    color: #4a3729;
}

.option-cost {
    font-weight: 600;
    color: #b87c4a;
    white-space: nowrap;
}

.price-period {
    font-weight: normal;
    font-size: 11px;
}
/* Единый блок результата */
.result-block {
    margin-top: 20px;
}

.result-content {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #e6d5c0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


.result-header.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.result-header.success i {
    color: #4caf50;
}

.result-header.error {
    background: #ffebee;
    color: #c62828;
}

.result-header.error i {
    color: #f44336;
}

.result-details {
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    color: #6b4f34;
}

.detail-row.options-detail {
    border-top: 1px dashed #e6d5c0;
    margin-top: 5px;
    padding-top: 10px;
}

.total-row {
    font-size: 18px;
    font-weight: 700;
    color: #5d3a1a;
    border-top: 1px solid #e6d5c0;
    margin-top: 8px;
    padding-top: 12px;
}

.total-row .total-price {
    color: #b87c4a;
    font-size: 22px;
}

.btn-book-now {
    width: 100%;
    background: #4caf50;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-book-now:hover {
    background: #388e3c;
    transform: translateY(-2px);
}
/* ========== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ОПЦИЙ (БЕЗ ДУБЛИКАТОВ) ========== */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 15px;
    background: #faf7f2;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    /* word-break: break-word; */
    min-width: 0;
}

.option-item span:first-child {
    flex: 1;
    font-size: 14px;
    color: #4a3729;
    word-break: break-word;
    margin-right: 10px;
}

.option-cost {
    font-weight: 600;
    color: #b87c4a;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 13px;
}

.price-period {
    font-weight: normal;
    font-size: 11px;
    white-space: nowrap;
}

/* Мобильная адаптация */
@media (max-width: 600px) {
    .options-grid {
        grid-template-columns: 1fr;
    }

    .option-item {
        flex-wrap: wrap;
    }

    .option-item span:first-child {
        width: 100%;
        margin-bottom: 5px;
    }

    .option-cost {
        white-space: normal;
    }
}
/* Модальное окно авторизации */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    position: relative;
    background: white;
    border-radius: 28px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.auth-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #5d3a1a, #8b5a2b);
    color: white;
}

.auth-modal-header i {
    font-size: 24px;
}

.auth-modal-header h3 {
    flex: 1;
    font-size: 20px;
    margin: 0;
}

.auth-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.auth-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.auth-modal-body {
    padding: 30px 24px;
    text-align: center;
}

.auth-icon i {
    font-size: 64px;
    color: #b87c4a;
    margin-bottom: 15px;
}

.auth-modal-body p {
    font-size: 16px;
    color: #5d3a1a;
    margin-bottom: 20px;
}

.auth-benefits {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e6d5c0;
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b4f34;
}

.benefit i {
    font-size: 20px;
    color: #b87c4a;
}

.auth-modal-footer {
    display: flex;
    gap: 15px;
    padding: 0 24px 24px 24px;
}

.auth-btn-login,
.auth-btn-register {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.auth-btn-login {
    background: #b87c4a;
    color: white;
}

.auth-btn-login:hover {
    background: #5d3a1a;
    transform: translateY(-2px);
}

.auth-btn-register {
    background: transparent;
    border: 2px solid #b87c4a;
    color: #b87c4a;
}

.auth-btn-register:hover {
    background: #b87c4a;
    color: white;
    transform: translateY(-2px);
}

.auth-modal-guest {
    text-align: center;
    padding: 0 24px 24px 24px;
    font-size: 13px;
    color: #9b7a5a;
}

.guest-link {
    background: none;
    border: none;
    color: #b87c4a;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 8px;
    font-size: 13px;
}

.guest-link:hover {
    color: #5d3a1a;
}

@media (max-width: 480px) {
    .auth-modal-footer {
        flex-direction: column;
    }

    .auth-benefits {
        flex-direction: column;
        gap: 10px;
    }

    .benefit {
        flex-direction: row;
        justify-content: center;
    }
}
/* ========== КНОПКА-СЕРДЕЧКО ДЛЯ ИЗБРАННОГО ========== */
.favorite-heart-wrapper {
    margin-top: 20px;
    text-align: center;
}

.favorite-heart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
    border: 2px solid #e74c3c;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #e74c3c;
    background: white;
}

.favorite-heart-btn i {
    font-size: 22px;
    transition: all 0.3s ease;
}

.favorite-heart-btn .favorite-text {
    transition: all 0.3s ease;
}

/* Активное состояние (в избранном) */
.favorite-heart-btn.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.favorite-heart-btn.active i {
    animation: heartBeat 0.3s ease;
}

/* Анимация сердечка */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Эффект наведения */
.favorite-heart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.25);
}

.favorite-heart-btn:active {
    transform: translateY(0);
}

/* Маленькое уведомление */
.favorite-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 20px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    font-weight: 500;
}

.favorite-notification i {
    font-size: 20px;
}

.favorite-notification.success {
    background: #4caf50;
    color: white;
}

.favorite-notification.error {
    background: #f44336;
    color: white;
}

.favorite-notification.info {
    background: #2196f3;
    color: white;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .favorite-heart-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .favorite-heart-btn i {
        font-size: 18px;
    }

    .favorite-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        font-size: 14px;
    }
}
.cart-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;

    min-width: 280px;
    max-width: 400px;

    padding: 15px 20px;
    border-radius: 10px;

    color: #fff;
    font-size: 14px;
    font-weight: 500;

    display: flex;
    align-items: center;
    gap: 10px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);

    animation: slideInRight .3s ease;
}

.cart-toast.success {
    background: #28a745;
}

.cart-toast.error {
    background: #dc3545;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
#addToCartBtn.added {
    background: #28a745;
    color: #fff;
}