/* ================================================
   BRISARIA — style.css
   ================================================ */

/* ===== TOKENS ===== */
:root {
  --verde:         #1B4D2E;
  --verde-med:     #2D6A4F;
  --verde-light:   #52976E;
  --verde-pale:    #EBF4EE;
  --dourado:       #C8923A;
  --dourado-light: #E5AA5A;
  --creme:         #F6F1E7;
  --bege:          #EDE4D0;
  --bege-dark:     #D9CEBC;
  --texto:         #1A1208;
  --texto-2:       #4A3B22;
  --texto-3:       #7A6B52;
  --branco:        #FAFAF8;
  --sombra-xs:     0 1px 4px rgba(26,18,8,0.07);
  --sombra-sm:     0 2px 10px rgba(26,18,8,0.09);
  --sombra:        0 4px 24px rgba(26,18,8,0.12);
  --sombra-lg:     0 8px 48px rgba(26,18,8,0.18);
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;
  --radius-full:   9999px;
  --ease:          0.2s ease;
  --ease-out:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--creme);
  color: var(--texto);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== UTILS ===== */
.hidden { display: none !important; }

/* ================================================
   HEADER
   ================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bege);
  transition: box-shadow var(--ease);
}
.header.scrolled { box-shadow: var(--sombra-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { font-size: 22px; line-height: 1; }
.logo-text {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.6px;
  color: var(--texto);
}

.header-nav {
  display: flex;
  gap: 28px;
}
.header-nav a {
  text-decoration: none;
  color: var(--texto-2);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--ease);
  white-space: nowrap;
}
.header-nav a:hover { color: var(--verde); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  position: relative;
  background: var(--verde);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), transform var(--ease);
  flex-shrink: 0;
  box-shadow: var(--sombra-xs);
}
.icon-btn:hover  { background: var(--verde-med); transform: scale(1.06); }
.icon-btn:active { transform: scale(0.96); }

.account-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--verde);
  border-radius: 50%;
  border: 2px solid var(--creme);
}

.cart-btn {
  position: relative;
  background: var(--verde);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), transform var(--ease);
  flex-shrink: 0;
}
.cart-btn:hover  { background: var(--verde-med); transform: scale(1.06); }
.cart-btn:active { transform: scale(0.96); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--dourado);
  color: white;
  font-size: 10px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--creme);
  animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes badgePop {
  0%   { transform: scale(0); }
  80%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.btn-gold {
  background: var(--dourado);
  color: white;
  border-color: var(--dourado);
}
.btn-gold:hover {
  background: var(--dourado-light);
  border-color: var(--dourado-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,146,58,0.35);
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
}

.btn-verde {
  background: var(--verde);
  color: white;
  border-color: var(--verde);
}
.btn-verde:hover {
  background: var(--verde-med);
  border-color: var(--verde-med);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,77,46,0.3);
}

.btn-outline-dark {
  background: transparent;
  color: var(--texto-2);
  border-color: var(--bege-dark);
}
.btn-outline-dark:hover {
  border-color: var(--verde-light);
  color: var(--verde);
}

.btn-full { width: 100%; }
.btn-sm   { padding: 8px 16px; font-size: 13px; }

/* WhatsApp checkout button */
.btn-whatsapp {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  font-family: inherit;
  letter-spacing: -0.2px;
}
.btn-whatsapp:hover {
  background: #1ebe59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:active { transform: translateY(0); }

/* ================================================
   HERO
   ================================================ */
.hero {
  background: var(--verde);
  color: white;
  padding: 88px 0 108px;
  position: relative;
  overflow: hidden;
}
.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-circle--1 {
  width: 640px;
  height: 640px;
  background: rgba(255,255,255,0.03);
  top: -200px;
  right: -120px;
}
.hero-bg-circle--2 {
  width: 420px;
  height: 420px;
  background: rgba(200,146,58,0.08);
  bottom: -180px;
  left: -80px;
}

.hero-inner { position: relative; z-index: 1; }

.hero-tag {
  display: inline-block;
  background: rgba(200,146,58,0.18);
  border: 1px solid rgba(200,146,58,0.35);
  color: #E8B460;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 18px;
  opacity: 0.78;
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.65;
  font-weight: 300;
}

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

/* ================================================
   HIGHLIGHTS BAR
   ================================================ */
.highlights-bar {
  background: var(--branco);
  border-bottom: 1px solid var(--bege);
  padding: 0;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-columns: 1px solid var(--bege);
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-right: 1px solid var(--bege);
}
.highlight-item:last-child { border-right: none; }
.highlight-icon { font-size: 28px; flex-shrink: 0; }
.highlight-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 2px;
}
.highlight-item p {
  font-size: 13px;
  color: var(--texto-3);
}

/* ================================================
   SECTION COMMON
   ================================================ */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 8px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.section-sub {
  color: var(--texto-3);
  font-size: 16px;
}

/* ================================================
   FEATURED SECTION — Mais pedidos
   ================================================ */
.featured-section {
  padding: 72px 0 80px;
  background: var(--branco);
}
.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
  flex-wrap: wrap;
}
.featured-header .section-title { margin-bottom: 4px; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.featured-grid .product-card { cursor: default; }
.featured-grid .product-desc { display: none; }

/* ================================================
   CATALOG
   ================================================ */
.catalog-section {
  padding: 80px 0 100px;
}

.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--branco);
  border: 2px solid var(--bege);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  max-width: 380px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.search-box:focus-within {
  border-color: var(--verde-light);
  box-shadow: 0 0 0 3px rgba(82,151,110,0.12);
}
.search-box svg { color: var(--texto-3); flex-shrink: 0; }
.search-box input {
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--texto);
  width: 100%;
  outline: none;
  font-family: inherit;
}
.search-box input::placeholder { color: var(--texto-3); }

.category-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: 2px solid var(--bege-dark);
  background: var(--branco);
  color: var(--texto-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
  font-family: inherit;
}
.filter-chip:hover {
  border-color: var(--verde-light);
  color: var(--verde);
}
.filter-chip.active {
  background: var(--verde);
  border-color: var(--verde);
  color: white;
}

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra-xs);
  border: 1px solid var(--bege);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease-out), box-shadow var(--ease-out);
  cursor: default;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra);
  border-color: var(--bege-dark);
}

.product-img-wrap {
  aspect-ratio: 1 / 1;
  background: var(--bege);
  overflow: hidden;
  position: relative;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  background: linear-gradient(135deg, var(--bege) 0%, var(--bege-dark) 100%);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--dourado);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.product-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--texto-3);
  margin-bottom: 5px;
}
.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-desc {
  font-size: 13px;
  color: var(--texto-3);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.product-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--verde);
  letter-spacing: -0.5px;
}

.btn-add {
  background: var(--verde);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  flex-shrink: 0;
  font-family: inherit;
}
.btn-add:hover {
  background: var(--verde-med);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(27,77,46,0.3);
}
.btn-add:active { transform: scale(0.95); }
.btn-add.added  { background: var(--dourado); animation: addedPop 0.35s ease; }
@keyframes addedPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ===== LOADING / EMPTY / ERROR ===== */
.loading-state, .empty-state, .error-state {
  text-align: center;
  padding: 72px 20px;
  color: var(--texto-3);
  font-size: 15px;
}
.spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--bege-dark);
  border-top-color: var(--verde);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================
   CART SIDEBAR
   ================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,18,8,0.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cart-overlay.visible { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--branco);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--sombra-lg);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--bege);
  flex-shrink: 0;
}
.cart-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--texto);
  letter-spacing: -0.4px;
}
.close-btn {
  background: var(--bege);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), transform var(--ease);
  color: var(--texto-2);
  font-family: inherit;
}
.close-btn:hover { background: var(--bege-dark); transform: scale(1.1); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 24px;
  overscroll-behavior: contain;
}

.cart-empty {
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--texto-3);
  text-align: center;
  font-size: 15px;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bege);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-thumb {
  width: 66px;
  height: 66px;
  border-radius: var(--radius-sm);
  background: var(--bege);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-unit {
  font-size: 12px;
  color: var(--texto-3);
  margin-bottom: 8px;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--bege-dark);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: var(--texto-2);
  transition: all var(--ease);
  font-family: inherit;
}
.qty-btn:hover { background: var(--bege); border-color: var(--verde-light); color: var(--verde); }
.qty-value {
  font-size: 14px;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
  color: var(--texto);
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.cart-item-subtotal {
  font-size: 15px;
  font-weight: 800;
  color: var(--verde);
  letter-spacing: -0.3px;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--bege-dark);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: color var(--ease);
  padding: 2px;
  font-family: inherit;
}
.cart-item-remove:hover { color: #d63031; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--bege);
  flex-shrink: 0;
  display: none;
}
.cart-summary { margin-bottom: 16px; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: var(--texto-2);
  font-weight: 500;
}
.cart-total-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--verde);
  letter-spacing: -0.5px;
}

/* ================================================
   LOYALTY SECTION
   ================================================ */
.loyalty-section {
  padding: 100px 0;
  background: var(--bege);
}
.loyalty-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.loyalty-badge {
  display: inline-block;
  background: var(--verde);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.loyalty-info .section-title { margin-bottom: 16px; }
.loyalty-info > p {
  color: var(--texto-2);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.loyalty-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.loyalty-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--texto-2);
  font-weight: 500;
}
.benefit-icon {
  color: var(--dourado);
  font-size: 14px;
  flex-shrink: 0;
}

.loyalty-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 4px;
}
.loyalty-table-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}
.loyalty-table .loyalty-benefits li {
  font-size: 14px;
}

.loyalty-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--sombra);
  border: 1px solid var(--bege);
}
.loyalty-form-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--texto);
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--texto-2);
  margin-bottom: 7px;
  letter-spacing: 0.1px;
}
.optional {
  font-weight: 400;
  color: var(--texto-3);
}
.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--bege);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--texto);
  background: var(--creme);
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
  outline: none;
  font-family: inherit;
}
.form-group input:focus {
  border-color: var(--verde-light);
  background: white;
  box-shadow: 0 0 0 3px rgba(82,151,110,0.12);
}
.form-group input.error { border-color: #e53e3e; }
.form-group input.error:focus { box-shadow: 0 0 0 3px rgba(229,62,62,0.12); }
.form-disclaimer {
  font-size: 12px;
  color: var(--texto-3);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 16px 0;
}
.success-icon {
  font-size: 52px;
  margin-bottom: 14px;
  animation: successBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes successBounce {
  0%   { transform: scale(0) rotate(-10deg); }
  80%  { transform: scale(1.1) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.form-success h4 {
  font-size: 19px;
  font-weight: 800;
  color: var(--verde);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.form-success p {
  color: var(--texto-2);
  font-size: 14px;
  line-height: 1.6;
}

/* ================================================
   PONTOS — consulta de pontos do Clube da Brisa
   ================================================ */
.pontos-consulta-section {
  margin-top: 28px;
}
.pontos-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--texto-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.pontos-divider::before,
.pontos-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bege);
}
.pontos-consulta-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}
.pontos-result {
  margin-top: 18px;
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  background: var(--bege);
  border: 1px solid rgba(82,151,110,0.15);
  animation: fadeIn 0.3s ease;
}
.pontos-erro {
  color: #c0392b;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.pontos-nome {
  font-size: 15px;
  color: var(--texto-2);
  margin-bottom: 10px;
}
.pontos-saldo-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.pontos-saldo-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--verde);
  line-height: 1;
  letter-spacing: -2px;
}
.pontos-saldo-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--verde);
  letter-spacing: 0.2px;
}
.pontos-detalhe {
  font-size: 12px;
  color: var(--texto-3);
  margin-bottom: 14px;
}
.pontos-resgates {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 12px;
  margin-top: 4px;
}
.resgates-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--texto-2);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}
.resgates-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}
.resgates-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--texto-2);
}
.resgates-empty {
  font-size: 13px;
  color: var(--texto-3);
  text-align: center;
  padding: 4px 0;
}
.pontos-rodape {
  margin-top: 12px;
  font-size: 12px;
  color: var(--texto-3);
  text-align: center;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--texto);
  color: rgba(255,255,255,0.65);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand .logo-text { color: white; font-size: 18px; }
.footer-tagline {
  font-size: 14px;
  font-style: italic;
  opacity: 0.6;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--ease);
}
.footer-links a:hover { color: white; }
.footer-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-copy {
  font-size: 12px;
  opacity: 0.35;
  margin-top: 4px;
}

/* ================================================
   TOAST
   ================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--texto);
  color: white;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  z-index: 500;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--sombra);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── MODAL DE PRODUTO ─────────────────────────────────────── */
.product-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 600;
  backdrop-filter: blur(2px);
  transition: opacity .25s;
}
.product-modal-overlay.hidden { display: none; }

.product-modal {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--branco);
  border-radius: 20px 20px 0 0;
  z-index: 601;
  max-height: 92vh;
  overflow-y: auto;
  transition: transform .3s cubic-bezier(.32,1,.4,1);
  transform: translateY(0);
}
.product-modal.hidden { display: none; }

.product-modal-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(0,0,0,.08); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 16px; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  color: var(--texto);
}

/* Carrossel */
.product-modal-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bege);
  border-radius: 20px 20px 0 0;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.carousel-track img {
  min-width: 100%; height: 100%;
  object-fit: cover; flex-shrink: 0;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.85); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 22px; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  line-height: 1;
}
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-btn:disabled { opacity: .3; cursor: default; }
.carousel-dots {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.5); border: none; padding: 0; cursor: pointer;
  transition: background .2s;
}
.carousel-dot.active { background: #fff; }

/* Info */
.product-modal-info {
  padding: 20px 20px 32px;
}
.product-modal-cat {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  color: var(--verde-med); text-transform: uppercase; margin-bottom: 4px;
}
.product-modal-name {
  font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--texto);
}
.product-modal-desc {
  font-size: 14px; color: var(--texto-3); line-height: 1.6; margin-bottom: 16px;
}
.product-modal-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.product-modal-price {
  font-size: 22px; font-weight: 800; color: var(--verde);
}
.product-modal-footer .btn-add {
  width: 48px; height: 48px; font-size: 22px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .loyalty-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .loyalty-tables {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .header-nav { display: none; }
  .hero { padding: 64px 0 80px; }
  .hero-subtitle { font-size: 16px; }

  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-item { border-right: none; border-bottom: 1px solid var(--bege); }
  .highlight-item:last-child { border-bottom: none; }

  .featured-section { padding: 52px 0 60px; }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .catalog-section { padding: 60px 0 80px; }
  .loyalty-section { padding: 72px 0; }
  .loyalty-form-card { padding: 28px 22px; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-body { padding: 12px; }
  .product-price { font-size: 17px; }
  .btn-add { width: 34px; height: 34px; font-size: 20px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 38px; }
  .products-grid { gap: 8px; }
  .product-desc { display: none; }
}

/* ================================================
   PAINEL MINHA CONTA
   ================================================ */
.account-sidebar {
  z-index: 310;
}

.account-login {
  padding: 0;
}
.account-login-hero {
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-med) 100%);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 24px;
}
.account-login-hero .hero-emoji {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
}
.account-login-hero h4 {
  color: white;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.account-login-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  line-height: 1.5;
}
.account-hint {
  font-size: 14px;
  color: var(--texto-3);
  line-height: 1.5;
}
.login-erro {
  margin-top: 10px;
  padding: 10px 14px;
  background: #fdecea;
  border-radius: var(--radius-sm);
  color: #c0392b;
  font-size: 13px;
  font-weight: 500;
}

.account-perfil {
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.account-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--verde-pale);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.account-avatar {
  font-size: 32px;
  flex-shrink: 0;
}
.account-nome {
  font-weight: 700;
  font-size: 16px;
  color: var(--texto);
  line-height: 1.2;
}
.account-wpp {
  font-size: 13px;
  color: var(--texto-3);
  margin-top: 2px;
}

.account-pontos-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 18px 16px;
  background: var(--verde);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.account-pontos-num {
  font-size: 52px;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -2px;
}
.account-pontos-label {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.account-historico {
  flex: 1;
}
.account-hist-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--texto-2);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hist-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hist-item {
  padding: 12px 14px;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--sombra-xs);
}
.hist-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.hist-produto {
  font-size: 14px;
  font-weight: 600;
  color: var(--texto);
  line-height: 1.3;
}
.hist-valor {
  font-size: 14px;
  font-weight: 700;
  color: var(--verde);
  white-space: nowrap;
}
.hist-item-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--texto-3);
}
.hist-empty {
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
  color: var(--texto-3);
}

/* ================================================
   COMBO TAG — sedas
   ================================================ */
.product-combo-tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--verde-med);
  margin-top: 2px;
  letter-spacing: 0.1px;
}
