/* ============================================================
   SITIO WEB - ESTILOS GLOBALES
   ============================================================ */

/* ========== ESTILOS GLOBALES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  background: #f8fafc;
  color: #111827;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.sitio-web-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #111827;
  color: #fff;
  min-height: 70px;
  flex-wrap: wrap;
  gap: 10px;
}
.sitio-web-preview-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sitio-web-preview-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 4px;
}
.sitio-web-preview-logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.sitio-web-preview-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #f8fafc;
  flex-wrap: wrap;
}
.sitio-web-preview-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.sitio-web-preview-nav-item:hover {
  opacity: 0.8;
}
.sitio-web-preview-btn {
  border: none;
  background: #84cc16;
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.sitio-web-preview-btn:hover {
  opacity: 0.9;
}

/* ========== HEADER - BOTÓN HAMBURGUESA ========== */
.sitio-web-preview-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}
.sitio-web-preview-hamburger:hover {
  color: #84cc16;
}
.sitio-web-preview-hamburger:focus {
  outline: none;
}

@media (max-width: 768px) {
  .sitio-web-preview-header {
    position: relative;
    z-index: 100;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .sitio-web-preview-brand {
    flex: 1;
  }
  .sitio-web-preview-hamburger {
    display: block;
  }
  .sitio-web-preview-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: auto;
    min-width: 200px;
    background: #111827;
    padding: 12px 16px;
    flex-direction: column;
    gap: 4px;
    z-index: 200;
    border-radius: 8px;
    border: 1px solid #374151;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  .sitio-web-preview-nav.open {
    display: flex;
  }
  .sitio-web-preview-nav-item {
    white-space: nowrap;
    padding: 10px 16px;
    border-bottom: 1px solid #1f2937;
    justify-content: flex-start;
    font-size: 15px;
    text-align: left;
    width: 100%;
    transition: background 0.2s;
  }
  .sitio-web-preview-nav-item:last-child {
    border-bottom: none;
  }
  .sitio-web-preview-nav-item:hover {
    background: #1f2937;
    border-radius: 4px;
  }
}

@media (max-width: 480px) {
  .sitio-web-preview-hamburger {
    font-size: 24px;
    padding: 2px 6px;
  }
  .sitio-web-preview-nav {
    min-width: 160px;
    padding: 8px 12px;
  }
  .sitio-web-preview-nav-item {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* ========== HERO ========== */
.sitio-web-preview-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111827;
  padding: 60px 20px;
  overflow: hidden;
}
.sitio-web-preview-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}
.sitio-web-preview-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: #84cc16;
  color: #111827;
  margin-bottom: 16px;
}
.sitio-web-preview-hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}
.sitio-web-preview-hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 16px;
  opacity: 0.9;
  max-width: 600px;
}

/* ========== FOOTER ========== */
.sitio-web-footer-preview {
  background: #111827;
  color: #f8fafc;
  padding: 20px 20px;
  border-top: 1px solid #374151;
}
.sitio-web-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
}
.sitio-web-footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sitio-web-footer-logo {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  padding: 4px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.sitio-web-footer-company {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
}
.sitio-web-footer-center {
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
  flex: 1;
}
.sitio-web-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.sitio-web-footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  padding: 2px 0;
}
.sitio-web-footer-link:hover {
  color: #ffffff;
}
.sitio-web-footer-link i {
  font-size: 14px;
  width: 18px;
  text-align: center;
}

/* ========== FOOTER RESPONSIVE ========== */
@media (max-width: 768px) {
  .sitio-web-footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 12px;
  }
  .sitio-web-footer-left {
    flex-direction: row;
    gap: 8px;
    flex-shrink: 0;
    order: 1;
  }
  .sitio-web-footer-company {
    display: none;
  }
  .sitio-web-footer-logo {
    height: 36px;
    width: 36px;
  }
  .sitio-web-footer-center {
    font-size: 11px;
    text-align: center;
    flex: 1;
    order: 2;
    min-width: 0;
  }
  .sitio-web-footer-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    order: 3;
  }
  .sitio-web-footer-link {
    font-size: 11px;
    padding: 1px 0;
  }
  .sitio-web-footer-link i {
    font-size: 12px;
    width: 16px;
  }
}

@media (max-width: 480px) {
  .sitio-web-footer-container {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .sitio-web-footer-left {
    order: 1;
    flex-direction: row;
    gap: 8px;
  }
  .sitio-web-footer-center {
    order: 2;
    font-size: 10px;
    text-align: center;
    width: 100%;
  }
  .sitio-web-footer-right {
    order: 3;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    flex-wrap: wrap;
  }
  .sitio-web-footer-link {
    font-size: 10px;
    padding: 2px 4px;
  }
  .sitio-web-footer-link i {
    font-size: 11px;
    width: 14px;
  }
  .sitio-web-footer-logo {
    height: 30px;
    width: 30px;
  }
}

/* ============================================================
   CATEGORÍAS - CARRUSEL
   ============================================================ */
.sitio-web-categorias-preview {
  padding: 60px 20px;
  background: #f8fafc;
}
.sitio-web-categorias-header {
  text-align: center;
  margin-bottom: 40px;
}
.sitio-web-categorias-subtitle {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #84cc16;
  margin-bottom: 4px;
}
.sitio-web-categorias-title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
}
.sitio-web-categorias-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.sitio-web-categorias-viewport {
  overflow: hidden;
}
.sitio-web-categorias-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
}
.sitio-web-categoria-card {
  flex: 0 0 calc(25% - 15px);
  max-width: calc(25% - 15px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-align: center;
  padding: 20px 16px;
}
.sitio-web-categoria-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.sitio-web-categoria-image {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
}
.sitio-web-categoria-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sitio-web-categoria-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: -24px auto 12px;
  background: #fff;
  border: 2px solid #e5e7eb;
  position: relative;
  z-index: 1;
}
.sitio-web-categoria-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.sitio-web-categoria-card-platillos {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 4px;
}
.sitio-web-categoria-card-description {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}
.sitio-web-categorias-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: #111827;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.sitio-web-categorias-nav:hover {
  background: #f3f4f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.sitio-web-categorias-nav.hidden {
  display: none;
}
.sitio-web-categorias-prev {
  left: 0;
}
.sitio-web-categorias-next {
  right: 0;
}

@media (max-width: 1024px) {
  .sitio-web-categoria-card {
    flex: 0 0 calc(33.33% - 14px);
    max-width: calc(33.33% - 14px);
  }
  .sitio-web-categorias-slider {
    padding: 0 30px;
  }
}
@media (max-width: 768px) {
  .sitio-web-categoria-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
  .sitio-web-categorias-slider {
    padding: 0 20px;
  }
  .sitio-web-categoria-image {
    height: 110px;
  }
  .sitio-web-categoria-card-title {
    font-size: 16px;
  }
  .sitio-web-categorias-title {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .sitio-web-categoria-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    padding: 14px 10px;
  }
  .sitio-web-categoria-image {
    height: 90px;
  }
  .sitio-web-categoria-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
    margin: -18px auto 8px;
  }
  .sitio-web-categoria-card-title {
    font-size: 14px;
  }
  .sitio-web-categoria-card-platillos {
    font-size: 11px;
  }
  .sitio-web-categoria-card-description {
    font-size: 12px;
  }
  .sitio-web-categorias-title {
    font-size: 22px;
  }
  .sitio-web-categorias-slider {
    padding: 0 12px;
  }
  .sitio-web-categorias-nav {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

/* ============================================================
   MENÚ - PLATILLOS Y FILTROS
   ============================================================ */
.sitio-web-menu-preview {
  padding: 60px 20px;
  background: #111827;
}
.sitio-web-menu-header {
  text-align: center;
  margin-bottom: 40px;
}
.sitio-web-menu-subtitle {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #84cc16;
  margin-bottom: 4px;
}
.sitio-web-menu-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
}

/* ========== FILTROS ========== */
.sitio-web-menu-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 20px 16px;
  margin: 0 auto 32px;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
  justify-content: center;
}
.sitio-web-menu-filters::-webkit-scrollbar {
  height: 4px;
}
.sitio-web-menu-filters::-webkit-scrollbar-track {
  background: transparent;
}
.sitio-web-menu-filters::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}
.sitio-web-menu-filter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 4px 8px;
  border-radius: 8px;
  flex: 0 0 auto;
}
.sitio-web-menu-filter-item:hover {
  transform: scale(1.05);
}
.sitio-web-menu-filter-item.active {
  background: #f0fdf4;
  border-radius: 12px;
}
.sitio-web-menu-filter-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #e5e7eb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  flex-shrink: 0;
}
.sitio-web-menu-filter-item.active .sitio-web-menu-filter-circle {
  border-color: #84cc16;
  box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.2);
}
.sitio-web-menu-filter-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sitio-web-menu-filter-circle .no-image {
  font-size: 24px;
  color: #9ca3af;
}
.sitio-web-menu-filter-name {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 80px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  min-height: 28px;
  padding: 0 2px;
}
.sitio-web-menu-filter-item.active .sitio-web-menu-filter-name {
  color: #84cc16;
}
.sitio-web-menu-filter-circle.todos {
  background: #f3f4f6;
  border-color: #d1d5db;
}
.sitio-web-menu-filter-item.active .sitio-web-menu-filter-circle.todos {
  border-color: #84cc16;
  background: #f0fdf4;
}
.sitio-web-menu-filter-circle.todos .no-image {
  font-size: 28px;
  color: #6b7280;
}

@media (min-width: 769px) {
  .sitio-web-menu-filters {
    gap: 20px 24px;
    padding: 8px 20px 16px;
    justify-content: center;
  }
  .sitio-web-menu-filter-circle {
    width: 72px;
    height: 72px;
  }
  .sitio-web-menu-filter-name {
    font-size: 12px;
    max-width: 90px;
    min-height: 32px;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .sitio-web-menu-filters {
    gap: 14px 18px;
    padding: 8px 16px 16px;
    justify-content: center;
  }
  .sitio-web-menu-filter-circle {
    width: 60px;
    height: 60px;
    border-width: 3px;
  }
  .sitio-web-menu-filter-name {
    font-size: 10px;
    max-width: 72px;
    min-height: 24px;
  }
}
@media (min-width: 376px) and (max-width: 480px) {
  .sitio-web-menu-filters {
    gap: 10px 14px;
    padding: 8px 12px 16px;
    justify-content: center;
  }
  .sitio-web-menu-filter-circle {
    width: 52px;
    height: 52px;
    border-width: 2px;
  }
  .sitio-web-menu-filter-name {
    font-size: 9px;
    max-width: 64px;
    min-height: 20px;
  }
}
@media (max-width: 375px) {
  .sitio-web-menu-filters {
    gap: 8px 12px;
    padding: 8px 8px 16px;
    justify-content: center;
  }
  .sitio-web-menu-filter-circle {
    width: 46px;
    height: 46px;
    border-width: 2px;
  }
  .sitio-web-menu-filter-name {
    font-size: 8px;
    max-width: 56px;
    min-height: 18px;
  }
}

/* ========== GRID DE PLATILLOS ========== */
.sitio-web-menu-grid {
  display: grid;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}
@media (min-width: 1025px) {
  .sitio-web-menu-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .sitio-web-menu-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .sitio-web-menu-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}
@media (min-width: 376px) and (max-width: 480px) {
  .sitio-web-menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}
@media (max-width: 375px) {
  .sitio-web-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ========== TARJETA DE PLATILLO ========== */
.sitio-web-menu-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.sitio-web-menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.sitio-web-menu-card-image-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: #f3f4f6;
}
.sitio-web-menu-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sitio-web-menu-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sitio-web-menu-card-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sitio-web-menu-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sitio-web-menu-card-description {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.sitio-web-menu-card-price {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}
.sitio-web-menu-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
}
.sitio-web-menu-card-quantity {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sitio-web-menu-card-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.sitio-web-menu-card-qty-btn:hover {
  background: #f3f4f6;
}
.sitio-web-menu-card-qty-btn:active {
  transform: scale(0.95);
}
.sitio-web-menu-card-qty-number {
  font-size: 16px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
  color: #111827;
}
.sitio-web-menu-card-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #84cc16;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.sitio-web-menu-card-add-btn:hover {
  background: #65a30d;
}
.sitio-web-menu-card-add-btn:active {
  transform: scale(0.9);
}
.sitio-web-menu-card-add-btn.added {
  background: #22c55e;
}

/* ========== AJUSTES RESPONSIVE TARJETAS ========== */
@media (min-width: 481px) and (max-width: 768px) {
  .sitio-web-menu-card-content {
    padding: 8px;
  }
  .sitio-web-menu-card-title {
    font-size: 13px;
  }
  .sitio-web-menu-card-description {
    font-size: 10px;
    -webkit-line-clamp: 1;
  }
  .sitio-web-menu-card-price {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .sitio-web-menu-card-qty-btn {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  .sitio-web-menu-card-qty-number {
    font-size: 14px;
    min-width: 20px;
  }
  .sitio-web-menu-card-add-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}
@media (min-width: 376px) and (max-width: 480px) {
  .sitio-web-menu-card-content {
    padding: 6px;
  }
  .sitio-web-menu-card-title {
    font-size: 12px;
    -webkit-line-clamp: 1;
  }
  .sitio-web-menu-card-description {
    display: none;
  }
  .sitio-web-menu-card-price {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .sitio-web-menu-card-qty-btn {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
  .sitio-web-menu-card-qty-number {
    font-size: 12px;
    min-width: 16px;
  }
  .sitio-web-menu-card-add-btn {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}
@media (max-width: 375px) {
  .sitio-web-menu-card-content {
    padding: 6px;
  }
  .sitio-web-menu-card-title {
    font-size: 11px;
    -webkit-line-clamp: 1;
  }
  .sitio-web-menu-card-description {
    display: none;
  }
  .sitio-web-menu-card-price {
    font-size: 12px;
    margin-bottom: 4px;
  }
  .sitio-web-menu-card-qty-btn {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
  .sitio-web-menu-card-qty-number {
    font-size: 11px;
    min-width: 14px;
  }
  .sitio-web-menu-card-add-btn {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
}

/* ============================================================
   CARRITO FLOTANTE Y PANEL LATERAL
   ============================================================ */
.sitio-web-cart-float {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  left: auto !important;
  z-index: 999;
  background: #84cc16;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(132, 204, 22, 0.4);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sitio-web-cart-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(132, 204, 22, 0.5);
}
.sitio-web-cart-float .badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.sitio-web-cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sitio-web-cart-panel.open {
  right: 0;
}
.sitio-web-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sitio-web-cart-overlay.open {
  display: block;
  opacity: 1;
}
.sitio-web-cart-panel-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  flex-shrink: 0;
}
.sitio-web-cart-panel-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.sitio-web-cart-panel-header h3 i {
  margin-right: 8px;
  color: #84cc16;
}
.sitio-web-cart-panel-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.sitio-web-cart-panel-close:hover {
  color: #111827;
}
.sitio-web-cart-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.sitio-web-cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}
.sitio-web-cart-empty i {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 16px;
  display: block;
}
.sitio-web-cart-empty p {
  font-size: 16px;
}
.sitio-web-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}
.sitio-web-cart-item:last-child {
  border-bottom: none;
}
.sitio-web-cart-item-image {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f4f6;
}
.sitio-web-cart-item-info {
  flex: 1;
  min-width: 0;
}
.sitio-web-cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.sitio-web-cart-item-price {
  font-size: 13px;
  color: #6b7280;
}
.sitio-web-cart-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.sitio-web-cart-item-actions button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.sitio-web-cart-item-actions button:hover {
  background: #f3f4f6;
}
.sitio-web-cart-item-actions .qty {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}
.sitio-web-cart-item-remove {
  color: #ef4444;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
/* Botón de notas */
.sitio-web-cart-item-notes-btn {
  color: #6b7280;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.sitio-web-cart-item-notes-btn:hover {
  color: #84cc16;
}
.sitio-web-cart-item-notes-btn.active {
  color: #84cc16;
}

/* Campo de notas del item */
.sitio-web-cart-item-notes {
  display: none;
  margin-top: 4px;
  padding: 4px 0;
  width: 100%;
  grid-column: 1 / -1;
}
.sitio-web-cart-item-notes.open {
  display: block;
}
.sitio-web-cart-item-notes input {
  width: 100%;
  padding: 6px 10px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  background: #f9fafb;
  box-sizing: border-box;
}
.sitio-web-cart-item-notes input:focus {
  border-color: #84cc16;
  background: #fff;
}
.sitio-web-cart-item-notes input::placeholder {
  color: #9ca3af;
  font-style: italic;
}
.sitio-web-cart-item-remove:hover {
  color: #dc2626;
}
.sitio-web-cart-panel-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
  flex-shrink: 0;
}
.sitio-web-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}
.sitio-web-cart-total span:last-child {
  color: #84cc16;
}
.sitio-web-cart-checkout {
  width: 100%;
  padding: 14px;
  background: #84cc16;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.sitio-web-cart-checkout:hover {
  background: #65a30d;
}
@media (max-width: 480px) {
  .sitio-web-cart-float {
    width: 56px;
    height: 56px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
  .sitio-web-cart-panel {
    max-width: 100vw;
    width: 100%;
  }
  .sitio-web-cart-panel-body {
    padding: 12px 16px;
  }
  .sitio-web-cart-item-image {
    width: 40px;
    height: 40px;
  }
  .sitio-web-cart-item-name {
    font-size: 13px;
  }
}

/* ========== PROPINA ========== */
.sitio-web-cart-propina {
  padding: 12px 0;
  border-top: 1px solid #e5e7eb;
  margin-bottom: 8px;
}
.propina-label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-right: 8px;
  white-space: nowrap;
}
.sitio-web-cart-propina-opciones {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}
.sitio-web-cart-propina-opciones::-webkit-scrollbar {
  height: 3px;
}
.sitio-web-cart-propina-opciones::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}
.propina-label {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-right: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.propina-btn {
  padding: 2px 8px;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.propina-btn:hover {
  border-color: #84cc16;
  color: #111827;
}
.propina-btn.active {
  border-color: #84cc16;
  background: #f0fdf4;
  color: #84cc16;
}
.propina-btn.propina-personalizado {
  font-size: 13px;
  padding: 2px 6px;
}
.sitio-web-cart-propina-personalizado {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sitio-web-cart-propina-personalizado input {
  padding: 4px 8px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 12px;
  width: 80px;
  outline: none;
  transition: border-color 0.2s;
}
.sitio-web-cart-propina-personalizado input:focus {
  border-color: #84cc16;
}
.sitio-web-cart-propina-personalizado span {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}
.sitio-web-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #6b7280;
  padding: 4px 0;
}
.sitio-web-cart-subtotal span:last-child {
  color: #111827;
  font-weight: 600;
}

/* ========== CARRITO MÓVIL HORIZONTAL ========== */
@media (min-width: 376px) and (max-width: 768px) and (orientation: landscape) {
  .sitio-web-cart-panel {
    max-width: 100vw;
    width: 100%;
    right: -100%;
  }
  .sitio-web-cart-panel.open {
    right: 0;
  }
  .sitio-web-cart-panel {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sitio-web-cart-panel-header {
    flex: 0 0 100%;
    padding: 8px 16px;
    min-height: 44px;
    border-bottom: 1px solid #e5e7eb;
  }
  .sitio-web-cart-panel-header h3 {
    font-size: 16px;
    margin: 0;
  }
  .sitio-web-cart-panel-header h3 i {
    font-size: 16px;
  }
  .sitio-web-cart-panel-close {
    font-size: 20px;
    padding: 2px 6px;
  }
  .sitio-web-cart-panel-body {
    padding: 8px 12px;
    flex: 1 1 50%;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    min-height: 200px;
  }
  .sitio-web-cart-panel-footer {
    flex: 0 0 50%;
    padding: 10px 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-top: none;
    border-left: 1px solid #e5e7eb;
    background: #f8fafc;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .sitio-web-cart-item {
    padding: 5px 0;
  }
  .sitio-web-cart-item-image {
    width: 32px;
    height: 32px;
    border-radius: 6px;
  }
  .sitio-web-cart-item-name {
    font-size: 12px;
  }
  .sitio-web-cart-item-price {
    font-size: 11px;
  }
  .sitio-web-cart-item-actions button {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .sitio-web-cart-item-actions .qty {
    font-size: 12px;
    min-width: 18px;
  }
  .sitio-web-cart-item-remove {
    font-size: 14px;
    padding: 2px 4px;
  }
  .sitio-web-cart-propina {
    padding: 6px 0;
    margin-bottom: 4px;
  }
  .sitio-web-cart-propina-opciones {
    gap: 3px;
  }
  .propina-btn {
    font-size: 10px;
    padding: 2px 6px;
    border-width: 1.5px;
  }
  .propina-label {
    font-size: 11px;
    margin-right: 3px;
  }
  .sitio-web-cart-propina-personalizado {
    margin-top: 4px;
  }
  .sitio-web-cart-propina-personalizado input {
    width: 55px;
    font-size: 10px;
    padding: 2px 5px;
  }
  .sitio-web-cart-propina-personalizado span {
    font-size: 11px;
  }
  .sitio-web-cart-subtotal {
    font-size: 13px;
    padding: 2px 0;
  }
  .sitio-web-cart-total {
    font-size: 15px;
    margin-bottom: 6px;
    padding-top: 4px;
    border-top: 2px solid #e5e7eb;
  }
  .sitio-web-cart-checkout {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
    margin-top: 4px;
    flex-shrink: 0;
  }
  .sitio-web-cart-float {
    width: 44px;
    height: 44px;
    font-size: 18px;
    bottom: 14px;
    right: 14px;
  }
  .sitio-web-cart-float .badge {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: -4px;
    right: -4px;
  }
}

/* ============================================================
   MODALES DE AUTENTICACIÓN
   ============================================================ */
.sitio-web-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
}
.sitio-web-modal.active {
  display: flex;
}
.sitio-web-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.sitio-web-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 450px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
  from {
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.sitio-web-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.sitio-web-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.sitio-web-modal-header h3 i {
  color: #84cc16;
  margin-right: 10px;
}
.sitio-web-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  padding: 0 8px;
  line-height: 1;
  transition: color 0.2s;
}
.sitio-web-modal-close:hover {
  color: #111827;
}
.sitio-web-modal-body {
  padding: 24px;
}
.sitio-web-form-group {
  margin-bottom: 16px;
}
.sitio-web-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}
.sitio-web-form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
}
.sitio-web-form-group input:focus {
  border-color: #84cc16;
}
.sitio-web-form-row {
  display: flex;
  gap: 12px;
}
.sitio-web-form-row .sitio-web-form-group {
  flex: 1;
}
.sitio-web-form-hint {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}
.sitio-web-form-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid #fca5a5;
}
.sitio-web-modal-btn-primary {
  width: 100%;
  padding: 12px;
  background: #84cc16;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.sitio-web-modal-btn-primary:hover {
  background: #65a30d;
}
.sitio-web-modal-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.sitio-web-modal-btn-secondary {
  width: 100%;
  padding: 12px;
  background: #f3f4f6;
  color: #111827;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.sitio-web-modal-btn-secondary:hover {
  background: #e5e7eb;
}
.sitio-web-modal-btn-guest {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: #6b7280;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.sitio-web-modal-btn-guest:hover {
  border-color: #84cc16;
  color: #84cc16;
}
.sitio-web-modal-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
  color: #9ca3af;
  font-size: 13px;
}
.sitio-web-modal-divider::before,
.sitio-web-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}
.sitio-web-modal-info {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .sitio-web-modal-content {
    max-width: 95%;
    border-radius: 12px;
  }
  .sitio-web-modal-header h3 {
    font-size: 17px;
  }
  .sitio-web-modal-body {
    padding: 16px;
  }
  .sitio-web-form-row {
    flex-direction: column;
    gap: 0;
  }
}
