:root {
  --primary: #ffc107;
  --dark: #1a1a1a;
  --light: #f4f4f4;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: var(--light);
  color: var(--dark);
}
header {
  background-color: var(--dark);
  color: #fff;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.logo img {
  height: 45px;
  width: auto;
  transition: all 0.3s ease;
}
.logo:hover {
  color: #fff;
  text-shadow:
    0 0 15px var(--primary),
    0 0 30px var(--primary);
}
.logo:hover img {
  filter: brightness(1.2) drop-shadow(0 0 10px var(--primary));
  transform: scale(1.05);
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
nav a:hover {
  color: var(--primary);
}
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s;
}
.menu-toggle:hover {
  color: var(--primary);
}
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 999;
}
.menu-overlay.active {
  display: block;
}
.lang-switcher {
  position: relative;
  margin-left: 20px;
  display: inline-block;
}
.lang-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  padding: 2px 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  transition: all 0.3s;
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lang-btn img {
  width: 18px;
  border-radius: 2px;
}
.lang-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  list-style: none;
  padding: 5px 0;
  margin: 5px 0 0;
  min-width: 110px;
  z-index: 1001;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.lang-switcher.active .lang-options {
  display: block;
}
.lang-option {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 0.8rem;
  color: #fff;
}
.lang-option:hover {
  background: rgba(255, 255, 255, 0.1);
}
.lang-option img {
  width: 18px;
  border-radius: 2px;
}
.hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  overflow: hidden;
  background-color: #000;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  pointer-events: none;
}
.hero h1, .hero h2, .hero p, .hero a.countdown {
  position: relative;
  z-index: 2;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero {
    height: 45vh;
    min-height: 350px;
  }
}
.hero h1 {
  font-size: 4rem;
  margin: 0;
  text-transform: uppercase;
}
.hero h1 {
  background: linear-gradient(90deg, #fff 0, var(--primary) 50%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-intensity-blink 3s infinite alternate ease-in-out;
}
@keyframes gradient-intensity-blink {
  0% {
    filter: brightness(0.8);
  }
  100% {
    filter: brightness(1.5);
  }
}
.countdown {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2.5rem;
  border-radius: 15px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.countdown:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.3);
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown-item span {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}
.countdown-item small {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}
.countdown-item.seconds-blink span {
  animation: blink 1s infinite alternate;
}
@keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.5;
  }
}
.catalog {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.catalog h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.burger-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.burger-card:hover {
  transform: translateY(-10px);
}
@media (min-width: 769px) {
  .category-section[data-category="hamburguesas"]
    .grid
    .burger-card:first-child {
    grid-column: 1/-1;
    flex-direction: row;
    align-items: stretch;
  }
  .category-section[data-category="hamburguesas"]
    .grid
    .burger-card:first-child
    img {
    width: 50%;
    height: 100%;
    min-height: 350px;
  }
  .category-section[data-category="hamburguesas"]
    .grid
    .burger-card:first-child
    .info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.category-section[data-category="hamburguesas"]
  .grid
  .burger-card:first-child
  .badge-tag {
  background: linear-gradient(45deg, #f44, #ffc107);
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 15px;
  top: 20px;
  left: 20px;
  right: auto;
  animation: pulse-badge 2s infinite;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}
@keyframes pulse-badge {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.burger-card .custom-ingredients-container,
.burger-card .info p,
.burger-card .info ul {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  margin: 0;
}
.burger-card.show-details .custom-ingredients-container,
.burger-card.show-details .info p,
.burger-card.show-details .info ul {
  max-height: 600px;
  opacity: 1;
  margin: 1rem 0;
}
.burger-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.custom-ingredients-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.custom-ingredient {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #fff;
  outline: 0;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.custom-ingredient:focus {
  border-color: var(--primary);
}
.burger-card img:hover {
  transform: scale(1.05);
}
.info {
  padding: 1.5rem;
}
.info h3 {
  margin: 0;
  font-size: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toggle-icon {
  font-size: 1rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.burger-card.show-details .toggle-icon {
  transform: rotate(180deg);
}
.view-ingredients {
  font-size: 0.8rem;
  color: #888;
  margin-top: 5px;
  display: block;
  font-style: italic;
}
.burger-card.show-details .view-ingredients {
  display: none;
}
.price {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.2rem;
  display: block;
  margin-top: 10px;
}
.badge-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary);
  color: var(--dark);
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.contact {
  padding: 4rem 5%;
  background-color: #fff;
}
.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.contact-container {
  background: var(--light);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}
.contact-info {
  margin-bottom: 2rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}
.contact-info p {
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}
.contact-info i {
  color: var(--primary);
  font-size: 1.2rem;
  width: 25px;
  text-align: center;
}
.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary);
  color: var(--dark);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.btn-directions:hover {
  background-color: var(--dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid transparent;
  background: #fff;
  border-radius: 10px;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
}
.form-group .error-message {
  color: #f44;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
  font-weight: 600;
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #f44 !important;
}
.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.3s;
}
.btn-submit:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}
.testimonials {
  padding: 4rem 5%;
  background:
    linear-gradient(rgba(244, 244, 244, 0.92), rgba(244, 244, 244, 0.92)),
    url("https://images.unsplash.com/photo-1552566626-52f8b828add9?q=80&w=1000")
      center/cover no-repeat;
}
.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.testimonial-slider {
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.testimonial-slider::after,
.testimonial-slider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.testimonial-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--light), transparent);
}
.testimonial-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--light), transparent);
}
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  flex: 0 0 100%;
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  border: 1.5px solid transparent;
  box-sizing: border-box;
}
.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
}
.stars {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}
.testimonial-card p {
  font-style: italic;
  color: #555;
  line-height: 1.6;
  font-size: 1.1rem;
  text-align: center;
}
.author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--dark);
}
.author-info span {
  font-size: 0.85rem;
  color: #888;
}
.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 10px;
}
.google-badge i {
  color: #4285f4;
}
.testimonial-link {
  font-size: 0.8rem;
  color: #1a73e8;
  text-decoration: none;
  margin-top: 10px;
  display: inline-block;
}
.testimonial-link:hover {
  text-decoration: underline;
}
.btn-add {
  width: 100%;
  padding: 0.8rem;
  margin-top: auto;
  background: var(--primary);
  color: var(--dark);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.doneness-select,
.menu-select {
  width: 100%;
  margin-top: 1rem;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #fff;
  cursor: pointer;
  outline: 0;
  transition: border-color 0.3s;
}
.doneness-select:focus,
.menu-select:focus {
  border-color: var(--primary);
}
.btn-add:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
.nav-cart {
  position: relative;
  cursor: pointer;
  margin-left: 20px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.nav-cart:hover {
  color: var(--primary);
}
.cart-count {
  background: #f44;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.7rem;
  position: absolute;
  top: -10px;
  right: -10px;
}
#cart-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
}
#cart-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 1.5rem;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  max-height: 90vh;
  overflow-y: auto;
}
#cart-modal h3 {
  position: sticky;
  top: -1.5rem;
  background: #fff;
  padding-top: 1.5rem;
  padding-bottom: 0.8rem;
  z-index: 10;
}
#cart-items {
  max-height: 250px;
  overflow-y: auto;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.cart-item-options {
  font-size: 0.75rem;
  color: #777;
  font-style: italic;
}
.cart-item-price-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.cart-total {
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 1rem;
  text-align: right;
}
.btn-location {
  width: 100%;
  padding: 0.8rem;
  margin-top: 1rem;
  background: #f8f9fa;
  color: #495057;
  border: 1px dashed #ced4da;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-location:hover {
  background: #e2e6ea;
  border-color: var(--primary);
}
footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.social-links {
  display: flex;
  gap: 1.5rem;
}
.social-links a {
  color: var(--primary);
  font-size: 1.8rem;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}
.social-links a:hover {
  transform: scale(1.2);
  color: #fff;
}
.admin-login-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 2.5rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.admin-dashboard {
  display: none;
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.admin-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 1rem;
}
.category-section {
  margin-top: 3rem;
}
.category-section h3 {
  font-size: 2.2rem;
  color: var(--dark);
  border-left: 5px solid var(--primary);
  padding-left: 1rem;
  margin-bottom: 2rem;
}
.category-section h4 {
  font-size: 1.5rem;
  color: var(--dark);
  margin: 2.5rem 0 1.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.8rem 2rem;
  border: 2px solid var(--primary);
  background: 0 0;
  color: var(--dark);
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
}
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: scale(1.1);
  background-color: var(--dark);
  color: #fff;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.search-container {
  max-width: 500px;
  margin: 0 auto 2.5rem;
  position: relative;
}
#search-input {
  width: 100%;
  padding: 1.2rem 3.5rem 1.2rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-size: 1.1rem;
  outline: 0;
  transition: box-shadow 0.3s ease;
  box-sizing: border-box;
}
#search-input:focus {
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
}
#clear-search {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
  display: none;
}
#clear-search:hover {
  color: var(--dark);
}
#no-results {
  display: none;
  text-align: center;
  padding: 3rem;
  color: #888;
}
.nav-cart.cart-bounce {
  animation: cart-bounce 0.6s ease-in-out;
}
@keyframes cart-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-2px);
  }
}
.about {
  padding: 6rem 5%;
  background-color: #fff;
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.about-content {
  flex: 1;
  min-width: 300px;
}
.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.about-content p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}
.about-image {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.confirmation-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 2rem;
}
.confirmation-page i.success-icon {
  font-size: 6rem;
  color: #28a745;
  margin-bottom: 2rem;
}
.confirmation-page p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 600px;
}
.summary-container {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  width: 100%;
  max-width: 450px;
  text-align: left;
}
.summary-container h3 {
  margin-top: 0;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #eee;
}
.map-container {
  height: 100%;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.summary-total-confirm {
  font-weight: 700;
  font-size: 1.3rem;
  text-align: right;
  margin-top: 1.5rem;
}
.summary-note-confirm {
  margin-top: 1rem;
  font-size: 0.9rem;
  background: var(--light);
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  font-style: italic;
}
.pie-chart-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}
.pie-chart {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
.chart-legend {
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}
.chart-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: #444;
}
.chart-legend li span {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}
#footer-lock-icon:hover {
  color: var(--primary) !important;
}
#footer-logout-link:hover {
  color: #fff !important;
  text-decoration: underline !important;
}
#nav-admin-link {
  display: none;
}
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 5000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-pdf {
  background: #444 !important;
  margin-top: 1rem;
}
.qr-container-confirm {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px dashed #ccc;
}
.qr-container-confirm p {
  font-size: 11px !important;
  color: #888 !important;
  margin-bottom: 8px !important;
}
.qr-container-confirm img {
  width: 90px;
  height: 90px;
  border: 3px solid var(--primary);
  border-radius: 15px;
  padding: 5px;
  background: #fff;
  display: inline-block;
}
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  .about {
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    padding: 0.8rem 5%;
    justify-content: space-between;
  }
  .logo {
    margin-bottom: 0;
  }
  .logo img {
    height: 35px;
  }
  .menu-toggle {
    display: block;
    order: 3;
  }
  .nav-cart {
    order: 2;
    margin-left: auto;
    margin-right: 20px;
  }
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 25px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  nav.active {
    right: 0;
  }
  .testimonial-slider::after,
  .testimonial-slider::before {
    width: 20px;
  }
  nav a {
    margin-left: 0;
    font-size: 1.1rem;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .lang-switcher {
    margin-left: 0;
    margin-top: 10px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .countdown {
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  .countdown-item span {
    font-size: 1.8rem;
  }
  .about {
    flex-direction: column;
    text-align: center;
    padding: 4rem 1.5rem;
  }
  .about-content h2 {
    text-align: center;
  }
  #cart-modal {
    padding: 1.5rem;
    width: 95%;
  }
  #cart-modal h3 {
    top: -1.5rem;
    padding-top: 1.5rem;
    font-size: 1.2rem;
  }
}
#drink-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3000;
}
#drink-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.drink-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  #cart-modal {
    width: 95%;
    max-width: 1600px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    column-gap: 4rem;
    align-items: start;
    padding: 2.5rem;
  }
  #cart-modal h3 {
    grid-column: 1/-1;
    position: static;
    padding: 0;
    margin-bottom: 1.5rem !important;
  }
  #cart-items {
    grid-column: 1;
    max-height: 65vh;
    padding-right: 2rem;
    border-right: 1px solid #eee;
  }
  .cart-total {
    grid-column: 1;
    padding-right: 2rem;
    margin-top: 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
  }
  #cart-modal .form-group {
    grid-column: 2;
    margin-top: 0 !important;
    margin-bottom: 1.2rem;
  }
  #cart-modal .btn-submit {
    grid-column: 2;
    margin-top: 0.5rem !important;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .catalog h2 {
    font-size: 1.8rem;
  }
  .contact-container {
    padding: 1.5rem;
  }
  .testimonial-card {
    padding: 1.5rem;
  }
  .testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .stars {
    font-size: 1rem;
  }
  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}
@media print {
  #back-to-top,
  .btn-submit,
  .nav-cart,
  .success-icon,
  footer,
  h2,
  header {
    display: none !important;
  }
  .confirmation-page > p {
    display: none !important;
  }
  body {
    background-color: #fff;
    margin: 0;
    padding: 0;
    font-size: 14pt;
  }
  .confirmation-page {
    padding: 0;
    min-height: auto;
  }
  #order-summary {
    width: 58mm;
    padding: 0;
    margin: 0;
    max-width: 100%;
    box-shadow: none;
    border: none;
    visibility: visible;
  }
  #order-summary * {
    color: #000 !important;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.allergens-container {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 8px;
  justify-content: flex-start;
  align-items: center;
}
.allergen-icon {
  font-size: 1.15rem;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.allergen-icon:hover {
  transform: scale(1.2);
  background-color: rgba(230, 126, 34, 0.1);
  border-color: var(--primary);
}
.admin-layout-wrapper {
  display: flex;
  min-height: calc(100vh - 80px);
  background: #f8f9fa;
  width: 100%;
}
.admin-sidebar {
  width: 260px;
  background: #1a1a1a;
  color: #fff;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.admin-user-profile {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  text-align: center;
}
.admin-user-profile i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}
.admin-user-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin: 5px 0 2px;
}
.admin-user-role {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.admin-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1rem;
  color: #ccc;
  background: 0 0;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 0.2s ease;
}
.admin-nav-item.active,
.admin-nav-item:hover {
  color: var(--dark);
  background: var(--primary);
}
.admin-nav-item i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}
.admin-content-area {
  flex: 1;
  padding: 1rem 1.5rem;
  overflow-y: auto;
  box-sizing: border-box;
}
.admin-tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}
.admin-tab-content.active {
  display: block;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.kpi-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: transform 0.3s ease;
}
.kpi-card:hover {
  transform: translateY(-5px);
}
.kpi-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.kpi-icon-wrapper.revenue {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}
.kpi-icon-wrapper.orders {
  background: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
}
.kpi-icon-wrapper.ticket {
  background: rgba(255, 193, 7, 0.1);
  color: #b8860b;
}
.kpi-icon-wrapper.pending {
  background: rgba(230, 126, 34, 0.1);
  color: #e67e22;
}
.kpi-details {
  display: flex;
  flex-direction: column;
}
.kpi-title {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2px;
}
.dashboard-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 992px) {
  .dashboard-row {
    grid-template-columns: 1fr;
  }
}
.dashboard-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.dashboard-card h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.8rem;
  color: var(--dark);
}
.chart-wrapper {
  position: relative;
  height: 300px;
  width: 100%;
}
.top-sales-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.top-sales-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.top-sales-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
}
.top-sales-progress-bg {
  height: 8px;
  background: #eef0f2;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.top-sales-progress-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-in-out;
}
.top-sales-progress-bar.burger {
  background: linear-gradient(90deg, #ffc107, #e67e22);
}
.top-sales-progress-bar.pizza {
  background: linear-gradient(90deg, #e74c3c, #c0392b);
}
.kitchen-columns-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  height: calc(100vh - 250px);
  min-height: 500px;
}
@media (max-width: 992px) {
  .kitchen-columns-container {
    grid-template-columns: 1fr;
    height: auto;
    gap: 2rem;
  }
}
.kitchen-column {
  background: #f0f2f5;
  border-radius: 15px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  box-sizing: border-box;
}
.kitchen-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.8rem;
}
.kitchen-column-header.new {
  border-bottom-color: #f44;
}
.kitchen-column-header.prep {
  border-bottom-color: #e67e22;
}
.kitchen-column-header.ready {
  border-bottom-color: #28a745;
}
.kitchen-column-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.kitchen-column-badge {
  background: var(--dark);
  color: #fff;
  border-radius: 30px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}
.kitchen-column-header.new .kitchen-column-badge {
  background: #f44;
}
.kitchen-column-header.prep .kitchen-column-badge {
  background: #e67e22;
}
.kitchen-column-header.ready .kitchen-column-badge {
  background: #28a745;
}
.kitchen-cards-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 5px;
}
.order-kitchen-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  border-left: 5px solid #ccc;
  transition: all 0.2s ease;
  animation: slideUp 0.3s ease forwards;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-kitchen-card:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}
.order-kitchen-card.urgency-low {
  border-left-color: #28a745;
}
.order-kitchen-card.urgency-medium {
  border-left-color: #e67e22;
}
.order-kitchen-card.urgency-high {
  border-left-color: #f44;
  animation: cardPulse 2s infinite alternate;
}
@keyframes cardPulse {
  0% {
    box-shadow: 0 4px 10px rgba(255, 68, 68, 0.05);
  }
  100% {
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.2);
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.order-kitchen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #666;
}
.order-kitchen-id {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}
.order-kitchen-time-badge {
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 5px;
  font-weight: 600;
}
.order-kitchen-details {
  font-size: 0.9rem;
  line-height: 1.4;
}
.order-kitchen-type-row {
  margin: 4px 0;
}
.order-kitchen-items-list {
  margin: 8px 0;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 8px 12px;
  list-style: none;
}
.order-kitchen-items-list li {
  padding: 4px 0;
  border-bottom: 1px dashed #eee;
}
.order-kitchen-items-list li:last-child {
  border-bottom: none;
}
.order-kitchen-item-options {
  font-size: 0.75rem;
  color: #c0392b;
  display: block;
  margin-left: 10px;
  font-weight: 700;
}
.order-kitchen-note {
  background: #fff5e6;
  border: 1px dashed #ffd1b3;
  border-radius: 6px;
  padding: 8px;
  font-size: 0.85rem;
  color: #e65c00;
  margin-top: 5px;
}
.order-kitchen-actions {
  display: none;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
  animation: fadeIn 0.3s ease forwards;
}
.order-kitchen-card.expanded .order-kitchen-actions {
  display: flex;
}
.order-kitchen-card {
  cursor: pointer;
}
.order-kitchen-card.expanded .expand-chevron {
  transform: rotate(180deg);
}
.order-kitchen-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  min-width: 80px;
}
.order-kitchen-btn.primary {
  background: #28a745;
  color: #fff;
}
.order-kitchen-btn.primary:hover {
  background: #218838;
}
.order-kitchen-btn.warning {
  background: #e67e22;
  color: #fff;
}
.order-kitchen-btn.warning:hover {
  background: #d35400;
}
.order-kitchen-btn.danger {
  background: #f44;
  color: #fff;
}
.order-kitchen-btn.danger:hover {
  background: #c0392b;
}
.order-kitchen-btn.secondary {
  background: #666;
  color: #fff;
}
.order-kitchen-btn.secondary:hover {
  background: #555;
}
.order-kitchen-btn.action-link {
  background: #17a2b8;
  color: #fff;
}
.order-kitchen-btn.action-link:hover {
  background: #138496;
}
.stock-control-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.stock-category-title {
  font-size: 1.3rem;
  color: var(--dark);
  margin: 1.5rem 0 1rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 5px;
  display: block;
}
.stock-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stock-item-row {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #eee;
  transition: all 0.2s ease;
}
.stock-item-row:hover {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.stock-item-info {
  display: flex;
  flex-direction: column;
}
.stock-item-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.stock-item-price {
  font-size: 0.8rem;
  color: #888;
}
.switch-control {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: 0.3s;
  border-radius: 50%;
}
input:checked + .switch-slider {
  background-color: #28a745;
}
input:checked + .switch-slider:before {
  transform: translateX(26px);
}
.cash-close-summary-card {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  color: #fff;
  border-radius: 15px;
  padding: 1.8rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.cash-kpi-item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 1rem;
}
.cash-kpi-item:last-child {
  border-right: none;
  padding-right: 0;
}
.cash-kpi-title {
  font-size: 0.8rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cash-kpi-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 5px;
}
.burger-card.out-of-stock {
  opacity: 0.65;
  filter: grayscale(0.5);
  cursor: not-allowed;
  pointer-events: none;
}
.burger-card.out-of-stock .btn-add {
  background: #95a5a6;
  color: #fff;
  cursor: not-allowed;
}
.burger-card.out-of-stock input,
.burger-card.out-of-stock select {
  pointer-events: none;
}
.kitchen-indicator-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.admin-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.5rem;
  margin-bottom: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.admin-menu-toggle {
  display: none;
  background: 0 0;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--dark);
  padding: 8px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.admin-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}
.admin-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 3999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.admin-sidebar-overlay.active {
  display: block;
  opacity: 1;
}
.kitchen-control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 768px) {
  .admin-layout-wrapper {
    flex-direction: column;
  }
  .admin-menu-toggle {
    display: flex;
  }
  .admin-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.2rem;
    gap: 10px;
    flex-wrap: wrap;
  }
  .admin-header-actions {
    gap: 10px;
    flex-wrap: wrap;
  }
  .kitchen-control-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 1rem;
  }
  .kitchen-control-bar > div {
    justify-content: center;
  }
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    z-index: 4000;
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .admin-sidebar.active {
    transform: translateX(280px);
  }
  .admin-sidebar::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }
  .admin-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }
  .admin-user-profile {
    display: block;
    padding-bottom: 1rem;
  }
  .admin-user-profile i {
    font-size: 2rem;
    margin-bottom: 0.25rem;
  }
  .admin-nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .admin-nav-item {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    white-space: nowrap;
    width: 100%;
    justify-content: flex-start;
  }
  .admin-content-area {
    padding: 1rem;
  }
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .cash-close-summary-card {
    grid-template-columns: 1fr 1fr;
    padding: 1.2rem;
    gap: 1rem;
  }
  .cash-kpi-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
    padding-right: 0;
  }
  .cash-kpi-item:nth-child(2n) {
    border-right: none;
  }
  .cash-kpi-item:nth-last-child(-n + 2) {
    border-bottom: none;
    padding-bottom: 0;
  }
}
@media (max-width: 600px) {
  .admin-login-container {
    padding: 1.5rem;
    margin: 40px auto;
  }
  .admin-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 1rem;
  }
  .admin-header-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .admin-header-actions .kitchen-indicator-pill,
  .admin-header-actions button {
    width: 100% !important;
    justify-content: center;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .admin-tables-overview {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .admin-tables-stats {
    width: 100%;
    justify-content: center;
  }
  .admin-tables-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.8rem;
  }
  .admin-table-card {
    border-radius: 12px;
  }
  .admin-table-number {
    font-size: 1.6rem;
  }
  .admin-table-status-label {
    font-size: 0.65rem;
  }
  .cash-close-summary-card {
    grid-template-columns: 1fr;
  }
  .cash-kpi-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
  }
  .cash-kpi-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  #admin-history-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  #admin-history-actions button {
    width: 100% !important;
    justify-content: center;
  }
}
.admin-tables-overview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-tables-stats {
  display: flex;
  gap: 1.5rem;
}
.admin-tables-stat-item {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.admin-tables-stat-item.free-count {
  color: #28a745;
}
.admin-tables-stat-item.occupied-count {
  color: #dc3545;
}
.admin-tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.admin-table-card {
  aspect-ratio: 1/1;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}
.admin-table-card.free {
  background: linear-gradient(135deg, #e8f5e9 0, #c8e6c9 100%);
  border: 2px solid #a5d6a7;
  color: #2e7d32;
}
.admin-table-card.free:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
  border-color: #81c784;
}
.admin-table-card.occupied {
  background: linear-gradient(135deg, #ffebee 0, #ffcdd2 100%);
  border: 2px solid #ef9a9a;
  color: #c62828;
  animation: pulse-occupied-shadow 2.5s infinite alternate;
}
.admin-table-card.occupied:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.25);
  border-color: #e57373;
}
@keyframes pulse-occupied-shadow {
  0% {
    box-shadow: 0 4px 10px rgba(198, 40, 40, 0.1);
  }
  100% {
    box-shadow: 0 6px 15px rgba(198, 40, 40, 0.25);
  }
}
.admin-table-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2px;
}
.admin-table-status-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}
.admin-table-origin-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.8rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.admin-table-card.free .admin-table-origin-badge {
  display: none;
}
.admin-table-card.occupied .admin-table-origin-badge {
  color: #c62828;
}
.admin-table-time-elapsed {
  font-size: 0.65rem;
  margin-top: 5px;
  font-weight: 700;
  opacity: 0.75;
}
.admin-table-card.reserved {
  background: linear-gradient(135deg, #fff3e0 0, #ffe0b2 100%);
  border: 2px solid #ffb74d;
  color: #e65100;
}
.admin-table-card.reserved:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(230, 81, 0, 0.2);
  border-color: #ffa726;
}
.admin-table-card.reserved .admin-table-origin-badge {
  color: #e65100;
}
.table-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}
.table-modal-card {
  background: #fff;
  padding: 1.5rem 1.8rem;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  font-family: inherit;
  animation: scale-up-modal 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.table-modal-card::-webkit-scrollbar {
  width: 6px;
}
.table-modal-card::-webkit-scrollbar-track {
  background: 0 0;
}
.table-modal-card::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}
.table-modal-card::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}
@keyframes scale-up-modal {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.table-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
}
.table-modal-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-modal-close-btn {
  background: 0 0;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  transition: color 0.3s;
}
.table-modal-close-btn:hover {
  color: var(--dark);
}
.table-details-panel {
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.table-details-panel strong {
  color: var(--dark);
}
.table-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.table-modal-actions .btn-submit {
  margin: 0;
}
.admin-table-card.unified {
  border-style: dashed;
  border-width: 3px;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.15);
}
.admin-table-unified-badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  color: #e67e22;
  background: rgba(230, 126, 34, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px dashed rgba(230, 126, 34, 0.3);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.admin-table-card.unified.free {
  border-color: #2e7d32;
  background: linear-gradient(135deg, #e8f5e9 0, #d4eed6 100%);
}
.admin-table-card.unified.occupied {
  border-color: #c62828;
  background: linear-gradient(135deg, #ffebee 0, #ffdadc 100%);
}
.admin-table-card.unified.reserved {
  border-color: #e65100;
  background: linear-gradient(135deg, #fff3e0 0, #ffe9cc 100%);
}
.user-item-row {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #eee;
  transition: all 0.2s ease;
  margin-bottom: 0.8rem;
}
.user-item-row:hover {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.user-item-info {
  display: flex;
  flex-direction: column;
}
.user-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-item-role {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.user-item-actions {
  display: flex;
  gap: 8px;
}
.user-item-btn {
  width: auto;
  padding: 6px 12px;
  font-size: 0.8rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Tipografia canalla per als títols */
h1, h2, h3 {
  font-family: "Arial Black", "Impact", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
}
