* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Dark mode variables (now default) */
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --bg-dark: #121212;
  --bg-darker: #0a0a0a;
  --bg-card: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-tertiary: #808080;
  --accent-color: #f38d10;
  /* Orange accent */
  --discount-color: #22c55e;
  --danger-color: #e74c3c;
  --warning-color: #f1c40f;
  --border-color: #404040;
  --border-light: 1px solid #404040;
  --body-font: "Poppins", sans-serif;
}

html,
body {
  min-height: 100vh;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: var(--body-font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

button {
  border: none !important;
  background: none;
  padding: 0;
  cursor: pointer;
}

.top-announcement {
  background-color: var(--accent-color);
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.9rem;
}

.top-announcement i {
  margin-right: 0.5rem;
}

.header-info {
  background-color: var(--bg-darker);
  padding: 1rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-info-content {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  color: var(--text-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.translate-btn,
.login-btn,
.reservation-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  background-color: var(--bg-card);
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.translate-btn:hover,
.login-btn:hover,
.reservation-btn:hover {
  background-color: var(--bg-darker);
  transform: translateY(-1px);
}

.translate-btn i,
.login-btn i,
.reservation-btn i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.translate-btn span,
.login-btn span,
.reservation-btn span {
  font-weight: 500;
}

.translate-btn .fa-chevron-down {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Language Dropdown Styles */
.translate-btn {
  position: relative;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.language-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid var(--border-color);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background-color: var(--bg-darker);
}

.language-option.active {
  background-color: var(--accent-color);
  color: white;
}

.language-option .flag {
  font-size: 1.2rem;
}

.language-option .lang-code {
  font-weight: 600;
  min-width: 24px;
}

.language-option .lang-name {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.language-option.active .lang-name {
  color: rgba(255, 255, 255, 0.9);
}

.main-content {
  flex: 1 0 auto;
  width: 100%;
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 300px);
  /* Ensures minimum content area considering header and footer */
}

.section-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-align: center;
  font-weight: 600;
}

.categories-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  height: auto;
  will-change: transform, opacity;
}

.categories-grid.hidden {
  opacity: 0;
  transform: translateX(-20px);
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 0;
  overflow: hidden;
}

.products-view {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  margin-bottom: 2rem;
  will-change: transform, opacity;
}

.products-view.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  height: auto;
  overflow: visible;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  min-height: 0;
}

/* Mobile: 1 card per row */
@media screen and (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Animate product cards appearance */
.product-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.3s ease forwards;
}

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

/* Add animation delay for each product card */
.product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card:nth-child(3) {
  animation-delay: 0.3s;
}

.product-card:nth-child(4) {
  animation-delay: 0.4s;
}

.product-card:nth-child(5) {
  animation-delay: 0.5s;
}

.product-card:nth-child(6) {
  animation-delay: 0.6s;
}

.category-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
}

.category-card:hover {
  background-color: var(--bg-darker);
  border-color: var(--accent-color);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
}

.category-image {
  width: 60px;
  height: 60px;
  margin: 10px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bg-darker);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-info {
  flex-grow: 1;
}

.category-name {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.category-items {
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.discount-badge {
  background-color: var(--discount-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

footer {
  flex-shrink: 0;
  background-color: var(--bg-darker);
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  margin-right: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Mobile responsive footer */
@media screen and (max-width: 480px) {
  .footer-primary {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .copyright {
    margin-right: 0;
    margin-bottom: 0.75rem;
  }

  .footer-links {
    justify-content: center;
  }
}

.announcement-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.announcement-card .fas.fa-fire {
  font-size: 1.5rem;
  align-items: center;
  justify-content: center;
  display: flex;
  color: var(--accent-color);
}

.announcement-icon {
  background-color: rgba(255, 107, 107, 0.1);
  color: var(--accent-color);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.announcement-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.announcement-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.announcement-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Google Maps Card */
.google-maps-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.google-maps-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.google-maps-iframe-container {
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-darker);
}

.google-maps-link-container {
  display: flex;
  justify-content: center;
}

.google-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.google-maps-link:hover {
  background-color: rgba(243, 141, 16, 0.1);
  color: var(--accent-color);
}

.google-maps-link i {
  font-size: 0.8rem;
}

/* Vacation Banner */
.vacation-banner {
  background: linear-gradient(135deg, var(--accent-color), #ff6b35);
  color: white;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(243, 141, 16, 0.3);
  position: relative;
  overflow: hidden;
}

.vacation-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.vacation-banner-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.vacation-banner-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.8rem;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.vacation-banner-text {
  flex-grow: 1;
}

.vacation-banner-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.vacation-banner-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* Mobile responsive for vacation banner */
@media screen and (max-width: 768px) {
  .vacation-banner {
    padding: 1rem;
  }

  .vacation-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .vacation-banner-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .vacation-banner-title {
    font-size: 1.2rem;
  }

  .vacation-banner-description {
    font-size: 0.9rem;
  }
}

.info-cards-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
  .info-cards-container {
    flex-direction: column;
  }

  .info-card {
    width: 100%;
  }
}

.info-card {
  flex: 1;
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.info-card-header {
  padding: 1rem;
  background-color: var(--bg-darker);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  user-select: none;
}

.info-card-header:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.info-card-header::after {
  content: "\f105";
  /* Font Awesome angle-right icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
  transition: transform 0.2s ease;
  color: var(--accent-color);
}

.info-card.active .info-card-header::after {
  transform: rotate(90deg);
}

.info-card-content {
  display: none;
  background-color: var(--bg-card);
}

.info-card.active .info-card-content {
  display: block;
}

.info-card-list {
  padding: 1rem;
  list-style: none;
}

.info-card-list li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card-list li:last-child {
  border-bottom: none;
}

.info-card-list li span {
  opacity: 0.7;
}

.info-card-list a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.2s;
}

.info-card-list a:hover {
  color: var(--accent-color);
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  background-color: var(--bg-card);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  background: var(--accent-color, #ff4b4b);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
  pointer-events: none;
  border: 2px solid var(--bg-card, #fff);
  transform: scale(1);
  transition: transform 0.2s ease;
}

.cart-count-badge:not([style*="display: none"]) {
  transform: scale(1);
  animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
  0% {
    transform: scale(0.5);
  }

  100% {
    transform: scale(1);
  }
}

.cart-icon {
  font-size: 1.1rem;
  color: var(--accent-color);
}

.cart-text {
  font-weight: 500;
}

.info-card-header i {
  margin-right: 0.5rem;
  color: var(--accent-color);
  font-size: 1.1rem;
}

.info-card-list li i {
  color: var(--accent-color);
  width: 20px;
  text-align: center;
  opacity: 0.9;
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  background-color: var(--bg-card);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.login-btn:hover {
  background-color: var(--bg-darker);
  transform: translateY(-1px);
}

.login-btn i {
  font-size: 1.1rem;
  color: var(--accent-color);
}

.products-panel {
  position: fixed;
  top: 0;
  right: -480px;
  /* Changed from -100% to exact width */
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background-color: var(--bg-dark);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
}

.products-panel.active {
  right: 0;
  opacity: 1;
  visibility: visible;
}

.products-panel-header {
  padding: 1.5rem;
  background-color: var(--bg-darker);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.products-panel-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
}

.close-panel {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.close-panel:hover {
  color: var(--text-primary);
}

.products-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s,
    transform 0.2s;
  padding: 1.25rem;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-2px);
  background-color: var(--bg-darker);
  border-color: var(--accent-color);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
}

.product-image {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-darker);
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.product-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  flex: 1;
  line-height: 1.4;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.add-to-cart {
  background-color: var(--accent-color);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.add-to-cart:hover {
  transform: translateY(-2px);
  background-color: var(--danger-color);
}

.products-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}

.products-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.products-title {
  flex: 1;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
}

.back-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-card);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-left: auto;
  white-space: nowrap;
}

.back-button:hover {
  background-color: var(--bg-darker);
  transform: translateX(-2px);
}

.back-button i {
  color: var(--accent-color);
  font-size: 1rem;
}

.category-header-image {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bg-darker);
}

.category-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product Details View Styles */
.product-details-view {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  margin-bottom: 2rem;
  will-change: transform, opacity;
  position: absolute;
  width: 100%;
}

.product-details-view.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  height: auto;
  overflow: visible;
  position: relative;
}

.product-details-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}

.product-details-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  flex-direction: row;
}

.back-to-products-button {
  margin-left: auto;
}

.product-details-title {
  flex: 1;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
}

.back-to-products-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-card);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.back-to-products-button:hover {
  background-color: var(--bg-darker);
  transform: translateX(-2px);
}

.back-to-products-button i {
  color: var(--accent-color);
  font-size: 1rem;
}

.product-details-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-details-main {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

#ingredients-without-section {
  margin-top: 1rem;
}

.ingredients-without-title {
  color: var(--warning-color);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ingredients-without-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ingredient-without-checkbox {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.ingredient-without-checkbox:hover {
  background: var(--bg-secondary);
  border-color: var(--warning-color);
}

.ingredient-without-checkbox:has(input:checked) {
  background: rgba(241, 196, 15, 0.15);
  border-color: var(--warning-color);
  color: var(--warning-color);
}

.ingredient-without-input {
  width: 16px;
  height: 16px;
  accent-color: var(--warning-color);
}

.product-details-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.product-details-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-details-tags h4,
.product-details-allergies h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.tags-container,
.allergies-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  background-color: rgba(255, 107, 107, 0.2);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 500;
}

.allergy-badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.allergy-badge i {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.product-details-extras {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.extras-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

.extras-section.hidden {
  display: none;
}

.extras-title {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.extras-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-extra,
.radio-extra {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: var(--bg-darker);
  border-radius: 8px;
  transition: background-color 0.2s;
  cursor: pointer;
}

.checkbox-extra:hover,
.radio-extra:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.checkbox-extra input[type="checkbox"],
.radio-extra input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
  cursor: pointer;
}

.checkbox-extra .extra-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.checkbox-extra .extra-name {
  flex: 1;
  text-align: left;
}

.checkbox-extra .extra-price {
  margin-left: auto;
  text-align: right;
}

.radio-extra .extra-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.radio-extra .extra-name {
  flex: 1;
  text-align: left;
}

.radio-extra .extra-price {
  margin-left: auto;
  text-align: right;
}

.extra-label {
  flex: 1;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.extra-price {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.quantity-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background-color: var(--bg-darker);
  border-radius: 8px;
}

.quantity-extra-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.quantity-extra-name {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.quantity-extra-price {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background-color: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.quantity-btn:hover:not(:disabled) {
  background-color: var(--accent-color);
  color: white;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-value {
  font-size: 1rem;
  color: var(--text-primary);
  width: 20px;
  text-align: center;
}

.product-details-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  bottom: 0;
  background: var(--bg-card);
  z-index: 10;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
}

.product-quantity {
  display: flex;
  align-items: center;
  background-color: var(--bg-darker);
  border-radius: 8px;
  padding: 0.25rem;
}

.quantity-input {
  width: 40px;
  border: none;
  background-color: transparent;
  font-size: 1rem;
  color: var(--text-primary);
  text-align: center;
  font-weight: 500;
}

.decrease-btn,
.increase-btn {
  background-color: var(--bg-card);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.2s;
}

.decrease-btn:hover:not(:disabled),
.increase-btn:hover:not(:disabled) {
  background-color: var(--accent-color);
  color: white;
}

.decrease-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.add-to-cart-btn {
  flex: 1;
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.add-to-cart-btn:hover {
  background-color: var(--danger-color);
  transform: translateY(-2px);
}

.product-total-price {
  font-weight: 600;
}

/* Mobile responsive styles for add to cart button */
@media screen and (max-width: 768px) {
  .add-to-cart-btn {
    flex-direction: column;
    gap: 0;
    padding: 1rem;
  }

  .add-to-cart-text {
    font-size: 0.9rem;
  }

  .product-total-price {
    font-size: 1.1rem;
    font-weight: 700;
  }

  /* Mobile font size adjustments for better readability */
  .section-title {
    font-size: 1.1rem;
  }

  .brand {
    font-size: 1.25rem;
  }

  .category-name {
    font-size: 1rem;
  }

  .category-description {
    font-size: 0.85rem;
  }

  .category-items {
    font-size: 0.8rem;
  }

  .product-name {
    font-size: 1rem;
  }

  .product-description {
    font-size: 0.85rem;
  }

  .announcement-title {
    font-size: 1.1rem;
  }

  .announcement-text {
    font-size: 0.9rem;
  }

  .info-card-header {
    font-size: 0.9rem;
  }

  .info-card-list li {
    font-size: 0.85rem;
  }

  .cart-title {
    font-size: 1.3rem;
  }

  .cart-item-name {
    font-size: 1.1rem;
  }

  .products-title {
    font-size: 1.2rem;
  }

  .product-details-title {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .product-details-action {
    gap: 0.75rem;
  }

  .add-to-cart-btn {
    padding: 0;
    min-height: 60px;
  }

  .add-to-cart-text {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .product-total-price {
    font-size: 1rem;
    font-weight: 700;
  }

  /* Additional font size reductions for very small screens */
  .section-title {
    font-size: 1rem;
  }

  .brand {
    font-size: 1.1rem;
  }

  .category-name {
    font-size: 0.95rem;
  }

  .category-description {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .category-items {
    font-size: 0.75rem;
  }

  .product-name {
    font-size: 0.95rem;
  }

  .product-description {
    font-size: 0.8rem;
  }

  .announcement-title {
    font-size: 1rem;
  }

  .announcement-text {
    font-size: 0.85rem;
  }

  .info-card-header {
    font-size: 0.85rem;
  }

  .info-card-list li {
    font-size: 0.8rem;
  }

  .cart-title {
    font-size: 1.2rem;
  }

  .cart-item-name {
    font-size: 1rem;
  }

  .products-title {
    font-size: 1.1rem;
  }

  .product-details-title {
    font-size: 1.1rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.section-title,
.products-title,
.product-details-title,
.category-name,
.product-name {
  font-family: var(--body-font);
  letter-spacing: -0.01em;
}

/* Category Image Shimmer Effect */
.category-image-shimmer {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.category-image-shimmer::before {
  display: none;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Category image loading states */
.category-image {
  position: relative;
}

.category-image.loading {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-image img {
  transition: opacity 0.3s ease;
}

.categories-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  gap: 1rem;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid var(--bg-darker);
  border-top: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Variant (Size) Selector Styles */
.variant-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.variant-btn {
  background: var(--bg-darker);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  outline: none;
}

.variant-btn.active,
.variant-btn:focus {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.variant-btn:hover:not(.active) {
  background: var(--bg-secondary);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* === Extra Groups Spacing & Visual Improvements === */
.extras-group {
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.extras-group:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.extras-group-title {
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
}

.extras-group-title .free-count-info.right {
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 400;
  white-space: nowrap;
}

.free-count-info {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.extras-group-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Mobile: 1 extra per row */
@media screen and (max-width: 768px) {
  .extras-group-items {
    grid-template-columns: 1fr;
  }
}

.required-badge {
  background: var(--danger-color);
  color: #fff;
  font-size: 0.8em;
  font-weight: 500;
  border-radius: 6px;
  padding: 0.15em 0.6em;
  margin-left: 0.5em;
  letter-spacing: 0.02em;
}

.single-extra .extra-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.single-extra .extra-name {
  flex: 1;
  text-align: left;
}

.single-extra .extra-price {
  margin-left: auto;
  text-align: right;
}

/* Free label styling */
.free-label {
  color: var(--discount-color);
  font-weight: 700;
  font-size: 0.9em;
}

/* Free quantity number styling to match free label */
.free-quantity {
  color: var(--discount-color);
  font-weight: 700;
}

/* Page Content Styles */
.page-content-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
}

.page-content-card h1,
.page-content-card h2,
.page-content-card h3,
.page-content-card h4,
.page-content-card h5,
.page-content-card h6 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  font-family: var(--body-font);
  letter-spacing: -0.01em;
}

.page-content-card h1:first-child,
.page-content-card h2:first-child,
.page-content-card h3:first-child {
  margin-top: 0;
}

.page-content-card h1 {
  font-size: 2rem;
  font-weight: 700;
}

.page-content-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.page-content-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.page-content-card h4 {
  font-size: 1.1rem;
  font-weight: 500;
}

.page-content-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.page-content-card a {
  color: var(--accent-color);
  text-decoration: underline;
  transition: color 0.2s;
}

.page-content-card a:hover {
  color: var(--text-primary);
}

.page-content-card ul,
.page-content-card ol {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content-card li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.page-content-card blockquote {
  background-color: var(--bg-darker);
  border-left: 4px solid var(--accent-color);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  color: var(--text-primary);
  font-style: italic;
}

.page-content-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  display: block;
}

.page-content-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: var(--bg-darker);
  border-radius: 8px;
  overflow: hidden;
}

.page-content-card th,
.page-content-card td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-content-card th {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
}

.page-content-card td {
  color: var(--text-secondary);
}

.page-content-card tr:last-child td {
  border-bottom: none;
}

.page-content-card code {
  background-color: var(--bg-darker);
  color: var(--accent-color);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
}

.page-content-card pre {
  background-color: var(--bg-darker);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
}

.page-content-card pre code {
  background: none;
  padding: 0;
  color: var(--text-primary);
}

/* Responsive adjustments for page content */
@media screen and (max-width: 768px) {
  .page-content-card {
    padding: 1.5rem;
    margin: 0 0.5rem 1rem 0.5rem;
  }

  .page-content-card h1 {
    font-size: 1.75rem;
  }

  .page-content-card h2 {
    font-size: 1.35rem;
  }

  .page-content-card h3 {
    font-size: 1.15rem;
  }
}

@media screen and (max-width: 480px) {
  .page-content-card {
    padding: 1rem;
  }

  .page-content-card h1 {
    font-size: 1.5rem;
  }

  .page-content-card h2 {
    font-size: 1.25rem;
  }
}

/* Cart Page Styles */
.cart-header {
  margin-bottom: 2rem;
}

.cart-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: var(--border-light);
}

.cart-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.back-to-menu-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background-color: var(--bg-card);
  transition: all 0.2s ease;
}

.back-to-menu-button:hover {
  background-color: var(--bg-darker);
  transform: translateY(-1px);
}

/* Cart Preloader */
.cart-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.cart-preloader .preloader-container {
  text-align: center;
}

.cart-preloader .preloader-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.cart-preloader .spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.cart-preloader .spinner-ring:nth-child(2) {
  animation-delay: -0.3s;
  border-top-color: var(--accent-color);
}

.cart-preloader .spinner-ring:nth-child(3) {
  animation-delay: -0.6s;
  border-top-color: var(--text-secondary);
}

.cart-preloader .preloader-text {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.cart-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-items-section {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
}

.cart-item {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item:last-child {
  margin-bottom: 0;
}

.cart-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.cart-item-title {
  flex: 1;
}

.cart-item-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.cart-item-variant {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-item-without {
  font-size: 0.9rem;
  color: var(--warning-color);
  font-style: italic;
  margin-top: 0.25rem;
}

.cart-item-ingredients {
  margin: 0.5rem 0;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.excluded-ingredients {
  color: var(--warning-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-extras {
  padding-left: 1rem;
  margin: 0.5rem 0;
}

.extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.extra-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.extra-item .extra-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.extra-item .extra-name::before {
  content: "+";
  color: var(--accent-color);
  font-weight: 500;
}

.extra-item .extra-quantity {
  color: var(--accent-color);
  font-weight: 500;
}

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

.cart-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  margin-top: 0.5rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  background-color: var(--bg-darker);
  border-radius: 8px;
  padding: 0.25rem;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background-color: var(--bg-card);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.quantity-btn:hover:not(:disabled) {
  background-color: var(--accent-color);
  color: white;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity {
  width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.cart-item-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Free offer item styles */
.cart-item.free-offer-item {
  border: 2px solid var(--accent-color);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.cart-item.free-offer-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), #f39c12);
  z-index: 1;
}

.free-offer-badge {
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.cart-item-price.free-offer-price {
  color: var(--accent-color);
  font-weight: bold;
}

.remove-item {
  color: var(--danger-color);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background-color: var(--bg-darker);
  transition: all 0.2s ease;
}

.remove-item:hover {
  background-color: rgba(231, 76, 60, 0.1);
}

/* Cart Item Notes Styles */
.cart-item-notes {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.notes-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.notes-header i {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.notes-textarea {
  width: 100%;
  min-height: 60px;
  max-height: 120px;
  padding: 0.75rem;
  background-color: var(--bg-darker);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--body-font);
  font-size: 0.9rem;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.notes-textarea::placeholder {
  color: var(--text-tertiary);
}

.notes-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: var(--bg-card);
}

.notes-textarea:not(:placeholder-shown) {
  border-color: var(--accent-color);
  background-color: var(--bg-card);
}

.notes-counter {
  text-align: right;
  margin-top: 0.25rem;
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

.notes-counter span {
  font-family: monospace;
}

/* Order Summary Styles */
.checkout-section {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
}

.order-summary {
  margin-bottom: 2rem;
  padding: 10px;
  background-color: var(--bg-primary);
  border-radius: 8px;
}

.order-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.summary-item.total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: var(--border-light);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.order-type-section {
  margin-bottom: 2rem;
}

/* Estimated Time Section Styles */
.estimated-time-section {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(243, 141, 16, 0.1);
  border: 1px solid rgba(243, 141, 16, 0.3);
  border-radius: 8px;
}

.estimated-time-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.estimated-time-info i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.estimated-time-info strong {
  color: var(--accent-color);
}

.order-type-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.order-type-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.order-type-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  text-align: left;
  transition: all 0.2s ease;
}

.order-type-btn i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-darker);
  border-radius: 6px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.order-type-btn .option-content {
  flex: 1;
}

.order-type-btn span {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
}

.order-type-btn small {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.order-type-btn .prep-time {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.8rem;
}

.order-type-btn.active .prep-time {
  color: white;
}

.order-type-btn.active {
  background-color: var(--accent-color);
}

.order-type-btn.active i {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.order-type-btn.active span,
.order-type-btn.active small {
  color: white;
}

.order-type-btn:hover:not(.active) {
  background-color: var(--bg-darker);
}

/* Mobile responsive styles for order type section */
@media screen and (max-width: 768px) {
  .order-type-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .order-type-btn {
    padding: 1.25rem;
  }
}

@media screen and (max-width: 480px) {
  .order-type-options {
    gap: 0.75rem;
  }

  .order-type-btn {
    padding: 1rem;
    gap: 0.75rem;
  }

  .order-type-btn span {
    font-size: 0.95rem;
  }

  .order-type-btn small {
    font-size: 0.8rem;
  }
}

/* Delivery Area Section Styles */
.delivery-area-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.delivery-area-section .form-group {
  margin-bottom: 1rem;
}

.delivery-area-section .form-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.delivery-area-section select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.delivery-area-section select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(243, 141, 16, 0.1);
}

.delivery-area-section .area-info {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.delivery-area-section .area-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.delivery-area-section .area-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0;
  font-size: 0.85rem;
}

.delivery-area-section .detail-label {
  color: var(--text-secondary);
}

.delivery-area-section .detail-value {
  color: var(--text-primary);
  font-weight: 500;
}

/* Time Slot Selection Section */
.time-slot-section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.time-slot-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.time-slot-section .form-group {
  margin-bottom: 0;
}

.time-slot-section .form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-slot-section .form-group label i {
  color: var(--primary-color);
  font-size: 16px;
}

.time-slot-section select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 14px;
  background: var(--input-bg);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.time-slot-section select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

/* Responsive design for time slot section */
@media (max-width: 768px) {
  .time-slot-section .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .time-slot-section {
    padding: 1rem;
  }
}

/* Customer Information Section */
.customer-info-section {
  margin-top: 2rem;
}

.customer-info-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(243, 141, 16, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.place-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.place-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 141, 16, 0.2);
}

.place-order-btn i {
  font-size: 1.1rem;
}

/* Cart Sticky Action */
.cart-sticky-action {
  position: sticky;
  bottom: 0;
  background: var(--bg-card);
  z-index: 10;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  margin: 1rem 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-sticky-action .place-order-btn {
  margin-top: 0;
  width: 100%;
}

/* Area Selection Styles */
.area-info {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.area-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.area-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.area-detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.detail-value {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group select {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.2s ease;
  width: 100%;
}

.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(243, 141, 16, 0.1);
}

.form-group select option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

/* Marketing Opt-in Checkbox Styles */
.marketing-optin-section {
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.checkbox-text {
  flex: 1;
}

.checkbox-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

/* Empty Cart Styles */
.empty-cart {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-cart-icon {
  font-size: 3rem;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
}

.empty-cart h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.empty-cart p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.continue-shopping-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.continue-shopping-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(243, 141, 16, 0.2);
}

/* Coupon Section Styles */
.coupon-section {
  margin-bottom: 2rem;
  background-color: var(--bg-secondary);
  border-radius: 8px;
}

.coupon-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.coupon-input-container {
  margin-bottom: 1rem;
}

.coupon-input-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.coupon-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  text-transform: uppercase;
}

.coupon-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
}

.apply-coupon-btn {
  padding: 0.75rem 1rem;
  background-color: var(--bg-primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.apply-coupon-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.apply-coupon-btn:disabled {
  background-color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

.coupon-message {
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.coupon-message.success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.coupon-message.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.applied-coupon {
  padding: 0.75rem;
  background-color: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 6px;
  margin-top: 0.75rem;
}

.coupon-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coupon-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.coupon-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.coupon-discount {
  font-size: 0.8rem;
  color: #16a34a;
  font-weight: 500;
}

.remove-coupon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.remove-coupon-btn:hover {
  color: #dc2626;
  background-color: rgba(239, 68, 68, 0.1);
}

.summary-item.coupon-discount {
  color: #16a34a;
  font-weight: 500;
}

.summary-item.coupon-discount span:last-child {
  font-weight: 600;
}

.summary-item.promotional-discount {
  color: #9333ea;
  font-weight: 500;
}

.summary-item.promotional-discount span:last-child {
  font-weight: 600;
}

/* Promotional Discount Notification */
.discount-notification {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg,
      rgba(147, 51, 234, 0.1) 0%,
      rgba(139, 69, 219, 0.05) 100%);
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 8px;
  margin-bottom: 2rem;
}

.discount-icon {
  width: 40px;
  height: 40px;
  background-color: #9333ea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.discount-text {
  flex: 1;
}

.discount-message {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Categories General Discount Notice */
.categories-general-discount-notice {
  margin-bottom: 2rem;
}

.discount-notice-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg,
      rgba(243, 141, 16, 0.1) 0%,
      rgba(243, 141, 16, 0.05) 100%);
  border: 1px solid rgba(243, 141, 16, 0.2);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.discount-notice-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.discount-notice-text {
  flex: 1;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================= */
/* Shop Status & Business Hours Styles */
/* ============================================= */

/* Disabled Order Type Buttons */
.order-type-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  position: relative;
  pointer-events: none;
}

.order-type-btn.disabled .disabled-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ff6b6b;
  font-size: 1.5rem;
}

/* Service Unavailable Notice */
.service-unavailable-notice {
  background: linear-gradient(135deg, #ff6b6b, #e74c3c);
  color: white;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.service-unavailable-notice .notice-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-unavailable-notice .notice-content {
  flex: 1;
}

.service-unavailable-notice strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.service-unavailable-notice p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.4;
}

/* Disabled Place Order Button */
.place-order-btn.disabled {
  background: #666 !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  pointer-events: none;
}

.order-disabled-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.order-disabled-note i {
  margin-right: 6px;
  color: var(--warning-color);
}

/* Shop Status Responsive */
@media (max-width: 768px) {
  .service-unavailable-notice {
    padding: 14px;
    margin-top: 12px;
  }

  .service-unavailable-notice .notice-icon {
    font-size: 18px;
  }

  .service-unavailable-notice strong {
    font-size: 15px;
  }

  .service-unavailable-notice p {
    font-size: 13px;
  }

  .order-disabled-note {
    font-size: 13px;
    padding: 10px;
  }
}

/* Payment Method Section Styles */
.payment-method-section {
  margin-bottom: 1.5rem;
}

.payment-method-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.payment-method-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.payment-option {
  position: relative;
  cursor: pointer;
  display: block;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-secondary);
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.payment-option-content i {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.payment-option-content span {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.payment-option input[type="radio"]:checked+.payment-option-content {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.payment-option input[type="radio"]:checked+.payment-option-content i,
.payment-option input[type="radio"]:checked+.payment-option-content span {
  color: white;
}

/* Disabled Payment Options */
.payment-option.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.payment-option.disabled .payment-option-content {
  background-color: var(--bg-secondary);
  border-color: transparent;
  pointer-events: none;
}

.payment-option.disabled .payment-option-content i,
.payment-option.disabled .payment-option-content span {
  color: var(--text-muted);
}

.payment-option.disabled input[type="radio"] {
  pointer-events: none;
}

/* Payment Minimum Notice */
.payment-minimum-notice {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  color: #856404;
}

.payment-minimum-notice .notice-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-minimum-notice i {
  color: #f39c12;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.payment-minimum-notice .notice-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

.payment-minimum-notice #minimumAmount {
  font-weight: 600;
  color: #d35400;
}

.payment-option:hover .payment-option-content {
  background-color: var(--bg-darker);
  transform: translateY(-1px);
}

.payment-option input[type="radio"]:checked:hover+.payment-option-content {
  background-color: var(--accent-color);
}

/* Mobile optimizations */
@media (max-width: 767px) {
  .payment-method-section {
    margin-bottom: 1.25rem;
  }

  .payment-method-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .payment-option-content {
    padding: 0.6rem 0.85rem;
    gap: 0.5rem;
  }

  .payment-option-content i {
    width: 18px;
    height: 18px;
  }

  .payment-option-content span {
    font-size: 0.85rem;
  }
}

/* Desktop and larger screens */
@media (min-width: 768px) {
  .payment-method-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .payment-option-content {
    padding: 0.75rem 1rem;
  }
}

/* Payment Result Pages Styles */
.payment-result-container {
  max-width: 800px;
}

.payment-result-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.payment-result-card.success .result-icon {
  color: var(--discount-color);
}

.payment-result-card.cancel .result-icon {
  color: var(--danger-color);
}

.result-icon {
  font-size: 4rem;
}

.result-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.result-message {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.order-id {
  background-color: var(--bg-secondary);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--accent-color);
}

.result-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
}

.btn-primary:hover {
  background-color: #e07d0b;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-darker);
  transform: translateY(-1px);
}

/* Order Summary Styles for Success Page */
.order-summary-success {
  text-align: left;
  margin-top: 2rem;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 1.5rem;
}

.order-summary-success h3,
.order-summary-success h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.order-info,
.customer-info {
  margin-bottom: 1.5rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .label {
  color: var(--text-secondary);
  font-weight: 500;
}

.info-row .value {
  color: var(--text-primary);
  text-align: right;
}

.order-items {
  margin-bottom: 1.5rem;
}

.order-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-item:last-child {
  border-bottom: none;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.item-name {
  font-weight: 500;
  color: var(--text-primary);
}

.item-variant {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.item-addons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.addon {
  font-size: 0.8rem;
  background-color: var(--bg-darker);
  color: var(--text-secondary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.item-quantity {
  color: var(--text-secondary);
  font-weight: 500;
}

.item-price {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.order-totals {
  border-top: 2px solid var(--border-color);
  padding-top: 1rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.total-row.discount {
  color: #16a34a;
}

.total-row.final-total {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-color);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.customer-details {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

/* Tips Section Styles */
.tips-section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Free Offer Styles for Payment Success Page */
.order-item.free-offer-item {
  background: linear-gradient(135deg,
      rgba(72, 187, 120, 0.1) 0%,
      rgba(72, 187, 120, 0.05) 100%);
  border: 1px solid rgba(72, 187, 120, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin: 0.5rem 0;
}

.free-offer-badge {
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-left: 0.5rem;
  display: inline-block;
}

.item-price.free-offer-price {
  color: var(--accent-color) !important;
  font-weight: bold;
}

.free-label {
  font-size: 0.75rem;
  color: var(--discount-color);
  margin-left: 0.25rem;
  font-style: italic;
}

.item-extra .free-label {
  color: #16a34a;
  font-weight: 500;
}

.order-info-section {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.order-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.order-header h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.order-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.order-type i {
  margin-right: 0.25rem;
}

.order-item {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
  border-bottom: none;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.item-name {
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}

.item-meta {
  display: flex;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.item-extra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-left: 1rem;
}

.extra-price {
  font-weight: 500;
}

.summary-details {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.summary-line.discount-line {
  color: #16a34a;
}

.summary-line.total-line {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.customer-details,
.payment-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.customer-info p,
.payment-details p {
  margin: 0.5rem 0;
  color: var(--text-primary);
}

.account-creation-notice {
  background: linear-gradient(135deg,
      rgba(59, 130, 246, 0.1) 0%,
      rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.notice-icon {
  color: #3b82f6;
  font-size: 1.5rem;
}

.notice-content h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.notice-content p {
  color: var(--text-primary);
  margin: 0.25rem 0;
}

.notice-content small {
  color: var(--text-secondary);
}

.tips-section h4 {
  margin-bottom: 1.2rem;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tips-section h4::before {
  content: "💰";
  font-size: 1rem;
}

.tip-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tip-option {
  padding: 0.75rem 0.5rem;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color) !important;
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-option:hover {
  background: var(--bg-darker);
  border-color: var(--accent-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tip-option.selected {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(243, 141, 16, 0.3);
}

.tip-option.selected::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 12px;
  font-weight: bold;
  color: white;
}

.custom-tip-input {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.custom-tip-input .input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.custom-tip-input .input-group-text {
  padding: 0.5rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px 0 0 6px;
  color: var(--text-secondary);
  font-weight: 500;
  border-right: none;
}

.custom-tip-input input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0;
  color: var(--text-primary);
  font-size: 0.9rem;
  min-height: 40px;
}

.custom-tip-input input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(243, 141, 16, 0.2);
}

.custom-tip-input button {
  padding: 0.5rem 1rem;
  background: var(--accent-color);
  border: none;
  border-radius: 0 6px 6px 0;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  min-height: 40px;
}

.custom-tip-input button:hover {
  background: #e67e0e;
  transform: translateY(-1px);
}

.custom-tip-input button:active {
  transform: translateY(0);
}

#tipLine {
  color: var(--text-primary);
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border-color);
  font-weight: 500;
}

#tipLine span:last-child {
  color: var(--accent-color);
  font-weight: 600;
}

/* Mobile responsiveness for tips */
@media (max-width: 768px) {
  .tips-section {
    padding: 1rem;
    margin: 1rem 0;
  }

  .tip-options {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
  }

  .tip-option {
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
    min-height: 40px;
  }

  .custom-tip-input .input-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .custom-tip-input .input-group-text {
    border-radius: 6px;
    border-right: 1px solid var(--border-color);
    text-align: center;
  }

  .custom-tip-input input,
  .custom-tip-input button {
    border-radius: 6px;
  }
}

/* Loading state styling for tip options */
.tip-option.loading {
  background: var(--bg-secondary);
  border: 2px dashed var(--border-color);
  cursor: default;
  pointer-events: none;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.8;
  }
}

/* Improved focus styles for accessibility */
.tip-option:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.tip-option.no-tip {
  border-style: dashed;
  opacity: 0.8;
}

.tip-option.no-tip:hover {
  opacity: 1;
  border-style: solid;
}

.tip-option.no-tip.selected {
  background: var(--bg-darker);
  border-color: var(--text-tertiary);
  color: var(--text-secondary);
}

.tip-option.no-tip.selected::after {
  content: "✓";
  color: var(--text-tertiary);
}

/* Login Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--bg-card);
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.modal-body {
  padding: 1.5rem;
}

.account-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.account-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-top: 0.5rem;
}

.account-details h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.account-details p {
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.account-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.stat-item i {
  font-size: 0.8rem;
}

.login-form {
  margin-bottom: 1.5rem;
}

.password-input-group {
  position: relative;
}

.password-input-group input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.password-input-group input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.password-toggle:hover {
  color: var(--text-primary);
}

.login-message {
  margin: 1rem 0;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}

.login-message.error {
  background: rgba(231, 76, 60, 0.1);
  color: var(--danger-color);
  border: 1px solid rgba(231, 76, 60, 0.2);
}

.login-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--discount-color);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 20px;
}

.btn-login {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-login:hover {
  background: var(--accent-color);
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-login:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-forgot-password {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.btn-forgot-password:hover {
  color: var(--text-primary);
}

.guest-option {
  position: relative;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.divider span {
  margin: 0 1rem;
}

.btn-continue-guest {
  width: 100%;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-continue-guest:hover {
  background: var(--bg-darker);
  border-color: var(--text-tertiary);
  transform: translateY(-1px);
}

.guest-note {
  margin: 0.75rem 0 0 0;
  color: var(--text-tertiary);
  font-size: 0.85rem;
  text-align: center;
}

/* Account checking loading state */
.checking-account {
  border-color: var(--accent-color);
  background-color: rgba(109, 77, 156, 0.05);
}

.account-check-loading {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: rgba(109, 77, 156, 0.1);
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.account-check-loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Re-order button styles */
.account-order-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: flex-end;
}

.btn-reorder {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.btn-reorder:hover {
  background-color: #0056b3;
}

.btn-reorder:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

.btn-reorder i {
  font-size: 12px;
}

@media (max-width: 768px) {
  .account-order-actions {
    justify-content: center;
  }

  .btn-reorder {
    width: 100%;
    justify-content: center;
  }

  /* Mobile styles for reservation button */
  .reservation-btn span {
    display: none;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .translate-btn,
  .login-btn,
  .reservation-btn {
    padding: 0.5rem;
    min-width: 44px;
    justify-content: center;
  }
}

/* RTL Language Support */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .header-info-content {
  flex-direction: row-reverse;
}

[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .categories-grid {
  direction: rtl;
}

[dir="rtl"] .category-card {
  text-align: right;
}

[dir="rtl"] .products-grid {
  direction: rtl;
}

[dir="rtl"] .product-card {
  text-align: right;
}

[dir="rtl"] .product-details-content {
  text-align: right;
}

[dir="rtl"] .back-button {
  flex-direction: row-reverse;
}

[dir="rtl"] .back-button i {
  transform: scaleX(-1);
}

[dir="rtl"] .info-card-header {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-primary {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-links {
  text-align: left;
}

[dir="rtl"] .language-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .translate-btn .fa-chevron-down {
  transform: scaleX(-1);
}

/* Arabic font optimization */
.lang-ar {
  font-family: "Tajawal", "Arial", sans-serif;
}

.lang-ar .category-name,
.lang-ar .product-name,
.lang-ar .section-title {
  font-weight: 600;
}

/* German font optimization */
.lang-de {
  font-family: "Roboto", "Arial", sans-serif;
}

/* Loading and Error States */
.products-loading,
.categories-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.products-loading .spinner,
.categories-loading .spinner {
  margin-bottom: 1rem;
}

.no-products-message,
.error-message {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  font-style: italic;
}

.error-message {
  color: #e74c3c;
}