/* ViMenu - Design System Mobile-First App (Figma Feasto Inspired) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #FF6B00;
  --primary-hover: #E05D00;
  --primary-light: rgba(255, 107, 0, 0.08);
  --primary-gradient: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%);
  --bg-main: #F6F7F9;
  --card-bg: #FFFFFF;
  --text-dark: #1A1D26;
  --text-muted: #7E8494;
  --border-light: #EEF0F4;
  --success-color: #10B981;
  --shadow-sm: 0 4px 12px rgba(26, 29, 38, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 29, 38, 0.08);
  --shadow-lg: 0 12px 36px rgba(26, 29, 38, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --app-max-width: 480px;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #EAECEF;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Letreiro Digital Marquee */
.letreiro-marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  color: #FFFFFF;
  padding: 10px 16px;
  margin: 14px 1.25rem 0.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 5;
  min-height: 42px;
}

.letreiro-marquee-content {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 40px;
  animation: marqueeScroll 18s linear infinite;
  min-width: 100%;
}

.letreiro-marquee-content span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.app-viewport {
  max-width: var(--app-max-width);
  margin: 0 auto;
  background-color: var(--bg-main);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  padding-bottom: 110px;
}

/* Header Topo com Banner de Capa */
.store-cover-header {
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.75) 100%), url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=800&auto=format&fit=crop&q=80') center/cover;
  color: #FFFFFF;
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.store-top-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.btn-icon-blur {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-icon-blur:hover, .btn-icon-blur:active {
  background: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.store-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}

.store-avatar-img {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}

.store-avatar-placeholder {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-md);
  background: var(--primary-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
}

.store-meta h1 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.store-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 4px;
}

.store-badge-status .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34D399;
  box-shadow: 0 0 8px #34D399;
}

.store-description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Modalidades de Pedido (Delivery / Retirada / Mesa) */
.fulfillment-tabs {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 4px;
  display: flex;
  gap: 4px;
}

.tab-fulfillment {
  flex: 1;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.tab-fulfillment.active {
  background: var(--primary-color);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

/* Barra de Busca */
.search-container {
  padding: 1rem 1.25rem 0.5rem;
}

.search-input-group {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.search-input-group input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.search-input-group input::placeholder {
  color: var(--text-muted);
}

/* Banner de Promoção Hero */
.promo-hero-card {
  margin: 0.75rem 1.25rem 1.25rem;
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.promo-hero-content {
  position: relative;
  z-index: 2;
  max-width: 62%;
}

.promo-tag {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 6px;
}

.promo-hero-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.btn-promo-action {
  background: #FFFFFF;
  color: var(--primary-color);
  border: none;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.btn-promo-action:active {
  transform: scale(0.95);
}

.promo-hero-img {
  width: 105px;
  height: 95px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transform: rotate(-3deg);
}

/* Seção de Categorias */
.section-header {
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-dark);
  letter-spacing: -0.2px;
}

.section-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

.categories-horizontal-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 1.25rem 0.5rem;
  scrollbar-width: none;
}

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

.btn-cat-pill {
  flex: 0 0 auto;
  border: 1px solid var(--border-light);
  background: var(--card-bg);
  color: var(--text-dark);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-cat-pill.active {
  background: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}

/* Ofertas / Destaques Card (Deals for You) */
.deals-horizontal-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 1.25rem 1rem;
  scrollbar-width: none;
}

.deals-horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.deal-card {
  flex: 0 0 240px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.2s ease;
  position: relative;
  cursor: pointer;
}

.deal-card:active {
  transform: scale(0.98);
}

.deal-card-img-wrap {
  position: relative;
  height: 125px;
  width: 100%;
}

.deal-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #E53935;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.4);
}

.deal-card-body {
  padding: 12px;
}

.deal-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-main {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-color);
}

.price-old {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 4px;
}

.btn-add-quick {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-color);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(255, 107, 0, 0.3);
  transition: transform 0.15s ease;
  cursor: pointer;
}

.btn-add-quick:active {
  transform: scale(0.9);
}

/* Lista de Produtos por Categoria */
.category-block {
  padding: 0 1.25rem 1.25rem;
}

.category-block-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.85rem 0;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-block-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 4px;
}

.product-item-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item-card:active {
  transform: scale(0.98);
}

.product-item-img {
  width: 85px;
  height: 85px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.product-item-placeholder {
  width: 85px;
  height: 85px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.product-item-info {
  flex: 1;
  min-width: 0;
}

.product-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--text-dark);
}

.product-item-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.product-item-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Modal Bottom Sheet de Produto */
.modal-bottom-sheet .modal-dialog {
  margin: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: var(--app-max-width);
  margin-left: auto;
  margin-right: auto;
}

.modal-bottom-sheet .modal-content {
  border-radius: 35px 35px 0 0;
  border: none;
  overflow: hidden;
  max-height: 95vh;
  height: 95vh;
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .modal-bottom-sheet .modal-dialog {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    max-width: 760px !important;
    width: 100% !important;
    margin: 40px auto !important;
  }

  .modal-bottom-sheet .modal-content {
    border-radius: 24px !important;
    height: auto !important;
    max-height: 88vh !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .modal-sheet-header-img {
    position: relative !important;
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 24px 24px 0 0 !important;
  }

  .modal-sheet-body {
    padding: 24px 32px !important;
    max-height: calc(88vh - 280px - 90px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
  }

  .modal-sheet-footer {
    padding: 16px 32px !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
  }

  .modal-product-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  .modal-product-desc {
    font-size: 0.92rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
  }
}

.modal-sheet-header-img {
  position: relative;
  height: 38vh;
  min-height: 250px;
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-color: #ffffff;
  flex-shrink: 0;
}

.modal-top-bar {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.modal-top-pill {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1d26;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.modal-sheet-close-btn, .modal-sheet-fav-btn {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  color: #1a1d26;
  font-size: 1.2rem;
  transition: 0.2s;
}

.modal-sheet-fav-btn.active {
  color: #ef4444;
}

.modal-sheet-body {
  padding: 1.25rem;
  overflow-y: auto;
}

.modal-product-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 4px 0;
  color: var(--text-dark);
}

.modal-product-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.meta-item i {
  color: var(--primary-color);
}

.modal-product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.option-group-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.option-choice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg-main);
  margin-bottom: 6px;
  cursor: pointer;
}

.option-choice-item input[type="radio"],
.option-choice-item input[type="checkbox"] {
  accent-color: var(--primary-color);
  width: 18px;
  height: 18px;
}

/* Counter & Modal Footer CTA */
.qty-counter {
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border-radius: 20px;
  padding: 4px;
  border: 1px solid var(--border-light);
}

.btn-qty {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--card-bg);
  color: var(--text-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.qty-val {
  padding: 0 14px;
  font-weight: 800;
  font-size: 0.95rem;
}

.modal-sheet-footer {
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cta-primary {
  flex: 1;
  background: var(--primary-gradient);
  color: #FFFFFF;
  border: none;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease;
  cursor: pointer;
}

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

/* Barra Flutuante de Carrinho / Bottom Nav Bar */
.bottom-nav-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: var(--app-max-width);
  margin: 0 auto;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(238, 240, 244, 0.8);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.cart-subtotal-info {
  display: flex;
  flex-direction: column;
}

.cart-subtotal-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-subtotal-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0;
}

.btn-open-cart {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border: none;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* ==========================================================================
   Desktop Responsive Layout (Split View + Smartphone Mockup "Celularzinho")
   ========================================================================== */

@media (min-width: 992px) {
  html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
  }

  body {
    background-color: #F2F4F8 !important;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(229, 25, 55, 0.08) 0%, transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.1) 0%, transparent 45%),
      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.6) 0%, transparent 100%) !important;
    background-attachment: fixed !important;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
  }

  .desktop-split-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    width: 100%;
    max-width: 1360px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    box-sizing: border-box;
  }

  /* LADO ESQUERDO: DESIGN HERO DESKTOP */
  .desktop-hero-side {
    flex: 1;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
  }

  .desktop-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #FFFFFF;
    padding: 10px 22px 10px 12px;
    border-radius: 60px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(238, 240, 244, 0.8);
    width: fit-content;
  }

  .desktop-brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color, #FF6B00);
  }

  .desktop-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient, linear-gradient(135deg, #FF6B00 0%, #FF8800 100%));
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
  }

  .desktop-brand-text {
    display: flex;
    flex-direction: column;
  }

  .desktop-brand-tag {
    display: inline-block;
    background: #E51937;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    width: fit-content;
    text-transform: uppercase;
  }

  .desktop-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1A1D26;
    margin: 2px 0 0 0;
    line-height: 1.2;
  }

  .desktop-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1A1D26;
    line-height: 1.12;
    letter-spacing: -1.2px;
    margin-bottom: 1.25rem;
  }

  .desktop-hero-desc {
    font-size: 1.05rem;
    color: #5A6072;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-weight: 400;
  }

  /* Botões de Redes Sociais no Hero Desktop */
  .desktop-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .btn-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.15rem;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .btn-social-link:hover {
    transform: translateY(-3px) scale(1.08);
    opacity: 0.92;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

  .btn-social-whatsapp  { background: #25D366; }
  .btn-social-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
  .btn-social-facebook  { background: #1877F2; }
  .btn-social-tiktok    { background: #010101; }
  .btn-social-site      { background: #4F8EF7; }

  .btn-desktop-cta {
    background: #E51937;
    color: #FFFFFF !important;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 15px 36px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(229, 25, 55, 0.35);
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }

  .btn-desktop-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(229, 25, 55, 0.45);
    background: #d0142e;
  }

  .desktop-phone-tip-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    padding: 14px 18px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 12px 32px rgba(26, 29, 38, 0.08);
    width: fit-content;
    margin-top: 1rem;
  }

  .tip-qr-img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid #EEF0F4;
    background: #FFFFFF;
    padding: 2px;
  }

  .tip-card-info {
    display: flex;
    flex-direction: column;
  }

  .tip-card-info strong {
    font-size: 0.92rem;
    color: #1A1D26;
    font-weight: 700;
  }

  .tip-card-info span {
    font-size: 0.78rem;
    color: #7E8494;
    max-width: 250px;
    line-height: 1.35;
    margin-top: 2px;
  }

  /* LADO DIREITO: CELULARZINHO (MOCKUP FRAME) */
  .desktop-phone-side {
    flex-shrink: 0;
    width: 430px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .phone-mockup-frame {
    width: 420px;
    height: calc(100vh - 40px);
    max-height: 870px;
    min-height: 680px;
    background: #FFFFFF;
    border: 12px solid #1E2025;
    border-radius: 48px;
    box-shadow: 
      0 30px 70px -15px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.15),
      0 12px 35px -10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Cria novo contexto de empilhamento - faz position:fixed dos filhos
       ser relativo a este elemento em vez da viewport */
    isolation: isolate;
    transform: translateZ(0);
    will-change: transform;
  }

  /* Top Notch Dynamic Pill */
  .phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 28px;
    background: #1E2025;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    pointer-events: none;
  }

  .phone-speaker {
    width: 42px;
    height: 4px;
    background: #363A42;
    border-radius: 4px;
  }

  .phone-camera {
    width: 10px;
    height: 10px;
    background: #0E1012;
    border-radius: 50%;
    border: 1px solid #363A42;
  }

  /* Bottom Home Bar Indicator */
  .phone-home-bar {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 124px;
    height: 4px;
    background: #1A1D26;
    border-radius: 4px;
    z-index: 2000;
    pointer-events: none;
    opacity: 0.6;
  }

  /* Phone Screen Content Container */
  .phone-screen-container {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    border-radius: 36px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
  }

  .phone-screen-container::-webkit-scrollbar {
    width: 5px;
  }
  .phone-screen-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
  }

  /* App Viewport inside Phone Frame on Desktop */
  .phone-screen-container .app-viewport {
    max-width: 100% !important;
    min-height: 100% !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding-bottom: 80px !important;
  }

  /* -----------------------------------------------------------------------
   * Elementos que precisam ficar 100% dentro do celularzinho no Desktop
   * ----------------------------------------------------------------------- */

  /* Barra Flutuante de Carrinho & Navegação do Cliente - presas na base do frame no desktop */
  .phone-mockup-frame > .bottom-nav-cart-bar,
  .phone-mockup-frame > .cart-floating-bar,
  .phone-mockup-frame > .foodie-floating-bar,
  .phone-mockup-frame > .client-bottom-nav,
  .phone-mockup-frame > .btn-ver-carrinho-flutuante {
    position: absolute !important;
    max-width: 100% !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 200 !important;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
  }

  /* Modal Produto e Modal QR Code - dentro do frame */
  .phone-mockup-frame .modal {
    position: absolute !important;
    inset: 0 !important;
    z-index: 300 !important;
    overflow: hidden !important;
  }

  .phone-mockup-frame .modal-dialog {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: flex-end !important;
    position: static !important;
  }

  /* Bottom sheet: ancora no fundo do frame */
  .phone-mockup-frame .modal-bottom-sheet .modal-dialog {
    align-items: flex-end !important;
    position: static !important;
    bottom: auto !important;
  }

  .phone-mockup-frame .modal-content {
    width: 100% !important;
    max-height: 90% !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  /* Backdrop do Bootstrap (Corrigido para Desktop Mockup) */
  @media (min-width: 992px) {
    body:not(.desktop-full-width) .modal-backdrop {
      display: none !important;
    }
    body:not(.desktop-full-width) .modal.show {
      background-color: rgba(0, 0, 0, 0.65) !important;
    }
  }

  /* Modal QR Code centralizado dentro do frame */
  .phone-mockup-frame .modal-dialog-centered {
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    height: 100% !important;
  }

  /* -----------------------------------------------------------------------
   * Foodie Gold Theme - Sidebar dentro do celularzinho no Desktop
   *
   * O JS (desktop_layout_end.php) move .foodie-sidebar-nav para dentro de
   * .phone-mockup-frame (irmão do phone-screen-container), então ela:
   *   - Fica FIXA visualmente (position: absolute no frame, não no container)
   *   - Não rola com o conteúdo do phone-screen-container
   *
   * O phone-screen-container ganha padding-left = largura da sidebar (75px)
   * para que o conteúdo não fique atrás dela.
   * ----------------------------------------------------------------------- */
  body.theme-foodie-gold {
    padding-left: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Sidebar posicionada no FRAME (não no scroll container) */
  body.theme-foodie-gold .phone-mockup-frame > .foodie-sidebar-nav {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 75px !important;
    height: 100% !important;
    z-index: 500 !important;
    border-top-left-radius: 36px !important;
    border-bottom-left-radius: 36px !important;
    border-top-right-radius: 32px !important;
    border-bottom-right-radius: 32px !important;
  }

  /* Container de scroll: deslocado para a direita da sidebar */
  body.theme-foodie-gold .phone-screen-container {
    padding-left: 75px !important;
    box-sizing: border-box;
  }

  /* Ainda dentro do container (antes do JS mover), garante posição correta */
  body.theme-foodie-gold .phone-screen-container > .foodie-sidebar-nav {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 75px !important;
    height: 100% !important;
    z-index: 500 !important;
    border-top-left-radius: 36px !important;
    border-bottom-left-radius: 36px !important;
    border-top-right-radius: 32px !important;
    border-bottom-right-radius: 32px !important;
  }

  body.theme-foodie-gold .phone-screen-container .app-viewport {
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-bottom: 90px !important;
  }
}

@media (max-width: 991.98px) {
  .desktop-split-wrapper {
    display: block;
    width: 100%;
  }

  .desktop-hero-side {
    display: none !important;
  }

  .desktop-phone-side {
    width: 100%;
  }

  .phone-mockup-frame {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .phone-notch,
  .phone-home-bar {
    display: none !important;
  }

  .phone-screen-container {
    height: auto;
    overflow: visible;
    border-radius: 0;
    /* Reseta o padding-left adicionado para desktop */
    padding-left: 0 !important;
  }
}


/* --- CLIENT AREA REDESIGN --- */
.client-bg-wrapper { background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.95) 100%), var(--primary-color); min-height: 100vh; padding-bottom: 100px; color: #fff; }
.client-bento-card { background: #fff; color: #333; border-radius: 28px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.client-bottom-nav { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #1a1a1a; padding: 12px 24px; border-radius: 40px; display: flex; gap: 20px; align-items: center; box-shadow: 0 15px 35px rgba(0,0,0,0.3); z-index: 1000; }
.client-nav-item { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #888; text-decoration: none; transition: all 0.3s ease; }
.client-nav-item.active { background: #2a2a2a; color: #fff; }
.client-nav-item:hover { color: #fff; }

/* -----------------------------------------------------------------------
 * Modo Desktop Full Width (Loja Online Tradicional 1240px Premium)
 * strictly active only for @media (min-width: 992px) with .desktop-full-width
 * ----------------------------------------------------------------------- */
@media (min-width: 992px) {
  html.desktop-full-width,
  body.desktop-full-width {
    background-color: #f8fafc !important;
  }

  /* Container Principal Desktop */
  .desktop-full-width .app-viewport {
    max-width: 1240px !important;
    margin: 32px auto !important;
    padding: 0 0 140px 0 !important;
    border-radius: 28px !important;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08) !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
  }

  /* Store Header Banner Hero */
  .desktop-full-width .store-cover-header {
    padding: 36px 40px !important;
    border-radius: 0 0 24px 24px !important;
    margin-bottom: 28px !important;
  }

  .desktop-full-width .store-info-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    gap: 20px !important;
  }

  .desktop-full-width .store-avatar-img,
  .desktop-full-width .store-avatar-placeholder {
    width: 96px !important;
    height: 96px !important;
    font-size: 2.2rem !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
  }

  .desktop-full-width .store-meta {
    text-align: left !important;
  }

  .desktop-full-width .store-meta h1 {
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
  }

  .desktop-full-width .store-description {
    text-align: left !important;
    font-size: 0.95rem !important;
    margin-top: 8px !important;
  }

  .desktop-full-width .fulfillment-tabs {
    justify-content: flex-start !important;
    margin-top: 16px !important;
  }

  .desktop-full-width .tab-fulfillment {
    padding: 10px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
  }

  /* Barra de Pesquisa Desktop */
  .desktop-full-width .search-container {
    max-width: 760px !important;
    margin: 0 auto 28px !important;
    padding: 0 32px !important;
  }

  .desktop-full-width .search-input-group {
    border-radius: 50px !important;
    padding: 12px 24px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
  }

  .desktop-full-width .search-input-group input {
    font-size: 1rem !important;
  }

  /* Banner Promo Hero */
  .desktop-full-width .promo-hero-card {
    margin: 0 32px 32px !important;
    border-radius: 24px !important;
    padding: 28px 40px !important;
  }

  .desktop-full-width .promo-hero-card h3 {
    font-size: 1.6rem !important;
  }

  /* Categorias Horizontal Pills (Pills Fluídos em Linha) */
  .desktop-full-width .categories-horizontal-scroll {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    overflow: visible !important;
    padding: 0 32px !important;
    margin-bottom: 36px !important;
  }

  .desktop-full-width .btn-cat-pill {
    padding: 10px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.25s ease !important;
    border: 1px solid #e2e8f0 !important;
  }

  .desktop-full-width .btn-cat-pill:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  }

  .desktop-full-width .btn-cat-pill.active {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
  }

  /* Section Headers Desktop */
  .desktop-full-width .section-header {
    padding: 0 32px !important;
    margin-bottom: 20px !important;
  }

  .desktop-full-width .section-title {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  /* Grid de Ofertas para Você (3 colunas no Desktop) */
  .desktop-full-width .deals-horizontal-scroll {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    overflow: visible !important;
    padding: 0 32px !important;
    margin-bottom: 40px !important;
  }

  .desktop-full-width .deal-card {
    width: 100% !important;
    flex: none !important;
    border-radius: 20px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.25s ease !important;
  }

  .desktop-full-width .deal-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
  }

  /* Categorias & Grid de Produtos (3 colunas no Desktop) */
  .desktop-full-width .category-block {
    padding: 0 32px !important;
    margin-bottom: 40px !important;
  }

  .desktop-full-width .category-block-title {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 20px !important;
    padding-left: 16px !important;
    border-left: 4px solid var(--primary-color) !important;
  }

  /* Estrutura do grid de produtos por categoria no Desktop */
  .desktop-full-width .product-grid-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }

  .desktop-full-width .category-block:has(.product-item-card) {
    display: block !important;
  }

  .desktop-full-width .category-block > .category-block-title {
    margin-bottom: 20px !important;
  }

  .desktop-full-width .product-item-card {
    width: 100% !important;
    margin-bottom: 0 !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    padding: 18px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.25s ease !important;
  }

  .desktop-full-width .product-item-card:hover {
    border-color: var(--primary-color) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
  }

  .desktop-full-width .product-item-name {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  .desktop-full-width .product-item-desc {
    font-size: 0.85rem !important;
    color: #64748b !important;
    line-height: 1.4 !important;
  }

  /* Barra Flutuante de Carrinho Desktop */
  .desktop-full-width .bottom-nav-cart-bar,
  .desktop-full-width .cart-floating-bar,
  .desktop-full-width .foodie-floating-bar,
  .desktop-full-width .client-bottom-nav {
    max-width: 800px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 50px !important;
    bottom: 28px !important;
    padding: 14px 32px !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25) !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Barra de Navegação Inferior Global da Loja (Bottom Nav Bar) */
.loja-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 1030;
  height: 64px;
}

@media (min-width: 992px) {
  .loja-bottom-nav {
    max-width: 1240px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08);
  }
}

.loja-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  transition: all 0.2s;
  position: relative;
  flex: 1;
  padding: 4px 0;
}

.loja-nav-item i {
  font-size: 1.25rem;
  margin-bottom: 2px;
  transition: 0.2s transform;
}

.loja-nav-item:hover, .loja-nav-item.active {
  color: var(--primary-color, #ff6b00);
}

.loja-nav-item.active i {
  transform: scale(1.15);
}

.loja-nav-badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 18px);
  background-color: var(--primary-color, #ff6b00);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  line-height: 17px;
  border-radius: 10px;
  text-align: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

/* Quando houver bottom nav bar, a barra de subtotal do carrinho sobe para não colidir */
.has-bottom-nav .bottom-nav-cart-bar {
  bottom: 64px !important;
}


