/* ============================================================
   DeliveryFood — Layout Enhancements v2
   ============================================================ */

/* ---------- FRONT HEADER ---------- */
header,
.site-header {
  position: fixed !important;
  top: 16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 40px) !important;
  max-width: 1240px !important;
  display: flex;
  flex-wrap: nowrap !important;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: #0d0603 !important; /* dark brown/black */
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 122, 0, 0.2) !important; /* orange thin border */
  border-radius: var(--df-radius-full) !important;
  padding: 8px 18px !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
  transition: var(--df-transition) !important;
}

header .logo,
.site-header .logo {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px !important;
  color: var(--df-text) !important;
  -webkit-text-fill-color: unset !important;
  background: none !important;
  flex-shrink: 0;
}

.site-header .logo span {
  background: linear-gradient(135deg, var(--df-primary, #FF7A00) 0%, var(--df-primary-dark, #E05A00) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

header .logo i,
.site-header .logo i {
  color: var(--primary) !important;
  -webkit-text-fill-color: var(--primary) !important;
  font-size: 1.25rem;
}

header nav a,
.site-nav a {
  margin-left: 0 !important;
  padding: 6px 11px !important;
  border-radius: var(--df-radius-full);
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.85) !important; /* white-ish text */
  text-decoration: none;
  transition: var(--df-transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

header nav a i,
.site-nav a i {
  font-size: 0.85em;
  opacity: 0.85;
}

header nav a:hover,
header nav a.active,
.site-nav a:hover,
.site-nav a.active {
  color: #fff !important;
  background: var(--df-primary, #FF7A00) !important; /* orange active pill background */
}

header nav a::after,
.site-nav a::after {
  display: none !important;
}

header nav,
.site-nav {
  gap: 6px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

/* Medium screen compact navigation (1151px to 1280px) */
@media (min-width: 1151px) and (max-width: 1280px) {
  header nav a,
  .site-nav a {
    padding: 6px 10px !important;
    font-size: 0.85rem !important;
    gap: 5px !important;
  }
}

.nav-cta {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  box-shadow: none !important;
  border-radius: var(--df-radius-full) !important;
  padding: 8px 20px !important;
  transition: var(--df-transition) !important;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--df-primary, #FF7A00) !important;
}

.nav-cta.outline {
  background: var(--df-primary, #FF7A00) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3) !important;
  border-radius: var(--df-radius-full) !important;
  padding: 8px 20px !important;
}

.nav-cta.outline:hover {
  background: var(--df-primary-dark, #E05A00) !important;
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.5) !important;
}

.nav-logout:hover {
  background: rgba(239, 68, 68, 0.1) !important;
  color: var(--df-danger) !important;
}

.hamburger {
  display: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 1.4rem !important;
  color: var(--df-text) !important;
  padding: 8px !important;
  cursor: pointer;
  border-radius: var(--df-radius-sm) !important;
}

.hamburger:hover {
  background: var(--df-primary-light) !important;
  transform: none !important;
}

.nav-cart-badge {
  position: relative;
}

.nav-cart-badge::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--df-primary);
  border-radius: 50%;
  border: 2px solid #fff;
}

/* ---------- HERO & BANNERS ---------- */
.hero-banner {
  position: relative;
  padding-top: 130px !important;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.9);
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--df-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.banner {
  border-radius: 0 0 var(--df-radius-xl) var(--df-radius-xl) !important;
  min-height: 520px !important;
  padding-top: 130px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

.banner-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  letter-spacing: -0.03em;
  text-transform: uppercase !important;
  font-weight: 850 !important;
}

.banner-content h1 .accent-highlight {
  background: linear-gradient(135deg, var(--df-primary, #FF7A00) 0%, var(--df-primary-dark, #E05A00) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.search-bar-hero {
  border: 1px solid rgba(154, 205, 50, 0.3) !important;
  box-shadow: 0 0 15px rgba(154, 205, 50, 0.1) !important;
  transition: var(--df-transition) !important;
}

.search-bar-hero:focus-within {
  border-color: var(--df-primary) !important;
  box-shadow: 0 0 25px rgba(154, 205, 50, 0.25) !important;
}

.search-bar-hero button {
  background: linear-gradient(135deg, var(--df-primary, #FF7A00) 0%, var(--df-primary-dark, #E05A00) 100%) !important;
  color: #fff !important;
  border-radius: var(--df-radius-full) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 30px !important;
  box-shadow: 0 4px 15px rgba(154, 205, 50, 0.4) !important;
  border: none !important;
  transition: var(--df-transition) !important;
}

.search-bar-hero button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(154, 205, 50, 0.5) !important;
}

.features {
  margin-top: -48px !important;
  gap: 24px !important;
}

.feature {
  border-radius: var(--df-radius-lg) !important;
  border: 1px solid var(--df-border-light) !important;
  padding: 28px 24px !important;
}

.feature i {
  color: var(--df-primary) !important;
  -webkit-text-fill-color: var(--df-primary) !important;
  background: none !important;
}

/* ---------- CARDS & BUTTONS ---------- */
.card {
  border-radius: var(--df-radius-lg) !important;
  border: 1px solid var(--df-border-light) !important;
  box-shadow: var(--df-shadow-sm) !important;
}

.card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--df-shadow-md) !important;
}

.badge {
  background: var(--df-primary) !important;
  color: #fff !important;
  border-radius: var(--df-radius-full) !important;
}

button,
.btn {
  background: var(--df-primary) !important;
  color: #fff !important;
  border-radius: var(--df-radius-md) !important;
  box-shadow: var(--df-shadow-primary) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

button.outline,
.btn.outline {
  background: #fff !important;
  border: 2px solid var(--df-primary) !important;
  color: var(--df-primary) !important;
  box-shadow: none !important;
}

.promo-banner {
  background: var(--df-primary) !important;
  border-radius: var(--df-radius-xl) !important;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--df-gradient-dark) !important;
  padding: 64px clamp(16px, 4vw, 48px) 32px !important;
  margin-top: auto !important;
  padding-top: 64px !important;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--df-gradient);
}

.footer-col h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 18px !important;
  color: #2F4F4F !important;
}

.footer-col h3 i {
  color: var(--df-primary);
}

.footer-col a {
  font-size: 0.9rem !important;
  padding: 4px 0;
  transition: var(--df-transition);
}

.footer-col a:hover {
  color: var(--df-primary) !important;
  transform: translateX(4px) !important;
}

.footer-brand p {
  color: #94a3b8;
  margin-bottom: 20px;
  line-height: 1.65;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05) !important;
  font-size: 1.15rem;
  transition: var(--df-transition);
  margin-bottom: 0 !important;
}

.footer-social a:hover {
  background: var(--df-primary);
  color: #fff !important;
  transform: translateY(-3px) !important;
}

.footer-inner {
  padding: 0 !important;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-bottom {
  color: #64748b !important;
  font-size: 0.85rem !important;
}

/* ---------- PANEL SIDEBAR ---------- */
.sidebar {
  background: var(--df-sidebar) !important;
  border-right: 1px solid var(--df-sidebar-border, rgba(255,255,255,0.08)) !important;
}

.sidebar-header {
  padding: 28px 20px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
}

.sidebar h2 {
  /* font-size: 1.15rem !important; */
  font-size: 24px;
  font-weight: 800 !important;
}

.sidebar h2 i {
  color: var(--df-primary) !important;
  text-shadow: 0 0 20px var(--df-primary-glow);
}

.sidebar a {
  border-radius: var(--df-radius-md) !important;
  padding: 12px 16px !important;
  font-size: 0.9rem !important;
  margin-bottom: 4px !important;
}

.sidebar a:hover {
  background: var(--df-sidebar-hover) !important;
  color: var(--df-primary) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.sidebar a.active {
  background: var(--df-sidebar-active) !important;
  color: var(--df-primary) !important;
  border-color: rgba(154, 205, 50, 0.2) !important;
  box-shadow: inset 3px 0 0 var(--df-primary) !important;
}

.sidebar a.active i,
.sidebar a:hover i {
  color: var(--df-primary) !important;
}

/* ---------- PANEL MAIN ---------- */
.main {
  background: var(--df-panel-bg) !important;
  border-radius: 0 !important;
}

.top-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px);
  padding: 14px clamp(16px, 3vw, 40px) !important;
  border-bottom: 1px solid var(--df-border-light) !important;
}

.nav-search input {
  border-radius: var(--df-radius-full) !important;
  background: var(--df-bg) !important;
  border-color: var(--df-border) !important;
}

.nav-search input:focus {
  border-color: var(--df-primary) !important;
  box-shadow: 0 0 0 4px var(--df-primary-glow) !important;
}

a.nav-icon {
  border-radius: var(--df-radius-md) !important;
  background: var(--df-bg) !important;
}

a.nav-icon:hover {
  background: var(--df-primary-light) !important;
  color: var(--df-primary) !important;
}

a.profile-avatar {
  padding: 6px 12px 6px 6px;
  border-radius: var(--df-radius-full);
  background: var(--df-bg);
  border: 1px solid var(--df-border);
  transition: var(--df-transition);
}

a.profile-avatar:hover {
  border-color: var(--df-primary);
  box-shadow: var(--df-shadow-xs);
}

.page-content {
  padding: clamp(16px, 3vw, 36px) clamp(16px, 3vw, 40px) !important;
}

.header h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

/* Panel cards */
.main .card {
  border-radius: var(--df-radius-lg) !important;
  border: 1px solid var(--df-border-light) !important;
  box-shadow: var(--df-shadow-sm) !important;
  background: var(--df-panel-card) !important;
  backdrop-filter: none;
}

.main .card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--df-shadow-md) !important;
}

.main .card h2,
.main .card .big {
  color: var(--df-primary) !important;
}

/* ---------- LOGIN PAGES – SPLIT SCREEN ---------- */
body:has(.login-split) {
  display: flex !important;
  overflow: hidden !important;
  min-height: 100vh;
  max-height: 100vh;
}

.login-split {
  display: flex !important;
  flex-direction: row !important;
  flex: 1 !important;
  width: 100% !important;
  min-height: 100vh;
  max-height: 100vh;
}

/* ---- Left hero panel ---- */
.login-split .left {
  flex: 1.1;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 56px 52px;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Gradient overlay on top of image */
.login-split .left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(20, 18, 14, 0.35) 0%,
    rgba(20, 18, 14, 0.72) 100%
  );
  z-index: 1;
}

/* Decorative blurred blob */
.login-split .left::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,0,0.4) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  z-index: 1;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

.login-split .left-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

/* Logo badge */
.login-split .left-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 32px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-split .left-badge i {
  color: #FF7A00;
  font-size: 1rem;
}

.login-split .left-content h1 {
  font-size: clamp(2.2rem, 3.5vw, 3rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.15 !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.login-split .left-content p {
  font-size: 1.05rem !important;
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.65 !important;
  opacity: 1 !important;
  max-width: 380px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

/* Feature pills */
.login-split .left-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.login-split .left-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  transition: all 0.3s;
}

.login-split .left-feature-pill:hover {
  background: rgba(255,122,0,0.35);
  border-color: rgba(255,122,0,0.5);
}

.login-split .left-feature-pill i {
  color: #FF7A00;
  font-size: 0.8rem;
}

/* Per-portal image backgrounds */
.login-split .left.hero-usuario {
  background-image: url('/images/login_hero_usuario.png') !important;
}
.login-split .left.hero-lojista {
  background-image: url('/images/login_hero_lojista.png') !important;
}
.login-split .left.hero-entregador {
  background-image: url('/images/login_hero_entregador.png') !important;
}
.login-split .left.hero-admin {
  background-image: url('/images/login_hero_admin.png') !important;
}

/* ---- Right form panel ---- */
.login-split .right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  overflow-y: auto;
  background: var(--df-bg) !important;
}

.login-card {
  background: var(--df-surface);
  padding: 44px 40px;
  border-radius: var(--df-radius-xl);
  box-shadow: var(--df-shadow-md);
  border: 1px solid var(--df-border-light);
  width: 100%;
  max-width: 420px;
  animation: slideInRight 0.5s cubic-bezier(0.22,1,0.36,1) both;
}

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

.login-card h2 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.login-card button[type="submit"],
.register-card button[type="submit"],
.btn-submit {
  background: var(--df-primary) !important;
  color: #fff !important;
  border-radius: var(--df-radius-md) !important;
  box-shadow: var(--df-shadow-primary) !important;
}

/* Ensure social outline buttons have correct typography, color and bg */
.social-btns {
  display: flex !important;
  gap: 16px !important;
  margin-top: 24px !important;
  justify-content: center !important;
}

.social-btns button {
  flex: 1 !important;
  margin-top: 0 !important;
  padding: 12px 16px !important;
  background: var(--df-border-light) !important;
  color: var(--df-text) !important;
  border: 1px solid var(--df-border) !important;
  border-radius: var(--df-radius-md) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: var(--df-transition) !important;
}

.social-btns button:hover {
  background: var(--df-border) !important;
  transform: translateY(-2px) !important;
}

.portal-links {
  border-top-color: var(--df-border) !important;
}

.portal-links a {
  padding: 6px 14px;
  border-radius: var(--df-radius-full);
  background: var(--df-primary-light);
  font-weight: 600 !important;
  transition: var(--df-transition);
}

.portal-links a:hover {
  background: var(--df-primary);
  color: #fff !important;
}

/* Legacy support – keep body:has(.left) for older views */
body:has(.left):not(:has(.login-split)) {
  display: flex !important;
  overflow: auto !important;
  min-height: 100vh;
}

/* Entregador login */
.entregador-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--df-gradient-dark);
  padding: 24px;
}

.entregador-login-box {
  width: 100%;
  max-width: 440px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--df-radius-xl);
  padding: 40px 32px;
  box-shadow: var(--df-shadow-lg);
  text-align: center;
  color: var(--df-text-light);
}

.entregador-login-box h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.entregador-login-box h1 i {
  color: var(--df-primary);
}

.entregador-login-box p {
  color: var(--df-text-sidebar);
  margin-bottom: 28px;
}

.entregador-login-box select {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: var(--df-radius-md);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.entregador-login-box .select-wrap {
  position: relative;
  margin-bottom: 20px;
}

.entregador-login-box .select-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--df-primary);
}

/* ---------- ERROR PAGES ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--df-gradient-dark);
  padding: 24px;
}

.error-box {
  text-align: center;
  max-width: 480px;
  color: var(--df-text-light);
}

.error-box .error-code {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  background: var(--df-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.error-box h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.error-box p {
  color: var(--df-text-sidebar);
  margin-bottom: 28px;
  line-height: 1.6;
}

.error-box .btn-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--df-gradient);
  color: #fff;
  text-decoration: none;
  border-radius: var(--df-radius-md);
  font-weight: 700;
  box-shadow: var(--df-shadow-primary);
  transition: var(--df-transition);
}

.error-box .btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--df-primary-glow);
}

/* ---------- KANBAN ---------- */
.column {
  background: var(--df-bg) !important;
  border-radius: var(--df-radius-lg) !important;
}

.kanban-card {
  border-radius: var(--df-radius-md) !important;
  box-shadow: var(--df-shadow-xs) !important;
}

/* ---------- PAYMENT PAGE ---------- */
.pay-header {
  background: var(--df-surface-glass) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--df-border-light) !important;
}

.pay-logo {
  background: var(--df-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--df-primary);
}

/* ---------- RESPONSIVE HEADER ---------- */
@media (max-width: 991px) {
  header,
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    padding: 12px 20px !important;
    margin: 0 !important;
    background: #0d0603 !important;
    border-bottom: 1px solid rgba(255, 122, 0, 0.25) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  header .logo,
  .site-header .logo {
    order: 1 !important;
  }

  header:has(.nav-open),
  .site-header:has(.nav-open) {
    border-radius: 0 0 var(--df-radius-xl) var(--df-radius-xl) !important;
    background: rgba(13, 6, 3, 0.99) !important;
    border-bottom: 1px solid rgba(255, 122, 0, 0.35) !important;
  }

  .hamburger {
    order: 2 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: none !important;
    border: none !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    margin-left: auto !important;
  }

  header nav,
  .site-nav {
    order: 3 !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.35s ease;
  }

  header nav.nav-open,
  .site-nav.nav-open {
    max-height: 80vh !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    margin-top: 12px !important;
    background: #18110f !important;
    border-radius: 16px !important;
    padding: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 122, 0, 0.25) !important;
  }

  header nav a,
  .site-nav a {
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    justify-content: flex-start !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 12px 16px !important;
    white-space: nowrap !important;
    font-size: 0.92rem !important;
  }

  .header-city-pill {
    width: 100% !important;
    justify-content: space-between !important;
    margin: 0 0 10px 0 !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
  }
}

  .left::after {
    width: 90px;
    height: 90px;
    bottom: 16px;
    right: 16px;
  }

@media (max-width: 991px) {
  /* ===== LOGIN MOBILE: Full-screen image + glassmorphism card ===== */

  body:has(.login-split) {
    overflow: auto !important;
    max-height: none !important;
    min-height: 100vh !important;
  }

  .login-split {
    flex-direction: column !important;
    min-height: 100vh !important;
    max-height: none !important;
    position: relative !important;
    overflow-y: visible !important;
  }

  /* Hero image: full-screen fixed background to cover viewport perfectly on scroll */
  .login-split .left {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    flex: none !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: none !important;
    max-height: none !important;
    padding: 0 !important;
    z-index: 0 !important;
    align-items: unset !important;
  }

  /* Stronger full-screen overlay for readability */
  .login-split .left::before {
    background: linear-gradient(
      160deg,
      rgba(10, 8, 6, 0.55) 0%,
      rgba(10, 8, 6, 0.78) 100%
    ) !important;
  }

  /* Hide blob */
  .login-split .left::after {
    display: none !important;
  }

  /* Hide left text content */
  .login-split .left-content {
    display: none !important;
  }

  /* Right panel: scroll container over the fixed image */
  .login-split .right {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    height: auto !important;
    padding: 24px 20px 40px !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    overflow-y: auto !important;
    position: relative !important;
    z-index: 10 !important;
  }

  /* Glassmorphism card */
  .login-split .right .login-card,
  .login-split .right .register-card {
    width: 100% !important;
    max-width: 420px !important;
    background: rgba(255, 255, 255, 0.10) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 24px !important;
    padding: 36px 28px 32px !important;
    margin: auto !important;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.4),
      0 1px 0 rgba(255,255,255,0.1) inset !important;
    animation: slideInUp 0.5s cubic-bezier(0.22,1,0.36,1) both !important;
  }

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

  /* Adjust text colors for dark background */
  .login-split .right .login-card h2,
  .login-split .right .register-card h2 {
    color: #fff !important;
    font-size: 1.6rem !important;
    margin-bottom: 4px !important;
  }

  .login-split .right .login-card .subtitle,
  .login-split .right .register-card .subtitle {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.88rem !important;
    margin-bottom: 20px !important;
  }

  /* Labels */
  .login-split .right .login-card label,
  .login-split .right .register-card label {
    color: rgba(255,255,255,0.85) !important;
  }

  /* Input fields with glass style */
  .login-split .right .input-wrapper {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 12px !important;
  }

  .login-split .right .input-wrapper input {
    background: transparent !important;
    color: #fff !important;
  }

  .login-split .right .input-wrapper input::placeholder {
    color: rgba(255,255,255,0.45) !important;
  }

  .login-split .right .input-wrapper i {
    color: rgba(255,255,255,0.5) !important;
  }

  /* Info/error message boxes */
  .login-split .right .info-msg {
    background: rgba(22,101,52,0.35) !important;
    border: 1px solid rgba(187,247,208,0.25) !important;
    color: #bbf7d0 !important;
    border-radius: 10px !important;
  }

  .login-split .right .error-msg {
    background: rgba(220,38,38,0.3) !important;
    border: 1px solid rgba(252,165,165,0.25) !important;
    color: #fca5a5 !important;
    border-radius: 10px !important;
  }

  /* Links */
  .login-split .right .links a {
    color: rgba(255,255,255,0.8) !important;
  }

  .login-split .right .links a:first-child {
    color: #FF9A3C !important;
  }

  /* Social divider */
  .login-split .right .social span {
    background: transparent !important;
    color: rgba(255,255,255,0.5) !important;
  }

  .login-split .right .social::before {
    background: rgba(255,255,255,0.2) !important;
  }

  /* Social buttons with glass style */
  .login-split .right .social-btns button {
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
  }

  .login-split .right .social-btns button:hover {
    background: rgba(255,255,255,0.22) !important;
  }

  /* Portal links */
  .login-split .right .portal-links a {
    background: rgba(255,122,0,0.2) !important;
    color: #FF9A3C !important;
    border: 1px solid rgba(255,122,0,0.3) !important;
  }

  /* Links section */
  .links {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .portal-links {
    justify-content: center !important;
  }

  /* ===== Legacy .right (non-login pages) ===== */
  .right:not(.login-split .right) {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    height: auto !important;
    padding: 40px 16px !important;
    background: var(--df-bg) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow-y: visible !important;
  }

  /* ===== Other panel mobile fixes ===== */
  .profile-avatar span {
    display: none !important;
  }
  a.profile-avatar {
    padding: 0 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .section-title {
    grid-column: span 1 !important;
  }

  .portal-links {
    justify-content: center !important;
  }

  .main {
    border-radius: 0 !important;
  }
}

@media (max-width: 600px) {
  .mascote-container {
    bottom: 80px !important;
    right: 12px !important;
  }
}

/* iOS-style toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e2e8f0;
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

input:checked + .slider {
  background-color: var(--primary, #FF7A00);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary, #FF7A00);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.notif-toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.notif-toggle-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

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

.notif-toggle-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark, #1e293b);
}

.notif-toggle-desc {
  font-size: 0.82rem;
  color: var(--text-muted, #64748b);
}

/* ---------- TESTIMONIALS CAROUSEL & MODAL ENHANCEMENTS ---------- */
.testimonials-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 30px auto 10px;
}

.testimonials-slider-track-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 15px 5px;
}

.testimonials-slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonials-slider-track .testimonial-card {
  flex: 0 0 calc(33.333% - 14px);
  box-sizing: border-box;
  background: var(--df-panel-card, #fff);
  border: 1px solid var(--df-border-light, #e2e8f0);
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.testimonials-slider-track .testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(154, 205, 50, 0.15);
  border-color: rgba(154, 205, 50, 0.3);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--df-primary, #FF7A00), var(--df-accent));
  border: none;
  box-shadow: 0 6px 20px rgba(154, 205, 50, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  /* Only animate color/shadow — NOT transform, to avoid moving */
  transition: background 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  color: #fff;
  font-size: 16px;
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: linear-gradient(135deg, var(--df-primary-dark), var(--df-primary));
  box-shadow: 0 10px 28px rgba(154, 205, 50, 0.5);
  /* Lock transform so the global button:hover translateY(-3px) has no effect */
  transform: translateY(-50%) !important;
}

.slider-arrow.prev-arrow {
  left: -25px;
}

.slider-arrow.next-arrow {
  right: -25px;
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.slider-bullets {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.slider-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--df-border, #cbd5e1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-bullet.active {
  background: var(--df-primary, #FF7A00);
  width: 28px;
  border-radius: 5px;
}

/* Modal Form styling */
.rating-select {
  display: flex;
  gap: 10px;
  font-size: 28px;
  color: #e2e8f0;
  margin: 10px 0 20px;
}

.rating-select i {
  cursor: pointer;
  transition: all 0.2s ease;
}

.rating-select i.active,
.rating-select i.hover {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(154, 205, 50, 0.3);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--df-text, #1e293b);
  font-size: 0.95rem;
}

.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-input {
  width: 100%;
  padding: 12px;
  background: #f8fafc;
  border: 2px dashed var(--df-border, #e2e8f0);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-input:hover {
  border-color: var(--df-primary, #FF7A00);
  background: var(--df-primary-light, rgba(154, 205, 50, 0.05));
}

.testimonials-actions {
  display: flex;
  gap: 12px;
}

.testimonial-user img {
  border: 2px solid var(--df-primary-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
  .testimonials-slider-track .testimonial-card {
    flex: 0 0 calc(50% - 10px);
  }
  .slider-arrow.prev-arrow { left: -15px; }
  .slider-arrow.next-arrow { right: -15px; }
}

@media (max-width: 768px) {
  .testimonials-slider-track .testimonial-card {
    flex: 0 0 100%;
  }
  /* Show compact orange arrows on mobile — no touch swipe implemented yet */
  .slider-arrow {
    display: flex;
    width: 36px;
    height: 36px;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(154, 205, 50, 0.4);
  }
  .slider-arrow.prev-arrow { left: -4px; }
  .slider-arrow.next-arrow { right: -4px; }
}

/* ========================================================
   SUBSCRIPTION PLANS – MODERN REDESIGN
   ======================================================== */

/* --- Grid wrapper --- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}

/* --- Base Card --- */
.plan-card {
  background: var(--df-panel-card, #fff) !important;
  border: 1.5px solid var(--df-border-light, #e2e8f0) !important;
  border-radius: 24px !important;
  padding: 32px 28px 28px !important;
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.06) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 340px !important;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease !important;
  overflow: hidden !important;
}

/* subtle top accent line via ::before */
.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #cbd5e1;
  border-radius: 24px 24px 0 0;
  transition: background 0.3s;
}

.plan-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.12) !important;
}

/* --- Basico --- */
.plan-card.basico::before {
  background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}

/* --- Pro (Popular) --- */
.plan-card.pro {
  border-color: rgba(var(--df-primary-rgb, 255,122,0), 0.35) !important;
}
.plan-card.pro::before {
  background: linear-gradient(90deg, var(--df-primary, #FF7A00), #ffb347);
}
.plan-card.pro:hover {
  box-shadow: 0 24px 48px -8px rgba(255, 122, 0, 0.18) !important;
}

/* --- Premium --- */
.plan-card.premium {
  border-color: rgba(124, 58, 237, 0.2) !important;
  background: linear-gradient(160deg, #fff 0%, #faf8ff 100%) !important;
}
.plan-card.premium::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.plan-card.premium:hover {
  box-shadow: 0 24px 48px -8px rgba(124, 58, 237, 0.15) !important;
}

/* --- Plan Icon Badge --- */
.plan-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.plan-icon.basico-icon {
  background: rgba(148, 163, 184, 0.12);
  color: #64748b;
}
.plan-icon.pro-icon {
  background: rgba(255, 122, 0, 0.1);
  color: var(--df-primary, #FF7A00);
}
.plan-icon.premium-icon {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

/* --- Popular Badge --- */
.plan-badge-popular {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--df-primary, #FF7A00), #ffb347);
  color: #fff;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(255,122,0,0.35);
  animation: pulseBadge 2.5s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 4px 12px rgba(255,122,0,0.35); }
  50%       { box-shadow: 0 4px 20px rgba(255,122,0,0.55); }
}

/* --- Current Plan Badge --- */
.plan-badge-current {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

/* --- Plan Name --- */
.plan-card h3,
.plan-name {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: var(--df-text, #1e293b) !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.01em !important;
}

/* --- Price --- */
.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 12px 0 20px;
}
.plan-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--df-primary, #FF7A00);
  margin-top: 2px;
}
.plan-card h2,
.plan-price {
  font-size: 2.4rem !important;
  font-weight: 900 !important;
  color: var(--df-primary, #FF7A00) !important;
  line-height: 1 !important;
  margin: 0 !important;
  letter-spacing: -0.03em !important;
}
.plan-period {
  font-size: 0.9rem;
  color: var(--df-text-muted, #64748b);
  font-weight: 400;
  margin-left: 2px;
}

/* --- Divider --- */
.plan-divider {
  width: 100%;
  height: 1px;
  background: var(--df-border-light, #e2e8f0);
  margin: 16px 0;
}

/* --- Features --- */
.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--df-text-muted, #64748b);
  font-weight: 500;
}

.plan-feature-item i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- CTA Buttons --- */
.plan-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 24px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.plan-btn-primary {
  background: linear-gradient(135deg, var(--df-primary, #FF7A00), #ff9a3c);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,122,0,0.25);
}
.plan-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,122,0,0.38);
  color: #fff;
}
.plan-btn-gold {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124,58,237,0.22);
  font-weight: 800;
}
.plan-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(124,58,237,0.35);
  color: #fff;
}
.plan-btn-muted {
  background: rgba(148,163,184,0.12);
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}
.plan-btn-current {
  background: rgba(16,185,129,0.08);
  color: #10b981;
  border: 1.5px solid rgba(16,185,129,0.25);
  cursor: default;
  box-shadow: none;
}

/* --- Section Title Helper --- */
.plans-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--df-text, #1e293b);
  margin-bottom: 8px;
}
.plans-section-title i {
  color: var(--df-primary, #FF7A00);
}
.plans-section-sub {
  color: var(--df-text-muted, #64748b);
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* --- Current Plan Banner --- */
.current-plan-banner {
  background: var(--df-panel-card, #fff);
  border: 1.5px solid var(--df-border-light, #e2e8f0);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.current-plan-banner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--df-primary, #FF7A00), #ffb347);
  border-radius: 20px 0 0 20px;
}
.current-plan-banner.no-plan::before {
  background: linear-gradient(180deg, #ef4444, #f87171);
}

/* --- Form Styles for Create Plan --- */
.create-plan-form {
  background: var(--df-panel-card, #fff) !important;
  border: 1.5px solid var(--df-border-light, #e2e8f0) !important;
  border-radius: 20px !important;
  padding: 30px !important;
  margin-bottom: 40px !important;
}

.create-plan-form h3 {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  margin-bottom: 20px !important;
  color: var(--df-text, #1e293b) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

/* --- Status Badges --- */
.status.ativa {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #10b981 !important;
  border-radius: 8px;
  padding: 4px 12px;
  font-weight: 700;
  font-size: 12px;
}

.status.inativa {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #ef4444 !important;
  border-radius: 8px;
  padding: 4px 12px;
  font-weight: 700;
  font-size: 12px;
}

/* --- Admin Delete Button for Plan Cards --- */
.plan-card-admin-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--df-border-light, #e2e8f0);
}

@media (max-width: 768px) {
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .current-plan-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   FRONT & STOREFRONT LAYOUT OVERRIDES (MODERN DARK SYSTEM)
   ============================================================ */

body {
  background: var(--df-bg) !important;
  color: var(--df-text) !important;
}

/* Global Cards & Containers */
.card, .product-card, .card-big, .card-small {
  background: var(--df-surface-glass) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--df-border) !important;
  box-shadow: var(--df-shadow-md) !important;
  color: var(--df-text) !important;
}

.card:hover, .product-card:hover, .card-big:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: var(--df-shadow-lg) !important;
  border-color: var(--df-primary) !important;
}

.card .info, .card-big .info, .card-small .info, .product-card .info {
  background: transparent !important;
  padding: 24px !important;
  color: var(--df-text) !important;
}

.card .info h3, .card-big h2, .card-small h4, .product-card h3 {
  color: var(--df-text) !important;
  font-weight: 800 !important;
}

.card .info p, .card-big p, .card-small p, .product-card .desc {
  color: var(--df-text-muted) !important;
}

.card .price, .card-big .price, .card-small .price, .product-card .price {
  color: var(--df-text) !important;
}

.card .price span, .card-big .actions .price, .card-small .price, .product-card .price {
  color: var(--df-primary) !important;
  font-weight: 800 !important;
}

/* Landing Page Features Grid */
.features {
  margin-top: -60px !important;
}

.feature {
  background: var(--df-surface-glass) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--df-border) !important;
  box-shadow: var(--df-shadow-md) !important;
  color: var(--df-text) !important;
}

.feature:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--df-shadow-lg) !important;
  border-color: var(--df-primary) !important;
}

.feature h3 {
  color: var(--df-text) !important;
  font-weight: 800 !important;
}

.feature p {
  color: var(--df-text-muted) !important;
}

/* How It Works Steps */
.step-card {
  background: var(--df-surface-glass) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--df-border) !important;
  box-shadow: var(--df-shadow-md) !important;
  color: var(--df-text) !important;
  transition: var(--df-transition) !important;
}

.step-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--df-shadow-lg) !important;
  border-color: var(--df-primary) !important;
}

.step-card h3 {
  color: var(--df-text) !important;
  font-weight: 800 !important;
}

.step-card p {
  color: var(--df-text-muted) !important;
}

.step-card .icon-wrap {
  background: var(--df-primary-light) !important;
  color: var(--df-primary) !important;
  box-shadow: 0 8px 20px var(--df-primary-glow) !important;
}

/* Testimonials */
.testimonial-card {
  background: var(--df-surface-glass) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--df-border) !important;
  box-shadow: var(--df-shadow-md) !important;
  color: var(--df-text) !important;
}

.testimonial-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--df-shadow-lg) !important;
  border-color: var(--df-primary) !important;
}

.testimonial-card p {
  color: var(--df-text-muted) !important;
}

.testimonial-user span {
  color: var(--df-text) !important;
  font-weight: 800 !important;
}

.testimonial-user small {
  color: var(--df-text-muted) !important;
}

/* Hero Search Bar */
.search-bar-hero {
  background: var(--df-surface) !important;
  border: 1px solid var(--df-border) !important;
  box-shadow: var(--df-shadow-lg) !important;
  padding: 6px !important;
  border-radius: 50px !important;
}

.search-bar-hero input {
  color: var(--df-text) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
}

.search-bar-hero input::placeholder {
  color: var(--df-text-muted) !important;
}

/* Categories cards */
.category-card img {
  border: 2px solid transparent !important;
}

.category-card:hover img {
  border-color: var(--df-primary) !important;
}

.category-card span {
  color: var(--df-text) !important;
  font-weight: 700 !important;
}

/* Forms & Inputs */
input, select, textarea {
  background: var(--df-surface) !important;
  border-color: var(--df-border) !important;
  color: var(--df-text) !important;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--df-primary) !important;
  box-shadow: 0 0 0 4px var(--df-primary-glow) !important;
}

/* Promo Banner */
.promo-banner {
  background: var(--df-gradient) !important;
  box-shadow: var(--df-shadow-primary) !important;
}

.promo-banner .btn {
  background: var(--df-surface) !important;
  color: var(--df-primary) !important;
}

.promo-banner .btn:hover {
  background: #fff !important;
  color: var(--df-primary-dark) !important;
}

/* ============================================================
   GOURMETDASH STYLE RESTAURANT CARDS
   ============================================================ */

.card-store {
  position: relative !important;
  border: 1px solid rgba(154, 205, 50, 0.15) !important;
  background: var(--df-surface-glass) !important;
  border-radius: var(--df-radius-lg) !important;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  overflow: visible !important;
}

.card-store:hover {
  border-color: rgba(154, 205, 50, 0.5) !important;
  box-shadow: 0 8px 30px rgba(154, 205, 50, 0.15) !important;
  transform: translateY(-6px) !important;
}

/* Heart Wishlist Button */
.wishlist-btn {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  z-index: 10 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(19, 26, 38, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.wishlist-btn:hover {
  background: rgba(154, 205, 50, 0.2) !important;
  border-color: var(--df-primary) !important;
  color: var(--df-primary) !important;
  transform: scale(1.1) !important;
}

.wishlist-btn.active {
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}

/* Store Logo Badge Overlapping Bottom Left of Image */
.store-logo-badge {
  position: absolute !important;
  bottom: 12px !important;
  left: 15px !important;
  z-index: 5 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid var(--df-border) !important;
  padding: 2px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.store-logo-badge img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

/* View Menu Button */
.btn-view-menu {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid rgba(154, 205, 50, 0.3) !important;
  background: transparent !important;
  color: var(--df-text) !important;
  border-radius: var(--df-radius-md) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  box-shadow: none !important;
  display: block !important;
  text-align: center !important;
}

.btn-view-menu:hover {
  background: rgba(154, 205, 50, 0.1) !important;
  border-color: var(--df-primary) !important;
  color: var(--df-primary) !important;
  transform: none !important;
}

#btnOpenTestimonialModal:hover {
  transform: none !important;
}

/* Minimal Store Cards */
.card-store-minimal {
  position: relative;
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid var(--df-border) !important;
  border-radius: var(--df-radius-lg) !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 190px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: var(--df-shadow-sm) !important;
  text-decoration: none !important;
}

.card-store-minimal:hover {
  transform: translateY(-4px) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(154, 205, 50, 0.35) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.store-minimal-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 16px !important;
  width: 100% !important;
}

.store-logo-wrapper {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(11, 15, 25, 0.9) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.store-logo-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.store-minimal-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.badge-minimal {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 8px !important;
  border-radius: var(--df-radius-sm) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.badge-minimal.highlight {
  background: linear-gradient(135deg, var(--df-primary, #FF7A00), var(--df-primary-dark, #E05A00)) !important;
  box-shadow: 0 4px 12px rgba(154, 205, 50, 0.2) !important;
}

.badge-minimal.coupon {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}

.wishlist-btn-minimal {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #2F4F4F !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

.wishlist-btn-minimal:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #ef4444 !important;
}

.wishlist-btn-minimal.active {
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}

.store-minimal-body {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  width: 100% !important;
}

.store-title-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 6px !important;
  width: 100% !important;
}

.store-title-row h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--df-text) !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 180px !important;
}

.store-rating {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(154, 205, 50, 0.1) !important;
  border: 1px solid rgba(154, 205, 50, 0.2) !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
}

.store-rating i {
  color: var(--primary) !important;
  font-size: 11px !important;
}

.store-rating span {
  color: var(--primary) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.store-details-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--df-text-muted) !important;
  font-size: 13px !important;
  width: 100% !important;
}

.store-details-row .separator {
  color: var(--df-border) !important;
}

.store-minimal-footer {
  margin-top: 14px !important;
  border-top: 1px solid var(--df-border) !important;
  padding-top: 12px !important;
  width: 100% !important;
}

.store-minimal-footer .btn-action {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--df-primary) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.card-store-minimal:hover .store-minimal-footer .btn-action {
  color: var(--df-primary-hover) !important;
  transform: translateX(4px) !important;
}

/* ============================================================
   ORDER TRACKING FLOATING WIDGET (GourmetDash Style)
   ============================================================ */

.df-tracking-widget {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 320px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--df-radius-lg) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
  z-index: 9999 !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.df-tracking-widget.collapsed {
  height: 52px !important;
}

.df-tracking-widget.expanded {
  height: auto !important;
}

/* Header */
.df-tracking-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 16px 20px !important;
  background: rgba(30, 41, 59, 0.45) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  color: #ffffff !important;
  user-select: none !important;
}

.df-tracking-header span {
  font-weight: 700 !important;
}

.df-tracking-header .demo-badge {
  background: rgba(154, 205, 50, 0.18) !important;
  color: var(--df-primary, #FF7A00) !important;
  padding: 2px 6px !important;
  border-radius: var(--df-radius-sm) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  margin-left: 6px !important;
  letter-spacing: 0 !important;
  border: 1px solid rgba(154, 205, 50, 0.25) !important;
}

.df-tracking-header .toggle-icon {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  transition: transform 0.3s ease !important;
}

.df-tracking-widget.collapsed .toggle-icon {
  transform: rotate(180deg) !important;
}

/* Body */
.df-tracking-body {
  padding: 20px !important;
}

.store-name-tracking {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 20px !important;
}

.store-name-tracking span {
  font-weight: 700 !important;
}

/* Steps */
.tracking-steps-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  position: relative !important;
  margin-bottom: 24px !important;
}

.tracking-steps-container::before {
  content: "" !important;
  position: absolute !important;
  top: 10px !important;
  left: 11px !important;
  bottom: 10px !important;
  width: 2px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  z-index: 1 !important;
}

.tracking-step {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  position: relative !important;
  z-index: 2 !important;
}

.step-dot {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: rgba(30, 41, 59, 0.7) !important;
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 10px !important;
  transition: all 0.3s ease !important;
}

.step-dot i {
  font-size: 10px !important;
}

.step-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.45) !important;
  transition: all 0.3s ease !important;
}

/* Completed Step */
.tracking-step.completed .step-dot {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3) !important;
}

.tracking-step.completed .step-label {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Active Step */
.tracking-step.active-step .step-dot {
  background: var(--df-primary, #FF7A00) !important;
  border-color: var(--df-primary, #FF7A00) !important;
  color: #000000 !important;
  box-shadow: 0 0 12px rgba(154, 205, 50, 0.6) !important;
  animation: pulse-green 2s infinite !important;
}

.tracking-step.active-step .step-label {
  color: #ffffff !important;
  font-weight: 700 !important;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(154, 205, 50, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(154, 205, 50, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(154, 205, 50, 0);
  }
}

/* Driver Info Box */
.tracking-driver-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--df-radius-md) !important;
  padding: 12px 14px !important;
}

.driver-info {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.driver-info img {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
}

.driver-info div {
  display: flex !important;
  flex-direction: column !important;
}

.driver-info strong {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.driver-info span {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.estimated-time {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(154, 205, 50, 0.12) !important;
  border: 1px solid rgba(154, 205, 50, 0.25) !important;
  color: var(--df-primary, #FF7A00) !important;
  padding: 6px 10px !important;
  border-radius: var(--df-radius-full) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.estimated-time i {
  font-size: 13px !important;
  color: var(--df-primary, #FF7A00) !important;
}


/* ============================================================
   GLOBAL DARK GLASS & GLOW OVERRIDES FOR ALL FLOW PAGES
   ============================================================ */

/* Generic Card Boxes and Containers */
.card-box, .cart-item, .cupom, .resumo, .pay-card, .address-box, .dinheiro-info {
  background: var(--df-surface-glass) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid var(--df-border) !important;
  border-radius: var(--df-radius-lg) !important;
  box-shadow: var(--df-shadow-md) !important;
  color: var(--df-text) !important;
}

.card-box h3, .cart-container h2, .pay-card-title, .store-badge span, .dinheiro-info h4 {
  color: var(--df-text) !important;
  font-weight: 800 !important;
}

.cart-item .nome, .summary-item, .summary-item-line, .linha, .address-text, .troco-group label, .card-form-group label {
  color: var(--df-text-sidebar) !important;
}

.cart-item .preco, .resumo .linha.total, .summary-total, .summary-total-row, .summary-total-row span:last-child {
  color: var(--df-primary) !important;
  font-weight: 800 !important;
}

.linha.total, .summary-total, .summary-total-row {
  border-top-color: var(--df-border) !important;
}

/* Custom Local Buttons */
.qtd button, .payment-options div, .method-tab {
  background: var(--df-border-light) !important;
  border: 1px solid var(--df-border) !important;
  color: var(--df-text-muted) !important;
  border-radius: var(--df-radius-md) !important;
  transition: var(--df-transition) !important;
}

.qtd button:hover, .payment-options div:hover, .method-tab:hover {
  border-color: rgba(154, 205, 50, 0.5) !important;
  color: var(--df-primary) !important;
  background: rgba(154, 205, 50, 0.08) !important;
}

.payment-options .active, .method-tab.active-pix, .method-tab.active-cartao, .method-tab.active-dinheiro {
  border-color: var(--df-primary) !important;
  background: var(--df-primary-light) !important;
  color: var(--df-primary) !important;
  box-shadow: 0 0 15px var(--df-primary-glow) !important;
  font-weight: 700 !important;
}

.method-tab.active-pix {
  border-color: #32bcad !important;
  background: rgba(50, 188, 173, 0.1) !important;
  color: #32bcad !important;
  box-shadow: 0 0 15px rgba(50, 188, 173, 0.2) !important;
}

.method-tab.active-cartao {
  border-color: #5c6bc0 !important;
  background: rgba(92, 107, 192, 0.1) !important;
  color: #5c6bc0 !important;
  box-shadow: 0 0 15px rgba(92, 107, 192, 0.2) !important;
}

.method-tab.active-dinheiro {
  border-color: var(--primary) !important;
  background: var(--df-primary-light) !important;
  color: var(--primary) !important;
  box-shadow: 0 0 15px var(--df-primary-glow) !important;
}

/* Specific Checkout & Input Overrides */
.input-group input, .input-group select, .card-form-group input, .card-form-group select, .troco-group input, textarea {
  background: #ffffff !important;
  border: 1px solid var(--df-border) !important;
  color: var(--df-text) !important;
  border-radius: var(--df-radius-md) !important;
}

.input-group input:focus, .input-group select:focus, .card-form-group input:focus, .card-form-group select:focus, .troco-group input:focus, textarea:focus {
  border-color: var(--df-primary) !important;
  box-shadow: 0 0 0 3px var(--df-primary-glow) !important;
  background: #ffffff !important;
}

/* Pay Header Floating style matching main navbar */
.pay-header {
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 40px) !important;
  max-width: 1200px !important;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(154, 205, 50, 0.3) !important;
  border-radius: var(--df-radius-full) !important;
  padding: 12px 28px !important;
  box-shadow: 0 0 25px rgba(154, 205, 50, 0.15) !important;
  transition: var(--df-transition) !important;
  z-index: 1000 !important;
}

.pay-logo {
  background: linear-gradient(135deg, var(--df-primary, #FF7A00) 0%, var(--df-primary-dark, #E05A00) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800 !important;
}

.pay-main, .payment-container, .order-container, .eval-container, .cart-container {
  padding-top: 100px !important; /* Spacing for floating header */
}

/* PIX Specific Overrides */
.pix-code-box {
  background: var(--df-border-light) !important;
  border: 1.5px dashed rgba(50, 188, 173, 0.5) !important;
  color: var(--df-text) !important;
}

.pix-polling {
  background: var(--df-primary-light) !important;
  border: 1px solid rgba(154, 205, 50, 0.3) !important;
  color: var(--primary) !important;
}

/* Acompanhamento Timeline */
.step {
  color: var(--df-text-muted) !important;
}

.step div {
  color: inherit !important;
}

.timeline .line {
  background: var(--df-border) !important;
}

.timeline .circle {
  background: var(--df-border) !important;
}

.timeline .circle.active {
  background: var(--df-primary) !important;
  box-shadow: 0 0 10px var(--df-primary-glow) !important;
}

/* Success Modal Overlay */
#success-overlay {
  background: rgba(11, 15, 25, 0.8) !important;
  backdrop-filter: blur(20px) !important;
}

.success-modal {
  background: var(--df-surface) !important;
  border: 1px solid var(--df-border) !important;
  box-shadow: var(--df-shadow-lg) !important;
}

.success-title {
  color: var(--df-text) !important;
}

.success-sub {
  color: var(--df-text-muted) !important;
}

/* ============================================================
   ADDITIONAL MOBILE RESPONSIVENESS OVERRIDES (GOURMETDASH SYSTEM)
   ============================================================ */

/* Global container spacing adjustments on mobile */
@media (max-width: 992px) {
  .container-loja {
    flex-direction: column !important;
    padding: 16px !important;
    gap: 20px !important;
    min-height: 45vh !important;
  }
  .featured-grid {
    grid-template-columns: 1fr !important;
  }
  .cart {
    width: 100% !important;
    position: static !important;
    margin-top: 20px !important;
  }
}

@media (max-width: 991px) {
  .banner {
    height: auto !important;
    min-height: 200px !important;
    padding-bottom: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  .banner h1 {
    font-size: 24px !important;
    text-align: center;
  }
  .banner-content p {
    font-size: 14px !important;
    text-align: center;
  }
  .menu-cards {
    grid-template-columns: 1fr !important;
  }
  .site-header {
    height: auto !important;
  }
  .site-nav.nav-open {
    max-height: 550px !important;
    overflow-y: auto !important;
  }
  .coupon-grid {
    grid-template-columns: 1fr !important;
  }
  .coupon-card {
    padding: 18px !important;
  }
  .coupon-card::before {
    left: -11px !important;
  }
  .coupon-card::after {
    right: -11px !important;
  }
  .coupon-value {
    font-size: 28px !important;
  }
  .coupon-code {
    font-size: 16px !important;
  }
  .btn-copy {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .payment-container {
    flex-direction: column !important;
    max-width: calc(100% - 24px) !important;
    margin: 100px auto 20px auto !important;
    padding: 16px !important;
  }
  .pay-main {
    grid-template-columns: 1fr !important;
    padding-top: 100px !important;
    margin: 20px auto !important;
  }
  .pay-header {
    padding: 10px 16px !important;
    width: calc(100% - 20px) !important;
  }
  .pay-logo {
    font-size: 18px !important;
  }

  .order-container,
  .eval-container,
  .cart-container {
    max-width: calc(100% - 24px) !important;
    margin: 100px auto 20px auto !important;
    padding: 16px !important;
  }

  .cards {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Responsive tables in general frontend */
  table:not(.details-table) {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (max-width: 480px) {
  .feature {
    min-width: 100% !important;
    padding: 20px !important;
  }
  .cards {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   DEEP MOBILE REFINEMENTS — PUBLIC PAGES
   ============================================================ */

/* --- Hero Banner (Index & Planos) --- */
@media (max-width: 991px) {
  .hero-banner {
    min-height: 60vh !important;
    padding-top: 150px !important;
  }
  .banner {
    padding-top: 130px !important;
    height: auto !important;
    min-height: 220px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  .banner-content h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
  }
  .banner-content p {
    font-size: 0.95rem !important;
    max-width: 90% !important;
  }
  .hero-badge {
    font-size: 0.78rem !important;
    padding: 6px 12px !important;
  }

  /* --- Search Bar --- */
  .search-bar-hero {
    flex-direction: column !important;
    border-radius: 18px !important;
    padding: 12px !important;
    gap: 8px !important;
  }
  .search-bar-hero input {
    width: 100% !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
  }
  .search-bar-hero button {
    width: 100% !important;
    border-radius: 12px !important;
    margin: 0 !important;
    font-size: 15px !important;
  }

  /* --- Features Section --- */
  .features {
    flex-direction: column !important;
    align-items: stretch !important;
    margin-top: 20px !important;
    gap: 16px !important;
    padding: 0 16px !important;
  }
  .feature {
    max-width: 100% !important;
    padding: 22px 24px !important;
  }

  /* --- How It Works Steps Grid --- */
  .steps-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .step-card {
    padding: 20px !important;
    text-align: left !important;
  }

  /* --- Category Card Scroll Strip --- */
  .categories-wrapper {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 24px !important;
  }
  .categories-wrapper::-webkit-scrollbar {
    display: none !important;
  }
  .cat-btn {
    flex: 0 0 auto !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
  }
  .category-card img {
    width: 70px !important;
    height: 70px !important;
  }

  /* --- Section Headers --- */
  .section-header h2 {
    font-size: 1.4rem !important;
  }

  /* --- Page Header (Panel) Actions row --- */
  .header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .header-actions {
    width: 100% !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .header-actions .search,
  .header-actions input {
    width: 100% !important;
  }
  .header-actions button {
    width: 100% !important;
  }

  /* --- Promo Banner --- */
  .promo-banner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
    padding: 24px !important;
  }
  .promo-banner .btn {
    width: 100% !important;
  }

  /* --- Footer Grid --- */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .footer-bottom {
    text-align: center !important;
    font-size: 12px !important;
  }

  /* --- Kanban Board (Pedidos do Lojista) --- */
  .board {
    flex-direction: column !important;
    overflow-x: visible !important;
    gap: 16px !important;
    min-height: auto !important;
  }
  .column {
    min-width: 100% !important;
    max-width: 100% !important;
  }

  /* --- Product Grid Cards --- */
  .grid-cards {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* --- Plan Cards stack --- */
  .plan-card {
    min-height: auto !important;
  }

  /* --- Order Tracking Container --- */
  .order-container,
  .eval-container,
  .cart-container {
    max-width: 100% !important;
    padding: 12px !important;
  }

  /* --- Tracking widget hides on mobile (too intrusive) --- */
  .df-tracking-widget {
    width: calc(100% - 24px) !important;
    right: 12px !important;
    left: 12px !important;
    bottom: 16px !important;
  }

  /* --- App Download responsividade --- */
  .app-dl {
    padding: 30px 20px !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 24px !important;
  }
  .app-dl-content {
    min-width: 100% !important;
  }
  .app-dl-content h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
  .app-dl-content p {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }
  .app-buttons {
    justify-content: center !important;
    gap: 10px !important;
  }
  .app-btn {
    padding: 10px 16px !important;
    border-radius: 8px !important;
  }
  .app-btn span {
    font-size: 10px !important;
  }
  .app-btn strong {
    font-size: 14px !important;
  }
  .app-btn i {
    font-size: 18px !important;
  }
  .app-dl img {
    max-width: 180px !important;
    transform: none !important;
    margin: 0 auto !important;
  }

  /* --- Banner (Destaques, Lojas, Promoções) responsividade --- */
  .banner {
    height: auto !important;
    min-height: 200px !important;
    padding-top: 110px !important;
    padding-bottom: 30px !important;
  }
  .banner h1 {
    font-size: 24px !important;
    text-align: center !important;
    padding: 0 20px !important;
  }
}

@media (max-width: 400px) {
  .coupon-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .coupon-value {
    font-size: 24px !important;
  }
  .loja-banner h1 {
    font-size: 1.3rem !important;
  }
}

/* ============================================================
   ADMIN / LOJISTA PANELS RESPONSIVE MOBILE FIXES
   ============================================================ */
@media (max-width: 768px) {
  /* Force clean viewport layout on mobile devices */
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Make sure the main content container fills the screen width */
  .main {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    left: 0 !important;
    right: 0 !important;
    overflow-x: hidden !important;
  }

  /* Top Navigation Bar: stretch edge-to-edge, flush with top, left, right, no border-radius */
  .top-nav {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    padding: 10px 16px !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 1000 !important;
  }

  /* Page Content Container */
  .page-content {
    padding: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Container wrapper */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  /* Dashboard Cards Grid: fit 2 columns on mobile for compact layout */
  .cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
  }

  /* Reset grid layout for list-type cards on mobile to stack vertically */
  .cards:has(button),
  .cards:has(.btn),
  .cards:has(a),
  .coupon-cards,
  .plans-cards,
  .list-cards {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Make metrics inside cards responsive and clear */
  .main .card {
    padding: 14px 10px !important;
    margin: 0 !important;
  }

  .main .card h3 {
    font-size: 11px !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  .main .card h2,
  .main .card .big {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
  }

  /* Flex Dashboard Grid (Charts and lists) */
  .grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .box {
    padding: 14px !important;
    border-radius: var(--df-radius-lg) !important;
    margin-bottom: 0 !important;
  }

  /* Custom Table styling for horizontal scrollability */
  .table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px !important;
    margin-bottom: 16px !important;
    border-radius: var(--df-radius-lg) !important;
  }

  .table .row {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    min-width: 600px !important;
    padding: 10px 12px !important;
  }

  .table .row.header {
    display: flex !important;
  }

  .table .col {
    flex: 1 !important;
    padding: 0 6px !important;
    font-size: 12px !important;
  }

  /* Admin/Lojista Reviews alignment and color correction */
  .review, .review-card {
    background: var(--df-surface-glass) !important;
    border: 1px solid var(--df-border) !important;
    color: var(--df-text) !important;
    padding: 16px !important;
    border-radius: var(--df-radius-md) !important;
    margin-bottom: 12px !important;
  }

  .review *, .review-card * {
    color: var(--df-text) !important;
  }

  .review p, .review-card p {
    color: var(--df-text-muted) !important;
  }
}

/* Force 1-column layout for registration form cards to prevent squishing and ensure high readability */
.register-card .form-grid {
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

.register-card .section-title {
  grid-column: span 1 !important;
}

.register-card .input-group {
  grid-column: span 1 !important;
}

/* ============================================================
   CORREÇÕES DE ESPAÇAMENTO MOBILE — Evitar elementos colados
   nas bordas da tela em dispositivos móveis
   ============================================================ */
@media (max-width: 768px) {

  /* --- Containers e Sections Públicas --- */
  .container {
    padding: 0 16px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .section {
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-top: 24px !important;
    margin-bottom: 32px !important;
    box-sizing: border-box !important;
  }

  /* --- Cards e Grids --- */
  .cards {
    padding: 0 4px !important;
  }

  .card,
  .card-store-minimal,
  .box,
  .coupon-card,
  .plan-card,
  .review,
  .review-card,
  .step-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* --- Cabeçalhos de Seção (header do painel) --- */
  .header {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* --- Painel: page-content --- */
  .page-content {
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  /* --- Formulários de Login/Cadastro --- */
  .login-card,
  .register-card {
    width: calc(100% - 0px) !important;
    max-width: 100% !important;
    padding: 24px 20px !important;
    margin: 16px 0 24px !important;
    box-sizing: border-box !important;
  }

  /* --- Modais: responsivos e sem conflito com header fixo --- */
  .modal-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 20px !important;
    box-sizing: border-box !important;
  }

  /* --- Banners: evitar texto encostado nas bordas --- */
  .banner-content,
  .banner-search {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .loja-banner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* --- Formulários dentro dos painéis --- */
  .form-group,
  .input-group {
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]),
  select,
  textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  input[type="radio"],
  input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    flex-shrink: 0 !important;
  }

  /* --- Tabelas: wrap com padding interno --- */
  .table {
    padding: 0 !important;
    margin: 0 0 16px !important;
    border-radius: var(--df-radius-md) !important;
  }

  /* --- Botões de ação: não ultrapassar borda --- */
  .actions-row,
  .actions,
  .modal-actions {
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .btn-submit,
  .btn-cancel,
  .btn {
    box-sizing: border-box !important;
  }

  /* --- Features e Steps (HomePage) --- */
  .features {
    padding: 0 16px !important;
    gap: 16px !important;
    box-sizing: border-box !important;
  }

  .feature,
  .step-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* --- Barra de busca hero: sem tocar nas bordas --- */
  .search-bar-hero {
    width: calc(100% - 0px) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* --- Listagem de endereços e produtos --- */
  .grid-cards {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* --- Mascote: distância da borda inferior --- */
  .mascote-container {
    bottom: 80px !important;
    right: 16px !important;
  }

  /* --- Seções de restaurantes / store cards --- */
  .store-minimal-header,
  .store-minimal-meta {
    flex-wrap: wrap !important;
  }

  /* --- App download section --- */
  .app-dl {
    padding: 24px 16px !important;
    box-sizing: border-box !important;
  }

  /* --- Promos e seção de cupons --- */
  .coupon-grid {
    padding: 0 !important;
    gap: 16px !important;
  }

  /* --- Avaliações / Testimonials --- */
  .testimonial-grid,
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 !important;
  }
}

/* Breakpoint extra pequeno (360px) */
@media (max-width: 360px) {
  .container,
  .section,
  .page-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .login-card,
  .register-card {
    padding: 20px 16px !important;
  }

  .modal-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 20px 16px !important;
  }
}

/* ============================================================
   GOLDEN METALLIC DETAILS — Gold Accent Layer
   ============================================================ */

/* ---- Keyframe: Gold Shimmer sweep animation ---- */
@keyframes gold-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes gold-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.0); }
  50%       { box-shadow: 0 0 18px 4px rgba(212, 175, 55, 0.25); }
}

/* ---- Header Logo Icon — gold bolt ---- */
header .logo i,
.site-header .logo i {
  background: var(--df-gold-metallic) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 2px rgba(179, 135, 40, 0.35)) !important;
}

/* ---- Hero Banner: gold shimmer on search button ---- */
.search-bar-hero button {
  background: var(--df-gold-metallic) !important;
  color: #2C1E14 !important;
  box-shadow: 0 4px 18px rgba(179, 135, 40, 0.4) !important;
  font-weight: 800 !important;
}

.search-bar-hero button:hover {
  box-shadow: 0 8px 28px rgba(179, 135, 40, 0.55) !important;
  transform: translateY(-2px) !important;
}

/* ---- Hero Badge: gold shimmer instead of solid red ---- */
.hero-badge {
  background: var(--df-gold-metallic) !important;
  color: #2C1E14 !important;
  box-shadow: 0 4px 14px rgba(179, 135, 40, 0.3) !important;
}

/* ---- Section header underline — golden metallic bar ---- */
.section-header h2,
.lojas-header h2 {
  position: relative !important;
  display: inline-block !important;
}

.section-header h2::after,
.lojas-header h2::after {
  content: "" !important;
  display: block !important;
  width: 52px !important;
  height: 3px !important;
  border-radius: 2px !important;
  background: var(--df-gold-metallic) !important;
  margin-top: 8px !important;
  background-size: 200% auto !important;
  animation: gold-shimmer 3s linear infinite !important;
}

/* ---- Category cards: gold shimmer border & label on hover ---- */
.category-card {
  position: relative !important;
  transition: transform 0.3s var(--df-ease), box-shadow 0.3s var(--df-ease) !important;
}

.category-card::before {
  content: "" !important;
  position: absolute !important;
  inset: -2px !important;
  border-radius: calc(var(--df-radius-lg) + 2px) !important;
  background: var(--df-gold-metallic) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  z-index: 0 !important;
  background-size: 200% auto !important;
  animation: gold-shimmer 3s linear infinite !important;
}

.category-card:hover::before {
  opacity: 1 !important;
}

.category-card img,
.category-card span {
  position: relative !important;
  z-index: 1 !important;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow: 0 12px 28px rgba(179, 135, 40, 0.2) !important;
}

.category-card:hover span {
  color: var(--df-gold-base) !important;
}

/* ---- Step cards: gold icon-wrap circle ---- */
.step-card .icon-wrap {
  background: var(--df-gold-metallic) !important;
  color: #2C1E14 !important;
  box-shadow: 0 6px 20px rgba(179, 135, 40, 0.3) !important;
}

.step-card:hover {
  border-color: rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 12px 32px rgba(179, 135, 40, 0.15) !important;
}

/* ---- Store rating badge: gold shimmer border ---- */
.store-rating {
  background: linear-gradient(var(--df-surface), var(--df-surface)) padding-box,
              var(--df-gold-metallic) border-box !important;
  border: 1px solid transparent !important;
  animation: gold-pulse 3s ease infinite !important;
}

/* ---- Destaque (highlighted) badge: gold treatment ---- */
.badge-minimal.highlight {
  background: var(--df-gold-metallic) !important;
  color: #2C1E14 !important;
  box-shadow: 0 4px 12px rgba(179, 135, 40, 0.35) !important;
}

/* ---- Minimal store card: gold hover border ---- */
.card-store-minimal:hover {
  border-color: rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 12px 32px rgba(179, 135, 40, 0.12) !important;
}

/* ---- Promo Banner: gold shimmer top stripe ---- */
.promo-banner {
  position: relative !important;
  overflow: hidden !important;
}

.promo-banner::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: var(--df-gold-metallic) !important;
  background-size: 200% auto !important;
  animation: gold-shimmer 3s linear infinite !important;
}

/* ---- Feature cards: gold icon color ---- */
.feature i {
  background: var(--df-gold-metallic) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 2px rgba(179, 135, 40, 0.25)) !important;
}

.feature:hover {
  border-color: rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 12px 28px rgba(179, 135, 40, 0.1) !important;
}

/* ---- App Download section: gold app buttons ---- */
.app-btn {
  background: var(--df-gold-metallic) !important;
  color: #2C1E14 !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(179, 135, 40, 0.3) !important;
  font-weight: 700 !important;
  transition: all 0.3s var(--df-ease) !important;
  background-size: 200% auto !important;
  animation: gold-shimmer 4s linear infinite !important;
}

.app-btn strong,
.app-btn span {
  color: #2C1E14 !important;
}

.app-btn i {
  color: #2C1E14 !important;
}

.app-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(179, 135, 40, 0.45) !important;
  background-position: right center !important;
}

/* ---- Category filter buttons (active): gold treatment ---- */
.cat-btn.active {
  background: var(--df-gold-metallic) !important;
  color: #2C1E14 !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(179, 135, 40, 0.3) !important;
  background-size: 200% auto !important;
  animation: gold-shimmer 3s linear infinite !important;
}

/* ---- Footer: gold shimmer top border ---- */
.footer::before {
  background: var(--df-gold-metallic) !important;
  background-size: 200% auto !important;
  animation: gold-shimmer 5s linear infinite !important;
}

/* ---- Testimonial slider arrows: gold treatment ---- */
.slider-arrow {
  background: var(--df-gold-metallic) !important;
  color: #2C1E14 !important;
  box-shadow: 0 6px 20px rgba(179, 135, 40, 0.35) !important;
  background-size: 200% auto !important;
  animation: gold-shimmer 3s linear infinite !important;
}

.slider-arrow:hover {
  background: var(--df-gold-metallic) !important;
  box-shadow: 0 10px 28px rgba(179, 135, 40, 0.5) !important;
}

/* ---- Slider bullets: gold active ---- */
.slider-bullet.active {
  background: var(--df-gold-base) !important;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4) !important;
}

/* ---- Stars rating on testimonial cards: gold metallic ---- */
.stars i,
.rating-select i.active,
.rating-select i.hover {
  background: var(--df-gold-metallic) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 3px rgba(179, 135, 40, 0.25)) !important;
  color: unset !important;
  text-shadow: none !important;
}

/* ---- Kanban column headers: gold left border accent ---- */
.column h3,
.column .column-title {
  border-left: 3px solid var(--df-gold-base) !important;
  padding-left: 10px !important;
  color: var(--df-text) !important;
}

/* ---- Panel top-nav logo: gold crown/spark ---- */
.sidebar h2 i,
.sidebar-header i {
  background: var(--df-gold-metallic) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 2px rgba(179, 135, 40, 0.3)) !important;
}

/* ---- Sidebar active nav item: gold left indicator ---- */
.sidebar a.active {
  box-shadow: inset 3px 0 0 var(--df-gold-base) !important;
  background: linear-gradient(to right, rgba(212, 175, 55, 0.08), transparent) !important;
}

/* ---- Top banner badge (crown on destaques) ---- */
.banner-badge-gold,
h2 .fa-crown,
.section-header .fa-crown {
  background: var(--df-gold-metallic) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 2px rgba(179, 135, 40, 0.35)) !important;
}

/* ---- Order tracking: gold active step pulse ---- */
.tracking-step.active-step .step-dot {
  background: var(--df-gold-metallic) !important;
  border-color: var(--df-gold-base) !important;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.5) !important;
  animation: gold-pulse 2s infinite !important;
}

/* ---- Subtle gold shimmer on all primary buttons on hover ---- */
.btn:hover,
button:hover:not(.slider-arrow):not(.nav-cta):not(.app-btn):not(.cat-btn):not(.hamburger):not(.wishlist-btn):not(.wishlist-btn-minimal):not([style*="background: none"]):not([onclick*="closeTestimonialModal"]):not([onclick*="openTestimonialModal"]) {
  box-shadow: 0 8px 24px rgba(179, 135, 40, 0.2) !important;
}

/* ---- Section header text on index (Destaques, Lojas, etc.) ---- */
.section-header h2 i[class*="fa-crown"],
.section-header h2 i[class*="fa-star"] {
  background: var(--df-gold-metallic) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Toggle Switch */
.switch-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
.switch input:checked + .slider {
  background-color: var(--df-primary, #FF7A00);
}
.switch input:checked + .slider:before {
  transform: translateX(24px);
}

/* Image Upload Preview Style */
.image-upload-preview-container {
  position: relative;
  width: 100%;
  height: 180px;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8fafc;
}
.image-upload-preview-container:hover {
  border-color: var(--df-primary, #FF7A00);
}
.image-upload-preview-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.image-upload-preview-container .upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}
.image-upload-preview-container:hover .upload-overlay {
  opacity: 1;
}
.image-upload-preview-container.has-image .upload-placeholder {
  display: none;
}
.image-upload-preview-container .upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  z-index: 2;
}

/* Addon groups */
.addons-section {
  margin-top: 25px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}
.addons-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.addons-section-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.addon-group-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  position: relative;
}
.addon-group-card .btn-remove-group {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
}
.addon-group-card .btn-remove-group:hover {
  color: #b91c1c;
}
.addon-items-container {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.addon-item-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.addon-item-row input {
  margin-bottom: 0 !important;
}
.addon-item-row .btn-remove-item {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
}
.addon-item-row .btn-remove-item:hover {
  color: #ef4444;
}

/* ============================================================
   UNIVERSAL RESOLUTION BREAKPOINT ENHANCEMENTS & LAYOUT GUARDS
   (Covering all 67 target resolutions from 240x320 up to 7680x4320 8K)
   ============================================================ */

/* Global body & HTML overflow guards */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

/* --- 1. MICRO MOBILE (240px to 359px width) --- */
@media (max-width: 359px) {
  .container,
  .section,
  .page-content,
  .main,
  .top-nav {
    padding-left: 8px !important;
    padding-right: 8px !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .right,
  .right:not(.login-split .right) {
    padding: 16px 8px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .card,
  .login-card,
  .register-card,
  .plan-card {
    padding: 14px 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .plans-grid,
  .plans-container,
  .categories-carousel,
  .cat-row {
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  header, .site-header {
    width: calc(100% - 12px) !important;
    top: 6px !important;
    padding: 8px 10px !important;
  }

  header .logo, .site-header .logo {
    font-size: 1.15rem !important;
  }

  .input-wrapper input {
    padding: 10px 10px 10px 34px !important;
  }

  h1 { font-size: 1.35rem !important; }
  h2 { font-size: 1.20rem !important; }
  h3 { font-size: 1.05rem !important; }
}

/* --- 2. MOBILE PORTRAIT (360px to 480px width) --- */
@media (max-width: 480px) {
  .right,
  .right:not(.login-split .right) {
    padding: 20px 12px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .login-card,
  .register-card,
  .card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .stats-grid,
  .features {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* --- 3. MOBILE LANDSCAPE LOW-HEIGHT (height <= 450px) --- */
@media (max-height: 450px) and (orientation: landscape) {
  header, .site-header {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    left: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    padding: 8px 16px !important;
  }

  .modal-content, .popup-content {
    max-height: 85vh !important;
    overflow-y: auto !important;
  }

  .banner {
    min-height: 260px !important;
    height: auto !important;
    padding: 24px 16px !important;
  }
}

/* --- 4. TABLETS PORTRAIT & LANDSCAPE (601px to 1024px width) --- */
@media (min-width: 601px) and (max-width: 1024px) {
  .grid, .grid-3, .grid-4, .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* --- 5. ULTRAWIDE & HIGH DPI / 4K / 5K / 6K / 8K (2560px to 7680px width) --- */
@media (min-width: 2560px) {
  .container {
    max-width: 1800px !important;
    margin: 0 auto !important;
  }

  header, .site-header {
    max-width: 1600px !important;
  }

  .main {
    max-width: 100% !important;
  }

  .main-content-inner,
  .dashboard-container,
  .page-container {
    max-width: 2000px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .grid, .stats-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}




/* --- PARTNER BANNER STYLES --- */
.partner-banner {
  background: linear-gradient(135deg, #1b0f0a 0%, #0d0603 100%);
  border: 1px solid rgba(255, 122, 0, 0.25);
  border-radius: 20px;
  padding: 48px 56px;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.partner-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.partner-banner-content {
  flex: 1;
  min-width: 300px;
  z-index: 2;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 122, 0, 0.15);
  color: #FF7A00;
  border: 1px solid rgba(255, 122, 0, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partner-banner-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.partner-banner-content p {
  font-size: 16px;
  color: #a3958c;
  margin-bottom: 24px;
  line-height: 1.6;
}

.partner-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #e5ded9;
  font-weight: 500;
}

.highlight-item i {
  color: #FF7A00;
  font-size: 16px;
}

.partner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.partner-btn {
  padding: 12px 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.partner-btn-primary {
  background: linear-gradient(135deg, #FF7A00, #E05500);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.3);
}

.partner-btn-primary:hover {
  background: linear-gradient(135deg, #ff8c24, #ff6600);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.45);
}

.partner-btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

.partner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  border-color: rgba(255, 122, 0, 0.4);
}

.partner-btn i {
  font-size: 22px;
}

.partner-btn span {
  font-size: 11px;
  opacity: 0.85;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partner-btn strong {
  font-size: 15px;
  display: block;
  font-weight: 700;
}

.partner-banner-image {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.partner-banner-image img {
  width: 100%;
  max-width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(255, 122, 0, 0.3);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.partner-banner-image img:hover {
  transform: rotate(0deg) scale(1.02);
}

@media (max-width: 991px) {
  .partner-banner {
    padding: 32px 24px !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .partner-highlights {
    justify-content: center !important;
  }
  .partner-buttons {
    justify-content: center !important;
    width: 100% !important;
  }
  .partner-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .partner-banner-image {
    width: 100% !important;
    margin-top: 16px !important;
  }
  .partner-banner-image img {
    transform: none !important;
    max-width: 100% !important;
    height: 180px !important;
  }
}


