@import "../auto-fonts.php";
@import "../auto-colors.php";
:root {
  --font-logo: "Magistral", serif;
  --font-text: "proxima-nova", sans-serif;
  --font-heading: "Inter", sans-serif;
  --ui-surface: var(--white, #fff);
  --ui-surface-muted: var(--bg-light, #f5f5f5);
  --ui-text: var(--surface-text, var(--light-text, #1f2328));
  --ui-text-muted: var(--surface-text-muted, var(--light-text, #5f6368));
  --ui-border: var(--border-color, rgba(0, 0, 0, 0.14));
  --ui-accent: var(--primary-color, #cd1719);
  --ui-accent-hover: var(--primary-dark, #a11214);
  --ui-accent-contrast: var(--white, #fff);
  --ui-danger: var(--accent-color, #b3261e);
  --ui-success: var(--agree, #2e7d32);
  --ui-focus-ring: var(--primary-color, #cd1719);
  --ui-focus-shadow: rgba(var(--primary-color-rgb), 0.22);
  --ui-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
  --ui-shadow-hover: 0 4px 14px rgba(0, 0, 0, 0.16);
  --ui-disabled-bg: var(--ui-surface-muted);
  --ui-disabled-text: var(--ui-text-muted);
  --ui-disabled-border: var(--ui-border);
  --ui-oauth-google-bg: #000;
  --ui-oauth-google-hover: #1f2328;
  --ui-oauth-google-text: #fff;
  --ui-oauth-yandex-bg: #c43616;
  --ui-oauth-yandex-hover: #a82b10;
  --ui-oauth-yandex-text: #fff;
  --ui-oauth-vk-bg: #2f5f9f;
  --ui-oauth-vk-hover: #274e84;
  --ui-oauth-vk-text: #fff;
}
@supports (-webkit-overflow-scrolling: touch) {
  .header {
    font-display: swap;
    position: -webkit-sticky;
    position: sticky;
  }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  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;
}
body,
html {
  background: var(--bg-light);
  color: var(--light-text);
  cursor: default;
  font-family: var(--font-text);
  line-height: 1.6;
  opacity: 1;
  overflow-x: hidden;
  scroll-behavior: smooth;
  transition: opacity 0.5s ease-in-out;
  -webkit-user-select: none;
  user-select: none;
}
input,
textarea,
[contenteditable] {
  -webkit-user-select: text;
  cursor: text;
  user-select: text;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 5px 0;
}
p {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
}
a {
  font-family: var(--font-heading);
}
:is(
    .tab-btn,
    .admin-tab-btn,
    .checkout-btn,
    .status-btn,
    .status-btn-r,
    .save-role-btn,
    .auth-link,
    .back-to-menu-btn,
    .btn,
    .mobile-table-btn,
    .pay-link-btn
  ):focus-visible {
  box-shadow: 0 0 0 3px var(--ui-focus-shadow);
  outline: 2px solid var(--ui-focus-ring);
  outline-offset: 2px;
}
:is(input, textarea, select):focus-visible {
  border-color: var(--ui-focus-ring);
  box-shadow: 0 0 0 3px var(--ui-focus-shadow);
  outline: 2px solid var(--ui-focus-ring);
  outline-offset: 1px;
}
.show-password-checkbox {
  vertical-align: middle;
  width: fit-content !important;
}
.password-input {
  margin-bottom: 5px;
}
.show-password-label {
  cursor: pointer;
  font-size: 16px;
  vertical-align: middle;
}
.mobile-menu-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 20px;
  justify-content: space-between;
  margin-left: 15px;
  padding: 0;
  position: relative;
  width: 22px;
  z-index: 1001;
}
.mobile-menu-btn:focus-visible {
  outline: 2px solid var(--ui-accent, #2563eb);
  outline-offset: 4px;
}
.burger-line {
  background-color: var(--white);
  border-radius: 4px;
  display: block;
  height: 4px;
  transition: all 0.6s ease;
  width: 100%;
}
.mobile-menu-btn.active .burger-line:first-child {
  transform: translateY(6px) rotate(45deg);
}
.mobile-menu-btn.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: rotate(-45deg);
}
.mobile-menu-btn.active .burger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
@media (min-width: 1250px) {
  .mobile-menu-btn {
    display: none;
  }
}
@media (max-width: 1250px) {
  .mobile-menu-btn {
    display: flex;
  }
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translate(0);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes addToCart {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}
@keyframes modalSlideIn {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes rowHover {
  0% {
    background-color: inherit;
  }
  to {
    background-color: var(--bg-light);
  }
}
@keyframes slide-in {
  0% {
    transform: translate(100%);
  }
  to {
    transform: translate(0);
  }
}
@keyframes fade-out {
  0% {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 #cd1719b3;
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 12px #cd171900;
    transform: scale(1.05);
  }
  to {
    box-shadow: 0 0 #cd171900;
    transform: scale(1);
  }
}
.auth-tab {
  background: var(--bg-light);
  border: 1px solid var(--bg-light);
  color: var(--ui-text);
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
}
.auth-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}
.container {
  margin: auto;
  width: 80%;
  padding-bottom: 2%;
}
.container-cart {
  margin: -25px 5%;
  width: 90%;
}
.cart-items-container {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.cart-item {
  align-items: center;
  background: var(--white);
  border-radius: 25px;
  display: flex;
  justify-content: space-between;
  padding: 3%;
  position: sticky;
  margin-bottom: 10px;
}
.cart-item-info {
  font-family: var(--font-text);
}
.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 {
  border-radius: 8px;
  height: auto;
  margin-right: 10%;
  object-fit: cover;
  width: 9vw;
}
.cart-item-title {
  color: var(--light-text);
  font-weight: 600;
  margin-bottom: 10px;
  max-width: 8vw;
  width: 100%;
}
.cart-item-price {
  color: var(--primary-color);
  font-weight: 500;
}

.menu-item-quantity {
  align-items: center;
  background-color: var(--primary-color);
  border-radius: 28px;
  color: var(--white);
  display: inline-flex;
  flex-direction: column;
  float: right;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.cart-item-quantity {
  align-items: center;
  background-color: var(--agree);
  border-radius: 28px;
  color: var(--white);
  display: inline-flex;
  flex-direction: column;
  float: right;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}
.download-button-container {
  background-color: var(--bg-light);
  border: 1px solid var(--light-text);
  border-radius: 2px;
  color: var(--primary-dark);
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-text);
  font-size: 16px;
  margin-left: 10px;
  padding: 0 17px;
  text-decoration: none;
}
.download-button-container:hover {
  background-color: var(--white);
  border-color: var(--light-text);
  color: var(--text-color);
}
.cart-counter {
  font-size: 0;
}
.cart-menu-item a {
  color: var(--white);
  transition: color 0.2s;
}
.cart-menu-item a .cart-counter[data-value]:not([data-value="0"]),
.cart-menu-item a.has-items {
  color: var(--primary-color);
}
.desktop-table {
  border-bottom: 1px solid var(--text-color);
  border-collapse: separate;
  border-radius: 8px;
  border-spacing: 0;
  box-shadow: 0 4px 12px #0000000d;
  display: table;
  font-family: var(--font-heading);
  margin: 20px 0;
  overflow: hidden;
  width: 100%;
  margin-bottom: 100px;
}
.desktop-table th {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 10px;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 10;
}
.desktop-table th.first-col {
  padding: 15px 20px;
  text-align: center;
}
.desktop-table th.last-col {
  padding: 12px 8px;
  text-align: center;
}
.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 {
  background-color: var(--white);
  transition: all 0.2s ease;
}
.desktop-table tr.menu-table:nth-child(2n) {
  background-color: var(--bg-light);
}
.desktop-table tr.menu-table:hover {
  animation: rowHover 0.01s ease forwards;
  background-color: var(--bg-light);
  box-shadow:
    0 4px 6px #00000012,
    inset 5px 0 0 0 var(--primary-color),
    inset -8px 0 0 0 var(--primary-color);
  box-sizing: border-box;
  transform: translate(3px);
}
.desktop-table td {
  border-bottom: 1px solid var(--text-color);
  border-left: 1px solid var(--text-color);
  border-right: 1px solid var(--text-color);
  font-size: 16px;
  padding: 10px;
  text-align: center;
  width: fit-content;
}
.desktop-table tr.last-row td {
  border-bottom: none;
  display: none;
}
.desktop-table tr:last-child td {
  border-bottom: none;
}
.desktop-table .checkout-btn {
  background-color: var(--primary-color);
  border: none;
  border-radius: 25px;
  color: var(--white);
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  min-width: 100px;
  padding: 6px 12px;
  text-align: center;
  transition: all 0.3s ease;
}
.desktop-table .checkout-btn:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 2px 6px #0000001a;
  transform: translateY(-1px);
}
.modal-strong {
  display: inline-block;
  min-width: 90px;
}
.address-suggestions {
  background: var(--white);
  border: 1px solid var(--light-text);
  border-radius: 4px;
  box-shadow: 0 2px 10px #0000001a;
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  z-index: 10000;
}
.address-suggestions div {
  border-bottom: 1px solid var(--light-text);
  cursor: pointer;
  padding: 10px;
  transition: background-color 0.2s;
}
.address-suggestions div:hover {
  background-color: var(--bg-light);
}
.address-suggestions div:last-child {
  border-bottom: none;
}
.location-permission-hint {
  color: #666;
  display: block;
  font-size: 0.9em;
}
.remember-me {
  display: flex;
  gap: 5w;
  width: fit-content;
}
.custom-checkbox {
  align-items: center;
  justify-items: center;
  margin-right: 10px !important;
  padding: 0 !important;
  width: fit-content !important;
}
.fas fa-motorcycle {
  font-size: 14px;
}
.quantity-btn {
  align-items: center;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  font-weight: 600;
  justify-content: center;
  min-height: 40px;
  min-width: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.quantity-btn:hover {
  background: none;
}
.cart-summary-container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  margin-top: 20px;
  padding: 0 10px;
}
.nutrition-summary {
  color: var(--light-text);
  display: flex;
  font-size: 14px;
  gap: 40px;
  transition: opacity 0.3s ease;
}
.nutrition-item {
  align-items: center;
  display: flex;
  transition: transform 0.2s ease;
}
.quantity-btn:active + .nutrition-summary .nutrition-item {
  transform: scale(1.05);
}
.cart-total {
  font-size: 20px;
  font-weight: 600;
  margin: 0 20px 20px 0;
  padding-top: 20px;
  text-align: right;
}
.clear-cart-btn {
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  padding: 12px 30px;
  transition: background-color 0.3s;
}
.clear-cart-btn:hover {
  background-color: var(--primary-dark);
}
.empty-cart p {
  color: var(--light-text);
  font-size: 18px;
  margin-bottom: 20px;
}
.menu-view-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0;
}
.menu-view-options label {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-items: center;
}
.menu-view-options input[type="radio"] {
  margin: 0;
  width: 10%;
}
.delivery-details {
  font-size: 0.9em;
  margin-left: 5px;
}
.delivery-meta {
  align-items: center;
  color: var(--light-text);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
}
.delivery-icon-text i {
  color: var(--primary-color);
  margin-right: 4px;
}
.delivery-details {
  color: var(--light-text);
}
.delivery {
  align-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background-color: #00000080;
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.delivery.visible {
  display: flex;
}
.delivery-content {
  background-color: var(--white);
  border-radius: 25px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-height: 90%;
  overflow-y: auto;
  padding: 28px 24px;
  width: 25%;
}
.delivery-modal {
  align-items: center;
  background-color: #00000080;
  display: flex;
  display: none;
  height: 100%;
  justify-content: center;
  padding: 20px;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
.delivery-modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 20px;
}
.delivery-modal-buttons .checkout-btn {
  border-radius: 14px;
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 20px;
}
.delivery-modal-content {
  background-color: var(--white);
  border-radius: 25px;
  box-shadow: 0 4px 20px #00000026;
  height: 100%;
  overflow-y: auto;
  width: 45%;
}
.delivery-extra-block {
  background-color: var(--bg-light);
  border: none;
  border-radius: 14px;
  margin-top: 15px;
  padding: 16px;
}
.delivery-extra-block.visible {
  display: block;
}
#deliveryAddressBlock,
#tableQrBlock {
  margin-top: 15px;
  width: 100%;
}
#deliveryAddress {
  border: 2px solid var(--bg-light);
  border-radius: 12px;
  box-sizing: border-box;
  font-size: 16px;
  margin-top: 5px;
  padding: 14px 16px;
  transition: border-color 0.2s;
  width: 100%;
}
#deliveryAddress:focus {
  border-color: var(--primary-color);
  outline: none;
}
.delivery input[type="tel"],
.delivery input[type="number"] {
  border: 2px solid var(--bg-light);
  border-radius: 12px;
  font-size: 16px;
  padding: 14px 16px;
  transition: border-color 0.2s;
}
.delivery input[type="tel"]:focus,
.delivery input[type="number"]:focus {
  border-color: var(--primary-color);
  outline: none;
}
.address-input-wrapper {
  align-items: center;
  display: flex;
  gap: 8px;
}
.address-input-wrapper #deliveryAddress {
  flex: 1;
  margin-top: 0;
}
.detect-location-btn {
  align-items: center;
  background: var(--bg-light);
  border: 2px solid var(--bg-light);
  border-radius: 12px;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  font-size: 1.2em;
  height: 44px;
  justify-content: center;
  transition: background 0.2s;
  width: 44px;
}
.detect-location-btn:hover {
  background: var(--primary-color);
  color: #fff;
}
.detect-location-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.location-permission-hint {
  font-style: italic;
  margin-top: 5px;
}
.scan-btn {
  border: none;
  border-radius: 14px;
  color: var(--white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
  padding: 14px 20px;
  transition: background 0.3s;
  width: 100%;
}
.scan-btn,
.scan-btn:hover {
  background: var(--primary-color);
}
.qr-scanner-container {
  background-color: var(--primary-dark);
  border: 2px dashed var(--light-text);
  border-radius: 14px;
  height: 240px;
  margin: 10px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.qr-scanner-container:before {
  border: 2px solid var(--agree);
  border-radius: 25px;
  box-shadow: 0 0 0 4000px #0000004d;
  content: "";
  height: 200px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  z-index: 1;
}
.qr-scanner-container video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.order-message {
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 16px;
  margin: 20px 0;
  padding: 15px;
  text-align: center;
}
.order-message.success {
  background-color: var(--agree);
  border-color: var(--light-text);
}
.order-message.error {
  background-color: var(--bg-light);
  border-color: var(--light-text);
  color: var(--brown);
}
.order-message.warning {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--procces);
}
.order-message.info {
  background-color: var(--bg-light);
  border-color: var(--light-text);
  color: var(--brown);
}
.camera-instructions {
  font-size: 14px;
  line-height: 1.4;
  margin-top: 10px;
  text-align: left;
}
.camera-instructions ol {
  margin: 8px 0;
  padding-left: 20px;
}
.camera-instructions li {
  margin-bottom: 5px;
}
.delivery-options {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0;
}
.delivery-option,.payment-option {
  background: var(--bg-light);
  border: 2px solid var(--primary-color);
  border-radius: 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.2s ease;
}
.delivery-option:hover,.payment-option:hover {
  background: var(--white);
  border-color: var(--primary-color);
}
.delivery-option.active,.payment-option.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.03);
}
.delivery h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}
.delivery p,
.delivery label {
  color: var(--light-text);
  font-size: 14px;
  line-height: 1.5;
}
.order-customer-info i {
  color: var(--light-text);
  margin-right: 5px;
}
.order-customer-info span {
  align-items: center;
  display: flex;
}
.divider {
  border: none;
  border-top: 1px solid var(--light-text);
  width: 100%;
}
.auth-container {
  background: var(--white);
  border-radius: 25px;
  box-shadow: 0 5px 15px #0000001a;
  margin: 100px auto;
  max-width: 500px;
  padding: 30px;
}
.auth-tabs {
  border-bottom: 1px solid var(--light-text);
  display: flex;
  margin-bottom: 30px;
}
.auth-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  flex: 1;
  font-size: 18px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s;
}
.auth-tab.active {
  border-bottom-color: var(--primary-color);
  font-weight: 700;
}

.auth-form input {
  border: 1px solid var(--light-text);
  border-radius: 4px;
  font-size: 16px;
  padding: 12px 15px;
  width: 100%;
}
.auth-link {
  text-align: center;
}
.auth-errors {
  background: var(--white);
  border-radius: 4px;
  color: var(--accent-color);
  margin-bottom: 20px;
  padding: 15px;
}

.success-message {
  background: var(--agree);
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 15px;
}
.account-menu-item a {
  align-items: center;
  color: var(--white);
  display: flex;
  gap: 8px;
  text-decoration: none;
}
.admin-tabs-container {
  margin-bottom: 30px;
}
.admin-tabs {
  display: flex;
  gap: 0;
}
.admin-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--light-text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  padding: 15px 20px;
  transition: all 0.3s ease;
}
.admin-tab-btn.active,
.admin-tab-btn:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}
.admin-tab-pane {
  display: none;
}
.admin-tab-pane.active {
  display: block;
}
.account-menu-item i {
  font-size: 18px;
}
.orders-list {
  margin-top: 20px;
}
.order-toggle-icon {
  flex: 0 0 auto;
  min-width: 20px;
  text-align: center;
}
.employee-toggle-icon {
  color: var(--light-text);
  display: contents;
  font-size: 14px;
  margin-left: -3px;
  transform: translateY(-1%);
  transition: all 0.3s ease;
}
.employee-toggle-icon.active,
.order-header.active .order-toggle-icon {
  transform: translateY(-1%) rotate(180deg);
}
.order-id {
  color: var(--primary-color);
  font-weight: 700;
}
.order-date,
.order-id {
  line-height: 1.3;
  min-width: 50px;
  white-space: pre-wrap;
  word-break: break-word;
}
.order-date {
  color: var(--light-text);
  font-size: 14px;
}
.order-status {
  flex: 0 0 auto;
  min-width: 110px;
  text-align: center;
}
.order-total {
  flex: 0 0 auto;
  font-weight: 700;
  min-width: 60px;
  text-align: right;
}
.order-items {
  display: none;
}
.repeat-order-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.mobile-table-container {
  display: none;
}
.mobile-table {
  display: block;
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}
.mobile-table table {
  min-width: 600px;
}
.mobile-table-item {
  background: var(--white);
  border: 1px solid var(--light-text);
  border-radius: 25px;
  box-shadow: 0 0 5px #0000001a;
  display: flex;
  flex-direction: column;
  margin: 20px;
  padding: 20px;
}
.mobile-table-row {
  display: flex;
  justify-content: space-between;
}
.mobile-table-btn {
  background-color: var(--primary-color);
  border: none;
  border-radius: 25px;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 14px;
  padding: 4px 4vh;
}
.mobile-table-btn i {
  margin-right: 5px;
}
.form-actions {
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.desktop-table table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.admin-form-group label input[type="checkbox"] {
  display: inline-block;
  margin-right: 8px;
  width: auto;
}
.mobile-table-label {
  color: var(--light-text);
  font-weight: 500;
  min-width: 100px;
}
.mobile-table-value {
  color: var(--light-text);
  flex-grow: 1;
  text-align: right;
}
.mobile-table-actions {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}
.message {
  border-radius: 5px;
  margin: 20px 0;
  padding: 15px;
  text-align: center;
}
.message.success {
  background-color: var(--agree);
}
.message.error {
  background-color: var(--bg-light);
  color: var(--brown);
}
.admin-form-container {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px #0000001a;
  margin: 0 3% 80px;
  padding: 25px;
}
.admin-form-container h3 {
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
}
.admin-form-group {
  margin-bottom: 20px;
}
.admin-form-group label {
  color: var(--light-text);
  display: block;
  font-weight: 600;
}
.admin-form-group input {
  padding: 10px;
}
.admin-form-group input,
.admin-form-group textarea {
  font-size: 16px;
  transition: border-color 0.3s ease;
  width: 100%;
}
.admin-form-group textarea {
  border: 2px solid var(--bg-light);
  border-radius: 6px;
  padding: 12px 15px;
}
.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);
  display: block;
  font-size: 12px;
  margin-top: 5px;
}
.btn,
.btn-form {
  background-color: var(--primary-color);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 18px;
  overflow: hidden;
  padding: 12px 30px;
  position: relative;
  text-decoration: none;
}
#orderMessage,
.btn,
.btn-form {
  color: var(--white);
  font-weight: 500;
}
#orderMessage {
  border-radius: 5px;
  display: none;
  font-size: 16px;
  margin: 20px 0;
  padding: 15px;
  text-align: center;
}
.success {
  background-color: var(--agree);
}
.error {
  background-color: var(--accent-color);
}
.btn {
  margin: 20px 30px;
}
.btn-form {
  margin: 25px;
}
.btn:after {
  background: #fff3;
  border-radius: 100%;
  content: "";
  height: 5px;
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: scale(1) translate(-50%);
  transform-origin: 50% 50%;
  width: 5px;
}
.btn:focus:not(:active):after {
  animation: ripple 1s ease-out;
}
.btn-form:hover,
.btn:hover {
  background-color: var(--secondary-color);
}
.section {
  padding: 0;
}
.section-header {
  margin: 80px 0;
  text-align: center;
}
.section-header h2 {
  color: var(--primary-color);
  font-size: 36px;
  margin: 10px;
}
.section-header p {
  font-size: 26px;
  font-weight: 700;
  margin: 20px;
}
.section-header-menu {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  min-height: 72px;
  margin: auto;
  padding: clamp(50px, 50px, 104px) 8% 0;
  position: relative;
  height: auto;
}
body.cart-page #menu {
  padding-top: 60px;
}
.order-item {
  background: var(--white);
  border: 1px solid var(--light-text);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px;
}
.status-btn {
  background: var(--agree);
}
.status-btn,
.status-btn-r {
  border: none;
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-text);
  margin-left: 5px;
  padding: 8px 16px;
  transition: background 0.3s;
}
.status-btn-r {
  background: var(--accent-color);
}
.status-btn:hover {
  background: var(--agree);
}
.tab-content {
  transition: opacity 0.3s ease;
}
.tab-content:not(.active) {
  height: 0;
  opacity: 0;
  overflow: hidden;
}
.tab-content.active {
  height: auto;
  opacity: 1;
}
.order-status {
  border: none;
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-text);
  font-size: 14px;
  padding: 5px 16px;
  transition: background 0.3s;
}
.order-summary-btn {
  padding: 10px 20px;
}
.back-to-menu-btn,
.order-summary-btn {
  align-items: center;
  background-color: var(--primary-color);
  border-radius: 25px;
  color: var(--white);
  display: flex;
  font-weight: 600;
  gap: 8px;
  margin: 0;
  text-decoration: none;
  transition: background-color 0.3s;
}
.back-to-menu-btn {
  justify-content: center;
  padding: 8px 15px;
}
.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 {
  align-items: center;
  display: flex;
}
.section-header-quick-actions {
  gap: 10px;
  width: 100%;
}
.section-header-nav-actions {
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.section-header-nav-actions .back-to-menu-btn {
  margin: 0;
}
.back-to-menu-btn:hover,
.order-summary-btn:hover {
  background-color: var(--primary-dark);
}
.btn-inline-icon {
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}
.order-summary-btn .order-total {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  margin-right: 5px;
}
.header {
  background-color: var(--secondary-color);
  box-shadow: 0 2px 10px #0000001a;
  left: 0;
  position: fixed;
  top: 0;
  transition: all 0.4s ease;
  width: 100%;
  z-index: 1000;
}
.header-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 8%;
}
@media (min-width: 1251px) {
  /* On desktop the burger isn't shown, so wrapping was creating a
     two-row header. Force a single row; nav-more dropdown absorbs overflow. */
  .header-inner {
    flex-wrap: nowrap;
    gap: 24px;
  }
}
.image {
  height: auto;
  max-width: 100%;
  object-fit: contain;
  width: 100vw;
}
.logo a {
  align-items: center;
  animation: slideInFromLeft 1s ease-out;
  color: var(--primary-color);
  display: flex;
  font-family: var(--font-logo);
  font-size: 46px;
  font-weight: 700;
  height: 60px;
  text-decoration: none;
}
.nav {
  font-size: 20px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}
.nav ul li {
  justify-content: center;
  margin: 0 18px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  transition: color 1s ease;
}
.nav ul li a:hover {
  color: var(--primary-color);
}

/* "Ещё" dropdown — desktop only.
   On mobile (<= 1250px) the wrapper dissolves so the secondary items
   render flat inside the existing burger-menu column.

   IMPORTANT specificity note: `.nav ul { display: flex }` higher up
   has specificity 0,1,1 — so naked `.nav-more-menu { display: none }`
   (0,1,0) loses the cascade and the menu would always render flex.
   We prefix every `.nav-more*` rule with `.nav` to win. */
.nav .nav-more,
.nav .nav-more-menu {
  display: contents;
}
.nav-more-toggle {
  display: none;
}
@media (min-width: 1251px) {
  .nav .nav-more {
    display: list-item;
    position: relative;
  }
  .nav .nav-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 0;
    color: var(--text-color);
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
  }
  .nav .nav-more-toggle:hover,
  .nav .nav-more-toggle:focus-visible {
    color: var(--primary-color);
    outline: none;
  }
  .nav .nav-more-toggle .nav-more-caret {
    font-size: 0.85em;
    line-height: 1;
    transition: transform 0.2s ease;
  }
  .nav .nav-more.is-open .nav-more-toggle .nav-more-caret {
    transform: rotate(180deg);
  }
  .nav .nav-more-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: var(--ui-surface);
    border: 1px solid var(--ui-border);
    border-radius: var(--shell-radius-soft);
    box-shadow: var(--shell-shadow-soft);
    margin: 12px 0 0;
    padding: 8px 0;
    list-style: none;
    z-index: 100;
    flex-direction: column;
  }
  .nav .nav-more.is-open .nav-more-menu {
    display: block;
  }
  .nav .nav-more-menu li {
    margin: 0;
    text-align: left;
    white-space: nowrap;
  }
  .nav .nav-more-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--ui-text);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .nav .nav-more-menu a:hover,
  .nav .nav-more-menu a:focus-visible {
    background: var(--ui-surface-muted);
    color: var(--primary-color);
    outline: none;
  }
  .nav .nav-more-menu .lang-picker-item {
    border-top: 1px solid var(--ui-border);
    margin-top: 4px;
    padding: 8px 12px 4px;
    display: flex;
    gap: 6px;
    justify-content: flex-start;
  }
  .nav .nav-more-menu .lang-picker-item .lang-picker-link {
    padding: 4px 10px;
  }
}
.phone a {
  color: var(--white);
  font-size: 24px;
  font-weight: 500;
  text-decoration: none;
}
.section-header-menu h2 {
  animation: fadeInDown 1s ease;
  color: var(--ui-text);
  font-size: 36px;
  line-height: 1.2;
  margin: 0;
  padding-top: 0;
}
.hero {
  align-items: center;
  color: var(--white);
  display: flex;
  height: 100vh;
  justify-content: center;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}
.hero__bg {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}
.hero__bg img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}
.hero__bg:after {
  background: linear-gradient(#000000b3, #000000b3);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero:before {
  background-color: #000000b3;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.hero-content {
  max-width: 700px;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  animation: fadeInDown 1s ease;
  font-size: 12rem;
  font-weight: 500;
  height: 160px;
  margin-bottom: 50px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-content p {
  animation: fadeInUp 1s ease 1s both;
  font-size: 1.5rem;
}
.about-content,
.form-content {
  align-items: center;
  display: flex;
}
.form-content {
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
}
.about-text {
  flex: 1;
  font-size: 24px;
}
.about-text p {
  margin: 0 120px 40px 40px;
  padding: 0;
  text-align: justify;
}
.about-image {
  flex: 1;
}
.about-image img {
  box-shadow: 0 5px 15px #0000001a;
  width: 100%;
}
.tab-btn {
    background: var(--ui-surface-muted);
    border: 1px solid var(--ui-border);
    border-bottom: 2px solid var(--ui-border);
    border-radius: 25px;
    color: var(--ui-text-muted);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin: 0 5px;
    min-height: 40px;
    padding: 10px 20px;
    transition: background-color 0.2s ease, color 0.2s ease, border-bottom-color 0.2s ease;
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--ui-surface);
  border-color: var(--ui-border);
  border-bottom-color: var(--primary-color);
  color: var(--ui-accent);
}
.tab-pane {
  display: none;
  gap: 10px;
}
.tab-pane.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.menu-content {
  margin: 30px auto;
  width: 95%;
}
.menu-tabs-container {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  background: var(--ui-surface);
  border-top: 1px solid var(--ui-border);
  bottom: 0;
  box-shadow: var(--ui-shadow-soft);
  left: 0;
  position: fixed;
  right: 0;
  white-space: nowrap;
  z-index: 100;
}
.menu-tabs-container,
.menu-tabs-container.visible {
  opacity: 1;
  visibility: visible;
}
.menu-tabs {
  display: inline-flex;
  justify-content: center;
  min-width: 100%;
  padding: 10px 0;
}
.menu-tabs-container::-webkit-scrollbar {
  background: transparent;
  height: 0;
}
.menu-item {
  border-radius: 25px;
  box-shadow: 0 0 10px #00000080;
  overflow: hidden;
  transition:
    box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.menu-item,
.menu-item h3 {
  background: var(--white);
  position: relative;
}
.menu-item h3 {
  font-size: 22px;
  margin: 0;
  padding: 10px 30px;
  text-align: center;
  z-index: 500;
}
.menu-item p {
  color: var(--light-text);
  font-size: 18px;
  padding: 0 30px 10px;
  text-align: center;
}
.menu-item img {
  height: auto;
  object-fit: cover;
  transition: transform 2s ease;
  width: 100%;
}
.price {
  align-items: center;
  background-color: var(--light-text);
  border: none;
  border-radius: 25px;
  color: var(--white);
  display: inline-flex;
  float: left;
  font-size: 20px;
  font-weight: 500;
  justify-content: center;
  margin: 0 0 35px 35px;
  overflow: hidden;
  padding: 5px 16px;
  position: relative;
  text-decoration: none;
}
.menu-table {
  border-bottom: 1px solid var(--light-text);
  color: var(--light-text);
  font-size: 18px;
  line-height: calc(1em + 10px);
}
.cart-item-info {
  align-items: center;
  display: flex;
  flex: 1;
  position: sticky;
  top: 60px;
  z-index: 90;
}
.cart-item-price {
  color: var(--light-text);
}

.menu-item-quantity > span {
  cursor: default;
  font-size: 14px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-quantity > span {
  cursor: default;
  font-size: 20px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}
.checkout-btn {
  background-color: var(--ui-accent);
  border: 1px solid transparent;
  border-radius: 25px;
  color: var(--ui-accent-contrast);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 40px;
  padding: 8px 16px;
}
.checkout-btn:disabled,
.checkout-btn[disabled] {
  background: var(--ui-disabled-bg);
  border-color: var(--ui-disabled-border);
  box-shadow: none;
  color: var(--ui-disabled-text);
  cursor: not-allowed;
  opacity: 1;
  pointer-events: none;
}
.checkout-btn:hover {
  background-color: var(--ui-accent-hover);
  color: var(--ui-accent-contrast);
}
.empty-cart {
  color: var(--light-text);
  padding: 50px 0;
  text-align: center;
}
.clear-cart-container {
  border-bottom: 1px solid var(--light-text);
  border-top: 1px solid var(--light-text);
  display: flex;
  justify-content: space-between;
  padding: 2% 4%;
}
.clear-cart-btn {
  background-color: var(--bg-light);
  border: none;
  border-radius: 4px;
  color: var(--text-color);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  padding: 12px 24px;
  transition: all 0.3s ease;
}
.clear-cart-btn:hover {
  background-color: var(--white);
}
.hidden {
  display: none !important;
}
.flex,
.visible {
  display: flex !important;
}
.inline {
  display: inline !important;
}
.qr-result {
  background: var(--bg-light);
  border-radius: 12px;
  font-weight: 700;
  margin-top: 10px;
  padding: 12px;
  text-align: center;
}
.qr-manual-input-container {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.qr-manual-input {
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  padding: 8px 12px;
  width: 100px;
}
.qr-manual-btn {
  margin-top: 0;
  padding: 8px 16px;
}
.cancel-btn,
.cancel-btn:hover {
  color: var(--text-color);
}
.buy {
  align-items: center;
  background-color: var(--primary-color);
  border: none;
  border-radius: 28px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  float: right;
  font-size: 22px;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
  padding: 5px 17px;
  position: relative;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}
.buy-active {
  padding: 0;
}
.buy-counter {
  display: none;
}
.buy-counter.active {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.info .buy {
  margin: 0 35px 35px 0;
}
.info .buy-counter.active {
  flex-direction: row;
  padding: 5px 10px;
}
.info .menu-item p {
  padding: 0 30px;
}
.info .tab-pane {
  gap: 40px;
}
.buy-text {
  display: inline;
  font-weight: 600;
}
.buy-text.hidden {
  display: none;
}
.counter-minus,
.counter-plus {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  font-weight: 600;
  justify-content: center;
  min-height: 40px;
  min-width: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.counter-value {
  cursor: default;
  font-size: 20px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}
.reservation {
  background-color: var(--bg-light);
}
.reservation-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.reservation-form {
  align-items: center;
  background-color: var(--white);
  border-radius: 25px;
  flex: 1;
  justify-items: center;
  padding: 10px 30px;
}
.reservation-form h2 {
  color: var(--secondary-color);
  font-size: 28px;
  padding: 20px 0;
}
.form-group {
  font-family: var(--font-heading);
  margin-bottom: 10px;
}
.form-group input {
  border: 1px solid var(--light-text);
  border-radius: 25px;
  font-size: 16px;
  padding: 12px 15px;
  width: 100%;
}
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 40px 0 0;
}
.footer-inner {
  display: flex;
}
.footer-col {
  flex: 1 1 100%;
  margin: 0 0 20px 40px;
}
.footer-col h3 {
  color: var(--primary-color);
  font-size: 20px;
}
.footer-col p {
  font-size: 14px;
  margin-bottom: 10px;
}
.social-links {
  display: flex;
  gap: 15px;
  padding-top: 20px;
}
.social-links a {
  align-items: center;
  background-color: #ffffff1a;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  height: 40px;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  width: 40px;
}
.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  text-align: center;
}
.customer_orders-page,
.employee-page {
  margin: auto;
  width: 50%;
}
@media (max-width: 1920px) {
  .customer_orders-page,
  .employee-page {
    margin: auto;
    width: 60%;
  }
}
@media (max-width: 1250px) {
  .customer_orders-page,
  .employee-page {
    margin: auto;
    width: 90%;
  }
  .cart-item-image {
    width: 12vw;
  }
  .cart-item-title {
    max-width: 12vw;
  }
  @media (max-width: 768px) {
    #reservation .container {
      padding: 20px 0;
      width: 95%;
    }
    .reservation-form h2 {
      font-size: 24px;
      padding: 10px 0;
      text-align: center;
    }
    .form-group input {
      box-sizing: border-box;
      font-size: 16px;
      max-width: 100%;
      padding: 15px;
      width: 100%;
    }
    .btn-form {
      font-size: 18px;
      margin: 20px 0;
      padding: 15px;
      width: 100%;
    }
    .form-content {
      padding: 20px 0;
    }
  }
  .header-inner {
    padding: 0 5%;
  }
  .delivery-content {
    width: 40%;
  }
  .delivery-modal-content {
    height: fit-content;
    width: 60%;
  }
  .menu-item {
    border-radius: 40px;
  }
  .container {
    margin: auto;
    width: 85%;
  }
  .tab-pane.active {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-text p {
    font-size: 16px;
    margin: 0 40px 40px;
  }
  p {
    font-size: 18px;
  }
  .section-header {
    margin: 40px 0;
  }
  .section-header p {
    font-size: 22px;
    margin: 10px;
  }
  .nav {
    align-items: center;
    background: #0a0a0afa;
    display: none;
    flex-direction: column;
    font-size: 20px;
    height: auto;
    left: 0;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
  }
  .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 {
    font-size: 9rem;
    height: 120px;
  }
  .hero-content p {
    font-size: 18px;
  }
  .section-header h2 {
    font-size: 28px;
  }
}
@media (max-width: 992px) {
  .customer_orders-page {
    margin: auto;
    width: 95%;
  }
  .desktop-table {
    display: none;
  }
  .mobile-table-container {
    display: table;
    width: 100%;
  }
  .employee-page {
    margin: auto;
    width: 95%;
  }
  .cart-item-image {
    width: 14vw;
  }
  .cart-item-title {
    max-width: 14vw;
  }
  .delivery-content {
    width: 50%;
  }
  .about-content {
    flex-direction: column;
  }
  .delivery-modal-content {
    height: fit-content;
    width: 75%;
  }
  .container {
    margin: auto;
    width: 90%;
  }
  p {
    font-size: 16px;
  }
  .tab-pane.active {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .customer_orders-page,
  .employee-page {
    margin: auto;
    width: 100%;
  }
  .cart-item-image {
    width: 22vw;
  }
  .cart-item-title {
    max-width: 22vw;
  }
  .delivery-content {
    width: 70%;
  }
  .desktop-table {
    display: none;
  }
  .mobile-table-container {
    display: table;
    width: 100%;
  }
  .delivery-modal-content {
    height: fit-content;
    width: 90%;
  }
  .account-menu-item i {
    font-size: 24px;
  }
  .container {
    margin: auto;
    width: 100%;
  }
  .about-text p {
    font-size: 14px;
  }
  .tab-pane.active {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 470px) {
  .cart-item-image {
    width: 31vw;
  }
  .cart-item-title {
    max-width: 28vw;
  }
  .delivery-content {
    padding: 20px 16px;
    width: 90%;
  }
  .about-text p {
    font-size: 12px;
  }
  .delivery-modal-content {
    height: fit-content;
    width: 100%;
  }
  p {
    margin-bottom: 10px;
    padding: 5px 20px;
  }
  .tab-pane.active {
    grid-template-columns: repeat(1, 1fr);
  }
  .hero-content h1 {
    font-size: 9rem;
    height: 120px;
  }
}
@media (max-width: 410px) {
  .order-date {
    color: var(--light-text);
    font-size: 14px;
  }
}
body {
  opacity: 1;
}
* {
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.6, 0, 0.2, 1),
    background-color 0.6s ease,
    box-shadow 0.6s ease,
    border-color 0.6s ease,
    filter 0.6s ease;
}
.btn,
.btn-form,
.buy,
.cart-item-image,
.checkout-btn,
.clear-cart-btn,
.price {
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
  transition:
    transform 0.5s cubic-bezier(0.6, 0, 0.2, 1),
    box-shadow 0.5s ease,
    background-color 0.5s ease;
}
.btn-form:hover,
.btn:hover,
.buy:hover,
.cart-item-image:hover,
.checkout-btn:hover:not(:disabled):not([disabled]),
.clear-cart-btn:hover,
.price:hover {
  box-shadow: var(--ui-shadow-hover);
  transform: translateY(-2px) scale(1);
}
.btn-form:active,
.btn:active,
.buy:active,
.cart-item-image:active,
.checkout-btn:active:not(:disabled):not([disabled]),
.clear-cart-btn:active,
.price:active {
  transform: translateY(0) scale(0.96);
  transition-duration: 0.1s;
}
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-form:after,
.btn:after,
.buy:after,
.cart-item-image:after,
.checkout-btn:after,
.clear-cart-btn:after,
.price:after {
  background: radial-gradient(circle at center, #ffffff1a 36%, #ffffffb3 44%);
  content: "";
  height: 200%;
  left: -50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: -50%;
  transform: scale(0.5) rotate(0);
  transition:
    opacity 0.7s ease,
    transform 0.9s ease;
  width: 200%;
}
.btn-form:hover:after,
.btn:hover:after,
.buy:hover:after,
.checkout-btn:hover:not(:disabled):not([disabled]):after,
.clear-cart-btn:hover:after,
.price:hover:after {
  opacity: 0.5;
  transform: scale(1.02) rotate(0);
}
@keyframes modalBounce {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.delivery,
.delivery-modal {
  animation: modalBounce 0.6s cubic-bezier(0.6, 0, 0.6, 1);
}
.cart-counter {
  transition:
    transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    color 0.3s ease;
}
@keyframes cartPulse {
  0% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(0.95);
  }
  to {
    transform: scale(1);
  }
}
.menu-item {
  transition:
    transform 0.5s cubic-bezier(0.6, 0, 0.2, 1),
    box-shadow 0.5s ease;
}
.menu-item:hover {
  box-shadow: 0 20px 40px #00000026;
  transform: translateY(-1px);
}
@keyframes rowSlide {
  0% {
    opacity: 0;
    transform: translate(0);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}
.desktop-table tr.menu-table,
.mobile-table-item {
  animation: rowSlide 0.5s ease forwards;
}
.desktop-table tr:nth-child(odd) {
  animation-delay: 0.05s;
}
.desktop-table tr:nth-child(2n) {
  animation-delay: 0.1s;
}
.social-links a {
  transition:
    transform 0.5s cubic-bezier(0.6, 0, 0.2, 1),
    background-color 0.5s ease;
}
.social-links a:hover {
  transform: translateY(-2px) rotate(5deg);
}
.hero {
  background-attachment: fixed;
  transform: translateZ(0);
}
.tab-content,
.tab-pane {
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.tab-content:not(.active),
.tab-pane:not(.active) {
  opacity: 0;
  transform: translateY(10px);
}
.tab-content.active,
.tab-pane.active {
  opacity: 1;
  transform: translateY(0);
}
.menu-item img {
  transition: transform 0.6s cubic-bezier(0.6, 0, 0.2, 1);
}
.menu-item:hover img {
  transform: scale(1.05);
}
.footer-col a,
.nav ul li a {
  position: relative;
}
.footer-col a:after,
.nav ul li a:after {
  background: var(--primary-color);
  bottom: -3px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transition: width 0.5s ease;
  width: 0;
}
.footer-col a:hover:after,
.nav ul li a:hover:after {
  width: 100%;
}
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 #cd171999;
  }
  70% {
    box-shadow: 0 0 0 12px #cd171900;
  }
  to {
    box-shadow: 0 0 #cd171900;
  }
}
.site-logo-img{max-height:36px;vertical-align:middle}
.payment-label{font-weight:600;margin-bottom:8px;display:block;color:var(--light-text,#777);font-size:.85rem;text-transform:uppercase;letter-spacing:.04em}
.tips-section{margin-top:16px;padding-top:16px;border-top:1px solid var(--border-color,#eee)}
.tips-options{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:8px 0 4px}
.tips-option{background:var(--ui-surface-muted);border:2px solid var(--ui-accent);border-radius:14px;cursor:pointer;font-size:13px;font-weight:600;padding:10px 4px;text-align:center;color:var(--ui-text);transition:all .2s ease;line-height:1.2}
.tips-option.active{background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-accent-contrast);transform:scale(1.03)}
.tips-option:hover:not(.active){background:var(--ui-surface)}
.tips-custom-wrap{display:none;gap:8px;align-items:center;margin-top:8px}
.tips-custom-wrap.visible{display:flex}
.tips-custom-wrap .form-group{flex:1;min-width:0;margin-bottom:0}
.tips-total{margin-top:6px;font-size:.88rem;font-weight:600;color:var(--primary-color,#cd1719)}
.powered-by-labus{text-align:center;font-size:.7rem;padding:4px 0;opacity:.5}.powered-by-labus a{color:inherit;text-decoration:none}
