/**
 * Marketplace visual integrity layer.
 *
 * Keep this file loaded after marketplace-premium.css and page-level styles.
 * It contains shared safeguards for typography, controls, fixed actions and
 * responsive overflow so every Marketplace page follows the same visual DNA.
 */

:root {
  --mp-control-height: 44px;
  --mp-content-gutter: clamp(16px, 3vw, 32px);
  --mp-action-height: 52px;
  --mp-focus-ring: 0 0 0 3px rgba(255, 92, 0, 0.18);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: "Inter", "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  min-width: 0;
}

button,
[role="button"],
.mp-btn-primary,
.checkout-btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

input,
select,
textarea {
  color: var(--mp-text, var(--color-text, #16181d));
}

input::placeholder,
textarea::placeholder {
  color: var(--mp-text-muted, var(--color-text-muted, #667085));
  opacity: 1;
}

h1,
h2,
h3,
h4,
p,
a,
button,
label,
span {
  overflow-wrap: break-word;
}

.material-symbols-outlined {
  display: inline-block;
  flex: 0 0 auto;
  max-width: 1.25em;
  overflow: hidden;
  direction: ltr;
  white-space: nowrap;
  word-wrap: normal;
  font-family: "Material Symbols Outlined" !important;
  font-style: normal;
  font-weight: normal;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  text-transform: none;
  letter-spacing: normal;
}

.mp-app {
  width: 100%;
  min-height: 100dvh;
}

.mp-main-container,
.mp-search-results {
  width: min(100%, 1264px);
}

.mp-desktop-header-inner,
.mp-desktop-search,
.mp-location-pill {
  min-width: 0;
}

.mp-desktop-logo {
  min-width: 0;
}

.mp-desktop-logo img {
  width: auto;
  height: 48px;
  max-width: 132px;
  max-height: 48px;
  object-fit: contain;
}

.mp-btn-primary,
.checkout-btn {
  min-height: var(--mp-action-height);
  padding: 12px 18px;
  border-radius: 12px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  font-weight: 800;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  text-decoration: none;
}

.mp-btn-primary:disabled,
.checkout-btn:disabled,
button:disabled {
  cursor: not-allowed;
}

.mp-btn-primary .material-symbols-outlined,
.checkout-btn .material-symbols-outlined {
  width: 1.25em;
}

.mp-btn-primary:focus-visible,
.checkout-btn:focus-visible,
.coupon-row button:focus-visible,
.cart-actions button:focus-visible {
  outline: 0;
  box-shadow: var(--mp-focus-ring);
}

.mp-bottom-nav {
  min-height: 64px;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}

.mp-cart-footer,
.mp-checkout-footer {
  box-sizing: border-box;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

.mp-cart-footer .mp-btn-primary,
.mp-checkout-footer .mp-btn-primary,
.cart-footer .mp-btn-primary {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Store cart drawer */
.cart-drawer {
  max-width: 100vw;
  max-height: 100dvh;
  overflow: hidden;
}

.cart-drawer__head,
.cart-drawer__footer {
  flex: 0 0 auto;
}

.cart-drawer__body {
  min-height: 0;
  padding-bottom: 24px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.cart-drawer__footer {
  position: relative;
  z-index: 2;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}

.cart-drawer__title,
.cart-drawer__subtitle,
.cart-item > div:first-child {
  min-width: 0;
}

.cart-drawer__subtitle a {
  color: var(--color-primary, var(--mp-primary, #ff5c00));
  font-weight: 750;
}

.cart-item__name {
  overflow-wrap: anywhere;
}

.cart-actions button,
.coupon-row button,
.cart-drawer__head .modal-close {
  min-height: var(--mp-control-height);
}

.qty-stepper,
.qty-stepper button {
  height: var(--mp-control-height);
}

.qty-stepper button {
  width: var(--mp-control-height);
}

.coupon-row input {
  width: 100%;
  min-height: var(--mp-control-height);
}

.summary-row > :last-child {
  flex: 0 0 auto;
  white-space: nowrap;
}

.checkout-btn {
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
}

/* Never allow the global install CTA to cover a dialog or a primary action. */
body.modal-open .qtal-pwa-install,
.cart-drawer-root.is-open ~ .qtal-pwa-install,
.modal.is-open ~ .qtal-pwa-install,
html.qtal-pwa-has-primary-footer .qtal-pwa-install {
  display: none !important;
}

@media (max-width: 768px) {
  .mp-main-container,
  .mp-search-results {
    margin-top: 20px;
    padding-inline: var(--mp-content-gutter);
  }

  .mp-desktop-logo img {
    height: 42px;
    max-height: 42px;
  }

  .cart-drawer {
    width: 100%;
    min-width: 0;
  }

  .cart-drawer__head {
    padding: max(18px, env(safe-area-inset-top)) 18px 16px;
  }

  .cart-drawer__body {
    padding: 18px;
  }

  .cart-drawer__footer {
    padding: 14px 18px max(16px, env(safe-area-inset-bottom));
  }

  .coupon-box {
    padding: 14px;
  }

  .checkout-btn {
    min-height: 54px;
  }

  .mp-checkout-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .mp-checkout-section,
  .mp-cart-summary {
    overflow: hidden;
  }
}

@media (max-width: 380px) {
  .cart-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .cart-item__price {
    grid-row: 1;
    justify-self: end;
  }

  .cart-actions {
    gap: 4px;
  }

  .coupon-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .coupon-row button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mp-btn-primary,
  .checkout-btn,
  .cart-drawer,
  .mp-meal-card,
  .mp-store-item,
  .mp-category-pill {
    transition: none !important;
    animation: none !important;
  }
}

/* ── REFINAMENTOS DE DESIGN MARKETPLACE (FASE 1) ─────────────── */

/* Banners Promocionais */
.mp-banner-carousel {
  position: relative;
  /* width:auto (e não 100%) para as margens laterais reduzirem a largura;
     com 100% + margens o carrossel transbordava p/ a direita no mobile. */
  width: auto;
  max-width: 1200px;
  margin: 0 auto 24px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 92, 0, 0.12);
}

.mp-banner-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.mp-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

.mp-banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.mp-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mp-banner-dot.active {
  width: 24px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Categorias */
.mp-category-section {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto 24px !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.mp-category-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 8px;
}

.mp-category-pills::-webkit-scrollbar {
  display: none;
}

.mp-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: var(--mp-text, #0f172a);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.18s ease;
  user-select: none;
}

.mp-category-pill:hover {
  border-color: var(--mp-primary, #ff5c00);
  color: var(--mp-primary, #ff5c00);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 92, 0, 0.12);
}

.mp-category-pill.active {
  background: var(--mp-primary, #ff5c00);
  color: #ffffff;
  border-color: var(--mp-primary, #ff5c00);
  box-shadow: 0 4px 14px rgba(255, 92, 0, 0.25);
}

/* Populares Perto de Você & Todas as Lojas */
.mp-stores-section {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto 28px !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.mp-stores-section-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-bottom: 14px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.mp-stores-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mp-text, #0f172a);
  letter-spacing: -0.01em;
}

.mp-stores-scroll {
  display: flex !important;
  justify-content: flex-start !important;
  width: 100% !important;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  box-sizing: border-box !important;
}

.mp-stores-scroll::-webkit-scrollbar {
  display: none;
}

/* Desktop Grid for Todas as Lojas */
@media (min-width: 769px) {
  .mp-store-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 16px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mp-store-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    gap: 14px !important;
    padding: 14px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  }

  .mp-store-item-logo {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 0 !important;
    border-radius: 14px !important;
    flex-shrink: 0 !important;
  }

  .mp-store-item-info {
    align-items: flex-start !important;
  }

  .mp-store-item-meta,
  .mp-store-item-delivery {
    justify-content: flex-start !important;
  }
}

.mp-meal-card {
  width: 190px;
  min-width: 190px;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.mp-meal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.mp-meal-card-img {
  height: 105px;
  position: relative;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.mp-meal-card-body {
  padding: 11px 13px 13px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mp-meal-card-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--mp-text, #0f172a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  margin-bottom: 3px;
}

.mp-meal-card-store {
  font-size: 0.75rem;
  color: var(--mp-text-secondary, #64748b);
  font-weight: 500;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-marketplace-card-facts {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--mp-text-muted, #94a3b8);
  margin-bottom: 8px;
}

.mp-marketplace-card-facts span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.mp-meal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.mp-meal-card-rating {
  color: #f59e0b;
  font-weight: 800;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.mp-meal-card-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mp-text, #0f172a);
}

@media (max-width: 768px) {
  .mp-meal-card {
    width: 165px !important;
    min-width: 165px !important;
    max-width: 175px !important;
    border-radius: 16px !important;
  }
  .mp-meal-card-img {
    height: 94px !important;
  }
  .mp-meal-card-body {
    padding: 9px 11px 11px !important;
  }
  .mp-meal-card-name {
    font-size: 0.86rem !important;
  }
  .mp-meal-card-store {
    font-size: 0.7rem !important;
    margin-bottom: 4px !important;
  }
  .mp-marketplace-card-facts {
    font-size: 0.68rem !important;
    margin-bottom: 6px !important;
  }
}

/* Todas as Lojas (Grid Desktop & Lista Mobile) */
.mp-store-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  padding: 0;
}

.mp-store-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.mp-store-item:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.mp-store-item-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mp-primary, #ff5c00);
  font-size: 1.35rem;
  font-weight: 800;
}

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

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

.mp-store-item-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--mp-text, #0f172a);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  line-height: 1.25;
}

.mp-store-item-name span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-store-item-meta {
  font-size: 0.78rem;
  color: var(--mp-text-secondary, #64748b);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.mp-store-item-delivery {
  font-size: 0.76rem;
  color: var(--mp-text-muted, #94a3b8);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mp-store-item-delivery .free {
  color: #16a34a;
  font-weight: 700;
}

/* Bottom Navigation (Mobile Only) */
.mp-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 60px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px) !important;
  border-top: 1px solid var(--mp-border, #e2e8f0) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-around !important;
  z-index: 1000 !important;
  padding: 0 !important;
  padding-bottom: max(4px, env(safe-area-inset-bottom)) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

@media (min-width: 769px) {
  .mp-bottom-nav {
    display: none !important;
  }
}

.mp-nav-item {
  flex: 1 1 0% !important;
  width: 20% !important;
  max-width: 20% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  color: #64748b !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  padding: 4px 0 !important;
  text-decoration: none !important;
  position: relative !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
  box-sizing: border-box !important;
}

.mp-nav-item.active {
  color: var(--mp-primary, #ff5c00) !important;
}

.mp-nav-item .material-symbols-outlined {
  font-size: 22px !important;
}

.mp-nav-item-cart {
  position: relative !important;
}

.mp-nav-item-cart .material-symbols-outlined {
  font-size: 22px !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
}

.mp-nav-badge {
  position: absolute !important;
  top: 0 !important;
  right: calc(50% - 14px) !important;
  min-width: 16px !important;
  height: 16px !important;
  border-radius: 999px !important;
  background: var(--mp-primary, #ff5c00) !important;
  color: #ffffff !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 4px !important;
  box-shadow: 0 2px 6px rgba(255, 92, 0, 0.35) !important;
}

/* Modais de Produto e Carrinho */
.modal,
#productModal {
  z-index: 2000 !important;
}

#productModal .drawer.wide {
  z-index: 2001;
  width: min(520px, calc(100vw - 32px)) !important;
  max-width: 520px !important;
  height: min(640px, 80vh) !important;
  max-height: 80vh !important;
  border-radius: 20px !important;
}

body.modal-open .mp-bottom-nav,
.modal.is-open ~ .mp-bottom-nav {
  display: none !important;
}

/* Mobile specific tweaks */
@media (max-width: 768px) {
  .mp-banner-carousel {
    margin: 0 16px 20px;
    border-radius: 18px;
  }

  .mp-category-section {
    padding: 0 16px;
    margin-bottom: 20px;
  }

  .mp-stores-section {
    padding: 0 16px;
  }

  .mp-store-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }

  .mp-store-item {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .mp-store-item-logo {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }

  #productModal {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  #productModal .drawer.wide {
    width: 100% !important;
    max-width: 100% !important;
    height: min(560px, 78dvh) !important;
    max-height: 80dvh !important;
    border-radius: 24px 24px 0 0 !important;
    margin: 0 !important;
  }
}

/* ==========================================================================
   VIEWPORT ISOLATION & COMPONENT TEMPLATES (DESKTOP vs MOBILE)
   ========================================================================== */

.is-desktop-only {
  display: block !important;
}
.is-mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  .is-desktop-only {
    display: none !important;
  }
  .is-mobile-only {
    display: block !important;
  }
  .is-mobile-flex {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  .is-desktop-only {
    display: block !important;
  }
  .is-desktop-flex {
    display: flex !important;
  }
  .is-desktop-grid {
    display: grid !important;
  }
  .is-mobile-only,
  .is-mobile-flex {
    display: none !important;
  }
}

/* ==========================================================================
   MODERN UI / UX & MICRO-INTERACTIONS (iFood / Premium Style)
   ========================================================================== */

/* Glassmorphism on sticky headers and floating navigation */
.mp-topbar,
.mp-bottom-nav,
.z-store-search,
.z-mob-bottom-cart,
.z-store-cart-float {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
}

/* Status Indicator with Glowing Pulse */
.z-header-status-badge.is-open i,
.z-store-status.is-open i,
.z-store-status.open i,
.z-mob-hero-stat span[style*="background:#4ade80"],
.z-mob-hero-stat span[style*="background: #4ade80"] {
  display: inline-block !important;
  border-radius: 50% !important;
  animation: statusPulseGlow 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes statusPulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Tactile Micro-Interactions (Spring active scale) */
.mp-meal-card,
.mp-store-item,
.z-store-product,
.z-store-product-card,
.z-mob-list-card,
.mp-btn-primary,
.z-store-add-btn,
.z-btn-primary {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, border-color 0.22s ease !important;
}

.mp-meal-card:active,
.mp-store-item:active,
.z-store-product:active,
.z-store-product-card:active,
.z-mob-list-card:active,
.z-store-add-btn:active {
  transform: scale(0.97) !important;
}

/* Card Hover Elevation on Desktop */
@media (min-width: 769px) {
  .mp-meal-card:hover,
  .mp-store-item:hover,
  .z-store-product:hover,
  .z-store-product-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04) !important;
  }
}

/* Modern Gradient Badges */
.z-store-badge.promo,
.z-mob-badge.promo,
.z-store-product-badge.promo {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25) !important;
  border-radius: 6px !important;
}

.z-store-badge.best,
.z-mob-badge.best,
.z-store-product-badge.best {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25) !important;
  border-radius: 6px !important;
}

.z-store-badge.new,
.z-mob-badge.new,
.z-store-product-badge.new {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25) !important;
  border-radius: 6px !important;
}

/* Search Focus Glow */
.mp-desktop-search input:focus,
.z-store-search input:focus {
  border-color: var(--z-primary, #ff5c00) !important;
  box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.16) !important;
}
