/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red-primary: #ea1d2c;
  --red-dark: #c8101e;
  --green-price: #50a773;
  --gray-text: #717171;
  --gray-light: #a6a6a5;
  --gray-bg: #f7f7f7;
  --gray-border: #eeeeee;
  --gray-dark: #3e3e3e;
  --white: #ffffff;
  --black: #1a1a1a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 50%;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* Prevent iOS auto-zoom on input focus (font-size must be >= 16px) */
@media screen and (max-width: 768px) {

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--white);
  color: var(--black);
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 70px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== HERO / BANNER ===== */
.hero {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__back {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.hero__status {
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  backdrop-filter: blur(4px);
}

.hero__status span {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.85;
}

/* ===== STORE INFO ===== */
.store-info {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
}

.store-info__logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--gray-border);
  flex-shrink: 0;
}

.store-info__details {
  flex: 1;
  min-width: 0;
}

.store-info__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-info__badge {
  width: 16px;
  height: 16px;
  background: var(--red-primary);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: white;
  flex-shrink: 0;
}

.store-info__meta {
  font-size: 0.78rem;
  color: var(--gray-text);
  margin-top: 2px;
}

.store-info__meta a {
  color: var(--green-price);
  font-weight: 500;
}

.store-info__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  flex-shrink: 0;
}

.store-info__rating svg {
  fill: #f4c150;
  width: 14px;
  height: 14px;
}

/* ===== SEARCH BAR ===== */
.search-bar {
  padding: 0 16px 12px;
}

.search-bar__input-wrapper {
  display: flex;
  align-items: center;
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  gap: 10px;
  border: 1px solid var(--gray-border);
  transition: border-color 0.2s;
}

.search-bar__input-wrapper:focus-within {
  border-color: var(--red-primary);
}

.search-bar__icon {
  color: var(--gray-light);
  flex-shrink: 0;
}

.search-bar__input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--black);
  width: 100%;
  font-family: inherit;
}

.search-bar__input::placeholder {
  color: var(--gray-light);
}

/* ===== CATEGORY TABS ===== */
.category-tabs {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs__list {
  display: flex;
  list-style: none;
  padding: 0 12px;
  gap: 0;
  white-space: nowrap;
  min-width: max-content;
}

.category-tabs__item {
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-text);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  user-select: none;
}

.category-tabs__item:hover {
  color: var(--black);
}

.category-tabs__item.active {
  color: var(--red-primary);
  font-weight: 600;
}

.category-tabs__item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--red-primary);
  border-radius: 3px 3px 0 0;
}

/* ===== SECTION HEADINGS ===== */
.menu-section {
  padding: 20px 16px 8px;
}

.menu-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

/* ===== FEATURED (DESTAQUES) ===== */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 8px;
}

.featured-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}

.featured-card:active {
  transform: scale(0.98);
}

.featured-card:hover {
  box-shadow: var(--shadow-md);
}

.featured-card__img-wrapper {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
}

.featured-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  backdrop-filter: blur(2px);
}

.featured-card__body {
  padding: 10px;
}

.featured-card__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card__desc {
  font-size: 0.72rem;
  color: var(--gray-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.featured-card__serves {
  font-size: 0.72rem;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.featured-card__price {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price--current {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-price);
}

.price--old {
  font-size: 0.75rem;
  color: var(--gray-light);
  text-decoration: line-through;
}

/* ===== PRODUCT LIST ITEMS ===== */
.product-list {
  padding: 0 16px;
}

.product-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-border);
  cursor: pointer;
  transition: background 0.15s;
}

.product-item:last-child {
  border-bottom: none;
}

.product-item:active {
  background: var(--gray-bg);
}

.product-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-item__name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 4px;
}

.product-item__desc {
  font-size: 0.78rem;
  color: var(--gray-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.product-item__serves {
  font-size: 0.78rem;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.product-item__price {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-item__img {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

/* ===== PROMO CARD ===== */
.promo-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-border);
}

.promo-item__info {
  flex: 1;
}

.promo-item__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.promo-item__desc {
  font-size: 0.78rem;
  color: var(--gray-text);
  margin-bottom: 8px;
}

.promo-item__price {
  font-size: 0.88rem;
  color: var(--black);
  font-weight: 500;
}

.promo-item__img {
  width: 110px;
  height: 90px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

/* ===== VEG BADGE ===== */
.badge-veg {
  display: inline-block;
  background: #2e7d32;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  position: absolute;
  bottom: 8px;
  right: 8px;
}

.product-item__img-wrapper {
  position: relative;
  flex-shrink: 0;
}

/* ===== DIVIDERS ===== */
.section-divider {
  height: 8px;
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 12px;
  z-index: 200;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  color: var(--gray-text);
  transition: color 0.2s;
  padding: 4px 12px;
}

.bottom-nav__item.active {
  color: var(--red-primary);
}

.bottom-nav__item svg {
  width: 22px;
  height: 22px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-section,
.featured-grid {
  animation: fadeInUp 0.35s ease-out;
}

/* ===== SEARCH ACTIVE STATE ===== */
.search-hidden {
  display: none !important;
}

.search-no-results {
  text-align: center;
  padding: 40px 16px;
  color: var(--gray-text);
  font-size: 0.9rem;
}

.search-no-results svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.4;
}

/* ===== RESPONSIVENESS ===== */
@media (min-width: 480px) {
  body {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 360px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .product-item__img {
    width: 90px;
    height: 90px;
  }
}

/* ===== PROMO MODAL ===== */
.promo-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.promo-modal.active {
  display: block;
}

.promo-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.promo-modal__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: var(--white);
  overflow-y: auto;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.promo-modal__header {
  position: sticky;
  top: 0;
  background: var(--white);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.promo-modal__back {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-modal__back svg {
  width: 24px;
  height: 24px;
  stroke: var(--black);
}

.promo-modal__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-modal__banner {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.promo-modal__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-modal__badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ea1d2c 0%, #c41a27 100%);
  padding: 16px 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.4);
}

.badge-text-large {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: 2px;
}

.badge-text-small {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.promo-modal__info {
  padding: 20px 16px;
  border-bottom: 8px solid var(--bg);
}

.promo-modal__info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.promo-modal__info>p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.promo-modal__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin: 12px 0 !important;
}

.promo-modal__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
}

.meta-icon,
.meta-rating {
  font-size: 13px;
  color: var(--text-secondary);
}

.promo-modal__time {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px !important;
}

.promo-modal__selection {
  padding: 20px 16px;
}

.selection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.selection-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.selection-counter {
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.selection-badge {
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.selection-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.promo-modal__products {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-product {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  position: relative;
  transition: all 0.2s;
}

.promo-product.selected {
  border-color: var(--primary);
  background: rgba(234, 29, 44, 0.02);
}

.promo-product__info {
  flex: 1;
}

.promo-product__info h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

.promo-product__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-product__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.promo-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.promo-product__add {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.promo-product.selected .promo-product__add {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.promo-modal__free-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 8px solid var(--bg);
}

.promo-modal__drinks-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 8px solid var(--bg);
}

@media (max-width: 360px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .product-item__img {
    width: 90px;
    height: 90px;
  }

  .promo-product img {
    width: 70px;
    height: 70px;
  }
}

/* Promo Modal Footer */
.promo-modal__footer {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 11;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.promo-modal__add-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #ea1d2c !important;
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  opacity: 0.5;
  pointer-events: none;
}

.promo-modal__add-btn.active {
  opacity: 1;
  pointer-events: auto;
}

.promo-modal__add-btn:hover {
  background: #c41a27 !important;
}

/* ===== ADDRESS CONFIRMATION POPUP ===== */
.address-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20000;
  align-items: center;
  justify-content: center;
}

.address-popup.active {
  display: flex;
}

.address-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.address-popup__content {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  width: calc(100% - 48px);
  max-width: 340px;
  text-align: center;
  animation: popIn 0.25s ease-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.address-popup__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  margin-bottom: 20px;
}

.address-popup__store {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 20px;
}

.address-popup__store svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.address-popup__store-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.address-popup__label {
  font-size: 13px;
  color: var(--text-secondary);
}

.address-popup__location {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.address-popup__btn {
  width: 100%;
  padding: 14px;
  background: #ea1d2c;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 12px;
}

.address-popup__btn:hover {
  background: #c41a27;
}

.address-popup__cancel {
  background: none;
  border: none;
  color: #ea1d2c;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
}

.address-popup__cancel:hover {
  text-decoration: underline;
}

/* ===== ADDRESS SEARCH MODAL ===== */
.address-search {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 25000;
  background: var(--white);
}

.address-search.active {
  display: block;
}

.address-search__content {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.address-search__header {
  padding: 16px 0;
}

.address-search__back {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--black);
}

.address-search__back svg {
  width: 24px;
  height: 24px;
}

.address-search__illustration {
  display: flex;
  justify-content: center;
  padding: 20px 0 10px;
}

.address-search__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin-bottom: 24px;
}

.address-search__input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 4px;
}

.address-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--black);
  font-family: inherit;
  background: transparent;
}

.address-search__input::placeholder {
  color: #a0a0a0;
}

.address-search__location-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-size: 15px;
  color: var(--black);
  font-family: inherit;
  text-align: left;
}

.address-search__location-btn:hover {
  background: #f8f8f8;
}

.address-search__results {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.address-search__result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.address-search__result-item:hover {
  background: #f8f8f8;
}

/* ===== ADDRESS DETAILS FORM ===== */
.address-details {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 26000;
  background: var(--white);
}

.address-details.active {
  display: block;
}

.address-details__content {
  max-width: 500px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.address-details__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.address-details__back {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #ea1d2c;
}

.address-details__header-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--black);
}

.address-details__selected {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.address-details__edit-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  margin-top: 12px;
}

.address-details__edit-label:first-child {
  margin-top: 0;
}

.address-details__edit-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  font-family: inherit;
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
}

.address-details__edit-input:focus {
  border-bottom-color: #ea1d2c;
}

.address-details__edit-input--sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.address-details__form {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.address-details__field {
  margin-bottom: 16px;
}

.address-details__input {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--black);
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.address-details__input:focus {
  border-color: #ea1d2c;
}

.address-details__input::placeholder {
  color: #a0a0a0;
}

.address-details__input.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.address-details__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.address-details__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ea1d2c;
  cursor: pointer;
}

.address-details__favoritar {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.address-details__favoritar h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.address-details__tags {
  display: flex;
  gap: 10px;
}

.address-details__tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  font-size: 14px;
  color: var(--black);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.address-details__tag.active {
  border-color: #ea1d2c;
  background: #fef0f0;
  color: #ea1d2c;
}

.address-details__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.address-details__save {
  width: 100%;
  padding: 16px;
  background: #ddd;
  color: #999;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: not-allowed;
  font-family: inherit;
  transition: all 0.2s;
}

.address-details__save.active {
  background: #ea1d2c;
  color: #ffffff;
  cursor: pointer;
}

.address-details__save.active:hover {
  background: #c41a27;
}

/* Product Quantity Counter */
.product-quantity {
  position: absolute;
  bottom: 12px;
  right: 52px;
  background: var(--primary);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(234, 29, 44, 0.3);
}

/* ===== FLOATING CART BUTTON ===== */
.cart-float {
  position: fixed;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 448px;
  z-index: 9000;
  cursor: pointer;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.cart-float__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--red-primary);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(234, 29, 44, 0.4);
}

.cart-float__left {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.cart-float__left svg {
  stroke: var(--white);
}

.cart-float__badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--white);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-float__text {
  font-size: 15px;
  font-weight: 600;
}

.cart-float__total {
  font-size: 15px;
  font-weight: 700;
}

/* ===== CART MODAL ===== */
.cart-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
}

.cart-modal.active {
  display: block;
}

.cart-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.cart-modal__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s ease-out;
}

.cart-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-modal__back {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-modal__back svg {
  width: 24px;
  height: 24px;
  stroke: var(--black);
}

.cart-modal__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

.cart-modal__store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 8px solid var(--bg);
  flex-shrink: 0;
}

.cart-modal__store-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.cart-modal__store strong {
  font-size: 14px;
  color: var(--black);
}

.cart-modal__store p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.cart-modal__items {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  gap: 12px;
}

.cart-empty svg {
  stroke: #ccc;
}

.cart-empty p {
  font-size: 16px;
  color: #999;
}

/* Cart Item */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.cart-item__img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item__details {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item__btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1;
}

.cart-item__btn:hover {
  background: var(--primary);
  color: var(--white);
}

.cart-item__qty {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  min-width: 20px;
  text-align: center;
}

/* Totals */
.cart-modal__totals {
  padding: 16px;
  border-top: 8px solid var(--bg);
  flex-shrink: 0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.cart-total-row--final {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

/* Delivery Address & Options in Cart */
.cart-modal__delivery {
  padding: 16px;
  border-bottom: 8px solid var(--gray-bg);
}

.cart-delivery__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.cart-delivery__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
}

.cart-delivery__address strong {
  display: block;
  font-size: 14px;
  color: var(--black);
}

.cart-delivery__address p {
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 2px;
}

.cart-delivery__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-delivery__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-delivery__option.selected {
  border-color: #ea1d2c;
  background: #fef5f5;
}

.cart-delivery__option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}

.cart-delivery__option.selected .cart-delivery__option-radio {
  border-color: #ea1d2c;
}

.cart-delivery__option.selected .cart-delivery__option-radio::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ea1d2c;
}

.cart-delivery__option-info {
  flex: 1;
}

.cart-delivery__option-info strong {
  display: block;
  font-size: 14px;
  color: var(--black);
}

.cart-delivery__option-info span {
  font-size: 12px;
  color: var(--gray-text);
}

.cart-delivery__option-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-align: right;
  white-space: nowrap;
}

.cart-delivery__option-price small {
  display: block;
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 400;
}

.cart-delivery-fee {
  color: var(--red-primary);
}

/* Footer / Checkout */
.cart-modal__footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--red-primary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-checkout-btn:hover {
  background: #c41a27;
}

/* ===== PAYMENT MODAL ===== */
.payment-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 10003;
  background: var(--white);
  overflow: hidden;
}

.payment-modal.active {
  display: block;
}

.payment-modal__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
}

.payment-modal__header {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--gray-border);
  flex-shrink: 0;
}

.payment-modal__back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  padding: 0;
  margin-right: 12px;
}

.payment-modal__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

.payment-modal__store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 8px solid var(--gray-bg);
}

.payment-modal__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.payment-modal__store strong {
  font-size: 15px;
  color: var(--black);
}

.payment-modal__body {
  flex: 1;
  overflow-y: auto;
}

.payment-modal__section {
  padding: 20px 16px;
  border-bottom: 8px solid var(--gray-bg);
}

.payment-modal__section:last-child {
  border-bottom: none;
}

.payment-modal__section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}

.payment-optional {
  font-weight: 400;
  color: var(--gray-text);
  font-size: 13px;
}

/* Payment methods */
.payment-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 10px;
}

.payment-method:last-child {
  margin-bottom: 0;
}

.payment-method.selected {
  border-color: #ea1d2c;
  background: #fef5f5;
}

.payment-method__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-method__icon--pix {
  background: #e8f8f6;
}

.payment-method__icon--card {
  background: #eef0ff;
}

.payment-method__info {
  flex: 1;
}

.payment-method__info strong {
  display: block;
  font-size: 14px;
  color: var(--black);
  margin-bottom: 2px;
}

.payment-method__info span {
  font-size: 12px;
  color: var(--gray-text);
}

.payment-method__radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}

.payment-method.selected .payment-method__radio {
  border-color: #ea1d2c;
}

.payment-method.selected .payment-method__radio::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ea1d2c;
}

/* Values summary */
.payment-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-text);
}

.payment-summary__row--total {
  border-top: 1px solid var(--gray-border);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.payment-summary__delivery {
  color: var(--red-primary);
}

/* CPF input */
.payment-cpf__input {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  font-size: 16px;
  /* >= 16px prevents iOS auto-zoom on focus */
  font-family: inherit;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  /* Prevents iOS input styling quirks */
  appearance: none;
}

.payment-cpf__input:focus {
  border-color: #ea1d2c;
}

/* Payment footer */
.payment-modal__footer {
  padding: 16px;
  border-top: 1px solid var(--gray-border);
  flex-shrink: 0;
}

.payment-review-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--red-primary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.payment-review-btn:hover {
  background: #c41a27;
}

/* ===== PIX QR CODE MODAL ===== */
.pix-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10004;
  background: var(--white);
}

.pix-modal.active {
  display: block;
}

.pix-modal__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
}

.pix-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--gray-border);
}

.pix-modal__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

.pix-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  padding: 4px;
}

.pix-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
}

/* Timer */
.pix-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #fef5f5;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--black);
}

.pix-timer strong {
  color: #ea1d2c;
}

/* QR Code */
.pix-qr {
  text-align: center;
  margin-bottom: 24px;
}

.pix-qr__image {
  width: 280px;
  height: 280px;
  margin: 0 auto 16px;
  border: 2px solid var(--gray-border);
  border-radius: 12px;
  padding: 16px;
  background: var(--white);
}

.pix-qr__instruction {
  font-size: 14px;
  color: var(--gray-text);
}

/* Copy Code */
.pix-copy {
  margin-bottom: 24px;
}

.pix-copy__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.pix-copy__box {
  display: flex;
  gap: 8px;
}

.pix-copy__input {
  flex: 1;
  padding: 12px;
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  font-size: 13px;
  font-family: 'Courier New', monospace;
  color: var(--black);
  background: var(--gray-bg);
}

.pix-copy__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--red-primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.pix-copy__btn:hover {
  background: #c41a27;
}

/* Transaction Info */
.pix-info {
  padding: 16px;
  background: var(--gray-bg);
  border-radius: 12px;
  margin-bottom: 24px;
}

.pix-info__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}

.pix-info__row:first-child {
  padding-top: 0;
  font-size: 16px;
  font-weight: 700;
}

.pix-info__row:last-child {
  padding-bottom: 0;
  border-top: 1px solid var(--gray-border);
  margin-top: 8px;
  padding-top: 12px;
}

/* Instructions */
.pix-instructions h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.pix-instructions ol {
  margin: 0;
  padding-left: 20px;
}

.pix-instructions li {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 8px;
}

/* ===== PRODUCT DETAIL MODAL ===== */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10002;
}

.product-modal.active {
  display: block;
}

.product-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.product-modal__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s ease-out;
  overflow-y: auto;
}

.product-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.product-modal__back {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal__back svg {
  width: 24px;
  height: 24px;
  stroke: var(--black);
}

.product-modal__header-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-modal__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
}

.product-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal__info {
  padding: 20px 16px;
}

.product-modal__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.product-modal__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.product-modal__serves {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.product-modal__price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-modal__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

.product-modal__price-old {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: line-through;
}

/* Store Info Bar */
.product-modal__store-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.product-modal__store-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.product-modal__store-badge {
  color: var(--primary);
  font-size: 8px;
}

.product-modal__store-right {
  font-size: 13px;
  font-weight: 600;
  color: #f4a100;
}

.product-modal__delivery-info {
  padding: 8px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  border-bottom: 8px solid var(--bg);
}

/* Extras & Drinks Sections */
.product-modal__extras,
.product-modal__drinks,
.product-modal__cutlery {
  padding: 0;
}

/* Cutlery Section Styles */
.cutlery-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.cutlery-option__left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--black);
}

.cutlery-option__img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.cutlery-option__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ddd;
  position: relative;
  transition: all 0.2s;
}

.cutlery-option.selected .cutlery-option__radio {
  border-color: var(--primary);
}

.cutlery-option.selected .cutlery-option__radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}


.extras-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.extras-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}

.extras-subtitle {
  font-size: 12px;
  color: #50a773;
  margin-top: 2px;
}

.extras-check {
  color: #50a773;
  font-size: 20px;
}

.extras-list {
  padding: 0;
}

.extras-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.extras-item__info {
  flex: 1;
  min-width: 0;
}

.extras-item__name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 2px;
}

.extras-item__detail {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.extras-item__price {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
}

.extras-item img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.extras-item__add {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}

.extras-item.selected .extras-item__add {
  color: var(--white);
  background: var(--primary);
  font-size: 14px;
}

/* Extras quantity controls (iFood style) */
.extras-item__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.extras-item__qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.extras-item__qty {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  min-width: 20px;
  text-align: center;
}

/* Product Modal Footer */
.product-modal__footer {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 11;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.product-modal__qty-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.product-modal__qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.product-modal__qty {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  min-width: 24px;
  text-align: center;
}

.product-modal__add-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #ea1d2c !important;
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.product-modal__add-btn:hover {
  background: #c41a27;
}