/* Layout Oficial Inspirado no App Anota AI — Tsuru Sushi */
:root {
  --bg-primary: #f4f5f7;
  --bg-white: #ffffff;
  --text-title: #1a1a1a;
  --text-desc: #666666;
  --text-muted: #8c8c8c;
  --anota-red: #d32f2f;
  --anota-green: #2e7d32;
  --brand-color: #1a1a1a;
  --border-light: #eaeaea;
  --border-subtle: #f0f0f0;
  --radius-card: 8px;
  --radius-img: 8px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-title);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 90px;
}

/* =========================================================
   HEADER DA LOJA (ESTILO ANOTA AI OFICIAL)
   ========================================================= */
.anota-header {
  background: #111111;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.anota-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.anota-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.anota-store-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.anota-store-status {
  font-size: 12px;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 5px;
}

.anota-store-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
}

/* =========================================================
   BARRA DE INFORMAÇÕES (PEDIDO MÍNIMO / TEMPO)
   ========================================================= */
.anota-info-bar {
  background: var(--bg-white);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-desc);
}

.anota-info-bar strong {
  color: var(--text-title);
}

/* =========================================================
   BUSCA
   ========================================================= */
.anota-search-box {
  padding: 12px 20px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.anota-search-input {
  width: 100%;
  padding: 10px 16px;
  background: #f0f2f5;
  border: 1px solid transparent;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.anota-search-input:focus {
  background: #fff;
  border-color: #ccc;
}

/* =========================================================
   ABAS DE CATEGORIA HORIZONTAIS COM SCROLL
   ========================================================= */
.anota-tabs-wrapper {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 76px;
  z-index: 40;
}

.anota-tabs {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 0 20px;
  scrollbar-width: none;
}

.anota-tabs::-webkit-scrollbar {
  display: none;
}

.anota-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-desc);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.anota-tab-btn:hover {
  color: var(--text-title);
}

.anota-tab-btn.active {
  color: var(--text-title);
  border-bottom-color: var(--anota-red);
}

/* =========================================================
   LISTA E CARDS DE PRODUTOS (LAYOUT CLÁSSICO ANOTA AI)
   ========================================================= */
.anota-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 20px;
}

.anota-category-section {
  margin-bottom: 28px;
}

.anota-category-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.anota-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* CARD COM TEXTO NA ESQUERDA E IMAGEM À DIREITA */
.anota-item-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}

.anota-item-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

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

.anota-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 6px;
  line-height: 1.3;
}

.anota-item-desc {
  font-size: 13px;
  color: var(--text-desc);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.anota-item-price {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.anota-item-img-container {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-img);
  overflow: hidden;
  flex-shrink: 0;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anota-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.anota-item-card:hover .anota-item-img {
  transform: scale(1.05);
}

/* =========================================================
   BARRA FLUTUANTE DE CARRINHO (ESTILO ANOTA AI)
   ========================================================= */
.anota-cart-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  z-index: 100;
}

.anota-cart-dock-inner {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.anota-btn-checkout {
  background: var(--anota-red);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
}

.anota-btn-checkout:hover {
  background: #b71c1c;
}
