/* ===== SIMPLIZA - Estilos Principais ===== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --background: #f9f9f9;
  --foreground: #1c1917;
  --card: #ffffff;
  --primary: #16a74a;
  --primary-dark: #128a3d;
  --primary-foreground: #f0fdf4;
  --secondary: #e6f7ed;
  --secondary-blue: #51c1e1;
  --secondary-blue-dark: #3da9cc;
  --muted: #e5e5e5;
  --muted-foreground: #78716c;
  --border: #e5e5e5;
  --accent: #e6f7ed;
  --accent-foreground: #064e1f;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-pop: 0 10px 40px -10px rgba(22, 167, 74, 0.35);
  --radius-lg: 22px;
  --radius-xl: 28px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html,
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
  min-height: 100vh;
}

h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== LAYOUT ===== */
.page-wrapper {
  /* max-width: 480px; */
  margin: 0 auto;
  /* min-height: 100vh; */
  background: var(--background);
  position: relative;
  /* overflow-x: hidden removido — quebraria position:sticky da sidebar em tablet+ */
}

.categoria-section{ 
  scroll-margin-top: 64px;
}
.categoria-banner{
  margin: 0 0 14px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.categoria-banner img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  background: #f5f5f5;
}

.pb-nav {
  padding-bottom: 160px;
}

/* mobile: cobre bottom-nav + sticky-cta */

/* ===== NAVBAR TOPO ===== */
.top-header {
  padding: 16px 20px 12px;
  background: var(--background);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav-cart-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--primary);
  color: var(--primary-foreground, #fff);
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  border-radius: 50px;
  position: fixed;
  bottom: 10px;
  left: 0%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 480px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-top: 1px solid var(--border);
  padding: 6px 0 8px;
}

.bottom-nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}

.bottom-nav .nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 20px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-foreground);
  position: relative;
  transition: color 0.15s;
}

.bottom-nav .nav-item a.active {
  color: var(--foreground);
}

.bottom-nav .nav-item a.active svg {
  stroke: var(--primary);
}

.bottom-nav .nav-item a.active::before {
  content: '';
  position: absolute;
  top: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.badge-count {
  position: absolute;
  top: 2px;
  right: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* ===== CARDS ===== */
.card-soft {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* ===== BUTTONS ===== */
.btn-primary {
  /* display: flex; */
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px;
  width: 100%;
  cursor: pointer;
  box-shadow: var(--shadow-pop);
  transition: background 0.15s, transform 0.1s;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--foreground);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.btn-icon:hover {
  background: var(--muted);
}

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  margin: 12px 0 0;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  width: 100%;
  color: var(--muted-foreground);
  font-size: 14px;
  font-family: var(--font-sans);
}

.search-bar:hover {
  background: var(--muted);
}

/* ===== HERO CARD ===== */
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  padding: 20px;
  cursor: pointer;
  transition: transform 0.15s;
}

.hero-card:active {
  transform: scale(0.98);
}

.hero-card-content {
  max-width: 55%;
  position: relative;
  z-index: 2;
}

.hero-card img {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 176px;
  height: 176px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-pop);
}

.badge-destaque {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ===== CATEGORIES ===== */
.categories-scroll {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  padding: 0 20px;
  gap: 12px;
  display: flex;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--primary);;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-soft);
  min-width: 78px;
  border: none;
  cursor: pointer;
  transition: transform 0.1s;
  font-family: var(--font-sans);
}

.cat-btn:active {
  transform: scale(0.95);
}

.cat-btn .cat-emoji {
  font-size: 24px;
}

.cat-btn .cat-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--foreground);
}

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 20px;
}

.product-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s;
}

.product-card:active {
  transform: scale(0.98);
}

.product-card .img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--muted);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card .card-body {
  padding: 10px 12px 12px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted-foreground);
}

.product-meta svg {
  width: 12px;
  height: 12px;
}

.product-name {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* ===== PRODUCT PAGE ===== */
.product-hero {
  position: relative;
  height: 55vh;
  overflow: hidden;
  background: var(--secondary);
}

.product-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--background), transparent);
}

.product-hero-actions {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.btn-glass {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.product-details {
  margin-top: -24px;
  border-radius: 28px 28px 0 0;
  background: var(--background);
  padding: 24px 20px 140px;
  position: relative;
}

.product-tagline {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.product-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.product-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 8px;
}

.product-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-stats svg {
  width: 14px;
  height: 14px;
}

.product-desc {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.extras-list {
  list-style: none;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-top: 12px;
}

.extra-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.extra-item:last-child {
  border-bottom: none;
}

.extra-name {
  font-size: 14px;
  font-weight: 500;
}

.extra-price {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 2px;
}

.btn-extra-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-extra-toggle.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.notes-area {
  width: 100%;
  resize: none;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  border: none;
  box-shadow: var(--shadow-soft);
  outline: none;
  color: var(--foreground);
  margin-top: 12px;
}

.notes-area:focus {
  outline: 2px solid var(--primary);
}

/* ===== ADD TO CART BAR ===== */
.add-bar {
  position: fixed;
  bottom: 8px;
  /* acima do bottom-nav flutuante (mobile) */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 448px;
  z-index: 30;
  background: var(--foreground);
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-pop);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 2px;
}

.qty-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

.qty-num {
  width: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.btn-add-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn-add-cart:hover {
  background: var(--primary-dark);
}

/* ===== CART PAGE ===== */
.cart-item {
  display: flex;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-extras {
  font-size: 11px;
  color: var(--muted-foreground);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--secondary);
  border-radius: 20px;
}

.cart-qty-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.cart-qty-num {
  width: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.btn-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  padding: 2px;
}

/* ===== SUMMARY ===== */
.summary-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 8px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

/* ===== CHECKOUT ===== */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.step-bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  transition: background 0.3s;
}

.step-bar.active {
  background: var(--primary);
}

.form-field {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
}

.form-field svg {
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.form-field-inner {
  flex: 1;
}

.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.form-field input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--foreground);
}

.form-field input::placeholder {
  color: var(--muted-foreground);
}

/* ===== PAYMENT OPTIONS ===== */
.pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: border-color 0.15s;
}

.pay-option.active {
  border-color: var(--primary);
}

.pay-option-title {
  font-size: 14px;
  font-weight: 600;
}

.pay-option-sub {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 2px;
}

.pay-radio {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.pay-option.active .pay-radio {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* ===== EMPTY STATES ===== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 32px;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  background: var(--secondary);
  border-radius: 50%;
  margin-bottom: 20px;
}

.empty-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.empty-sub {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 24px;
}

/* ===== SUCCESS PAGE ===== */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(249, 247, 244, 0.95);
  text-align: center;
  padding: 32px;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop-in {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

.success-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-sub {
  font-size: 14px;
  color: var(--muted-foreground);
}

/* ===== SEARCH PAGE ===== */
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  margin-top: 12px;
}

.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--foreground);
}

.search-input-wrap input::placeholder {
  color: var(--muted-foreground);
}

.btn-clear {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
}

.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform 0.1s;
}

.search-result:active {
  transform: scale(0.98);
}

.search-result img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.search-result-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-tag {
  font-size: 12px;
  color: var(--muted-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

/* ===== PAGE TRANSITIONS ===== */
.page-fade-in {
  animation: fade-in 0.22s ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== UTILITY ===== */
.star-icon {
  color: var(--primary);
  fill: var(--primary);
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-foreground);
}

.gap-tag {
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ===== PAGE SECTIONS ===== */
.section {
  padding: 0 20px;
  margin-top: 28px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.section-count {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* ===== STICKY BOTTOM CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 80px;
  /* fica acima do bottom-nav flutuante (mobile) */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 448px;
  z-index: 30;
}

.sticky-cta-carrinho {
  bottom: 80px;
  /* fica acima do bottom-nav flutuante (mobile) */
  left: 50%;
  width: calc(100% - 32px);
  max-width: 448px;
  z-index: 30;
}

/* ===== BACK HEADER ===== */
.back-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-header h1 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

/* ===== Endereço ===== */
.btn-cep {
  align-self: center;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cep:hover {
  background: var(--primary-dark);
}

.btn-cep:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.address-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--card, #fff);
  border: 1px solid var(--border, #eee);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.address-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--muted, #f5f5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.address-card-body {
  flex: 1;
  min-width: 0;
}

.address-card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
}

.address-card-sub {
  font-size: 12px;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.4;
}

.address-card-edit {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
}

.address-empty {
  text-align: center;
  padding: 32px 16px;
  border: 1px dashed var(--border, #e3e3e3);
  border-radius: 14px;
  background: var(--muted, #fafafa);
}

.address-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 12px;
}

.address-empty-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}

.address-empty-sub {
  font-size: 13px;
  color: var(--muted-foreground);
  margin: 0;
}

/* Em telas grandes, deixa o formulário centralizado */
@media (min-width: 768px) {
  #endereco-form {
    max-width: 560px;
    margin: 0 auto;
  }
}

/* ===== BANNER DA LOJA ===== */
.store-banner {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.store-banner-bg {
  position: absolute;
  inset: 0;
}

.store-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.store-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.72) 100%);
}

.store-banner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px 16px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

/* .store-banner-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px; */
  /* background: var(--primary); */
  /* color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
} */

.store-banner-info {
  flex: 1;
  min-width: 0;
}

.store-banner-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  line-height: 1.1;
}

.store-banner-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.store-banner-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.store-banner-meta-sep {
  opacity: .6;
}

.store-banner-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
}

.store-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
  flex-shrink: 0;
}

.store-banner-addr {
  position: absolute;
  top: 32px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  max-width: 60%;
  font-family: var(--font-sans);
}

.store-banner-addr span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.store-banner-addr:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ===== SELETOR DE PAGAMENTO (botão fora do modal) ===== */
.pay-selector-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
  cursor: pointer;
  transition: border-color 0.15s;
  font-family: var(--font-sans);
  gap: 10px;
}

.pay-selector-btn.active {
  border-color: var(--primary);
}

.pay-selector-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* Label de grupo no modal */
.pay-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Opções dentro do modal */
.pay-modal-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 13px 14px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
  margin-bottom: 10px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: border-color 0.13s, transform 0.1s;
}

.pay-modal-opt:active {
  transform: scale(0.98);
}

.pay-modal-opt.active {
  border-color: var(--primary);
}

/* ===== TROCO ===== */
.troco-card {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1.5px solid rgba(194, 65, 12, 0.18);
}

.troco-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 6px;
}

.troco-hint {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 12px;
  line-height: 1.5;
}

.troco-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
}

.troco-prefix {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.troco-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--foreground);
  width: 100%;
}

.troco-input-wrap input::placeholder {
  color: var(--border);
  font-weight: 400;
}

.troco-result {
  margin-top: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
}

/* Modal Bootstrap ajustes */
#modalPagamento .modal-content {
  background: var(--background);
}

/* ══════════════════════════════════════════════════════

/* ════════════════════════════════════════════════════════════════

/* ════════════════════════════════════════════════════════════════
   RESPONSIVIDADE — SIMPLIZA v1.0
   ● < 640px    → mobile  : bottom-nav pill flutuante no rodapé
   ● 640–1023px → tablet  : sidebar vertical 220px à esquerda
   ● ≥ 1024px   → desktop : sidebar 260px + conteúdo central
                             cards de produto redesenhados (4 col)
   ════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────
   CARDS DE PRODUTO — base (mobile-first)
   desc escondida no mobile, visível no desktop
   ────────────────────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--muted);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-card .card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .product-name {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* DESC: escondida no mobile */
.product-card-desc {
  display: none;
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0 0 10px;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 6px;
  padding-top: 8px;
}

.product-price-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-card .product-price {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1;
}

.product-add-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.35);
  transition: transform 0.1s, background 0.15s;
  flex-shrink: 0;
}

.product-add-btn:hover {
  background: var(--primary-dark);
}

.product-add-btn:active {
  transform: scale(0.92);
}

/* ──────────────────────────────────────────────
   MOBILE MUITO PEQUENO (< 400px)
   ────────────────────────────────────────────── */
@media (max-width: 399px) {

  .option-group-header {
    padding: 12px 14px 8px;
  }

  .option-group-label {
    font-size: 14px;
  }

  .option-grid {
    padding: 6px 10px 10px;
    gap: 4px;
  }

  .option-btn {
    padding: 8px 12px;
    border-radius: 8px;
  }

  .option-btn .option-name {
    font-size: 12px;
  }

  .option-btn .option-emoji {
    font-size: 16px;
  }

  .option-btn .option-price {
    font-size: 10px;
  }

  .option-btn .option-check {
    width: 18px;
    height: 18px;
  }

  .flavor-row {
    padding: 0 10px 10px;
  }

  .flavor-col {
    padding: 8px 10px;
  }

  .flavor-col .option-btn {
    padding: 6px 10px;
  }

  .flavor-col .option-btn .option-name {
    font-size: 11px;
  }

  .flavor-col .option-btn .option-emoji {
    font-size: 14px;
  }

  .store-banner {
    height: 170px;
  }

  .store-banner-name {
    font-size: 17px;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 12px;
  }

  .section {
    padding: 0 12px;
  }

  .product-card .product-name {
    font-size: 12px;
  }

  .product-card .product-price {
    font-size: 13px;
  }

  .product-add-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .success-title {
    font-size: 24px;
  }

  .success-icon {
    width: 80px;
    height: 80px;
  }

  .success-icon svg {
    width: 40px;
    height: 40px;
  }

  .status-step .step-label {
    font-size: 13px;
  }
}

@media (max-width: 639px) {

  /* Grid de produtos: 2 colunas */
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 16px;
  }

  /* Bottom-nav: pill flutuante */
  .bottom-nav {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 360px;
    border-radius: 50px;
    border-top: 1px solid var(--border);
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    z-index: 40;
  }

  .bottom-nav ul {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .bottom-nav .nav-item {
    flex: 1;
  }

  .bottom-nav .nav-item a {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4px 8px 2px;
    font-size: 10px;
    font-weight: 500;
    gap: 3px;
    border-radius: 0;
    color: var(--muted-foreground);
    width: 100%;
  }

  .bottom-nav .nav-item a svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .bottom-nav .nav-item a.active {
    color: var(--primary);
    background: transparent;
  }

  .bottom-nav .nav-item a.active svg {
    stroke: var(--primary);
  }

  .bottom-nav .nav-item a.active::before {
    display: none;
  }

  .bottom-nav::before,
  .bottom-nav::after {
    display: none;
  }

  /* Badge absoluto sobre o ícone */
  #cart-badge {
    position: absolute;
    top: 0px;
    right: calc(50% - 24px);
    transform: none;
    z-index: 1;
  }

  /* Espaço para não o conteúdo ficar atrás do nav */
  .pb-nav {
    padding-bottom: 110px;
  }

  /* CTAs fixos acima do nav */
  .sticky-cta,
  .add-bar {
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 448px;
    z-index: 30;
    /* margin-bottom: 5rem; */
  }

  /* CTAs fixos acima do nav */
  /* .sticky-cta-carrinho,
  .add-bar {
    bottom: 8px;
    left: 50%;
    width: calc(100% - 32px);
    max-width: 448px;
    z-index: 30;

  } */
  .sticky-cta-carrinho{
    bottom: 8px;
    left: 50%;
    width: calc(100% - 32px);
    max-width: 448px;
    z-index: 30;
    margin-bottom: 6rem;
  }

  /* Produto: padding para não sufocar atrás da add-bar */
  .product-details {
    padding-bottom: 160px !important;
  }

  /* Endereço: botão salvar fixo */
  .addr-save-bar {
    position: fixed;
    bottom: 8px;
    left: 5%;
    /* transform: translateX(-50%); */
    width: calc(100% - 32px);
    max-width: 448px;
    background: transparent;
    border-top: none;
    padding: 0;
    margin-bottom: 0;
    z-index: 30;
  }

  #endereco-form {
    padding-bottom: 160px !important;
  }

  /* Headers sticky */
  .back-header {
    position: sticky;
    top: 0;
  }

  .top-header {
    position: sticky;
    top: 0;
  }

  .store-banner-addr {
    position: absolute;
    top: 69px;
    right: 5px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 6px 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    max-width: 60%;
    font-family: var(--font-sans);
  }

}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.product-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.4;
  white-space: nowrap;
  color: #fff;
}

/* Cores das tags */
.tag-zero-lactose {
  background: #4CAF50;
}

.tag-sem-gluten {
  background: #FF9800;
}

.tag-vegano {
  background: #8BC34A;
}

.tag-vegetariano {
  background: #66BB6A;
}

.tag-light {
  background: #42A5F5;
}

.tag-low-carb {
  background: #AB47BC;
}

.tag-orgânico {
  background: #26A69A;
}

.tag-caseiro {
  background: #EF5350;
}

.tag-artesanal {
  background: #EC407A;
}

.tag-gourmet {
  background: #D4A017;
}

.tag-promocao {
  background: #E53935;
  animation: pulse-tag 1.5s ease-in-out infinite;
}

@keyframes pulse-tag {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* ──────────────────────────────────────────────
   TABLET (640px – 1023px)
   sidebar pill vertical à esquerda (igual ao mobile, rotacionado)
   ────────────────────────────────────────────── */

@media (max-width: 480px) {
  .flavor-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tracking-float-btn {
    bottom: 80px;
    right: 12px;
    padding: 8px 14px 8px 10px;
    font-size: 12px;
  }

  .tracking-float-btn .btn-icon-track {
    font-size: 18px;
  }

  .tracking-float-btn .btn-text .btn-label {
    font-size: 9px;
  }

  .tracking-float-btn .btn-text .btn-order-id {
    font-size: 11px;
  }
}

@media (min-width: 640px) {

  html,
  body {
    background: var(--secondary);
  }

  .option-group {
    border-radius: 18px;
    margin-bottom: 18px;
  }

  .option-group-header {
    padding: 16px 20px 12px;
  }

  .option-group-label {
    font-size: 16px;
  }

  .option-grid {
    padding: 10px 16px 16px;
    gap: 8px;
  }

  .option-btn {
    padding: 12px 16px;
    border-radius: 12px;
  }

  .option-btn .option-name {
    font-size: 14px;
  }

  .option-btn .option-emoji {
    font-size: 20px;
  }

  .option-btn .option-price {
    font-size: 12px;
  }

  .flavor-row {
    padding: 0 16px 16px;
  }

  .flavor-col {
    padding: 12px 16px;
  }

  .flavor-col .option-btn {
    padding: 10px 14px;
  }

  /* Layout: sidebar + conteúdo */
  .page-wrapper {
    max-width: 100%;
    /* min-height: 100vh; */
    display: grid;
    grid-template-columns: 100px 1fr;
    /* sidebar estreita, estilo mobile */
    grid-template-rows: 1fr;
    align-items: start;
    background: #ededed;
  }

  #app-main {
    grid-column: 2;
    grid-row: 1;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    background: var(--background);
    min-height: 100vh;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .product-tag {
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 5px;
  }

  .success-page {
    padding: 0 32px 100px;
  }

  .success-header h1 {
    font-size: 26px;
  }

  .success-title {
    font-size: 32px;
  }

  .success-page {
    padding: 0 40px 80px;
  }

  .success-hero {
    padding: 40px 0 30px;
  }

  .success-icon {
    width: 120px;
    height: 120px;
  }

  .success-icon svg {
    width: 60px;
    height: 60px;
  }

  /* ── SIDEBAR: pill flutuante vertical, estilo mobile ── */
  .bottom-nav {
    position: sticky;
    top: 35%;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    height: auto;
    max-height: calc(100vh - 32px);
    width: 72px;
    max-width: none;
    overflow: visible;
    transform: none;

    /* Mesmo glass/pill do mobile */
    border-radius: 50px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    margin: 16px auto 16px 16px;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 40;
  }

  /* Sem ::before / ::after decorativos */
  .bottom-nav::before,
  .bottom-nav::after {
    display: none;
  }

  /* Items: coluna, ícone + label, igual ao mobile */
  .bottom-nav ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .bottom-nav .nav-item {
    width: 100%;
    flex: none;
  }

  .bottom-nav .nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 6px;
    border-radius: 0;
    font-size: 10px;
    font-weight: 500;
    color: var(--muted-foreground);
    width: 100%;
    white-space: nowrap;
    transition: color 0.15s;
    position: relative;
  }

  .bottom-nav .nav-item a svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .bottom-nav .nav-item a.active {
    color: var(--primary);
    background: transparent;
  }

  .bottom-nav .nav-item a.active svg {
    stroke: var(--primary);
  }

  .bottom-nav .nav-item a.active::before {
    display: none;
  }

  /* Badge sobre o ícone */
  #cart-badge {
    position: absolute !important;
    top: 4px;
    right: 8px;
    margin-left: 0;
    transform: none !important;
    top: 4px !important;
    right: 8px !important;
  }

  /* Sem padding-bottom extra */
  .pb-nav {
    padding-bottom: 48px;
  }

  /* CTAs sticky no fluxo */
  .sticky-cta {
    position: sticky;
    bottom: 8px;
    left: auto;
    transform: none;
    /* width: auto; */
    max-width: none;
    margin: 0 16px 8px;
    z-index: 20;
  }

  /* CTAs sticky no fluxo */
  .sticky-cta-carrinho {
    bottom: 8px;
    left: auto;
    transform: none;
    /* width: auto; */
    max-width: none;
    margin: 0 16px 8px;
    z-index: 20;
  }

  .add-bar {
    position: sticky;
    bottom: 16px;
    left: auto;
    transform: none;
    width: calc(100% - 32px);
    max-width: none;
    margin: 0 auto 1rem;
    z-index: 20;
  }

  /* Endereço: botão salvar sticky */
  .addr-save-bar {
    position: sticky;
    bottom: 0;
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
    margin-bottom: 1rem;
    z-index: 20;
  }

  /* Headers sticky */
  .back-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .top-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  /* Produto: padding razoável */
  .product-details {
    padding-bottom: 120px;
  }

  /* Banner */
  .store-banner {
    height: 220px;
  }

  /* Produtos: 2 colunas */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 20px;
  }

  /* DESC visível no tablet: 2 linhas */
  .product-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card .card-body {
    padding: 14px 16px 16px;
  }

  .product-card .product-name {
    font-size: 15px;
    white-space: normal;
  }

  .product-card .product-price {
    font-size: 16px;
  }

  .product-add-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  /* Categorias: wrap */
  .categories-scroll {
    flex-wrap: wrap;
    overflow-x: visible;
    white-space: normal;
    gap: 10px;
    padding: 0 20px;
  }

  .section {
    padding: 0 20px;
    margin-top: 28px;
  }

  .tracking-float-btn {
    bottom: 30px;
    right: 30px;
  }
}

/* ===== TELA DE SUCESSO ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  padding: 0 20px 120px;
}

.success-header {
  padding: 20px 0 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.success-header h1 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.success-hero {
  text-align: center;
  padding: 30px 0 20px;
}

.success-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: success-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(22, 167, 74, 0.3);
}

.success-icon svg {
  width: 50px;
  height: 50px;
  stroke: white;
  stroke-width: 2.5;
}

@keyframes success-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  80% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 4px;
}

.success-sub {
  font-size: 14px;
  color: var(--muted-foreground);
  margin: 0 0 4px;
}

.success-order-id {
  font-size: 13px;
  color: var(--muted-foreground);
  background: var(--card);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 4px;
  font-weight: 600;
  border: 1px solid var(--border);
}

.success-order-id strong {
  color: var(--foreground);
}

/* ===== STATUS DO PEDIDO ===== */
.status-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
  margin: 16px 0;
  border: 1px solid var(--border);
}

.status-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.status-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 28px;
}

.status-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--border);
}

.status-step {
  position: relative;
  padding: 8px 0 8px 16px;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.status-step.active {
  opacity: 1;
}

.status-step.current .step-dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 167, 74, 0.15);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(22, 167, 74, 0.15);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(22, 167, 74, 0.05);
  }
}

.status-step.completed .step-dot {
  background: var(--primary);
}

.status-step .step-dot {
  position: absolute;
  left: -22px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s;
}

.status-step .step-dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--card);
}

.status-step.active .step-dot::after {
  background: var(--primary);
}

.status-step .step-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.status-step .step-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}

.status-step .step-time {
  font-size: 12px;
  color: var(--muted-foreground);
}

.status-step .step-desc {
  font-size: 13px;
  color: var(--muted-foreground);
}

/* ===== RESUMO DO PEDIDO ===== */
.order-summary-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
  margin: 12px 0;
  border: 1px solid var(--border);
  margin-top: 1rem;
}

.order-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.order-summary-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  font-family: var(--font-display);
}

.order-summary-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.order-summary-item .item-qty {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-foreground);
  min-width: 24px;
}

.order-summary-item .item-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.order-summary-item .item-price {
  font-size: 14px;
  font-weight: 600;
}

.order-summary-totals {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

.order-summary-totals .total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
  color: var(--muted-foreground);
}

.order-summary-totals .total-row.grand-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--foreground);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 4px;
}

/* ===== BOTÕES ===== */
.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.btn-outline-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.15s;
}

.btn-outline-primary:hover {
  background: var(--secondary);
  transform: translateY(-1px);
}

.btn-outline-primary:active {
  transform: scale(0.98);
}

/* ===== ESTRELAS DE AVALIAÇÃO ===== */
.rating-section {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  margin: 12px 0;
  border: 1px solid var(--border);
  text-align: center;
}

.rating-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
}

.rating-section p {
  font-size: 13px;
  color: var(--muted-foreground);
  margin: 0 0 12px;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.stars button {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  transition: transform 0.15s;
  color: var(--border);
  padding: 4px;
  line-height: 1;
}

.stars button:hover {
  transform: scale(1.2);
}

.stars button.active {
  color: #f59e0b;
}

.customization-section {
  margin-top: 20px;
}

.option-group {
  margin-bottom: 16px;
  background: var(--card);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e8e8e8;
}

.option-group-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-group-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground);
}

.option-group-label .required {
  color: #e53935;
  font-size: 11px;
  font-weight: 500;
  margin-left: 6px;
}

.option-group-sub {
  font-size: 11px;
  color: var(--muted-foreground);
  font-weight: 400;
}

.option-grid {
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #e8e8e8;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  width: 100%;
  position: relative;
}

.option-btn:hover {
  border-color: #d0d0d0;
  background: var(--secondary);
}

.option-btn.active {
  border-color: var(--primary);
  background: #f0f9f5;
}

.option-btn .option-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.option-btn .option-emoji {
  font-size: 18px;
  flex-shrink: 0;
}

.option-btn .option-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.option-btn .option-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  text-align: left;
}

.option-btn .option-price {
  font-size: 11px;
  color: var(--muted-foreground);
  font-weight: 400;
}

.option-btn.active .option-price {
  color: var(--primary);
  font-weight: 500;
}

.option-btn .option-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.option-btn .option-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: white;
}

.option-btn.active .option-check {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(22, 167, 74, 0.2);
}

.option-btn.active .option-check svg {
  animation: check-pop 0.2s ease;
}

@keyframes check-pop {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* ===== SEGUNDA ABA DE SABORES (quando 2 sabores) ===== */
.flavor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
  padding: 0 12px 12px;
}

.flavor-col {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafafa;
}

.flavor-col-header {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-align: center;
}

.flavor-col .option-btn {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
}

.flavor-col .option-btn .option-name {
  font-size: 12px;
}

.flavor-col .option-btn .option-emoji {
  font-size: 16px;
}

.flavor-col .option-btn .option-price {
  font-size: 10px;
}

.flavor-col .option-btn .option-check {
  width: 18px;
  height: 18px;
}

/* ===== SELECTION BADGE ===== */
.selection-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-foreground);
  background: #f5f5f5;
  padding: 6px 14px;
  border-radius: 20px;
  margin: 4px 0 0;
}

.selection-badge .selected-count {
  font-weight: 700;
  color: var(--primary);
}

/* ===== BOTÃO FLUTUANTE DE ACOMPANHAMENTO ===== */
.tracking-float-btn {
  position: fixed;
  bottom: 90px;
  right: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 10px 16px 10px 12px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 20px rgba(22, 167, 74, 0.4);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  animation: float-btn-appear 0.5s ease;
}

.tracking-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(22, 167, 74, 0.5);
  background: var(--primary-dark);
}

.tracking-float-btn:active {
  transform: scale(0.95);
}

.tracking-float-btn .btn-icon-track {
  font-size: 20px;
  line-height: 1;
}

.tracking-float-btn .btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.tracking-float-btn .btn-text .btn-label {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.85;
}

.tracking-float-btn .btn-text .btn-order-id {
  font-size: 12px;
  font-weight: 700;
}

.tracking-float-btn .btn-badge {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
}

.tracking-float-btn .btn-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot-track 1.5s ease-in-out infinite;
}

@keyframes pulse-dot-track {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.8);
    opacity: 0.5;
  }
}

@keyframes float-btn-appear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Esconder em páginas específicas */
body.hide-tracking-btn .tracking-float-btn {
  display: none !important;
}

/* ──────────────────────────────────────────────
   DESKTOP (≥ 1024px)
   sidebar pill vertical à esquerda — estilo idêntico ao mobile, mas em desktop
   ────────────────────────────────────────────── */
@media (min-width: 1024px) {

  .option-group {
    border-radius: 20px;
  }

  .option-group-header {
    padding: 18px 24px 14px;
  }

  .option-grid {
    padding: 12px 20px 20px;
    gap: 10px;
  }

  .option-btn {
    padding: 14px 20px;
    border-radius: 14px;
  }

  .option-btn .option-name {
    font-size: 15px;
  }

  .option-btn .option-emoji {
    font-size: 22px;
  }

  .option-btn .option-price {
    font-size: 13px;
  }

  .option-btn:hover {
    border-color: var(--primary);
    transform: translateX(4px);
  }

  .flavor-row {
    padding: 0 20px 20px;
    gap: 16px;
  }

  .flavor-col {
    padding: 14px 20px;
  }

  .flavor-col .option-btn {
    padding: 12px 16px;
  }

  .flavor-col .option-btn .option-name {
    font-size: 13px;
  }

  .success-page {
    padding: 0 40px 80px;
  }

  .success-hero {
    padding: 40px 0 30px;
  }

  .success-icon {
    width: 120px;
    height: 120px;
  }

  .success-icon svg {
    width: 60px;
    height: 60px;
  }

  .product-tag {
    font-size: 10px;
    padding: 3px 12px;
    border-radius: 6px;
  }

  .page-wrapper {
    grid-template-columns: 110px 1fr;
    /* sidebar pill compacta */
    /* max-width: 1400px; */
    margin: 0 auto;
    box-shadow: 0 0 0 1px var(--border);
  }

  /* Sidebar: pill maior e mais visível */
  .bottom-nav {
    width: 86px;
    margin: 20px auto 20px 20px;
    padding: 16px 0;
    border-radius: 50px;
    /* herda glass e sombra do tablet */
  }

  .bottom-nav::before,
  .bottom-nav::after {
    display: none;
  }

  .bottom-nav .nav-item a {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    font-size: 11px;
    border-radius: 0;
  }

  .bottom-nav .nav-item a svg {
    width: 24px;
    height: 24px;
  }

  /* Badge */
  #cart-badge {
    position: absolute !important;
    top: 4px !important;
    right: 10px !important;
  }

  /* Conteúdo central */
  #app-main {
    max-width: 860px;
  }

  /* Banner */
  .store-banner {
    height: 260px;
  }

  /* ── GRID: 4 colunas, cards bons de tamanho ── */
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 24px;
  }

  /* Imagem quadrada no desktop */
  .product-card .img-wrap {
    aspect-ratio: 1;
  }

  /* Nome não trunca: até 2 linhas */
  .product-card .product-name {
    font-size: 14px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
  }

  /* DESC: 2 linhas no desktop */
  .product-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    margin: 6px 0 0;
  }

  /* Preço e botão */
  .product-card .product-price {
    font-size: 16px;
  }

  .product-add-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .product-card .card-body {
    padding: 14px 16px 16px;
  }

  .product-price-row {
    padding-top: 10px;
  }


  /* Hover nos cards */
  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.13);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  /* Seções */
  .section {
    padding: 0 24px;
    margin-top: 32px;
  }

  .categories-scroll {
    padding: 0 24px;
  }

  /* Hero do produto */
  .product-hero {
    height: 44vh;
    min-height: 300px;
  }

  .product-title {
    font-size: 30px;
  }

  /* Scrollbar fina */
  #app-main::-webkit-scrollbar {
    width: 4px;
  }

  #app-main::-webkit-scrollbar-track {
    background: transparent;
  }

  #app-main::-webkit-scrollbar-thumb {
    background: var(--muted);
    border-radius: 4px;
  }

  html {
    scroll-behavior: smooth;
  }

  .tracking-float-btn {
    bottom: 40px;
    right: 40px;
    padding: 12px 20px 12px 16px;
    font-size: 14px;
  }
}

/* ──────────────────────────────────────────────
   HOVER GERAL (mouse)
   ────────────────────────────────────────────── */
@media (hover: hover) {
  .product-add-btn:hover {
    background: var(--primary-dark);
  }

  .pay-option:hover {
    background: var(--secondary);
  }

  .pay-modal-opt:hover {
    background: var(--secondary);
  }

  .cat-btn:hover {
    background: var(--secondary);
    transform: translateY(-1px);
  }

  .search-result:hover {
    background: var(--secondary);
  }

  .btn-icon:hover {
    background: var(--muted);
  }

  .modalidade-btn:hover {
    background: var(--secondary);
  }
}

/* ════════════════════════════════════════════════
   REDESIGN — CARDS, BANNER, CARROSSEL, etc.
   (mantido do v5.3 / v6)
   ════════════════════════════════════════════════ */
.store-banner {
  height: 230px;
}

/* Logo + nome no topo do banner */
.store-banner-top {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-banner-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  /* background: var(--primary); */
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.store-banner-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* Bloco inferior do banner */
.store-banner-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Linha 1: status + chips — margin-bottom 1rem */
.store-banner-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.store-description {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  overflow: hidden;
}

.store-description-chip {
  display: inline-block;
  flex: 0 1 auto;
  max-width: 100%;

  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;

  padding: 4px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;

  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

/* Chip genérico */
.store-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  white-space: nowrap;
}

/* Dot de status */
.store-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
  flex-shrink: 0;
}

/* Linha 2: endereço — largura total */
.store-banner-addr {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  /* reset de estilos anteriores */
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  width: 100%;
}

.store-banner-addr-full {
  width: 97%;
}

.store-banner-addr span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-banner-addr:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Boas-vindas */
.welcome-row {
  padding: 20px 20px 0;
}

.welcome-sub {
  font-size: 12px;
  color: var(--muted-foreground);
  margin: 0 0 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.welcome-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.welcome-search {
  padding: 12px 20px 0;
}

/* Carrossel */
.promo-carousel-wrap {
  padding: 16px 0 0;
  overflow: hidden;
}

.promo-carousel {
  overflow: hidden;
}

.promo-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.promo-slide {
  flex: 0 0 calc(100% - 40px);
  margin: 0 20px;
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  position: relative;
  overflow: hidden;
}

.promo-content {
  max-width: 65%;
  z-index: 1;
}

.promo-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.promo-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-sans);
}

.promo-emoji {
  font-size: 48px;
  position: absolute;
  right: 20px;
  bottom: -4px;
  opacity: 0.9;
}

.promo-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 0;
}

.promo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.promo-dot.active {
  width: 18px;
  border-radius: 4px;
  background: var(--primary);
}

/* Categorias */
.cat-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: var(--card);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.cat-btn.active {
  border-color: var(--primary);
  background: var(--accent);
}

.cat-btn .cat-emoji {
  font-size: 22px;
}

.cat-btn .cat-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--foreground);
}

/* Search page */
.search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.search-results-wrap {
  padding: 12px 16px;
}

.search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0 20px;
}

.search-empty-emoji {
  font-size: 40px;
  margin-bottom: 10px;
}

.search-empty-text {
  font-size: 14px;
  color: var(--muted-foreground);
}

/* Back-header */
.back-header-stack {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 16px 20px;
}

.back-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-header-titles h1 {
  margin: 0;
  line-height: 1.1;
}

.back-header-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted-foreground);
}

.checkout-header .checkout-steps {
  margin-top: 14px;
}

.checkout-header .back-header-titles {
  flex: 1;
  min-width: 0;
}

.back-header-stack .back-header-titles {
  display: flex;
  flex-direction: column;
}

.checkout-content {
  padding: 18px 20px 200px;
}

/* Cupom */
.coupon-row {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 14px;
  box-shadow: var(--shadow-soft);
  align-items: center;
}

.coupon-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.coupon-input-wrap svg {
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.coupon-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--foreground);
}

.btn-coupon {
  background: var(--foreground);
  color: var(--primary-foreground);
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  flex-shrink: 0;
  transition: background 0.15s;
}

.btn-coupon:hover {
  background: #333;
}

/* Summary cart */
.cart-summary-card {
  margin: 16px 0 0 !important;
  padding: 20px !important;
}

.cart-summary-card .summary-row {
  padding: 6px 0;
  font-size: 14px;
}

.cart-summary-card .summary-total {
  padding-top: 14px;
  margin-top: 8px;
  font-size: 16px;
}

/* BTN CTA strong */
.btn-cta-strong {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-pop) !important;
}

/* Modo entrega */
.mode-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mode-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.15s;
}

.mode-opt.active {
  border-color: var(--primary);
}

.mode-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.15s;
}

.mode-opt.active .mode-radio {
  border-color: var(--primary);
  background: var(--primary);
}

.mode-opt.active .mode-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

.mode-icon {
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.mode-opt.active .mode-icon {
  color: var(--primary);
}

.mode-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mode-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}

.mode-sub {
  font-size: 12px;
  color: var(--muted-foreground);
}

.addr-block,
.obs-block {
  margin-bottom: 14px;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin: 0 0 8px;
}

.plain-input-wrap {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-soft);
}

.plain-input-wrap input,
.plain-input-wrap textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--foreground);
  resize: none;
}

/* Pay selector */
.pay-selector-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
  cursor: pointer;
  transition: border-color 0.15s;
  font-family: var(--font-sans);
  gap: 10px;
}

.pay-selector-btn.active {
  border-color: var(--primary);
}

.pay-selector-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pay-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pay-group-hint {
  font-size: 12px;
  color: var(--muted-foreground);
  margin: -6px 0 10px;
  line-height: 1.5;
}

.pay-modal-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 13px 14px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
  margin-bottom: 10px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: border-color 0.13s, transform 0.1s;
}

.pay-modal-opt:active {
  transform: scale(0.98);
}

.pay-modal-opt.active {
  border-color: var(--primary);
}

.pay-modal-text {
  flex: 1;
}

.pay-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.15s;
}

.pay-modal-opt.active .pay-check {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.pay-modal-content {
  border-radius: 24px !important;
  background: var(--background) !important;
  border: none !important;
  max-height: 80vh;
}

.pay-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}

.pay-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin: 0;
}

.pay-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  padding: 4px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.pay-modal-close:hover {
  background: var(--secondary);
}

.pay-modal-body {
  overflow-y: auto;
  padding: 16px 20px 24px;
}

/* Campos de pagamento */
.pay-fields-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
  border: 1.5px solid var(--border);
}

.pay-fields-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--foreground);
}

.pay-summary {
  margin: 0 0 16px;
}

/* Troco */
.troco-card {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1.5px solid rgba(194, 65, 12, 0.18);
  margin-bottom: 16px;
}

.troco-question {
  font-size: 14px;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 12px;
}

.troco-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 8px;
}

.troco-radio input {
  display: none;
}

.troco-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.troco-radio:has(input:checked) .troco-radio-dot {
  border-color: var(--primary);
  background: var(--primary);
}

.troco-radio:has(input:checked) .troco-radio-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

.troco-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
  margin-top: 10px;
}

.troco-prefix {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.troco-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--foreground);
  width: 100%;
}

.troco-result {
  margin-top: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
}

/* PIX QR */
.pix-qr-box {
  display: flex;
  justify-content: center;
  margin: 0 auto 20px;
  width: 196px;
  height: 196px;
  border-radius: 20px;
  padding: 8px;
  background: white;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--border);
}

.pix-value-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  margin-bottom: 4px;
}

.pix-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 6px;
}

.pix-discount-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.pix-key-box {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  margin: 0 auto 20px;
  max-width: 360px;
  border: 1.5px solid var(--border);
}

.pix-key-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  margin-bottom: 8px;
}

.pix-key-value {
  font-size: 13px;
  font-family: monospace;
  color: var(--foreground);
  word-break: break-all;
  background: var(--secondary);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
  user-select: all;
}

.pix-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-pop);
  transition: background 0.15s, transform 0.1s;
  font-family: var(--font-sans);
}

.pix-copy-btn:hover {
  background: var(--primary-dark);
}

.pix-copy-btn:active {
  transform: scale(0.98);
}

.pix-instructions {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* addr-save-bar base */
.addr-save-bar {
  position: sticky;
  bottom: 0;
  background: var(--background);
  padding: 16px 20px;
  margin-bottom: 1rem;
  border-top: 1px solid var(--border);
  z-index: 20;
}

/* btn-cep */
.btn-cep {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  flex-shrink: 0;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-cep:hover {
  background: var(--primary-dark);
}

/* ===== ACOMPANHAMENTO DE PEDIDO ===== */
.order-info-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  border: 1.5px solid var(--border);
}

.order-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.timeline-step.active {
  opacity: 1;
}

.timeline-step.current .timeline-icon {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px var(--accent);
}

.timeline-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.timeline-step.active .timeline-icon {
  background: var(--primary);
  color: white;
}

.timeline-content {
  flex: 1;
  padding-top: 4px;
}

.timeline-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 2px;
}

.timeline-time {
  font-size: 12px;
  color: var(--muted-foreground);
}

.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15.5px;
  top: 32px;
  width: 1px;
  height: calc(100% + 16px);
  background: var(--border);
}

.timeline-step.active:not(:last-child)::before {
  background: var(--primary);
}

/* Botão outline */
.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--foreground);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.15s;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--accent);
}

/* Card de endereço clicável */
.addr-display-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.15s;
}

.addr-display-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-pop);
}


/* Imagens dos produtos - Busca e Carrinho */
.product-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result .product-image {
  width: 100px;
  height: 100px;
}

.cart-item .product-image {
  width: 80px;
  height: 80px;
}

/*======================================================
=                    TOAST
======================================================*/

.toast-message {

  position: fixed;

  left: 50%;

  top: 25px;

  transform: translate(-50%, -80px);

  min-width: 280px;

  max-width: 420px;

  padding: 16px 20px;

  border-radius: 18px;

  display: flex;

  align-items: center;

  gap: 15px;

  color: white;

  opacity: 0;

  visibility: hidden;

  transition: .35s;

  z-index: 999999;

  box-shadow: 0 20px 45px rgba(0, 0, 0, .18);

}

.toast-message.show {

  opacity: 1;

  visibility: visible;

  transform: translate(-50%, 0);

}

.toast-icon {

  width: 34px;

  height: 34px;

  border-radius: 50%;

  background: white;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 18px;

  font-weight: bold;

  flex-shrink: 0;

}

.toast-text {

  font-size: 15px;

  font-weight: 600;

}

/* SUCCESS */

.toast-success {

  background: #18B45B;

}

.toast-success .toast-icon {

  color: #18B45B;

}

/* ERROR */

.toast-error {

  background: #E53935;

}

.toast-error .toast-icon {

  color: #E53935;

}

/* WARNING */

.toast-warning {

  background: #F9A825;

}

.toast-warning .toast-icon {

  color: #F9A825;

}

/* INFO */

.toast-info {

  background: #1976D2;

}

.toast-info .toast-icon {

  color: #1976D2;

}

.price {
  font-size: 26px;
  font-weight: bold;
  color: #18B45B
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  margin: 18px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .08)
}

.card h2 {
  margin: 0 0 15px;
  font-size: 18px
}

.card h2 span {
  float: right;
  font-size: 12px;
  color: #18B45B
}

label {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee
}

label:last-child {
  border: 0
}

.qty {
  display: flex;
  align-items: center;
  background: #333;
  color: #fff;
  border-radius: 10px
}

.qty button {
  background: none;
  border: none;
  color: #fff;
  padding: 15px
}

.add {
  flex: 1;
  background: #18B45B;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: bold
}

/* Estilos dos botões clicáveis */
.delivery-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

.store-chip-clickable {
  cursor: pointer;
  transition: background 0.15s;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
}

.store-chip-clickable:hover {
  background: rgba(255, 255, 255, 0.35);
}

.store-chip-clickable svg {
  width: 12px;
  height: 12px;
}

/* Estilos dos modais */
.modal-content {
  border-radius: 24px !important;
  background: var(--background) !important;
  border: none !important;
}

.modal-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 20px 14px;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin: 0;
}

.modal-body {
  padding: 16px 20px 24px;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-day {
  font-weight: 600;
}

.schedule-hour {
  color: var(--muted-foreground);
}

.payment-option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  background: var(--card);
  margin-bottom: 8px;
  border: 2px solid transparent;
  cursor: default;
  transition: border-color 0.15s;
}

.payment-option-item:hover {
  border-color: var(--primary);
}

.payment-option-item .pay-name {
  font-weight: 600;
  font-size: 14px;
}

/* ===== PRODUTO INDISPONÍVEL ===== */
.product-card.unavailable {
  position: relative;
  cursor: default;
  opacity: 0.85;
  transition: opacity 0.3s;
  pointer-events: none;
}

.product-card.unavailable:hover {
  opacity: 1;
}

.product-card.unavailable .img-wrap {
  filter: grayscale(0.4) blur(1px);
}

.product-card.unavailable .unavailable-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  z-index: 5;
  backdrop-filter: blur(3px);
  transition: background 0.3s;
}

.product-card.unavailable:hover .unavailable-overlay {
  background: rgba(0, 0, 0, 0.65);
}

.product-card.unavailable .unavailable-overlay .unavailable-icon {
  font-size: 36px;
  margin-bottom: 8px;
  animation: float-icon 2s ease-in-out infinite;
}

@keyframes float-icon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.product-card.unavailable .unavailable-overlay .unavailable-text {
  color: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.product-card.unavailable .unavailable-overlay .unavailable-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  margin-top: 4px;
  font-weight: 500;
}

.product-card.unavailable .product-add-btn {
  opacity: 0.3;
  pointer-events: none;
}

.product-card.unavailable .product-price {
  color: var(--muted-foreground);
}

.product-badge-soon {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #f59e0b, #e53935);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px rgba(229, 57, 53, 0.3);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.product-badge-soon.indisponivel {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  animation: none;
}

/* ===== HAPPY HOUR ===== */
.product-card .happy-hour-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #f59e0b, #e53935);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px rgba(229, 57, 53, 0.3);
  animation: pulse-happy 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 4px;
}

@keyframes pulse-happy {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 12px rgba(229, 57, 53, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(229, 57, 53, 0.5);
  }
}

.product-card .happy-hour-badge .hh-icon {
  font-size: 14px;
}

.product-card .happy-hour-badge .hh-discount {
  background: rgba(255, 255, 255, 0.2);
  padding: 0 6px;
  border-radius: 10px;
  font-size: 9px;
}

.product-card .original-price {
  font-size: 12px;
  color: var(--muted-foreground);
  text-decoration: line-through;
  margin-right: 6px;
}

.product-card .happy-price {
  color: #e53935;
  font-weight: 700;
  font-size: 14px;
}

/* Banner de Happy Hour na home */
.happy-hour-banner {
  background: linear-gradient(135deg, #f59e0b, #e53935);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 12px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.3);
  animation: pulse-banner 3s ease-in-out infinite;
}

@keyframes pulse-banner {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(229, 57, 53, 0.3);
  }

  50% {
    box-shadow: 0 12px 40px rgba(229, 57, 53, 0.5);
  }
}

.happy-hour-banner .hh-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.happy-hour-banner .hh-left .hh-emoji {
  font-size: 32px;
}

.happy-hour-banner .hh-left .hh-text {
  font-size: 14px;
  font-weight: 600;
}

.happy-hour-banner .hh-left .hh-text small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;
}

.happy-hour-banner .hh-time {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.happy-hour-banner .hh-cta {
  background: white;
  color: #e53935;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.2s;
}

.happy-hour-banner .hh-cta:hover {
  transform: scale(1.05);
}

.hh-product-banner {
  background: linear-gradient(135deg, #f59e0b, #e53935);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 12px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.3);
  animation: pulse-hh-banner 2s ease-in-out infinite;
}

@keyframes pulse-hh-banner {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.3);
  }

  50% {
    box-shadow: 0 6px 24px rgba(229, 57, 53, 0.5);
  }
}

.hh-product-banner .hh-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hh-product-banner .hh-left .hh-icon {
  font-size: 28px;
}

.hh-product-banner .hh-left .hh-text {
  font-size: 14px;
  font-weight: 600;
}

.hh-product-banner .hh-left .hh-text small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;
}

.hh-product-banner .hh-timer {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.hh-product-banner .hh-timer .hh-clock {
  margin-right: 4px;
}

.hh-product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 4px;
}

.hh-product-price .original-price {
  font-size: 18px;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.hh-product-price .discount-price {
  font-size: 28px;
  font-weight: 700;
  color: #e53935;
}

.hh-product-price .discount-badge {
  background: linear-gradient(135deg, #f59e0b, #e53935);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3);
}

.hh-product-price .discount-badge .db-icon {
  font-size: 14px;
}

.hh-countdown {
  font-size: 12px;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.hh-countdown .cd-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hh-countdown .cd-time {
  font-weight: 600;
  color: var(--foreground);
}

/* Ajuste no preço do add-bar */
.add-bar .hh-add-price {
  display: flex;
  align-items: center;
  gap: 6px;
}

.add-bar .hh-add-price .add-original {
  font-size: 12px;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.add-bar .hh-add-price .add-discount {
  font-size: 14px;
  font-weight: 700;
  color: #e53935;
}