/* ============================================================
   PIZZA HOUR · GUARUJÁ — Design System "Sunset Surf Premium"
   Deep-ocean dark + sunset coral + aqua · Sora / Inter / Caveat
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Caveat:wght@600;700&display=swap');

:root {
  /* Oceano à noite */
  --bg: #05080d;
  --bg2: #0a0f17;
  --bg3: #111825;
  --card: #0d131d;
  --card-hover: #121a28;
  --border: #1c2635;
  --border-hi: #2a3a52;

  /* Pôr do sol */
  --primary: #ff6b35;
  --primary-dark: #e5501f;
  --primary-light: #ff8f5e;
  --coral: #ff4e50;
  --sand: #f5c063;
  --gold: #ffb800;

  /* Mar */
  --aqua: #2dd4bf;
  --aqua-dark: #14b8a6;

  --text: #eef4fb;
  --text2: #93a3b8;
  --text3: #5b6b80;

  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --red: #f87171;
  --info: #60a5fa;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  --shadow: 0 20px 60px rgba(0, 0, 0, .55);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, .35);
  --glow-sunset: 0 0 80px rgba(255, 107, 53, .18);
  --glow-aqua: 0 0 80px rgba(45, 212, 191, .12);

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-hand: 'Caveat', cursive;

  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: var(--font-display); }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--coral)); border-radius: 3px; }

::selection { background: rgba(255, 107, 53, .35); }

/* ------------------------------------------------------------
   UTILITÁRIOS
   ------------------------------------------------------------ */
.hidden { display: none !important; }

.hand { font-family: var(--font-hand); color: var(--sand); font-size: 1.35em; font-weight: 700; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 107, 53, .1);
  border: 1px solid rgba(255, 107, 53, .28);
  color: var(--primary-light);
  padding: 6px 14px; border-radius: 50px;
  font-size: .75rem; font-weight: 600; letter-spacing: .4px;
}
.chip.aqua { background: rgba(45, 212, 191, .08); border-color: rgba(45, 212, 191, .25); color: var(--aqua); }
.chip.sand { background: rgba(245, 192, 99, .08); border-color: rgba(245, 192, 99, .25); color: var(--sand); }

/* ------------------------------------------------------------
   HEADER
   ------------------------------------------------------------ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(5, 8, 13, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(28, 38, 53, .8);
}

.header-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 52px; width: auto; filter: drop-shadow(0 4px 14px rgba(255, 107, 53, .35)); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text span:first-child { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--text); letter-spacing: -.3px; }
.logo-text span:last-child { font-size: .68rem; color: var(--aqua); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a { color: var(--text2); font-size: .88rem; font-weight: 500; position: relative; }
.nav > a:hover { color: var(--text); }
.nav > a.active { color: var(--primary); }
.nav > a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--coral)); border-radius: 2px;
}

.btn-nav {
  background: var(--bg3); border: 1px solid var(--border-hi);
  padding: 9px 20px !important; border-radius: 50px;
  color: var(--text) !important; font-weight: 600;
}
.btn-nav:hover { border-color: var(--primary); color: var(--primary) !important; }

.cart-btn {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  border: none; color: #fff;
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 1.15rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(255, 107, 53, .35);
}
.cart-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 28px rgba(255, 107, 53, .5); }

.cart-count {
  position: absolute; top: -5px; right: -5px;
  background: var(--aqua); color: #04252b;
  min-width: 20px; height: 20px; border-radius: 10px;
  font-size: .68rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px; border: 2px solid var(--bg);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 900px 500px at 78% 18%, rgba(255, 107, 53, .14), transparent 60%),
    radial-gradient(ellipse 700px 450px at 12% 85%, rgba(45, 212, 191, .09), transparent 60%),
    radial-gradient(ellipse 500px 300px at 45% 45%, rgba(255, 78, 80, .05), transparent 65%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}

.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero h1 .grad {
  background: linear-gradient(100deg, var(--primary) 10%, var(--coral) 55%, var(--sand) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub { color: var(--text2); font-size: 1.05rem; line-height: 1.75; max-width: 480px; margin-bottom: 34px; }
.hero-sub strong { color: var(--sand); font-weight: 600; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 44px; }
.hero-stat .num {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 800;
  background: linear-gradient(120deg, var(--primary), var(--sand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stat .lbl { color: var(--text3); font-size: .76rem; font-weight: 500; letter-spacing: .5px; margin-top: 2px; }

/* Visual — prato flutuante */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }

.hero-pizza-wrapper {
  position: relative; width: 420px; height: 420px;
  display: flex; align-items: center; justify-content: center;
}

.hero-pizza-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px dashed rgba(255, 107, 53, .3);
  animation: rotate 40s linear infinite;
}
.hero-pizza-ring::before {
  content: '🏄'; position: absolute; top: -16px; left: 50%;
  font-size: 1.6rem; transform: translateX(-50%);
}

.hero-pizza-glow {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, .28), rgba(255, 78, 80, .1) 55%, transparent 72%);
  filter: blur(20px);
  animation: pulse 4s ease-in-out infinite;
}

.hero-pizza {
  font-size: 13rem; line-height: 1;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6));
  animation: float 6s ease-in-out infinite;
  position: relative; z-index: 1;
}

.hero-tag {
  position: absolute; z-index: 2;
  background: rgba(13, 19, 29, .9); backdrop-filter: blur(12px);
  border: 1px solid var(--border-hi); border-radius: 14px;
  padding: 12px 18px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}
.hero-tag .ico { font-size: 1.5rem; }
.hero-tag .t1 { font-size: .8rem; font-weight: 700; }
.hero-tag .t2 { font-size: .68rem; color: var(--text2); }
.hero-tag.tag1 { top: 8%; left: -4%; animation-delay: -1.5s; }
.hero-tag.tag2 { bottom: 12%; right: -6%; animation-delay: -3s; }
.hero-tag.tag3 { top: 48%; right: -12%; animation-delay: -4.5s; }

@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-18px) } }
@keyframes pulse { 0%, 100% { opacity: .8; transform: scale(1) } 50% { opacity: 1; transform: scale(1.06) } }
@keyframes rotate { to { transform: rotate(360deg) } }

/* Onda divisória */
.wave-divider { display: block; width: 100%; height: 70px; margin-bottom: -1px; }
.wave-divider path { fill: var(--bg2); }
.wave-divider.flip { transform: rotate(180deg); }
.wave-divider.to-bg path { fill: var(--bg); }

/* ------------------------------------------------------------
   BOTÕES
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: #fff; border: none; cursor: pointer;
  padding: 15px 32px; border-radius: 50px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(255, 107, 53, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255, 107, 53, .5); color: #fff; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-hi); cursor: pointer;
  padding: 14px 30px; border-radius: 50px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--aqua); color: var(--aqua); transform: translateY(-2px); }

.btn-full {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: #fff; border: none; cursor: pointer;
  padding: 16px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  transition: var(--transition); margin-top: 8px;
  box-shadow: 0 10px 30px rgba(255, 107, 53, .3);
}
.btn-full:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(255, 107, 53, .45); }
.btn-full:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------
   SEÇÕES
   ------------------------------------------------------------ */
.section { padding: 90px 24px; position: relative; }
.section-inner { max-width: 1240px; margin: 0 auto; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head .kicker {
  font-family: var(--font-hand); font-size: 1.6rem; color: var(--aqua);
  display: block; margin-bottom: 8px; transform: rotate(-2deg);
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -1px;
  margin-bottom: 14px;
}
.section-head h2 .grad {
  background: linear-gradient(100deg, var(--primary), var(--sand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p { color: var(--text2); font-size: .98rem; line-height: 1.7; }

/* ------------------------------------------------------------
   FEATURES
   ------------------------------------------------------------ */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--coral));
  opacity: 0; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-hi); background: var(--card-hover); box-shadow: var(--shadow-card); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 107, 53, .14), rgba(255, 78, 80, .08));
  border: 1px solid rgba(255, 107, 53, .2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text2); font-size: .85rem; line-height: 1.65; }

/* ------------------------------------------------------------
   CATEGORIAS (vitrine na home)
   ------------------------------------------------------------ */
.cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.cat-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 42px 30px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: var(--transition);
  cursor: pointer;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  opacity: .5; transition: var(--transition);
}
.cat-card.pizza::before { background: radial-gradient(ellipse 320px 220px at 80% 0%, rgba(255, 107, 53, .22), transparent 65%); }
.cat-card.esfiha::before { background: radial-gradient(ellipse 320px 220px at 80% 0%, rgba(245, 192, 99, .18), transparent 65%); }
.cat-card.bebida::before { background: radial-gradient(ellipse 320px 220px at 80% 0%, rgba(45, 212, 191, .16), transparent 65%); }
.cat-card:hover { transform: translateY(-8px); border-color: var(--border-hi); box-shadow: var(--shadow-card); }
.cat-card:hover::before { opacity: 1; }

.cat-card .cat-emoji {
  position: absolute; top: 26px; right: 26px;
  font-size: 4.2rem; line-height: 1;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .5));
  transition: var(--transition);
}
.cat-card:hover .cat-emoji { transform: scale(1.12) rotate(-8deg); }

.cat-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; position: relative; }
.cat-card p { color: var(--text2); font-size: .86rem; line-height: 1.6; margin-bottom: 18px; position: relative; }
.cat-card .cat-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  color: var(--primary); position: relative;
}
.cat-card.bebida .cat-link { color: var(--aqua); }
.cat-card.esfiha .cat-link { color: var(--sand); }

/* ------------------------------------------------------------
   CARDÁPIO — Navegação de categorias (sticky)
   ------------------------------------------------------------ */
.cat-tabs-wrapper {
  position: sticky; top: 80px; z-index: 900;
  background: rgba(5, 8, 13, .88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
}
.cat-tabs {
  max-width: 1240px; margin: 0 auto;
  display: flex; gap: 10px; overflow-x: auto;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text2); cursor: pointer;
  padding: 10px 20px; border-radius: 50px;
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  transition: var(--transition); white-space: nowrap;
}
.cat-tab:hover { border-color: var(--border-hi); color: var(--text); }
.cat-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--coral));
  border-color: transparent; color: #fff;
  box-shadow: 0 6px 18px rgba(255, 107, 53, .35);
}

/* ------------------------------------------------------------
   CARDÁPIO — Seções e cards de produto
   ------------------------------------------------------------ */
.product-section { padding: 56px 24px 20px; scroll-margin-top: 150px; }
.product-section-inner { max-width: 1240px; margin: 0 auto; }

.psection-head {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 10px;
}
.psection-icon {
  width: 60px; height: 60px; flex-shrink: 0;
  border-radius: 18px; font-size: 1.9rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255, 107, 53, .16), rgba(255, 78, 80, .06));
  border: 1px solid rgba(255, 107, 53, .22);
}
.psection-icon.sand { background: linear-gradient(135deg, rgba(245, 192, 99, .14), rgba(255, 184, 0, .05)); border-color: rgba(245, 192, 99, .22); }
.psection-icon.aqua { background: linear-gradient(135deg, rgba(45, 212, 191, .13), rgba(20, 184, 166, .05)); border-color: rgba(45, 212, 191, .22); }

.psection-head h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.5px; }
.psection-head .psub { color: var(--text2); font-size: .85rem; margin-top: 3px; }
.psection-count {
  margin-left: auto; flex-shrink: 0;
  color: var(--text3); font-size: .78rem; font-weight: 600;
  background: var(--bg3); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 50px;
}

.psection-desc {
  color: var(--text2); font-size: .9rem; line-height: 1.7;
  max-width: 720px; margin-bottom: 34px;
}

.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 22px;
}

/* Card de produto premium */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-card), var(--glow-sunset);
}

.product-img-wrapper {
  position: relative; width: 100%; padding-top: 62%;
  overflow: hidden;
  background: linear-gradient(145deg, var(--bg3), var(--bg2));
}
.product-img-wrapper img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.product-card:hover .product-img-wrapper img { transform: scale(1.07); }

.product-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 4.6rem;
  background:
    radial-gradient(ellipse 200px 140px at 50% 30%, rgba(255, 107, 53, .14), transparent 70%),
    linear-gradient(145deg, var(--bg3), var(--bg2));
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .4));
}
.product-img-placeholder.aqua { background: radial-gradient(ellipse 200px 140px at 50% 30%, rgba(45, 212, 191, .13), transparent 70%), linear-gradient(145deg, var(--bg3), var(--bg2)); }
.product-img-placeholder.sand { background: radial-gradient(ellipse 200px 140px at 50% 30%, rgba(245, 192, 99, .12), transparent 70%), linear-gradient(145deg, var(--bg3), var(--bg2)); }

.product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: #fff; padding: 5px 13px; border-radius: 50px;
  font-family: var(--font-display); font-size: .66rem; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(255, 78, 80, .4);
}
.product-badge.new { background: linear-gradient(135deg, var(--aqua), var(--aqua-dark)); box-shadow: 0 4px 14px rgba(45, 212, 191, .4); }
.product-badge.gold { background: linear-gradient(135deg, var(--sand), var(--gold)); color: #3a2800; box-shadow: 0 4px 14px rgba(255, 184, 0, .35); }

.product-info { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.product-name {
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 700; line-height: 1.35;
  margin-bottom: 7px; letter-spacing: -.2px;
}
.product-num { color: var(--primary); font-weight: 800; margin-right: 4px; }

.product-desc {
  color: var(--text2); font-size: .82rem; line-height: 1.62;
  margin-bottom: 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.product-price {
  font-family: var(--font-display);
  font-size: 1.28rem; font-weight: 800; color: var(--primary); letter-spacing: -.5px;
}
.product-price small { font-size: .68rem; color: var(--text3); display: block; font-weight: 500; letter-spacing: 0; }
.product-price .cents { font-size: .82rem; }

.btn-add {
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: #fff; border: none;
  width: 44px; height: 44px; border-radius: 14px;
  cursor: pointer; font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(255, 107, 53, .3);
}
.btn-add:hover { transform: scale(1.1) rotate(90deg); box-shadow: 0 8px 24px rgba(255, 107, 53, .5); }

/* Lista compacta (esfihas) */
.compact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.compact-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: var(--transition);
}
.compact-item:hover { border-color: rgba(245, 192, 99, .35); background: var(--card-hover); transform: translateX(4px); }

.compact-emoji {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(245, 192, 99, .12), rgba(255, 184, 0, .05));
  border: 1px solid rgba(245, 192, 99, .18);
}
.compact-emoji.aqua { background: linear-gradient(135deg, rgba(45, 212, 191, .12), rgba(20, 184, 166, .05)); border-color: rgba(45, 212, 191, .2); }

.compact-info { flex: 1; min-width: 0; }
.compact-name { font-family: var(--font-display); font-weight: 700; font-size: .9rem; margin-bottom: 3px; }
.compact-desc { color: var(--text2); font-size: .76rem; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.compact-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.compact-price { font-family: var(--font-display); font-weight: 800; color: var(--sand); font-size: .95rem; }
.compact-item .btn-add { width: 38px; height: 38px; border-radius: 11px; font-size: 1.15rem; }

/* Pizza builder — cards de tamanho */
.pizza-sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.size-card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 34px;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: 28px;
}
.size-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 300px 200px at 85% 15%, rgba(255, 107, 53, .16), transparent 65%);
  opacity: 0; transition: var(--transition);
}
.size-card:hover { transform: translateY(-6px); border-color: rgba(255, 107, 53, .4); box-shadow: var(--shadow-card), var(--glow-sunset); }
.size-card:hover::before { opacity: 1; }

.size-emoji { font-size: 4.4rem; line-height: 1; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5)); position: relative; }
.size-card.broto .size-emoji { font-size: 3.4rem; }

.size-info { position: relative; flex: 1; }
.size-info h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 5px; }
.size-info .size-meta { color: var(--text2); font-size: .84rem; margin-bottom: 14px; line-height: 1.6; }
.size-info .size-price { font-family: var(--font-display); color: var(--primary); font-weight: 800; font-size: 1.05rem; }
.size-info .size-price small { color: var(--text3); font-weight: 500; font-size: .72rem; }

.size-arrow {
  position: relative;
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: #fff; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.size-card:hover .size-arrow { transform: translateX(6px); }

/* ------------------------------------------------------------
   MODAL PIZZA (builder)
   ------------------------------------------------------------ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(3, 5, 9, .78); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  width: 100%; max-width: 580px; max-height: 88vh;
  background: var(--bg2); border: 1px solid var(--border-hi);
  border-radius: 24px;
  display: flex; flex-direction: column;
  transform: translateY(24px) scale(.97);
  transition: var(--transition);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-header {
  padding: 24px 28px 18px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.3px; }

.modal-close {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text2); width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { border-color: var(--danger); color: var(--danger); transform: rotate(90deg); }

.modal-steps { display: flex; gap: 8px; padding: 16px 28px 0; }
.step-dot {
  flex: 1; height: 4px; border-radius: 2px;
  background: var(--border); transition: var(--transition);
}
.step-dot.active { background: linear-gradient(90deg, var(--primary), var(--coral)); }
.step-dot.done { background: var(--aqua); }

.modal-body { padding: 22px 28px; overflow-y: auto; flex: 1; }

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border);
  display: flex; gap: 12px; justify-content: flex-end;
}
.modal-footer .btn-primary, .modal-footer .btn-secondary { padding: 12px 26px; font-size: .88rem; }

/* Bordas */
.border-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 10px; }

.border-item {
  padding: 16px 14px; text-align: center; cursor: pointer;
  background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); transition: var(--transition);
}
.border-item:hover { border-color: var(--border-hi); }
.border-item.selected {
  border-color: var(--primary);
  background: rgba(255, 107, 53, .1);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .12);
}
.border-name { font-family: var(--font-display); font-weight: 700; font-size: .84rem; margin-bottom: 4px; }
.border-price { color: var(--primary); font-size: .8rem; font-weight: 700; }
.border-price.free { color: var(--aqua); }

/* Sabores */
.flavor-section { margin-bottom: 26px; }
.flavor-section-title {
  font-family: var(--font-hand); font-size: 1.5rem; color: var(--sand);
  margin-bottom: 12px; transform: rotate(-1deg);
}

.flavor-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; margin-bottom: 8px; cursor: pointer;
  background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); transition: var(--transition);
}
.flavor-item:hover { border-color: var(--border-hi); }
.flavor-item.selected {
  border-color: var(--primary); background: rgba(255, 107, 53, .08);
}

.flavor-check {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 8px;
  border: 1.5px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: #fff; font-weight: 800;
  transition: var(--transition);
}
.flavor-item.selected .flavor-check {
  background: linear-gradient(135deg, var(--primary), var(--coral));
  border-color: transparent;
}

.flavor-info { flex: 1; min-width: 0; }
.flavor-name { font-weight: 700; font-size: .87rem; margin-bottom: 2px; }
.flavor-desc { color: var(--text2); font-size: .74rem; line-height: 1.45; }

.selected-flavors { display: flex; gap: 8px; flex-wrap: wrap; }
.selected-flavor-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 107, 53, .12); border: 1px solid rgba(255, 107, 53, .35);
  color: var(--primary-light);
  padding: 6px 14px; border-radius: 50px;
  font-size: .78rem; font-weight: 600;
}

/* ------------------------------------------------------------
   CARRINHO (sidebar)
   ------------------------------------------------------------ */
.cart-sidebar {
  position: fixed; top: 0; right: -440px; z-index: 5000;
  width: 440px; max-width: 100vw; height: 100vh; height: 100dvh;
  background: var(--bg2); border-left: 1px solid var(--border-hi);
  display: flex; flex-direction: column;
  transition: right .45s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .6);
}
.cart-sidebar.open { right: 0; }

.cart-overlay {
  position: fixed; inset: 0; z-index: 4999;
  background: rgba(3, 5, 9, .7); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-header {
  padding: 26px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1.15rem; font-weight: 800; }

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

.cart-empty { text-align: center; padding: 70px 24px; color: var(--text2); }
.cart-empty .ce-ico { font-size: 3.6rem; margin-bottom: 14px; opacity: .8; }

.cart-item {
  display: flex; gap: 14px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px; margin-bottom: 12px;
  transition: var(--transition);
}
.cart-item:hover { border-color: var(--border-hi); }

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: var(--font-display); font-weight: 700; font-size: .88rem; margin-bottom: 5px; }
.cart-item-details { font-size: .74rem; color: var(--text2); line-height: 1.55; }
.cart-item-price { color: var(--primary); font-family: var(--font-display); font-weight: 800; margin-top: 8px; font-size: .95rem; }

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

.qty-btn {
  width: 28px; height: 28px; border-radius: 9px;
  background: var(--bg2); border: 1px solid var(--border-hi); color: var(--text);
  cursor: pointer; font-size: .95rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-btn.remove { color: var(--danger); border-color: rgba(248, 113, 113, .3); }
.qty-btn.remove:hover { background: rgba(248, 113, 113, .12); }
.qty-num { font-weight: 700; font-size: .9rem; min-width: 20px; text-align: center; }

.cart-footer {
  padding: 22px 26px calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--card);
}
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .88rem; color: var(--text2); }
.cart-total-row.grand { font-size: 1.12rem; color: var(--text); font-family: var(--font-display); font-weight: 800; margin: 12px 0 4px; }
.cart-total-row.grand span:last-child { color: var(--primary); }

/* ------------------------------------------------------------
   TOASTS
   ------------------------------------------------------------ */
.toast-container {
  position: fixed; top: 96px; right: 24px; z-index: 6000;
  display: flex; flex-direction: column; gap: 10px;
}

.toast {
  background: var(--bg2); border: 1px solid var(--border-hi);
  border-left: 3px solid var(--aqua);
  color: var(--text);
  padding: 14px 20px; border-radius: var(--radius-sm);
  font-size: .86rem; font-weight: 500;
  box-shadow: var(--shadow-card);
  animation: slideInRight .35s cubic-bezier(.4, 0, .2, 1);
  display: flex; align-items: center; gap: 10px;
  max-width: 340px;
}
.toast.success { border-left-color: var(--success); }
.toast.warning { border-left-color: var(--warning); }
.toast.error { border-left-color: var(--danger); }

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

/* ------------------------------------------------------------
   AUTENTICAÇÃO
   ------------------------------------------------------------ */
.auth-wrapper, .auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 110px 24px 60px;
  position: relative;
}
.auth-wrapper::before, .auth-page::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 400px at 80% 10%, rgba(255, 107, 53, .1), transparent 60%),
    radial-gradient(ellipse 600px 400px at 15% 90%, rgba(45, 212, 191, .07), transparent 60%);
}

.auth-card {
  position: relative; width: 100%; max-width: 440px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; padding: 42px;
  box-shadow: var(--shadow);
}

.auth-logo { text-align: center; margin-bottom: 30px; }
.auth-logo img { height: 72px; margin: 0 auto 14px; filter: drop-shadow(0 6px 20px rgba(255, 107, 53, .3)); }
.auth-logo h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.5px; }
.auth-logo p { color: var(--text2); font-size: .85rem; margin-top: 4px; }

.auth-divider {
  text-align: center; color: var(--text3); font-size: .8rem;
  margin: 22px 0; position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-link { text-align: center; margin-top: 22px; font-size: .88rem; color: var(--text2); }

/* ------------------------------------------------------------
   FORMULÁRIOS
   ------------------------------------------------------------ */
.form-group { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-label {
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--text2); margin-bottom: 8px; letter-spacing: .3px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg3); border: 1.5px solid var(--border);
  color: var(--text);
  padding: 13px 16px; border-radius: var(--radius-xs);
  font-family: var(--font-body); font-size: .9rem;
  outline: none; transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .12);
}
.form-input::placeholder { color: var(--text3); }
.form-textarea { resize: vertical; min-height: 90px; }

.notes-box {
  width: 100%;
  background: var(--bg3); border: 1.5px solid var(--border); color: var(--text);
  border-radius: var(--radius-xs); padding: 13px 16px;
  font-family: var(--font-body); font-size: .9rem;
  resize: vertical; min-height: 84px; outline: none; transition: var(--transition);
}
.notes-box:focus { border-color: var(--primary); }

/* ------------------------------------------------------------
   ALERTAS
   ------------------------------------------------------------ */
.alert {
  padding: 14px 18px; border-radius: var(--radius-xs);
  margin-bottom: 20px; font-size: .86rem;
  display: flex; align-items: center; gap: 10px;
}
.alert-success { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); color: var(--success); }
.alert-error { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .3); color: var(--danger); }
.alert-warning { background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .3); color: var(--warning); }
.alert-info { background: rgba(96, 165, 250, .1); border: 1px solid rgba(96, 165, 250, .3); color: var(--info); }

/* ------------------------------------------------------------
   CHECKOUT
   ------------------------------------------------------------ */
.checkout-grid {
  display: grid; grid-template-columns: 1fr 400px; gap: 26px;
  max-width: 1140px; margin: 0 auto;
  padding: 116px 24px 80px;
}

.checkout-section {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; margin-bottom: 22px;
}
.checkout-section h3 {
  font-size: 1.05rem; font-weight: 800; letter-spacing: -.3px;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}

.delivery-types { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.delivery-type {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 22px 18px; cursor: pointer; text-align: center;
  transition: var(--transition); background: var(--bg3);
}
.delivery-type:hover { border-color: var(--border-hi); }
.delivery-type.selected {
  border-color: var(--primary); background: rgba(255, 107, 53, .08);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .1);
}
.delivery-type .dt-ico { font-size: 1.9rem; margin-bottom: 8px; }
.delivery-type .dt-name { font-family: var(--font-display); font-weight: 700; font-size: .92rem; }
.delivery-type .dt-time { color: var(--aqua); font-size: .76rem; font-weight: 600; margin-top: 3px; }

.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.payment-option {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 24px 18px; cursor: pointer; text-align: center;
  transition: var(--transition); background: var(--bg3);
}
.payment-option:hover { border-color: var(--border-hi); }
.payment-option.selected {
  border-color: var(--aqua); background: rgba(45, 212, 191, .07);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, .1);
}
.payment-option .po-ico { font-size: 2rem; margin-bottom: 10px; }
.payment-option .po-name { font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.payment-option .po-desc { color: var(--text2); font-size: .74rem; margin-top: 4px; line-height: 1.5; }

.order-summary {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  position: sticky; top: 104px;
}
.order-summary h3 {
  font-size: 1.02rem; font-weight: 800; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}

.summary-item {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--border);
  font-size: .85rem;
}
.summary-item .si-name { font-weight: 600; }
.summary-item .si-extra { color: var(--text2); font-size: .74rem; margin-top: 2px; }
.summary-item .si-price { color: var(--primary); font-weight: 700; white-space: nowrap; }

.summary-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .87rem; color: var(--text2); }
.summary-row.grand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: var(--text); margin-top: 8px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.summary-row.grand span:last-child { color: var(--primary); }

/* ------------------------------------------------------------
   PEDIDO CONFIRMADO / CONTA / PEDIDOS
   ------------------------------------------------------------ */
.confirm-wrap { max-width: 660px; margin: 0 auto; padding: 130px 24px 80px; text-align: center; }
.confirm-icon {
  width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(52, 211, 153, .15), rgba(45, 212, 191, .08));
  border: 1px solid rgba(52, 211, 153, .35);
  display: flex; align-items: center; justify-content: center; font-size: 2.8rem;
  animation: pulse 3s ease-in-out infinite;
}

.pix-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; margin: 26px 0; text-align: left;
}
.pix-code {
  background: var(--bg3); border: 1px dashed var(--border-hi);
  border-radius: var(--radius-xs); padding: 14px;
  font-family: monospace; font-size: .72rem; word-break: break-all;
  color: var(--text2); margin: 14px 0; max-height: 110px; overflow-y: auto;
}

.account-grid {
  display: grid; grid-template-columns: 250px 1fr; gap: 26px;
  max-width: 1100px; margin: 0 auto; padding: 116px 24px 100px;
}

.account-nav {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  position: sticky; top: 104px; height: fit-content;
}
.account-nav a {
  display: flex; align-items: center; gap: 10px;
  color: var(--text2); font-size: .88rem; font-weight: 500;
  padding: 12px 16px; border-radius: var(--radius-xs);
  transition: var(--transition); margin-bottom: 4px;
}
.account-nav a:hover { background: var(--bg3); color: var(--text); }
.account-nav a.active {
  background: rgba(255, 107, 53, .1); color: var(--primary);
  border-left: 3px solid var(--primary);
}

.order-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-bottom: 14px;
  transition: var(--transition);
}
.order-card:hover { border-color: var(--border-hi); }

.order-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.order-number { font-family: var(--font-display); font-weight: 800; color: var(--primary); }
.order-date { font-size: .78rem; color: var(--text2); margin-top: 2px; }

.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px;
  font-size: .74rem; font-weight: 700;
}

/* ------------------------------------------------------------
   INFO DA LOJA / FOOTER
   ------------------------------------------------------------ */
.store-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.info-list { display: flex; flex-direction: column; gap: 20px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ico {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.info-item .tit { font-family: var(--font-display); font-weight: 700; font-size: .92rem; margin-bottom: 3px; }
.info-item .val { color: var(--text2); font-size: .84rem; line-height: 1.6; }

.map-embed {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); height: 340px;
  filter: grayscale(.4) contrast(1.05);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 70px 24px 26px;
  position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 800px 300px at 50% 120%, rgba(255, 107, 53, .06), transparent 65%);
}

.footer-grid {
  position: relative;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 44px;
  max-width: 1240px; margin: 0 auto 44px;
}

.footer-brand .logo img { height: 60px; }
.footer-brand p { color: var(--text2); font-size: .86rem; line-height: 1.75; max-width: 300px; margin-top: 16px; }

.footer-col h4 { font-weight: 700; margin-bottom: 18px; font-size: .95rem; }
.footer-col a { display: block; color: var(--text2); font-size: .86rem; margin-bottom: 11px; }
.footer-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-col .fc-txt { color: var(--text2); font-size: .84rem; line-height: 1.8; }

.social-links { display: flex; gap: 12px; margin-top: 22px; }
.social-link {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: var(--transition);
}
.social-link:hover { background: linear-gradient(135deg, var(--primary), var(--coral)); border-color: transparent; transform: translateY(-3px); }

.footer-bottom {
  position: relative;
  border-top: 1px solid var(--border); padding-top: 24px;
  text-align: center; color: var(--text3); font-size: .8rem;
  max-width: 1240px; margin: 0 auto;
}
.footer-bottom .hand { font-size: 1.1rem; }

/* Status da loja */
.store-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 50px;
  font-size: .78rem; font-weight: 700;
}
.store-status.open { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: var(--success); }
.store-status.closed { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); color: var(--danger); }
.store-status .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }

@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }

/* Botão flutuante do carrinho (cardápio) */
.floating-cart {
  position: fixed; bottom: 28px; right: 28px; z-index: 2000;
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: #fff; border: none; cursor: pointer;
  padding: 16px 26px; border-radius: 50px;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  box-shadow: 0 14px 40px rgba(255, 78, 80, .45);
  transition: var(--transition);
}
.floating-cart:hover { transform: translateY(-4px) scale(1.03); }
.floating-cart .fc-count {
  background: rgba(255, 255, 255, .25); border-radius: 50px;
  min-width: 26px; height: 26px; padding: 0 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800;
}

/* ------------------------------------------------------------
   MOBILE NAV
   ------------------------------------------------------------ */
.mobile-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1500;
  background: rgba(10, 15, 23, .95); backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  display: none; grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 8px; color: var(--text3);
  font-size: .62rem; font-weight: 600;
  transition: var(--transition);
}
.mobile-nav a .nav-icon { font-size: 1.3rem; }
.mobile-nav a.active, .mobile-nav a:hover { color: var(--primary); }

/* ------------------------------------------------------------
   LOADING
   ------------------------------------------------------------ */
.spinner {
  width: 40px; height: 40px; margin: 0 auto;
  border: 3px solid var(--border); border-top-color: var(--primary);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }

/* ------------------------------------------------------------
   RESPONSIVO
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .cats-grid { grid-template-columns: 1fr; }
  .compact-list { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .hero-tag.tag3 { display: none; }
}

@media (max-width: 768px) {
  .hero { padding: 110px 20px 60px; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .hero-pizza-wrapper { width: 280px; height: 280px; }
  .hero-pizza { font-size: 8.5rem; }
  .hero-tag { display: none; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }

  .nav { display: none; }
  .hamburger { display: flex; }

  .section { padding: 60px 20px; }
  .pizza-sizes { grid-template-columns: 1fr; }
  .size-card { padding: 28px 22px; gap: 18px; }
  .size-emoji { font-size: 3.2rem; }

  .products-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .payment-options, .delivery-types { grid-template-columns: 1fr; }
  .border-grid { grid-template-columns: 1fr 1fr; }
  .store-info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .account-grid { grid-template-columns: 1fr; }
  .account-nav { position: static; }

  .cart-sidebar { width: 100%; }
  .cat-tabs-wrapper { top: 72px; padding: 10px 16px; }
  .floating-cart { bottom: 86px; right: 18px; padding: 14px 22px; }

  .mobile-nav { display: grid; }
  body { padding-bottom: 68px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary { width: 100%; }
  .auth-card { padding: 28px 22px; }
  .products-grid { grid-template-columns: 1fr; }
  .border-grid { grid-template-columns: 1fr; }
  .checkout-grid { padding: 100px 16px 60px; }
  .modal { max-height: 92vh; border-radius: 20px; }
  .modal-body, .modal-header, .modal-footer { padding-left: 20px; padding-right: 20px; }
}
