
/* Стили для корзины */
.cart-icon {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
    color: #0d6efd;
    transition: color 0.3s ease;
}
.cart-icon:hover {
    color: #0a58ca;
}
.cart-count {
    position: absolute;
    top: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
}
#cartItemsBody tr:hover {
    background-color: #000;
}
.remove-item {
    color: #dc3545;
    cursor: pointer;
    background: transparent;
    transition: color 0.3s ease;
}
.remove-item:hover {
    color: #bd2130;
}
.quantity-input {
    text-align: center;
    width: 60px !important;
}
.btn-outline-secondary {
    border-color: #000000;
}
.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #000000;
    color: #0d6efd;
}
.modal-header {
    border-bottom: 2px solid #dee2e6;
}
.modal-footer {
    border-top: 2px solid #dee2e6;
}
#cartTotal {
    font-size: 1.2em;
}


/* Стили для таблицы в корзине */
.table {
    margin-bottom: 0;
}
.table th {
    border-top: none;
    background-color: #f8f9fa;
    font-weight: 600;
}
.table td {
    vertical-align: middle;
}
.table tfoot td {
    border-top: 2px solid #dee2e6;
}
.fw-bold {
    font-weight: 600 !important;
}
.text-muted {
    font-size: 0.875em;
}

/* Стили для кнопок в корзине */
.modal-footer .btn {
    padding: 0.5rem 1rem;
    font-weight: 500;
}
.modal-footer .btn i {
    margin-right: 0.5rem;
}

/* Стили для пустой корзины */
#emptyCart {
    padding: 2rem 0;
}
#emptyCart i {
    color: #dee2e6;
}

/* Стили для уведомления */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 20px 35px 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #28a745;
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    z-index: 9999;
}

.toast-notification.active {
    transform: translateX(0%);
}

.toast-notification .toast-content {
    display: flex;
    align-items: center;
}

.toast-notification .toast-content i {
    font-size: 22px;
    margin-right: 15px;
}

.toast-notification .message {
    display: flex;
    flex-direction: column;
}

.toast-notification .message .text {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
}

.toast-notification .message .text.text-1 {
    font-weight: 600;
    color: #333;
}

.toast-notification .close {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
}

.toast-notification .close:hover {
    opacity: 1;
}

.toast-notification .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: #ddd;
}

.toast-notification .progress:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #28a745;
}

.toast-notification.active .progress:before {
    animation: progress 3s linear forwards;
}

@keyframes progress {
    100% {
        right: 100%;
    }
}

/* Стили для модального окна корзины */
#cartModal .modal-dialog {
    max-width: 900px;
}

#cartModal .table th {
    background-color: #f8f9fa;
    border-top: none;
}

#cartModal .table td {
    vertical-align: middle;
}

#cartModal .item-quantity {
    width: 60px;
    text-align: center;
}

#cartModal .btn-outline-secondary {
    padding: 0.25rem 0.5rem;
}

#cartModal .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem;
}

#cartModal .btn {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

#cartModal .btn-primary:hover {
    background-color: #014d26;
    border-color: #014d26;
}

#cartModal .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

#cartModal .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

#cartModal .close {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: .5;
}

#cartModal .close:hover {
    opacity: .75;
}

#cartModal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#cartModal .modal-title {
    font-weight: 600;
    color: #016934;
}

#cartModal #emptyCart {
    padding: 2rem;
    text-align: center;
    color: #6c757d;
}

#cartModal #cartTotal {
    color: #016934;
    font-size: 1.1rem;
}

.hide-on-screen {
    display: none;
  }

  @media print {
    .hide-on-screen {
      display: flex !important;
    }
  }

  .rev-slidebg {
    position: relative;
    z-index: 1;
  }
  
  .rev-slidebg::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* полупрозрачный тёмный слой */
    z-index: 2;
  }
  
  .tp-caption.tp-resizeme.rev-text-2 {
    position: relative;
    z-index: 3;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  }

  .title-sub {
    color: #222; /* тёмно-серый или чёрный */
  }
  
  body.animsition {
    background-color: #fff; /* светлый фон */
  }

  .title-sub {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  }
  body.animsition {
    background-color: #f9f9f9; /* светлый фон */
    color: #222222; /* тёмный текст */
  }
  
  .title-sub {
    color: #333333;
    font-weight: 600;
  }
  
  .section-pp {
    background-color: #ffffff;
    color: #222222;
  }