.menu-container [data-menu-product-card].is-filtered-out,
.menu-container [data-menu-category-section].is-filtered-out,
.menu-container [data-menu-featured-section].is-filtered-out {
  display: none !important;
}

/* Loyalty Program (Fidelidade) */
.loyalty-page {
  background: linear-gradient(180deg, #fff7f5 0%, #f8fafc 22%, #f8fafc 100%);
  min-height: 100vh;
}

.loyalty-content {
  max-width: 720px;
  margin: -32px auto 0;
  padding: 0 16px 160px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.loyalty-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.loyalty-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -56px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.12) 0%, rgba(251, 146, 60, 0) 72%);
  pointer-events: none;
}

.loyalty-card--empty {
  gap: 16px;
}

.loyalty-card--message {
  flex-direction: row;
  align-items: flex-start;
}

.loyalty-card--success {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.98));
  border-color: rgba(34, 197, 94, 0.24);
}

.loyalty-card--alert {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.96), rgba(255, 255, 255, 0.98));
  border-color: rgba(234, 29, 44, 0.18);
}

.loyalty-card--program {
  padding: 18px;
  gap: 18px;
}

.loyalty-card--verify {
  background: linear-gradient(180deg, #fffefe 0%, #fff7ed 100%);
}

.loyalty-card-header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.loyalty-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(234, 29, 44, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ea1d2c;
  flex-shrink: 0;
}

.loyalty-card-icon--status {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.loyalty-card-icon--soft {
  background: linear-gradient(135deg, rgba(234, 29, 44, 0.12), rgba(249, 115, 22, 0.16));
}

.loyalty-card-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.loyalty-card-subtitle,
.loyalty-card-description {
  margin: 0;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.65;
}

.loyalty-section-kicker {
  margin: 0 0 8px;
  color: #b91c1c;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.loyalty-card-caption {
  margin: -6px 0 0;
  color: #64748b;
  font-size: 0.88rem;
}

.loyalty-programs-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.loyalty-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.loyalty-grid-item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loyalty-grid-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #64748b;
}

.loyalty-grid-value {
  font-size: 1.15rem;
  color: #0f172a;
  font-weight: 700;
}

.loyalty-grid-hint {
  color: #64748b;
}

.loyalty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.loyalty-actions--footer {
  justify-content: flex-start;
}

.loyalty-primary-link,
.loyalty-secondary-link,
.loyalty-redeem-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  min-height: 52px;
  padding: 0.65rem 1.5rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.loyalty-primary-link {
  background: linear-gradient(135deg, #ea1d2c, #f97316);
  color: #fff;
  box-shadow: 0 14px 32px rgba(234, 29, 44, 0.24);
}

.loyalty-primary-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(234, 29, 44, 0.32);
}

.loyalty-secondary-link {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.loyalty-secondary-link:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.loyalty-progress-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.loyalty-progress-fill {
  background: linear-gradient(90deg, #ea1d2c 0%, #f97316 55%, #22c55e 100%);
  height: 100%;
  transition: width 0.3s ease;
}

.loyalty-progress-count {
  display: flex;
  justify-content: space-between;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
}

.loyalty-redeem-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(250, 204, 21, 0.12));
  border: 1px solid rgba(34, 197, 94, 0.26);
}

.loyalty-redeem-card--compact {
  padding: 14px;
  gap: 12px;
}

.loyalty-redeem-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loyalty-redeem-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.loyalty-redeem-emoji {
  font-size: 1.3rem;
}

.loyalty-redeem-label {
  font-size: 1rem;
  color: #0f172a;
}

.loyalty-redeem-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.loyalty-reward-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #16a34a;
  width: fit-content;
}

.loyalty-reward-badge i {
  font-size: 0.95rem;
}

.loyalty-redeem-expiry {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 0.8rem;
}

.loyalty-redeem-expiry i {
  font-size: 0.85rem;
}

.loyalty-redeem-info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.loyalty-redeem-icon {
  font-size: 1.6rem;
}

.loyalty-redeem-button {
  align-self: flex-start;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 10px 26px rgba(34, 197, 94, 0.25);
}

.loyalty-redeem-button:hover {
  background: #16a34a;
  color: #fff;
}

.loyalty-redeem-button.is-selected {
  background: #0ea5e9;
  box-shadow: 0 10px 26px rgba(14, 165, 233, 0.3);
}

.loyalty-redeem-button.is-selected:hover {
  background: #0284c7;
}

.loyalty-reward-product-picker {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.loyalty-program-hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.96) 0%, rgba(159, 18, 57, 0.92) 48%, rgba(234, 88, 12, 0.92) 100%);
  box-shadow: 0 22px 44px rgba(127, 29, 29, 0.18);
}

.loyalty-program-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 241, 242, 0.88);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.loyalty-program-hero__icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1rem;
}

.loyalty-program-hero__title {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.loyalty-program-hero__rule {
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff7ed;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.loyalty-program-hero__description {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 247, 237, 0.88);
  font-size: 0.94rem;
  line-height: 1.65;
}

.loyalty-program-facts {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.loyalty-program-fact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
  border: 1px solid rgba(251, 146, 60, 0.18);
}

.loyalty-program-fact--wide {
  grid-column: 1 / -1;
}

.loyalty-program-fact i {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ea1d2c, #f97316);
  color: #fff;
  font-size: 0.95rem;
}

.loyalty-program-fact__label {
  margin: 0;
  color: #9a3412;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loyalty-program-fact__value {
  margin: 4px 0 0;
  color: #7c2d12;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.loyalty-program-progress {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.loyalty-reward-product-picker__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.loyalty-reward-product-picker__label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
}

.loyalty-reward-product-picker__hint {
  margin: 0;
  font-size: 0.78rem;
  color: #475569;
}

.loyalty-reward-product-picker__field {
  position: relative;
}

.loyalty-reward-product-picker__select {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 16px 44px 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background-color: #ffffff;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.loyalty-reward-product-picker__select:focus {
  border-color: rgba(234, 29, 44, 0.52);
  box-shadow: 0 0 0 4px rgba(234, 29, 44, 0.12);
}

.loyalty-reward-product-picker__error {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Compact Loyalty Card Styles */
.loyalty-card--compact {
  padding: 16px;
  gap: 12px;
}

.loyalty-card--program {
  padding: 16px;
  gap: 16px;
}

.loyalty-program-info,
.loyalty-program-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.loyalty-program-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.45), rgba(148, 163, 184, 0));
  margin: 4px 0;
}

.loyalty-compact-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loyalty-compact-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.loyalty-compact-icon {
  font-size: 1.4rem;
}

.loyalty-compact-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.loyalty-compact-badge {
  background: linear-gradient(135deg, rgba(234, 29, 44, 0.12), rgba(249, 115, 22, 0.12));
  border: 1px solid rgba(234, 29, 44, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ea1d2c;
  text-align: center;
}

.loyalty-compact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.loyalty-compact-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.loyalty-compact-detail i {
  font-size: 0.95rem;
  color: #94a3b8;
}

/* Compact Progress Card */
.loyalty-card--progress {
  gap: 12px;
}

.loyalty-progress-compact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loyalty-progress-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loyalty-progress-status {
  margin: 0;
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.5;
}

.loyalty-progress-status--complete {
  color: #16a34a;
  font-weight: 600;
}

.loyalty-steps h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.loyalty-steps-list {
  margin: 8px 0 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.6;
}

.loyalty-steps--compact {
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: 18px;
}

.loyalty-steps-intro {
  margin: 0;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.5;
}

.loyalty-verify-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.loyalty-verify-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loyalty-verify-benefits {
  display: grid;
  gap: 10px;
}

.loyalty-verify-benefit {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.84);
  color: #334155;
  line-height: 1.55;
}

.loyalty-verify-benefit i {
  color: #ea1d2c;
  font-size: 1rem;
  margin-top: 2px;
}

.loyalty-verify-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 16px 36px rgba(15, 23, 42, 0.08);
}

.loyalty-verification-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.loyalty-verification-form[hidden],
.loyalty-verification-message[hidden] {
  display: none !important;
}

.loyalty-field-label {
  margin: 0;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}

.loyalty-field-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.loyalty-field-row--stacked {
  flex-direction: column;
  align-items: stretch;
}

.loyalty-field-input {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #fff;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: none;
}

.loyalty-field-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.loyalty-field-input:focus {
  border-color: rgba(234, 29, 44, 0.5);
  box-shadow: 0 0 0 4px rgba(234, 29, 44, 0.12);
}

.loyalty-field-input--code {
  letter-spacing: 0.28em;
  text-align: center;
}

.loyalty-request-button,
.loyalty-verify-button {
  min-height: 54px;
  padding: 0 20px;
  border: none;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.loyalty-request-button {
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #ea1d2c, #f97316);
  box-shadow: 0 14px 30px rgba(234, 29, 44, 0.24);
}

.loyalty-request-button:hover,
.loyalty-verify-button:hover {
  transform: translateY(-1px);
}

.loyalty-request-button:disabled,
.loyalty-verify-button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.loyalty-verify-button {
  color: #fff;
  background: #0f172a;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.loyalty-verify-note {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.5;
}

.loyalty-verification-message {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(234, 29, 44, 0.08);
  color: #b91c1c;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.loyalty-verification-message[data-status="success"] {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.18);
  color: #166534;
}

.loyalty-verification-message[data-status="error"] {
  background: rgba(234, 29, 44, 0.08);
  border-color: rgba(234, 29, 44, 0.14);
  color: #b91c1c;
}

.loyalty-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid transparent;
  box-shadow: 0 14px 32px rgba(2, 132, 199, 0.18);
}

.loyalty-banner[hidden] {
  display: none !important;
}

.loyalty-banner--pending {
  background: linear-gradient(120deg, rgba(2, 132, 199, 0.12), rgba(59, 130, 246, 0.12));
  border-color: rgba(2, 132, 199, 0.3);
  color: #0369a1;
}

.loyalty-banner-icon {
  font-size: 1.8rem;
}

.loyalty-banner-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.loyalty-banner-text {
  margin: 4px 0 0;
  font-size: 0.95rem;
}

.loyalty-banner-dismiss {
  margin-left: auto;
  border: none;
  background: transparent;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.loyalty-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

@media (min-width: 992px) {
  .loyalty-content {
    max-width: 960px;
    margin-top: -36px;
    padding: 0 24px 120px;
    gap: 24px;
  }

  .loyalty-programs-list {
    gap: 22px;
  }

  .loyalty-card--program {
    padding: 22px;
  }

  .loyalty-program-info {
    gap: 16px;
  }

  .loyalty-program-facts {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .loyalty-verify-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.95fr);
    gap: 24px;
    align-items: start;
  }

  .loyalty-verify-intro {
    justify-content: flex-start;
  }

  .loyalty-verify-panel {
    min-width: 0;
    width: 100%;
    max-width: 430px;
    padding: 24px;
    justify-self: end;
  }

  .loyalty-request-button,
  .loyalty-verify-button {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 1200px) {
  .loyalty-content {
    max-width: 1040px;
  }
}

@media (max-width: 991px) {
  .loyalty-content {
    max-width: 820px;
  }

  .loyalty-verify-layout {
    grid-template-columns: 1fr;
  }

  .loyalty-field-row,
  .loyalty-field-row--stacked {
    flex-direction: column;
    align-items: stretch;
  }

  .loyalty-verify-panel {
    padding: 18px;
  }

  .loyalty-request-button,
  .loyalty-verify-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .loyalty-content {
    margin-top: -24px;
    padding: 0 12px 160px;
  }

  .loyalty-card {
    padding: 20px;
  }

  .loyalty-card--message {
    flex-direction: column;
  }

  .loyalty-program-hero {
    padding: 18px;
  }

  .loyalty-program-hero__title {
    font-size: 1.35rem;
  }

  .loyalty-program-hero__rule {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .loyalty-program-fact,
  .loyalty-verify-benefit,
  .loyalty-steps--compact {
    padding: 12px 14px;
  }

  .loyalty-program-facts,
  .loyalty-verify-layout {
    grid-template-columns: 1fr;
  }

  .loyalty-verify-panel {
    padding: 18px;
  }

  .loyalty-field-row,
  .loyalty-field-row--stacked {
    flex-direction: column;
  }

  .loyalty-actions {
    flex-direction: column;
  }

  .loyalty-primary-link,
  .loyalty-secondary-link,
  .loyalty-redeem-button {
    width: 100%;
  }

  .loyalty-redeem-info {
    flex-direction: row;
  }
}

/* Checkout loyalty banner */
.checkout-fidelity-banner {
  display: none;
  gap: 12px;
  align-items: center;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 12px;
}

.checkout-fidelity-banner.is-visible {
  display: flex;
}

.checkout-fidelity-icon {
  font-size: 1.6rem;
}

.checkout-fidelity-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-fidelity-title {
  font-weight: 700;
  color: #166534;
  margin: 0;
}

.checkout-fidelity-text {
  margin: 0;
  color: #166534;
  font-size: 0.9rem;
}

.checkout-fidelity-clear {
  border: none;
  background: transparent;
  color: #166534;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
}
/* Customer Pages - Menu and Orders - Updated for Mobile Responsiveness */

/* Global Reset for Customer Layout */
.customer-layout-page {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  background: #f5f5f5 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', system-ui, sans-serif !important;
}

.customer-layout-page * {
  box-sizing: border-box;
}

/* Digital menu disabled page */
.digital-menu-disabled {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%);
}

.digital-menu-disabled__content {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.35);
  padding: 2.25rem 2rem;
  text-align: center;
  border: 1px solid rgba(99, 102, 241, 0.12);
}

.digital-menu-disabled__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}

.digital-menu-disabled__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.digital-menu-disabled__message {
  color: #334155;
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.digital-menu-disabled__info {
  color: #475569;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.digital-menu-disabled__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.digital-menu-disabled__contacts li {
  font-size: 0.95rem;
  color: #1e293b;
}

.digital-menu-disabled__contacts a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
}

.digital-menu-disabled__contacts a:hover,
.digital-menu-disabled__contacts a:focus {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .digital-menu-disabled {
    padding: 2rem 1.25rem;
  }

  .digital-menu-disabled__content {
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }

  .digital-menu-disabled__title {
    font-size: 1.5rem;
  }
}

.checkout-flash-container {
  margin: 12px 0 20px 0;
}

.checkout-flash {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ff4141;
  border: 1px solid #fecaca;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(249, 112, 112, 0.15);
}

.checkout-flash[hidden] {
  display: none;
}

.checkout-flash-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 2px;
}

.checkout-flash-body {
  flex: 1;
}

.checkout-flash-title {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.checkout-flash-list {
  margin: 0;
  padding-left: 18px;
}

.checkout-flash-list li {
  margin-bottom: 4px;
}

/* Customer layout - iFood-style mobile app */
.customer-layout {
  width: 100%;
  height: 100vh;
  background: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

body.product-page-scroll-lock {
  overflow: hidden !important;
}

html.product-page-scroll-lock-root {
  overflow: hidden !important;
}

body.product-page-scroll-lock .customer-layout {
  overflow: hidden !important;
  /* Usa altura dinâmica do viewport para acompanhar a barra de URL/toolbar do navegador
     mobile, evitando que o final da página (botão "Adicionar ao carrinho") fique abaixo
     da área visível e cause o efeito de rubber-band ao tentar rolar até ele. */
  height: 100dvh !important;
}

@supports not (height: 100dvh) {
  body.product-page-scroll-lock .customer-layout {
    height: 100vh !important;
  }
}

/* Mobile-first: Full width for small screens up to 768px */
@media (max-width: 768px) {
  .customer-layout-page {
    display: block !important;
    background: #f5f5f5 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 100dvh !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .customer-layout {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .customer-layout.customer-layout--dynamic-viewport {
    height: auto !important;
    min-height: 100dvh !important;
  }

  body.customer-layout-page {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100dvh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Force all main sections to use full width */
  .menu-container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 768px) {
    body.customer-layout-page {
      min-height: 100vh !important;
    }

    .customer-layout.customer-layout--dynamic-viewport {
      min-height: 100vh !important;
    }
  }
}

/* Modern Skeleton Loading Screen - iFood Style */
.menu-skeleton-overlay {
  position: fixed;
  inset: 0;
  background: #f8fafc;
  z-index: 20000;
  overflow-y: auto;
  transition: opacity 0.3s ease;
  pointer-events: all;
}

.menu-skeleton-overlay.is-fading-out {
  opacity: 0;
  pointer-events: none;
}

.menu-skeleton-overlay[hidden] {
  display: none !important;
}

/* Skeleton components */
.skeleton-header-bar {
  height: 190px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  margin-bottom: 16px;
}

.skeleton-search-box {
  height: 48px;
  margin: 16px;
  border-radius: 24px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-nav-pills {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
  overflow-x: auto;
}

.skeleton-pill {
  min-width: 120px;
  height: 36px;
  border-radius: 18px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-pill:nth-child(2) {
  animation-delay: 0.1s;
}

.skeleton-pill:nth-child(3) {
  animation-delay: 0.2s;
}

.skeleton-products-grid {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-product-card {
  display: flex;
  gap: 12px;
  background: white;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.skeleton-product-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.skeleton-product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-title {
  width: 70%;
  height: 14px;
}

.skeleton-desc {
  width: 90%;
  height: 11px;
}

.skeleton-price {
  width: 40%;
  height: 13px;
  margin-top: 4px;
}

.skeleton-product-card:nth-child(2) .skeleton-product-image,
.skeleton-product-card:nth-child(2) .skeleton-line {
  animation-delay: 0.1s;
}

.skeleton-product-card:nth-child(3) .skeleton-product-image,
.skeleton-product-card:nth-child(3) .skeleton-line {
  animation-delay: 0.2s;
}

.skeleton-product-card:nth-child(4) .skeleton-product-image,
.skeleton-product-card:nth-child(4) .skeleton-line {
  animation-delay: 0.3s;
}

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

@media (max-width: 480px) {
  .skeleton-header-bar {
    height: 160px;
  }
  
  .skeleton-product-image {
    width: 70px;
    height: 70px;
  }
}

/* Center on larger screens - Desktop style */
@media (min-width: 769px) {
  .customer-layout-page {
    display: flex;
    justify-content: center;
    background: #e5e5e5 !important;
}

.customer-layout {
    max-width: 428px;
    box-shadow: 0 0 30px rgba(0,0,0,0.15);
    border-radius: 0;
    margin: 0;
  }

  /* Checkout usa largura maior em desktop */
  .modern-checkout-container .customer-layout {
    max-width: 600px;
  }
}

/* Premium Header - Ultra Modern & Clean */
/* ========================================
   CABEÇALHO SIMPLES - INSPIRADO NO CONCORRENTE
======================================== */

.simple-header {
  position: relative;
  height: 190px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Overlay escuro para melhor legibilidade com gradiente mais suave */
.simple-header .header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

/* Conteúdo principal */
.simple-header .header-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
  gap: 8px;
}

/* Top bar com botão voltar */
.simple-header .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.simple-header .back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.simple-header .back-button:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  text-decoration: none;
  transform: scale(1.05);
}

.simple-header .back-button i {
  font-size: 0.9rem;
}

.simple-header .back-button span {
  display: none;
}

/* Centro com logo ou nome - centralizado */
.simple-header .header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-height: 0;
  padding: 0;
}

.simple-header .company-logo {
  flex-shrink: 0;
}

.simple-header .logo {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: white;
  padding: 0;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: none;
}

.simple-header .company-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: white;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
}

.simple-header .custom-message {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Bottom info bar - layout horizontal com 3 cards */
.simple-header .header-bottom {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
}

/* Card de status ocupa espaço maior */
.simple-header .status-info {
  flex: 2;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* Container dos cards de delivery/pickup */
.simple-header .delivery-info {
  flex: 3;
  display: flex;
  gap: 8px;
}

/* Cards de delivery e pickup com mesmo tamanho */
.simple-header .delivery-time,
.simple-header .pickup-time {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.simple-header .status-info .status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.simple-header .status-info i,
.simple-header .delivery-time i,
.simple-header .pickup-time i {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Responsivo para telas maiores */
@media (min-width: 480px) {
  .simple-header .header-bottom {
    gap: 10px;
  }
  
  .simple-header .delivery-info {
    gap: 10px;
  }
  
  .simple-header .status-info,
  .simple-header .delivery-time,
  .simple-header .pickup-time {
    padding: 10px 14px;
    min-height: 52px;
  }
  
  .simple-header .status-info .status,
  .simple-header .delivery-time,
  .simple-header .pickup-time {
    font-size: 0.95rem;
  }
}

/* Menu search - Premium mobile design v2.1 - Fixed braces */
.menu-search-container {
  padding: 12px 16px 16px !important;
  background: #fff !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  margin: 0 !important;
}

@media (min-width: 768px) {
  .menu-search-container {
    padding: 16px 24px 20px !important;
  }
}

.menu-search-field {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #fff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 0 14px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.menu-search-field:focus-within {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.1), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.menu-search-icon {
  flex-shrink: 0 !important;
  color: #64748b !important;
  transition: color 0.2s ease !important;
}

.menu-search-field:focus-within .menu-search-icon {
  color: #475569 !important;
}

.menu-search-input {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  padding: 13px 0 !important;
  font-size: 0.9375rem !important;
  color: #0f172a !important;
  font-weight: 400 !important;
  min-width: 0 !important;
  -webkit-appearance: none !important;
}

.menu-search-input::placeholder {
  color: #94a3b8 !important;
}

.menu-search-input:focus {
  outline: none !important;
}

.menu-search-input::-webkit-search-decoration,
.menu-search-input::-webkit-search-cancel-button {
  display: none;
}

.menu-search-clear-btn {
  border: none !important;
  background: #f1f5f9 !important;
  border-radius: 8px !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.15s ease !important;
  padding: 0 !important;
}

.menu-search-clear-btn:hover {
  background: #e2e8f0;
  color: #475569;
}

.menu-search-clear-btn:active {
  transform: scale(0.95);
}

/* Empty state */
.menu-search-empty {
  margin: 12px 16px 16px;
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  background: #f8fafc;
}

@media (min-width: 768px) {
  .menu-search-empty {
    margin: 16px 24px 20px;
    padding: 48px 24px;
  }
}

.menu-search-empty[hidden] {
  display: none;
}

.menu-search-empty-icon {
  color: #cbd5e1;
  margin: 0 auto 16px;
  display: block;
}

.menu-search-empty-title {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #334155;
}

.menu-search-empty-text {
  margin: 0 auto 20px;
  font-size: 0.875rem;
  color: #64748b;
}

.menu-search-empty-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 0.875rem;
  background: #0f172a;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-search-empty-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.menu-search-empty-btn:active {
  transform: translateY(0);
}

/* Ajuste para telas muito pequenas do header */
@media (max-width: 360px) {
  .simple-header .header-bottom {
    gap: 6px;
  }
  
  .simple-header .delivery-info {
    gap: 6px;
  }
  
  .simple-header .status-info,
  .simple-header .delivery-time,
  .simple-header .pickup-time {
    padding: 6px 8px;
    min-height: 44px;
    gap: 4px;
  }
  
  .simple-header .status-info .status,
  .simple-header .delivery-time,
  .simple-header .pickup-time {
    font-size: 0.85rem;
  }
  
  .simple-header .status-info i,
  .simple-header .delivery-time i,
  .simple-header .pickup-time i {
    font-size: 1rem;
  }
}

/* Background dinâmico baseado no status */
.simple-header .header-bottom.open .status-info {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.simple-header .header-bottom.closed .status-info {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.simple-header .status-info .status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.simple-header .status span {
  color: inherit;
}

.simple-header .status.open i {
  font-size: 8px;
  color: #10b981;
  animation: pulse-status 2s infinite;
}

.simple-header .status.closed i {
  font-size: 8px;
  color: #ef4444;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.simple-header .delivery-time:active,
.simple-header .pickup-time:active {
  transform: scale(0.98);
}

.simple-header .delivery-time i,
.simple-header .pickup-time i {
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.9);
}

.simple-header .delivery-time span,
.simple-header .pickup-time span {
  display: inline;
  font-size: 0.75rem;
  font-weight: 600;
  color: inherit;
}

/* Responsividade */
@media (max-width: 768px) {
  .simple-header {
    height: 180px;
  }

  .simple-header .header-content {
    padding: 12px;
  }

  .simple-header .company-name {
    font-size: 1.3rem;
  }

  .simple-header .logo {
    width: 64px;
    height: 64px;
  }

  .simple-header .header-center {
    gap: 10px;
  }

  /* Layout mobile mantém row mas ajusta tamanhos */
  .simple-header .header-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .simple-header .status-info {
    width: 100%;
  }

  .simple-header .delivery-info {
    width: 100%;
  }

  .simple-header .delivery-time i,
  .simple-header .pickup-time i {
    font-size: 1rem;
  }

  .simple-header .delivery-time span,
  .simple-header .pickup-time span {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .simple-header {
    height: 175px;
  }

  .simple-header .header-content {
    padding: 10px 12px;
    gap: 6px;
  }

  .simple-header .company-name {
    font-size: 1.2rem;
  }

  .simple-header .logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .simple-header .header-center {
    gap: 10px;
  }

  .simple-header .header-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .simple-header .status-info,
  .simple-header .delivery-info {
    width: 100%;
  }

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

  .simple-header .delivery-time i,
  .simple-header .pickup-time i {
    font-size: 0.95rem;
  }

  .simple-header .delivery-time span,
  .simple-header .pickup-time span {
    font-size: 0.7rem;
  }
}

/* Adiciona uma media query específica para telas muito pequenas */
@media (max-width: 360px) {
  .simple-header {
    height: 170px;
  }

  .simple-header .company-name {
    font-size: 1.15rem;
  }

  .simple-header .logo {
    width: 56px;
    height: 56px;
  }

  .simple-header .logo {
    width: 60px;
    height: 60px;
  }

  .simple-header .header-center {
    margin: 6px 0;
  }

  .simple-header .header-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .simple-header .status-info {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
  }

  .simple-header .status-info .status {
    text-align: center;
    justify-content: center !important;
  }

  .simple-header .delivery-time,
  .simple-header .pickup-time {
    font-size: 0.7rem;
    padding: 0 4px; /* Adiciona um pouco de padding interno */
    justify-content: center !important;
  }

  .simple-header .delivery-info {
    gap: 8px;
    width: 100%;
    display: flex !important;
    justify-content: center !important;
  }
}

/* Remove os estilos antigos do premium-header */
.premium-header,
.menu-header.premium-header {
  display: none !important;
}

/* Delivery Time Info Component */
.delivery-time-info {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 16px !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}

.delivery-time-info:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.delivery-time-info i {
  font-size: 1.1rem !important;
  opacity: 0.95 !important;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3)) !important;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .premium-header {
    padding: 16px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .premium-header .header-container {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: none !important;
  }

  .premium-header .company-info {
    width: 100% !important;
  }

  .premium-header .company-name {
    font-size: 1.4rem !important;
  }

  .premium-header .status-info {
    gap: 12px !important;
  }

  .premium-header .header-actions {
    width: 100% !important;
    justify-content: flex-end !important;
  }

  .delivery-time-info {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    border-radius: 12px !important;
  }

  .premium-header .company-logo {
    width: 100px !important;
    height: 100px !important;
  }
}

/* Garantir largura total em dispositivos pequenos */
@media (max-width: 768px) {
  .premium-header,
  .menu-header,
  .menu-content,
  .featured-products-section,
  .category-nav,
  .category-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .header-back-button {
    top: 12px;
    left: 12px;
  }

  .header-back-button .back-btn {
    width: 36px;
    height: 36px;
  }

  .header-back-button .back-btn svg {
    width: 16px;
    height: 16px;
  }

  .premium-header .company-info {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .premium-header .company-name {
    font-size: 1.25rem !important;
  }

  .premium-header .status-info {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .delivery-time-info {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
    gap: 6px !important;
    border-radius: 10px !important;
  }

  .delivery-time-info i {
    font-size: 0.9rem !important;
  }
}

/* iFood-style Header - Clean and Modern */
.menu-header {
  background: linear-gradient(135deg, #ea1d2c 0%, #d60017 100%);
  color: white;
  padding: 20px 16px 20px;
  text-align: left;
  position: relative;
  margin: 0;
  box-shadow: 0 2px 8px rgba(234, 29, 44, 0.15);
  border: none;
}

.menu-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: white;
}

.menu-header p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 500;
  color: white;
}

.menu-description {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* iFood-style status indicators */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
}

.closed-badge {
  background: #ff3040;
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.3px;
  animation: pulse 2s infinite;
  text-transform: uppercase;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Header buttons removed - using bottom navigation instead */

/* Hide navbar only for customer layout */
.customer-layout .navbar { display: none !important; }

/* iFood-style buttons */
.customer-layout .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #ea1d2c;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.customer-layout .btn:hover {
  background: #d60017;
}

.customer-layout .btn:active {
  transform: scale(0.98);
}

.customer-layout .btn-primary {
  background:red;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.customer-layout .btn-primary:hover {
  background: red;
}

.customer-layout .btn-outline {
  border: 2px solid #e5e5e5;
  color: #666;
  background: white;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.customer-layout .btn-outline:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

/* iFood-style Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: white;
  border-top: 1px solid #e5e5e5;
  padding: 12px 0 max(12px, env(safe-area-inset-bottom));
  z-index: 1000;
  box-shadow: 0 -1px 10px rgba(0,0,0,0.08);
}

/* Center on larger screens to match app width */
@media (min-width: 429px) {
  .bottom-nav {
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
  }
}

.bottom-nav-list {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 0;
  padding: 0 16px;
  list-style: none;
  gap: 8px;
}

.bottom-nav-item {
  flex: 1;
  text-align: center;
  max-width: 80px;
  display: flex;
  justify-content: center;
}

.bottom-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  text-decoration: none;
  color: #9e9e9e;
  font-size: 0.7rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  min-height: 48px;
  width: 100%;
  border-radius: 8px;
}

.bottom-nav-link:hover {
  background: rgba(234, 29, 44, 0.05);
}

.bottom-nav-link.active {
  color: #ea1d2c;
  background: rgba(234, 29, 44, 0.08);
}

.bottom-nav-icon {
  font-size: 1.3rem;
  transition: all 0.2s ease;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
}

.bottom-nav-icon .bottom-nav-badge {
  top: -6px;
  right: -8px;
}

/* Bootstrap Icons specific styling for bottom navigation */
.bottom-nav-icon i.bi {
  font-size: 1.2rem;
  line-height: 1;
}

.bottom-nav-link.active .bottom-nav-icon {
  color: #ea1d2c;
  transform: scale(1.1);
}

.bottom-nav-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70px;
  display: block;
}

.bottom-nav-item-alert .bottom-nav-link {
  color: #ea1d2c;
  background: rgba(234, 29, 44, 0.08);
  box-shadow: 0 10px 20px -10px rgba(234, 29, 44, 0.55);
}

.bottom-nav-item-alert .bottom-nav-link.active {
  background: rgba(234, 29, 44, 0.18);
}

.bottom-nav-alert {
  position: absolute;
  top: -6px;
  right: -12px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #fff 32%, transparent 35%), #ea1d2c;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(234, 29, 44, 0.15), 0 4px 10px rgba(234, 29, 44, 0.3);
  animation: loyalty-pulse 1.4s ease-in-out infinite;
}

@keyframes loyalty-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bottom-nav-alert {
    animation: none;
  }
}

/* Cart badge - iFood style */
.bottom-nav-badge {
  position: absolute;
  top: 4px;
  right: 12px;
  background: #ea1d2c;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Basic utility classes */
.min-h-screen { min-height: 100vh; }
.bg-white { background-color: white; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.border-b { border-bottom: 1px solid #e5e7eb; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin: 0 auto; }
.px-4 { padding: 0 1rem; }
.py-6 { padding: 1.5rem 0; }
.py-8 { padding: 2rem 0; }
.py-12 { padding: 3rem 0; }
.py-16 { padding: 4rem 0; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-2xl { font-size: 1.5rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-gray-900 { color: #111827; }
.text-gray-600 { color: #4b5563; }
.text-gray-500 { color: #6b7280; }
.text-green-600 { color: #059669; }
.bg-blue-600 { background-color: #2563eb; }
.text-white { color: white; }
.rounded-lg { border-radius: 0.5rem; }
.px-6 { padding: 0 1.5rem; }
.py-3 { padding: 0.75rem 0; }
.space-y-4 > * + * { margin-top: 1rem; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.transition-colors { transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out; }
.cursor-pointer { cursor: pointer; }
.hidden { display: none; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.bg-black { background-color: #000; }
.bg-opacity-50 { background-color: rgba(0, 0, 0, 0.5); }
.z-50 { z-index: 50; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.p-4 { padding: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.max-w-2xl { max-width: 42rem; }
.w-full { width: 100%; }
.max-h-screen { max-height: 100vh; }
.overflow-y-auto { overflow-y: auto; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.p-6 { padding: 1.5rem; }
.justify-between { justify-content: space-between; }
.mb-6 { margin-bottom: 1.5rem; }
.text-gray-400 { color: #9ca3af; }
.hover\:text-gray-600:hover { color: #4b5563; }

/* iFood-style Category Navigation */
.category-nav {
  background: white;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 99;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav-list {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  margin: 0;
  list-style: none;
}

.category-nav-item {
  flex-shrink: 0;
}

.category-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f8f9fa;
  color: #495057;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #e9ecef;
  white-space: nowrap;
}

.category-nav-link:hover {
  background: #e9ecef;
  color: #212529;
  border-color: #dee2e6;
}

.category-nav-link.active {
  background: var(--primary-color, #ea1d2c);
  color: var(--primary-contrast-color, white);
  border-color: var(--primary-border-accessible-color, var(--primary-color, #ea1d2c));
  font-weight: 600;
}

.category-focused-panel {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.category-focused-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 16px;
  margin: 0;
}

.category-focused-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.category-focused-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: #6c727f;
}

.category-focused-reset {
  border: none;
  background: rgba(234, 29, 44, 0.08);
  color: #ea1d2c;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.category-focused-reset:hover,
.category-focused-reset:focus {
  background: rgba(234, 29, 44, 0.15);
  color: #c01622;
}

.category-focused-loader {
  font-size: 0.95rem;
  color: #6c727f;
  padding: 1rem 16px;
  text-align: center;
}

.category-focused-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0 0 6rem;
  margin: 0;
}

.category-focused-body > section {
  margin-left: 0;
  margin-right: 0;
}

/* iFood-style Menu Content */
.menu-content {
  padding: 0 0 80px;
  background: #f8f9fa;
  min-height: calc(100vh - 120px);
  margin: 0;
}

.menu-powered-by {
  padding: 18px 16px calc(86px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, #f8f9fa 22%, #f8f9fa 100%);
}

.menu-powered-by-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.menu-powered-by-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.menu-powered-by-link::before {
  content: "";
  width: min(100%, 240px);
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0) 0%, rgba(203, 213, 225, 0.95) 24%, rgba(203, 213, 225, 0.95) 76%, rgba(148, 163, 184, 0) 100%);
}

.menu-powered-by-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex-shrink: 0;
}

.menu-powered-by-logo-image {
  width: 84px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.menu-powered-by-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.menu-powered-by-label {
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.content-container {
  padding: 0 0 80px;
  background: #f8f9fa;
  min-height: calc(100vh - 120px);
  margin: 0;
}

.category-section {
  padding: 0;
  background: white;
  border-radius: 0;
}


.category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  padding: 20px 16px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.01em;
  border-bottom: 1px solid #f0f0f0;
}

.category-title::before {
  display: none;
}

/* iFood-style Product Grid */
.product-grid, .products-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: white;
  margin: 0;
}

/* iFood-style Product Cards - Horizontal Layout */
.product-card {
  background: white;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 0;
  padding: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
}

.product-card:hover {
  background: #fafafa;
  transform: none;
}

.product-card:last-child {
  border-bottom: none;
}

.product-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.product-card.unavailable {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

.product-card.unavailable .product-image-container {
  position: relative;
}

.unavailable-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.unavailable-label {
  background: #ef4444;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.unavailable-badge {
  margin-left: 4px;
  font-size: 0.875rem;
}

.price-unavailable {
  color: #6b7280;
  font-style: italic;
  font-size: 0.875rem;
}

/* Product Info - Left side */
.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-right: 10px;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.product-description {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: auto 0 0 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.05), rgba(26, 26, 26, 0.02));
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(26, 26, 26, 0.1);
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Product Image - Right side */
.product-image-container {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.product-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

/* Melhorias gerais para visibilidade dos preços */
.product-card:hover .product-price {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.product-card:hover .regular-product-price {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Melhorias para produtos com promoção */
.product-card:has(.promotional-price) {
  border: 2px solid rgba(231, 76, 60, 0.2) !important;
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.1) !important;
  position: relative;
}

.product-card:has(.promotional-price)::before {
  content: "🔥 PROMOÇÃO";
  position: absolute;
  top: -1px;
  left: -1px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}


.product-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 575.98px) {
  .simple-header {
    height: 135px;
  }

  .simple-header .header-content {
    padding: 10px 14px;
  }

  .simple-header .restaurant-basic-info h1 {
    font-size: 1.1rem;
  }

  .simple-header .restaurant-basic-info .restaurant-meta {
    font-size: 0.7rem;
    gap: 4px;
  }

  .category-nav {
    padding: 8px 10px;
  }

  .category-nav-list {
    gap: 4px;
    padding: 0 6px;
  }

  .category-nav-link {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .menu-content,
  .content-container {
    padding-bottom: 56px;
  }

  .menu-powered-by {
    padding: 14px 12px calc(74px + env(safe-area-inset-bottom));
  }

  .menu-powered-by-link {
    gap: 7px;
  }

  .menu-powered-by-link::before {
    width: min(100%, 200px);
  }

  .menu-powered-by-logo {
    height: auto;
  }

  .menu-powered-by-logo-image {
    width: 72px;
  }

  .menu-powered-by-badge {
    padding: 7px;
  }

  .menu-powered-by-label {
    font-size: 0.68rem;
  }

  .category-title {
    font-size: 1rem;
    padding: 12px 0 8px;
    margin-bottom: 10px;
  }

  .product-card {
    padding: 8px 10px;
    gap: 6px;
  }

  .simple-header .header-bottom {
    flex-direction: row;
    align-items: center;
    padding: 6px 10px;
    gap: 10px;
    width: 100%;
  }

  .simple-header .status-info,
  .simple-header .delivery-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
  }

  .simple-header .status-info {
    justify-content: flex-start;
    gap: 6px;
    white-space: nowrap;
  }

  .simple-header .delivery-info {
    justify-content: flex-end;
    gap: 10px;
    width: auto;
    white-space: nowrap;
  }

  .product-info {
    gap: 2px;
  }

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

  .product-description {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  .product-price {
    font-size: 0.9rem;
    padding: 3px 6px;
  }

  .product-image-container {
    min-height: 40px;
  }

  .product-image {
    width: 40px;
    height: 40px;
  }

  .bottom-nav {
    padding: 8px 0 max(10px, env(safe-area-inset-bottom));
  }

  .bottom-nav-link {
    gap: 4px;
    min-height: 44px;
    padding: 6px 8px;
    font-size: 0.62rem;
  }

  .bottom-nav-icon {
    width: 20px;
    height: 20px;
    font-size: 1.05rem;
  }

  .bottom-nav-icon i.bi {
    font-size: 1rem;
  }

  .bottom-nav-text {
    font-size: 0.6rem;
    max-width: 52px;
  }
}

/* iFood-style Order Cards */
.order-card {
  background: white;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 0;
  padding: 16px;
  transition: all 0.2s ease;
  margin-bottom: 0;
  position: relative;
}

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

.order-card:hover {
  background: #fafafa;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  gap: 16px;
}

.order-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.2;
}

.order-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.order-meta .icon {
  margin-right: 4px;
}

.order-total {
  font-weight: 700;
  color: #ea1d2c;
  font-size: 1rem;
}

/* iFood-style Status badges */
.status-badge {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.order-status-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media screen and (max-width: 768px) {
  .card-header {
    display: block;
  }

  .card-content {
    margin-bottom: 12px;
  }

  .order-status-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .status-badge {
    display: block;
    width: 100%;
    text-align: center;
  }

  .card-header {
    flex-direction: column;
  }
}

.status-warning {
  background: #ffa726;
  color: white;
}

.status-pending {
  background: #ff9800;
  color: #1a1a1a;
}

.status-confirmed {
  background: #4caf50;
  color: white;
}

.status-preparing {
  background: #2196f3;
  color: white;
}

.status-ready {
  background: #9c27b0;
  color: white;
}

.status-delivered {
  background: #607d8b;
  color: white;
}

.status-cancelled {
  background: #f44336;
  color: white;
}

.status-info {
  color: white;
}
.status-primary {
  background: #007bff;
  color: white;
}
.status-success {
  background: #66bb6a;
  color: white;
}
.status-dark {
  background: #78909c;
  color: white;
}
.status-danger {
  background: #ef5350;
  color: white;
}

/* iFood-style Order items */
.order-items {
  margin-top: 8px;
}

.order-items h5 {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.items-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.8rem;
}

.item-quantity {
  font-weight: 600;
  color: #ea1d2c;
  margin-right: 8px;
  min-width: 20px;
}

.item-name {
  flex: 1;
  color: #333;
  line-height: 1.2;
}

.item-price {
  font-weight: 600;
  color: #333;
  margin-left: 8px;
}

/* Empty state - iFood style - CENTRALIZADO */
.empty-state {
  text-align: center !important;
  padding: 40px 20px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-state[hidden],
.empty-state.hidden,
.orders-list[hidden],
.orders-list.hidden {
  display: none !important;
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin: 0 auto 16px auto;
  display: block;
  text-align: center !important;
  width: 100%;
}

.empty-state h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}

.empty-state p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 0.9rem;
}

/* No products container - tema clássico */
.no-products-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  min-height: 300px;
  background: white;
  margin: 20px 16px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-products-content {
  max-width: 400px;
  width: 100%;
}


.no-products-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.no-products-description {
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
  font-size: 1rem;
}

.no-products-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #555;
}

.feature-icon {
  font-size: 1.2rem;
  min-width: 24px;
  text-align: center;
}

.no-products-cta {
  margin-top: 20px;
}

.cta-text {
  color: #666;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.cta-button {
  display: inline-block;
  background: #ea1d2c;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: #d60017;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.3);
}

/* Responsividade para a mensagem de cardápio em preparação */
@media (max-width: 768px) {
  .no-products-container {
    margin: 16px 12px;
    padding: 40px 16px;
  }

  .no-products-title {
    font-size: 1.3rem;
  }

  .feature-item {
    padding: 10px;
    font-size: 0.85rem;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

.customer-layout .btn {
  display: inline-block;
  padding: 12px 20px;
  background: #ea1d2c;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.customer-layout .btn:hover {
  background: #d60017;
}

/* Modal improvements */
.modal-close-btn {
  background: #6b7280 !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s !important;
  border: none !important;
  cursor: pointer !important;
  color: white !important;
}

.modal-close-btn:hover {
  background: #4b5563 !important;
}

.modal-close-btn svg {
  width: 16px !important;
  height: 16px !important;
}

.footer-close-btn {
  background: #4b5563 !important;
  color: white !important;
  padding: 12px 32px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: background-color 0.2s !important;
  border: none !important;
  cursor: pointer !important;
}

.footer-close-btn:hover {
  background: #374151 !important;
}

/* iFood-style Responsive Design */
@media (min-width: 768px) {
  .customer-layout {
    max-width: 800px;
  }

  .menu-header {
    padding: 24px 20px;
  }

  .menu-content, .content-container {
    padding: 0 0 80px;
  }

  .product-card {
    padding: 20px;
  }

  .order-card {
    padding: 20px;
  }

  .order-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  .order-number {
    font-size: 1.2rem;
  }

  .order-meta {
    font-size: 0.85rem;
  }

  .order-total {
    font-size: 1.1rem;
  }

  .status-badge {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .customer-layout {
    max-width: 800px;
    box-shadow: 0 0 40px rgba(0,0,0,0.15);
  }

  .order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .product-card:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (min-width: 1440px) {
  .customer-layout {
    max-width: 800px;
  }
}

/* Highlight current day in schedule */
/* Legacy product modal CSS removed - using modern-modal classes */

@keyframes modalBackdropIn {
  from {
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
  }
  to {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
  }
}

/* ===== LEGACY PRODUCT MODAL CSS REMOVED ===== */
/* All legacy product-modal CSS classes have been removed in favor of modern-modal system */
/* This ensures no conflicts with the new modern UX design */

/* ===== MODERN EXTRAS AND OPTIONS ===== */

.extras-section {
  margin: 24px 0;
}

.extras-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e9ecef;
}

/* ===== PIZZA FLAVOR CATEGORY TABS ===== */

.pizza-flavor-category-tabs {
  margin: 12px 0 4px;
}

.flavor-category-tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.flavor-category-tabs-nav::-webkit-scrollbar {
  display: none;
}

.flavor-category-tab {
  flex-shrink: 0;
  padding: 6px 16px;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  background: #fff;
  color: #495057;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.flavor-category-tab:hover {
  border-color: var(--primary-color, #dc3545);
  color: var(--primary-color, #dc3545);
}

.flavor-category-tab.active {
  background: var(--primary-color, #dc3545);
  border-color: var(--primary-color, #dc3545);
  color: #fff;
}

/* ===== PIZZA VISUAL SELECTOR ===== */

.pizza-visual-container {
  margin: 24px 0;
  padding: 20px;
  background: linear-gradient(135deg, #fff8f6 0%, #fef4f2 100%);
  border-radius: 16px;
  border: 2px solid #fed7d7;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pizza-visual-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c53030;
  margin-bottom: 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pizza-visual-subtitle {
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 20px;
  font-weight: 500;
}

.pizza-svg-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  position: relative;
}

.pizza-svg {
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

.pizza-slice {
  cursor: pointer;
  transition: all 0.3s ease;
  transform-origin: center;
}

.pizza-slice:hover {
  opacity: 0.8;
  transform: scale(1.05);
  filter: brightness(1.1);
}

.pizza-slice.selected {
  stroke: #c53030;
  stroke-width: 3;
  filter: brightness(1.1) saturate(1.2);
}

.pizza-slice.empty {
  fill: #f7fafc;
  stroke: #e2e8f0;
  stroke-width: 2;
}

/* Status da pizza */
.pizza-status {
  margin: 16px 0;
  padding: 12px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  color: #2d3748;
}

/* ===== PIZZA SIZE STYLES - IFOOD INSPIRED ===== */

.pizza-size-item {
  position: relative;
}

.pizza-size-item .option-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.pizza-size-name {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  line-height: 1.2;
}

.pizza-size-details {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pizza-flavor-count {
  font-size: 14px;
  color: #718096;
  background: #f7fafc;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.pizza-pricing-type {
  font-size: 14px;
  color: #ea1d2c;
  background: #fff5f5;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
}

/* Remove pricing type display completely */
.pizza-pricing-type {
  display: none !important;
}

/* Botões de ação rápida */
.pizza-quick-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.pizza-quick-btn {
  padding: 8px 16px;
  border: 2px solid #e2e8f0;
  background: white;
  color: #4a5568;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pizza-quick-btn:hover {
  border-color: #c53030;
  color: #c53030;
  background: #fed7d7;
}

.pizza-quick-btn:active {
  transform: scale(0.95);
}

/* Modal de seleção de sabor */
.flavor-selection-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10002;
  display: none;
  opacity: 0;
  transition: all 0.3s ease;
}

.flavor-selection-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  padding: 20px;
}

.flavor-modal-content {
  background: white;
  border-radius: 20px;
  max-width: 400px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.flavor-selection-modal.active .flavor-modal-content {
  transform: scale(1) translateY(0);
}

.flavor-modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.flavor-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #c53030;
  margin: 0 0 8px 0;
}

.flavor-modal-subtitle {
  font-size: 0.9rem;
  color: #718096;
  margin: 0;
}

.flavor-modal-body {
  padding: 20px 24px;
}

.flavor-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  margin-bottom: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}

.flavor-option:hover {
  border-color: #c53030;
  background: #fef4f2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 48, 48, 0.15);
}

.flavor-option.selected {
  border-color: #c53030;
  background: #fed7d7;
}

.flavor-option-info {
  flex: 1;
}

.flavor-option-name {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
}

.flavor-option-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #c53030;
}

.flavor-option-radio {
  width: 20px;
  height: 20px;
  margin-left: 12px;
  accent-color: #c53030;
}

.flavor-modal-actions {
  padding: 16px 24px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 12px;
}

.flavor-modal-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.flavor-modal-btn.primary {
  background: #c53030;
  color: white;
}

.flavor-modal-btn.primary:hover {
  background: #a82727;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(168, 39, 39, 0.3);
}

.flavor-modal-btn.secondary {
  background: #e2e8f0;
  color: #4a5568;
}

.flavor-modal-btn.secondary:hover {
  background: #cbd5e0;
}

/* Cores dos sabores para as fatias */
.flavor-margherita { fill: #ff6b6b; }
.flavor-pepperoni { fill: #d63031; }
.flavor-vegetarian { fill: #00b894; }
.flavor-hawaiian { fill: #fdcb6e; }
.flavor-meat { fill: #6c5ce7; }
.flavor-cheese { fill: #ffeaa7; }
.flavor-chicken { fill: #fd79a8; }
.flavor-mushroom { fill: #a29bfe; }

/* Responsividade */
@media (max-width: 768px) {
  .pizza-visual-container {
    margin: 16px 0;
    padding: 16px;
  }

  .pizza-svg {
    max-width: 240px;
  }

  .flavor-modal-content {
    max-width: 90vw;
    max-height: 90vh;
  }

  .flavor-modal-header {
    padding: 20px 20px 12px;
  }

  .flavor-modal-body {
    padding: 16px 20px;
  }

  .flavor-modal-actions {
    padding: 12px 20px 20px;
  }

  .flavor-option {
    padding: 12px;
  }
}

/* Animações */
@keyframes pizza-slice-select {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1.05); }
}

.pizza-slice.selecting {
  animation: pizza-slice-select 0.3s ease;
}

@keyframes flavor-added {
  0% { background: #c53030; }
  100% { background: transparent; }
}

.pizza-status.updated {
  animation: flavor-added 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.option-group {
  background: white;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid #f1f3f4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.option-group-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.option-group-title > div:first-child {
  font-size: 18px;
  font-weight: 700;
  color: #2d3748;
}

.option-group-validation {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

.choice-type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.choice-type-badge.single {
  background: #e3f2fd;
  color: #1976d2;
}

.choice-type-badge.multiple {
  background: #e8f5e8;
  color: #2e7d32;
}

.choice-type-badge.quantity {
  background: #fff3e0;
  color: #f57c00;
}

.choice-type-badge.divisible,
.divisible-badge {
  background: #f3e8ff;
  color: #7c3aed;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  text-transform: uppercase;
}

.option-group-divisible-hint {
  font-size: 0.8rem;
  color: #475569;
  font-weight: 500;
}

.option-group-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== MODERN QUANTITY CONTROLS ===== */

.quantity-section {
  margin: 24px 0;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e9ecef;
}

.quantity-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.quantity-btn {
  width: 44px;
  height: 44px;
  border: 2px solid #ea1d2c;
  background: white;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  color: #ea1d2c;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background: #ea1d2c;
  color: white;
  transform: scale(1.1);
}

.quantity-btn:disabled {
  border-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
  transform: none;
}

.quantity-btn:disabled:hover {
  background: white;
  color: #6c757d;
}

.quantity-display {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  min-width: 40px;
  text-align: center;
}

/* ===== MODERN OPTION ITEMS - IFOOD STYLE ===== */

.option-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #f1f3f4;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

.option-item:hover {
  background: #fafbfc;
  border-color: #ea1d2c;
  box-shadow: 0 4px 16px rgba(234, 29, 44, 0.12);
}

.option-item.selected {
  background: #fff4f4;
  border-color: #ea1d2c;
  box-shadow: 0 0 0 2px rgba(234, 29, 44, 0.1), 0 4px 16px rgba(234, 29, 44, 0.12);
}

.option-item.selected::before {
  content: '';
  position: absolute;
  left: -2px;
  top: -2px;
  bottom: -2px;
  width: 4px;
  background: #ea1d2c;
  border-radius: 16px 0 0 16px;
}

.option-label {
  display: flex;
  align-items: center;
  flex: 1;
  cursor: pointer;
  gap: 16px;
  min-width: 0;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.option-input {
  margin: 0;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.option-input[type="checkbox"],
.option-input[type="radio"] {
  appearance: none;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: white;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-input[type="radio"] {
  border-radius: 50%;
}

.option-input[type="checkbox"]:checked,
.option-input[type="radio"]:checked {
  background: #ea1d2c;
  border-color: #ea1d2c;
}

.option-input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.option-input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.option-input[type="radio"] {
  appearance: none;
  border: 2px solid #e9ecef;
  border-radius: 50%;
  background: white;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option-input[type="radio"]:checked {
  border-color: #ea1d2c;
}

.option-input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #ea1d2c;
  border-radius: 50%;
}

.option-text {
  font-size: 16px;
  color: #2d3748;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-description {
  font-size: 16px;
  color: #718096;
  font-weight: 400;
  line-height: 1.3;
  font-style: italic;
}

.option-price {
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: 8px;
}

.option-price.free {
  color: #28a745;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

/* Layout for items with quantity controls - usando flexbox simples */
.option-item.quantity-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.option-item.quantity-item .option-label {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modern-modal .option-item.quantity-item.option-has-image .option-label {
  flex-direction: row !important;
  align-items: center !important;
}

.modern-modal .option-item.quantity-item.option-has-image .option-price {
  width: auto !important;
  align-self: center !important;
}

.modern-modal .option-item.quantity-item.option-has-image .option-text {
  display: flex !important;
  flex-direction: column !important;
}


.option-item.quantity-item .option-text {
  gap: 4px;
  width: 100%;
}

.option-item.quantity-item .option-price {
  order: 2;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  text-align: left;
  padding-left: 0;
  margin-left: 0;
  min-width: auto;
  align-self: stretch;
  text-align: left;
  padding-left: 0;
  margin-left: 0;
  min-width: auto;
  align-self: stretch;
  display: block;
  width: 100%;
}

/* Fallback para navegadores que não suportam :has() */
.option-item .option-info {
  margin-left: auto;
}

.option-info {
  display: flex;
  align-items: center;
}

.quantity-controls.mini {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  border-radius: 24px;
  padding: 6px 12px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.quantity-btn.mini {
  width: 28px;
  height: 28px;
  border: 2px solid #ea1d2c;
  background: white;
  color: #ea1d2c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(234, 29, 44, 0.15);
}

/* Plus icon for increase button */
.quantity-btn.mini[data-action="increase"]::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background: #ea1d2c;
  border-radius: 2px;
}

.quantity-btn.mini[data-action="increase"]::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 12px;
  background: #ea1d2c;
  border-radius: 2px;
}

/* Minus icon for decrease button */
.quantity-btn.mini[data-action="decrease"]::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background: #ea1d2c;
  border-radius: 2px;
}

.quantity-btn.mini:hover:not(:disabled) {
  background: #ea1d2c;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.3);
}

.quantity-btn.mini:hover:not(:disabled)::before,
.quantity-btn.mini:hover:not(:disabled)::after {
  background: white;
}

.quantity-btn.mini:disabled {
  background: #f5f5f5;
  border-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
}

.quantity-btn.mini:disabled::before,
.quantity-btn.mini:disabled::after {
  background: #999;
}

.quantity-display.mini {
  font-weight: 600;
  color: #333;
  min-width: 20px;
  text-align: center;
  font-size: 14px;
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  border-color: #e5e7eb;
  color: #9ca3af;
}

.quantity-display {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  min-width: 60px;
  text-align: center;
  padding: 8px 16px;
  background: white;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
}

/* ===== MODERN CART FOOTER AND BUTTON ===== */

.cart-footer {
  background: white;
  padding: 20px 24px;
  border-top: 1px solid #e9ecef;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.total-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 0;
}

.total-label {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.total-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ea1d2c;
}

.add-to-cart-btn {
  width: 100%;
  background: #ea1d2c;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.3);
}

.add-to-cart-btn:hover {
  background: #d91a27;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 29, 44, 0.4);
}

.add-to-cart-btn:active {
  transform: translateY(0);
}

/* Validation messages */
.validation-message {
  background: #fef2f2;
  color: #dc2626;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-top: 8px;
  border: 1px solid #fecaca;
  animation: slideIn 0.3s ease;
}

.validation-message.error {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.total-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.total-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #64748b;
}

.total-amount {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ea1d2c, #ff6b35);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.add-to-cart-btn .btn-text {
  font-size: inherit;
  font-weight: inherit;
}

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

.add-to-cart-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

.add-to-cart-btn:disabled:hover {
  transform: none;
  box-shadow: 0 8px 25px rgba(234, 29, 44, 0.3);
}
/* Ultra Modern Cart Footer - Premium Design */
.cart-footer {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  border-radius: 24px;
  border: 2px solid transparent;
  background-image: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%), linear-gradient(90deg, #ea1d2c, #ff6b35);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.cart-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ea1d2c 0%, #ff6b35 50%, #ea1d2c 100%);
  background-size: 200% 100%;
  animation: gradientFlow 3s ease-in-out infinite;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-total-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-breakdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.base-price-label,
.extras-price-label {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
}

.base-price-value,
.extras-price-value {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
}

.extras-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.total-price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 16px;
  border-top: 2px solid #ea1d2c;
  margin-top: 8px;
  background: linear-gradient(135deg, rgba(234, 29, 44, 0.02) 0%, rgba(255, 107, 53, 0.02) 100%);
  border-radius: 12px;
  position: relative;
}

.total-label {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ea1d2c 0%, #ff6b35 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.total-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ea1d2c;
  text-shadow: 0 2px 4px rgba(234, 29, 44, 0.2);
  animation: pricePulse 2s ease-in-out infinite;
}

@keyframes pricePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.cart-actions {
  margin-top: 8px;
}

.add-to-cart-btn {
  width: 100%;
  background: linear-gradient(135deg, #ea1d2c 0%, #ff6b35 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 20px;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 20px 32px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 12px 25px rgba(234, 29, 44, 0.3),
    0 6px 15px rgba(234, 29, 44, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: gradientShift 3s ease infinite;
}

.add-to-cart-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.add-to-cart-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(234, 29, 44, 0.4),
    0 8px 20px rgba(234, 29, 44, 0.3);
  background-position: 100% 0;
}

.add-to-cart-btn:hover::before {
  left: 100%;
}

.add-to-cart-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    0 8px 20px rgba(234, 29, 44, 0.3),
    0 4px 12px rgba(234, 29, 44, 0.2);
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.btn-icon {
  font-size: 1.3rem;
  animation: cartBounce 2s ease-in-out infinite;
}

@keyframes cartBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.btn-text {
  font-size: inherit;
  font-weight: inherit;
  transition: all 0.3s ease;
}

.btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  gap: 8px;
}

.btn-loader-label {
  font-size: 0.95rem;
  font-weight: 700;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.add-to-cart-btn.loading .btn-text,
.add-to-cart-btn.loading .btn-icon {
  opacity: 0;
}

.add-to-cart-btn.loading .btn-loader {
  display: inline-flex;
}

.add-to-cart-btn.loading {
  pointer-events: none;
}

.add-to-cart-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

.add-to-cart-btn:disabled:hover {
  transform: none;
  box-shadow: 0 8px 25px rgba(234, 29, 44, 0.3);
}

/* Responsive design for cart footer */
@media (max-width: 640px) {
  .cart-footer {
    margin-top: 24px;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .total-price-section {
    padding: 16px 0 12px;
  }

  .total-label {
    font-size: 1.2rem;
  }

  .total-price {
    font-size: 1.3rem;
  }

  .add-to-cart-btn {
    font-size: 1rem;
    padding: 18px 28px;
    border-radius: 16px;
  }

  .btn-icon {
    font-size: 1.2rem;
  }
}

/* === LEGACY MODAL CSS REMOVED === */

/* Estilos para os adicionais do produto */
.extras-section {
  margin: 20px 0;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.extras-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e9ecef;
}

.extras-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s;
}

.extra-item:hover {
  border-color: #d1d5db;
}

.extra-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.extra-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
}

.extra-price {
  font-size: 0.85rem;
  color: #10b981;
  font-weight: 500;
}

.extra-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.extra-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #d1d5db;
  background: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.extra-btn:hover {
  border-color: #ea1d2c;
  color: #ea1d2c;
  background: #fef2f2;
}

.extra-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #e5e7eb;
  color: #9ca3af;
}

.extra-btn:disabled:hover {
  border-color: #e5e7eb;
  color: #9ca3af;
  background: white;
}

.extra-quantity {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  min-width: 20px;
  text-align: center;
}

/* === LEGACY product-modal-meta REMOVED === */

.total-price-display {
  font-size: 0.9rem;
  font-weight: 600;
  color: #10b981;
}

/* Estilos para exibir adicionais no carrinho */
.cart-item-extras {
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
  font-style: italic;
  line-height: 1.3;
}

/* Responsive para adicionais */
@media (max-width: 640px) {
  .extras-section {
    margin: 16px 0;
    padding: 12px;
  }

  .extra-item {
    padding: 10px;
  }

  .extra-controls {
    gap: 6px;
    margin-left: 8px;
  }

  .extra-btn {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}

/* iFood-style Cart Modal - Consistent with App Width */
.cart-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

/* Center modal content to match app container */
@media (min-width: 429px) {
  .cart-modal {
    align-items: center;
  padding: 20px;
  }
}

.cart-modal.active {
  display: flex !important;
}

/* Ensure modal shows properly when activated */
.cart-modal[style*="display: flex"] {
  display: flex !important;
}

.cart-modal-content {
  background: white;
  border-radius: 16px 16px 0 0;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideUpFromBottom 0.3s ease-out;
}

@media (min-width: 429px) {
  .cart-modal-content {
    border-radius: 16px;
    max-height: 90vh;
  animation: modalSlideIn 0.3s ease-out;
  }
}

@keyframes slideUpFromBottom {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #e5e5e5;
}

.cart-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.cart-close {
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #666;
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.cart-close:hover {
  background: #e5e5e5;
  color: #333;
}

.cart-body {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.cart-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid #e5e5e5;
  background: white;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.35);
}

/* Mobile-First Cart Items - Compact Layout */
.cart-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.cart-item-name {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
  line-height: 1.3;
  flex: 1;
}

.cart-item-total {
  font-weight: 700;
  color: #ea1d2c;
  font-size: 1.1rem;
  white-space: nowrap;
}

.cart-item-config {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.3;
  background: #f8f9fa;
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 3px solid #ea1d2c;
  margin: 4px 0;
}

/* Enhanced styling for pizza information in checkout */
.cart-item-config .config-item {
  color: #475569;
  font-weight: 400;
  margin-bottom: 4px;
  line-height: 1.6;
}

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

.cart-item-config .config-item strong {
  color: #334155;
  font-weight: 600;
}

.cart-item-config .fallback-config {
  color: #444;
  font-weight: 500;
}

.cart-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cart-item-price {
  color: #666;
  font-weight: 500;
  font-size: 0.9rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  margin-top: 8px;
}

.cart-item-controls .quantity-btn {
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  background: white;
  border: 1px solid #ea1d2c;
  color: #ea1d2c;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.cart-item-controls .quantity-btn:hover {
  background: #ea1d2c;
  color: white;
}

.cart-item-controls .quantity-btn:active {
  transform: scale(0.95);
}

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

.cart-item-controls .quantity-display {
  min-width: 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.cart-item-controls .remove-btn {
  width: 32px;
  height: 32px;
  font-size: 14px;
  border-radius: 6px;
  background: #ef4444;
  border: 1px solid #ef4444;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  margin-left: 4px;
}

.cart-item-controls .remove-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
}

.empty-cart {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.empty-cart p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

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

/* Success Toast */
.success-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: #059669;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  z-index: 1002;
  transition: transform 0.3s ease;
  text-align: center;
  min-width: 250px;
}

@media (max-width: 480px) {
  .success-toast {
    white-space: nowrap;
    min-width: auto;
    width: auto;
    max-width: calc(100% - 32px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.success-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Slide In Animation */
@keyframes slideIn {
  from {
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* Responsive adjustments for cart modal */
@media (max-width: 640px) {
  .cart-modal {
    padding: 10px;
  }

  .cart-modal-content {
    max-width: none;
    width: 100%;
    max-height: 95vh;
  }

  .cart-header {
    padding: 16px 20px;
  }

  .cart-body {
    padding: 20px;
    max-height: 350px;
  }

  .cart-footer {
    padding: 16px 20px;
  }
}





/* iFood-style Form Styles */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #333;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: white;
  font-weight: 500;
}

.form-input:focus {
  outline: none;
  border-color: #ea1d2c;
  background: white;
  box-shadow: 0 0 0 3px rgba(234, 29, 44, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
  opacity: 0.85;
  font-weight: 400;
}

/* Grupo de input do cupom com botão validar */
.coupon-input-group {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.coupon-input {
  flex: 1;
}

.coupon-validate-btn {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 100px;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
  white-space: nowrap;
}

.coupon-validate-btn:hover {
  background: linear-gradient(135deg, #495057 0%, #343a40 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.coupon-validate-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(108, 117, 125, 0.2);
}

.coupon-validate-btn svg {
  flex-shrink: 0;
}

.coupon-remove-btn {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 100px;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
  white-space: nowrap;
}

.coupon-remove-btn:hover {
  background: linear-gradient(135deg, #c82333 0%, #a02834 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.coupon-remove-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.2);
}

.coupon-remove-btn svg {
  flex-shrink: 0;
}

/* Responsividade para o grupo do cupom */
@media (max-width: 480px) {
  .coupon-input-group {
    flex-direction: column;
  }

  .coupon-validate-btn,
  .coupon-remove-btn {
    width: 100%;
  }
}

.form-error {
  color: #ea1d2c;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 500;
}

/* Modern Buttons - iFood style */
.customer-layout .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #ea1d2c;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.customer-layout .btn:hover {
  background: #d60017;
  transform: translateY(-1px);
}

.customer-layout .btn:active {
  transform: scale(0.98);
}

.customer-layout .btn-primary {
  background: #ea1d2c;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.customer-layout .btn-primary:hover {
  background: #d60017;
  transform: translateY(-1px);
}

.customer-layout .btn-outline {
  border: 2px solid #e5e5e5;
  color: #666;
  background: white;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.customer-layout .btn-outline:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
  transform: translateY(-1px);
}

/* iFood-style Content Container */
.content-container {
  padding: 0 0 80px;
  background: #f5f5f5;
  min-height: calc(100vh - 140px);
}

/* iFood-style Order Summary */
.order-summary, .checkout-summary {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 40px; /* Aumentado para 40px - espaçamento muito mais generoso */
  padding: 0;
  margin: 0;
}

/* Garantir que todos os filhos diretos do form-grid tenham espaçamento consistente */
.form-grid > * {
  margin: 0; /* Reset margins - o gap cuida do espaçamento */
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Aumentado de 8px para 12px - mais espaço entre label e input */
  margin: 0;
  width: 100%;
}

.form-group.full-width {
  width: 100%;
}

.form-label {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.form-input {
  padding: 14px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  color: #1a1a1a;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  min-height: 52px; /* Garantir altura mínima */
}

/* Garantir que todos os tipos de input tenham o mesmo estilo */
input[type="text"].form-input,
input[type="tel"].form-input,
input[type="phone"].form-input,
select.form-input,
textarea.form-input {
  padding: 14px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  color: #1a1a1a;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
}

.form-label-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label-hint {
  font-size: 0.85rem;
  color: #6b7280;
}


.address-fields-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
  align-items: flex-end;
  width: 100%;
}

.address-field-full {
  grid-column: 1 / -1;
}

.address-number-input {
  text-align: left;
}

.delivery-address-group .form-text {
  margin-top: 8px;
}

.delivery-address-group {
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .address-fields-grid {
    grid-template-columns: 1fr;
  }

  .address-number-input {
    max-width: 100%;
  }
}

/* Ajuste específico para textarea */
textarea.form-input {
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
}

.form-input:focus,
input[type="text"].form-input:focus,
input[type="tel"].form-input:focus,
input[type="phone"].form-input:focus,
select.form-input:focus,
textarea.form-input:focus {
  border-color: #ea1d2c;
  outline: none;
  box-shadow: 0 0 0 3px rgba(234, 29, 44, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
  opacity: 0.85;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .menu-content {
    padding: 0 0 80px 0 !important;
  }

  /* Garantir que seções tenham padding consistente no mobile */
  .category-section,
  .single-product-section,
  .featured-products-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .products-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .category-nav {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .form-grid {
    gap: 32px; /* Espaçamento menor no mobile mas ainda generoso */
  }

  .form-group {
    gap: 10px;
  }

  .form-subgroup {
    gap: 10px;
  }

  .delivery-section {
    gap: 24px !important; /* Espaçamento menor entre subgrupos no mobile mas ainda visível */
  }

  .delivery-section .form-subgroup + .form-subgroup {
    margin-top: 24px !important; /* Força espaçamento no mobile também */
  }

  .form-input,
  input[type="text"].form-input,
  input[type="tel"].form-input,
  input[type="phone"].form-input,
  select.form-input,
  textarea.form-input {
    padding: 12px 14px;
    font-size: 16px !important; /* Prevents zoom on iOS */
    line-height: 1.4;
    min-height: 48px;
  }

  textarea.form-input {
    min-height: 72px;
  }

  @supports (-webkit-touch-callout: none) {
    .menu-container input:not([type="checkbox"]):not([type="radio"]),
    .menu-container select,
    .menu-container textarea {
      font-size: 16px !important;
      line-height: 1.4;
    }
  }

  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important;
    line-height: 1.4;
  }


  /* Ajustes mobile para o resumo do pedido */
  .checkout-summary .cart-item-new {
    padding: 14px 16px; /* Padding menor no mobile */
  }

  .checkout-summary .item-name {
    font-size: 1rem; /* Tamanho menor no mobile */
  }

  .checkout-summary .item-total-price {
    font-size: 1.1rem; /* Ligeiramente menor no mobile */
  }

  .checkout-summary .qty-btn {
    width: 32px; /* Botões menores no mobile */
    height: 32px;
    font-size: 16px;
  }

  .checkout-summary .qty-number {
    font-size: 1rem; /* Número menor no mobile */
    min-width: 36px;
  }

  .order-total-section {
    padding: 20px 16px; /* Padding menor no mobile */
  }

  .price-line {
    font-size: 0.95rem; /* Ligeiramente menor no mobile */
  }

  .price-line.total {
    font-size: 1rem; /* Texto "Total" normal no mobile */
  }

  .total-amount {
    font-size: 1.6rem; /* VALOR do total grande no mobile */
  }

  .price-line:last-child {
    padding-top: 16px; /* Menor no mobile */
    margin-top: 12px;
  }
}

/* Change options styling */
.change-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.change-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.change-option:hover {
  border-color: #10b981;
  background: #f0fdf4;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

.change-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

.change-option input[type="radio"]:checked + span {
  color: #065f46;
  font-weight: 700;
}

.change-option:has(input[type="radio"]:checked) {
  border-color: #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.18);
}

@media (max-width: 640px) {
  .change-options {
    gap: 10px;
    margin-top: 10px;
  }

  .change-option {
    gap: 8px;
    padding: 12px 14px;
  }
}

/* Delivery fee info */
.delivery-fee-info {
  margin-top: 20px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(234, 29, 44, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(234, 29, 44, 0.2);
}

.delivery-fee-info small {
  color: #ea1d2c;
  font-weight: 600;
}

#change-amount-group {
  margin-top: 12px;
}

/* PIX Section Styles */
.pix-info-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
  border: 2px solid #4CAF50;
  border-radius: 16px;
  padding: 20px;
  margin-top: 12px;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.1);
}

.pix-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(76, 175, 80, 0.2);
}

.pix-header i {
  font-size: 1.5rem;
  color: #4CAF50;
}

.pix-header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2E7D32;
}

.pix-key-section {
  margin-bottom: 16px;
}

.pix-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2E7D32;
  margin-bottom: 8px;
}

.pix-key-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 12px 16px;
  border: 2px solid #4CAF50;
  border-radius: 12px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pix-key {
  flex: 1;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  word-break: break-all;
  line-height: 1.3;
}

.copy-button {
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 40px;
  justify-content: center;
}

.copy-button:hover {
  background: #45a049;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.pix-instructions {
  margin-bottom: 16px;
}

.pix-instructions h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #2E7D32;
  margin: 0 0 12px 0;
}

.pix-instructions ol {
  margin: 0;
  padding-left: 20px;
  color: #424242;
}

.pix-instructions li {
  margin-bottom: 6px;
  line-height: 1.4;
  font-size: 0.95rem;
}

.pix-instructions strong {
  color: #2E7D32;
  font-weight: 600;
}

.pix-instructions strong a {
  color: #25D366;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pix-instructions strong a:hover {
  color: #128C7E;
  text-decoration: underline;
}

.pix-instructions strong a i {
  font-size: 1.1em;
}

.pix-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 8px;
  padding: 12px;
}

.pix-alert i {
  color: #FF8F00;
  font-size: 1.1rem;
  margin-top: 2px;
}

.pix-alert span {
  font-size: 0.9rem;
  color: #E65100;
  font-weight: 500;
  line-height: 1.4;
}

/* Mobile adjustments for PIX section */
@media (max-width: 767px) {
  .pix-info-card {
    padding: 16px;
  }

  .pix-key {
    font-size: 0.85rem;
  }

  .copy-button {
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .pix-instructions li {
    font-size: 0.9rem;
  }
}

.order-summary-title {
  margin: 0 0 12px 0;
  font-size: 1rem;
  color: #333;
  font-weight: 600;
}

/* iFood-style Change Section */
.change-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.change-btn {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #e5e5e5;
  background: white;
  color: #666;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.change-btn[data-value="false"] {
  border-color: #ea1d2c;
  background: #ea1d2c;
  color: white;
}

.change-btn:hover {
  border-color: #ea1d2c;
  color: #ea1d2c;
}

.change-btn[data-value="false"]:hover {
  background: #d60017;
  border-color: #d60017;
  color: white;
}

/* iFood-style Checkout Actions */
.checkout-actions {
  margin-top: 24px;
  padding: 0;
  background: transparent;
  border: none;
  margin-left: 0;
  margin-right: 0;
}

/* Full width primary button - iFood style */
.btn-fullwidth {
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #ea1d2c, #dc2626);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.25);
}

.btn-fullwidth:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(234, 29, 44, 0.35);
}

.btn-fullwidth:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(234, 29, 44, 0.3);
}

.back-link-container {
  text-align: center;
  margin-top: 16px;
}

.back-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.back-link:hover {
  color: #ea1d2c;
}

/* Back link container - iFood style */
.back-link-container {
  text-align: center;
  margin-top: 16px;
}

.back-link {
  color: #666;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  display: inline-block;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #333;
}



/* removido: estilos do modal de estabelecimento fechado */

/* ===== MODERN PRODUCT CARDS - IFOOD STYLE ===== */

/* Remove old table styles and add modern grid layout */
.products-table {
  display: none !important;
}

/* Modern product grid */
.products-grid {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin: 0;
  border: none;
  padding: 0 16px;
}

/* iFood-style horizontal product cards */
.product-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 16px;
  background: white;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  margin: 0;
}

.product-card:last-child {
  border-bottom: none;
}

.product-card:hover {
  background: #fafafa;
}

.product-card:active {
  background: #f5f5f5;
  transform: scale(0.995);
}

.product-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.product-card.unavailable {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

.product-card.unavailable .product-image-container {
  position: relative;
}

/* Product info section - left side */
.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-right: 8px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.product-description {
  font-size: 0.9rem;
  color: #7a7a7a;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 8px 0 0 0;
  letter-spacing: -0.02em;
}

/* Product image section - right side */
.product-image-container {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* Placeholder for products without images */
.product-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #adb5bd;
  border: 2px dashed #dee2e6;
}

.placeholder-icon {
  font-size: 2rem;
  opacity: 0.7;
}

/* Category sections with better spacing */
.category-section {
  background: white;
  border-radius: 0;
  overflow: hidden;
  padding: 0;
}

/* Single product section (categoria com apenas 1 produto) */
.single-product-section {
  background: white;
  border-radius: 0;
  overflow: hidden;
  padding: 0;
}

/* Título para categorias com apenas 1 produto - mesmo estilo das outras categorias */
.single-product-category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  padding: 20px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.01em;
  border-bottom: none;
  background: white;
}

/* Ajustar padding do produto dentro da single-product-section */
.single-product-section .regular-product-card {
  margin: 0;
  padding: 16px;
}

.category-section:last-child,
.single-product-section:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  padding: 20px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.01em;
  border-bottom: none;
  background: white;
}

.category-title span {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6c757d;
  background: white;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

/* Base styles for smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Ajusta o scroll considerando o header fixo */
}

/* Enhanced category navigation */
.category-nav {
  background: white;
  border-bottom: 1px solid #e9ecef;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav-list {
  display: flex;
  gap: 12px;
  padding: 0 16px;
  margin: 0;
  list-style: none;
}

.category-nav-item {
  flex-shrink: 0;
}

.category-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #f8f9fa;
  color: #495057;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #dee2e6;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.category-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color, #ea1d2c) 0%, var(--primary-darker, #d60017) 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.category-nav-link:hover::before,
.category-nav-link.active::before {
  left: 0;
}

.category-nav-link:hover,
.category-nav-link.active {
  color: var(--primary-contrast-color, white);
  border-color: var(--primary-border-accessible-color, var(--primary-color, #ea1d2c));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb, 234, 29, 44), 0.3);
}

/* Enhanced menu header */
.menu-header {
  background: linear-gradient(135deg, #ea1d2c 0%, #d60017 100%);
  color: white;
  padding: 24px 16px 24px;
  text-align: left;
  position: relative;
  margin: 0;
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.2);
  overflow: hidden;
}

.menu-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.menu-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: white;
  position: relative;
  z-index: 1;
}

.menu-header p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 500;
  color: white;
  position: relative;
  z-index: 1;
}

/* Status indicator improvements */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

/* Responsive improvements */
@media (min-width: 640px) {
  .product-card {
    padding: 24px 20px;
    gap: 20px;
  }

  .product-image-container {
    width: 100%;
    height: auto;
  }

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

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

  .product-price {
    font-size: 1.2rem;
  }

  .category-title {
    font-size: 1.4rem;
    padding: 28px 20px 20px;
  }
}

@media (max-width: 480px) {
  .product-card {
    padding: 16px 12px;
    gap: 12px;
  }

  .product-image-container {
    width: 100%;
    height: auto;
  }

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

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

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

  .category-title {
    font-size: 1.2rem;
    padding: 20px 12px 12px;
  }

  .category-nav-link {
  padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* ===== ENHANCED PRODUCT MODAL - LEGACY CODE REMOVED ===== */

/* Legacy product modal CSS removed - using modern-modal classes */

@media (min-width: 768px) {
  .product-modal.active {
    align-items: center;
    padding: 20px;
  }
}

.product-modal-content {
  background: white;
  border-radius: 20px 20px 0 0;
  max-width: 500px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

@media (min-width: 429px) {
  .product-modal-content {
    border-radius: 16px;
    max-height: 90vh;
    transform: translateY(20px) scale(0.95);
  }
}

.product-modal.active .product-modal-content {
  transform: translateY(0);
}

@media (min-width: 429px) {
  .product-modal.active .product-modal-content {
    transform: translateY(0) scale(1);
  }
}

/* ===== LEGACY PRODUCT MODAL STYLES REMOVED ===== */
/* All legacy product-modal-* classes have been removed to avoid conflicts with modern-modal system */

/* ===== ENHANCED CART SYSTEM - IFOOD STYLE ===== */

/* Modern Cart Modal */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
    width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10001;
  display: none;
  opacity: 0;
  transition: all 0.3s ease;
}

.cart-modal.active {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 1;
}

@media (min-width: 429px) {
  .cart-modal.active {
    align-items: center;
  }
}

.cart-modal-content {
  background: white;
  border-radius: 20px 20px 0 0;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
}

@media (min-width: 429px) {
  .cart-modal-content {
    border-radius: 16px;
    max-height: 85vh;
    transform: translateY(20px) scale(0.95);
  }
}

.cart-modal.active .cart-modal-content {
  transform: translateY(0);
}

@media (min-width: 429px) {
  .cart-modal.active .cart-modal-content {
    transform: translateY(0) scale(1);
  }
}

.cart-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.cart-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.02em;
}

.cart-close {
  width: 36px;
  height: 36px;
  background: #f8f9fa;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #6c757d;
}

.cart-close:hover {
  background: #e9ecef;
  color: #495057;
  transform: scale(1.05);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  min-height: 200px;
}

/* ========== NOVO LAYOUT DE CARRINHO - SEM CONFLITOS ========== */

/* Item do carrinho - layout horizontal compacto */
.cart-item-new {
  padding: 16px;
  border-bottom: 1px solid #f1f1f1;
  background: white;
  transition: background 0.2s ease;
}

.cart-item-new:hover {
  background: #fafafa;
}

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

/* Conteúdo principal do item */
.item-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

/* Informações do produto (lado esquerdo) */
.item-info {
  flex: 1;
  margin-right: 16px;
}

.item-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.cart-item-config {
  font-size: 0.85rem;
  color: #666;
  background: #f8f9fa;
  padding: 6px 10px;
  border-radius: 6px;
  margin: 8px 0;
  border-left: 3px solid #ea1d2c;
}

.item-quantity-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.unit-price {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.quantity-x {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

/* Preço total (lado direito) */
.item-total-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ea1d2c;
  white-space: nowrap;
}

/* Controles do item */
.item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

/* Controles de quantidade */
.quantity-controls-new {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid #e9ecef;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: white;
  color: #ea1d2c;
  font-weight: 700;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover:not(:disabled) {
  background: #ea1d2c;
  color: white;
}

.qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-number {
  min-width: 32px;
  text-align: center;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1rem;
}

/* Botão de remover */
.remove-item-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-item-btn i {
  font-size: 1rem;
  line-height: 1;
}

.remove-item-btn:hover {
  background: #dc2626;
  color: white;
  transform: scale(1.05);
}

/* Botão de remover no carrinho lateral */
.remove-item {
  width: 36px;
  height: 36px;
  border: none;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-item i {
  font-size: 1rem;
  line-height: 1;
}

.remove-item:hover {
  background: #dc2626;
  color: white;
  transform: scale(1.05);
}

/* Sobrescrever qualquer CSS antigo */
.cart-body .cart-item-new {
  padding: 16px !important;
  border-bottom: 1px solid #f1f1f1 !important;
  background: white !important;
  display: block !important;
}

.cart-body .cart-item-new:hover {
  background: #fafafa !important;
}

.cart-body .cart-item-new .item-content {
  display: block !important;
  margin-bottom: 12px !important;
}

.cart-body .cart-item-new .item-controls {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 8px !important;
}

/* ========== FIM DO NOVO LAYOUT DE CARRINHO ========== */

.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  min-height: 200px;
}

.empty-cart-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.6;
}

.empty-cart h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.empty-cart p {
  color: #6c757d;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.cart-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
  background: white;
}

.cart-summary {
  margin-bottom: 16px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 16px;
}

.cart-total span:last-child {
  color: #28a745;
  font-size: 1.3rem;
  font-weight: 700;
}

.checkout-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
  letter-spacing: -0.01em;
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.35);
}

.checkout-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.25);
}

/* Cart items styles - for when cart has products */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

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

.cart-item:hover {
  background: #fafafa;
}

.cart-item-image {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: #f8f9fa;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  justify-content: space-between;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 4px;
}

.cart-quantity-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6c757d;
  font-size: 0.8rem;
}

.cart-quantity-btn:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.cart-quantity-display {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.9rem;
}

.cart-item-remove {
  padding: 4px;
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin-left: 8px;
}

.cart-item-remove:hover {
  background: rgba(220, 53, 69, 0.1);
  transform: scale(1.1);
}

/* Additional Contact Page Styles */
.company-info {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.company-info h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.company-info p {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.company-description p {
  margin-bottom: 12px;
}

.company-description p:last-child {
  margin-bottom: 0;
}

/* Quick Actions */
.quick-actions {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quick-action-card {
  display: flex;
  align-items: center;
  gap: 16px;
    padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.quick-action-card:last-child {
  border-bottom: none;
}

.quick-action-card:hover {
  background: #fafafa;
  transform: translateX(4px);
}

.quick-action-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ea1d2c 0%, #d60017 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  color: white;
}

.quick-action-content {
  flex: 1;
  min-width: 0;
}

.quick-action-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.quick-action-content p {
  font-size: 0.85rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.4;
}

/* Contact specific styling for icons */
.contact-icon.phone .placeholder-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.email .placeholder-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.whatsapp .placeholder-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.schedule .placeholder-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.owner .placeholder-icon {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.info .placeholder-icon {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.menu .placeholder-icon {
  background: linear-gradient(135deg, #ea1d2c, #dc2626);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.orders .placeholder-icon {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

/* Contact page specific grid improvements */
.category-section .products-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

.category-section .products-grid .product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  height: auto;
  padding: 16px 20px;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}

.category-section .products-grid .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  padding-right: 16px;
}

.category-section .products-grid .product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.category-section .products-grid .product-description {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 4px;
  line-height: 1.4;
}

.category-section .products-grid .product-price {
  font-size: 0.85rem;
  color: #ea1d2c;
  font-weight: 600;
  margin: 0;
}

.category-section .products-grid .product-image-container {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  margin: 0;
}

.category-section .products-grid .product-image {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-section .products-grid .placeholder-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Highlight current day in schedule */
.product-card.current-day {
  background: linear-gradient(135deg, rgba(234, 29, 44, 0.05), rgba(234, 29, 44, 0.02));
  border-color: rgba(234, 29, 44, 0.2);
}

.product-card.current-day .product-name {
  color: #ea1d2c;
  font-weight: 600;
}

/* Contact card hover effects */
.product-card.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-card.contact-card:active {
  transform: translateY(0);
}

/* Mobile responsiveness for contact page */
@media (max-width: 768px) {
  .category-section .products-grid .product-card {
    padding: 14px 16px;
    min-height: 72px;
  }

  .category-section .products-grid .product-name {
    font-size: 1rem;
  }

  .category-section .products-grid .product-description {
    font-size: 0.9rem;
  }

  .category-section .products-grid .product-price {
    font-size: 0.8rem;
  }

  .category-section .products-grid .product-image-container {
    width: 100%;
    height: auto;
  }

  .category-section .products-grid .product-image {
    width: 48px;
    height: 48px;
  }

  .category-section .products-grid .placeholder-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
  }
}

/* Contact specific styling for icons */
.contact-icon.phone .placeholder-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.email .placeholder-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.whatsapp .placeholder-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.schedule .placeholder-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.owner .placeholder-icon {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.info .placeholder-icon {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.menu .placeholder-icon {
  background: linear-gradient(135deg, #ea1d2c, #dc2626);
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.contact-icon.orders .placeholder-icon {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  border-radius: 12px;
  padding: 8px;
}


/* ===== MODERN MODAL SYSTEM - REDESIGN COMPLETO ===== */

/* Modal Container */
.modern-modal.product-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  z-index: 10000 !important;
  display: none !important;
  opacity: 0 !important;
  transition: all 0.3s ease !important;
}

.modern-modal.product-modal.active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  padding: 20px !important;
}

.product-page-container {
  padding: 0 0 calc(110px + env(safe-area-inset-bottom));
  height: 100%;
}

.product-page-content {
  margin: 0;
  max-width: none;
  width: 100%;
  padding: 0;
  height: 100%;
}

.modern-modal.product-modal--page {
  position: static !important;
  display: block !important;
  opacity: 1 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  height: 100%;
}

.modern-modal.product-modal--page .product-modal-content {
  max-width: none !important;
  width: 100% !important;
  max-height: calc(100dvh - env(safe-area-inset-bottom)) !important;
  height: 100% !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

@supports not (height: 100dvh) {
  .modern-modal.product-modal--page .product-modal-content {
    max-height: calc(100vh - env(safe-area-inset-bottom)) !important;
  }
}

.modern-modal.product-modal--page .product-modal-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}

@media (min-width: 992px) {
  .modern-modal.product-modal--page .product-modal-header {
    height: 280px !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
  }

  .modern-modal.product-modal--page .product-header-section,
  .modern-modal.product-modal--page .options-section,
  .modern-modal.product-modal--page .product-observation-section,
  .modern-modal.product-modal--page .quantity-section,
  .modern-modal.product-modal--page .modal-bottom-bar {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}

.modern-modal.product-modal--page .product-modal-close {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  z-index: 2 !important;
}

@media (max-width: 768px) {
  .modern-modal.product-modal.active {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .product-page-container {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
    height: 100%;
  }

  .product-page-content {
    padding: 0;
  }

  .modern-modal.product-modal--page .product-modal-content {
    border-radius: 0 !important;
  }

  .modern-modal.product-modal--page .modal-bottom-bar {
    position: static !important;
    bottom: auto !important;
    z-index: auto !important;
    padding-bottom: 16px !important;
    margin-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
    box-shadow: none !important;
  }

  .modern-modal.product-modal--page .product-modal-close {
    top: 10px !important;
    left: 10px !important;
  }
}

/* Modal Content Container */
.modern-modal .product-modal-content {
  background: white !important;
  border-radius: 20px !important;
  max-width: 480px !important;
  width: 100% !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  overflow-x: hidden !important;
  transform: scale(0.9) translateY(20px) !important;
  transition: transform 0.3s ease !important;
  box-sizing: border-box !important;
}

.modern-modal.product-modal.active .product-modal-content {
  transform: scale(1) translateY(0) !important;
}

@media (max-width: 768px) {
  .modern-modal .product-modal-content {
    max-width: none !important;
    width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    transform: translateY(100%) !important;
  }

  .modern-modal.product-modal.active .product-modal-content {
    transform: translateY(0) !important;
  }
}

/* Header com imagem do produto - AGORA SCROLLÁVEL */
.modern-modal .product-modal-header {
  position: relative !important;
  height: 200px !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  overflow: hidden !important;
  margin-bottom: 1rem !important;
  /* Removido flex-shrink: 0 para permitir scroll natural */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
}

.modern-modal .product-modal-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

.modern-modal .product-modal-image-fallback {
  width: 100% !important;
  height: 100% !important;
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 20px !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(30, 58, 138, 0.14), transparent 48%),
    radial-gradient(circle at 80% 25%, rgba(2, 132, 199, 0.14), transparent 52%),
    linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

.modern-modal .product-modal-image-fallback-icon {
  width: 72px !important;
  height: 72px !important;
  border-radius: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.9rem !important;
  margin-bottom: 12px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
}

.modern-modal .product-modal-image-fallback-title {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

.modern-modal .product-modal-image-fallback-text {
  margin: 6px 0 0 !important;
  color: #475569 !important;
  font-size: 0.9rem !important;
}

/* Product Image Zoom Overlay */
.modern-modal .product-modal-header {
  position: relative !important;
  overflow: hidden !important;
}

.modern-modal .product-modal-header:hover .product-modal-image {
  transform: scale(1.02) !important;
}

.modern-modal .product-image-zoom-overlay {
  position: absolute !important;
  bottom: 16px !important;
  right: 16px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  padding: 10px 16px !important;
  border-radius: 30px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #1e293b !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
  opacity: 0 !important;
  transform: translateY(10px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  pointer-events: none !important;
}

.modern-modal .product-modal-header:hover .product-image-zoom-overlay {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.modern-modal .product-image-zoom-overlay svg {
  width: 20px !important;
  height: 20px !important;
  color: #ea1d2c !important;
}

/* Mobile: always show zoom hint */
@media (max-width: 576px) {
  .modern-modal .product-image-zoom-overlay {
    opacity: 1 !important;
    transform: translateY(0) !important;
    bottom: 12px !important;
    right: 12px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
  
  .modern-modal .product-image-zoom-overlay svg {
    width: 18px !important;
    height: 18px !important;
  }
}

.modern-modal .product-modal-close {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  width: 36px !important;
  height: 36px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  border: none !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 10001 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
}

.modern-modal .product-modal-close:hover {
  background: rgba(0, 0, 0, 0.9) !important;
  transform: scale(1.1) !important;
}

/* Área scrollável do conteúdo */
.modern-modal .product-modal-body {
  flex: 1 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 !important;
  background: white !important;
  min-height: 0 !important;
  -webkit-overflow-scrolling: touch !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Header do produto (nome e descrição) */
.modern-modal .product-header-section {
  padding: 24px 24px 16px 24px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.modern-modal .product-name {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

.modern-modal .product-description {
  margin: 0 !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

.modern-modal .description-text {
  color: #64748b !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  white-space: pre-wrap !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

/* Container para os grupos de opções */
.modern-modal .options-section {
  padding: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.modern-modal .product-observation-section {
  padding: 20px 24px !important;
  background: #ffffff !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.modern-modal .product-observation-label {
  font-weight: 600 !important;
  color: #1e293b !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
}

.modern-modal .product-observation-field {
  width: 100% !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 0.95rem !important;
  color: #1f2937 !important;
  resize: vertical !important;
  min-height: 68px !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.modern-modal .product-observation-field:focus {
  border-color: #ea1d2c !important;
  box-shadow: 0 0 0 3px rgba(234, 29, 44, 0.12) !important;
  outline: none !important;
}

.modern-modal .product-observation-hint {
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .modern-modal .product-observation-section {
    padding: 16px 20px !important;
  }
}

/* Estilo para cada grupo de opções */
.modern-modal .option-group {
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.modern-modal .option-group:last-child {
  border-bottom: none !important;
}

/* Header do grupo de opções */
.modern-modal .option-group-title {
  padding: 16px 20px !important;
  background: white !important;
  border-bottom: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.modern-modal .option-group-title div:first-child {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.modern-modal .option-group-validation {
  font-size: 14px !important;
  color: #ea1d2c !important;
  font-weight: 500 !important;
}

.modern-modal .required .option-group-validation {
  color: #ea1d2c !important;
}

/* Badge do tipo de escolha - inline with title */
.modern-modal .choice-type-badge {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-left: 0 !important;
}

.modern-modal .choice-type-badge.single,
.modern-modal .choice-type-badge.single-choice {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
}

.modern-modal .choice-type-badge.multiple,
.modern-modal .choice-type-badge.multiple-choice {
  background: #d1fae5 !important;
  color: #065f46 !important;
}

.modern-modal .choice-type-badge.quantity,
.modern-modal .choice-type-badge.quantity-extras {
  background: #fef3c7 !important;
  color: #92400e !important;
}

.modern-modal .divisible-badge {
  background: #f5f3ff !important;
  color: #6d28d9 !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  padding: 3px 8px !important;
}

.modern-modal .option-group-divisible-hint {
  font-size: 12px !important;
  color: #475569 !important;
  font-weight: 500 !important;
}

/* Container das opções */
.modern-modal .option-group-items {
  padding: 8px 0 !important;
}

/* Item individual da opção - Modern Flat Style */
.modern-modal .option-item {
  position: relative !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 16px 20px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  transition: background-color 0.2s ease !important;
  cursor: pointer !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.modern-modal .option-item:last-child {
  border-bottom: none !important;
}

.modern-modal .option-item:hover {
  background: #f8fafc !important;
}

.modern-modal .option-item.selected {
  background: #fef2f2 !important;
}

/* Label da opção */
.modern-modal .option-label {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
}

.modern-modal .option-thumbnail {
  width: 60px !important;
  height: 60px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #e2e8f0 !important;
  position: relative !important;
  transition: all 0.2s ease !important;
}

.modern-modal .option-thumbnail:hover {
  border-color: #cbd5e1 !important;
}

.modern-modal .option-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Zoom overlay icon */
.modern-modal .option-thumbnail-zoom {
  position: absolute !important;
  bottom: 4px !important;
  right: 4px !important;
  width: 22px !important;
  height: 22px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease !important;
  color: #64748b !important;
  font-size: 11px !important;
}

.modern-modal .option-thumbnail:hover .option-thumbnail-zoom {
  opacity: 1 !important;
}

.modern-modal .option-item.option-has-image .option-text {
  flex: 1 !important;
  min-width: 0 !important;
}

/* Enhanced layout for items with images */
.modern-modal .option-item.option-has-image {
  padding: 14px 20px !important;
}

.modern-modal .option-item.option-has-image .option-label {
  gap: 14px !important;
}

/* Better text layout for image items */
.modern-modal .option-item.option-has-image .option-text span {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  display: block !important;
}

.modern-modal .option-item.option-has-image .option-description {
  font-size: 13px !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin-top: 4px !important;
}

.modern-modal .option-item.option-has-image .option-description.expanded {
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}

.modern-modal .option-item.option-has-image .option-description-toggle {
  display: none; /* shown via JS only when actually clamped */
  font-size: 13px !important;
  font-weight: 400 !important;
  font-style: italic !important;
  color: #64748b !important;
  cursor: pointer;
  margin-top: 2px !important;
  user-select: none;
  opacity: 0.8;
}

/* Price styling for image items */
.modern-modal .option-item.option-has-image .option-price {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #059669 !important;
}

@media (max-width: 576px) {
  /* Base option item responsive */
  .modern-modal .option-item {
    padding: 14px 16px !important;
  }
  
  .modern-modal .option-thumbnail {
    width: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
  }
  
  .modern-modal .option-thumbnail-zoom {
    width: 20px !important;
    height: 20px !important;
  }
  
  .modern-modal .option-item.option-has-image {
    padding: 12px 16px !important;
  }
  
  .modern-modal .option-item.option-has-image .option-label {
    gap: 12px !important;
  }
  
  .modern-modal .option-item.option-has-image .option-text span {
    font-size: 14px !important;
  }
  
  .modern-modal .option-item.option-has-image .option-price {
    font-size: 13px !important;
    padding: 4px 10px !important;
  }

  /* Cards de sabor COM imagem + controles de quantidade: layout em 2 colunas */
  .modern-modal .option-item.quantity-item.option-has-image {
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 12px 14px !important;
  }

  /* Área de info (imagem + nome + preço) ocupa o espaço restante */
  .modern-modal .option-item.quantity-item.option-has-image .option-label {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    align-content: flex-start !important;
    gap: 4px 12px !important;
  }

  /* Imagem: tamanho fixo, alinhada ao topo */
  .modern-modal .option-item.quantity-item.option-has-image .option-thumbnail {
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
    align-self: flex-start !important;
    margin-top: 2px !important;
  }

  /* Nome: ocupa largura restante na primeira linha */
  .modern-modal .option-item.quantity-item.option-has-image .option-text {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    align-self: center !important;
    display: block !important;
  }

  .modern-modal .option-item.quantity-item.option-has-image .option-text span {
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 15px !important;
    display: block !important;
    line-height: 1.3 !important;
  }

  /* Preço: segunda linha, indentado para alinhar com o nome */
  .modern-modal .option-item.quantity-item.option-has-image .option-price {
    flex: 0 0 100% !important;
    padding-left: 64px !important; /* 52px thumb + 12px gap */
    margin: 0 !important;
    font-size: 14px !important;
    width: auto !important;
    align-self: auto !important;
  }

  /* Controles: coluna da direita, centralizados verticalmente */
  .modern-modal .option-item.quantity-item.option-has-image .option-info {
    flex-shrink: 0 !important;
    width: auto !important;
    margin-left: 0 !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Botões menores para caber no espaço */
  .modern-modal .option-item.quantity-item .quantity-controls {
    margin-left: 0 !important;
    gap: 5px !important;
  }

  .modern-modal .option-item.quantity-item .quantity-controls .quantity-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    border-radius: 7px !important;
  }

  .modern-modal .option-item.quantity-item .quantity-controls .quantity-display {
    min-width: 26px !important;
    font-size: 0.95rem !important;
  }
  
  .modern-modal .option-text {
    font-size: 14px !important;
  }
  
  .modern-modal .option-price {
    font-size: 13px !important;
  }
  
  .modern-modal .option-input {
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
  }
}

/* ===== IMAGE LIGHTBOX STYLES ===== */
.option-image-lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.92) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 100000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: lightboxFadeIn 0.3s ease !important;
  padding: 20px !important;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.option-image-lightbox .lightbox-content {
  position: relative !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  animation: lightboxSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes lightboxSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.option-image-lightbox .lightbox-close {
  position: absolute !important;
  top: -50px !important;
  right: -10px !important;
  width: 44px !important;
  height: 44px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50% !important;
  color: white !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  z-index: 10 !important;
}

.option-image-lightbox .lightbox-close:hover {
  background: #ea1d2c !important;
  border-color: #ea1d2c !important;
  transform: rotate(90deg) scale(1.1) !important;
}

.option-image-lightbox .lightbox-image-container {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 200px !important;
}

.option-image-lightbox .lightbox-spinner {
  position: absolute !important;
  width: 48px !important;
  height: 48px !important;
  border: 4px solid rgba(255, 255, 255, 0.2) !important;
  border-top-color: #ea1d2c !important;
  border-radius: 50% !important;
  animation: spin 0.8s linear infinite !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.option-image-lightbox .lightbox-image {
  max-width: 90vw !important;
  max-height: 80vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.option-image-lightbox .lightbox-image.loaded {
  opacity: 1 !important;
}

.option-image-lightbox .lightbox-caption {
  margin-top: 20px !important;
  color: white !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  padding: 10px 24px !important;
  border-radius: 30px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

@media (max-width: 576px) {
  .option-image-lightbox .lightbox-close {
    top: 10px !important;
    right: 10px !important;
    position: fixed !important;
  }
  
  .option-image-lightbox .lightbox-image {
    max-width: 95vw !important;
    max-height: 70vh !important;
    border-radius: 12px !important;
  }
  
  .option-image-lightbox .lightbox-caption {
    font-size: 16px !important;
    padding: 8px 18px !important;
  }
}

/* Input dos radio/checkbox */
.modern-modal .option-input {
  width: 20px !important;
  height: 20px !important;
  margin: 0 12px 0 0 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  appearance: none !important;
  border: 2px solid #d1d5db !important;
  border-radius: 4px !important;
  background: white !important;
  position: relative !important;
  transition: all 0.15s ease !important;
}

.modern-modal .option-input:hover {
  border-color: #9ca3af !important;
}

.modern-modal .option-input[type="radio"] {
  border-radius: 50% !important;
}

.modern-modal .option-input:checked {
  background: #ea1d2c !important;
  border-color: #ea1d2c !important;
}

.modern-modal .option-input[type="checkbox"]:checked::after {
  content: '✓' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: white !important;
  font-size: 13px !important;
  font-weight: bold !important;
}

.modern-modal .option-input[type="radio"]:checked::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 8px !important;
  height: 8px !important;
  background: white !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* Texto da opção */
.modern-modal .option-text {
  flex: 1 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  line-height: 1.4 !important;
}

/* Preço da opção */
.modern-modal .option-price {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #059669 !important;
  flex-shrink: 0 !important;
}

/* ===== PIZZA SPECIFIC STYLES FOR MODERN MODAL ===== */

.modern-modal .pizza-size-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex: 1 !important;
}

.modern-modal .pizza-size-name,
.modern-modal .option-text.pizza-size-name {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.modern-modal .pizza-size-details {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 4px !important;
}

.modern-modal .pizza-flavor-count {
  font-size: 13px !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
}

.modern-modal .pizza-pricing-type {
  display: none !important;
}

/* Espaçamento melhor no label das pizzas */
.modern-modal .pizza-size-item .option-label {
  align-items: center !important;
  gap: 12px !important;
}

/* Pizza size item specific adjustments */
.modern-modal .pizza-size-item {
  padding: 16px 20px !important;
}

.modern-modal .pizza-size-item .option-input {
  margin-right: 0 !important;
}

/* ===== FIM DOS ESTILOS DA PIZZA ===== */

/* Controles de quantidade para extras */
.modern-modal .quantity-controls {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-left: 12px !important;
  flex-shrink: 0 !important;
}

.modern-modal .quantity-controls .quantity-btn {
  width: 40px !important;
  height: 40px !important;
  border: 2px solid #d1d5db !important;
  border-radius: 8px !important;
  background: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  color: #374151 !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.modern-modal .quantity-controls .quantity-btn:hover {
  border-color: #ea1d2c !important;
  color: #ea1d2c !important;
  background: #fff4f4 !important;
  transform: scale(1.05) !important;
  box-shadow: 0 2px 6px rgba(234, 29, 44, 0.2) !important;
}

.modern-modal .quantity-controls .quantity-btn:active {
  transform: scale(0.95) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.modern-modal .quantity-controls .quantity-btn:disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  background: #f9fafb !important;
  border-color: #e5e7eb !important;
  transform: none !important;
}

.modern-modal .quantity-controls .quantity-display {
  min-width: 36px !important;
  text-align: center !important;
  font-weight: 700 !important;
  color: #374151 !important;
  font-size: 1.1rem !important;
}

/* Mobile: Botões MAIORES para facilitar o toque */
@media (max-width: 768px) {
  .modern-modal .quantity-controls {
    gap: 14px !important;
  }

  .modern-modal .quantity-controls .quantity-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.3rem !important;
    border-width: 2px !important;
  }

  .modern-modal .quantity-controls .quantity-display {
    min-width: 42px !important;
    font-size: 1.2rem !important;
  }
}

/* Seção de quantidade global */
.modern-modal .quantity-section {
  padding: 20px 24px !important;
  border-top: 1px solid #f1f5f9 !important;
  background: #fafbfc !important;
}

.modern-modal .section-header h3 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  margin: 0 0 12px 0 !important;
  text-align: center !important;
}

.modern-modal .quantity-controls-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
}

.modern-modal .quantity-controls-container .quantity-btn {
  width: 44px !important;
  height: 44px !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background: white !important;
  color: #64748b !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.modern-modal .quantity-controls-container .quantity-btn:hover {
  border-color: #ea1d2c !important;
  color: #ea1d2c !important;
  background: #fff4f4 !important;
  transform: scale(1.05) !important;
  box-shadow: 0 3px 8px rgba(234, 29, 44, 0.2) !important;
}

.modern-modal .quantity-controls-container .quantity-btn:active {
  transform: scale(0.95) !important;
}

.modern-modal .quantity-controls-container .quantity-btn:disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.modern-modal .quantity-controls-container .quantity-display {
  min-width: 48px !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  text-align: center !important;
}

.modern-modal .quantity-section--weight {
  margin-top: 12px !important;
}

.modern-modal .quantity-section--weight .pdv-weight-field {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  max-width: 280px !important;
  margin: 0 auto !important;
}

.modern-modal .quantity-section--weight .pdv-weight-field:focus-within {
  border-color: #ea1d2c !important;
  box-shadow: 0 0 0 3px rgba(234, 29, 44, 0.12) !important;
}

.modern-modal .quantity-section--weight .pdv-weight-field__input {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  min-width: 0 !important;
  width: 100% !important;
  background: transparent !important;
  color: #1e293b !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 10px 12px !important;
}

.modern-modal .quantity-section--weight .pdv-weight-field__input::-webkit-outer-spin-button,
.modern-modal .quantity-section--weight .pdv-weight-field__input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.modern-modal .quantity-section--weight .pdv-weight-field__unit {
  border-left: 2px solid #e2e8f0 !important;
  color: #475569 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 10px 14px !important;
  background: #f8fafc !important;
}

/* Mobile: Botões de quantidade AINDA MAIORES */
@media (max-width: 768px) {
  .modern-modal .quantity-controls-container .quantity-btn {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.4rem !important;
  }

  .modern-modal .quantity-controls-container .quantity-display {
    min-width: 52px !important;
    font-size: 1.4rem !important;
  }

  .modern-modal .quantity-section--weight .pdv-weight-field {
    max-width: 100% !important;
  }

  .modern-modal .quantity-section--weight .pdv-weight-field__input {
    font-size: 1.2rem !important;
    padding: 12px !important;
  }
}

/* Bottom Bar fixo */
.modern-modal .modal-bottom-bar {
  background: white !important;
  padding: 20px 24px !important;
  border-top: 1px solid #f1f5f9 !important;
  flex-shrink: 0 !important;
}

.modern-modal .total-line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 16px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
}

.modern-modal .total-amount {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #059669 !important;
}

.modern-modal .add-to-cart-btn {
  width: 100% !important;
  background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px !important;
  color: white !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.modern-modal .add-to-cart-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.25) !important;
}

.modern-modal .add-to-cart-btn:active {
  transform: translateY(0) !important;
}

/* Animação de pulso para chamar atenção */
@keyframes pulse-button {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.25);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
  }
}

.modern-modal .add-to-cart-btn.pulse-animation {
  animation: pulse-button 0.6s ease-in-out 2 !important;
}

/* Animação para mensagem de validação */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.validation-message {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  margin-top: 12px !important;
  border: 2px solid #fca5a5 !important;
  animation: shake 0.5s ease, slideIn 0.3s ease !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.validation-message::before {
  content: '⚠️' !important;
  font-size: 1.1rem !important;
}

.validation-message.error {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border-color: #fca5a5 !important;
}

/* Versão Mobile */
@media (max-width: 768px) {
  .modern-modal .product-modal-header {
    height: 160px !important;
  }

  .modern-modal .product-header-section {
    padding: 20px 20px 12px 20px !important;
  }

  .modern-modal .product-name {
    font-size: 1.3rem !important;
  }

  .modern-modal .option-group-title {
    padding: 16px 20px 8px 20px !important;
  }

  .modern-modal .option-label {
    padding: 0px 0px !important;
  }

  .modern-modal .quantity-section {
    padding: 16px 20px !important;
  }

  .modern-modal .modal-bottom-bar {
    padding: 16px 20px !important;
  }

  /* Botões de opção maiores em mobile */
  .modern-modal .option-input {
    width: 28px !important;
    height: 28px !important;
    margin-right: 14px !important;
  }

  .modern-modal .option-text {
    font-size: 16px !important;
  }

  .modern-modal .option-price {
    font-size: 16px !important;
  }

  /* Aumentar área de toque dos itens */
  .modern-modal .option-item {
    padding: 18px 20px !important;
    min-height: 64px !important;
  }
}

/* ===== PRODUTOS DESTACADOS E PROMOÇÕES ===== */

/* Produtos Destacados - Layout Especial */
.featured-products-section {
  margin-bottom: 32px !important;
  padding: 0 16px !important;
}

.featured-products-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 20px !important;
  padding: 0 16px !important;
  text-align: center !important;
  position: relative !important;
}

.featured-products-title::after {
  content: '' !important;
  position: absolute !important;
  bottom: -8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 60px !important;
  height: 3px !important;
  background: var(--primary-gradient, linear-gradient(135deg, #ea1d2c, #dc2626)) !important;
  border-radius: 2px !important;
}

/* Container para produtos em destaque com scroll horizontal */
.featured-products-section {
  position: relative !important;
  margin-bottom: 24px !important;
}

.featured-products-grid {
  display: flex !important;
  overflow-x: auto !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
  padding: 0 16px 8px 16px !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
}

/* Recent orders */
.recent-orders-section {
  padding: 14px 16px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.recent-orders-wrapper {
  margin: 24px 0 0;
}

.menu-loyalty-progress-section {
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.menu-loyalty-progress-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.menu-loyalty-progress-section__kicker {
  margin: 0;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-loyalty-progress-section__counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.menu-loyalty-progress-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}

.menu-loyalty-progress-card {
  width: 100%;
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  font-family: var(--font-primary);
}

.menu-loyalty-progress-card__hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-loyalty-progress-card__status-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #166534;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-loyalty-progress-card__title {
  margin: 0;
  color: #0f172a;
  font-family: var(--font-primary);
  font-size: clamp(1.05rem, 2vw, 1.7rem);
  font-weight: 900;
  line-height: 1.15;
}

.menu-loyalty-progress-card__subtitle {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.menu-loyalty-progress-card__highlight {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.45;
}

.menu-loyalty-progress-card__redeem-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(226, 232, 240, 0.92);
}

.menu-loyalty-progress-card__redeem-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.menu-loyalty-progress-card__redeem-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.menu-loyalty-progress-card__redeem-title {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.menu-loyalty-progress-card__redeem-expiry {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
}

.menu-loyalty-progress-card__redeem-helper {
  margin: 0;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.55;
}

.menu-loyalty-progress-card__redeem-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.menu-loyalty-progress-card__redeem-actions--stacked {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.menu-loyalty-progress-card__selector {
  width: 100%;
}

.menu-loyalty-progress-card__selector .loyalty-reward-product-picker {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.menu-loyalty-progress-card__selector .loyalty-reward-product-picker__label {
  margin-bottom: 6px;
  font-size: 0.78rem;
  color: #64748b;
}

.menu-loyalty-progress-card__selector .loyalty-reward-product-picker__select {
  min-height: 48px;
  border-radius: 14px;
  font-size: 0.94rem;
}

.menu-loyalty-progress-card__redeem-button {
  width: auto;
  min-width: 208px;
  min-height: 48px;
  border: none;
  border-radius: 16px;
  padding: 12px 20px;
  background: linear-gradient(180deg, #ff6a1a 0%, #f04a23 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(240, 74, 35, 0.18);
  transition: box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.menu-loyalty-progress-card__redeem-actions--stacked .menu-loyalty-progress-card__redeem-button {
  width: 100%;
  min-width: 0;
}

.menu-loyalty-progress-card__redeem-button:hover {
  filter: saturate(1.03);
  box-shadow: 0 10px 22px rgba(240, 74, 35, 0.2);
}

.menu-loyalty-progress-card__redeem-button:active {
  filter: saturate(0.98);
}

.menu-loyalty-progress-card__redeem-button.is-selected {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  box-shadow: 0 14px 26px rgba(34, 197, 94, 0.2);
}

.menu-loyalty-progress-card__redeem-button.is-browse-action,
.menu-loyalty-progress-card__redeem-button.is-browse-action:hover {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fdba74;
  box-shadow: none;
  filter: none;
}

.menu-loyalty-progress-card__pending {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f5f7f;
  font-size: 0.85rem;
  font-weight: 600;
}

.menu-loyalty-progress-card__pending i {
  flex-shrink: 0;
  margin-top: 2px;
  color: #0284c7;
}

.menu-loyalty-progress-card__pending span {
  line-height: 1.5;
}

.menu-loyalty-progress-card__progress-box {
  margin-top: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.menu-loyalty-progress-card__progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.menu-loyalty-progress-card__progress-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}

.menu-loyalty-progress-card__progress-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 6px 12px rgba(34, 197, 94, 0.18);
  flex-shrink: 0;
}

.menu-loyalty-progress-card__progress-icon i {
  font-size: 0.72rem;
  line-height: 1;
}

.menu-loyalty-progress-card__progress-percent {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.menu-loyalty-progress-card__bar {
  position: relative;
  margin-top: 14px;
  height: 8px;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: 999px;
}

.menu-loyalty-progress-card__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.menu-loyalty-progress-card__summary-line {
  margin: 16px 0 0;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  .menu-loyalty-progress-section {
    padding: 14px;
  }

  .menu-loyalty-progress-section__header {
    margin-bottom: 12px;
  }

  .menu-loyalty-progress-card {
    padding: 16px;
  }

  .menu-loyalty-progress-card__highlight {
    padding: 12px 14px;
    font-size: 0.92rem;
  }

  .menu-loyalty-progress-card__redeem-box {
    gap: 12px;
    padding-top: 12px;
  }

  .menu-loyalty-progress-card__redeem-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .menu-loyalty-progress-card__redeem-button {
    width: 100%;
    min-width: 0;
  }

  .menu-loyalty-progress-card__progress-box {
    padding: 14px;
  }
}

.recent-orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.recent-orders-kicker {
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0;
  color: #64748b;
}

.recent-orders-title {
  margin: 4px 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.recent-orders-body {
  position: relative;
}

.recent-orders-empty {
  text-align: center;
  padding: 32px 16px;
  color: #94a3b8;
  background: #f8fafc;
  border-radius: 16px;
  border: 2px dashed #e2e8f0;
}

.recent-orders-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.recent-orders-empty-text {
  margin: 0;
  font-weight: 500;
}

.recent-orders-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 8px;
}

/* Hide scrollbar but keep functionality */
.recent-orders-list::-webkit-scrollbar {
  display: none;
}

.recent-orders-list {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.recent-order-card {
  flex: 0 0 auto;
  width: 158px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  scroll-snap-align: start;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.recent-order-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  opacity: 0.75;
}

.recent-order-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.14);
  border-color: #cbd5f5;
}

.recent-order-card:active {
  transform: translateY(-2px);
}

.recent-order-header {
  margin-bottom: 8px;
}

.recent-order-info {
  flex: 1;
  min-width: 0;
}

.recent-order-number {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  color: #0f172a;
  margin-bottom: 1px;
}

.recent-order-date {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-order-items-preview {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.35;
  margin-bottom: 10px;
  min-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-order-more {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 6px;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.recent-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.recent-order-total {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
}

.recent-order-repeat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .recent-order-card {
    width: 176px;
    padding: 14px;
  }
}

.recent-order-card:hover .recent-order-repeat-icon {
  transform: rotate(180deg);
}

/* Modal */
.recent-order-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.recent-order-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
}

.recent-order-modal-content {
  position: relative;
  max-width: 520px;
  margin: 40px auto;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  z-index: 1;
}

.recent-order-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.recent-order-modal-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 700;
}

.recent-order-modal-title {
  margin: 2px 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

.recent-order-modal-date {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.recent-order-modal-close {
  border: none;
  background: #f8fafc;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  color: #0f172a;
}

.recent-order-modal-body {
  max-height: 420px;
  overflow-y: auto;
  padding: 8px 4px 12px;
}

.recent-order-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.recent-order-item-card:last-child {
  margin-bottom: 0;
}

.recent-order-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.recent-order-item-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  flex: 1;
}

.recent-order-item-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.recent-order-item-quantity {
  font-weight: 500;
}

.recent-order-item-price {
  font-weight: 700;
  color: #0f172a;
  font-size: 1rem;
}

.recent-order-item-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.recent-order-item-badge.available {
  background: #d1fae5;
  color: #065f46;
}

.recent-order-item-badge.unavailable {
  background: #fee2e2;
  color: #991b1b;
}

.recent-order-item-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.recent-order-item-section:first-of-type {
  margin-top: 12px;
}

.recent-order-item-section-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.recent-order-item-section-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recent-order-option-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
}

.option-bullet,
.option-quantity {
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
}

.option-name {
  flex: 1;
}

.option-price {
  color: #16a34a;
  font-weight: 600;
  white-space: nowrap;
}

.recent-order-modal-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
  margin-top: 6px;
}

.recent-order-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.recent-order-repeat-btn {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border-radius: 12px;
  padding: 12px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.recent-order-repeat-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.recent-order-repeat-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.28);
}

@media (max-width: 640px) {
  .recent-order-card {
    width: 160px;
  }

  .recent-orders-title {
    font-size: 1.25rem;
  }

  .recent-order-modal-content {
    margin: 24px 12px;
  }
}

/* Esconder scrollbar no Chrome/Safari */
.featured-products-grid::-webkit-scrollbar {
  display: none !important;
}

/* Gradient fade no final para indicar que há mais itens */
.featured-products-section::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 32px !important;
  height: calc(100% - 20px) !important;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  border-radius: 0 8px 8px 0 !important;
}

.featured-product-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
  border-radius: 35px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  width: 240px !important;
  border: 1px #f1e6e6 solid;
}

.featured-product-card:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.06) !important;
  border-color: var(--primary-color, #ea1d2c) !important;
}

.featured-product-image {
  width: 100% !important;
  height: 120px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  margin-bottom: 10px !important;
  background: #f1f5f9 !important;
}

.featured-product-content {
  padding: 14px !important;
}

/* Simplificação para produtos em destaque sem descrição */
.featured-product-content.no-description .featured-product-name {
  margin-bottom: 8px !important;
}

.featured-product-name {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}

.featured-product-description {
  font-size: 0.95rem !important;
  color: #64748b !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.featured-product-price {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  margin-bottom: 12px !important;
}

/* Badges de Promoção */
.promotion-badge {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  z-index: 10 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.promotion-badge-discount {
  background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
  color: white !important;
}

.promotion-badge-featured {
  background: var(--primary-gradient, linear-gradient(135deg, #ea1d2c, #dc2626)) !important;
  color: white !important;
}

/* Badge integrado ao conteúdo do card — chip compacto */
.regular-product-content .promotion-badge {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start !important;
  padding: 2px 7px !important;
  border-radius: 3px !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.7px !important;
  z-index: auto !important;
  box-shadow: none !important;
  top: auto !important;
  right: auto !important;
  line-height: 1.6 !important;
}

.regular-product-content .promotion-badge-discount {
  background: #dc2626 !important;
  color: white !important;
}

.regular-product-content .promotion-badge-featured {
  background: var(--primary-color, #ea1d2c) !important;
  color: white !important;
}

/* Preços com Desconto - Layout Melhorado */
.price-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 4px !important;
  text-align: right !important;
}

.original-price {
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  font-weight: 500 !important;
  order: 1 !important;
}

.promotional-price {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #e74c3c !important;
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05)) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(231, 76, 60, 0.2) !important;
  order: 2 !important;
  position: relative !important;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.15) !important;
  margin-left: 3px !important;
}

@keyframes fire-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Adicionar indicador visual de economia */
.promotional-price::after {
  content: attr(data-discount) !important;
  position: absolute !important;
  top: -8px !important;
  right: -8px !important;
  background: #16a34a !important;
  color: white !important;
  font-size: 0.7rem !important;
  padding: 2px 6px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 4px rgba(22, 163, 74, 0.3) !important;
}

.regular-price {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
}

/* Produtos Regulares - Layout em Grid */
.regular-products-section {
  padding: 0 !important;
}

.products-grid.regular-products-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  background: white !important;
}

.regular-product-card {
  background: white !important;
  border-radius: 0 !important;
  padding: 16px !important;
  border: none !important;
  border-bottom: 1px solid #f0f0f0 !important;
  box-shadow: none !important;
  transition: background 0.15s ease !important;
  cursor: pointer !important;
  position: relative !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 12px !important;
  min-height: 110px !important;
}

.regular-product-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 16px !important;
  width: 100% !important;
  min-height: 100px !important;
}

.regular-product-image {
  width: 110px !important;
  height: 110px !important;
  min-height: 110px !important;
  max-width: 110px !important;
  flex-shrink: 0 !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  background: #f8f9fa !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

/* Container da imagem para layout horizontal */
.regular-product-layout .product-image-container {
  flex-shrink: 0 !important;
  width: 110px !important;
  height: 110px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: #f8f9fa !important;
  position: relative !important;
}

/* Zoom button on product card image */
.product-card-zoom-btn {
  position: absolute !important;
  bottom: 6px !important;
  right: 6px !important;
  width: 28px !important;
  height: 28px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: none !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  opacity: 0 !important;
  transform: scale(0.8) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  z-index: 5 !important;
  color: #ea1d2c !important;
}

.regular-product-layout .product-image-container:hover .product-card-zoom-btn {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.product-card-zoom-btn:hover {
  background: #ea1d2c !important;
  color: white !important;
  transform: scale(1.1) !important;
}

.product-card-zoom-btn:active {
  transform: scale(0.95) !important;
}

/* On mobile, always show the zoom button */
@media (max-width: 576px) {
  .product-card-zoom-btn {
    opacity: 1 !important;
    transform: scale(1) !important;
    width: 26px !important;
    height: 26px !important;
    bottom: 4px !important;
    right: 4px !important;
  }
}

.regular-product-image.placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
  border: 2px dashed #cbd5e1 !important;
  border-radius: 12px !important;
}

.regular-product-image.placeholder .placeholder-icon {
  font-size: 2.5rem !important;
  color: #94a3b8 !important;
  opacity: 0.6 !important;
}

.regular-product-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  gap: 4px !important;
  padding-right: 4px !important;
  height: 100% !important;
}

/* Quando não há descrição, centraliza verticalmente e remove o gap causado pelo margin-top: auto do preço */
.regular-product-content.no-description {
  gap: 4px !important;
  justify-content: center !important;
}

.regular-product-content.no-description .regular-product-price {
  margin-top: 4px !important;
}

.regular-product-card:hover {
  background: #fafafa !important;
  transform: none !important;
  box-shadow: none !important;
  border-color: #f0f0f0 !important;
}

.regular-product-card:last-child {
  border-bottom: none !important;
}

/* Destaque sutil para produtos em promoção */
.regular-product-card.on-promotion {
  position: relative !important;
}

.pizza-product-origin-name {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  margin: 0 0 2px 0 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.regular-product-name {
  font-size: 0.97rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.regular-product-description {
  font-size: 0.82rem !important;
  color: #6b7280 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.regular-product-price {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
  text-align: left !important;
  margin-top: auto !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  position: static !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
  display: block !important;
  width: auto !important;
}

/* Linha de preço promocional — original riscado + novo na mesma linha */
.regular-product-price .product-price-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.regular-product-price .original-price {
  font-size: 0.77rem !important;
  color: #9ca3af !important;
  text-decoration: line-through !important;
  font-weight: 500 !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  display: inline !important;
  margin: 0 !important;
}

.regular-product-price .promotional-price {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  display: inline !important;
}

/* Prefixo "A partir de" */
.regular-product-price .price-prefix,
.regular-product-price .promotional-price .price-prefix {
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  margin-right: 2px !important;
}

/* Reset leve nos filhos do preço */
.regular-product-price .product-price-row * {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Preço regular sem promoção */
.regular-product-price .regular-price {
  color: #111827 !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline !important;
}

/* Estilo para o texto "A partir de" - menor que o preço */
.price-prefix {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  margin-right: 4px !important;
}

/* Responsividade para produtos em destaque */
@media (max-width: 768px) {
  .featured-products-grid {
    gap: 10px !important;
    padding: 0 12px 6px 12px !important;
  }

  .featured-product-card {
    width: 200px !important;
  }

  .featured-product-image {
    height: 120px !important;
    margin-bottom: 10px !important;
  }

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

  .featured-product-description {
    font-size: 0.9rem !important;
    margin-bottom: 10px !important;
  }

  .featured-product-price {
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
  }
}

@media (max-width: 480px) {
  .featured-products-grid {
    gap: 16px !important;
    padding: 0 8px 4px 8px !important;
  }

  .featured-product-card {
    width: 220px !important;
  }

  .featured-product-image {
    height: 135px !important;
    margin-bottom: 8px !important;
  }

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

  .featured-product-description {
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
  }

  .featured-product-price {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }
}

/* Responsividade para produtos */
@media (max-width: 768px) {
  .products-grid.regular-products-section {
    gap: 8px !important;
    padding: 15px 15px !important;
    margin-bottom: 20px !important;
  }

  .regular-product-card {
    padding: 12px !important;
    gap: 10px !important;
    min-height: 90px !important;
  }

  .regular-product-layout .product-image-container {
    width: 100px !important;
    height: 100px !important;
  }

  .regular-product-image {
    width: 100px !important;
    height: 100px !important;
    min-height: 100px !important;
  }

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

  .regular-product-description {
    font-size: 0.9rem !important;
  }

  .regular-product-price {
    font-size: 1.1rem !important;
    text-align: left !important;
  }

  .regular-product-image.placeholder .placeholder-icon {
    font-size: 2.2rem !important;
  }
}

@media (max-width: 480px) {
  .products-grid.regular-products-section {
    gap: 6px !important;
    padding: 0 !important;
  }

  .regular-product-card {
    padding: 12px !important;
    gap: 8px !important;
    min-height: 85px !important;
  }

  .regular-product-layout .product-image-container {
    width: 95px !important;
    height: 95px !important;
  }

  .regular-product-image {
    width: 95px !important;
    height: 95px !important;
    min-height: 95px !important;
  }

  .regular-product-name {
    font-size: 0.9rem !important;
  }

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

  .regular-product-price {
    font-size: 1rem !important;
    text-align: left !important;
  }

  .regular-product-image.placeholder .placeholder-icon {
    font-size: 2rem !important;
  }
}

/* ===== MELHORIAS ESPECÍFICAS PARA LAYOUT DO CARDÁPIO ===== */

/* Melhoria no container geral dos produtos */
.product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.product-card:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(26, 26, 26, 0.1) !important;
}

/* Layout responsivo melhorado */
@media (max-width: 768px) {
  .price-container {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .promotional-price {
    font-size: 1.1rem !important;
  }

  .original-price {
    font-size: 0.8rem !important;
  }

  .regular-price {
    font-size: 1.1rem !important;
  }
}

/* ===== PRODUTOS INDISPONÍVEIS - ESTILOS APRIMORADOS ===== */

/* Modern Checkout Button */
.modern-checkout-btn {
  width: 100% !important;
  padding: 18px 24px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  color: white !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.25) !important;
}

.modern-checkout-btn:before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.5s !important;
}

.modern-checkout-btn:hover:before {
  left: 100% !important;
}

.modern-checkout-btn:hover {
  background: linear-gradient(135deg, #218838 0%, #1aa179 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(40, 167, 69, 0.35) !important;
}

.modern-checkout-btn:active {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.25) !important;
}

.modern-checkout-btn:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* ========== CHECKOUT MODERNO - MESMO PADRÃO DO CARRINHO ========== */

/* Container principal do checkout */
.checkout-summary {
  background: white;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid #f1f1f1;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Header do resumo do pedido */
.checkout-summary h3 {
  background: #f8f9fa;
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ========================================
   ITENS DO CHECKOUT - MODELO IFOOD
   Cards separados para cada produto
   ======================================== */

/* Card individual do produto */
.checkout-item-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

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

/* Header: Foto à esquerda + Info à direita */
.checkout-item-card__header {
  display: flex;
  gap: 12px;
}

/* Imagem do produto - grande e quadrada */
.checkout-item-card__image {
  width: 100px;
  height: 100px;
  min-width: 100px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
}

.checkout-item-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.75rem;
}

/* Info do produto */
.checkout-item-card__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.checkout-item-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 4px;
}

.checkout-item-card__serving {
  display: inline-block;
  font-size: 0.75rem;
  color: #666;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 8px;
}

/* Linha do preço + controles de quantidade */
.checkout-item-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.checkout-item-card__price {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.checkout-item-card__price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.checkout-item-card__unit-price {
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
}

.checkout-item-card__reward-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 4px 12px;
  line-height: 1.2;
}

.checkout-item-card__reward-label::before {
  content: "🎁";
  font-size: 1rem;
}

/* Container das ações (qty + remover) */
.checkout-item-card__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout-item-card__qty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3e8ff;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: 999px;
  min-width: 52px;
}

/* Controles de quantidade - estilo pílula roxa */
.checkout-item-card__qty-controls {
  display: flex;
  align-items: center;
  background: #f3e8ff;
  border-radius: 20px;
  overflow: hidden;
}

.checkout-item-card__qty-controls--duplicate {
  gap: 6px;
  padding: 4px 4px 4px 12px;
}

.checkout-item-card__qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #7c3aed;
  font-size: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  padding: 0;
  line-height: 1;
}

.checkout-item-card__qty-btn--duplicate {
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  flex-shrink: 0;
}

.checkout-item-card__qty-btn:hover:not(:disabled) {
  background: #ede9fe;
}

.checkout-item-card__qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.checkout-item-card__qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
}

.checkout-item-card__qty-fixed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
  line-height: 1;
}

/* Botão de remover */
.checkout-item-card__remove-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  padding: 0;
}

.checkout-item-card__remove-btn:hover {
  background: #fecaca;
}

.checkout-item-card__remove-btn i {
  font-size: 1rem;
}

/* ========================================
   Seção de configurações/complementos
   ======================================== */

.checkout-item-card__configs {
  margin-top: 12px;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}

/* Grupo de configuração */
.checkout-item-card__configs .config-group {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.checkout-item-card__configs .config-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checkout-item-card__configs .config-group:first-child {
  padding-top: 0;
}

.checkout-item-card__configs .config-group-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.checkout-item-card__configs .config-group-item {
  font-size: 0.875rem;
  color: #3d3d3d;
  line-height: 1.5;
}

.checkout-item-card__configs .config-item {
  font-size: 0.875rem;
  color: #3d3d3d;
  line-height: 1.5;
}

/* Nota de fidelidade */
.checkout-item-card__configs .fidelity-reward-note {
  font-size: 0.875rem;
  color: #16a34a;
  font-style: italic;
}

.checkout-item-card--promotion-applied {
  border-color: #bbf7d0;
}

.checkout-item-card__promotion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.checkout-item-card__promotion--pending {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.checkout-item-card__promotion--applied {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.checkout-item-card__promotion-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
}

.checkout-item-card__promotion-text {
  flex: 1;
  min-width: 180px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.checkout-item-card__promotion-discount {
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Promotion reward item (auto-added free items) */
.checkout-item-card--promotion-reward {
  border-color: #a7f3d0;
  background: #f0fdf4;
}

.checkout-item-card__reward-label--promo {
  color: #065f46;
  background: #d1fae5;
}

.checkout-item-card__reward-label--promo::before {
  content: none;
}

/* Quantity promotion info badge (no pending/applied states) */
.checkout-item-card__promotion--info {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

/* Dine-in promotion reward styling */
.cart-item-new--promotion-reward {
  border-color: #a7f3d0;
  background: #f0fdf4;
}

.cart-item-new--promotion-reward .item-reward-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #065f46;
  background: #d1fae5;
  border-radius: 999px;
  padding: 4px 12px;
  margin-top: 4px;
}

.cart-item-new--promotion-reward .qty-number--fixed {
  font-weight: 600;
  padding: 0 8px;
}

/* Dine-in fidelity reward styling */
.cart-item-new--fidelity-reward {
  border-color: #fecaca;
  background: linear-gradient(135deg, #fff7ed, #fff1f2);
}

.cart-item-new--fidelity-reward .item-name {
  color: #9f1239;
}

.cart-item-new--fidelity-reward .item-total-price {
  color: #16a34a;
  font-weight: 700;
}

.cart-item-new--fidelity-reward .item-reward-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9f1239;
  background: #ffe4e6;
  border-radius: 999px;
  padding: 4px 12px;
  margin-top: 4px;
}

.cart-item-new--fidelity-reward .qty-number--fixed {
  font-weight: 600;
  padding: 0 8px;
}

/* Product modal quantity promotion badge */
.quantity-promo-badge-modal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 8px 16px 0;
}

.quantity-promo-status-modal {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.quantity-promo-status-modal--pending {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.quantity-promo-status-modal--applied {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.checkout-item-card__observation {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #f0f0f0;
  display: flex;
  gap: 6px;
  align-items: baseline;
  font-size: 0.875rem;
  color: #1f2937;
}

.checkout-item-card__observation-label {
  font-weight: 600;
  color: #6b7280;
}

.checkout-item-card__observation-text {
  color: #111827;
  word-break: break-word;
}

/* ========================================
   RESPONSIVIDADE MOBILE - Checkout Items
   ======================================== */

@media (max-width: 480px) {
  .checkout-item-card {
    padding: 12px;
  }
  
  .checkout-item-card__image,
  .checkout-item-card__image--placeholder {
    width: 80px;
    height: 80px;
    min-width: 80px;
  }
  
  .checkout-item-card__name {
    font-size: 0.95rem;
  }

  .checkout-item-card__promotion {
    padding: 10px;
  }

  .checkout-item-card__promotion-text {
    min-width: 0;
  }
  
  .checkout-item-card__price {
    font-size: 0.95rem;
  }

  .checkout-item-card__unit-price {
    font-size: 0.76rem;
  }
  
  .checkout-item-card__qty-btn {
    width: 32px;
    height: 32px;
  }
}

/* ========================================
   COMPATIBILIDADE - Classes antigas
   ======================================== */

/* Layout do conteúdo do item - DEPRECATED */
.checkout-summary .item-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.checkout-summary .item-info {
  flex: 1;
  margin-right: 20px;
}

.checkout-summary .item-total-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ea1d2c;
  white-space: nowrap;
  line-height: 1.2;
}

/* Controles do item no checkout */
.checkout-summary .item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px; /* Espaçamento adicional para separar dos preços */
}

.checkout-summary .quantity-controls-new {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 6px; /* Aumentado de 4px para 6px */
  border: 1px solid #e9ecef;
}

.checkout-summary .qty-btn {
  width: 36px; /* Aumentado de 32px para 36px */
  height: 36px; /* Aumentado de 32px para 36px */
  border: none;
  background: white;
  color: #ea1d2c;
  font-weight: 700;
  font-size: 18px; /* Aumentado de 16px para 18px */
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-summary .qty-btn:hover:not(:disabled) {
  background: #ea1d2c;
  color: white;
  transform: scale(1.05); /* Pequeno efeito de hover */
}

.checkout-summary .qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.checkout-summary .qty-number {
  min-width: 40px; /* Aumentado de 32px para 40px */
  text-align: center;
  font-weight: 700; /* Aumentado de 600 para 700 */
  color: #1a1a1a;
  font-size: 1.1rem; /* Aumentado de 1rem para 1.1rem */
  padding: 0 8px; /* Padding adicional */
}

.checkout-summary .remove-item-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-summary .remove-item-btn i {
  font-size: 1rem;
  line-height: 1;
}

.checkout-summary .remove-item-btn:hover {
  background: #dc2626;
  color: white;
  transform: scale(1.05);
}

/* Totais do pedido */
.order-total-section {
  background: #f8f9fa;
  padding: 24px 20px; /* Aumentado padding vertical */
  border-top: 1px solid #f1f1f1;
  border-radius: 0 0 12px 12px; /* Adicionar border-radius na parte inferior */
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0; /* Aumentado de 8px para 10px */
  font-size: 1rem; /* Aumentado de 0.9rem para 1rem */
  color: #666;
}

/* Estilo específico para linha de desconto */
.price-line .discount-value {
  color: #28a745;
  font-weight: 600;
  font-size: 1.05rem;
}

.price-line span:last-child {
  font-weight: 600; /* Tornar todos os preços mais destacados */
  font-size: 1.05rem; /* Preços ligeiramente maiores */
}

.price-line:last-child {
  border-top: 2px solid #ea1d2c; /* Border vermelho para destacar mais */
  padding-top: 20px; /* Aumentado de 16px para 20px */
  margin-top: 16px; /* Aumentado de 12px para 16px */
}

.price-line.total {
  font-size: 1.1rem; /* Voltando ao tamanho normal do texto "Total" */
  font-weight: 700;
  color: #1a1a1a;
}

.total-amount {
  color: #ea1d2c;
  font-weight: 800; /* Mantém ultra-bold */
  font-size: 1.8rem; /* Aumentado ainda mais - foco no VALOR */
  text-shadow: 0 1px 2px rgba(234, 29, 44, 0.1); /* Sombra sutil para destaque */
}

/* ========== FORMULÁRIO DE CHECKOUT MODERNO ========== */

/* Container do formulário */
.checkout-form-container {
  background: white;
  border-radius: 12px;
  border: 1px solid #f1f1f1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

/* Grid do formulário */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-group.full-width {
    grid-column: 1 / -1;
  }

  /* Checkout moderno usa 1 coluna mesmo em desktop */
  .checkout-form-modern.form-grid {
    grid-template-columns: 1fr;
  }
}

/* Grupos de formulário */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.form-input {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #ea1d2c;
  box-shadow: 0 0 0 3px rgba(234, 29, 44, 0.1);
}

/* Nova UI compacta para tipo de pedido */
.order-type-selector {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .order-type-selector {
    flex-direction: column;
    gap: 8px;
  }
}

@media (min-width: 769px) {
  .order-type-selector {
    flex-wrap: wrap;
  }

  .order-type-option:nth-child(3) {
    flex: 1 1 100%;
    margin-top: 8px;
  }
}

.order-type-option {
  cursor: pointer;
  flex: 1;
}

/* Esconder os radio buttons mas manter a funcionalidade */
.order-type-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

.order-type-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  transition: all 0.2s ease;
  min-height: 60px;
}

.order-type-option input[type="radio"]:checked + .order-type-pill {
  border-color: #ea1d2c;
  background: #fef2f2;
  box-shadow: 0 2px 8px rgba(234, 29, 44, 0.1);
}

.order-type-pill:hover {
  border-color: #ea1d2c;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(234, 29, 44, 0.1);
}

.order-type-pill i {
  font-size: 1.5rem;
  color: #6b7280;
  transition: color 0.2s ease;
  min-width: 24px;
}

.order-type-option input[type="radio"]:checked + .order-type-pill i {
  color: #ea1d2c;
}

.option-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.option-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
}

.option-time {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.order-type-option input[type="radio"]:checked + .order-type-pill .option-time {
  color: #ea1d2c;
}

.scheduling-mode-selector {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.scheduling-mode-option {
  flex: 1;
  min-width: 200px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  font-weight: 600;
  color: #1f2937;
}

.scheduling-mode-option input[type="radio"] {
  width: 18px;
  height: 18px;
}

.scheduling-mode-option span {
  flex: 1;
  font-size: 0.95rem;
}

.scheduling-mode-option:hover {
  border-color: #ea1d2c;
  box-shadow: 0 2px 8px rgba(234, 29, 44, 0.1);
}

.scheduling-mode-option input[type="radio"]:checked + span {
  color: #ea1d2c;
}


.scheduling-fields {
  margin-top: 10px !important;
}

.scheduling-fields .form-group{
  margin-top: 16px !important;
}

.scheduling-fields .form-input {
  width: 100%;
}

.scheduling-fields .text-muted {
  font-size: 0.85rem;
}

/* Responsivo para mobile */
@media (max-width: 480px) {
  .order-type-selector {
    flex-direction: column;
    gap: 8px;
  }

  .order-type-option:nth-child(3) {
    flex: 1;
    margin-top: 0;
  }

  .order-type-pill {
    padding: 10px 12px;
    gap: 10px;
    min-height: 52px;
  }

  .order-type-pill i {
    font-size: 1.3rem;
  }

  .option-title {
    font-size: 0.9rem;
  }

  .option-time {
    font-size: 0.75rem;
  }

  .scheduling-mode-selector {
    flex-direction: column;
    gap: 8px;
  }

  .scheduling-mode-option {
    min-width: unset;
    padding: 10px 12px;
    gap: 10px;
  }
}

/* Manter compatibilidade com estilos antigos mas com menor especificidade */
.order-type-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.order-type-option {
  cursor: pointer;
}

.order-type-card {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.2s ease;
  background: white;
}

.order-type-option input[type="radio"]:checked + .order-type-card {
  border-color: #ea1d2c;
  background: #fef2f2;
}

.order-type-card:hover {
  border-color: #ea1d2c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.1);
}

.order-type-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.order-type-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px 0;
}

.order-type-content p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* Estilos para informações de tempo no checkout */
.order-type-card .delivery-time-info {
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(234, 29, 44, 0.08);
  border: 1px solid rgba(234, 29, 44, 0.15);
  border-radius: 12px;
  color: #ea1d2c;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.order-type-card .delivery-time-info:hover {
  background: rgba(234, 29, 44, 0.12);
  border-color: rgba(234, 29, 44, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(234, 29, 44, 0.15);
}

.order-type-card .delivery-time-info i {
  font-size: 0.9rem;
  opacity: 0.9;
  color: #ea1d2c;
}

.order-type-card .delivery-time-info span {
  color: #ea1d2c;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Responsivo para dispositivos móveis */
@media (max-width: 768px) {
  .order-type-card .delivery-time-info {
    margin-top: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 10px;
  }

  .order-type-card .delivery-time-info i {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .order-type-card .delivery-time-info {
    margin-top: 8px;
    padding: 5px 10px;
    font-size: 0.75rem;
    border-radius: 8px;
  }

  .order-type-card .delivery-time-info i {
    font-size: 0.75rem;
  }
}

/* Seção de entrega */
.delivery-section {
  margin-top: 0; /* Remove margin-top pois o gap do form-grid já cuida do espaçamento */
  padding-top: 24px;
  border-top: 1px solid #f1f1f1;
  display: flex;
  flex-direction: column;
  gap: 32px !important; /* Aumentado para 32px com !important para força maior */
}

/* Garantir que delivery-section seja tratada como um form-group normal */
.form-grid > .delivery-section {
  margin: 0; /* Reset margins - o gap do form-grid cuida do espaçamento */
}

/* Subgrupos dentro da delivery section */
.form-subgroup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 !important; /* Force reset margins */
  padding: 0 !important; /* Force reset padding */
}

/* Garantir espaçamento específico entre subgrupos de delivery */
.delivery-section .form-subgroup + .form-subgroup {
  margin-top: 32px !important; /* Força espaçamento entre Endereço e Bairro */
}

.delivery-section .delivery-address-group {
  margin-bottom: 24px !important;
}

/* Garantir que labels e inputs dentro da delivery section também tenham espaçamento adequado */
.delivery-section .form-label {
  margin-bottom: 8px !important;
}

.delivery-section .form-input {
  margin-bottom: 0 !important;
}

/* Espaçamento específico para a info de taxa de entrega */
.delivery-fee-info {
  margin-top: 20px !important;
  margin-bottom: 12px !important;
}

/* Botão de submit moderno */
.btn-fullwidth {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #ea1d2c 0%, #d60017 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.3);
  margin-top: 24px;
}

.btn-fullwidth:hover {
  background: linear-gradient(135deg, #d60017 0%, #b8001a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(234, 29, 44, 0.4);
}

.btn-fullwidth:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(234, 29, 44, 0.3);
}

/* Estado de loading */
.btn-fullwidth:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ========== FIM DO CHECKOUT MODERNO ========== */

/* Modern Header for Checkout */
.modern-header {
  background: var(--primary-gradient, linear-gradient(135deg, #ea1d2c, #dc2626)) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  position: relative !important;
}

.modern-header::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
  pointer-events: none !important;
}

/* ===== PRODUTOS INDISPONÍVEIS - ESTILOS APRIMORADOS ===== */

/* Efeito de desbotamento e sobreposição para produtos indisponíveis */
.product-card.unavailable {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
  border: 1px solid #dee2e6 !important;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

.product-card.unavailable:hover {
  transform: none !important;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Badge de produto indisponível no nome */
.unavailable-badge {
  margin-left: 6px;
  font-size: 0.875rem;
  opacity: 0.8;
  animation: bounce-sleep 3s infinite;
}

@keyframes bounce-sleep {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-2px);
  }
  75% {
    transform: translateY(-1px);
  }
}

/* Texto de preço indisponível */
.price-unavailable {
  color: #6b7280;
  font-style: italic;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
}

.price-unavailable::before {
  content: "⚠️";
  margin-right: 4px;
  font-size: 0.75rem;
}

/* Estilo para o nome do produto indisponível */
.product-card.unavailable .product-name {
  color: #6b7280 !important;
  opacity: 0.8;
}

/* Estilo para a descrição do produto indisponível */
.product-card.unavailable .product-description {
  color: #9ca3af !important;
  opacity: 0.7;
}

/* Efeito especial quando passa o mouse sobre produto indisponível */
.product-card.unavailable::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(156, 163, 175, 0.1) 2px,
    rgba(156, 163, 175, 0.1) 4px
  );
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

/* Estilo responsivo para mobile */
@media (max-width: 768px) {
  .unavailable-badge {
    font-size: 0.8rem;
    margin-left: 4px;
  }

  .price-unavailable {
    font-size: 0.8rem;
  }
}

/* Garantir que produtos indisponíveis não sejam clicáveis */
.product-card.unavailable {
  pointer-events: auto;
}

.product-card.unavailable:active {
  transform: none !important;
}

/* Estilo adicional para deixar ainda mais claro que está indisponível */
.product-card.unavailable .product-image {
  filter: grayscale(50%) brightness(0.8);
}

.product-card.unavailable .product-image.placeholder {
  background: #e5e7eb;
  color: #9ca3af;
}
/* Product Modal Validation Styles */

/* Disabled option styling */
.option-item.option-disabled {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.option-item.option-disabled .option-label {
  color: #999;
  text-decoration: line-through;
}

.option-item.option-disabled .option-price {
  color: #999;
}

/* Disabled button styling */
.quantity-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: #f5f5f5;
  border-color: #ddd;
  color: #999;
}

.quantity-btn:disabled:hover {
  background-color: #f5f5f5;
  border-color: #ddd;
  transform: none;
}

/* Disabled input styling */
.option-item input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Group limit indicator */
.option-group[data-limit-reached="true"] .group-header::after {
  content: " (limite atingido)";
  color: #dc3545;
  font-size: 0.8em;
  font-weight: normal;
}

/* Validation feedback */
.validation-feedback {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.9em;
}

.validation-feedback.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.validation-feedback.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

/* Validation messages per group */
.validation-message {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.85em;
  display: none;
}

.validation-message.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* Group selection counter */
.group-selection-counter {
  font-size: 0.8em;
  color: #666;
  margin-left: 8px;
}

.group-selection-counter.at-limit {
  color: #dc3545;
  font-weight: bold;
}

.group-selection-counter.valid {
  color: #28a745;
}

/* Modern Header Styling */
.menu-header.modern-header {
  background: var(--primary-gradient, linear-gradient(135deg, #ea1d2c, #ff6b35)) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
  border-radius: 0 0 24px 24px !important;
  padding: 32px 20px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.menu-header.modern-header::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%) !important;
  pointer-events: none !important;
}

.menu-header.modern-header h1 {
  color: white !important;
  font-weight: 800 !important;
  font-size: 1.75rem !important;
  margin: 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  z-index: 1 !important;
}

.menu-header.modern-header .menu-description {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1rem !important;
  margin: 12px 0 0 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

.menu-header.modern-header .status-indicator {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 25px !important;
  padding: 8px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 768px) {
  .menu-header.modern-header {
    padding: 24px 16px !important;
    border-radius: 0 0 20px 20px !important;
  }

  .menu-header.modern-header h1 {
    font-size: 1.5rem !important;
  }

  .menu-header.modern-header .menu-description {
    font-size: 0.9rem !important;
  }
}

/* Modern Contact Page Styles */

/* Contact Page Container */
.contact-page {
  background: #f8fafc;
  min-height: 100vh;
}

@supports (height: 100dvh) {
  @media (max-width: 768px) {
    .contact-page,
    .digital-menu-disabled {
      min-height: 100dvh;
    }
  }
}

/* Contact Header */
.contact-header {
  position: relative;
  padding: 20px 16px 32px;
  color: white;
  overflow: hidden;
}

.contact-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.contact-header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
}

.back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  font-size: 14px;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}

.back-button svg {
  width: 20px;
  height: 20px;
}

.back-button span {
  font-size: 14px;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .back-button {
    padding: 6px 12px !important;
    font-size: 13px !important;
    top: 16px !important;
    left: 16px !important;
  }

  .back-button svg {
    width: 18px !important;
    height: 18px !important;
  }

  .back-button span {
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  .back-button {
    padding: 6px 10px !important;
    top: 12px !important;
    left: 12px !important;
  }
}

.company-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.header-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-text {
  flex: 1;
}

.header-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-open,
.status-closed {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.open {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6), 0 0 0 2px rgba(34, 197, 94, 0.3);
}

.status-dot.closed {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6), 0 0 0 2px rgba(239, 68, 68, 0.3);
}

/* Contact Content */
.contact-content {
  padding: 0 16px 80px;
  max-width: 100%;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 16px 0;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  padding: 20px;
  background: white;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}

.contact-method:active {
  transform: translateY(0);
}

.method-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.method-icon.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
}

.method-icon.phone {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.method-icon.email {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

/* Garantir que todos os ícones tenham o mesmo tamanho */
.method-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Estilos específicos para botão WhatsApp */
button.contact-method {
  background: white !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  text-align: left !important;
}

button.contact-method:hover {
  background: white !important;
}

.method-content {
  flex: 1;
}

.method-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
}

.method-content p {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 6px 0;
}

.method-value {
  font-size: 16px;
  font-weight: 500;
  color: #374151;
}

.method-arrow {
  color: #9ca3af;
  margin-left: 12px;
}

.address-section {
  margin-bottom: 32px;
}

.address-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.address-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.address-info p {
  margin: 0 0 12px 0;
  color: #4b5563;
  line-height: 1.6;
}

.address-info {
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
}

.address-label {
  font-weight: 600;
  color: #111827;
  margin-right: 4px;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
}

.maps-link::after {
  content: '\2197';
  font-size: 14px;
}

.maps-link:hover {
  text-decoration: underline;
}

.address-map {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.address-map .map-container {
  width: 100%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

/* Checkout customer address map */
#customer-address-map {
  height: 260px;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-top: 12px;
}

.customer-map-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-map-viewport {
  position: relative;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
  transition: max-height 0.2s ease-in-out;
}

.customer-map-viewport.is-hidden {
  border: 1px dashed #d1d5db;
  background: #f9fafb;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
}

.customer-map-viewport.is-hidden #customer-address-map {
  display: none;
}

.customer-map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px dashed #d1d5db;
  color: #374151;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  z-index: 2;
  transition: opacity 0.2s ease-in-out;
}

.customer-map-viewport.is-hidden .customer-map-overlay {
  position: static;
  border: none;
  background: transparent;
  padding: 0;
  color: #374151;
}

.customer-map-overlay strong {
  display: block;
  margin-bottom: 6px;
}

.customer-map-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.customer-map-loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  z-index: 3;
}

.customer-map-loading.is-visible {
  display: flex;
}

.customer-map-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #e5e7eb;
  border-top-color: #ea1d2c;
  animation: customer-map-spin 0.8s linear infinite;
}

@keyframes customer-map-spin {
  to {
    transform: rotate(360deg);
  }
}

.customer-map-hint {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: -4px;
  margin-bottom: 12px;
}

.customer-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.map-delivery-fee-card {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: #fff;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.map-delivery-fee-card.is-unavailable {
  border-color: rgba(239, 68, 68, 0.4);
  background: #fff1f2;
  box-shadow: 0 15px 35px rgba(185, 28, 28, 0.12);
}

.map-delivery-fee-card .map-delivery-fee-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #bfdbfe, #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #2563eb;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.map-delivery-fee-card.is-unavailable .map-delivery-fee-icon {
  background: linear-gradient(135deg, #fecaca, #fee2e2);
  color: #be123c;
  box-shadow: inset 0 0 0 1px rgba(190, 18, 60, 0.2);
}

.map-delivery-fee-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.map-delivery-fee-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}

.map-delivery-fee-card.is-unavailable .map-delivery-fee-label,
.map-delivery-fee-card.is-unavailable .map-delivery-fee-value {
  color: #b91c1c;
}

.map-delivery-fee-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
}

.custom-marker {
  background: transparent;
  border: none;
}

.map-marker {
  position: relative;
  width: 44px;
  height: 44px;
}

.map-marker__pin {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  position: relative;
}

.map-marker__pin::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: inherit;
  border-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: inherit;
}

.custom-marker--customer .map-marker__pin {
  border: 3px solid rgba(59, 130, 246, 0.3);
}

.custom-marker--company .map-marker__pin {
  border: 3px solid rgba(234, 88, 12, 0.3);
}

.map-marker__pin i {
  font-size: 1.4rem;
  color: #2563eb;
}

.custom-marker--company .map-marker__pin i {
  color: #ea580c;
}

.map-marker__shadow {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 28px;
  height: 8px;
  background: rgba(15, 23, 42, 0.3);
  border-radius: 50%;
  filter: blur(4px);
}

.customer-map-btn {
  flex: 1;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.customer-map-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}

.customer-map-btn:active {
  background: #f3f4f6;
  transform: scale(0.98);
}

.customer-map-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.customer-map-status {
  display: none;
  font-size: 0.85rem;
  border-radius: 8px;
  padding: 8px 12px;
}

.customer-location-helper {
  font-size: 0.85rem;
  color: #6b7280;
}

@media (max-width: 640px) {
  #customer-address-map {
    height: 220px;
  }

  .customer-map-actions {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .customer-map-btn {
    min-width: 0;
    padding: 10px 12px;
    font-size: 0.9rem;
    white-space: nowrap;
  }
}

.map-status.is-visible {
  display: block;
}

.map-status[data-status-type="info"] {
  background: transparent;
  border: none;
}

.map-status[data-status-type="success"] {
  background: transparent;
  border: none;
}

.map-status[data-status-type="warning"] {
  background: transparent;
  border: none;
}

.map-status[data-status-type="error"] {
  background: transparent;
  border: none;
}

.map-hint {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

.public-map-marker__wrapper {
  background: #ef4444;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

@media (min-width: 992px) {
  .address-card {
    flex-direction: column;
  }

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

/* Hours Section */
.hours-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hours-status {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.status-indicator.open {
  color: #166534;
  font-weight: 600;
}

.status-indicator.closed {
  color: #dc2626;
  font-weight: 600;
}

.status-indicator .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.status-indicator.open .status-dot {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3), 0 2px 4px rgba(34, 197, 94, 0.2);
  animation: pulse-green 2s infinite;
}

.status-indicator.closed .status-dot {
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hours-schedule-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hours-schedule-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hours-schedule-section + .hours-schedule-section {
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}

.hours-schedule-section__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.hours-schedule-groups {
  display: grid;
  gap: 14px;
}

.hours-schedule-group {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  background: #fcfcfd;
}

.hours-schedule-group__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hours-schedule-group--delivery .hours-schedule-group__header {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
}

.hours-schedule-group--takeout .hours-schedule-group__header {
  border-color: #fde68a;
  background: linear-gradient(135deg, #fff7d6 0%, #fffdf5 100%);
}

.hours-schedule-group__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.01em;
}

.hours-schedule-group__note {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #6b7280;
}

.hours-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.hours-chip--open {
  background: #dcfce7;
  color: #166534;
}

.hours-chip--closed {
  background: #fee2e2;
  color: #b91c1c;
}

.hours-chip--scheduled {
  background: #e0f2fe;
  color: #075985;
}

.hours-list--grouped {
  gap: 8px;
}

.hour-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.hour-item.today {
  background: #fef3c7;
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #fbbf24;
}

.hour-item.is-closed .hour-time {
  color: #9ca3af;
}

.day-name {
  font-weight: 500;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 8px;
}

.today-badge {
  background: #f59e0b;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

.hour-time {
  font-weight: 500;
  color: #6b7280;
  text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-header {
    padding: 20px 16px 24px;
  }

  .header-title {
    font-size: 20px;
  }

  .contact-content {
    padding: 0 16px 100px;
  }

  .section-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .contact-methods {
    gap: 20px;
  }

  .contact-method {
    padding: 18px 16px;
    margin-bottom: 0;
    flex-direction: row;
    align-items: center;
    min-height: 80px;
  }

  .method-icon {
    width: 48px;
    height: 48px;
    margin-right: 14px;
    flex-shrink: 0;
  }

  .method-content {
    flex: 1;
    min-width: 0;
  }

  .method-content h3 {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .method-content p {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .method-value {
    font-size: 14px;
    word-break: break-all;
  }

  .method-arrow {
    margin-left: 8px;
    flex-shrink: 0;
  }

  .hours-schedule-group {
    padding: 14px;
  }

  .hours-schedule-group__header {
    padding: 12px 14px;
  }

  .hours-schedule-group__header,
  .hour-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .hours-chip {
    white-space: normal;
  }

  .hour-time {
    text-align: left;
  }
}

@media (min-width: 769px) {
  .contact-content {
    margin: 0 auto;
  }

  .contact-section {
    padding: 24px 0;
  }
}

/* ===== DEVELOPMENT PAGE STYLES ===== */
.development-page {
  background: #f8fafc;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.development-header {
  background: linear-gradient(135deg, #ec5649 0%, #e66c62 100%);
  color: white;
  position: relative;
  padding: 20px 16px 32px;
  overflow: hidden;
}

.development-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.development-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.header-logo-container {
  margin-bottom: 24px;
}

.development-logo {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25)) brightness(1.1);
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.status-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
}

.header-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-subtitle {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 100%;
  margin: 0 auto;
}

.development-content {
  padding: 0 16px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

/* Progress Section */
.progress-section {
  padding: 24px 0;
}

.progress-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-label {
  font-weight: 600;
  color: #475569;
  font-size: 16px;
}

.progress-percentage {
  font-weight: 700;
  font-size: 18px;
  color: #ec5649;
}

.progress-bar {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ec5649 0%, #e66c62 100%);
  border-radius: 4px;
  position: relative;
  animation: progressAnimation 2s ease-out;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  animation: progressShine 2s ease-out;
}

@keyframes progressAnimation {
  from {
    width: 0%;
  }
  to {
    width: 75%;
  }
}

@keyframes progressShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Features Section */
.features-section {
  padding: 24px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ec5649 0%, #e66c62 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
}

.feature-icon.menu {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.feature-icon.delivery {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature-icon.analytics {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.feature-icon.payment {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.feature-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.feature-content p {
  color: #64748b;
  line-height: 1.5;
  font-size: 14px;
}

/* Contact Section */
.contact-section {
  padding: 16px 0;
}

.contact-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(136, 13, 30, 0.02) 100%);
  pointer-events: none;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ec5649 0%, #e66c62 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
}

.contact-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.contact-content p {
  color: #64748b;
  margin-bottom: 12px;
  font-size: 16px;
}

.contact-email {
  color: #ec5649;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: #e66c62;
  text-decoration: underline;
}

/* Desktop Responsive Design */
@media (min-width: 769px) {
  .development-header {
    padding: 40px 24px;
  }

  .development-header-content {
    max-width: 800px;
    margin: 0 auto;
  }

  .development-logo {
    width: 120px;
  }

  .header-title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .header-subtitle {
    font-size: 18px;
    max-width: 600px;
  }

  .development-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .progress-card,
  .feature-card,
  .contact-card {
    padding: 24px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Estados dos pedidos */
.status-pending {
  background: #FFB74D;
  color: #1a1a1a;
}

.status-confirmed {
  background: #4CAF50;
  color: white;
}

.status-preparing {
  background: #2196F3;
  color: white;
}

.status-ready {
  background: #9C27B0;
  color: white;
}

.status-delivered {
  background: #607D8B;
  color: white;
}

.status-cancelled {
  background: #F44336;
  color: white;
}

/* Estilos para Header com Imagem de Capa como Background */
.menu-header.premium-header {
  position: relative;
  min-height: 200px;
  background: var(--primary-gradient, linear-gradient(135deg, #ea1d2c, #dc2626));
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
}

/* Botão de voltar estilo app */
.header-back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.header-back-button .back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-back-button .back-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-back-button .back-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-back-button .back-btn svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Header Container - Layout mais compacto */
.menu-header.premium-header .header-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Seção de informações do estabelecimento - layout horizontal centralizado */
.menu-header.premium-header .company-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  width: 100%;
}

/* Logo centralizada */
.menu-header.premium-header .logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.menu-header.premium-header .company-logo {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.9);
  object-fit: cover;
}

/* Detalhes do estabelecimento - layout centralizado */
.menu-header.premium-header .company-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  width: 100%;
}

.menu-header.premium-header .company-name {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: white !important;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* Status info - layout horizontal compacto */
.menu-header.premium-header .status-info {
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.menu-header.premium-header .status-indicator {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-header.premium-header .delivery-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

/* Ações do header - layout com status à esquerda e tempos à direita */
.menu-header.premium-header .header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 0;
}

.menu-header.premium-header .status-side {
  display: flex;
  align-items: center;
}

.menu-header.premium-header .times-side {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-header.premium-header .delivery-time-info,
.menu-header.premium-header .pickup-time-info,
.menu-header.premium-header .status-indicator {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 8px 12px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.menu-header.premium-header .delivery-time-info i,
.menu-header.premium-header .pickup-time-info i {
  font-size: 0.8rem;
}

.menu-header.premium-header .status-indicator .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.menu-header.premium-header .status-indicator.closed .status-dot {
  background: #ef4444;
}

/* Responsivo para dispositivos móveis */
@media (max-width: 768px) {
  .menu-header.premium-header {
    min-height: 160px;
    padding: 12px 16px 60px 16px;
  }

  .premium-header .company-name {
    font-size: 1.6rem !important;
  }

  .premium-header .company-logo {
    width: 60px !important;
    height: 60px !important;
  }

  .menu-header.premium-header .header-actions {
    bottom: 12px;
    left: 16px;
    right: 16px;
  }

  .menu-header.premium-header .delivery-time-info,
  .menu-header.premium-header .pickup-time-info,
  .menu-header.premium-header .status-indicator {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}

  .menu-header.premium-header .header-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .menu-header.premium-header .company-info {
    width: 100%;
  }

  .menu-header.premium-header .company-logo {
    width: 100px;
    height: 100px;
  }

  .menu-header.premium-header .company-name {
    font-size: 1.2rem;
  }

  .menu-header.premium-header .header-actions {
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex-wrap: nowrap;
  }

  .menu-header.premium-header .times-side {
    gap: 6px;
  }

  .menu-header.premium-header .delivery-time-info,
  .menu-header.premium-header .pickup-time-info,
  .menu-header.premium-header .status-indicator {
    font-size: 0.7rem;
    padding: 4px 6px;
  }

/* ========================================
   BOTÃO DE CARRINHO FLUTUANTE GRANDE
======================================== */

.cart-float-button-container {
  position: fixed;
  bottom: 66px; /* Reduzido para ficar mais próximo da navegação */
  left: 12px;
  right: 12px;
  z-index: 998; /* Menor que a navegação mas maior que o conteúdo */
  width: auto;
  max-width: calc(100% - 24px);
  padding: 0;
  pointer-events: none;
  opacity: 0;
  /* Removidas todas as transições e transforms que causavam problemas */
  display: none; /* Inicialmente escondido */
}

/* Ajuste para telas menores manter espaçamento confortável */
@media (max-width: 428px) {
  .cart-float-button-container {
    bottom: 60px;
  }
}

/* Center on larger screens to match app width - igual ao bottom-nav */
@media (min-width: 429px) {
  .cart-float-button-container {
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: 800px !important; /* Mesma largura máxima do bottom-nav */
    right: auto !important;
    width: 100vw !important; /* Largura total disponível */
    padding: 0 12px !important; /* Padding interno para manter as margens */
  }
}

.cart-float-button {
  background: var(--primary-color, #3b82f6);
  border: none;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  width: 100%;
  padding: 18px 24px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  pointer-events: all;
  /* Removida transição que causava problemas */
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  border: none;
}

.cart-float-button::before {
  display: none;
}

/* Removidos todos os efeitos de hover e active que causavam problemas */

.cart-button-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  position: relative;
  z-index: 1;
  width: 100%;
}

.cart-button-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.cart-icon-wrapper svg {
  width: 20px;
  height: 20px;
  color: white;
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff4757;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: countBounce 0.5s ease;
}

.cart-text-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-label {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1;
}

.cart-total-value {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

/* Removidos todos os efeitos de hover que causavam problemas */

@keyframes countBounce {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.cart-button-right {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.cart-action-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

.cart-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cart-arrow svg {
  width: 14px;
  height: 14px;
  color: white;
}

/* Garantir que o conteúdo não fique atrás do botão fixo */
.menu-content {
  padding-bottom: 150px !important;
}

/* Garantir que produtos não fiquem atrás do botão */
.products-grid {
  margin-bottom: 20px !important;
}

.category-section:last-child {
  margin-bottom: 40px !important;
}

/* Remover margem do header */
.menu-header.premium-header {
  margin-top: 0 !important;
}

/* Ajustar a navegação de categorias */
.category-nav {
  margin-top: 0 !important;
}

/* Responsividade para telas maiores - removido pois já está definido acima */
/* @media (min-width: 769px) removido para evitar conflito */

/* Adaptação para telas muito pequenas */
@media (max-width: 320px) {
  .cart-float-button {
    padding: 16px 20px;
    min-height: 60px;
  }

  .cart-button-left {
    gap: 12px;
  }

  .cart-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .cart-icon-wrapper svg {
    width: 18px;
    height: 18px;
  }

  .cart-count-badge {
    top: -4px;
    right: -4px;
    font-size: 0.65rem;
    padding: 2px 5px;
    min-width: 16px;
    height: 16px;
  }

  .cart-label {
    font-size: 0.8rem;
  }

  .cart-total-value {
    font-size: 1.1rem;
  }

  .cart-button-right {
    padding: 10px 14px;
    gap: 10px;
  }

  .cart-action-text {
    font-size: 0.85rem;
  }

  .cart-arrow {
    width: 20px;
    height: 20px;
  }

  .cart-arrow svg {
    width: 12px;
    height: 12px;
  }
}

/* Animação de entrada quando o carrinho é mostrado */
@keyframes cartButtonSlideUp {
  from {
    opacity: 0;
    transform: translateY(100px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animação suave para mudanças de valores */
.cart-count-badge,
.cart-total-value {
  transition: all 0.3s ease;
}

/* Public menu home refresh */
.menu-container {
  --menu-accent: #d62828;
  --menu-accent-strong: #9f1239;
  --menu-ink: #122033;
  --menu-muted: #5f6f84;
  --menu-surface: #f6f7fb;
  --menu-card-border: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(214, 40, 40, 0.08), transparent 28%),
    linear-gradient(180deg, #f5f7fb 0%, #ffffff 220px);
}

.simple-header {
  position: relative;
  min-height: 208px;
  height: auto;
  color: #fff;
  overflow: hidden;
  border-bottom-left-radius: 38px;
  border-bottom-right-radius: 38px;
  box-shadow: 0 20px 38px -28px rgba(15, 23, 42, 0.55);
  isolation: isolate;
}

.simple-header.has-cover-image {
  background-color: #4c1d1d;
}

.simple-header .simple-header-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.simple-header .simple-header-cover-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.simple-header::before {
  content: "";
  position: absolute;
  inset: auto -12% -44% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 72%);
  z-index: 0;
}

.simple-header .header-overlay {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.5) 32%, rgba(15, 23, 42, 0.78) 100%),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 24%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.1) 100%);
}

.simple-header .header-content {
  min-height: 208px;
  height: 100%;
  padding: 16px 16px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.simple-header .header-content::before {
  content: "";
  position: absolute;
  inset: 8px 8px 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.16) 0%, rgba(15, 23, 42, 0.1) 36%, rgba(15, 23, 42, 0) 74%);
  z-index: -1;
  pointer-events: none;
}

.simple-header .header-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.simple-header .header-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.simple-header .back-button,
.simple-header .header-contact-link,
.simple-header .header-location-pill {
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 28px -22px rgba(15, 23, 42, 0.8);
}

.simple-header .back-button {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
}

.simple-header .back-button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.simple-header .header-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: fit-content;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  align-self: flex-start;
}

.simple-header .header-location-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.simple-header .header-location-pill i,
.simple-header .header-contact-link i {
  font-size: 0.9rem;
}

.simple-header .header-copy .header-location-pill i {
  font-size: 0.78rem;
}

.simple-header .header-contact-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  flex-shrink: 0;
}

.simple-header .header-contact-link:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
}

.simple-header .header-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.simple-header .company-logo {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 28px -22px rgba(15, 23, 42, 0.9);
}

.simple-header .company-logo--compact {
  width: 64px;
  height: 64px;
  border-radius: 20px;
}

.simple-header .logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  box-shadow: none;
  border-radius: inherit;
}

.simple-header .header-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: center;
  flex: 1;
}

.simple-header .header-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.simple-header .header-title,
.simple-header .company-name,
.simple-header .custom-message {
  margin: 0;
  color: #fff;
  font-size: clamp(1.42rem, 4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-align: left;
  text-shadow: 0 18px 30px rgba(15, 23, 42, 0.34);
}

.simple-header .header-title--message {
  font-size: clamp(1.18rem, 3.5vw, 1.55rem);
  line-height: 1.15;
}

.simple-header .header-subtitle {
  margin: 0;
  max-width: 38ch;
  color: rgba(255, 250, 250, 0.84);
  font-size: 0.9rem;
  line-height: 1.45;
}

.simple-header .header-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 10px;
  width: 100%;
}

.simple-header .header-info-card,
.simple-header .status-info,
.simple-header .delivery-time,
.simple-header .pickup-time {
  min-width: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 28px -24px rgba(15, 23, 42, 0.95);
  color: #fff;
}

.simple-header .delivery-time,
.simple-header .pickup-time,
.simple-header .status-info .status {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
}

.simple-header .status-info {
  background: rgba(15, 23, 42, 0.28);
}

.simple-header .header-bottom.open .status-info {
  background: linear-gradient(135deg, rgba(17, 94, 89, 0.46), rgba(22, 163, 74, 0.34));
}

.simple-header .header-bottom.closed .status-info {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.54), rgba(120, 53, 15, 0.42));
}

.simple-header .status-info .status {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.simple-header .metric-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.simple-header .metric-icon i {
  font-size: 1.15rem;
  opacity: 0.98;
  line-height: 1;
  display: block;
  width: 1.15em;
  height: 1.15em;
  text-align: center;
  color: #fff;
  transform: none;
}

.simple-header .metric-icon i::before,
.simple-header .header-contact-link i::before,
.simple-header .header-location-pill i::before {
  display: block;
  line-height: 1;
}

.simple-header .status-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.simple-header .status-dot--open {
  background: #22c55e;
}

.simple-header .status-dot--closed {
  background: #f87171;
}

.simple-header .metric-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  align-content: center;
}

.simple-header .metric-label {
  font-size: 0.7rem;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 245, 245, 0.66);
}

.simple-header .metric-value {
  font-size: 0.94rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

.simple-header .status-info .metric-label,
.simple-header .delivery-time .metric-label,
.simple-header .pickup-time .metric-label,
.simple-header .status-info .metric-value,
.simple-header .delivery-time .metric-value,
.simple-header .pickup-time .metric-value {
  display: block;
}

.simple-header .status-info .metric-icon,
.simple-header .delivery-time .metric-icon,
.simple-header .pickup-time .metric-icon {
  align-self: center;
  justify-self: start;
}

.simple-header .delivery-time .metric-icon i,
.simple-header .pickup-time .metric-icon i {
  margin: 0;
}

.simple-header .delivery-time .metric-icon,
.simple-header .pickup-time .metric-icon {
  padding: 0;
}

.simple-header .header-contact-link i {
  font-size: 1.12rem;
}

.menu-search-container {
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
  padding: 0 16px 8px !important;
  margin: -24px 0 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.menu-search-field {
  position: relative;
  z-index: 1;
  gap: 12px !important;
  min-height: 60px;
  padding: 0 18px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 24px 40px -30px rgba(15, 23, 42, 0.42) !important;
}

.menu-search-field:focus-within {
  border-color: rgba(214, 40, 40, 0.34) !important;
  box-shadow: 0 24px 44px -32px rgba(214, 40, 40, 0.38), 0 0 0 4px rgba(214, 40, 40, 0.08) !important;
}

.menu-search-icon {
  color: #64748b !important;
}

.menu-search-input {
  padding: 16px 0 !important;
  font-size: 1rem !important;
  color: var(--menu-ink) !important;
}

.menu-search-input::placeholder {
  color: #8a98ab !important;
}

.menu-search-clear-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 12px !important;
}

.category-nav {
  position: sticky;
  top: 58px;
  z-index: 35;
  margin: 2px 0 0;
  border-bottom: none;
  box-shadow: none;
}

.category-nav-list {
  gap: 10px;
  padding: 0 16px 2px;
}

.category-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.94);
  color: #425466;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 14px 24px -22px rgba(15, 23, 42, 0.42);
}

.category-nav-link:hover,
.category-nav-link.active,
.category-nav-link.is-active {
  color: var(--primary-contrast-color, #fff);
  background: linear-gradient(135deg, var(--primary-color, #d62828) 0%, var(--primary-darker, #9f1239) 100%);
  border-color: var(--primary-border-accessible-color, transparent);
  box-shadow: 0 18px 28px -22px rgba(var(--primary-rgb, 159, 18, 57), 0.48);
}

.category-focused-header {
  padding: 4px 16px 16px;
}

.category-focused-title {
  color: var(--menu-ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.category-focused-reset {
  background: rgba(var(--primary-rgb, 214, 40, 40), 0.08);
  color: var(--primary-text-accessible-color, var(--primary-color, #d62828));
  border-radius: 999px;
  font-weight: 700;
}

.menu-content {
  padding-bottom: 150px !important;
}

.category-section,
.single-product-section {
  padding: 0 16px;
}

.regular-product-card {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid var(--menu-card-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 34px -30px rgba(15, 23, 42, 0.32);
}

.regular-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 42px -30px rgba(15, 23, 42, 0.36);
}

.regular-product-layout {
  gap: 14px;
}

.regular-product-layout .product-image-container {
  width: 102px;
  min-width: 102px;
  height: 102px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.72);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.regular-product-image.placeholder {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  color: #c0cad7;
}

.regular-product-image.placeholder .placeholder-icon {
  font-size: 1.65rem;
}

.regular-product-name {
  color: var(--menu-ink);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.pizza-product-origin-name {
  color: var(--menu-muted) !important;
}

.regular-product-description {
  margin-top: 8px;
  color: var(--menu-muted);
  line-height: 1.5;
  font-size: 0.98rem;
}

.regular-product-price {
  margin-top: 14px;
}

.regular-product-price,
.regular-product-price span,
.regular-product-price .regular-price,
.regular-product-price .promotional-price {
  color: #0f172a !important;
}

.regular-product-price .price-prefix {
  color: #425466 !important;
}

@media (min-width: 768px) {
  .simple-header {
    min-height: 228px;
  }

  .simple-header .header-content {
    padding: 18px 22px 34px;
  }

  .menu-search-container {
    padding: 0 24px 10px !important;
    margin-top: -28px !important;
  }

  .category-nav {
    top: 72px;
  }

  .category-nav-list,
  .category-focused-header,
  .category-section,
  .single-product-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 480px) {
  .simple-header {
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 34px;
  }

  .simple-header .header-top {
    gap: 10px;
  }

  .simple-header .header-location-pill {
    max-width: calc(100vw - 170px);
    padding: 6px 10px;
    font-size: 0.69rem;
  }

  .simple-header .header-contact-link span {
    display: none;
  }

  .simple-header .header-contact-link {
    width: 40px;
    height: 40px;
  }

  .simple-header .header-main {
    align-items: center;
  }

  .simple-header .company-logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }

  .simple-header .header-subtitle {
    font-size: 0.84rem;
  }

  .simple-header .header-content {
    padding-bottom: 28px;
  }

  .simple-header .header-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simple-header .status-info {
    grid-column: 1 / -1;
  }

  .simple-header .header-info-card,
  .simple-header .status-info,
  .simple-header .delivery-time,
  .simple-header .pickup-time {
    min-height: 60px;
    padding: 12px;
    border-radius: 18px;
  }

  .regular-product-card {
    border-radius: 22px;
  }

  .menu-search-container {
    margin-top: -22px !important;
  }

  .regular-product-layout .product-image-container {
    width: 92px;
    min-width: 92px;
    height: 92px;
    border-radius: 20px;
  }
}

/* Responsividade para telas maiores - REMOVIDO para não conflitar com configuração anterior */
/* A configuração correta está em @media (min-width: 429px) acima */

/* Adaptação para telas muito pequenas */
@media (max-width: 320px) {
  .cart-float-button-container {
    width: calc(100% - 16px);
    padding: 0 8px;
    bottom: 60px;
  }

  .cart-float-button {
    padding: 16px 20px;
    min-height: 60px;
  }

  .cart-button-left {
    gap: 12px;
  }

  .cart-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .cart-icon-wrapper svg {
    width: 18px;
    height: 18px;
  }

  .cart-count-badge {
    top: -4px;
    right: -4px;
    font-size: 0.65rem;
    padding: 2px 5px;
    min-width: 16px;
    height: 16px;
  }

  .cart-label {
    font-size: 0.8rem;
  }

  .cart-total-value {
    font-size: 1.1rem;
  }

  .cart-button-right {
    padding: 10px 14px;
    gap: 10px;
  }

  .cart-action-text {
    font-size: 0.85rem;
  }

  .cart-arrow {
    width: 20px;
    height: 20px;
  }

  .cart-arrow svg {
    width: 12px;
    height: 12px;
  }
}

/* Garantir que o botão não interfira com o scroll */
.menu-content {
  padding-bottom: 150px; /* Espaço para o botão flutuante */
}

/* Melhorar a visibilidade em fundos claros */
.cart-float-button {
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Animação removida - causava efeito de piscar indesejado */

/* Botão adicionar mais itens */
.add-more-items-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  padding: 14px 24px !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

.add-more-items-btn:hover {
  background: #e5e7eb !important;
  border-color: #d1d5db !important;
  color: #111827 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.add-more-items-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .add-more-items-btn {
    padding: 16px 20px !important;
    font-size: 0.95rem !important;
  }
}

/* Enhanced Orders Listing */
.orders-header {
  padding: 24px 20px;
  text-align: center;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0;
}

.orders-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orders-subtitle {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0;
}

.orders-grid {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modern-order-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}

.modern-order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #e5e7eb;
}

.order-card-header {
  padding: 16px 20px 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #f8fafc;
}

.order-number-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.order-date, .order-time {
  font-size: 0.85rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-status .status-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

/* Status Badge Colors with Better Visibility */
.order-status .status-badge.status-pending {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

.order-status .status-badge.status-confirmed {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #3b82f6;
}

.order-status .status-badge.status-preparing {
  background: #e0e7ff;
  color: #4338ca;
  border: 1px solid #6366f1;
}

.order-status .status-badge.status-ready {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.order-status .status-badge.status-delivered {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #22c55e;
}

.order-status .status-badge.status-cancelled {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #ef4444;
}

.order-status .status-badge.status-warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

.order-items-summary {
  padding: 12px 20px;
  background: #f8fafc;
}

.items-count {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.items-preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.item-preview .quantity {
  font-weight: 600;
  color: #6b7280;
  min-width: 24px;
}

.item-preview .name {
  color: #374151;
  flex: 1;
}

.more-items {
  font-size: 0.8rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.order-card-footer {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  background: white;
}

.order-total {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 16px;
}

.total-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.total-label {
  font-size: 0.9rem;
  color: #1f2937;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.total-subtitle {
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.3;
}

.total-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #047857;
  text-align: right;
  line-height: 1;
  white-space: nowrap;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.order-action {
  color: #3b82f6;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.order-card-footer .order-action {
  align-self: stretch;
}

.order-card-footer .btn-outline {
  height: 100%;
  align-items: center;
  display: inline-flex;
  padding: 12px 18px;
}

.modern-order-card:hover .order-action {
  color: #1d4ed8;
}

.modern-order-card.whatsapp-only {
  border-left: 4px solid #22c55e;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.15);
}

.modern-order-card.whatsapp-only .order-card-footer {
  background: #f0fdf4;
}

.modern-order-card.whatsapp-only .order-action .btn-outline {
  border-color: #22c55e;
  color: #047857;
}

.modern-order-card.whatsapp-only .order-action .btn-outline:hover {
  background: #22c55e;
  color: white;
}

@media (max-width: 520px) {
  .order-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .order-total {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .total-value {
    justify-content: flex-start;
    text-align: left;
  }

  .order-card-footer .btn-outline {
    width: 100%;
    justify-content: center;
  }
}

.order-address {
  padding: 12px 20px;
  background: #fffbeb;
  border-top: 1px solid #fef3c7;
  font-size: 0.85rem;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Status colors */
.status-pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-confirmed {
  background-color: #dbeafe;
  color: #1e40af;
}

.status-preparing {
  background-color: #fde68a;
  color: #b45309;
}

.status-ready {
  background-color: #d1fae5;
  color: #047857;
}

.status-delivered {
  background-color: #dcfce7;
  color: #166534;
}

.status-cancelled {
  background-color: #fee2e2;
  color: #dc2626;
}

.status-whatsapp {
  background-color: #dcfce7;
  color: #166534;
}

/* ===== MODAL REDESIGN ===== */

/* Modal Overlay */
#order-detail-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 10000 !important;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

#order-detail-modal.hidden {
  display: none !important;
}

#order-detail-modal.flex {
  display: flex !important;
}

#order-detail-modal .bg-white {
  position: relative !important;
  z-index: 10001 !important;
  max-height: 95vh !important;
  max-width: 900px !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden !important;
}

#order-detail-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 999px;
  padding: 8px 10px;
  z-index: 2;
}

#order-detail-modal .modal-close:hover {
  background: rgba(15, 23, 42, 0.12);
}

#order-detail-modal .modal-close i {
  font-size: 1rem;
}

#order-detail-modal .modal-content {
  padding-top: 0;
}

@media (max-width: 991.98px) {
  .back-button,
  .header-back-button,
  a:has(i.bi-arrow-left),
  button:has(i.bi-arrow-left),
  a:has(i.fa-arrow-left),
  button:has(i.fa-arrow-left),
  a:has(i.fas.fa-arrow-left),
  button:has(i.fas.fa-arrow-left) {
    display: none !important;
  }
}

/* Modal Container */
.modal-order-detail {
  max-height: 95vh;
  overflow-y: auto;
  padding: 0;
}

/* Order Header */
.order-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-info {
  flex: 1;
}

.order-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.order-date {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.order-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.order-status-badge .status-icon {
  font-size: 1.2rem;
}

.order-status-badge .status-text {
  font-size: 0.9rem;
}

/* Status Badge Colors */
.order-status-badge.status-pending { background: #fef3c7; color: #92400e; }
.order-status-badge.status-confirmed { background: #dbeafe; color: #1e40af; }
.order-status-badge.status-preparing { background: #e0e7ff; color: #4338ca; }
.order-status-badge.status-ready { background: #d1fae5; color: #065f46; }
.order-status-badge.status-delivered { background: #dcfce7; color: #166534; }
.order-status-badge.status-cancelled { background: #fee2e2; color: #dc2626; }

/* Section Titles */
.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Order Items Section */
.order-items-section {
  padding: 28px;
  border-bottom: 1px solid #e2e8f0;
}

.items-list {
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: white;
}

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

.item-details {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.item-qty {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 32px;
  text-align: center;
}

.item-name {
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.item-price {
  text-align: right;
}

.item-total {
  font-size: 1rem;
  font-weight: 700;
  color: #059669;
}

/* Order Total Section */
.order-total-section {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  padding: 24px 28px;
  border-bottom: 1px solid #a7f3d0;
}

.total-breakdown {
  max-width: 500px;
  margin: 0 auto;
}

.scheduling-info-section {
  padding: 28px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.scheduling-details {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.15);
}

.subtotal-row, .delivery-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.subtotal-label, .delivery-label {
  font-size: 1rem;
  font-weight: 600;
  color: #065f46;
}

.subtotal-value, .delivery-value {
  font-size: 1rem;
  font-weight: 700;
  color: #059669;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 0 0;
  border-top: 2px solid #059669;
  margin-top: 12px;
}

.total-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: #065f46;
}

.total-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: #059669;
}

/* Delivery Info Section */
.delivery-info-section {
  padding: 28px;
  border-bottom: 1px solid #e2e8f0;
}

.delivery-details {
  background: #f8fafc;
  border-radius: 8px;
  padding: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-label {
  font-weight: 600;
  color: #64748b;
  min-width: 80px;
}

.detail-value {
  font-weight: 600;
  color: #1e293b;
  text-align: right;
  flex: 1;
  word-break: break-word;
  margin-left: 16px;
}

/* Status Info Section */
.status-info-section {
  background: #eff6ff;
  padding: 20px 28px;
  border-bottom: 1px solid #bfdbfe;
}

.status-description {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1e40af;
  font-size: 0.95rem;
  line-height: 1.5;
}

.status-description i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.modal-alert {
  margin: 0 28px 24px 28px;
  padding: 16px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.modal-alert.whatsapp-alert {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #047857;
}

.modal-alert i {
  font-size: 1.4rem;
}

.order-repeat-actions {
  padding: 20px 28px 32px 28px;
  display: flex;
  justify-content: center;
}

.btn-repeat-order {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-repeat-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(59, 130, 246, 0.3);
  color: #ffffff;
}

.btn-repeat-order:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.25);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(34, 197, 94, 0.3);
  color: #ffffff;
}

.btn-whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(34, 197, 94, 0.2);
}

.modal-order-detail.modal-order-whatsapp .order-total-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-bottom-color: #bbf7d0;
}

.modal-order-detail.modal-order-whatsapp .total-value {
  color: #16a34a;
}

/* Modern Order Detail Styles */
.modern-order-detail {
  animation: slideUp 0.3s ease-out;
  padding: 0 !important;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-modern-header {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 0;
  margin: 0;
}

.order-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.order-modern-number {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: white;
  flex: 1;
}

.order-modern-status {
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  flex-shrink: 0;
}

.order-modern-date {
  font-size: 0.9rem;
  opacity: 0.95;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modern-alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.whatsapp-modern-alert {
  background: #dcfce7;
  color: #166534;
  border-left: 3px solid #22c55e;
}

.fidelity-modern-alert {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  flex-direction: column;
  align-items: flex-start;
}

.fidelity-modern-alert strong {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.fidelity-modern-alert p {
  margin: 0;
  opacity: 0.95;
}

.modern-section {
  margin: 0 1.25rem 1.5rem 1.25rem;
}

.modern-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modern-section-title i {
  color: #3b82f6;
  font-size: 1.15rem;
}

.modern-items-list {
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.modern-item {
  background: white;
  padding: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  animation: fadeIn 0.3s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

.modern-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
}

.modern-item-left {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.modern-qty-badge {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.modern-item-info {
  flex: 1;
}

.modern-item-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.modern-item-options {
  margin-top: 0.625rem;
}

.modern-option {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0.25rem;
}

.modern-option i {
  font-size: 0.75rem;
  color: #3b82f6;
}

.option-price {
  color: #10b981;
  font-weight: 600;
  margin-left: 0.35rem;
}

.modern-item-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}

.modern-total-section {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 1.5rem 1.25rem;
  border-radius: 0;
  margin: 0 0 1.5rem 0;
}

.modern-total-breakdown {
  background: white;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
}

.modern-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 0.95rem;
}

.modern-total-row:not(:last-child) {
  border-bottom: 1px solid #f1f5f9;
}

.modern-total-row i {
  margin-right: 0.4rem;
  font-size: 0.9rem;
}

.modern-discount-row {
  color: #10b981;
  font-weight: 600;
}

.modern-total-final {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  padding-top: 1rem;
  margin-top: 0.625rem;
  border-top: 2px solid #3b82f6 !important;
}

.modern-total-final span:last-child {
  color: #3b82f6;
  font-size: 1.4rem;
}

.modern-client-info {
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.modern-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: #475569;
}

.modern-info-row:not(:last-child) {
  border-bottom: 1px solid #e2e8f0;
}

.modern-info-row i {
  color: #3b82f6;
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.modern-notes {
  display: flex;
  gap: 0.875rem;
  padding: 1rem;
  background: #fff7ed;
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  margin-top: 0.875rem;
}

.modern-notes i {
  color: #f59e0b;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.modern-notes strong {
  display: block;
  margin-bottom: 0.375rem;
  color: #92400e;
}

.modern-notes p {
  margin: 0;
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsividade */
@media (max-width: 480px) {
  .order-modern-header {
    padding: 1.25rem;
  }

  .modern-section {
    margin: 0 1rem 1.25rem 1rem;
  }

  .modern-alert {
    margin: 1rem;
    padding: 0.875rem 1rem;
  }

  .modern-item {
    padding: 1rem;
  }

  .modern-qty-badge {
    min-width: 36px;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }

  .modern-item-price {
    font-size: 1rem;
  }

  .modern-total-final span:last-child {
    font-size: 1.25rem;
  }

  .modern-total-section {
    padding: 1.25rem 1rem;
  }
}



/* Modal Responsive Design */
@media (max-width: 768px) {
  #order-detail-modal {
    padding: 12px !important;
  }

  #order-detail-modal .bg-white {
    max-height: 98vh !important;
    border-radius: 12px !important;
  }

  .order-header {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .order-number {
    font-size: 1.3rem;
  }

  .order-items-section,
  .delivery-info-section {
    padding: 20px;
  }

  .order-total-section {
    padding: 20px;
  }

  .total-row {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .total-value {
    font-size: 1.6rem;
  }

  .status-info-section {
    padding: 16px 20px;
  }

  .order-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .item-price {
    align-self: flex-end;
    text-align: right;
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .detail-value {
    text-align: left;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .order-header {
    padding: 16px;
  }

  .order-number {
    font-size: 1.2rem;
  }

  .order-status-badge {
    padding: 8px 12px;
  }

  .order-items-section,
  .delivery-info-section,
  .status-info-section {
    padding: 16px;
  }

  .order-total-section {
    padding: 16px;
  }

  .total-value {
    font-size: 1.4rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .orders-header {
    padding: 20px 16px;
  }

  .orders-grid {
    padding: 12px;
    gap: 10px;
  }

  .order-card-header {
    padding: 14px 16px 10px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .order-card-footer {
    padding: 14px 16px;
  }

  .order-items-summary {
    padding: 10px 16px;
  }

  .order-address {
    padding: 10px 16px;
  }
}


/* ========================================
   CATEGORIAS PAUSADAS - TEMA CLÁSSICO
======================================== */

/* Estilos para categorias pausadas */
.category-paused,
.category-section.category-paused,
.single-product-section.category-paused {
  position: relative;
  opacity: 0.9 !important;
  filter: grayscale(20%);
}

.category-paused::before,
.category-section.category-paused::before,
.single-product-section.category-paused::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  z-index: 1;
  pointer-events: none;
}

.category-status-badge {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-left: 12px;
  vertical-align: middle;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.regular-product-card.category-paused {
  pointer-events: none;
  cursor: not-allowed;
}

.regular-product-card.category-paused:hover {
  transform: none;
  box-shadow: none;
}

/* Estilos para produtos pausados */
.regular-product-card.product-paused {
  position: relative;
  opacity: 0.6 !important;
  filter: grayscale(30%);
  pointer-events: none;
  cursor: not-allowed;
}

.regular-product-card.product-paused::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1;
  pointer-events: none;
}

.regular-product-card.product-paused:hover {
  transform: none;
  box-shadow: none;
}

.product-status-badge {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
}

.category-status-badge--unavailable {
  z-index: 1;
  font-size: 0.9rem !important;
}

/* ===== ESTILOS MODERNOS PARA PREÇOS DOS PRODUTOS ===== */

/* Força remoção de qualquer estilo de badge ou background nos preços */
.regular-product-price span,
.regular-product-price .regular-price,
.price-container span,
.price-container .regular-price,
.promotional-price,
.original-price {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: inline !important;
  position: static !important;
  transform: none !important;
  backdrop-filter: none !important;
  text-shadow: none !important;
}

/* Reset de qualquer classe Bootstrap que possa interferir */
.regular-product-price .badge,
.regular-product-price [class*="bg-"],
.regular-product-price [class*="text-bg-"],
.price-container .badge,
.price-container [class*="bg-"],
.price-container [class*="text-bg-"] {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  display: inline !important;
  box-shadow: none !important;
}

/* Estilo moderno e limpo para preços promocionais */
.price-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  text-align: left !important;
}

.price-container .original-price {
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  font-weight: 500 !important;
}

.price-container .promotional-price {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #dc2626 !important;
}

/* Hover effect mais sutil e moderno para preços */
.regular-product-card:hover .regular-product-price {
  transform: none !important;
  box-shadow: none !important;
  color: #000 !important;
  transition: color 0.3s ease !important;
}

/* ========================================
   CHECKOUT - BOTÃO CONFIRMAR PEDIDO
======================================== */

/* Botão de confirmação dentro do formulário */
.checkout-confirm-btn {
  width: 100% !important;
  background: #198754 !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 18px 24px !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  box-shadow: 0 2px 4px rgba(25, 135, 84, 0.25) !important;
  margin-top: 12px !important;
}

.checkout-confirm-btn:hover {
  background: #157347 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3) !important;
}

.checkout-confirm-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 4px rgba(25, 135, 84, 0.25) !important;
}

.checkout-confirm-btn:disabled {
  background: #9ca3af !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Responsividade */
@media (max-width: 768px) {
  .checkout-confirm-btn {
    font-size: 1rem !important;
    padding: 14px 20px !important;
    margin-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .checkout-confirm-btn {
    font-size: 0.95rem !important;
    padding: 12px 16px !important;
    margin-top: 8px !important;
  }
}

/* ========================================
   CUSTOMER FIDELITY PAGE - Modern Design
   DESABILITADO - Agora usa menu-container padrão
   ======================================== */

/* ESTILOS ANTIGOS COMENTADOS - Página agora usa .menu-container
.customer-fidelity-page {
  padding: 0 0 6rem 0 !important;
  background: #f5f5f5 !important;
  min-height: 100vh !important;
}

.customer-fidelity-page .container {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
}

/* Fidelity Header - Modern gradient style */
/*
.customer-fidelity-page .fidelity-header {
  text-align: center !important;
  margin-bottom: 1.5rem !important;
  padding: 2rem 1.5rem !important;
  background: linear-gradient(135deg, #ea353d 0%, #ef5159 100%) !important;
  border-radius: 0 0 24px 24px !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(234, 53, 61, 0.25) !important;
  margin-left: -1rem !important;
  margin-right: -1rem !important;
}

.customer-fidelity-page .fidelity-header i {
  display: block !important;
  color: white !important;
}

.customer-fidelity-page .fidelity-header h1 {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  margin: 0.5rem 0 !important;
  color: white !important;
}

.customer-fidelity-page .fidelity-header .badge {
  font-size: 0.9rem !important;
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #333 !important;
  border-radius: 20px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.customer-fidelity-page .fidelity-badge {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #1f2937 !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 50px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.customer-fidelity-page .fidelity-badge:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.customer-fidelity-page .fidelity-badge i {
  color: #ea353d !important;
  font-size: 1.1rem !important;
  display: inline-block !important;
}
*/

/* Progress Section - MANTIDO pois ainda é usado */
.menu-container .progress-section {
  background: white !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* Progress Circle - MANTIDO */
.menu-container .progress-circle-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin-bottom: 1.5rem !important;
}

.menu-container .progress-circle {
  position: relative !important;
  margin-bottom: 1rem !important;
}

.menu-container .progress-text {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
}

.menu-container .progress-count {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: #ea353d !important;
  line-height: 1 !important;
  margin-bottom: 0.25rem !important;
}

.menu-container .progress-goal {
  font-size: 1rem !important;
  color: #666 !important;
  font-weight: 500 !important;
}

/* Progress Bar */
.menu-container .progress-bar-container {
  width: 100% !important;
  height: 10px !important;
  background: #e5e7eb !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin-bottom: 0.5rem !important;
}

.menu-container .progress-bar-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #ea353d 0%, #ef5159 100%) !important;
  border-radius: 10px !important;
  transition: width 0.5s ease !important;
}

.menu-container .progress-info {
  text-align: center !important;
  color: #666 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
}

/* Date Info Cards - Removido, usando Bootstrap padrão */

/* No Progress State - Removido, usando Bootstrap padrão */

/* Rewards Section - Removido, usando Bootstrap padrão */

/* Reward Cards - Removido, usando cards Bootstrap padrão */
/*
.customer-fidelity-page .reward-card {
  background: white !important;
  border-radius: 20px !important;
  padding: 1.5rem !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
}

.customer-fidelity-page .reward-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-2px) !important;
}

.customer-fidelity-page .reward-card.completed {
  border: 2px solid #22c55e !important;
  background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%) !important;
}

.customer-fidelity-page .reward-card.redeemed {
  opacity: 0.8 !important;
  border: 1px solid #e5e7eb !important;
  background: #f9fafb !important;
}

.customer-fidelity-page .reward-card h4 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin: 0.5rem 0 !important;
}

.customer-fidelity-page .reward-card h6 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #333 !important;
}

/* Reward Badge */
.customer-fidelity-page .reward-badge {
  display: inline-block !important;
  padding: 0.4rem 0.9rem !important;
  border-radius: 20px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
}

.customer-fidelity-page .reward-badge.completed {
  background: #22c55e !important;
  color: white !important;
}

.customer-fidelity-page .reward-badge.redeemed {
  background: #9ca3af !important;
  color: white !important;
  font-size: 0.9rem !important;
  padding: 0.4rem 0.8rem !important;
}

/* Reward Icon */
.customer-fidelity-page .reward-icon {
  font-size: 1.5rem !important;
  color: #22c55e !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Buttons */
.customer-fidelity-page .btn-primary {
  background: linear-gradient(135deg, #ea353d 0%, #d32329 100%) !important;
  border: none !important;
  padding: 0.9rem 2rem !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(234, 53, 61, 0.25) !important;
  transition: all 0.3s ease !important;
}

.customer-fidelity-page .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(234, 53, 61, 0.35) !important;
}

.customer-fidelity-page .btn-success {
  background: #22c55e !important;
  border: none !important;
  padding: 0.9rem 2rem !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25) !important;
  transition: all 0.3s ease !important;
}

.customer-fidelity-page .btn-success:hover {
  background: #16a34a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35) !important;
}

/* Alerts */
.customer-fidelity-page .alert {
  border-radius: 12px !important;
  padding: 1rem !important;
  border: none !important;
  font-size: 1rem !important;
}

.customer-fidelity-page .alert-success {
  background: #f0fdf4 !important;
  color: #166534 !important;
  border-left: 4px solid #22c55e !important;
}

.customer-fidelity-page .alert-info {
  background: #eff6ff !important;
  color: #1e40af !important;
  border-left: 4px solid #3b82f6 !important;
}

.customer-fidelity-page .alert-warning {
  background: #fffbeb !important;
  color: #92400e !important;
  border-left: 4px solid #f59e0b !important;
}

.customer-fidelity-page .alert h5 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.25rem !important;
}

.customer-fidelity-page .alert strong {
  font-size: 1.1rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .customer-fidelity-page .fidelity-header {
    padding: 1.5rem 1rem !important;
    border-radius: 0 0 20px 20px !important;
  }

  .customer-fidelity-page .fidelity-header h1 {
    font-size: 1.5rem !important;
  }

  .customer-fidelity-page .progress-count {
    font-size: 2.2rem !important;
  }

  .customer-fidelity-page .progress-section,
  .customer-fidelity-page .reward-card {
    padding: 1.25rem !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 480px) {
  .customer-fidelity-page .fidelity-header h1 {
    font-size: 1.3rem !important;
  }

  .customer-fidelity-page .fidelity-header .badge {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.8rem !important;
  }

  .customer-fidelity-page .progress-count {
    font-size: 2rem !important;
  }

  .customer-fidelity-page .btn-primary,
  .customer-fidelity-page .btn-success {
    font-size: 1rem !important;
    padding: 0.8rem 1.5rem !important;
  }

  .customer-fidelity-page .reward-card h4 {
    font-size: 1.1rem !important;
  }
}

/* ========================================
   FIDELITY PAGE - NEW MOBILE-FIRST DESIGN
   ======================================== */

/* Scoped Container - Only affects fidelity content */
.menu-container .fidelity-content {
  background: #f8f9fa;
  min-height: calc(100vh - 60px);
  padding-bottom: 100px !important; /* Garantir espaço para o footer fixo */
}

/* Reward Activated Banner */
.fidelity-reward-activated-banner {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 1.25rem 1rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  border: none;
  position: relative;
  animation: slideInDown 0.5s ease-out;
}

.reward-activated-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reward-activated-icon i {
  font-size: 1.5rem;
}

.reward-activated-content {
  flex: 1;
  min-width: 0;
}

.reward-activated-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.reward-activated-text {
  font-size: 0.9rem;
  opacity: 0.95;
}

.fidelity-reward-activated-banner .btn-close-white {
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

.fidelity-reward-activated-banner .btn-close-white:hover {
  opacity: 1;
}

/* Empty State */
.fidelity-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: white;
  margin: 1rem;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.empty-state-icon {
  margin-bottom: 1.5rem;
  animation: bounceIn 0.6s ease-out;
}

.empty-state-icon i {
  font-size: 4rem;
  color: #ea353d;
  display: inline-block;
}

.fidelity-empty-state h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.empty-state-text {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.empty-state-subtext {
  font-size: 0.95rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}

.empty-state-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.empty-state-actions .btn {
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* Info Card */
.fidelity-info-card {
  background: #198754;
  color: white;
  padding: 1.5rem;
  margin: 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(234, 53, 61, 0.25);
  animation: slideInDown 0.5s ease-out;
}

.info-card-icon {
  text-align: center;
  margin-bottom: 1rem;
}

.info-card-icon i {
  font-size: 2.5rem;
  animation: pulse 2s infinite;
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.info-card-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(10px);
}

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

.info-card-item i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-card-item span {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Login Prompt */
.fidelity-login-prompt {
  text-align: center;
  padding: 3rem 1.5rem;
  background: white;
  margin: 1rem;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.5s ease-out;
}

.login-prompt-icon {
  margin-bottom: 1.5rem;
}

.login-prompt-icon i {
  font-size: 4rem;
  color: #ea353d;
  animation: fadeIn 0.8s ease-in;
}

.fidelity-login-prompt h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.fidelity-login-prompt p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.fidelity-login-prompt .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
}

/* Not Authenticated Message */
.fidelity-not-authenticated {
  padding: 1rem;
  min-height: 400px;
  animation: fadeInUp 0.5s ease-out;
}

.auth-message-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.auth-loading {
  padding: 3rem 1rem;
}

.auth-loading .spinner-border {
  width: 3rem;
  height: 3rem;
}

.auth-loading p {
  color: #6b7280;
  font-size: 1rem;
  margin-top: 1rem;
}

.auth-instructions {
  padding: 1rem;
}

.auth-icon {
  margin-bottom: 1.5rem;
}

.auth-icon i {
  font-size: 4rem;
  color: #10b981;
  animation: fadeIn 0.8s ease-in;
}

.auth-instructions h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.auth-description {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.auth-steps {
  text-align: left;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.auth-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: linear-gradient(to right, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 12px;
  border-left: 3px solid #10b981;
}

.step-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-text {
  color: #065f46;
  font-size: 0.95rem;
  line-height: 1.5;
  padding-top: 0.25rem;
}

.btn-go-to-menu {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-go-to-menu:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
  color: white;
}

.btn-go-to-menu i {
  font-size: 1.25rem;
}

/* Progress Section */
.fidelity-progress-section {
  background: white;
  margin: 1rem;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.6s ease-out;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f3f4f6;
}

.section-title i {
  font-size: 1.4rem;
  color: #198754;
}

/* Animated Progress Circle */
.progress-circle-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.progress-circle-animated {
  position: relative;
  animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.progress-ring {
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 8px rgba(234, 53, 61, 0.3));
}

.progress-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.progress-count-big {
  font-size: 3rem;
  font-weight: 800;
  color: #198754;
  line-height: 1;
  margin-bottom: 0.25rem;
  animation: countUp 1s ease-out;
}

.progress-goal-text {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.progress-percentage {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
}

/* Date Cards */
.date-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.date-card {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 16px;
  text-align: center;
  border: 2px solid #f3f4f6;
  transition: all 0.3s ease;
}

.date-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.date-card-started {
  border-color: #d1fae5;
  background: linear-gradient(135deg, #ecfdf5 0%, #f9fafb 100%);
}

.date-card-expires {
  border-color: #fef3c7;
  background: linear-gradient(135deg, #fffbeb 0%, #f9fafb 100%);
}

.date-card-icon {
  margin-bottom: 0.5rem;
}

.date-card-started .date-card-icon i {
  font-size: 1.5rem;
  color: #10b981;
}

.date-card-expires .date-card-icon i {
  font-size: 1.5rem;
  color: #f59e0b;
  animation: pulse 2s infinite;
}

.date-card-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.date-card-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
}

/* Status Cards */
.status-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  animation: slideInUp 0.6s ease-out;
}

.status-completed {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 2px solid #10b981;
}

.status-progress {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #3b82f6;
}

.status-icon {
  flex-shrink: 0;
}

.status-completed .status-icon i {
  font-size: 2.5rem;
  color: #10b981;
  animation: bounceIn 0.8s ease-out;
}

.status-progress .status-icon i {
  font-size: 2rem;
  color: #3b82f6;
  animation: pulse 2s infinite;
}

.status-content h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.status-content strong {
  font-size: 1.1rem;
  color: #1f2937;
  display: block;
  margin-bottom: 0.25rem;
}

.status-content p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* No Progress States */
.fidelity-no-progress {
  background: white;
  margin: 1rem;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.5s ease-out;
}

.no-progress-success {
  text-align: center;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 2px solid #10b981;
}

.no-progress-success i {
  font-size: 3.5rem;
  color: #10b981;
  display: block;
  margin-bottom: 1rem;
  animation: bounceIn 0.8s ease-out;
}

.no-progress-success h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.no-progress-success p {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.no-progress-success .small-text {
  font-size: 0.875rem;
  color: #6b7280;
}

.fidelity-start-journey {
  text-align: center;
  background: white;
  margin: 1rem;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.5s ease-out;
}

.start-journey-icon {
  margin-bottom: 1.5rem;
}

.start-journey-icon i {
  font-size: 4rem;
  color: #ea353d;
  animation: bounce 2s infinite;
}

.fidelity-start-journey h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.fidelity-start-journey p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.how-it-works-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 1.25rem;
  border-radius: 16px;
  border: 2px solid #3b82f6;
  text-align: left;
}

.how-it-works-box i {
  font-size: 1.5rem;
  color: #3b82f6;
  flex-shrink: 0;
}

.how-it-works-box strong {
  display: block;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.how-it-works-box br {
  margin-bottom: 0.25rem;
}

/* Rewards Section */
.fidelity-rewards-section {
  margin: 1rem;
}

.reward-card {
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  animation: slideInUp 0.6s ease-out;
  transition: all 0.3s ease;
}

.reward-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.reward-available {
  border: 3px solid #10b981;
  background: linear-gradient(145deg, #ecfdf5 0%, #ffffff 100%);
}

.reward-badge-completed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #10b981;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  animation: bounceIn 0.8s ease-out;
}

.reward-icon-large {
  text-align: center;
  margin-bottom: 1rem;
}

.reward-icon-large i {
  font-size: 4rem;
  color: #10b981;
  animation: pulse 2s infinite;
}

.reward-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 0.75rem;
}

.reward-date {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.reward-date i {
  margin-right: 0.25rem;
}

.reward-instructions {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #f0f9ff;
  padding: 1rem;
  border-radius: 12px;
  border: 2px solid #bae6fd;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.reward-instructions i {
  font-size: 1.25rem;
  color: #0284c7;
  flex-shrink: 0;
}

.reward-instructions strong {
  display: block;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.btn-claim-reward {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  margin-bottom: 1rem;
}

.btn-claim-reward:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-claim-reward:active {
  transform: translateY(0);
}

.btn-claim-reward i {
  font-size: 1.2rem;
}

.reward-expiry {
  text-align: center;
  padding: 0.75rem;
  background: #fffbeb;
  border-radius: 12px;
  border: 2px solid #fef3c7;
  color: #92400e;
  font-size: 0.875rem;
  font-weight: 600;
}

.reward-expiry i {
  margin-right: 0.25rem;
}

/* History Section */
.fidelity-history-section {
  margin: 1rem;
}

.history-card {
  background: white;
  padding: 1.25rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease-out;
}

.history-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.history-card-icon {
  flex-shrink: 0;
}

.history-card-icon i {
  font-size: 1.5rem;
  color: #10b981;
}

.history-card-content {
  flex: 1;
}

.history-card-content h6 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.history-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #10b981;
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.history-card-date {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
}

.history-card-date i {
  margin-right: 0.25rem;
}

.history-card-status {
  flex-shrink: 0;
  background: #9ca3af;
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  align-self: center;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .fidelity-content {
    padding: 0 !important;
  }

  .progress-count-big {
    font-size: 2.5rem;
  }

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

  .btn-claim-reward {
    font-size: 1rem;
    padding: 0.875rem;
  }

  .date-info-cards {
    gap: 0.5rem;
  }

  .date-card {
    padding: 0.875rem;
  }
}

/* ========================================
   CUSTOMER ORDERS - MODERN MOBILE DESIGN
   ======================================== */

.order-card-modern {
  background: white;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
}

.order-card-modern:active {
  transform: scale(0.98);
}

/* Header do Card */
.order-card-header-modern {
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.order-main-info {
  flex: 1;
  min-width: 0;
}

.order-number-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.order-number-modern i {
  color: #3b82f6;
  font-size: 1.125rem;
}

.order-date-modern {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #64748b;
}

.order-date-modern i {
  font-size: 0.875rem;
}

.order-context-modern {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #0f172a;
  margin-top: 6px;
}

.order-context-modern i {
  color: #10b981;
  font-size: 0.875rem;
}

.order-status-modern {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.order-status-badge-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.order-status-badge-modern.status-pending,
.order-status-badge-modern.status-confirmed {
  background: #fef3c7;
  color: #92400e;
  border-color: #f59e0b;
}

.order-status-badge-modern.status-preparing {
  background: #e0e7ff;
  color: #4338ca;
  border-color: #6366f1;
}

.order-status-badge-modern.status-ready {
  background: #d1fae5;
  color: #065f46;
  border-color: #10b981;
}

.order-status-badge-modern.status-out_for_delivery {
  background: #dbeafe;
  color: #1e40af;
  border-color: #3b82f6;
}

.order-status-badge-modern.status-delivered {
  background: #dcfce7;
  color: #166534;
  border-color: #22c55e;
}

.order-status-badge-modern.status-cancelled {
  background: #fee2e2;
  color: #dc2626;
  border-color: #ef4444;
}

.status-icon-modern {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}

.status-icon-modern.status-pending {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.status-icon-modern.status-confirmed {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.status-icon-modern.status-preparing {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
}

.status-icon-modern.status-ready {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.status-icon-modern.status-delivering {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.status-icon-modern.status-delivered {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.status-icon-modern.status-cancelled {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

/* Body do Card - Info Rápida */
.order-card-body-modern {
  padding: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.order-fidelity-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.18);
}

.order-fidelity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
}

.order-fidelity-icon i {
  font-size: 1.25rem;
}

.order-fidelity-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-fidelity-title {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.order-fidelity-text {
  font-size: 0.875rem;
  line-height: 1.4;
  opacity: 0.95;
}

.order-quick-summary {
  margin-bottom: 14px;
}

.order-repeat-expanded {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-repeat-expanded .order-repeat-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #1e293b;
}

.order-repeat-expanded .order-repeat-text strong {
  font-size: 0.95rem;
}

.order-repeat-expanded .order-repeat-text span {
  font-size: 0.85rem;
  color: #64748b;
}

.order-repeat-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 16px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid #1d4ed8;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.order-repeat-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.order-repeat-button i {
  font-size: 1.05rem;
}

.order-repeat-button:disabled {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}

.order-repeat-button:disabled i {
  color: #94a3b8;
}

.summary-row-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

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

.label-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.label-modern i {
  font-size: 1rem;
  color: #3b82f6;
}

.value-modern {
  font-size: 0.9375rem;
  color: #1e293b;
  font-weight: 600;
  text-align: right;
}

.value-modern .payment-status-paid {
  display: block;
  margin-top: 4px;
  color: #16a34a;
  font-size: 0.8125rem;
  font-weight: 600;
}

.value-modern.total-value {
  color: #10b981;
  font-size: 1.0625rem;
  font-weight: 700;
}

/* Botão Ver Detalhes */
.expand-btn-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
  color: #3b82f6;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.expand-btn-modern:hover {
  background: #f1f5f9;
}

.expand-btn-modern i {
  transition: transform 0.3s ease;
}

.expand-btn-modern i.bi-chevron-up {
  transform: rotate(180deg);
}

/* Detalhes Expandidos */
.order-details-expanded {
  background: #f8fafc;
  border-top: 2px solid #e2e8f0;
  animation: expandDown 0.3s ease;
}

@keyframes expandDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 3000px;
  }
}

.details-section-modern {
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.details-section-modern:last-child {
  border-bottom: none;
}

.section-title-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
}

.section-title-modern i {
  color: #3b82f6;
  font-size: 1.0625rem;
}

/* Lista de Itens Moderna */
.items-list-modern {
  background: white;
  border-radius: 12px;
  padding: 12px;
}

.item-row-modern {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

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

.item-qty-modern {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.item-info-modern {
  flex: 1;
  min-width: 0;
}

.item-name-modern {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.item-options-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.option-tag-modern {
  background: #e0f2fe;
  color: #0369a1;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.item-price-modern {
  color: #10b981;
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Resumo Financeiro */
.financial-summary-modern {
  background: white;
  border-radius: 12px;
  padding: 14px;
}

.financial-row-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: #475569;
}

.financial-row-modern.discount {
  color: #10b981;
}

.financial-row-modern.total {
  border-top: 2px solid #e2e8f0;
  padding-top: 12px;
  margin-top: 8px;
  font-size: 1.0625rem;
  color: #1e293b;
}

/* Info de Entrega */
.delivery-info-modern {
  background: white;
  border-radius: 12px;
  padding: 14px;
}

.info-item-modern {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
  color: #475569;
}

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

.info-item-modern i {
  color: #3b82f6;
  font-size: 1.0625rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item-modern.notes {
  flex-direction: column;
  align-items: flex-start;
}

.info-item-modern.notes div {
  width: 100%;
  padding-left: 32px;
}

.info-item-modern.notes strong {
  color: #1e293b;
  display: block;
  margin-bottom: 6px;
}

.info-item-modern.notes p {
  margin: 0;
  padding: 10px;
  background: #f8fafc;
  border-radius: 8px;
  font-style: italic;
  color: #64748b;
  line-height: 1.5;
}

/* Container dos pedidos */
.orders-list {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 16px;
}

/* Responsive */
@media (min-width: 768px) {
  .order-card-modern {
    margin-bottom: 20px;
  }

  .order-card-header-modern,
  .order-card-body-modern {
    padding: 20px;
  }

  .details-section-modern {
    padding: 20px;
  }

  .orders-list {
    padding: 24px;
  }
}

@media (min-width: 992px) {
  .orders-list {
    width: min(100%, 1180px);
    padding: 28px 32px 40px;
  }

  .order-card-modern {
    border-radius: 22px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
  }

  .order-card-header-modern,
  .order-card-body-modern,
  .details-section-modern {
    padding-left: 28px;
    padding-right: 28px;
  }

  .order-card-header-modern {
    align-items: flex-start;
  }

  .order-number-modern {
    font-size: 1.2rem;
  }

  .order-date-modern,
  .order-context-modern {
    font-size: 0.9rem;
  }

  .order-status-badge-modern {
    padding: 8px 16px;
    font-size: 0.875rem;
  }

  .order-quick-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 0;
    align-items: stretch;
  }

  .summary-row-modern {
    min-height: 58px;
  }

  .expand-btn-modern {
    max-width: 240px;
    margin-left: auto;
    margin-top: 16px;
  }
}

@media (min-width: 1280px) {
  .orders-list {
    width: min(100%, 1320px);
  }

  .order-card-header-modern,
  .order-card-body-modern,
  .details-section-modern {
    padding-left: 32px;
    padding-right: 32px;
  }

  .order-quick-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ========================================
   SUCCESS PAGE - RESUMO E INFO CARDS
   ======================================== */

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

/* Resumo do pedido Moderno */
.order-summary-modern {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  animation: fadeInUp 0.5s ease forwards;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3f4f6;
}

.summary-header i {
  font-size: 1.25rem;
  color: #10b981;
}

.summary-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.summary-item-modern {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.item-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
}

.item-qty {
  font-weight: 700;
  color: #1f2937;
  background: #e5e7eb;
  border-radius: 8px;
  min-width: 28px;
  min-height: 26px;
  padding: 4px 8px;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.item-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.item-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
  text-align: left;
}

.item-options {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.45;
  margin-top: 4px;
}

.item-option-line {
  display: block;
}

.item-price {
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
}

.item-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 110px;
}

.summary-item-configs {
  margin-top: 8px;
  border-top: 1px solid #f0f0f0;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-item-configs .config-group {
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

.summary-item-configs .config-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-item-configs .config-group-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.summary-item-configs .config-item {
  font-size: 0.875rem;
  color: #3d3d3d;
  line-height: 1.45;
}

.item-reward-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #047857;
  background-color: rgba(16, 185, 129, 0.12);
}

.summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0 4px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: #374151;
}

.summary-row span:last-child {
  font-weight: 600;
}

.summary-row-discount {
  color: #b91c1c;
}

.summary-total-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 10px;
  color: white;
  font-size: 1.0625rem;
  font-weight: 700;
}

/* Informações do Pedido */
.order-info-modern {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  animation: fadeInUp 0.6s ease forwards;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
}

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

.info-row i {
  font-size: 1.25rem;
  color: #10b981;
  margin-top: 2px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.info-row > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-value {
  font-size: 0.9375rem;
  color: #1f2937;
  font-weight: 600;
}

.success-fidelity-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(22, 163, 74, 0.2);
  animation: fadeInUp 0.65s ease forwards;
}

.success-fidelity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
}

.success-fidelity-icon i {
  font-size: 1.5rem;
}

.success-fidelity-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.success-fidelity-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.success-fidelity-text {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.95;
}

/* Status Card */
.status-card-modern {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  animation: fadeInUp 0.7s ease forwards;
}

.status-icon-modern {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status-icon-modern i {
  font-size: 1.5rem;
  color: white;
}

.status-info-modern {
  flex: 1;
  color: white;
}

.status-info-modern h4 {
  margin: 0 0 4px 0;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.9;
}

.status-time {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.status-desc {
  font-size: 0.8125rem;
  margin: 0;
  opacity: 0.9;
}

/* Botões de Ação Modernos */
.action-buttons-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.btn-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-modern:active {
  transform: translateY(0);
}

.btn-modern i {
  font-size: 1.25rem;
}

.btn-whatsapp-main {
  background: #25D366;
  color: white;
}

.btn-new-order {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.btn-my-orders {
  background: white;
  color: #1f2937;
  border: 2px solid #e5e7eb;
}

/* ========================================
   SUCCESS PAGE - ADDITIONAL STYLES
   ======================================== */

.modern-success-container {
  width: 100%;
  margin: 0 auto;
  padding: 20px 16px 80px;
  background: #f8f9fa;
}

/* Header de Sucesso com Animação - COMPACTO */
.success-header-modern {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.success-icon-modern {
  width: 40px;
  height: 40px;
  margin: 0;
  flex-shrink: 0;
}

.checkmark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #10b981;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #10b981;
  animation: fill-success 0.4s ease-in-out 0.4s forwards, scale-success 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #10b981;
  fill: none;
  animation: stroke-circle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #ffffff;
  animation: stroke-check 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke-circle {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes stroke-check {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fill-success {
  100% {
    box-shadow: inset 0px 0px 0px 40px #10b981;
  }
}

@keyframes scale-success {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

.success-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  letter-spacing: -0.01em;
}

.online-card-payment-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.online-card-payment-card--approved {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 72%);
  border-color: #86efac;
}

.online-card-payment-card--awaiting {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 72%);
  border-color: #fcd34d;
}

.online-card-payment-card__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.online-card-payment-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.online-card-payment-card--approved .online-card-payment-card__icon {
  background: #dcfce7;
  color: #15803d;
}

.online-card-payment-card--awaiting .online-card-payment-card__icon {
  background: #fef3c7;
  color: #b45309;
}

.online-card-payment-card__copy {
  min-width: 0;
  flex: 1;
}

.online-card-payment-card__eyebrow {
  display: inline-block;
  margin-bottom: 4px;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.online-card-payment-card__title {
  margin: 0;
  color: #111827;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.online-card-payment-card__description {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.5;
}

.online-card-payment-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.online-card-payment-card__chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #dbe4ee;
  color: #1f2937;
  font-size: 0.84rem;
  font-weight: 600;
}

.online-card-payment-card__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(209, 213, 219, 0.8);
  color: #475569;
  font-size: 0.84rem;
  font-weight: 500;
}

.online-card-payment-card--approved .online-card-payment-card__footer {
  color: #166534;
}

.online-card-payment-card--awaiting .online-card-payment-card__footer {
  color: #92400e;
}

.online-card-payment-card__footer i {
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Card PIX Moderno - Clean Design */
.pix-payment-card-modern {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pix-header-modern {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.pix-header-modern h2 {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pix-header-modern h2::before {
  content: "💳";
  font-size: 1.5rem;
}

.pix-amount-highlight {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #86efac;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.pix-amount-label {
  display: block;
  font-size: 0.75rem;
  color: #059669;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.pix-amount-value {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: #047857;
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum';
}

.pix-qr-wrapper {
  background: #fafafa;
  border: 2px dashed #d1d5db;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pix-qr-image {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
  background: white;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.pix-qr-help {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

.pix-key-box-modern {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.pix-key-label-modern {
  display: block;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.pix-key-display-modern {
  display: flex;
  gap: 8px;
}

.pix-key-input-modern {
  flex: 1;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  outline: none;
  transition: border-color 0.2s ease;
}

.pix-key-input-modern:focus {
  border-color: #3b82f6;
}

.pix-copy-btn-modern {
  background: #3b82f6;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pix-copy-btn-modern:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.pix-copy-btn-modern:active {
  transform: translateY(0);
}

.pix-copy-btn-modern.copied {
  background: #10b981;
  color: white;
}

.pix-missing-info {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 16px;
  color: #92400e;
  font-weight: 600;
  text-align: center;
}

.pix-instructions-modern {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.instruction-step {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #374151;
  margin-bottom: 12px;
}

.instruction-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 28px;
  height: 28px;
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.whatsapp-btn-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  margin-bottom: 16px;
}

.whatsapp-btn-modern:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-btn-modern i {
  font-size: 1.25rem;
}

.pix-footer-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 14px;
  color: #1e40af;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.pix-footer-note i {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: #3b82f6;
}

.pix-footer-note p {
  margin: 0;
  font-weight: 500;
}

/* PIX + WhatsApp Step Card */
.pix-whatsapp-step-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  text-align: center;
}

.pix-whatsapp-step-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #166534;
  font-size: 0.9375rem;
  margin-bottom: 8px;
}

.pix-whatsapp-step-header i {
  font-size: 1.25rem;
  color: #25d366;
}

.pix-whatsapp-step-description {
  color: #374151;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0 0 12px;
}

.whatsapp-after-pix-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.whatsapp-after-pix-btn:hover {
  background: #1fb855;
  transform: translateY(-1px);
}

.whatsapp-after-pix-btn:active {
  transform: translateY(0);
}

.whatsapp-after-pix-btn i {
  font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 640px) {
  .modern-success-container {
    padding: 16px 12px 80px;
  }

  .online-card-payment-card {
    padding: 16px;
  }

  .online-card-payment-card__header {
    gap: 12px;
  }

  .online-card-payment-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.25rem;
  }

  .online-card-payment-card__title {
    font-size: 0.98rem;
  }

  .online-card-payment-card__description {
    font-size: 0.875rem;
  }

  .pix-payment-card-modern {
    padding: 20px 16px;
  }

  .pix-amount-value {
    font-size: 1.875rem;
  }

  .pix-qr-image {
    width: 180px;
    height: 180px;
  }

  .pix-key-display-modern {
    flex-direction: column;
  }

  .pix-copy-btn-modern {
    width: 100%;
    justify-content: center;
  }

  .pix-key-input-modern {
    font-size: 0.8125rem;
  }

  .step-text {
    font-size: 0.8125rem;
  }
}

/* ========================================
   CHECKOUT PAGE - MODERN MOBILE DESIGN
   ======================================== */

.modern-checkout-container {
  background: #f8f9fa;
}

.modern-checkout-content {
  padding: 16px 16px 100px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .modern-checkout-content {
    padding: 24px 24px 100px;
  }
}

/* Fidelity Reward Compact Banner */
.fidelity-reward-compact {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
  color: white;
}

.reward-compact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.reward-compact-content {
  flex: 1;
  min-width: 0;
}

.reward-compact-label {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.reward-compact-value {
  font-size: 1rem;
  font-weight: 700;
}

.reward-compact-badge {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Free Product in Cart */
.cart-item-free-product {
  background: linear-gradient(to right, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #10b981;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.free-product-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.free-product-info {
  flex: 1;
  min-width: 0;
}

.cart-item-free-product .item-name {
  font-weight: 600;
  color: #065f46;
  font-size: 1rem;
  margin-bottom: 4px;
}

.free-product-label {
  font-size: 0.75rem;
  color: #059669;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.free-product-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* Section Headers */
.checkout-section-modern {
  margin-bottom: 20px;
  width: 100%;
}

.section-header-modern {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  margin-bottom: 12px;
  width: 100%;
}

.section-header-modern i {
  font-size: 1.25rem;
  color: #10b981;
}

.section-header-modern h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  flex: 1;
}

.item-badge {
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Checkout Card Container */
.checkout-card-modern {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  width: 100%;
  box-sizing: border-box;
}

/* Card unificado para formulário completo */
.checkout-card-unified {
  padding: 24px;
}

/* Divisor entre seções do formulário */
.form-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e7eb 50%, transparent);
  margin: 12px 0;
}

.delivery-section-modern .form-divider:first-child {
  margin-top: 0;
}

/* Cart Items Modern - Container sem borda, cada item é um card */
.cart-items-modern {
  margin-bottom: 16px;
  width: 100%;
}

.repeat-order-alert {
  border: 1px solid #fcd34d;
  background: #fffbeb;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  color: #92400e;
  display: none;
}

.repeat-order-alert:not([hidden]) {
  display: block;
}

.repeat-order-alert-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.repeat-order-alert-header i {
  font-size: 1.25rem;
  color: #f97316;
}

.repeat-order-alert-header strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.repeat-order-alert-header p {
  margin: 0;
  font-size: 0.85rem;
  color: #b45309;
}

.repeat-order-alert-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #b45309;
  font-size: 0.9rem;
}

.repeat-order-alert-list li {
  margin-bottom: 4px;
}

/* Garantir que os cards funcionam */
.cart-items-modern .checkout-item-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  margin-bottom: 12px;
}

.cart-items-modern .checkout-item-card:last-child {
  margin-bottom: 0;
}

.coupon-card-modern {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.coupon-collapsed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px 12px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 12px;
}

.coupon-collapsed-title {
  font-weight: 600;
  font-size: 0.975rem;
  color: #1f2937;
}

.coupon-toggle-btn {
  border: 1px solid #7c3aed;
  background: #7c3aed;
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.coupon-toggle-btn:hover {
  background: #6d28d9;
  border-color: #6d28d9;
}

.coupon-toggle-btn.ghost {
  background: transparent;
  color: #7c3aed;
  border-color: transparent;
  padding: 6px 10px;
  font-weight: 600;
}

.coupon-toggle-btn.ghost:hover {
  color: #5b21b6;
}

.coupon-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.coupon-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  margin: 0;
}

.coupon-card-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 2px 0 0;
}

/* Estilos para items gerados dinamicamente pelo JavaScript */
.cart-item-new {
  padding: 16px;
  border-bottom: 1px solid #f3f4f6;
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

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

.cart-item-new.cart-item-discounted {
  border: 1px solid #a7f3d0;
  background: #f0fdf4;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.cart-item-new .item-discount-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 6px;
}

.cart-item-new .item-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.cart-item-new .item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item-new .item-name {
  font-weight: 700;
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.3;
}

.cart-item-new .cart-item-config {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-top: 10px;
}

.cart-item-new .cart-item-observation {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px dashed #fecdd3;
  border-radius: 10px;
  background: #fff5f5;
  color: #b91c1c;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}

.cart-item-new .cart-item-config div {
  margin-bottom: 6px;
  display: block;
}

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

.cart-item-new .cart-item-config strong {
  color: #334155;
  font-weight: 600;
  display: inline;
  margin-right: 4px;
}

.cart-item-new .cart-item-config span {
  color: #64748b;
}

.cart-item-new .pizza-size-info,
.cart-item-new .pizza-massa,
.cart-item-new .pizza-borda,
.cart-item-new .pizza-flavors,
.cart-item-new .pizza-extras {
  display: block;
}

.cart-item-new .item-price-info {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 4px;
}

.cart-item-new .unit-price {
  font-weight: 500;
}

.cart-item-new .item-total-price {
  font-weight: 700;
  color: #10b981;
  font-size: 1.125rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-item-new .item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-new .quantity-controls-new {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 6px 12px;
}

.cart-item-new .qty-btn {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-item-new .qty-btn:hover:not(:disabled) {
  border-color: #10b981;
  color: #10b981;
  background: #f0fdf4;
}

.cart-item-new .qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cart-item-new .qty-number {
  font-weight: 700;
  font-size: 1rem;
  color: #1f2937;
  min-width: 24px;
  text-align: center;
}

.cart-item-new .remove-item-btn {
  background: #fee2e2;
  border: none;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dc2626;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-item-new .remove-item-btn:hover {
  background: #fecaca;
  transform: scale(1.05);
}

.cart-item-new .remove-item-btn:active {
  transform: scale(0.95);
}

@media (max-width: 520px) {
  .cart-item-new .item-content {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .cart-item-new .item-total-price {
    align-self: flex-start;
    width: 100%;
    text-align: left;
    font-size: 1.05rem;
  }

  .cart-item-new .cart-item-config {
    padding: 12px 14px;
    font-size: 0.8125rem;
  }
}

/* Fidelity free item styling */
.fidelity-free-item {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cart-item-modern {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
}

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

.cart-item-qty-modern {
  font-weight: 700;
  color: #10b981;
  font-size: 0.9375rem;
  min-width: 28px;
  flex-shrink: 0;
}

.cart-item-details-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name-modern {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.cart-item-options-modern {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.4;
}

.cart-item-price-modern {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9375rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Order Total Modern */
.order-total-modern {
  padding: 16px;
  border-top: 2px solid #f3f4f6;
}

.price-row-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9375rem;
}

.price-row-modern .price-label {
  color: #6b7280;
  font-weight: 500;
}

.price-row-modern .price-value {
  color: #1f2937;
  font-weight: 600;
}

.price-row-modern.discount-row .price-label {
  color: #059669;
}

.price-row-modern .discount-value {
  color: #059669;
  font-weight: 700;
}

.price-row-modern.total-row {
  padding-top: 12px;
  border-top: 2px solid #10b981;
  margin-top: 8px;
}

.price-row-modern.total-row .price-label {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1f2937;
}

.price-row-modern .total-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #10b981;
}

/* Add More Items Button */
.add-more-items-btn-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: white;
  color: #6b7280;
  text-decoration: none;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

/* Minimum Order Banner - Modern Design */
.minimum-order-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fbbf24;
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15);
  animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.minimum-order-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.minimum-order-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.minimum-order-icon svg {
  width: 24px;
  height: 24px;
}

.minimum-order-text {
  flex: 1;
}

.minimum-order-title {
  font-size: 1rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.minimum-order-message {
  font-size: 0.9375rem;
  color: #78350f;
  line-height: 1.5;
  font-weight: 500;
}

.minimum-order-progress {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.minimum-order-progress-bar {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
  height: 100%;
  border-radius: 8px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  position: relative;
}

.minimum-order-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 640px) {
  .minimum-order-banner {
    padding: 16px;
    margin: 16px 0;
  }

  .minimum-order-banner-content {
    gap: 12px;
  }

  .minimum-order-icon {
    width: 36px;
    height: 36px;
  }

  .minimum-order-title {
    font-size: 0.9375rem;
  }

  .minimum-order-message {
    font-size: 0.875rem;
  }
}


.add-more-items-btn-modern:hover {
  border-color: #10b981;
  color: #10b981;
  background: #f0fdf4;
}

.add-more-items-btn-modern i {
  font-size: 1.125rem;
}

/* Form Modern */
.checkout-form-modern {
  width: 100%;
}

.form-group-modern {
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}

.form-group-modern:last-child {
  margin-bottom: 0;
}

.form-label-modern {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.payment-methods-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  padding: 0;
  margin-bottom: 12px;
}

.payment-methods-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 1px solid #d8e1eb;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #24364a;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 16px 18px;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
  text-align: left;
  min-height: 84px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.payment-methods-tab:hover {
  border-color: #c5d1df;
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.payment-methods-tab:focus-visible {
  outline: none;
  border-color: #ea1d2c;
  box-shadow: 0 0 0 4px rgba(234, 29, 44, 0.12), 0 14px 28px rgba(15, 23, 42, 0.08);
}

.payment-methods-tab-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff1f2;
  color: #ea1d2c;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.payment-methods-tab-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.payment-methods-tab-title {
  font-size: 1rem;
  line-height: 1.25;
  color: #24364a;
}

.payment-methods-tab-hint {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #5f6f82;
  font-weight: 500;
}

.payment-methods-tab-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #90a1b5;
  font-size: 1rem;
  flex-shrink: 0;
}

.payment-methods-tab.is-active {
  background: linear-gradient(135deg, #ea1d2c 0%, #d60017 100%);
  color: #ffffff;
  border-color: #d60017;
  box-shadow: 0 12px 24px rgba(234, 29, 44, 0.25);
  transform: translateY(-1px);
}

.payment-methods-tab.is-active .payment-methods-tab-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.payment-methods-tab.is-active .payment-methods-tab-title,
.payment-methods-tab.is-active .payment-methods-tab-hint,
.payment-methods-tab.is-active .payment-methods-tab-arrow {
  color: #ffffff;
}

.payment-methods-tab:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.payment-methods-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 11px 14px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.875rem;
  font-weight: 600;
}

.payment-methods-prompt[hidden],
.payment-methods-prompt.is-hidden {
  display: none !important;
}

.payment-methods-prompt i {
  font-size: 0.95rem;
}

.payment-methods-lists {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0;
}

.payment-methods-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-methods-group-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payment-methods-group-title {
  color: #212529;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.payment-methods-group-hint {
  color: #6c757d;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}

.payment-methods-grid {
  display: none;
  gap: 10px;
}

.payment-methods-grid.is-active {
  display: flex;
  flex-direction: column;
}

.payment-method-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 2px solid #e9ecef;
  border-radius: 14px;
  padding: 16px 18px;
  background: #ffffff;
  color: #212529;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  min-height: 58px;
}

.payment-method-card:hover {
  border-color: #e9ecef;
  background: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.payment-method-card.is-selected:hover {
  border-color: #ea1d2c;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  box-shadow: 0 0 0 3px rgba(234, 29, 44, 0.1);
  transform: translateY(-1px);
}

.payment-method-card.is-selected {
  border-color: #ea1d2c;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  box-shadow: 0 0 0 3px rgba(234, 29, 44, 0.1);
  transform: translateY(-1px);
}

.payment-method-card.is-selected::after {
  content: "✓";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ea1d2c 0%, #d60017 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(234, 29, 44, 0.3);
}

.payment-method-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding-right: 40px;
}

.payment-method-label {
  font-weight: 600;
  color: #212529;
  font-size: 0.95rem;
  line-height: 1.3;
}

.payment-method-hint {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
  line-height: 1.3;
}

.payment-method-empty {
  margin: 0;
  padding: 20px;
  border-radius: 14px;
  background: #f8f9fa;
  color: #6c757d;
  font-size: 0.875rem;
  text-align: center;
  border: 2px dashed #dee2e6;
}

.mercado-pago-payment-brick {
  margin-top: 12px;
}

.payment-brick-section {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.payment-brick-section .form-error {
  margin-top: 8px;
}

.payment-brick-feedback-alert {
  margin-top: 8px;
  white-space: normal;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 600px) {
  .payment-methods-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .payment-methods-tab {
    min-height: 76px;
    padding: 14px 16px;
    gap: 12px;
  }

  .payment-methods-tab-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .payment-methods-tab-title {
    font-size: 0.95rem;
  }

  .payment-methods-tab-hint {
    font-size: 0.76rem;
  }

  .payment-methods-prompt {
    margin-bottom: 16px;
    align-items: flex-start;
  }

  .payment-methods-grid {
    gap: 8px;
  }

  .payment-methods-group {
    gap: 8px;
  }
  
  .payment-method-card {
    padding: 14px 16px;
    min-height: 54px;
  }
  
  .payment-method-card.is-selected::after {
    right: 16px;
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
  }
}

/* Dine-in Summary */
.dine-in-summary-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dine-in-context-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dine-in-context-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.dine-in-context-value {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.05rem;
  color: #111827;
}

.dine-in-context-helper {
  font-size: 0.9rem;
}

.dine-in-warning-card {
  border-left: 4px solid #f97316;
}

.dine-in-warning-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 576px) {
  .dine-in-warning-actions {
    flex-direction: row;
  }

  .dine-in-warning-actions .btn {
    flex: 1;
  }
}

.dine-in-cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dine-in-cart-item {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dine-in-cart-item-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  justify-content: space-between;
}

.dine-in-cart-item-quantity {
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.85rem;
}

.dine-in-cart-item-name {
  flex: 1;
  font-weight: 700;
  color: #1f2937;
  font-size: 1rem;
}

.dine-in-cart-item-total {
  font-weight: 700;
  color: #10b981;
  font-size: 1.125rem;
}

.dine-in-cart-item-options {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  border-left: 3px solid #e0f2fe;
  padding-left: 12px;
}

.dine-in-cart-item-options strong {
  color: #1f2937;
  font-weight: 600;
}

.dine-in-cart-total .price-label {
  font-weight: 600;
  color: #374151;
}

.dine-in-cart-total .total-value {
  font-size: 1.25rem;
}

.dine-in-summary-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dine-in-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.dine-in-summary-actions .checkout-confirm-btn-modern {
  width: 100%;
}

.dine-in-secondary-btn {
  border: 2px dashed #d1d5db;
  background: white;
  color: #6b7280;
}

.dine-in-secondary-btn:hover {
  border-color: #10b981;
  color: #10b981;
  background: #f0fdf4;
}

.dine-in-orders-card {
  padding: 20px;
}

.dine-in-orders-list {
  display: flex;
  flex-direction: column;
}

.dine-in-orders-list .order-card-modern {
  margin-bottom: 20px;
}

.dine-in-orders-list .order-card-modern:last-child {
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .dine-in-summary-actions {
    flex-direction: row;
  }

  .dine-in-summary-actions .checkout-confirm-btn-modern,
  .dine-in-summary-actions .dine-in-secondary-btn {
    flex: 1;
  }
}

/* Dine-in Success */
.dine-in-success-page {
  padding-bottom: 40px;
}

.dine-in-success-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dine-in-success-hero {
  align-items: flex-start;
  text-align: left;
  gap: 16px;
}

.dine-in-success-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dine-in-success-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.5;
}

.dine-in-success-context {
  gap: 16px;
}

.dine-in-success-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.dine-in-success-meta-item {
  flex: 1 1 160px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
}

.dine-in-success-meta-item .meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 6px;
}

.dine-in-success-meta-item .meta-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.dine-in-success-summary .summary-header {
  align-items: center;
}

.dine-in-success-actions .btn-modern {
  width: 100%;
}

@media (min-width: 640px) {
  .dine-in-success-actions {
    flex-direction: row;
  }

  .dine-in-success-actions .btn-modern {
    flex: 1;
  }
}

.form-input-modern {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #1f2937;
  background: white;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.form-input-modern:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input-modern::placeholder {
  color: #9ca3af;
}

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

select.form-input-modern {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Order Type Grid Modern */
.order-type-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.checkout-decision-section + .checkout-decision-section {
  margin-top: 16px;
}

.scheduling-mode-grid-modern {
  margin-bottom: 0;
}

.order-type-card-modern {
  position: relative;
  cursor: pointer;
  display: block;
}

.order-type-card-modern.is-mode-unavailable .order-type-content-modern {
  border-color: #e5e7eb;
  background: #f9fafb;
}

.order-type-card-modern.is-mode-unavailable .order-type-time {
  color: #9ca3af;
}

.order-type-radio-modern {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.order-type-content-modern {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
  min-height: 72px;
}

.order-type-radio-modern:checked + .order-type-content-modern {
  border-color: #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.order-type-content-modern i {
  font-size: 1.5rem;
  color: #6b7280;
  transition: color 0.2s ease;
}

.order-type-radio-modern:checked + .order-type-content-modern i {
  color: #10b981;
}

.order-type-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.order-type-title {
  font-weight: 700;
  font-size: 1rem;
  color: #1f2937;
  text-align: left;
}

.order-type-time {
  font-size: 0.8125rem;
  color: #6b7280;
  text-align: left;
}

/* Small variant for change options */
.order-type-card-modern.small .order-type-content-modern {
  flex-direction: row;
  justify-content: flex-start;
  min-height: 60px;
  padding: 12px 14px;
}

.order-type-card-modern.small .order-type-content-modern i {
  font-size: 1.25rem;
}

.order-type-card-modern.small .order-type-title {
  font-size: 0.875rem;
  text-align: left;
}

.checkout-order-type-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7d6 0%, #fffdf5 100%);
}

.checkout-order-type-notice[hidden] {
  display: none !important;
}

.checkout-order-type-notice__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #fde68a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  flex-shrink: 0;
}

.checkout-order-type-notice__icon i {
  font-size: 1rem;
}

.checkout-order-type-notice__content {
  min-width: 0;
}

.checkout-order-type-notice__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #92400e;
}

.checkout-order-type-notice__message {
  margin: 4px 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #6b7280;
}

.checkout-order-type-notice__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f766e;
  text-decoration: none;
}

.checkout-order-type-notice__link[hidden] {
  display: none !important;
}

.checkout-order-type-notice__link:hover {
  color: #115e59;
  text-decoration: underline;
}

.checkout-order-type-notice__link::after {
  content: '->';
  font-size: 0.75rem;
}
  font-size: 0.875rem;
  text-align: left;
}

/* Scheduling Fields */
  scroll-margin-top: 96px;
.scheduling-fields-modern {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.scheduling-feedback-modern {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: #6b7280;
}

/* Delivery Section */
.delivery-section-modern {
  animation: slideDown 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delivery-fee-badge-modern {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 12px;
  background: #eff6ff;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #1e40af;
}

.delivery-fee-badge-modern i {
  font-size: 1rem;
}

.delivery-fee-badge-modern strong {
  color: #1e3a8a;
  font-weight: 700;
}

/* Change Section */
.change-section-modern {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

/* New change cards */
.change-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.change-card {
  display: block;
  cursor: pointer;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
  min-height: 88px;
}

.change-card:hover {
  border-color: #cdd8e5;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.change-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.change-card-body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.change-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 1.05rem;
}

.change-icon.negative {
  background: #f0fdf4;
  color: #0f9d58;
}

.change-icon.positive {
  background: #f0fdf4;
  color: #0f9d58;
}

.change-text-block {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.change-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
}

.change-subtitle {
  font-size: 0.82rem;
  color: #6b7280;
}

.change-radio:checked + .change-card-body {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.16);
}

.change-radio:checked + .change-card-body .change-title {
  color: #065f46;
}

.change-radio:checked + .change-card-body .change-subtitle {
  color: #0f9d58;
}

.change-radio:checked + .change-card-body .change-icon {
  background: #0f9d58;
  color: #ffffff;
}

@media (max-width: 640px) {
  .change-choice-grid {
    gap: 8px;
  }

  .change-card-body {
    padding: 11px 12px;
  }
}

/* Coupon Input Group */
.coupon-input-group-modern {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.coupon-input-group-modern .form-input-modern {
  flex: 1;
  margin-bottom: 0;
}

.coupon-btn-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.coupon-btn-modern i {
  font-size: 1rem;
}

.coupon-btn-modern.validate {
  background: #10b981;
  color: white;
}

.coupon-btn-modern.validate:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.coupon-btn-modern.remove {
  background: #ef4444;
  color: white;
}

.coupon-btn-modern.remove:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Coupon Input Group - Inline Layout */
.coupon-input-group-inline {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.coupon-input-group-inline input {
  flex: 1;
  min-width: 0;
}

.coupon-btn-inline {
  padding: 12px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  white-space: nowrap;
  transition: all 0.2s ease !important;
}

.coupon-btn-inline.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border: none !important;
  color: white !important;
}

.coupon-btn-inline.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.coupon-btn-inline.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  border: none !important;
  color: white !important;
}

.coupon-btn-inline.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.coupon-feedback-modern {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.coupon-feedback-modern.success {
  background: #d1fae5;
  color: #065f46;
}

.coupon-feedback-modern.error {
  background: #fee2e2;
  color: #991b1b;
}

/* Confirm Button */
.checkout-confirm-btn-modern {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.checkout-confirm-btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.checkout-confirm-btn-modern:active {
  transform: translateY(0);
}

.checkout-confirm-btn-modern:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Responsive */
@media (max-width: 640px) {
  .modern-checkout-content {
    padding: 12px 12px 100px;
  }

  .checkout-card-modern {
    padding: 16px;
  }

  .order-type-grid-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .coupon-input-group-modern {
    flex-direction: column;
  }

  .coupon-btn-modern {
    width: 100%;
  }
}

/* Responsive para layout inline de cupom */
@media (max-width: 480px) {
  .coupon-input-group-inline {
    flex-direction: column;
  }

  .coupon-btn-inline {
    width: 100%;
  }
}

/* Mobile optimization for very small screens */
@media (max-width: 360px) {
  .section-header-modern h3 {
    font-size: 1rem;
  }

  .order-type-content-modern i {
    font-size: 1.5rem;
  }

  .order-type-title {
    font-size: 0.875rem;
  }
}

/* ========================================
   LAZY LOADING - MODERN SPINNER
======================================== */

.category-load-more,
.global-load-more {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 16px;
  margin: 24px 0;
}

.category-load-more-button {
  display: none; /* Hide old button, show only spinner */
}

.category-loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.category-loading-indicator[hidden] {
  display: none;
}

.category-loading-indicator span {
  display: none; /* Hide text, show only spinner */
}

/* Modern spinner */
.category-loading-indicator::before {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid rgba(234, 29, 44, 0.1);
  border-top-color: #ea1d2c;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Sentinel for intersection observer */
.category-products-sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
}

/* ─── Public Coupons Section ─────────────────────────────────── */

.menu-public-coupons {
  margin: 1rem 0 1.25rem;
  padding: 0 1rem;
}

.menu-public-coupons-header {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.menu-public-coupons-icon {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--primary-color, #ea1d2c);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.menu-public-coupons-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.1rem;
}

.menu-public-coupons-header p {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
}

.menu-public-coupons-list {
  display: grid;
  gap: 0.85rem;
}

/* Card — ticket shape: colored top + tinted bottom */
.menu-public-coupon-card {
  background: rgba(var(--primary-rgb, 234, 29, 44), 0.06);
  border: 1.5px solid rgba(var(--primary-rgb, 234, 29, 44), 0.18);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: visible;
}

/* ── Colored top section ─────────────────────────────────────── */
.menu-public-coupon-top {
  background: var(--action-gradient, var(--primary-color, #ea1d2c));
  border-radius: 14px 14px 0 0;
  padding: 1rem 1.1rem 1.1rem;
  position: relative;
  overflow: hidden;
}

/* Decorative circles for visual flair */
.menu-public-coupon-top::before {
  content: '';
  position: absolute;
  right: -1.25rem;
  top: -1.25rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.menu-public-coupon-top::after {
  content: '';
  position: absolute;
  right: 1.5rem;
  top: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.menu-public-coupon-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.22);
  color: var(--primary-contrast-color, #fff);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0.18rem 0.6rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.menu-public-coupon-value {
  margin: 0;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-contrast-color, #fff);
  line-height: 1.2;
  letter-spacing: -0.015em;
  position: relative;
}

.menu-public-coupon-tagline {
  margin: 0.4rem 0 0;
  font-size: 0.84rem;
  color: var(--primary-contrast-color, #fff);
  opacity: 0.82;
  position: relative;
}

/* ── Tinted bottom section ─────────────────────────────────────── */
.menu-public-coupon-bottom {
  background: transparent;
  border-radius: 0 0 14px 14px;
  border-top: 2px dashed rgba(var(--primary-rgb, 234, 29, 44), 0.25);
  padding: 0.85rem 1.1rem;
  position: relative;
}

.menu-public-coupon-code-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.menu-public-coupon-code-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.menu-public-coupon-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-color, #ea1d2c);
  border: 1.5px dashed var(--primary-color, #ea1d2c);
  border-radius: 6px;
  padding: 0.18rem 0.5rem;
  letter-spacing: 0.07em;
}

.menu-public-coupon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.menu-public-coupon-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--secondary-color, #ffffff);
  color: var(--secondary-contrast-color, #111827);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 0.8rem;
  transition: opacity 0.15s ease;
}

.menu-public-coupon-action:hover,
.menu-public-coupon-action:focus {
  color: var(--secondary-contrast-color, #111827);
  opacity: 0.85;
}

/* Pizza flavor category filter - must override .modern-modal .option-item display:flex */
.modern-modal .option-item.flavor-category-hidden,
.option-item.flavor-category-hidden {
  display: none !important;
}

.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  padding: 0.5rem;
}

.cookie-consent-banner__card {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-consent-banner__main {
  display: grid;
  gap: 0.65rem;
}

.cookie-consent-banner__copy {
  display: grid;
  gap: 0.2rem;
}

.cookie-consent-banner__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f8b84e;
}

.cookie-consent-banner__title {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.2;
  color: #ffffff;
}

.cookie-consent-banner__text {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(241, 245, 249, 0.88);
  line-height: 1.35;
}

.cookie-consent-banner__text a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0;
}

.cookie-consent-banner__inline-form,
.cookie-consent-banner__preferences-form {
  margin: 0;
}

.cookie-consent-banner__button {
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  line-height: 1.2;
}

.cookie-consent-banner__button--primary {
  background: linear-gradient(135deg, #ea353d 0%, #f37b35 100%);
  color: #ffffff;
}

.cookie-consent-banner__button--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.cookie-consent-banner__details {
  margin-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.55rem;
}

.cookie-consent-banner__summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.86rem;
  color: #ffffff;
}

.cookie-consent-banner__preferences-form {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.cookie-consent-banner__option {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.cookie-consent-banner__option strong,
.cookie-consent-banner__option small {
  display: block;
}

.cookie-consent-banner__option small {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: rgba(241, 245, 249, 0.78);
}

.cookie-consent-banner__option input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.cookie-consent-banner__option--locked {
  border: 1px solid rgba(248, 184, 78, 0.24);
}

.cookie-consent-banner__badge {
  white-space: nowrap;
  font-weight: 700;
  color: #f8b84e;
}

@media (max-width: 767px) {
  .cookie-consent-banner {
    padding: 0.4rem;
  }

  .cookie-consent-banner__card {
    padding: 0.7rem;
    border-radius: 12px;
  }

  .cookie-consent-banner__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-consent-banner__button {
    width: 100%;
  }

  .cookie-consent-banner__option {
    flex-direction: column;
  }
}
