* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #111827;
  background-color: #f9fafb;
  min-height: 100vh;
}
.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  text-decoration: none;
  text-align: center;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-primary {
  background: #2563eb;
  color: #ffffff;
}
.btn-primary:hover:not(:disabled) {
  background: #1e40af;
}
.btn-secondary {
  background: #e5e7eb;
  color: #374151;
}
.btn-secondary:hover:not(:disabled) {
  background: #d1d5db;
}
.btn-danger {
  background: #ef4444;
  color: #ffffff;
}
.btn-danger:hover:not(:disabled) {
  background: #eb1515;
}
.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}
.btn-block {
  width: 100%;
  display: block;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.form-group small {
  display: block;
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="color"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 150ms ease-in-out;
}
.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="color"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px #dbeafe;
}
.form-group input[type="checkbox"] {
  margin-right: 0.5rem;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  align-items: center;
  justify-content: center;
}
.modal.active {
  display: flex;
}
.modal-content {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
}
.modal-header h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.875rem;
  color: #6b7280;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 150ms ease-in-out;
}
.modal-close:hover {
  color: #111827;
}
.modal-form {
  padding: 2rem;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  table-layout: fixed;
}
.data-table thead {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}
.data-table thead th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.data-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background 150ms ease-in-out;
}
.data-table tbody tr:hover {
  background: #f9fafb;
}
.data-table tbody td {
  padding: 0.5rem 1rem;
  color: #111827;
  font-size: 0.875rem;
  vertical-align: middle;
}
.data-table .table-actions {
  display: flex;
  gap: 0.25rem;
  justify-content: flex-end;
  white-space: nowrap;
}
.inline-input {
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  background: #ffffff;
  width: 100%;
  box-sizing: border-box;
}
.inline-input:focus {
  outline: none;
  border-color: #2563eb;
}
.inline-price {
  width: 100px;
}
.inline-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  white-space: nowrap;
}
.inline-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.inline-toggle .toggle-label {
  font-size: 0.875rem;
  user-select: none;
}
.product-image-cell-td {
  width: 70px;
  min-width: 70px;
}
.product-image-cell {
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 0.25rem;
}
.product-image-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-image-cell-placeholder {
  width: 50px;
  height: 50px;
  background: #f3f4f6;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
}
.status-active {
  color: #10b981;
  font-weight: 600;
}
.status-inactive {
  color: #9ca3af;
}
.drag-handle-header {
  width: 40px;
}
.drag-handle-cell {
  width: 40px;
  text-align: center;
}
.drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  cursor: grab;
  color: #9ca3af;
  font-size: 1.25rem;
  border-radius: 0.25rem;
  transition: all 150ms ease-in-out;
  user-select: none;
}
.drag-handle:hover {
  color: #4b5563;
  background: #f3f4f6;
}
.drag-handle:active {
  cursor: grabbing;
}
.drag-handle-disabled {
  cursor: not-allowed;
  opacity: 0.3;
}
.drag-handle-disabled:hover {
  color: #9ca3af;
  background: transparent;
}
.sortable-ghost {
  background: #dbeafe !important;
  opacity: 0.8;
}
.sortable-chosen {
  background: #eaf3fe;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.sortable-drag {
  background: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}
.login-box {
  background: #ffffff;
  padding: 3rem;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 400px;
}
.login-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  text-align: center;
}
.login-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 400;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.alert {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1.5rem;
}
.alert.alert-error {
  background: #fee2e2;
  color: #ef4444;
  border: 1px solid #ef4444;
}
.admin-body {
  background: #f3f4f6;
}
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 250px;
  background: #111827;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid #374151;
}
.sidebar-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.sidebar-user {
  font-size: 0.875rem;
  color: #9ca3af;
}
.sidebar-nav {
  flex: 1;
  padding: 1.5rem 0;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: #d1d5db;
  text-decoration: none;
  transition: all 150ms ease-in-out;
}
.sidebar-link:hover {
  background: #1f2937;
  color: #ffffff;
}
.sidebar-link.active {
  background: #2563eb;
  color: #ffffff;
}
.sidebar-icon {
  font-size: 1.25rem;
}
.sidebar-footer {
  padding: 1.5rem 0;
  border-top: 1px solid #374151;
}
.admin-main {
  flex: 1;
  margin-left: 250px;
  display: flex;
  flex-direction: column;
}
.admin-header {
  background: #ffffff;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}
.admin-content {
  padding: 2rem;
  flex: 1;
}
.admin-section {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.section-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}
.filters-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.375rem;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.filter-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
}
.filter-group select {
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  background: #ffffff;
  min-width: 150px;
}
.filter-group select:focus {
  outline: none;
  border-color: #2563eb;
}
.product-category-group {
  margin-bottom: 1.5rem;
}
.product-category-group:last-child {
  margin-bottom: 0;
}
.category-group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 0.25rem 0.25rem 0 0;
  border: 1px solid #e5e7eb;
  border-bottom: none;
  cursor: pointer;
  user-select: none;
  transition: background 150ms ease-in-out;
}
.category-group-header:hover {
  background: #e5e7eb;
}
.fold-toggle {
  font-size: 0.75rem;
  color: #6b7280;
  width: 16px;
  text-align: center;
}
.product-category-group.folded .data-table,
.variation-category-group.folded .data-table,
.product-category-group.folded .variations-table,
.variation-category-group.folded .variations-table {
  display: none;
}
.product-category-group.folded .category-group-header,
.variation-category-group.folded .category-group-header {
  border-radius: 0.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.product-image-cell-td {
  width: 70px;
  padding-left: 5px;
  padding-right: 5px;
}
.category-product-count {
  font-size: 0.875rem;
  color: #6b7280;
}
.variation-category-group {
  margin-bottom: 1.5rem;
}
.variation-category-group:last-child {
  margin-bottom: 0;
}
.category-group-header-new {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}
.tags-cell {
  white-space: nowrap;
  width: auto;
  min-width: fit-content;
}
.tags-icons {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.tag-icon {
  font-size: 18px;
  cursor: pointer;
  opacity: 0.3;
  transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
  user-select: none;
}
.tag-icon:hover {
  transform: scale(1.15);
}
.tag-icon.active {
  opacity: 1;
}
.modal-tags {
  padding: 0.5rem 0;
}
.modal-tags .tag-icon {
  font-size: 24px;
}
.description-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  opacity: 0.4;
  cursor: help;
  transition: opacity 150ms ease-in-out;
}
.description-icon.has-description {
  opacity: 1;
  color: #2563eb;
}
.description-icon:hover {
  opacity: 1;
}
.description-icon svg {
  display: block;
}
.frontend-body {
  background: #f9fafb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}
.frontend-main {
  flex: 1;
}
.frontend-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  height: 50px;
  z-index: 1000;
}
.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #111827;
}
.header-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.header-title {
  font-size: 1.125rem;
  font-weight: 700;
}
.header-nav {
  display: flex;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 150ms ease-in-out;
}
.nav-link:hover {
  background: #f3f4f6;
  color: #111827;
}
.nav-link.active {
  background: #2563eb;
  color: #ffffff;
}
.basket-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.basket-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frontend-footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 1.5rem 1rem;
  margin-top: auto;
}
.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.875rem;
}
.closed-alert {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  background: #ef4444;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  z-index: 999;
}
.closed-alert svg {
  flex-shrink: 0;
}
.has-closed-alert.menu-container {
  padding-top: 52px;
}
.has-closed-alert .category-nav {
  top: 102px;
}
.home-container.has-closed-alert {
  padding-top: 53.5px;
}
.basket-container.has-closed-alert {
  padding-top: 53px;
}
.home-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}
.hero-section {
  text-align: center;
  padding: 2rem 0;
  cursor: default;
}
.hero-logo img {
  max-width: 100%;
  height: auto;
}
.logo-placeholder {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  background: #e5e7eb;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #6b7280;
  font-weight: 500;
}
.hero-title {
  font-size: 19px;
  font-weight: 700;
  color: #103254;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .hero-title {
    font-size: 19px;
  }
}
.hero-description {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.75;
}
.delivery-info-box {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  overflow: hidden;
  cursor: default;
}
.delivery-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
  padding: 0.5rem 1rem;
  color: #ffffff;
}
@media (max-width: 640px) {
  .delivery-info-header {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
.delivery-info-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.delivery-hours-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.time-badge {
  font-size: 1.125rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.25rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.delivery-info-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.delivery-subsection-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
}
.delivery-subsection-title svg {
  color: #2563eb;
  flex-shrink: 0;
}
.delivery-locations {
  text-align: center;
}
.delivery-locations-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.delivery-location-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 0.5rem;
  min-width: 120px;
}
.delivery-location-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}
.delivery-location-city {
  font-size: 0.75rem;
  color: #6b7280;
}
.delivery-location-link {
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  border: 1px solid transparent;
}
.delivery-location-link:hover {
  background: #e5e7eb;
  border-color: #2563eb;
  transform: translateY(-1px);
}
.delivery-location-link .delivery-location-name {
  color: #2563eb;
}
.cta-section {
  margin-bottom: 3rem;
}
.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 150ms ease-in-out;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.cta-button:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.cta-button:active {
  transform: translateY(0);
}
.cta-icon {
  font-size: 1.25rem;
}
.order-section {
  background: #ffffff;
  border-radius: 0.75rem;
  padding-bottom: 20px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  text-align: center;
}
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem 0.5rem 0 0;
  cursor: default;
}
.section-description {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  cursor: default;
}
.contact-info-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #f3f4f6;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  margin: 20px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #374151;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  transition: color 150ms ease-in-out;
}
.contact-link:hover {
  color: #2563eb;
}
.contact-link svg {
  flex-shrink: 0;
  color: #6b7280;
}
.contact-link[href^="tel:"] {
  font-size: 24px;
  font-weight: 700;
}
.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  padding: 1rem 1.5rem;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 150ms ease-in-out;
}
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.contact-btn svg {
  flex-shrink: 0;
}
.whatsapp-btn {
  background: #25d366;
  margin-left: 20px;
}
.whatsapp-btn:hover {
  background: #1da851;
}
.line-btn {
  background: #00b900;
  margin-right: 20px;
}
.line-btn:hover {
  background: #009900;
}
.menu-container {
  max-width: 1440px;
  margin: 0 auto;
  cursor: default;
}
.category-nav {
  position: sticky;
  top: 50px;
  height: 45px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  z-index: 999;
}
.category-nav::-webkit-scrollbar {
  display: none;
}
.category-tab {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border: none;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  white-space: nowrap;
}
.category-tab:hover {
  background: #e5e7eb;
}
.category-tab.active {
  background: #2563eb;
  color: #ffffff;
}
.tag-filter-nav {
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.25rem 1rem;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: sticky;
  top: 95px;
  z-index: 998;
}
.tag-filter-nav::-webkit-scrollbar {
  display: none;
}
.tag-filter-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tag-filter-btn:hover {
  background: #e5e7eb;
}
.tag-filter-btn.disabled {
  opacity: 0.4;
}
.tag-filter-btn.disabled .tag-filter-icon {
  filter: grayscale(100%);
}
.tag-filter-icon {
  font-size: 20px;
  line-height: 1;
}
.menu-intro-box {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  margin: 1rem;
  padding: 1.5rem;
  text-align: center;
  font-weight: bold;
}
.menu-intro-box p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.75;
  margin: 0;
}
.menu-content {
  margin-top: 10px;
}
.menu-loading,
.menu-empty,
.menu-error {
  text-align: center;
  padding: 4rem 1rem;
  color: #6b7280;
}
.spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border: 3px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.menu-category {
  margin-bottom: 2rem;
}
.category-header {
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--category-color, #2563eb);
  background: #ffffff;
  border-radius: 0 0.375rem 0.375rem 0;
}
.category-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(352px, 1fr));
  gap: 10px;
}
.product-card {
  padding: 10px;
  background: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 150ms ease-in-out, transform 150ms ease-in-out;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.product-image {
  width: 120px;
  height: 120px;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: 0.375rem;
  float: left;
  margin-right: 10px;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-image-placeholder {
  width: 120px;
  height: 120px;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #9ca3af;
  border-radius: 0.375rem;
}
.product-info {
  position: absolute;
  top: 10px;
  bottom: 60px;
  left: 140px;
  right: 10px;
  overflow: hidden;
}
.product-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
  line-height: 1.25;
  background-color: #f3f4f6;
  border-radius: 0.375rem;
  padding: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-description {
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
  padding: 4px 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  flex: 1;
  height: 40px;
  line-height: 38px;
  text-align: center;
  font-size: 16px;
  background-color: #f3f4f6;
  font-weight: 700;
  color: #374151;
  border-radius: 0.375rem;
  order: 2;
  margin: 0 5px;
}
.product-actions {
  display: flex;
  height: 40px;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 10px;
  left: 140px;
  right: 10px;
}
.add-to-basket-btn {
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #ffffff;
  order: 3;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.add-to-basket-btn:hover {
  background: #1e40af;
}
.add-to-basket-btn:active {
  transform: scale(0.98);
}
.edit-product-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9ca3af;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  flex-shrink: 0;
  order: 1;
}
.edit-product-btn:hover {
  background: #808998;
}
.edit-product-btn:active {
  transform: scale(0.98);
}
.product-image {
  position: relative;
}
.product-tags-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 0 0 0.375rem 0.375rem;
  border-right: 1px solid #dedede;
  border-left: 1px solid #dedede;
  border-bottom: 1px solid #ededed;
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
  gap: 4px;
}
.product-tag-icon {
  font-size: 16px;
  line-height: 1;
  cursor: default;
}
.variation-tags {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 0.25rem;
}
.variation-tag-icon {
  font-size: 14px;
  line-height: 1;
  cursor: default;
}
#productsContainer .data-table,
#variationsContainer .data-table {
  margin-top: 0;
}
#productsContainer .data-table td,
#variationsContainer .data-table td {
  padding-left: 5px;
  padding-right: 5px;
  display: block;
  float: left;
}
#productsContainer .data-table .price-cell,
#variationsContainer .data-table .price-cell {
  width: 110px;
}
#productsContainer .data-table .tags-cell,
#variationsContainer .data-table .tags-cell {
  float: left;
  margin-left: 10px;
  margin-right: 10px;
}
#productsContainer .data-table .toggle-cell,
#variationsContainer .data-table .toggle-cell {
  width: 100px;
}
#productsContainer .data-table .table-actions,
#variationsContainer .data-table .table-actions {
  float: right;
}
#productsContainer .data-table .drag-handle-cell {
  margin-top: 16px;
}
#productsContainer .data-table .label-cell {
  margin-top: 16px;
}
#productsContainer .data-table .description-cell {
  margin-top: 18px;
  margin-right: 8px;
  width: 24px;
}
#productsContainer .data-table .price-cell {
  margin-top: 16px;
}
#productsContainer .data-table .toggle-cell {
  margin-top: 17px;
}
#productsContainer .data-table .tags-cell {
  margin-top: 15px;
}
#productsContainer .data-table .table-actions {
  margin-top: 17px;
}
#variationsContainer .data-table .label-cell {
  margin-top: 2px;
}
#variationsContainer .data-table .price-cell {
  margin-top: 2px;
}
#variationsContainer .data-table .toggle-cell {
  margin-top: 2px;
}
#variationsContainer .data-table .tags-cell {
  margin-top: 0;
}
#variationsContainer .data-table .table-actions {
  margin-top: 2px;
}
@media (max-width: 728px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 10px 0;
  }
}
.basket-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: #111827;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 1050;
  opacity: 0;
  transition: all 0.3s ease;
}
.basket-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.basket-toast svg {
  color: #4ade80;
}
.basket-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  cursor: default;
}
.basket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}
.basket-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}
.clear-basket-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background: rgba(239, 68, 68, 0.15);
  border: none;
  border-radius: 0.25rem;
  color: #ef4444;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.clear-basket-btn:hover {
  background: rgba(239, 68, 68, 0.25);
}
.basket-content {
  flex: 1;
}
.basket-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #9ca3af;
}
.basket-empty svg {
  margin-bottom: 1.5rem;
}
.basket-empty p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}
.browse-menu-btn {
  display: inline-block;
  padding: 0.5rem 2rem;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.browse-menu-btn:hover {
  background: #1e40af;
}
.basket-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.basket-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.basket-item-variations {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.variation-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #f3f4f6;
  color: #111827;
  font-size: 0.75rem;
  border-radius: 9999px;
}
.variation-badge.pasta-badge {
  background: #fef3c7;
  color: #111827;
}
.basket-item-image {
  width: 80px;
  height: 80px;
  border-radius: 0.375rem;
  background: #f3f4f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  flex-shrink: 0;
}
.basket-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.basket-item-info {
  flex: 1;
  min-width: 0;
}
.basket-item-name {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}
.basket-item-price {
  display: none;
}
.basket-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
}
.basket-item-unit-price {
  font-size: 0.875rem;
  color: #6b7280;
}
.basket-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border: none;
  border-radius: 0.375rem;
  color: #374151;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.qty-btn:hover {
  background: #e5e7eb;
}
.qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}
.basket-item-subtotal {
  font-size: 1rem;
  font-weight: 700;
  min-width: 70px;
  text-align: right;
}
.basket-item-actions {
  display: flex;
  gap: 0.25rem;
}
.basket-item-edit,
.basket-item-remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.basket-item-edit {
  background: #e5e7eb;
  color: #4b5563;
}
.basket-item-edit:hover {
  background: #d1d5db;
  color: #1f2937;
}
.basket-item-remove {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.basket-item-remove:hover {
  background: rgba(239, 68, 68, 0.25);
}
.basket-actions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}
.basket-summary {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.basket-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.basket-total span:first-child {
  font-size: 1.125rem;
  font-weight: 500;
  color: #374151;
}
.basket-total span:last-child {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}
.basket-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 150ms ease-in-out;
  cursor: pointer;
}
.order-btn svg {
  flex-shrink: 0;
}
.whatsapp-order-btn {
  background: #25d366;
  color: #ffffff;
}
.whatsapp-order-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.line-order-btn {
  background: #00b900;
  color: #ffffff;
}
.line-order-btn:hover {
  background: #009900;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.order-btn.disabled {
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
  pointer-events: none;
}
.order-btn.disabled:hover {
  transform: none;
  box-shadow: none;
}
.basket-closed-message {
  text-align: center;
  padding: 1rem;
  background: #fee2e2;
  color: #ef4444;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.location-image-cell {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 0.375rem;
  background: #f3f4f6;
}
.location-image-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-image-placeholder {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 0.375rem;
  color: #9ca3af;
  font-size: 0.75rem;
}
.product-image-cell {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 0.375rem;
  background: #f3f4f6;
}
.product-image-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-image-cell-placeholder {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 0.375rem;
  color: #9ca3af;
  font-size: 0.75rem;
}
.image-upload-container .form-hint {
  display: block;
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}
.image-preview {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f3f4f6;
}
.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-preview .image-remove-btn {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
}
.locations-table th:first-child,
.locations-table td:first-child {
  width: 80px;
}
.location-picker-section {
  margin-bottom: 1.5rem;
}
.location-picker-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}
.location-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.location-option {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 1rem;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  text-align: center;
}
.location-option:hover {
  border-color: #60a5fa;
  background: #dbeafe;
}
.location-option.selected {
  border-color: #2563eb;
  background: #dbeafe;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.location-option-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}
.location-option-city {
  font-size: 0.75rem;
  color: #6b7280;
}
.location-option-price {
  font-size: 0.75rem;
  font-weight: 500;
  color: #2563eb;
  margin-top: 0.25rem;
}
.delivery-notes {
  margin-top: 1rem;
}
.delivery-notes-input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  color: #111827;
  background: #ffffff;
  resize: vertical;
  min-height: 60px;
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}
.delivery-notes-input::placeholder {
  color: #9ca3af;
}
.delivery-notes-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.variations-table .variation-input {
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  background: #ffffff;
  width: 100%;
  box-sizing: border-box;
}
.variations-table .variation-input:focus {
  outline: none;
  border-color: #2563eb;
}
.variations-table .variation-pos {
  width: 60px;
  text-align: center;
}
.variations-table .variation-label {
  min-width: 150px;
}
.variations-table .variation-price {
  width: 100px;
  text-align: right;
}
.variations-table .variation-category {
  min-width: 120px;
}
.variations-table .variation-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  white-space: nowrap;
}
.variations-table .variation-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.variations-table .variation-toggle .toggle-label {
  font-size: 0.875rem;
  user-select: none;
}
.variations-table td {
  vertical-align: middle;
}
.variations-table .color-cell {
  width: 40px;
  text-align: center;
}
.variation-color-box {
  width: 24px;
  height: 24px;
  border-radius: 0.25rem;
  border: 2px solid #d1d5db;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease-in-out;
}
.variation-color-box:hover {
  border-color: #9ca3af;
  transform: scale(1.1);
}
.variation-color-box.variation-color-none {
  background: #ffffff;
  border-style: dashed;
}
.color-none-x {
  color: #ef4444;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
.variation-color-picker {
  position: absolute;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  padding: 0.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
}
.color-picker-option {
  width: 28px;
  height: 28px;
  border-radius: 0.25rem;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease-in-out;
}
.color-picker-option:hover {
  border-color: #9ca3af;
  transform: scale(1.1);
}
.color-picker-option.color-picker-none {
  background: #ffffff;
  border-style: dashed;
}
.product-edit-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f9fafb;
  z-index: 1050;
  display: none;
  flex-direction: column;
}
.product-edit-modal.active {
  display: flex;
}
.product-edit-header {
  display: flex;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}
.product-edit-header-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  position: relative;
}
.product-edit-header-summary .edit-product-image {
  width: 70px;
  height: 70px;
  border-radius: 0.375rem;
  object-fit: cover;
  flex-shrink: 0;
}
.product-edit-header-summary .edit-product-image-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 0.375rem;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  flex-shrink: 0;
}
.product-edit-header-summary .edit-product-details {
  flex: 1;
  min-width: 0;
  padding-right: 50px;
}
.product-edit-header-summary .edit-product-name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-edit-header-summary .edit-product-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-edit-header-summary .edit-product-prices {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.product-edit-header-summary .edit-product-base-price {
  font-size: 0.875rem;
  color: #6b7280;
}
.product-edit-header-summary .edit-product-total-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2563eb;
}
.product-edit-header-summary .product-edit-close {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border: none;
  border-radius: 9999px;
  font-size: 1.25rem;
  color: #4b5563;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.product-edit-header-summary .product-edit-close:hover {
  background: #e5e7eb;
  color: #111827;
}
.product-edit-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}
.product-edit-body {
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: 80px;
}
.edit-modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}
.edit-variations-section {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.edit-variations-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}
.edit-variations-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.edit-variation-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.edit-variation-item:hover {
  border-color: #d1d5db;
}
.edit-variation-item.has-color {
  background: color-mix(in srgb, var(--variation-color) 40%, #fff 60%);
  border-color: color-mix(in srgb, var(--variation-color) 60%, #fff 40%);
}
.edit-variation-item.has-color:hover {
  background: color-mix(in srgb, var(--variation-color) 60%, #fff 40%);
  border-color: var(--variation-color);
}
.edit-variation-item.has-color.selected {
  background: var(--variation-color);
  border-color: color-mix(in srgb, var(--variation-color) 80%, #000 20%);
}
.edit-variation-item.selected {
  background: #dbeafe;
  border-color: #2563eb;
}
.edit-variation-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f3f4f6;
  border-color: #e5e7eb;
}
.edit-variation-item.disabled:hover {
  border-color: #e5e7eb;
}
.edit-variation-item.disabled input[type="checkbox"] {
  cursor: not-allowed;
}
.edit-variation-item.disabled .variation-label,
.edit-variation-item.disabled .variation-price {
  color: #9ca3af;
}
.edit-variation-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.edit-variation-item .variation-label {
  font-size: 0.875rem;
  color: #111827;
}
.edit-variation-item .variation-tags {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.edit-variation-item .variation-tag-icon {
  font-size: 14px;
  line-height: 1;
}
.edit-variation-item .variation-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  margin-left: auto;
}
.edit-no-variations {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #6b7280;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.edit-pasta-section {
  border-left: 4px solid #f59e0b;
}
.edit-pasta-section .edit-variations-title {
  color: #ac6f07;
}
.edit-pasta-item input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.edit-modal-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1051;
  display: flex;
  justify-content: center;
}
.edit-modal-actions .btn-add-customized {
  max-width: 500px;
  width: 100%;
}
.btn-add-customized {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.btn-add-customized:hover {
  background: #1e40af;
}
.btn-add-customized:active {
  transform: scale(0.98);
}
