/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f0f0f0;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.app-container {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  position: relative;
  padding-bottom: 0px;
}

/* ===== HEADER BANNER ===== */
.header-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-cover {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #333;
}

.banner-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.28);
  transform-origin: 50% 50%;
}

.restaurant-body {
  position: relative;
  background: #fff;
  border-radius: 34px 34px 0 0;
  margin-top: -30px;
  z-index: 5;
  padding-top: 60px;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  z-index: 15;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 3px 15px rgba(0,0,0,0.18);
  background: #1a1a1a;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== RESTAURANT INFO ===== */
.restaurant-info {
  text-align: center;
  padding: 12px 24px 18px;
}

.restaurant-name {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.social-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #666;
  font-size: 15px;
  transition: all 0.25s;
}

.social-icon:hover {
  border-color: #e67e22;
  color: #e67e22;
  transform: scale(1.08);
}

.info-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: #555;
  flex-wrap: wrap;
  margin-bottom: 6px;
  line-height: 1.6;
}

.info-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.info-item i {
  color: #999;
  font-size: 11px;
}

.info-item strong {
  color: #333;
  font-weight: 600;
}

.info-separator {
  color: #ccc;
  font-size: 10px;
}

.free-badge {
  background: #1a8f4e;
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.location {
  font-size: 12.5px;
  color: #777;
  margin-bottom: 5px;
}

.location i {
  color: #d50000;
  font-size: 11px;
}

.rating {
  font-size: 13px;
  color: #444;
  margin-bottom: 10px;
}

.rating i {
  color: #1a1a1a;
  font-size: 12px;
}

.rating strong {
  color: #1a1a1a;
  font-weight: 700;
  margin-left: 2px;
}

.rating-count {
  color: #888;
  font-weight: 400;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

.status.open {
  color: #1a8f4e;
  background: #eaf7ef;
}

.status i {
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #1a8f4e;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

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

/* ===== PROMO TARJA ===== */
.promo-first-order {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 13px 20px;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.2px;
  width: 100%;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1a1a1a;
  padding: 24px 20px;
  text-align: center;
  margin-top: 10px;
}

.footer-brand {
  font-size: 12px;
  color: #ccc;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 8px;
}

.footer-info {
  font-size: 11px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-payments {
  margin-bottom: 14px;
}

.footer-payments-label {
  display: block;
  font-size: 10.5px;
  color: #777;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.footer-payments-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-payments-icons i {
  font-size: 24px;
  color: #555;
  transition: color 0.2s;
}

.footer-payments-icons i:hover {
  color: #f5d442;
}

.footer-credits {
  font-size: 11px;
  color: #666;
  line-height: 1.5;
  padding-top: 12px;
  border-top: 1px solid #333;
}

.footer-credits strong {
  color: #f5d442;
  font-weight: 700;
}

/* ===== COUNTDOWN PROMOÇÃO ===== */
.countdown-b {
  margin: 12px 16px 6px;
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
  background: #1a1a1a;
  border: none;
}

.countdown-b-text {
  font-size: 13px;
  font-weight: 700;
  color: #f5d442;
  font-style: italic;
  margin-bottom: 12px;
}

.countdown-b-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.countdown-b-blocks {
  display: flex;
  align-items: center;
  gap: 8px;
}

.countdown-b-block {
  background: #f5d442;
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}

.countdown-b-num {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-b-unit {
  font-size: 10px;
  font-weight: 600;
  color: #7a6a10;
  margin-top: 3px;
}

.countdown-b-msg {
  font-size: 12.5px;
  color: #999;
  line-height: 1.4;
  padding: 10px 14px;
  border: 1.5px dashed #444;
  border-radius: 10px;
}

.countdown-b-msg i {
  color: #d50000;
  font-size: 12px;
}


/* ===== PROMO BANNERS ===== */
.promo-banners {
  padding: 16px 16px 12px;
}

.promo-first-order i {
  margin-left: 4px;
  font-size: 13px;
}

.promo-pill {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 28px;
  padding: 13px 22px;
  text-align: center;
  font-size: 13.5px;
  color: #444;
  margin-bottom: 10px;
  transition: all 0.3s;
  line-height: 1.4;
}

.promo-pill strong {
  color: #1a1a1a;
  font-weight: 700;
}

.promo-pill.highlight {
  border-color: #ddd;
  background: #fff;
}

.promo-pill.highlight mark {
  background: none;
  color: #d50000;
  font-weight: 600;
}

/* ===== CATEGORIES ===== */
.categories {
  padding: 14px 16px 8px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.categories-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-btn {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 25px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-btn:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

.category-btn.active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #f5d442;
}

.category-btn i {
  font-size: 13px;
}

/* ===== OFFERS ===== */
.offers {
  padding: 6px 16px 20px;
}

.offer-card {
  border: 1px solid #eeeeee;
  border-radius: 14px;
  padding: 0;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  transition: all 0.25s;
}

.offer-card:hover {
  border-color: #ddd;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.offer-badge {
  padding: 6px 14px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  margin: 14px 0 0 14px;
}

.offer-badge.monday {
  background: #d50000;
  color: #fff;
}

.offer-badge.bestseller {
  background: #d50000;
  color: #fff;
}

.offer-badge.new {
  background: #1a1a1a;
  color: #f5d442;
}

.offer-content {
  display: flex;
  padding: 10px 14px 16px;
  gap: 14px;
  align-items: flex-start;
}

.offer-text {
  flex: 1;
  min-width: 0;
}

.offer-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.4;
}

.free-shipping {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  color: #1a8f4e;
  font-weight: 600;
  margin-bottom: 6px;
}

.free-shipping i {
  margin-right: 4px;
  font-size: 11px;
}

.promo-today {
  background: #fff;
  border: 1.5px solid #d50000;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 700;
  color: #d50000;
  margin-bottom: 6px;
  text-align: center;
  display: inline-block;
  letter-spacing: 0.3px;
}

.price-block {
  margin-top: 4px;
}

.old-price {
  font-size: 12.5px;
  color: #999;
  display: block;
  line-height: 1.5;
}

.old-price s {
  text-decoration: line-through;
}

.new-price-label {
  font-size: 11.5px;
  color: #999;
}

.new-price {
  font-size: 26px;
  font-weight: 600;
  color: #077C22;
  display: block;
  line-height: 1.2;
}

.social-proof {
  font-size: 11.5px;
  color: #777;
  margin-top: 6px;
  line-height: 1.4;
  font-style: italic;
}

.urgency {
  font-size: 11.5px;
  color: #e67e22;
  margin-top: 4px;
}

.highlight-count {
  background: #1a8f4e;
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.offer-image {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.offer-card:hover .offer-image img {
  transform: scale(1.05);
}

.add-btn {
  display: none;
}

/* ===== CLICKABLE OFFER CARDS ===== */
.offer-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

/* ===== CART FLOAT ===== */
.cart-float {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 450px;
  background: #1a1a1a;
  border-radius: 14px;
  padding: 14px 20px;
  color: #f5d442;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { transform: translateX(-50%) translateY(100px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.cart-float:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.cart-float-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-float-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.cart-float-left i {
  font-size: 17px;
}

.cart-float-right {
  font-size: 17px;
  font-weight: 700;
}

.cart-float-label {
  display: block;
  text-align: center;
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.8;
}

/* ===== CART MODAL ===== */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  display: none;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(3px);
}

.cart-modal.active {
  display: flex;
  animation: fadeIn 0.25s;
}

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

.cart-modal-content {
  background: #fff;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideModal 0.3s ease-out;
}

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

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

.cart-modal-header h2 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
}

.cart-modal-header h2 i {
  color: #e67e22;
  margin-right: 8px;
}

.close-cart {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f3f3f3;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-cart:hover {
  background: #d50000;
  color: #fff;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px;
}

.empty-cart {
  text-align: center;
  color: #aaa;
  font-size: 14px;
  padding: 28px 0;
}

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

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 3px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: #1a8f4e;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover {
  border-color: #e67e22;
  color: #e67e22;
}

.qty-btn.minus:hover {
  border-color: #d50000;
  color: #d50000;
}

.cart-item-qty {
  font-size: 15px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.cart-summary {
  padding: 14px 20px 22px;
  border-top: 1.5px solid #f0f0f0;
  background: #fafafa;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
  color: #666;
}

.cart-summary-row.total {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  padding-top: 8px;
  border-top: 1px dashed #ddd;
}

.free-text {
  color: #1a8f4e;
  font-weight: 600;
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: #1a1a1a;
  color: #f5d442;
  border: none;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.25);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  background: #333;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
}

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

.checkout-btn i {
  font-size: 19px;
}

/* ===== ANIMATIONS ===== */
.offer-card {
  animation: cardIn 0.45s ease-out;
  animation-fill-mode: both;
}

.offer-card:nth-child(2) { animation-delay: 0.08s; }
.offer-card:nth-child(3) { animation-delay: 0.16s; }
.offer-card:nth-child(4) { animation-delay: 0.24s; }
.offer-card:nth-child(5) { animation-delay: 0.32s; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #1a1a1a;
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  z-index: 300;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 90%;
}

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

.toast i {
  color: #1a8f4e;
  font-size: 15px;
}

/* ===== PRODUCT PAGE ===== */
.product-page {
  padding-bottom: 90px;
}

.product-hero {
  position: relative;
  width: 100%;
  background: #f5f5f5;
}

.back-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;
  background: #1a1a1a;
  color: #f5d442;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  transition: all 0.25s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.back-btn:hover {
  transform: scale(1.04);
}

.back-btn:active {
  transform: scale(0.97);
}

.product-hero-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
}

.product-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.product-hero-logo {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}

.logo-mini {
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(6px);
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-mini i {
  color: #e67e22;
  font-size: 13px;
}

.logo-mini-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ===== PRODUCT DETAILS ===== */
.product-details {
  text-align: center;
  padding: 22px 22px 16px;
}

.product-title {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 10px;
}

.product-description {
  font-size: 13px;
  color: #888;
  line-height: 1.55;
  margin-bottom: 12px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.product-pricing {
  margin-bottom: 10px;
}

.product-pricing .old-price {
  display: block;
  font-size: 14px;
  margin-bottom: 0;
}

.product-pricing .new-price-label {
  font-size: 13px;
}

.product-pricing .new-price {
  font-size: 28px;
  font-weight: 800;
}

.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #1a8f4e;
  font-weight: 500;
  background: #eaf7ef;
  padding: 5px 14px;
  border-radius: 16px;
}

.product-stock i {
  font-size: 11px;
}

/* ===== ADD-ONS SECTION ===== */
.addons-section {
  margin: 14px 16px;
  background: #fafafa;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
}

.addons-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.addons-header-left h2 {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1px;
}

.addons-subtitle {
  font-size: 11.5px;
  color: #999;
  font-weight: 400;
}

.addons-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f0f0f0;
  padding: 5px 10px;
  border-radius: 16px;
  transition: all 0.25s;
}

.addons-badge.completed {
  background: #eaf7ef;
}

.addons-badge-text {
  font-size: 11px;
  font-weight: 600;
  color: #666;
}

.addons-badge .fa-check-circle {
  font-size: 15px;
  color: #ccc;
  transition: color 0.3s;
}

.addons-badge.completed .fa-check-circle {
  color: #1a8f4e;
}

/* ===== ADD-ON ITEMS ===== */
.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  transition: all 0.25s;
}

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

.addon-item.selected {
  background: #f0faf4;
  border-left: 3px solid #1a8f4e;
}

.addon-info {
  flex: 1;
  margin-right: 12px;
}

.addon-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.addon-promo {
  display: block;
  font-size: 12px;
  color: #1a8f4e;
  font-weight: 500;
}

.addon-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  padding: 3px 8px;
  background: #fafafa;
}

.addon-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.addon-btn:hover {
  color: #e67e22;
  background: #fff3e0;
}

.addon-btn.minus:hover {
  color: #d50000;
  background: #fde8e8;
}

.addon-qty {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  min-width: 18px;
  text-align: center;
}

/* ===== NOTES SECTION ===== */
.notes-section {
  padding: 18px 16px 22px;
}

.notes-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.notes-input-wrapper {
  position: relative;
}

.notes-input {
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  padding-bottom: 28px;
  border: 1.5px solid #e5e5e5;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #333;
  resize: none;
  transition: border-color 0.25s;
  background: #fafafa;
}

.notes-input:focus {
  outline: none;
  border-color: #e67e22;
  background: #fff;
}

.notes-input::placeholder {
  color: #bbb;
}

.char-counter {
  position: absolute;
  bottom: 8px;
  right: 14px;
  font-size: 11px;
  color: #bbb;
  font-weight: 500;
}

/* ===== BOTTOM BAR ===== */
.product-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-top: 1.5px solid #eee;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  box-shadow: 0 -3px 16px rgba(0,0,0,0.05);
}

.product-bottom-price {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
}

.finalize-btn {
  padding: 13px 28px;
  background: #1a1a1a;
  color: #f5d442;
  border: none;
  border-radius: 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.25s;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.finalize-btn:hover {
  transform: translateY(-1px);
  background: #333;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.3);
}

.finalize-btn:active {
  transform: scale(0.97);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 380px) {
  .restaurant-name {
    font-size: 20px;
  }

  .info-details {
    font-size: 11.5px;
  }

  .offer-text h3 {
    font-size: 13px;
  }

  .new-price {
    font-size: 20px;
  }

  .offer-image {
    width: 85px;
    height: 85px;
  }

  .banner-cover {
    height: 130px;
  }
}

@media (min-width: 481px) {
  body {
    padding-top: 0;
  }

  .app-container {
    box-shadow: 0 0 30px rgba(0,0,0,0.08);
    overflow: hidden;
  }

  .banner-cover {
    border-radius: 0;
  }
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  padding: 20px 0 24px;
}

.reviews-header {
  padding: 0 16px 16px;
}

.reviews-rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.reviews-score {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
}

.reviews-stars {
  display: flex;
  gap: 2px;
  color: #f5d442;
  font-size: 14px;
}

.reviews-count {
  font-size: 12px;
  color: #999;
  font-weight: 500;
}

.reviews-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.reviews-scroll::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex-shrink: 0;
  width: 200px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  scroll-snap-align: start;
  transition: all 0.25s;
}

.review-card:hover {
  border-color: #ddd;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.review-photo {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-body {
  padding: 12px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.review-name {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}

.review-stars {
  font-size: 11.5px;
  font-weight: 700;
  color: #f5a623;
  display: flex;
  align-items: center;
  gap: 3px;
}

.review-stars i {
  font-size: 10px;
}

.review-text {
  font-size: 12px;
  color: #666;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== CHECKOUT MODAL ===== */
.checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.checkout-modal.active {
  display: flex;
  animation: fadeIn 0.25s;
}

.checkout-modal-content {
  background: #fff;
  width: 100%;
  max-width: 480px;
  height: 100%;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (min-width: 481px) {
  .checkout-modal-content {
    height: 92vh;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  }
}

/* ===== CHECKOUT HEADER ===== */
.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  flex-shrink: 0;
}

.checkout-back-btn,
.checkout-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: #555;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.checkout-back-btn:hover,
.checkout-close-btn:hover {
  background: #eee;
  color: #1a1a1a;
}

.checkout-steps-indicator {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #999;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.step-dot.active {
  background: #1a1a1a;
  color: #f5d442;
}

.step-dot.completed {
  background: #1a8f4e;
  color: #fff;
}

.step-line {
  width: 24px;
  height: 2px;
  background: #e0e0e0;
  transition: background 0.3s;
}

.step-line.active {
  background: #1a8f4e;
}

/* ===== CHECKOUT BODY ===== */
.checkout-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
}

.checkout-step {
  display: none;
}

.checkout-step.active {
  display: block;
  animation: fadeSlideIn 0.3s ease-out;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.checkout-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-step-title i {
  color: #e67e22;
  font-size: 20px;
}

/* ===== FORM STYLES ===== */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group label .optional {
  text-transform: none;
  font-weight: 400;
  color: #aaa;
  font-size: 11.5px;
}

.form-group input {
  padding: 12px 14px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  background: #fafafa;
  transition: all 0.25s;
}

.form-group input:focus {
  outline: none;
  border-color: #1a1a1a;
  background: #fff;
}

.form-group input[readonly] {
  background: #f5f5f5;
  color: #666;
}

.form-error {
  font-size: 11.5px;
  color: #d50000;
  font-weight: 500;
  min-height: 16px;
}

.cep-input-wrapper {
  display: flex;
  gap: 8px;
}

.cep-input-wrapper input {
  flex: 1;
}

.cep-search-btn {
  padding: 12px 18px;
  background: #1a1a1a;
  color: #f5d442;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s;
  white-space: nowrap;
}

.cep-search-btn:hover {
  background: #333;
}

.cep-search-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.form-row {
  display: flex;
  gap: 10px;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.address-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeSlideIn 0.35s ease-out;
}

/* ===== PAYMENT OPTIONS ===== */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1.5px solid #e5e5e5;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
  background: #fff;
}

.payment-option:hover {
  border-color: #ccc;
}

.payment-option.selected {
  border-color: #1a1a1a;
  background: #fafafa;
}

.payment-option.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.payment-option-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.payment-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.pix-icon {
  background: #e8f5e9;
  color: #1a8f4e;
}

.card-icon {
  background: #f5f5f5;
  color: #999;
}

.payment-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.payment-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.payment-desc {
  font-size: 12px;
  color: #888;
  font-weight: 500;
}

.payment-desc.unavailable {
  color: #d50000;
}

.payment-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ddd;
  position: relative;
  transition: all 0.25s;
}

.payment-radio.active {
  border-color: #1a1a1a;
}

.payment-radio.active::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  background: #1a1a1a;
  border-radius: 50%;
}

.payment-unavailable-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

/* ===== PIX CONTAINER ===== */
.pix-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pix-qr-wrapper {
  text-align: center;
}

.pix-qr-mock {
  width: 180px;
  height: 180px;
  background: #f5f5f5;
  border: 2px dashed #ddd;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.pix-qr-mock i {
  font-size: 80px;
  color: #ccc;
}

.pix-instruction {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}

.pix-copy-section {
  width: 100%;
}

.pix-copy-section label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pix-code-wrapper {
  display: flex;
  gap: 8px;
}

.pix-code-input {
  flex: 1;
  padding: 11px 14px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: #666;
  background: #f5f5f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pix-copy-btn {
  padding: 11px 16px;
  background: #1a1a1a;
  color: #f5d442;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s;
  white-space: nowrap;
}

.pix-copy-btn:hover {
  background: #333;
}

.pix-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #e67e22;
  font-weight: 500;
  background: #fff8ee;
  padding: 10px 18px;
  border-radius: 10px;
  width: 100%;
  justify-content: center;
}

.pix-timer i {
  font-size: 14px;
}

/* ===== PIX QR CODE REAL ===== */
.pix-qr-real {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  margin: 0 auto 12px;
  display: block;
  border: 2px solid #e5e5e5;
}

/* ===== PIX APROVADO ===== */
.pix-approved {
  text-align: center;
  padding: 30px 20px;
}

.pix-approved-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pixApprovedBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pix-approved-icon i {
  font-size: 80px;
  color: #1a8f4e;
}

.pix-approved-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a8f4e;
  margin-bottom: 10px;
}

.pix-approved-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.5;
}

.pix-approved-details {
  margin-top: 20px;
  padding: 14px 20px;
  background: #eaf7ef;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pix-approved-details span {
  font-size: 13px;
  font-weight: 600;
  color: #1a8f4e;
}

.pix-approved-details i {
  font-size: 14px;
}

@keyframes pixApprovedBounce {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ===== TELA DE PEDIDO CONFIRMADO ===== */
.pix-approved {
  text-align: center;
  padding: 20px 16px;
}

.pix-approved-check {
  margin-bottom: 16px;
}

.pix-approved-check-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #1a8f4e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: pixApprovedBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(26, 143, 78, 0.35);
}

.pix-approved-check-circle i {
  font-size: 32px;
  color: #fff;
}

.pix-approved-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a8f4e;
  margin-bottom: 4px;
}

.pix-approved-subtitle {
  font-size: 13.5px;
  color: #888;
  margin-bottom: 20px;
}

.pix-approved-delivery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff8e1;
  border: 1.5px solid #ffe082;
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 5px;
}

.pix-approved-delivery i {
  font-size: 20px;
  color: #f57c00;
}

.pix-approved-delivery span {
  font-size: 14px;
  color: #333;
}

.pix-approved-delivery strong {
  color: #e65100;
}

/* --- Card do Pedido --- */
.order-confirmed-card {
  background: #fafafa;
  border: 1.5px solid #eee;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.order-confirmed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e0e0e0;
}

.order-confirmed-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
}

.order-confirmed-number {
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
  font-family: monospace;
}

.order-confirmed-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.order-confirmed-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #555;
  line-height: 1.4;
}

.order-confirmed-item-qty {
  color: #1a8f4e;
  font-weight: 700;
  flex-shrink: 0;
  min-width: 22px;
}

.order-confirmed-item-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-confirmed-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1.5px solid #e0e0e0;
  font-size: 14px;
  color: #1a1a1a;
}

.order-confirmed-total strong {
  font-size: 17px;
  font-weight: 800;
  color: #1a8f4e;
}

/* --- Order Tracking Timeline --- */
.order-tracking {
  padding: 16px 0;
  margin-bottom: 16px;
}

.order-tracking-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.3s;
}

.order-tracking-step.active {
  background: #f0faf4;
}

.order-tracking-step.current {
  background: #e8f7ee;
  border: 1.5px solid #c3e8d2;
}

.order-tracking-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.order-tracking-step.active .order-tracking-icon {
  background: #1a8f4e;
}

.order-tracking-icon i {
  font-size: 14px;
  color: #bbb;
  transition: color 0.3s;
}

.order-tracking-step.active .order-tracking-icon i {
  color: #fff;
}

.order-tracking-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.order-tracking-title {
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  transition: color 0.3s;
}

.order-tracking-step.active .order-tracking-title {
  color: #1a1a1a;
}

.order-tracking-step.current .order-tracking-title {
  color: #1a8f4e;
  font-weight: 700;
}

.order-tracking-time {
  font-size: 11px;
  color: #bbb;
}

.order-tracking-step.active .order-tracking-time {
  color: #888;
}

.order-tracking-step.current .order-tracking-time {
  color: #1a8f4e;
  font-weight: 600;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.order-tracking-line {
  width: 2px;
  height: 16px;
  background: #e5e5e5;
  margin-left: 29px;
  border-radius: 2px;
  transition: background 0.3s;
}

.order-tracking-line.active {
  background: #1a8f4e;
}

/* --- Estimativa de Entrega --- */
.order-delivery-estimate {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff8ee;
  border: 1.5px solid #ffe0a6;
  border-radius: 12px;
  padding: 14px 18px;
  text-align: left;
}

.order-delivery-estimate > i {
  font-size: 22px;
  color: #e67e22;
  flex-shrink: 0;
}

.order-delivery-estimate div {
  display: flex;
  flex-direction: column;
}

.order-delivery-estimate strong {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1px;
}

.order-delivery-estimate span {
  font-size: 12px;
  color: #888;
}

/* ===== CHECKOUT SUMMARY ===== */
.checkout-summary {
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
  flex-shrink: 0;
}

.checkout-summary-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: #1a1a1a;
  transition: all 0.2s;
}

.checkout-summary-toggle:hover {
  background: #f5f5f5;
}

.checkout-summary-toggle i:first-child {
  color: #e67e22;
  margin-right: 8px;
}

#summaryToggleIcon {
  transition: transform 0.3s;
  font-size: 12px;
  color: #999;
}

#summaryToggleIcon.collapsed {
  transform: rotate(180deg);
}

.checkout-summary-body {
  padding: 0 20px 14px;
  max-height: 200px;
  overflow-y: auto;
  transition: all 0.3s;
}

.checkout-summary-body.collapsed {
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
}

.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.checkout-summary-item-name {
  color: #555;
  font-weight: 500;
  flex: 1;
  margin-right: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-summary-item-qty {
  color: #999;
  font-size: 12px;
  margin-right: 8px;
  flex-shrink: 0;
}

.checkout-summary-item-price {
  font-weight: 700;
  color: #1a1a1a;
  flex-shrink: 0;
}

.checkout-summary-totals {
  border-top: 1px dashed #e0e0e0;
  padding-top: 10px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.checkout-summary-row.total {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1.5px solid #e0e0e0;
}

/* ===== CHECKOUT FOOTER ===== */
.checkout-footer {
  padding: 14px 20px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.checkout-next-btn {
  width: 100%;
  padding: 15px;
  background: #1a1a1a;
  color: #f5d442;
  border: none;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
  letter-spacing: 0.3px;
}

.checkout-next-btn:hover {
  background: #333;
  transform: translateY(-1px);
}

.checkout-next-btn:active {
  transform: scale(0.98);
}

.checkout-next-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.checkout-next-btn.success {
  background: #1a8f4e;
  color: #fff;
}

/* ===== MODAL DE LOCALIZAÇÃO (4 STEPS) ===== */
.loc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  animation: locFadeIn 0.35s ease forwards;
}

.loc-overlay.hidden {
  animation: locFadeOut 0.3s ease forwards;
  pointer-events: none;
}

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

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

.loc-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 30px 30px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  text-align: center;
  transform: scale(0.92);
  animation: locCardIn 0.35s ease forwards;
}

.loc-overlay.hidden .loc-card {
  animation: locCardOut 0.25s ease forwards;
}

@keyframes locCardIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes locCardOut {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(0.92); opacity: 0; }
}

/* Steps */
.loc-step {
  display: none;
}

.loc-step.active {
  display: block;
  animation: locStepIn 0.3s ease;
}

@keyframes locStepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Título */
.loc-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.3;
}

/* Subtítulo */
.loc-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0 0 22px;
  line-height: 1.5;
}

.loc-subtitle strong {
  color: #1a1a1a;
  font-weight: 700;
}

/* Select */
.loc-select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #333;
  background: #fff;
  margin-bottom: 22px;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.loc-select:focus {
  outline: none;
  border-color: #1a8f4e;
}

.loc-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Botão verde */
.loc-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #1a8f4e;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.loc-btn:hover {
  background: #15783f;
}

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

/* Step 3: Loader */
.loc-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 10px;
}

.loc-loader span {
  width: 12px;
  height: 12px;
  border: 2.5px solid #555;
  border-radius: 50%;
  animation: locBounceLoader 0.6s ease-in-out infinite alternate;
}

.loc-loader span:last-child {
  animation-delay: 0.3s;
}

@keyframes locBounceLoader {
  from { transform: translateY(0); opacity: 0.4; }
  to { transform: translateY(-6px); opacity: 1; }
}

/* Step 4: Check */
.loc-check-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #1a8f4e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: locCheckScale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.loc-check-icon i {
  font-size: 30px;
  color: #1a8f4e;
}

@keyframes locCheckScale {
  0% { transform: scale(0); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.loc-result-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin: 0 0 24px;
}

.loc-result-text strong {
  color: #1a1a1a;
  font-weight: 700;
}
