@font-face {
    font-family: 'Architectural';
    src: url('../fonts/Architectural-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'EuclidCircularA';
    src: url('../fonts/EuclidCircularA-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'TTFirsNeue';
    src: url('../fonts/TTFirsNeue-Medium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@supports (-webkit-overflow-scrolling: touch) {
    .header {
        position: -webkit-sticky;
        position: sticky;
        font-display: swap;
    }
}

:root {
    --primary-color: #cd1719;
    --secondary-color: #121212;
    --primary-dark: #000000;
    --accent-color: #db3a34;
    --text-color: #333;
    --acception: #2c83c2;
    --light-text: #555;
    --bg-light: #f7f7f9;
    --white: #ffffff;
    --agree: #4CAF50;
    --procces: #c87217;
    --brown: #712121;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Плавность для всех анимируемых свойств, кроме transform и opacity (их анимируем отдельно для производительности) */
    transition: color 0.4s ease-in-out,
                background-color 0.4s ease-in-out,
                border-color 0.4s ease-in-out,
                box-shadow 0.4s ease-in-out,
                fill 0.4s ease-in-out;
}

html,
body {
    overflow-x: hidden;
    font-family: 'EuclidCircularA', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

h1,
h2,
h3 {
    padding: 5px 0;
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 700;
}

p {
    font-size: 16px;
    padding: 10px 20px;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: 'EuclidCircularA', sans-serif;
}

a {
    font-family: 'TTFirsNeue', sans-serif;
}

  /* Бургер-меню */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    margin-left: 15px;
  }

  .burger-line {
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: var(--white);
    transition: all 0.6s ease;
  }

  /* Анимация при открытии меню */
  .mobile-menu-btn.active .burger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .mobile-menu-btn.active .burger-line:nth-child(2) {
    transform: rotate(-45deg);
    opacity: 0;
  }

  .mobile-menu-btn.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Адаптация под существующие медиа-запросы */
  @media (min-width: 1250px) {
    .mobile-menu-btn {
      display: none;
    }
  }
  

  @media (max-width: 1250px) {
    .mobile-menu-btn {
      display: flex;
    }
  }

/* ==================== АНИМАЦИИ И ЭФФЕКТЫ ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(0);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes addToCart {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(0) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rowHover {
    from { background-color: inherit; }
    to { background-color: var (--bg-light); }
}

@keyframes slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(205, 23, 25, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(205, 23, 25, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(205, 23, 25, 0); }
}

/* Классы для анимаций */

.auth-tab {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: var (--text-color);
    background: var (--bg-light);
    border: 1px solid var (--bg-light);
    cursor: pointer;
    /* добавьте другие стили чтобы соответствовать вашим кнопкам */
}

.auth-tab.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
/* ==================== // АНИМАЦИИ И ЭФФЕКТЫ // ==================== */

.container {
    width: 80%;
    margin: auto auto;
}

/* Стили для корзины */

.container-cart {
    width: 90%;
    margin: 5%;
}

.cart-item {
    display: flex;
    position: sticky;
    top: 60px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 15px 3%;
    border-bottom: 1px solid var (--white);
    /* transition вынесено в общее правило * */
}

.cart-item-info {
    display: flex;
    align-items: center;
    flex: 1;
    position: sticky;
    top: 60px;
    z-index: 90;
    font-family: 'EuclidCircularA', sans-serif;
}

.no-drag {
    user-drag: none !important;
    -webkit-user-drag: none !important;
    user-select: none !important;
    -moz-user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
}

.no-context {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cart-item-image {
    width: 8vw;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 10%;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 10px;
    width: 100%;
    max-width: 8vw;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 500;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.download-button-container {
    display: inline-block;
    padding: 0px 16px;
    background-color: var (--bg-light);
    color: var (--primary-dark);
    border: 1px solid var (--primary-dark);
    border-radius: 2px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.download-button-container:hover {
    border-color: var (--bg-light);
    color: var (--text-color);
    background-color: var(--white);
}

.cart-counter {
    font-size: 0;
}

.cart-menu-item a {
    color: var(--white);
    transition: color .2s;
}

.cart-menu-item a .cart-counter[data-value]:not([data-value="0"]) {
    color: var(--primary-color);
}

.cart-menu-item a.has-items {
    color: var(--primary-color);
}

/* Добавьте эти стили в ваш CSS файл */
.desktop-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    font-family: 'TTFirsNeue', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    display: table;
}

.desktop-table th {
    background: var(--primary-dark);
    color: var(--white);
    font-weight: 500;
    padding: 12px 8px;
    position: sticky;
    top: 0;
    z-index: 10;
    text-transform: uppercase;
    font-size: 13px;
}

.desktop-table th.first-col {
    text-align: center;
    padding: 15px 20px;
}

.desktop-table th.last-col {
    text-align: center;
    padding: 12px 8px;
}

.desktop-table th:first-child {
    border-top-left-radius: 8px;
}

.desktop-table th:last-child {
    border-top-right-radius: 8px;
}

.desktop-table tr.menu-table {
    transition: all 0.2s ease;
    background-color: var(--white)
}

.desktop-table tr.menu-table:nth-child(even) {
    background-color: var (--white);
}

.desktop-table tr.menu-table:hover {
    background-color: var (--bg-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: rowHover 0.3s ease forwards;
}

.desktop-table td {
    padding: 5px;
    text-align: center;
    font-size: 16px;
}

.desktop-table tr.last-row td {
    border-bottom: none;
}

.admin-checkout-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 20px;
    padding: 0px 10px;
    margin: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 100px;
    text-decoration: none;
}

.admin-checkout-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.admin-checkout-btn.cancel {
    background-color: var (--light-text);
    margin-left: 10px;
}

.admin-checkout-btn.cancel:hover {
    background-color: var (--light-text);
}

.desktop-table tr:last-child td {
    border-bottom: none;
}

.desktop-table .checkout-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}

.desktop-table .checkout-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.modal-strong {
    display:inline-block;
    min-width:90px
}

/* Стили для автодополнения адресов */
.address-suggestions {
    position: absolute;
    background: var(--white);
    border: 1px solid var (--white);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 10000;
}

.address-suggestions div {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid var (--bg-light);
    transition: background-color 0.2s;
}

.address-suggestions div:hover {
    background-color: var (--white);
}

.address-suggestions div:last-child {
    border-bottom: none;
}

/* Стили для иконок доступности */

.mobile-table-container {
    display: none;
}

.remember-me {
    display: flex;
    gap: 5w;        
    width: fit-content;
}

.custom-checkbox {
    width: fit-content !important; 
    padding: 0 !important;
    margin-right: 10px !important;
    justify-items: center;
    align-items: center;
}

.fas fa-motorcycle{
    font-size: 14px;
}

.mobile-table-container {
    display: none;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var (--white);
    background: var (--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    font-family: 'TTFirsNeue';
}

.quantity-btn:hover {
    background: var (--white);
}

.cart-summary-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 0 10px;
}

.nutrition-summary {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var (--light-text);
    transition: opacity 0.3s ease;
}

.nutrition-item {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.quantity-btn:active + .nutrition-summary .nutrition-item {
    transform: scale(1.05);
}

.cart-total {
    font-size: 20px;
    font-weight: 600;
    text-align: right;
    margin: 0 20px 20px 0;
    padding-top: 20px;
    border-top: 1px solid var (--white);
}

.clear-cart-btn {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.clear-cart-btn:hover {
    background-color: var(--primary-dark);
}

.empty-cart {
    text-align: center;
    padding: 50px 0;
}

.empty-cart p {
    font-size: 18px;
    color: var (--light-text);
    margin-bottom: 20px;
}

.menu-view-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.menu-view-options label {
    display: flex;
    gap: 20px;
    flex-direction: row;
    cursor: pointer;
    align-items: center;
    justify-items: center;
}

.menu-view-options input[type="radio"] {
    margin: 0;
    width: 10%;
    
}

.delivery-details {
    margin-left: 5px;
    font-size: 0.9em;
    color: var (--light-text);
}

.delivery-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var (--light-text);
}

.delivery-icon-text i {
    margin-right: 4px;
    color: var(--primary-color);
}

.delivery-details {
    color: var (--light-text);
}

.delivery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    z-index: 1000;
    align-items: center;
}

.delivery.visible {
    display: flex;
}

.delivery-content {
    background-color: var(--white);
    border-radius: 10px;
    width: 25%;
    padding: 30px;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.delivery-modal {
    display: flex;
    position: fixed;
    padding: 20px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    z-index: 1000;
    align-items: center;
}

.delivery-modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.delivery-modal-buttons .checkout-btn {
    flex: 1;
}

.delivery-modal-content {
    background-color: var(--white);
    border-radius: 10px;
    height: 100%;
    width: 50%;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.delivery-extra-block {
  margin-top: 15px;
  padding: 15px;
  border: 1px solid var (--white);
  border-radius: 5px;
  background-color: var (--white);
}

.delivery-extra-block.visible {
    display: block;
}

#deliveryAddressBlock,
#tableQrBlock {
    margin-top: 15px;
    width: 100%;
}

#deliveryAddress {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
    border: 1px solid var (--white);
    border-radius: 4px;
}

.scan-btn {
    background: var (--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background 0.3s;
}

.scan-btn:hover {
    background: var (--primary-color);
}

.qr-scanner-container {
    width: 100%;
    height: 300px;
    margin: 10px 0;
    border: 2px dashed var (--primary-color);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background-color: var(--primary-dark);
}

.qr-scanner-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid var(--agree);
    border-radius: 15px;
    box-shadow: 0 0 0 4000px rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}


.qr-scanner-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    border: 1px solid transparent;
}

.order-message.success {
    background-color: var(--agree);
    border-color: var (--white);
}

.order-message.error {
    background-color: var (--white);
    border-color: var (--white);
    color: var(--brown);
}

.order-message.warning {
    background-color: var (--white)3cd;
    border-color: var (--white);
    color: var(--procces);
}

.order-message.info {
    background-color: var (--white);
    border-color: var (--white);
    color: var(--brown);
}

.camera-instructions {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.4;
    text-align: left;
}

.camera-instructions ol {
    margin: 8px 0;
    padding-left: 20px;
}

.camera-instructions li {
    margin-bottom: 5px;
}

.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.delivery-option {
    padding: 15px;
    border: 1px solid var (--white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.delivery-option:hover {
    background-color: var (--white);
    border-color: var(--primary-color);
}

.delivery-option.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Delivery type styles */

.order-customer-info i {
    margin-right: 5px;
    color: var (--light-text);
}

.order-customer-info span {
    display: flex;
    align-items: center;
}

.divider {
    border: none;
    border-top: 1px solid var (--white);
    width: 100%;
}

/* Auth styles */
.auth-container {
    max-width: 500px;
    margin: 100px auto;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var (--white);
}

.auth-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab.active {
    border-bottom-color: var(--primary-color);
    font-weight: bold;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var (--white);
    border-radius: 4px;
    font-size: 16px;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
}

.auth-errors {
    color: var(--accent-color);
    margin-bottom: 20px;
    padding: 15px;
    background: var (--white);
    border-radius: 4px;
}

/* Account styles */
.account-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 800px;
    margin: 30px auto 30px auto;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.success-message {
    padding: 15px;
    background: var(--agree);
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Стили для иконки аккаунта */
.account-menu-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
}

.account-menu-item i {
    font-size: 18px;
}

/* Стили для истории заказов */
.orders-list {
    margin-top: 20px;
}

.order-item {
    border: 1px solid var (--white);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: var (--white);
}

.order-toggle-icon {
    min-width: 20px; /* Фиксированная ширина для иконки */
    flex: 0 0 auto;
    text-align: center;
}

.employee-toggle-icon {
    transform: translateY(-1%);
    margin-left: -3px;
    transition: all 0.3s ease;
    display: contents;
    color: var (--light-text);
    font-size: 14px;
}

.employee-toggle-icon.active {
    transform: translateY(-1%) rotate(180deg);
}

.order-header.active .order-toggle-icon {
    transform: translateY(-1%) rotate(180deg);
}

.order-id {
    font-weight: bold;
    color: var(--primary-color);
    min-width: 50px;
    white-space: pre-wrap; /* Разрешает переносы */
    word-break: break-word; /* Переносит длинные слова */
    line-height: 1.3; /* Увеличивает межстрочный интервал */
}

.order-date {
    color: var (--light-text);
    font-size: 14px;
    min-width: 50px;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.3;
}

.order-status {
    padding: 5px 16px;
    color: var(--white);
    border: none;
    border-radius: 4px;
    transition: background 0.3s;
    font-family: 'EuclidCircularA';
    font-size: 14px;
    min-width: 110px; /* Фиксированная ширина для статуса */
    text-align: center;
    flex: 0 0 auto;
}

.order-total {
    font-weight: bold;
    min-width: 60px; /* Фиксированная ширина для суммы */
    text-align: right;
    flex: 0 0 auto;
}

.order-items {
    display: none;
}

.repeat-order-form {
    display: flex;
    justify-content: flex-end; /* Выравнивание кнопки вправо */
    margin-top: 10px;
}

.mobile-table-container {
    display: none;
}

.account-container {
    width: 100%;
    padding: 15px;
    margin: 10px auto 80px auto;
}

/* Стили для мобильной таблицы */
.mobile-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-table table {
    min-width: 600px;
    /* Минимальная ширина для горизонтального скролла */
}

.mobile-table-item {
    display: flex;
    flex-direction: column;
    border: 1px solid var (--white);
    border-radius: 10%;
    margin-bottom: 20px;
    padding: 20px 20px;
    background: var(--white);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.mobile-table-row {
    display: flex;
    justify-content: space-between;
}

.mobile-table-btn {
padding: 4px 6vh;
    font-size: 14px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-family: 'TTFirsNeue';
}

.mobile-table-btn i {
    margin-right: 5px;
}

.form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.desktop-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-form-group label input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
    display: inline-block;
}

.mobile-table-label {
    font-weight: 500;
    color: var (--light-text);
    min-width: 100px;
}

.mobile-table-value {
    text-align: right;
    flex-grow: 1;
}

.mobile-table-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    text-align: center;
}

.message.success {
    background-color: var(--agree);
}

.message.error {
    background-color: var (--white);
    color: var(--brown);
}

.admin-form-container {
    background: var (--white);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.admin-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var (--text-color);
}

.admin-form-group input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    transition: border-color 0.3s ease;

}

.admin-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var (--white);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.admin-form-group input:focus,
.admin-form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.admin-form-group small {
    color: var (--light-text);
    font-size: 12px;
    margin-top: 5px;
    display: block;
}


.btn,
.btn-form {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border: none;
    font-size: 18px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: 'TTFirsNeue';
}

/* Стили для сообщения */
#orderMessage {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    display: none;
}

.success {
    background-color: var(--agree);
}

.error {
    background-color: var (--accent-color);
}

.btn {
    margin: 20px 30px;
}

.btn-form {
    margin: 30px 0;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

.btn:hover,
.btn-form:hover {
    background-color: var(--secondary-color);
}

.section {
    padding: 0;
}

.section-header {
    text-align: center;
    margin: 80px 0;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin: 10px;
}

.section-header p {
    font-size: 26px;
    margin: 20px;
    font-weight: 700;
}

.section-header-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
    padding: 0 3%;
}

/* Стили для панели сотрудника */

.order-item {
    border: 1px solid var (--white);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--white)
}

.status-btn {
    padding: 8px 16px;
    background: var(--agree);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'EuclidCircularA';
    margin-left: 5px;
}

.status-btn-r {
    padding: 8px 16px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    margin-left: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'EuclidCircularA';
}

.status-btn:hover {
    background: var(--agree);
}

.tab-content {
    transition: opacity 0.3s ease;
}

.tab-content:not(.active) {
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.tab-content.active {
    opacity: 1;
    height: auto;
}

.order-status {
    padding: 5px 16px;
    color: var(--white);
    border: none;
    border-radius: 4px;
    transition: background 0.3s;
    font-family: 'EuclidCircularA';
    font-size: 14px;
}

.order-summary-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 100;
    transition: background-color 0.3s;
    margin: 100px 0 10px 0;
}

.back-to-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 100;
    transition: background-color 0.3s;
    margin: 100px 0 10px 0;
}

/* Первая кнопка прижимается к левому краю */
.back-to-menu-btn:first-child {
    margin-right: auto;
    /* Прижимает к левому краю */
}

/* Все кнопки кроме первой получают отступ слева */
.back-to-menu-btn:not(:first-child) {
    margin-left: 10px;
    margin-right: 0;
    /* Убираем правый отступ */
}

.back-to-menu-btn:hover {
    background-color: var (--light-text);
}

.section-header-menu div {
    display: flex;
    align-items: center;
}

.order-summary-btn:hover,
.back-to-menu-btn:hover {
    background-color: var(--primary-dark);
}

.order-summary-btn .order-total {
    margin-right: 5px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 1);
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    flex-wrap: wrap;
}

.image {
    object-fit: contain;
    height: auto;
    width: 100vw;
    max-width: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    padding-top: 10px;
    height: 60px;
    font-family: 'Architectural', serif;
    font-size: 46px;
    animation: slideInFromLeft 1s ease-out;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav {
    font-size: 20px;
    transition: all 1s ease;
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav ul li {
    justify-content: center;
    text-align: center;
    margin: 0 50px;
}

.nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 1s ease;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.phone a {
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
    font-weight: 500;
}

.section-header-menu h2 {
    padding-top: 100px;
    font-size: 36px;
    color: var(--primary-color);
    animation: fadeInDown 1s ease;
}

.hero {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('../HDR.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 0 15px;
}

.hero-content h1 {
    font-size: 12rem;
    font-family: 'Architectural', serif;
    font-weight: 500;
    margin-bottom: 50px;
    height: 160px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    animation: fadeInUp 1s ease 1s both;
}

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

.form-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 0;
}

.about-text {
    flex: 1;
    font-size: 24px;
}

.about-text p {
    margin: 0 120px 40px 40px;
    text-align: justify;
    padding: 0;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    padding: 10px 20px;
    margin: 0 10px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    font-weight: 500;
    color: var(--light-text);
    cursor: pointer;
    transition: all 1s ease;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-pane {
    gap: 0 20px;
    display: none;
}

.tab-pane.active {
    display: grid;
    /* Или block/flex в зависимости от верстки */
    grid-template-columns: repeat(3, 1fr);
    /* Проверить адаптивность */
}

.menu-content {
    margin: 40px auto;
    width: 90%;
}

.menu-tabs-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    background: var (--white);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    opacity: 1;
    visibility: visible;
}

.menu-tabs-container.visible {
    opacity: 1;
    visibility: visible;
}

.menu-tabs {
    display: inline-flex;
    padding: 10px 0;
    justify-content: center;
    min-width: 100%;
}

.menu-tabs-container::-webkit-scrollbar {
    height: 0;
    background: transparent;
}

.menu-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.menu-item h3 {
    padding: 10px 30px;
    margin: 0;
    font-size: 22px;
    position: relative;
    z-index: 500;
    background: var(--white);
    text-align: center;
}

.menu-item p {
    color: var(--light-text);
    padding: 0 30px 10px;
    font-size: 18px;
    text-align: center;
}

.menu-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 2s ease;
}

.menu-item:hover img {
    transform: scale(1.05);
}

.price {
    padding: 5px 16px;
    background-color: var(--light-text);
    color: var(--white);
    text-decoration: none;
    border: none;
    font-size: 20px;
    border-radius: 25px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: left;
    margin: 0 0 35px 35px;
}

/* Добавляем обертку для позиционирования */

.cart-item {
    display: flex;
    position: sticky;
    top: 60px;
    justify-content: space-between;
    align-items: center;
    padding: 15px 3%;
    border-bottom: 1px solid var (--white);
}

.menu-table {
    border-bottom: 1px solid var (--white);
    line-height: calc(1em + 10px);
    font-size: 18px;
}

.cart-item-info {
    display: flex;
    align-items: center;
    flex: 1;
    position: sticky;
    top: 60px;
    z-index: 90;
}

.cart-item-price {
    color: var (--text-color);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid var (--white);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    font-family: 'TTFirsNeue';
}

.empty-cart {
    text-align: center;
    padding: 50px 0;
    color: var (--light-text);
}

.clear-cart-container {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0 3% 20px;
}

.clear-cart-btn {
    background-color: var (--white);
    color: var (--text-color);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'TTFirsNeue';
}

.clear-cart-btn:hover {
    background-color: var(--white);
}

.hidden {
    display: none !important;
}

.visible {
    display: flex !important;
}

.flex {
    display: flex !important;
}

.inline {
    display: inline !important;
}

.qr-result {
    margin-top: 10px;
    padding: 10px;
    background: var (--bg-light);
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.cancel-btn {
    background: var (--light-text) !important;
}

.cancel-btn:hover {
    background: var (--light-text) !important;
}

.buy {
    padding: 5px 16px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border: none;
    font-size: 20px;
    font-weight: 800;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: right;
}

.buy-active {
    padding: 0; /* Или любое другое значение, которое вам нужно */
}

.buy-counter {
    display: none;
}

.buy-counter.active  {
    display: flex;
    gap: 5px;
    padding: 0 5px;
    flex-direction: column;
    align-items: center;
}

.info .buy  {
    margin: 0 35px 35px 0;
}

.info .buy-counter.active  {
    flex-direction: row;
    padding: 5px 10px;
}

.info .menu-item p {
    padding: 0 30px 0;
}

.info .tab-pane {
    gap: 40px;
}

.buy-text {
    display: inline;
}

.buy-text.hidden {
    display: none;
}

.counter-minus,
.counter-plus {
    cursor: pointer;
    padding: 0 10px;
    font-weight: 600;
    font-size: 20px;
}

.counter-value {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}

.reservation {
    background-color: var(--bg-light);
}

.reservation-inner {
    flex-direction: column;
    display: flex;
    align-items: center;
}

.reservation-form {
    flex: 1;
    background-color: var(--white);
    justify-items: center;
}

.reservation-form h2 {
    font-size: 28px;
    padding: 20px 0;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var (--white);
    border-radius: 4px;
    font-size: 16px;
}

.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-inner {
    display: flex;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    margin: 20px 20px 20px 40px;
}

.footer-col h3 {
    font-size: 20px;
    color: var(--primary-color);
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 14px;
}

.social-links {
    display: flex;
    margin: 0 0 0 20px;
    padding-top: 20px;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 1s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1250px) {

    .cart-item-image {
    width: 12vw;
}

    .cart-item-title {
        max-width: 12vw;
    }

    /* Мобильная адаптация формы бронирования */
@media (max-width: 768px) {
  #reservation .container {
    width: 95%;
    padding: 20px 0;
  }
  
  .reservation-form {
    width: 100%;
    padding: 0 15px;
  }
  
  .reservation-form h2 {
    font-size: 24px;
    text-align: center;
    padding: 10px 0;
  }
  
  .form-group input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 5px 0;
    padding: 15px;
    font-size: 16px; /* Важно для iOS */
  }
  
  .btn-form {
    width: 100%;
    margin: 20px 0;
    padding: 15px;
    font-size: 18px;
  }
  
  .form-content {
    padding: 20px 0;
  }
}

    .header-inner {
        padding: 0px 5%;
    }

    .delivery-content {
    width: 40%;
}

    .delivery-modal-content {
        width: 60%;
        height: fit-content;
    }

    .menu-item {
        border-radius: 40px;
    }

    .container {
        width: 85%;
        margin: auto auto;
    }

    .tab-pane.active {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-text p {
        font-size: 16px;
        margin: 0 40px 40px 40px;
    }

    p {
        font-size: 18px;
    }

    .section-header {
        margin: 40px 0;
    }

    .section-header p {
        font-size: 22px;
        margin: 10px;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        font-size: 20px;
        background: rgba(10, 10, 10, 0.98);
        padding: 10px;
        display: none;
        flex-direction: column;
        align-items: center;
        z-index: 1000;
        height: auto;
    }

    .nav.active {
        display: flex;
        padding: 20px 0;
    }

    .nav ul {
        flex-direction: column;
    }

    .nav ul li {
        margin: 10px auto;
        text-align: center;
        width: fit-content;
    }

    .phone a {
        font-size: 18px;
    }

    .hero-content h1 {
        height: 120px;
        font-size: 9rem;
    }

    .hero-content p {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .footer-col {
        flex: 1 1 100%;
    }
}

@media (max-width: 992px) {


    .cart-item-image {
        width: 14vw;
    }
    
    .cart-item-title {
        max-width: 14vw;
    }


        .delivery-content {
    width: 50%;
}

    .about-content {
        flex-direction: column;
    }
    .delivery-modal-content {
    width: 75%;
    height: fit-content;
}

    .container {
        width: 90%;
        margin: auto auto;
    }

    p {
        font-size: 16px;
    }

    .tab-pane.active {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        flex-wrap: wrap;
    }

    .footer-col {
        flex: 1 1 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {

    .cart-item-image {
        width: 22vw;
    }

    .cart-item-title {
        max-width: 22vw;
    }

        .delivery-content {
    width: 70%;
}

    .desktop-table {
        display: none;
    }

    .mobile-table-container {
        display: table;
    }
    .delivery-modal-content {
    width: 90%;
    height: fit-content;
}
    .account-menu-item i {
        font-size: 24px;
    }

    .container {
        width: 95%;
        margin: auto auto;
    }

    .about-text p {
        font-size: 14px;
    }

    .tab-pane.active {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 470px) {


      .cart-item-image {
    width: 28vw;
}

    .cart-item-title {
        max-width: 28vw;
    }

        .delivery-content {
    width: 90%;
}

    .about-text p {
        font-size: 12px;
    }
    .delivery-modal-content {
    width: 100%;
    height: fit-content;
}

    p {
        padding: 5px 20px;
        margin-bottom: 10px;
    }

    .tab-pane.active {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-content h1 {
        height: 120px;
        font-size: 9rem;
    }

}

@media (max-width: 410px) {
        .order-date {
        color: var (--light-text);
        font-size: 14px;
    }
}


/* =====================================================================
   🌌  «WOW»-LAYER  —  супер-плавность и вау-эффекты
   ===================================================================== */

/* 1. Плавное переключение страниц (SPA fade)
   --------------------------------------------------------------- */
@keyframes pageFadeIn {
    0%   { opacity: 0; transform: translateY(0) scale(0.8); }
    100% { opacity: 1; transform: translateY(0)   scale(1);    }
}
body {
    animation: pageFadeIn 1s ease-out;
}

/* 2. Универсальный transition-контейнер для всех интерактивных действий
   --------------------------------------------------------------- */
* {
    transition:
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.6,0,.2,1),
        background-color 0.6s ease,
        box-shadow 0.6s ease,
        border-color 0.6s ease,
        filter 0.6s ease;
}

/* 3. Улучшенные hover-эффекты для кнопок/карточек
   --------------------------------------------------------------- */
.btn,
.btn-form,
.buy,
.cart-item-image,
.price,
.checkout-btn,
.clear-cart-btn {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);               /* аппаратное ускорение */
    transition:
        transform 0.5s cubic-bezier(0.6,0,.2,1),
        box-shadow 0.5s ease,
        background-color 0.5s ease;
}
.btn:hover,
.btn-form:hover,
.buy:hover,
.cart-item-image:hover,
.price:hover,
.checkout-btn:hover,
.clear-cart-btn:hover {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* 4. «Лёгкая» магнитная анимация для всех интерактивных элементов
   --------------------------------------------------------------- */

/* 5. Живое нажатие (spring)
   --------------------------------------------------------------- */
.btn:active,
.btn-form:active,
.cart-item-image:active,
.buy:active,
.price:active,
.checkout-btn:active,
.clear-cart-btn:active {
    transform: translateY(0) scale(.96);
    transition-duration: .1s;
}

/* 6. Анимация появления секций при скролле
   --------------------------------------------------------------- */
@keyframes slideUp {
    0%   { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0);    }
}

/* 7. «Блик»-эффект при наведении (glassmorphism)
   --------------------------------------------------------------- */
.btn::after,
.cart-item-image::after,
.btn-form::after,
.buy::after,
.price::after,
.checkout-btn::after,
.clear-cart-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at center,
                        rgba(255,255,255,.3) 40%,
                        rgba(255,255,255,.6) 43%);
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
    transition: opacity 0.7s ease, transform .9s ease;
    pointer-events: none;
}
.btn:hover::after,
.btn-form:hover::after,
.buy:hover::after,
.price:hover::after,
.checkout-btn:hover::after,
.clear-cart-btn:hover::after {
    opacity: 0.5;
    transform: scale(1.02) rotate(0deg);
}

/* 8. Плавное появление модальных окон
   --------------------------------------------------------------- */
@keyframes modalBounce {
    0%   { opacity: 0; transform: translateY(0) scale(0.9); }
    60%  { opacity: 1; transform: translateY(0)  scale(0.95); }
    100% { opacity: 1; transform: translateY(0)    scale(1);    }
}
.delivery,
.delivery-modal {
    animation: modalBounce 0.6s cubic-bezier(0.6,0,00.6,1);
}

/* 9. Улучшенная анимация счётчика товаров
   --------------------------------------------------------------- */
.cart-counter {
    transition:
        transform .3s cubic-bezier(.68,-0.55,.27,1.55),
        color .3s ease;
}
@keyframes cartPulse {
    0%   { transform: scale(0.9);   }
    50%  { transform: scale(0.95); }
    100% { transform: scale(1);   }
}

/* 10. «Живая» тень при наведении на карточки меню
   --------------------------------------------------------------- */
.menu-item {
    transition:
        transform 0.5s cubic-bezier(0.6,0,.2,1),
        box-shadow 0.5s ease;
}
.menu-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

/* 11. Плавное появление строк таблицы
   --------------------------------------------------------------- */
@keyframes rowSlide {
    0%   { opacity: 0; transform: translateX(0); }
    100% { opacity: 1; transform: translateX(0);    }
}
.desktop-table tr.menu-table,
.mobile-table-item {
    animation: rowSlide .5s ease forwards;
}
.desktop-table tr:nth-child(odd)  { animation-delay: .05s; }
.desktop-table tr:nth-child(even) { animation-delay: .1s; }

/* 12. Микро-анимация иконок соцсетей
   --------------------------------------------------------------- */
.social-links a {
    transition:
        transform 0.5s cubic-bezier(0.6,0,.2,1),
        background-color 0.5s ease;
}
.social-links a:hover {
    transform: translateY(-2px) rotate(5deg);
}

/* 13. Лёгкий параллакс для героического блока
   --------------------------------------------------------------- */
.hero {
    background-attachment: fixed;
    transform: translateZ(0);
}

/* 14. Плавное исчезновение уведомлений
   --------------------------------------------------------------- */

/* 15. «Появление по очереди» для пунктов меню
   --------------------------------------------------------------- */

/* 16. Плавное переключение табов
   --------------------------------------------------------------- */
.tab-pane,
.tab-content {
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.tab-pane:not(.active),
.tab-content:not(.active) {
    opacity: 0;
    transform: translateY(10px);
}
.tab-pane.active,
.tab-content.active {
    opacity: 1;
    transform: translateY(0);
}

/* 17. «Мягкое» увеличение изображений
   --------------------------------------------------------------- */
.menu-item img {
    transition: transform .6s cubic-bezier(0.6,0,.2,1);
}
.menu-item:hover img {
    transform: scale(1.05);
}

/* 18. Плавное подчёркивание ссылок
   --------------------------------------------------------------- */
.nav ul li a,
.footer-col a {
    position: relative;
}
.nav ul li a::after,
.footer-col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.5s ease;
}
.nav ul li a:hover::after,
.footer-col a:hover::after {
    width: 100%;
}

/* 19. Анимация «пульс» для важных кнопок
   --------------------------------------------------------------- */
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(205,23,25,0.6); }
    70%  { box-shadow: 0 0 0 12px rgba(205,23,25,0); }
    100% { box-shadow: 0 0 0 0 rgba(205,23,25,0); }
}


