@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-app: #F3F4F6;
  --bg-card: #FFFFFF;
  --bg-input: #F3F4F6;
  --border-color: #E5E7EB;
  --text-main: #111827;
  --text-muted: #6B7280;
  --primary-color: #FFD700;
  --primary-hover: #EAB308;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --transition: 0.2s ease-in-out;
  --safe-bottom: env(safe-area-inset-bottom, 20px);
  --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[v-cloak] {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-app);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.has-bottom-nav {
  padding-bottom: 90px;
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

header {
  background-color: var(--bg-card);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  width: 30%;
}

.logo-text {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

.logo-text span {
  color: var(--text-main);
}

.btn-back {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 10px;
  cursor: pointer;
}

.header-center {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  cursor: pointer;
  width: 40%;
}

.location-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-xs {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #9CA3AF;
}

.location-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  width: 30%;
}

.text-primary {
  color: var(--primary-color);
}

.text-muted {
  color: var(--text-muted);
}

.quick-links-grid {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.quick-links-grid::-webkit-scrollbar {
  display: none;
}

.quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 75px;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
}

.quick-link-item:active {
  transform: scale(0.95);
}

.link-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.emoji-icon {
  font-size: 2.2rem;
}

.link-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  white-space: nowrap;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  height: 170px;
  width: 100%;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  height: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 10;
}

.carousel-progress-bar {
  height: 100%;
  background: var(--primary-color);
  transition: width 0.05s linear;
}

.search-page-header {
  padding: 15px 0;
  position: sticky;
  top: 0;
  background: var(--bg-app);
  z-index: 35;
}

.search-bar {
  position: relative;
  margin: 20px 0;
}

.search-bar i.ph-magnifying-glass {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
}

.search-bar input {
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 16px 45px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  outline: none;
  box-shadow: var(--shadow-card);
  font-weight: 500;
}

.search-bar input:focus {
  border-color: var(--primary-color);
}

.btn-clear-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  padding: 5px;
  cursor: pointer;
}

.categories-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bubble {
  background: var(--bg-card);
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.sticky-categories {
  position: sticky;
  top: 60px;
  background: var(--bg-app);
  padding: 10px 0;
  z-index: 30;
  margin-bottom: 20px;
}

.categories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.categories::-webkit-scrollbar {
  display: none;
}

.btn-category {
  background-color: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn-category.active {
  background-color: var(--primary-color);
  color: #000;
  border-color: var(--primary-color);
}

.section-title h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-main);
}

.search-results-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 30px 0;
}

.stores-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.store-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
  transition: var(--transition);
}

.store-logo-wrapper {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  padding: 2px;
  border: 2px solid #f3f4f6;
}

.store-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.store-info {
  flex-grow: 1;
}

.store-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.store-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.store-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.dot-separator {
  font-size: 0.5rem;
  opacity: 0.5;
}

.store-status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-aberto {
  background-color: #dcfce7;
  color: #166534;
}

.status-fechado {
  background-color: #fee2e2;
  color: #991b1b;
}

.loja-fechada {
  opacity: 0.6;
  filter: grayscale(100%);
}

.store-header-minimal {
  margin-bottom: 20px;
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.store-header-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.store-logo-medium {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f3f4f6;
}

.store-header-texts h2 {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.store-header-texts p {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.bg-green {
  background-color: #22c55e;
}

.bg-red {
  background-color: #ef4444;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
  transition: 0.2s;
}

.product-card:active {
  transform: scale(0.97);
}

.product-img-wrapper {
  position: relative;
  height: 140px;
  background-color: #fff;
  padding: 10px;
  border-bottom: 1px solid var(--bg-app);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-img-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--border-color);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
}

.btn-add-round {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #000;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 2px 5px rgba(255, 215, 0, 0.4);
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  padding-bottom: var(--safe-bottom);
  z-index: 45;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
}

.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 0 8px;
  color: var(--text-muted);
  text-decoration: none;
  width: 25%;
  transition: var(--transition);
}

.bottom-nav .nav-item i {
  font-size: 1.6rem;
  transition: var(--transition);
}

.bottom-nav .nav-item span {
  font-size: 0.65rem;
  font-weight: 700;
}

.bottom-nav .nav-item.active {
  color: var(--text-main);
}

.bottom-nav .nav-item.active i {
  transform: scale(1.15);
  color: var(--text-main);
}

.cart-bottom-bar {
  position: fixed;
  bottom: 20px;
  left: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: #000;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 40;
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
  cursor: pointer;
  transition: bottom 0.3s;
}

.cart-bottom-bar.lifted {
  bottom: calc(75px + var(--safe-bottom));
}

.slide-up {
  animation: slideUpBar 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpBar {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cart-info {
  display: flex;
  flex-direction: column;
}

.cart-count {
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.8;
  text-transform: uppercase;
}

.cart-total {
  font-size: 1.2rem;
  font-weight: 800;
}

.btn-ver-carrinho {
  background: transparent;
  border: none;
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.modal-content.bottom-sheet {
  background-color: var(--bg-card);
  width: 100%;
  border-radius: 24px 24px 0 0;
  padding: 20px 20px calc(20px + var(--safe-bottom));
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: slideUpSheet 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

@keyframes slideUpSheet {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.modal-drag-handle {
  width: 40px;
  height: 5px;
  background-color: var(--border-color);
  border-radius: 3px;
  margin: 0 auto 15px auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.modal-header h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.btn-close {
  background: var(--bg-app);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.detail-sheet {
  padding: 0 0 calc(20px + var(--safe-bottom)) 0 !important;
}

.floating-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-detail-img-container {
  width: 100%;
  height: 250px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px 24px 0 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.product-detail-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-detail-placeholder {
  font-size: 5rem;
  color: var(--border-color);
}

.product-detail-info {
  padding: 0 20px;
  flex-grow: 1;
  overflow-y: auto;
}

.product-detail-info h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 15px;
}

.product-detail-price {
  font-size: 1.6rem;
  color: #111;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-sticky {
  display: flex;
  gap: 15px;
  padding: 15px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.03);
}

.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-app);
  border-radius: var(--radius-md);
  padding: 0 5px;
  width: 130px;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.quantity-selector button {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 45px;
  height: 45px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-selector span {
  font-weight: 800;
  font-size: 1.1rem;
}

.btn-add-cart {
  flex-grow: 1;
  display: flex;
  justify-content: space-between !important;
  padding: 0 20px !important;
}

.mt-20 {
  margin-top: 20px;
}

.tracking-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.tracking-title {
  display: flex;
  flex-direction: column;
}

.tracking-title strong {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.order-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  padding: 0 10px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  opacity: 0.3;
  transition: 0.3s;
}

.timeline-step.active {
  opacity: 1;
}

.step-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-app);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  transition: 0.3s;
}

.timeline-step.active .step-icon {
  background: #fffbe0;
  border-color: var(--primary-color);
  color: #b45309;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.step-text {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.timeline-line {
  flex-grow: 1;
  height: 3px;
  background: var(--border-color);
  position: relative;
  z-index: 1;
  margin: -25px 5px 0 5px;
  transition: 0.3s;
}

.timeline-line.active {
  background: var(--primary-color);
}

.status-cancelado-banner {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 15px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.tracking-footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding-top: 15px;
  border-top: 1px dashed var(--border-color);
  font-weight: 600;
}

.btn-pedir-cancelamento {
  background: #fff;
  border: 1px solid var(--border-color);
  color: #111;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.ifood-history-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.ifood-history-header {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--bg-app);
  padding-bottom: 15px;
}

.store-img-mock {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-app);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.store-name-status {
  display: flex;
  flex-direction: column;
}

.store-name-status h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-main);
}

.status-text {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.text-green {
  color: #16a34a;
}

.text-red {
  color: #dc2626;
}

.ifood-history-body {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.ifood-item-qtd {
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 800;
  color: var(--text-main);
  font-size: 0.85rem;
}

.ifood-history-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.ajuda-link {
  color: var(--text-main);
  cursor: pointer;
}

.refazer-link {
  color: #ea580c;
  cursor: pointer;
}

.profile-header-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.profile-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--bg-app);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.profile-menu-list {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid var(--bg-app);
  text-decoration: none;
  color: var(--text-main);
}

.profile-menu-item:last-child {
  border-bottom: none;
}

.menu-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-app);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  color: var(--text-muted);
}

.menu-text {
  flex-grow: 1;
}

.menu-text strong {
  font-size: 1.05rem;
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.menu-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.menu-arrow {
  color: var(--text-muted);
  font-size: 1.4rem;
}

.page-title-header {
  padding: 20px 0 10px;
  margin-bottom: 10px;
}

.page-title-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.subsection-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.w-40 {
  flex: 4;
}

.w-60 {
  flex: 6;
}

.w-70 {
  flex: 7;
}

.w-30 {
  flex: 3;
}

.mb-15 {
  margin-bottom: 15px;
}

.form-group input {
  width: 100%;
  background-color: var(--bg-app);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  outline: none;
  font-weight: 500;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.mt-10 {
  margin-top: 10px;
}

.mt-15 {
  margin-top: 15px;
}

.btn-primary-full {
  width: 100%;
  background-color: var(--primary-color);
  color: #000;
  border: none;
  padding: 18px;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.btn-outline {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.btn-danger-outline {
  border: 1px solid #fecaca;
  color: #dc2626;
  background: #fef2f2;
}

.btn-pulse {
  animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}

.link-toggle {
  color: #d97706;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.cart-items {
  overflow-y: auto;
  max-height: 40vh;
  margin-bottom: 15px;
  padding-right: 5px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--bg-app);
}

.item-details h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.item-price {
  color: var(--primary-hover);
  font-weight: 800;
  font-size: 1.1rem;
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-app);
  padding: 4px 6px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.item-actions button {
  background: #fff;
  border: none;
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.item-actions .qtd {
  font-weight: 800;
  width: 24px;
  text-align: center;
}

.resumo-valores {
  background: var(--bg-app);
  padding: 18px;
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
}

.linha-valor {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.total-final {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #d1d5db;
  color: #111;
  font-size: 1.2rem;
  font-weight: 800;
}

.enderecos-scroll {
  max-height: 40vh;
  overflow-y: auto;
  margin-bottom: 10px;
}

/* =============== NOVO VISUAL DE ENDEREÇOS =============== */
.endereco-card {
  background: #fff;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.endereco-card.selecionado {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
  background: #fffdf0;
}

.end-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.end-icon-wrapper {
  padding-top: 2px;
  font-size: 1.4rem;
  color: var(--text-muted);
}

.selecionado .end-icon-wrapper {
  color: var(--primary-color);
}

.end-text-content {
  flex-grow: 1;
}

.end-text-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.end-text-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.end-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.btn-action-end {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
  color: var(--text-muted);
}

.btn-action-end:hover {
  background: var(--bg-app);
}

.btn-action-edit:hover {
  color: #0284c7;
  background: #e0f2fe;
}

.btn-action-delete:hover {
  color: #dc2626;
  background: #fee2e2;
}

/* Botão Adicionar Novo Estilo iFood */
.btn-add-address {
  width: 100%;
  background: transparent;
  color: var(--text-main);
  border: 1px dashed var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.2s;
}

.btn-add-address:hover {
  background: var(--bg-app);
}

.btn-gps {
  width: 100%;
  background: #e0f2fe;
  color: #0284c7;
  border: none;
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.divider-text {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.divider-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: var(--border-color);
  z-index: 1;
}

.divider-text span {
  background: var(--bg-card);
  padding: 0 15px;
  position: relative;
  z-index: 2;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.empty-state-small {
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1.1rem;
}