/* ==========================================================================
   ESQUINA DA BREJA - CARDÁPIO ATACADO PREMIUM (HTML, CSS, JS + PHP/SQLite)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800;900&family=Oswald:wght@500;600;700&display=swap');

:root {
  --bg-dark: #08080a;
  --bg-card: #0f0f13;
  --bg-table-header: #050507;
  --bg-row-even: #121217;
  --bg-row-odd: #0d0d11;
  --bg-row-hover: #1c1a14;
  
  --gold-primary: #e6b840;
  --gold-bright: #ffdd67;
  --gold-dark: #9e781e;
  --gold-gradient: linear-gradient(135deg, #ffe082 0%, #e6b840 50%, #b8860b 100%);
  --gold-border: #8b6d21;
  --gold-border-bright: #d4af37;

  --text-main: #ffffff;
  --text-gold: #f5cf68;
  --text-muted: #a3a3a3;
  --accent-red: #e11d48;
  --accent-green: #10b981;

  --font-display: 'Bebas Neue', sans-serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-condensed: 'Oswald', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-gold: 0 0 15px rgba(230, 184, 64, 0.25);
  --shadow-box: 0 10px 30px rgba(0, 0, 0, 0.8);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(230, 184, 64, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, rgba(0, 0, 0, 0.9) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(0, 0, 0, 0.9) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* ==========================================================================
   BARRA SUPERIOR DE AÇÕES / ADMIN / CARRINHO
   ========================================================================== */
.top-action-bar {
  background: rgba(13, 13, 17, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-border);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.top-action-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.bar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bar-brand img {
  height: 38px;
  width: auto;
  border-radius: 4px;
}

.bar-brand-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--gold-bright);
}

.bar-search {
  position: relative;
  flex: 1;
  max-width: 320px;
  min-width: 180px;
}

.bar-search input {
  width: 100%;
  background: #18181f;
  border: 1px solid #33333d;
  color: #fff;
  padding: 7px 12px 7px 34px;
  border-radius: 20px;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s ease;
}

.bar-search input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(230, 184, 64, 0.3);
}

.bar-search svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  user-select: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0b0b0e;
  border-color: #ffd54f;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(230, 184, 64, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-outline {
  background: #15151c;
  color: var(--text-main);
  border-color: #383842;
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-bright);
}

.btn-outline.active {
  background: rgba(230, 184, 64, 0.15);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-success {
  background: #059669;
  color: #fff;
}

.btn-success:hover {
  background: #10b981;
}

.cart-badge {
  background: var(--accent-red);
  color: white;
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 800;
}

/* ==========================================================================
   CONTAINER DO PANFLETO / CARDÁPIO (FLYER ATACADO)
   ========================================================================== */
.cardapio-wrapper {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 12px;
}

.flyer-sheet {
  background: #000000;
  border: 3px solid var(--gold-border);
  outline: 1px solid var(--gold-bright);
  outline-offset: 3px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.95), 0 0 20px rgba(230, 184, 64, 0.15);
  padding: 18px 20px 22px;
  position: relative;
  overflow: hidden;
}

/* Moldura interna decorativa */
.flyer-inner-border {
  border: 1px solid rgba(230, 184, 64, 0.4);
  padding: 10px;
  position: relative;
}

/* HEADER DO CARDÁPIO */
.flyer-header {
  display: grid;
  grid-template-columns: 240px 1fr 210px;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(230, 184, 64, 0.3);
}

.header-left {
  display: flex;
  align-items: center;
}

.brand-badge-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mug-icon {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 2px 5px rgba(255, 215, 0, 0.4));
  flex-shrink: 0;
}

.brand-text-block {
  text-align: left;
}

.brand-main-name {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 0.9;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.brand-main-name span {
  display: block;
  color: var(--gold-bright);
  font-size: 2.3rem;
  letter-spacing: 2px;
}

.brand-subtext {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-primary);
  margin-top: 3px;
}

.header-center {
  text-align: center;
}

.header-title-main {
  font-family: var(--font-display);
  font-size: 4.8rem;
  line-height: 0.85;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
}

.header-title-atacado {
  display: block;
  font-size: 6.2rem;
  color: var(--gold-bright);
  text-shadow: 0 0 15px rgba(230, 184, 64, 0.35);
  letter-spacing: 4px;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.seal-badge {
  border: 2px solid var(--gold-border-bright);
  border-radius: 80px 80px 20px 20px;
  padding: 10px 14px;
  text-align: center;
  background: radial-gradient(circle, #1a1608 0%, #000 90%);
  box-shadow: 0 0 10px rgba(230, 184, 64, 0.3);
  position: relative;
  min-width: 175px;
}

.seal-stars {
  color: var(--gold-bright);
  font-size: 0.75rem;
  letter-spacing: 3px;
  margin-bottom: 2px;
}

.seal-title {
  font-family: var(--font-condensed);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.seal-icon {
  margin: 4px 0;
  display: flex;
  justify-content: center;
}

.seal-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-bright);
}

.seal-sub {
  font-size: 0.72rem;
  font-weight: 800;
  color: #000;
  background: var(--gold-gradient);
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* SEÇÃO CENTRAL - CERVEJAS COM ORNAMENTO */
.category-banner-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 12px 0 16px;
}

.divider-ornament {
  height: 18px;
  width: 60px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.85;
}

.divider-ornament.left {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 20' fill='%23e6b840'%3E%3Cpath d='M0 10 L25 2 L20 10 L25 18 Z M22 10 L50 4 L45 10 L50 16 Z M48 10 L75 6 L72 10 L75 14 Z M75 9 L80 10 L75 11 Z'/%3E%3C/svg%3E");
}

.divider-ornament.right {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 20' fill='%23e6b840'%3E%3Cpath d='M80 10 L55 2 L60 10 L55 18 Z M58 10 L30 4 L35 10 L30 16 Z M32 10 L5 6 L8 10 L5 14 Z M5 9 L0 10 L5 11 Z'/%3E%3C/svg%3E");
}

.category-banner-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 4px;
  color: var(--gold-bright);
  text-shadow: 0 0 10px rgba(230, 184, 64, 0.4);
  line-height: 1;
}

/* ==========================================================================
   GRID DE 3 COLUNAS DAS TABELAS DO ATACADO
   ========================================================================== */
.flyer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}

.flyer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* TABELA DE PRODUTOS */
.wholesale-table-block {
  border: 1.5px solid var(--gold-border);
  background: #000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.table-category-header {
  background: var(--gold-primary);
  color: #000;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  text-align: center;
  padding: 4px 6px;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1.5px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.table-sub-header {
  display: grid;
  grid-template-columns: 1fr 78px 65px;
  background: #07070a;
  border-bottom: 1px solid var(--gold-border);
  text-align: center;
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  padding: 4px 0;
}

.sub-col {
  padding: 3px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(230, 184, 64, 0.35);
}

.sub-col:last-child {
  border-right: none;
}

/* LINHAS DE PRODUTOS */
.table-body {
  display: flex;
  flex-direction: column;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 78px 65px;
  align-items: center;
  min-height: 27px;
  border-bottom: 1px solid rgba(230, 184, 64, 0.2);
  transition: background 0.15s ease;
  position: relative;
}

.product-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.product-row:hover {
  background: rgba(230, 184, 64, 0.08);
}

.col-prod-info {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px;
  border-right: 1px solid rgba(230, 184, 64, 0.25);
  overflow: hidden;
}

.prod-thumb {
  width: 22px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 2px;
}

.prod-name {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  flex: 1;
}

.col-price {
  text-align: center;
  font-family: var(--font-condensed);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 2px;
  border-right: 1px solid rgba(230, 184, 64, 0.25);
  color: #fff;
}

.col-price:last-child {
  border-right: none;
}

.col-price.wholesale {
  color: #ffffff;
}

.col-price.unit {
  color: var(--gold-bright);
}

/* Estilos de Edição Inline */
.editable-active .editable-cell {
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s;
  padding: 1px 3px;
}

.editable-active .editable-cell:hover {
  background: rgba(230, 184, 64, 0.25);
  outline: 1px dashed var(--gold-bright);
}

.row-actions-btn {
  display: none;
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  gap: 3px;
  z-index: 5;
}

.editable-active .product-row:hover .row-actions-btn {
  display: flex;
}

.btn-mini {
  background: #1f1f28;
  border: 1px solid var(--gold-primary);
  color: var(--gold-bright);
  width: 20px;
  height: 20px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.65rem;
  padding: 0;
}

.btn-mini:hover {
  background: var(--gold-primary);
  color: #000;
}

/* ==========================================================================
   RODAPÉ DO FLYER
   ========================================================================== */
.flyer-footer {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1.5px solid rgba(230, 184, 64, 0.4);
}

.footer-bottles-wrapper {
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.footer-bottles-img {
  width: 100%;
  max-height: 125px;
  object-fit: contain;
  object-position: bottom left;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.8));
}

.footer-promo-box {
  border: 2px solid var(--gold-border-bright);
  padding: 12px 14px;
  border-radius: 6px;
  background: radial-gradient(circle, #1a1608 0%, #000000 90%);
  text-align: left;
  box-shadow: 0 0 15px rgba(230, 184, 64, 0.2);
}

.promo-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.promo-title-row svg {
  width: 32px;
  height: 32px;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.promo-title-text {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 0.95;
  color: #fff;
  letter-spacing: 1px;
}

.promo-title-text span {
  display: block;
  color: var(--gold-bright);
}

.promo-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(230, 184, 64, 0.3);
  padding-top: 6px;
}

.promo-sub-row svg {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   MODO CATÁLOGO / MOBILE INTERATIVO (GRID DE CARDS)
   ========================================================================== */
.catalog-view {
  display: none;
}

.catalog-view.active {
  display: block;
}

.flyer-view.hidden {
  display: none;
}

.catalog-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 16px;
  scrollbar-width: thin;
}

.cat-chip {
  background: #14141b;
  border: 1px solid #33333f;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-chip:hover, .cat-chip.active {
  background: var(--gold-gradient);
  color: #000;
  border-color: #ffd54f;
  font-weight: 700;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.catalog-card {
  background: #121217;
  border: 1px solid #282832;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.catalog-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(230, 184, 64, 0.15);
}

.card-cat-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card-image-box {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 12px;
}

.card-image-box img {
  max-height: 110px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.catalog-card:hover .card-image-box img {
  transform: scale(1.08);
}

.card-title {
  font-family: var(--font-condensed);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
  height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-prices {
  margin-top: auto;
  background: #09090d;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #22222b;
  margin-bottom: 10px;
}

.card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-price-row.highlight {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px dashed #262630;
}

.btn-card-add {
  width: 100%;
  background: #1f1f28;
  color: #fff;
  border: 1px solid #383848;
  padding: 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-add:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: #ffd54f;
}

/* ==========================================================================
   MODAIS (ADMIN, NOVO PRODUTO, CARRINHO, CONFIGS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #111116;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(230, 184, 64, 0.2);
  transform: translateY(20px);
  transition: transform 0.25s ease;
  overflow: hidden;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: 16px 20px;
  background: #09090c;
  border-bottom: 1px solid #262630;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #fff;
}

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

.modal-footer {
  padding: 14px 20px;
  background: #09090c;
  border-top: 1px solid #262630;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* FORM STYLES */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: #181822;
  border: 1px solid #323242;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(230, 184, 64, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.image-preview-box {
  width: 90px;
  height: 90px;
  border: 1px dashed var(--gold-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0e;
  overflow: hidden;
  margin-top: 8px;
}

.image-preview-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* TAB NAV IN ADMIN */
.modal-tabs {
  display: flex;
  border-bottom: 1px solid #2a2a38;
  margin-bottom: 18px;
}

.modal-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-condensed);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.modal-tab-btn:hover {
  color: #fff;
}

.modal-tab-btn.active {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ADMIN PRODUCTS LIST */
.admin-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #15151c;
  border: 1px solid #282835;
  border-radius: 6px;
  margin-bottom: 8px;
  gap: 10px;
}

.admin-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.admin-item-info img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.admin-item-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.admin-item-sub {
  font-size: 0.72rem;
  color: var(--gold-bright);
}

/* CARRINHO */
.cart-items-list {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #22222d;
}

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

.cart-item-left img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-qty {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #252533;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.cart-total-box {
  background: #09090c;
  border: 1px solid var(--gold-border);
  padding: 12px;
  border-radius: 6px;
  margin-top: 10px;
}

/* NOTIFICAÇÃO TOAST */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #14141c;
  border: 1px solid var(--gold-bright);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(230, 184, 64, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVIDADE E IMPRESSÃO (PRINT)
   ========================================================================== */
@media (max-width: 950px) {
  .flyer-grid {
    grid-template-columns: 1fr;
  }

  .flyer-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .header-left, .header-right {
    justify-content: center;
  }

  .header-title-main {
    font-size: 3.5rem;
  }

  .header-title-atacado {
    font-size: 4.5rem;
  }

  .flyer-footer {
    grid-template-columns: 1fr;
  }
}

@media print {
  .top-action-bar, .modal-overlay, .toast-notice, .row-actions-btn {
    display: none !important;
  }

  body {
    background: #000 !important;
    color: #fff !important;
    padding: 0 !important;
  }

  .cardapio-wrapper {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .flyer-sheet {
    border: 2px solid #b8860b !important;
    box-shadow: none !important;
    outline: none !important;
  }
}
