:root {
  /* Colors */
  --brown-dark: #2b0f0f;
  --brown-medium: #4a1e1e;
  --red-deep: #a30000;
  --gold-primary: #f4b400;
  --gold-light: #ffd166;
  --cream: #fff3e0;
  --white: #fff;
  --muted: rgba(43, 15, 15, 0.45);

  /* Typography */
  --font-display: "Rye", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-western: var(--font-display);

  /* Design Tokens */
  --radius-btn: 16px;
  --radius-card: 32px;
  --shadow-warm:
    0 4px 6px -1px rgba(74, 30, 30, 0.1), 0 2px 4px -2px rgba(74, 30, 30, 0.05);
  --shadow-premium: 0 20px 40px -10px rgba(74, 30, 30, 0.15);
  --btn-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  --btn-padding: 16px 28px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown-dark);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-western {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
}

body.no-scroll {
  overflow: hidden !important;
  height: 100vh;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.container {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

/* Hero Section - Desktop Principal */
.hero {
  position: relative;
  min-height: 75vh;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* CAMINHO RELATIVO AO ARQUIVO CSS (MESMO NÍVEL DA PASTA ASSETS) */
  background:
    linear-gradient(rgba(20, 8, 4, 0.75), rgba(20, 8, 4, 0.92)),
    url("./assets/img/hero-caipira.webp") center center / cover no-repeat !important;
  background-attachment: fixed;
  background-color: #2b0f0f; /* Fallback de cor */
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.bg-texture {
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 0
  );
  background-size: 40px 40px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(244, 180, 0, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 800px);
  margin: 0 auto;
}

.logo {
  max-width: 280px;
  margin: 0 auto 32px;
  border-radius: 50%;
  border: 4px solid var(--gold-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.hero-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 400;
  color: var(--gold-primary);
  margin-bottom: 12px;
  opacity: 0.95;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--gold-primary);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  display: block;
}

.hero-title span:last-child {
  color: var(--white);
}

.hero p {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 580px;
  margin: 0 auto 40px;
  color: rgba(255, 243, 224, 0.9);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  font-family: var(--font-display);
}

.hero-cta {
  padding: 20px 42px;
  font-size: 16px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, #de9d24 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 30px rgba(222, 157, 36, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-padding);
  border-radius: var(--radius-btn);
  font-weight: 800;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gold-primary);
  color: var(--brown-dark);
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-btn);
  padding: var(--btn-padding);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(244, 180, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(244, 180, 0, 0.25);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.menu-section {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0;
  min-height: 100vh;
}

.section-heading {
  text-align: center;
  margin-bottom: clamp(40px, 8vw, 80px);
}

.section-heading h2 {
  font-size: clamp(32px, 7vw, 78px);
  margin: 0;
  color: var(--brown-dark);
  letter-spacing: -0.04em;
}

.section-heading p {
  color: rgba(43, 15, 15, 0.45);
  font-weight: 600;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.6;
  max-width: 620px;
  margin: 16px auto 0;
}

.menu-layout {
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  gap: 32px;
  align-items: start;
}

.category-card,
.cart-card,
.product-card,
.white-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(74, 30, 30, 0.1);
  border-radius: 32px;
  box-shadow: var(--shadow-warm);
  backdrop-filter: blur(10px);
}
.sticky {
  position: sticky;
  top: 24px;
}
.category-card {
  padding: 16px;
}
.tiny-label {
  font-family: var(--font-western);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 400;
  color: rgba(43, 15, 15, 0.22);
  padding: 16px 24px;
}
.tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tab {
  font-family: var(--font-display);
  position: relative;
  text-align: left;
  background: transparent;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 400;
  color: rgba(43, 15, 15, 0.48);
  transition: var(--transition-fast);
  font-size: 15px;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
}
.tab:hover {
  background: rgba(43, 15, 15, 0.05);
  color: rgba(43, 15, 15, 0.8);
}
.tab.active {
  background: #fdf8ef;
  color: var(--red-deep);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.tab.active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 4px;
  background: var(--red-deep);
  border-radius: 0 4px 4px 0;
}
.mobile-tabs {
  display: none;
  overflow: auto;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 4px;
}
.mobile-tabs .tab {
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(74, 30, 30, 0.08);
}
.category-block {
  margin-bottom: 80px;
  scroll-margin-top: 90px;
}
.category-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.category-title h3 {
  font-size: 32px;
  color: var(--red-deep);
  margin: 0;
  white-space: nowrap;
}
.category-title div {
  height: 1px;
  flex: 1;
  background: rgba(74, 30, 30, 0.1);
}
.category-desc {
  font-size: 14px;
  font-weight: 700;
  color: rgba(43, 15, 15, 0.42);
  margin: 0 0 32px;
}
.products {
  display: grid;
  gap: 16px;
}
.product-card {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 180, 0, 0.35);
  box-shadow: var(--shadow-premium);
}
.product-main {
  display: flex;
  gap: 20px;
  min-width: 0;
  flex: 1;
}
.product-image {
  width: 112px;
  height: 112px;
  border-radius: 20px;
  background: rgba(43, 15, 15, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  color: rgba(43, 15, 15, 0.1);
  font-size: 42px;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.product-card:hover .product-image img {
  transform: scale(1.06);
}
.product-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card:hover h4 {
  color: var(--red-deep);
}
.product-info p {
  font-size: 12px;
  line-height: 1.55;
  margin: 0 0 12px;
  color: rgba(43, 15, 15, 0.42);
  font-weight: 600;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.starting {
  font-size: 10px;
  color: rgba(43, 15, 15, 0.32);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.price {
  font-family: var(--font-display);
  color: var(--red-deep);
  font-size: 25px;
}
.plus-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(43, 15, 15, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.product-card:hover .plus-box {
  background: var(--gold-primary);
  color: var(--brown-dark);
}
.cart-card {
  height: auto;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}
.cart-head {
  padding: 24px;
  border-bottom: 1px solid rgba(74, 30, 30, 0.07);
  background: rgba(43, 15, 15, 0.02);
}
.cart-head h2 {
  font-size: 24px;
  margin: 0;
  font-family: var(--font-display);
}
.cart-head p {
  font-size: 9px;
  color: rgba(43, 15, 15, 0.33);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 8px 0 0;
  font-family: var(--font-body);
}
.cart-items {
  overflow: auto;
  padding: 8px 24px;
}
.empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: rgba(43, 15, 15, 0.2);
  font-weight: 800;
}
.cart-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(74, 30, 30, 0.06);
}
.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.cart-name {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 900;
  margin: 0;
  font-family: var(--font-body);
}
.cart-meta {
  font-size: 9px;
  color: rgba(43, 15, 15, 0.4);
  line-height: 1.35;
  margin: 3px 0 0;
}
.cart-price {
  font-family: var(--font-display);
  color: var(--red-deep);
  white-space: nowrap;
  font-size: 14px;
}
.cart-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.qty {
  display: flex;
  align-items: center;
  background: rgba(43, 15, 15, 0.035);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid rgba(74, 30, 30, 0.06);
}
.qty button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: transparent;
  color: rgba(43, 15, 15, 0.4);
  font-weight: 900;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}
.qty button:hover {
  background: #fff;
  color: var(--red-deep);
}
.qty span {
  width: 30px;
  text-align: center;
  font-weight: 900;
  font-size: 11px;
}
.trash {
  background: transparent;
  color: rgba(43, 15, 15, 0.18);
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}
.trash:hover {
  color: var(--red-deep);
}
.cart-foot {
  padding: 24px;
  border-top: 1px solid rgba(74, 30, 30, 0.1);
  background: rgba(43, 15, 15, 0.02);
}
.total-label {
  font-size: 9px;
  color: rgba(43, 15, 15, 0.35);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--font-body);
}
.total-price {
  font-family: var(--font-display);
  color: var(--red-deep);
  font-size: 33px;
  margin: 2px 0 14px;
}
.wide {
  width: 100%;
}
.clear-btn {
  width: 100%;
  background: transparent;
  color: rgba(43, 15, 15, 0.26);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}
.clear-btn:hover {
  color: var(--red-deep);
}
.floating-cart {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  background: var(--gold-primary);
  color: var(--brown-dark);
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
  gap: 8px;
  align-items: center;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}
.floating-cart:hover {
  transform: translateY(-5px);
  filter: brightness(1.05);
}
body.no-scroll .floating-cart {
  display: none !important;
}
.badge {
  background: var(--red-deep);
  color: white;
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 15, 15, 0.65);
  backdrop-filter: blur(7px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: white;
  border-radius: 36px;
  width: min(900px, 100%);
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal-media {
  background: rgba(43, 15, 15, 0.04);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(43, 15, 15, 0.1);
  font-size: 120px;
  position: relative;
}
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 92vh;
  min-height: 0;
}
.modal-scroll {
  padding: 42px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--brown-dark) rgba(43, 15, 15, 0.05);
}
.modal-scroll::-webkit-scrollbar {
  width: 8px;
}
.modal-scroll::-webkit-scrollbar-track {
  background: rgba(43, 15, 15, 0.05);
  border-radius: 10px;
}
.modal-scroll::-webkit-scrollbar-thumb {
  background: var(--brown-dark);
  border-radius: 10px;
}
.modal-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--brown-medium);
}
.modal h3 {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  margin: 0 0 14px;
}
.modal p {
  color: rgba(43, 15, 15, 0.52);
  line-height: 1.55;
  font-family: var(--font-body);
}
.close {
  position: absolute;
  top: 20px;
  left: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  color: white;
  width: 44px;
  height: 44px;
  font-size: 24px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.close:hover {
  background: rgba(255, 255, 255, 0.4);
}
.option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 14px;
}
.option-label span:first-child {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 900;
  color: rgba(43, 15, 15, 0.35);
  font-family: var(--font-body);
}
.required {
  background: rgba(163, 0, 0, 0.06);
  color: var(--red-deep);
  font-size: 10px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
}
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.option {
  padding: 18px;
  border-radius: 18px;
  background: rgba(43, 15, 15, 0.04);
  border: 2px solid transparent;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 900;
  color: var(--brown-dark);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}
.option.active {
  border-color: var(--gold-primary);
  background: rgba(244, 180, 0, 0.1);
}
.option small {
  display: block;
  color: rgba(43, 15, 15, 0.45);
  font-size: 12px;
}
.check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--gold-primary);
  display: none;
  text-align: center;
  line-height: 20px;
}
.option.active .check {
  display: block;
}
.flavors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(43, 15, 15, 0.05);
  color: rgba(43, 15, 15, 0.65);
  font-weight: 800;
  font-size: 12px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}
.chip.active {
  background: var(--brown-dark);
  color: var(--cream);
}
.modal-foot {
  padding: 26px 34px;
  border-top: 1px solid rgba(74, 30, 30, 0.1);
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fff;
}
.add-btn {
  flex: 1;
  border-radius: var(--radius-btn);
  padding: 20px;
  background: var(--gold-primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brown-dark);
  box-shadow: 0 14px 30px rgba(244, 180, 0, 0.22);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}
.add-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 36px rgba(244, 180, 0, 0.3);
}
.add-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.checkout {
  z-index: 1200;
}
.checkout-modal {
  background: white;
  width: min(860px, 100%);
  max-height: 94vh;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}
.checkout-brand {
  width: 100%;
  padding: clamp(32px, 6vw, 56px);
  background: var(--brown-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
  position: relative;
}
.checkout-brand-logo {
  width: clamp(110px, 22vw, 150px);
  height: clamp(110px, 22vw, 150px);
  object-fit: contain;
  border-radius: 50%;
  border: 4px solid rgba(244, 180, 0, 0.2);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}
.checkout-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.checkout-brand-title {
  margin: 0;
  color: #ffbd08;
  font-size: clamp(52px, 12vw, 84px);
  line-height: 0.85;
}
.checkout-brand-category {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: clamp(12px, 2vw, 15px);
  text-transform: uppercase;
  letter-spacing: 7px;
  font-weight: 800;
  font-family: var(--font-body);
}
.checkout-brand-subtitle {
  margin: 12px 0 0;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(11px, 2vw, 13px);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
  font-family: var(--font-body);
  line-height: 1.6;
}
.checkout-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.checkout-head {
  padding: 28px 34px;
  border-bottom: 1px solid rgba(74, 30, 30, 0.09);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkout-head h2 {
  font-family: var(--font-display);
  font-size: 34px;
  margin: 0;
}
.xbtn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(43, 15, 15, 0.06);
  font-size: 24px;
  color: rgba(43, 15, 15, 0.55);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.xbtn:hover {
  background: rgba(43, 15, 15, 0.1);
  color: var(--red-deep);
}
.checkout-scroll {
  padding: 30px 34px;
  overflow: auto;
  display: grid;
  gap: 28px;
}
.form-section h4 {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 900;
  color: rgba(43, 15, 15, 0.35);
  margin: 0 0 14px;
}
.input {
  width: 100%;
  border: 2px solid transparent;
  background: rgba(43, 15, 15, 0.045);
  border-radius: 14px;
  padding: 15px 17px;
  outline: 0;
  color: var(--brown-dark);
  font-weight: 700;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}
.input:focus {
  border-color: var(--gold-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.1);
}
.grid2,
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.choice {
  padding: 16px;
  border-radius: 14px;
  background: rgba(43, 15, 15, 0.04);
  border: 2px solid transparent;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-body);
  color: var(--brown-dark);
}
.choice.active {
  border-color: var(--gold-primary);
  background: rgba(244, 180, 0, 0.1);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(74, 30, 30, 0.06);
}
.summary-line span {
  font-size: 14px;
  color: rgba(43, 15, 15, 0.65);
  font-weight: 600;
  line-height: 1.3;
}
.summary-line b {
  font-family: var(--font-display);
  color: var(--brown-dark);
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}
.checkout-foot {
  padding: 32px 34px;
  border-top: 1px solid rgba(74, 30, 30, 0.08);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.checkout-total-label {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: rgba(43, 15, 15, 0.35);
  line-height: 1;
}
.checkout-total-value {
  font-family: var(--font-display);
  color: var(--red-deep);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}
.checkout-submit {
  width: 100%;
  max-width: 100%;
  min-height: 64px;
  padding: 18px 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-primary);
  color: var(--brown-dark);
  box-shadow: 0 12px 28px rgba(244, 180, 0, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.checkout-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 36px rgba(244, 180, 0, 0.25);
}
.checkout-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.8);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(120%);
  background: var(--brown-dark);
  color: var(--cream);
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  z-index: 2000;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  transition: var(--transition-fast);
  font-family: var(--font-body);
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Footer SaaS Premium */
.site-footer,
.footerbar {
  padding: 36px 18px 24px;
  background: transparent;
  font-family:
    Inter,
    Manrope,
    Montserrat,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.footer-premium-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 30px;
  border-radius: 34px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 197, 79, 0.08),
      rgba(255, 197, 79, 0) 32%
    ),
    linear-gradient(180deg, rgba(28, 16, 9, 0.98), rgba(9, 6, 4, 0.99));
  border: 1px solid rgba(248, 196, 79, 0.16);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-premium-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.footer-brand-block,
.footer-map-block {
  min-width: 0;
}

.footer-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(248, 196, 79, 0.1);
  border: 1px solid rgba(248, 196, 79, 0.16);
  color: #f8c44f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand-title {
  margin: 0;
  color: #f8c44f;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.footer-brand-description {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 248, 234, 0.78);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
}

.footer-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.footer-info-card {
  margin: 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(248, 196, 79, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.footer-info-label {
  display: block;
  margin-bottom: 9px;
  color: #f8c44f;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-info-text {
  margin: 0;
  color: rgba(255, 248, 234, 0.9);
  font-size: 0.96rem;
  line-height: 1.65;
  font-weight: 550;
}

.footer-copy {
  margin: 22px 0 0;
  color: rgba(255, 248, 234, 0.54);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}

.footer-map-block {
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(248, 196, 79, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.footer-map-frame {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-map-frame iframe,
.footer-map-placeholder {
  width: 100%;
  height: 286px;
  display: block;
  border: 0;
}

.footer-location-btn {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8c44f 0%, #de9d24 100%);
  color: #1a1008;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(222, 157, 36, 0.22);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.footer-location-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 20px 40px rgba(222, 157, 36, 0.28);
}

.footer-location-btn:active {
  transform: translateY(0);
}

.footer-location-btn:focus-visible {
  outline: 3px solid rgba(248, 196, 79, 0.35);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .footer-premium-grid {
    grid-template-columns: 1fr;
  }

  .footer-info-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-footer,
  .footerbar {
    padding: 28px 14px 20px;
  }

  .footer-premium-shell {
    padding: 22px;
    border-radius: 28px;
  }

  .footer-brand-block {
    text-align: center;
  }

  .footer-kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand-description {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-info-card {
    text-align: center;
    border-radius: 22px;
  }

  .footer-map-block {
    border-radius: 24px;
    padding: 12px;
  }

  .footer-map-frame {
    border-radius: 18px;
  }

  .footer-map-frame iframe,
  .footer-map-placeholder {
    height: 230px;
  }

  .footer-copy {
    text-align: center;
  }
}

/* CRM Premium UI */
.crm-body {
  background: #fdf8ef;
  font-family: var(--font-body);
}
.crm-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  font-family: var(--font-body);
}
.crm-shell h1,
.crm-shell h2,
.crm-shell h3,
.crm-shell h4,
.crm-shell b,
.crm-shell strong,
.crm-shell .btn,
.crm-shell button,
.crm-shell .status,
.crm-shell .crm-badge {
  font-family: var(--font-display);
  font-weight: 400;
}
.crm-sidebar {
  background: var(--brown-dark);
  color: var(--cream);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px 20px;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
}
.crm-brand {
  text-align: center;
  margin-bottom: 48px;
}
.crm-brand h1 {
  font-family: var(--font-display);
  color: var(--gold-primary);
  font-size: 32px;
  margin: 0;
  letter-spacing: 1px;
}
.crm-brand p {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 243, 224, 0.4);
  font-weight: 800;
  margin-top: 8px;
  font-family: var(--font-body);
}
.crm-nav {
  display: grid;
  gap: 8px;
  flex: 1;
  align-content: flex-start;
}
.crm-nav a {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 400;
  color: rgba(255, 243, 224, 0.6);
  font-size: 15px;
  transition: var(--transition-fast);
  cursor: pointer;
  font-family: var(--font-display);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.crm-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.crm-nav a.active {
  background: var(--gold-primary);
  color: var(--brown-dark);
  box-shadow: 0 8px 20px rgba(244, 180, 0, 0.2);
}
.crm-back {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.crm-main {
  padding: clamp(24px, 5vw, 56px);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.crm-header {
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.crm-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  margin: 0;
  color: var(--brown-dark);
  letter-spacing: -0.02em;
}
.crm-header p {
  color: var(--muted);
  font-weight: 700;
  margin-top: 8px;
  font-size: 16px;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.stat {
  background: #fff;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(74, 30, 30, 0.06);
  box-shadow: var(--shadow-warm);
  transition: 0.3s;
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 800;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  color: var(--red-deep);
  font-size: 34px;
  margin-top: 12px;
}
.crm-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(74, 30, 30, 0.06);
  box-shadow: var(--shadow-warm);
  overflow: hidden;
}
.crm-card.pad {
  padding: 32px;
}
.filters {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.filters .input {
  background: #fff;
  border: 1.5px solid rgba(74, 30, 30, 0.08);
  border-radius: 16px;
  height: 54px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  padding: 20px 24px;
  background: #faf7f2;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 800;
  border-bottom: 1px solid rgba(74, 30, 30, 0.06);
}
td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(74, 30, 30, 0.04);
  font-size: 14px;
  font-weight: 600;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
tr:hover td {
  background: #fcfaf7;
}
.status {
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  outline: 0;
  appearance: none;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}
.status.Novo {
  background: #e3f2fd;
  color: #1976d2;
}
.status.Em-preparo {
  background: #fff3e0;
  color: #e65100;
}
.status.Saiu-para-entrega {
  background: #f3e5f5;
  color: #7b1fa2;
}
.status.Finalizado {
  background: #e8f5e9;
  color: #2e7d32;
}
.status.Cancelado {
  background: #ffebee;
  color: #c62828;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #faf7f2;
  color: var(--brown-dark);
  font-size: 16px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 30, 30, 0.05);
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--gold-primary);
  color: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 180, 0, 0.15);
  border-color: transparent;
}
.customers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.customer-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(74, 30, 30, 0.06);
  box-shadow: var(--shadow-warm);
  transition: var(--transition-fast);
}
.customer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}
.customer-top {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: center;
}
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.customer-card h3 {
  margin: 0;
  font-size: 22px;
  color: var(--brown-dark);
  font-family: var(--font-display);
}
.customer-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
}
.customer-meta {
  border-top: 1px solid rgba(74, 30, 30, 0.06);
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  font-family: var(--font-body);
}
.customer-meta span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 4px;
}
.customer-meta b {
  font-size: 16px;
  color: var(--brown-dark);
  font-family: var(--font-display);
}
.details-modal {
  width: min(800px, 95%);
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.details-head {
  padding: 32px 40px;
  border-bottom: 1px solid rgba(74, 30, 30, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #faf7f2;
}
.details-head h2 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 32px;
  color: var(--brown-dark);
}
.details-content {
  padding: 40px;
  overflow-y: auto;
  background: #fff;
  display: grid;
  gap: 24px;
  font-family: var(--font-body);
}
.detail-box {
  background: #faf7f2;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(74, 30, 30, 0.04);
}
.detail-box h4 {
  margin: 0 0 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 800;
}
.detail-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(74, 30, 30, 0.06);
}
.detail-line:last-child {
  border-bottom: 0;
}
.details-foot {
  padding: 32px 40px;
  background: var(--brown-dark);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.details-foot strong {
  font-family: var(--font-display);
  color: var(--gold-primary);
  font-size: 32px;
}
#printArea {
  display: none;
}

/* Product Manager Styles */
.crm-products-manager {
  display: grid;
  gap: 48px;
}
.crm-product-form {
  background: #fff;
  padding: 40px;
  border-radius: 32px;
  border: 1px solid rgba(74, 30, 30, 0.06);
  box-shadow: var(--shadow-premium);
  display: grid;
  gap: 28px;
}
.crm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.crm-field {
  display: grid;
  gap: 8px;
}
.crm-field label {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brown-medium);
}
.crm-field .input {
  background: #faf7f2;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brown-dark);
  transition: var(--transition-fast);
}
.crm-field .input:focus {
  border-color: var(--gold-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.1);
  outline: none;
}

.crm-image-upload-wrapper {
  display: flex;
  gap: 24px;
  align-items: center;
}
.product-image-preview {
  width: 140px;
  height: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: rgba(255, 248, 236, 0.75);
  border: 2px dashed rgba(74, 30, 30, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.product-image-preview:hover {
  border-color: var(--gold-primary);
  background: rgba(244, 180, 0, 0.05);
}
.product-image-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.crm-products-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.crm-item-card {
  background: #fff;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(74, 30, 30, 0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-warm);
  position: relative;
}
.crm-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-premium);
}
.crm-item-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.crm-item-img {
  width: 90px;
  height: 90px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 248, 236, 0.75);
  border: 1px solid rgba(74, 30, 30, 0.04);
}
.crm-item-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.crm-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.crm-item-info h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  margin: 0;
  color: var(--brown-dark);
  line-height: 1.2;
}
.crm-item-info p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.crm-item-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  align-items: center;
}
.crm-badge {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}
.crm-badge.cat-badge {
  background: #faf7f2;
  color: var(--muted);
  border-color: rgba(74, 30, 30, 0.05);
}
.crm-badge.fixed {
  background: rgba(74, 30, 30, 0.05);
  color: var(--brown-dark);
}
.crm-badge.custom {
  background: rgba(244, 180, 0, 0.1);
  color: #b38600;
  border-color: rgba(244, 180, 0, 0.2);
}
.crm-item-price {
  font-family: var(--font-display);
  color: var(--red-deep);
  font-size: 20px;
  display: block;
  width: 100%;
  margin-top: 4px;
}

.crm-item-actions {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(74, 30, 30, 0.06);
}
.crm-btn-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  font-weight: 400;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.crm-btn-edit {
  background: #faf7f2;
  color: var(--brown-dark);
  border-color: rgba(74, 30, 30, 0.05);
}
.crm-btn-edit:hover {
  background: rgba(244, 180, 0, 0.1);
  border-color: rgba(244, 180, 0, 0.2);
  transform: translateY(-2px);
}
.crm-btn-delete {
  background: #fff0f0;
  color: #d32f2f;
}
.crm-btn-delete:hover {
  background: #ffe0e0;
  transform: translateY(-2px);
}

.crm-form-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.crm-btn-submit {
  background: linear-gradient(135deg, var(--gold-primary), #e6a800);
  color: var(--brown-dark);
  padding: 22px 56px;
  border-radius: 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 15px 35px rgba(230, 168, 0, 0.3);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  overflow: hidden;
}
.crm-btn-submit:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 45px rgba(230, 168, 0, 0.4);
  filter: brightness(1.15);
}
.crm-btn-submit:active {
  transform: translateY(-2px) scale(0.97);
  box-shadow: 0 10px 20px rgba(230, 168, 0, 0.2);
}
.crm-btn-submit::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: 0.6s;
  pointer-events: none;
}
.crm-btn-submit:hover::after {
  opacity: 1;
  transform: scale(1.2);
}
.crm-btn-cancel {
  background: transparent;
  color: var(--brown-dark);
  padding: 18px 36px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 15px;
  border: 2px solid rgba(74, 30, 30, 0.1);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.crm-btn-cancel:hover {
  background: rgba(74, 30, 30, 0.05);
  border-color: rgba(74, 30, 30, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .crm-form-grid {
    grid-template-columns: 1fr;
  }
  .crm-products-list {
    grid-template-columns: 1fr;
  }
  .crm-image-upload-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .product-image-preview {
    width: 100px;
    height: 100px;
    margin: 0 auto;
  }
  .crm-form-actions {
    flex-direction: column;
  }
  .crm-btn-submit,
  .crm-btn-cancel {
    width: 100%;
  }
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--brown-medium);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1280px) {
  .menu-layout {
    grid-template-columns: 240px 1fr 320px;
    gap: 24px;
  }
}

@media (max-width: 1180px) {
  .menu-layout {
    grid-template-columns: 1fr 330px;
  }
  .desktop-cats {
    display: none;
  }
  .mobile-tabs {
    display: flex;
  }
  .menu-main {
    min-width: 0;
  }
}

@media (max-width: 960px) {
  .menu-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cart-column {
    display: none;
  }
  .floating-cart {
    display: flex;
    z-index: 150;
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .hero {
    padding: 60px 0;
    min-height: 60vh;
    background-attachment: scroll;
  }
  .logo {
    max-width: 240px;
    margin-bottom: 20px;
  }
  .hero-kicker {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: clamp(26px, 8.5vw, 34px);
    line-height: 1.2;
  }
  .hero p {
    font-size: 15px;
    margin-bottom: 28px;
    padding: 0 10px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    padding: 0 32px;
  }
  .btn {
    width: 100%;
  }
  .section-heading h2 {
    font-size: clamp(28px, 8vw, 42px);
  }
  .category-title h3 {
    font-size: 24px;
  }
  .category-title div {
    display: none; /* Prevenir scroll horizontal */
  }
  .product-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .product-main {
    gap: 12px;
  }
  .product-image {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }
  .product-info h4 {
    white-space: normal;
    font-size: 16px;
  }
  .plus-box {
    width: 100%;
    height: 44px;
    margin-top: 12px;
    cursor: pointer;
  }
  .modal {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    width: 94%;
    max-height: 85vh;
    border-radius: 16px;
  }
  .modal-media {
    display: none;
  }
  .modal-scroll {
    padding: 20px;
  }
  .modal h3,
  .modal-product-title {
    font-size: 28px;
  }
  .summary-line {
    font-size: 14px;
    align-items: flex-start;
  }
  .summary-line span {
    flex: 1;
    line-height: 1.3;
  }
  .summary-line b {
    white-space: nowrap;
    font-size: 15px;
  }
  .checkout-total {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .checkout-total-value {
    font-size: clamp(2rem, 12vw, 3rem);
  }
  .checkout-submit {
    border-radius: 18px;
    font-size: 1rem;
    min-height: 58px;
  }
  .checkout-foot {
    padding: 24px;
    gap: 20px;
  }
  .checkout-modal {
    width: 94%;
    height: auto;
    max-height: 85vh;
    border-radius: 16px;
  }
  .checkout-brand {
    padding: 40px 24px;
  }
  .checkout-content {
    height: auto;
  }
  .grid2,
  .choice-grid,
  .option-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .form-section {
    margin-bottom: 12px;
  }
  .crm-shell {
    display: block;
  }
  .crm-sidebar {
    height: auto;
    position: static;
    padding: 16px;
  }
  .crm-nav {
    display: flex;
    overflow-x: auto;
    padding: 8px 0;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .crm-nav a {
    white-space: nowrap;
    padding: 10px 16px;
  }
  .crm-main {
    padding: 20px 12px;
  }
  .crm-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stat {
    padding: 20px;
  }
  .filters {
    flex-direction: column;
  }
  .customers-grid {
    grid-template-columns: 1fr;
  }
  table {
    min-width: 600px;
  }
  .crm-card {
    border-radius: 16px;
  }
  @media (max-width: 480px) {
    .checkout-scroll,
    .checkout-head,
    .checkout-foot {
      padding: 16px;
    }
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }
  #printArea,
  #printArea * {
    visibility: visible !important;
  }
  #printArea {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 320px;
    padding: 14px;
    background: white;
    color: black;
    font-family: monospace;
    font-size: 12px;
  }

  /* Layout Profissional A4 para Relatórios */
  #printArea.cashier-print-mode {
    width: 100% !important;
    max-width: none !important;
    padding: 40px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
  }

  #printArea.cashier-print-mode h1 {
    font-size: 32px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  .report-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 20px;
  }
  .report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .report-box {
    border: 1px solid #000;
    padding: 15px;
  }
  .report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  .report-table th,
  .report-table td {
    padding: 10px;
    border: 1px solid #000;
    text-align: left;
  }

  #printArea h1 {
    text-align: center;
    font-size: 18px;
    margin: 0 0 4px;
  }
  .print-row {
    display: flex;
    justify-content: space-between;
    border-top: 1px dashed #000;
    padding-top: 6px;
    margin-top: 6px;
  }
  .print-section {
    margin: 12px 0;
  }
  .print-section b {
    display: block;
    border-bottom: 1px solid #000;
    text-transform: uppercase;
    font-size: 10px;
    margin-bottom: 4px;
  }
  #printArea .total {
    border-top: 1px solid #000;
    padding-top: 8px;
    font-weight: 900;
    font-size: 14px;
  }
  @page {
    margin: 1cm;
    size: auto;
  }
}

/* Modal and Typography Refinements */
.modal-header {
  padding: 24px 34px 12px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.modal-header
  :is(h1, h2, h3, .modal-title, .product-title, .modal-product-name) {
  display: none !important;
}
.modal-close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(43, 15, 15, 0.06);
  font-size: 24px;
  color: rgba(43, 15, 15, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
  border: none;
  cursor: pointer;
  z-index: 20;
}
.modal-close:hover {
  background: rgba(43, 15, 15, 0.12);
  color: var(--red-deep);
}
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: modalImageFadeIn 0.5s ease;
}
@keyframes modalImageFadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal-close-image {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.25);
  color: white;
}
.western-title,
.modal-product-title,
.category-title,
.section-title,
.site-title,
.page-title,
.product-name,
.product-title,
.menu-item-title,
.card-title,
.item-title {
  font-family: var(--font-display);
  color: var(--brown-dark);
  letter-spacing: 0.02em;
  line-height: 1.1;
  font-weight: 400;
}
.modal-product-title {
  font-size: 48px;
  line-height: 1;
  margin: 0 0 14px;
}

@media (max-width: 860px) {
  .modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(74, 30, 30, 0.09);
  }
  .modal-product-title {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .checkout-brand {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
  }
}

/* Fixes for Modal Headers and Buttons */
.modal-header {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
}
.modal-close:not(.modal-close-image), .xbtn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(43,15,15,0.06);
  color: rgba(43,15,15,0.5);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-close:not(.modal-close-image):hover, .xbtn:hover {
  background: rgba(43,15,15,0.12);
  color: var(--red-deep);
}
.checkout-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

@media (max-width: 768px) {
  .modal {
    grid-template-rows: minmax(0, 1fr);
  }
}

/* Flavor Selector Layout */
.flavors-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flavor-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(43,15,15,0.03);
  border-radius: 12px;
  border: 1px solid rgba(74,30,30,0.05);
}
.flavor-item span {
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--brown-dark);
  font-size: 14px;
}
.fqty {
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.fqty button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}