* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary:      #c0392b;
  --primary-dark: #922b21;
  --primary-light:#fadbd8;
  --secondary:    #e67e22;
  --success:      #27ae60;
  --danger:       #c0392b;
  --dark:         #2c3e50;
  --light:        #f0f2f5;
  --white:        #ffffff;
  --bg:           #f8f5f2;
  --cinza:        #7f8c8d;
  --shadow:       0 2px 16px rgba(0,0,0,.09);
  --shadow-lg:    0 4px 20px rgba(0,0,0,.14);
  --radius:       16px;
  --transition:   all 0.2s ease;
  --header-h:     60px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 14px;
}

/* Header */
.header {
  background: var(--primary);
  color: var(--white);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(192,57,43,.3);
}

.header-content {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
}

.logo {
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

/* Barra de Pesquisa */
.search-section {
  background: var(--white);
  padding: 8px 12px;
  border-bottom: 1px solid #ece8e4;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
}

.search-box {
  display: flex;
  align-items: center;
  background: #f5f1ee;
  border-radius: 24px;
  padding: 0 14px;
  gap: 8px;
  height: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.search-box-icon {
  font-size: 15px;
  opacity: 0.5;
  flex-shrink: 0;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
  color: var(--dark);
}

.search-box input::placeholder { color: #aaa; }

.search-clear {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #999;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  transition: var(--transition);
}

.cart-btn:active { background: rgba(255,255,255,.35); }

.cart-icon { font-size: 1.3rem; }

.cart-count {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 800;
  padding: 0 4px;
  border: 2px solid var(--primary);
}

/* Categorias */
.categories {
  background: var(--white);
  border-bottom: 1px solid #ece8e4;
  border-top: 6px solid var(--bg);
  position: sticky;
  top: calc(var(--header-h) + 57px);
  z-index: 89;
  height: 52px;
}

.categories-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 12px;
  -webkit-overflow-scrolling: touch;
}

.categories-wrapper::-webkit-scrollbar { display: none; }

.cat-arrow { display: none; }

.categories-scroll {
  display: contents;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 24px;
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  font-size: .85rem;
  font-weight: 600;
  color: var(--cinza);
  flex-shrink: 0;
  transition: var(--transition);
}

.category-btn:hover { background: var(--light); }

.category-btn.active {
  background: var(--primary);
  color: var(--white);
}

/* Main */
.main {
  padding: 14px 0 80px;
  min-height: calc(100vh - 170px);
}

.section-header {
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cinza);
}

.section-header p {
  color: var(--cinza);
  font-size: .85rem;
}

/* Subgrupos */
.subgroups {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.subgroup-btn {
  background: var(--white);
  border: 2px solid var(--light);
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  color: var(--dark);
}

.subgroup-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.subgroup-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Grid de Produtos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:active {
  transform: scale(.97);
  box-shadow: none;
}

.product-image {
  width: 100%;
  height: 130px;
  background: linear-gradient(160deg, #fef9f5 0%, #fef0e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.product-img-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(10px) brightness(0.65) saturate(1.2);
  transform: scale(1.1);
  z-index: 0;
}

.product-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
}

.product-emoji {
  font-size: 3rem;
  line-height: 1;
  user-select: none;
}

.product-image.has-image { background: linear-gradient(160deg, #fef9f5 0%, #fef0e8 100%); font-size: 0; }

.product-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

.product-info {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark);
  line-height: 1.3;
  flex: 1;
}

.product-description {
  font-size: .78rem;
  color: var(--cinza);
  margin-bottom: 6px;
  line-height: 1.4;
}

.product-obs {
  font-size: .72rem;
  color: #9b7e2e;
  background: #fff8e1;
  border-left: 3px solid #f0c040;
  border-radius: 4px;
  padding: 3px 7px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}

.product-price small {
  font-size: .75rem;
  color: var(--cinza);
  font-weight: 400;
}

.btn-add {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-add:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
  animation: slideUp 0.3s ease;
}

.modal-pizza {
  max-width: 800px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--danger);
  color: var(--white);
  transform: rotate(90deg);
}

/* Carrinho Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background: var(--white);
  box-shadow: -5px 0 20px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 20px;
  font-weight: 600;
}

.cart-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--white);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
}

.cart-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #7F8C8D;
}

.empty-icon {
  font-size: 60px;
  display: block;
  margin-bottom: 15px;
  opacity: 0.5;
}

.cart-item {
  background: var(--light);
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cart-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e0e0e0;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  overflow: hidden;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-body {
  flex: 1;
  min-width: 0;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 8px;
}

.cart-item-name {
  font-weight: 600;
  font-size: 15px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-clear-btn {
  background: none;
  border: none;
  color: #dc3545;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}

.cart-clear-btn:hover {
  background: #fff0f0;
}

.cart-item-remove {
  background: var(--danger);
  color: var(--white);
  border: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.cart-item-remove:hover {
  transform: scale(1.1);
}

.cart-item-details {
  font-size: 13px;
  color: #7F8C8D;
  margin-bottom: 8px;
}

.cart-item-obs {
  font-size: 12px;
  color: #555;
  background: #FFF5E6;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 3px solid var(--secondary);
}

.cart-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  background: var(--white);
  border: 1px solid #DDD;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

/* Sugestões do carrinho */
.cart-suggestions {
  padding: 12px 16px 10px;
  border-top: 1px solid var(--light);
  background: #fafafa;
}

.cart-suggestions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cart-suggestions-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
}

.cart-sug-nav {
  display: flex;
  gap: 4px;
}

.cart-sug-nav-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: white;
  color: #555;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  padding: 0;
}
.cart-sug-nav-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.cart-sug-nav-btn:disabled { opacity: 0.3; cursor: default; }
.cart-sug-nav-btn:disabled:hover { background: white; color: #555; border-color: #ddd; }

.cart-suggestions-track {
  overflow: hidden;
  width: 100%;
}

.cart-suggestions-list {
  display: flex;
  gap: 10px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.cart-sug-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
}
.cart-sug-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.cart-sug-dot.active { background: var(--primary); transform: scale(1.3); }

.cart-sug-card {
  flex: 0 0 110px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cart-sug-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.cart-sug-img {
  width: 110px;
  height: 75px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.cart-sug-img .sug-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(8px) brightness(0.6) saturate(1.2);
  transform: scale(1.1);
}
.cart-sug-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
}

.cart-sug-body {
  padding: 6px 8px 8px;
}
.cart-sug-name {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.cart-sug-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-sug-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
}
.cart-sug-add {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.cart-sug-add:hover { background: var(--primary-dark, #004d40); }

.cart-footer {
  padding: 20px;
  border-top: 2px solid var(--light);
  background: var(--white);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 18px;
}

.cart-total strong {
  font-size: 24px;
  color: var(--primary);
}

/* Botões */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-block {
  width: 100%;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--light);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Loading */
.loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.loading.active {
  display: flex;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .product-image {
    height: 150px;
    font-size: 50px;
  }
  
  .product-info {
    padding: 15px;
  }
  
  .product-name {
    font-size: 16px;
  }
  
  .product-description {
    font-size: 13px;
  }
  
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 16px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .logo span,
  .logo-text {
    display: none !important;
  }

  .logo img {
    height: 44px !important;
  }

  .cart-btn {
    padding: 8px 12px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .header-actions {
    gap: 4px;
    flex-shrink: 0;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .search-section,
  .categories {
    position: static;
    top: auto;
  }

  .main {
    padding: 25px 0;
  }

  .cart-header {
    padding: 14px;
  }

  .cart-items {
    padding: 14px;
  }

  .cart-footer {
    padding: 14px;
  }

  .cart-total {
    font-size: 16px;
  }

  .cart-total strong {
    font-size: 20px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   CONSTRUTOR DE PIZZA
   ============================================ */

.modal-pizza {
  max-width: 900px;
}

.pizza-builder {
  padding: 30px;
}

.pizza-builder h2 {
  font-size: 32px;
  margin-bottom: 10px;
  text-align: center;
}

.pizza-section {
  margin: 30px 0;
  padding: 25px;
  background: #F8F9FA;
  border-radius: var(--radius);
}

.pizza-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--dark);
}

/* Tamanhos */
.pizza-sizes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.size-option {
  background: var(--white);
  border: 3px solid transparent;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.size-option:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.size-option.selected {
  border-color: var(--primary);
  background: #FFF5F2;
}

.size-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.size-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.size-info {
  font-size: 13px;
  color: #7F8C8D;
  margin-bottom: 10px;
}

.size-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

/* Filtros de sabores */
.pizza-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid #DDD;
  background: var(--white);
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Sabores */
.pizza-flavors {
  display: grid;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.flavor-option {
  background: var(--white);
  border: 2px solid #E0E0E0;
  border-radius: var(--radius);
  padding: 15px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.flavor-option:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.flavor-option.selected {
  border-color: var(--primary);
  background: #FFF5F2;
}

.flavor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.flavor-name {
  font-weight: 600;
  font-size: 16px;
}

.flavor-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

.flavor-ingredients {
  font-size: 13px;
  color: #7F8C8D;
  line-height: 1.4;
}

.flavor-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
}

/* Bordas */
.pizza-borders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.border-option {
  background: var(--white);
  border: 2px solid #E0E0E0;
  border-radius: var(--radius);
  padding: 15px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.border-option:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.border-option.selected {
  border-color: var(--primary);
  background: #FFF5F2;
}

.border-name {
  font-weight: 600;
}

.border-price {
  font-weight: 700;
  color: var(--primary);
}

/* Resumo */
.pizza-summary {
  background: linear-gradient(135deg, #FFF5F2 0%, #FFE8E0 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 25px;
  margin-top: 30px;
}

.pizza-summary h3 {
  margin-bottom: 20px;
  color: var(--primary);
}

.summary-item {
  margin-bottom: 15px;
  line-height: 1.6;
}

.summary-item strong {
  color: var(--dark);
}

.summary-item ul {
  color: #555;
}

.pizza-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 2px solid var(--primary);
  margin-top: 20px;
  font-size: 18px;
}

.pizza-total strong {
  font-size: 32px;
  color: var(--primary);
}

/* Scrollbar customizada */
.pizza-flavors::-webkit-scrollbar {
  width: 8px;
}

.pizza-flavors::-webkit-scrollbar-track {
  background: #F1F1F1;
  border-radius: 10px;
}

.pizza-flavors::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.pizza-flavors::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Responsivo */
@media (max-width: 768px) {
  .pizza-builder {
    padding: 20px;
  }
  
  .pizza-sizes {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pizza-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    gap: 8px;
    padding: 2px 2px 6px;
  }

  .pizza-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-size: 12px;
    padding: 9px 14px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  
  .pizza-borders {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .modal-content.modal-pizza {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .pizza-builder {
    padding: 14px;
  }

  .pizza-builder h2 {
    font-size: 24px;
  }

  .pizza-section {
    margin: 16px 0;
    padding: 14px;
  }

  .pizza-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .size-option {
    padding: 12px;
  }

  .size-icon {
    font-size: 36px;
  }

  .size-name {
    font-size: 16px;
  }

  .size-price {
    font-size: 18px;
  }

  .pizza-filters {
    margin-bottom: 12px;
  }
}


/* ============================================
   MODAL DE CHECKOUT MELHORADO
   ============================================ */

.modal-checkout {
  max-width: 600px;
}

.checkout-content {
  padding: 0;
}

.checkout-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 40px 30px;
  text-align: center;
  border-radius: var(--radius) var(--radius) 0 0;
}

.checkout-icon {
  font-size: 64px;
  margin-bottom: 15px;
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.checkout-header h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.checkout-header p {
  font-size: 14px;
  opacity: 0.9;
}

.checkout-form {
  padding: 30px;
}

.tipo-entrega-btns {
  display: flex;
  gap: 10px;
}

.tipo-btn {
  flex: 1;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: #f8f8f8;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: #555;
}

.tipo-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

#grupo-endereco.hidden {
  display: none;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 14px;
}

.label-icon {
  font-size: 18px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.checkout-summary {
  background: #F8F9FA;
  padding: 25px 30px;
  border-top: 1px solid #E0E0E0;
}

.checkout-summary h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--dark);
}

.checkout-items-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.checkout-items-list > div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #E0E0E0;
  font-size: 14px;
}

.checkout-items-list > div:last-child {
  border-bottom: none;
}

.checkout-items-list > div span:first-child {
  flex: 1;
  color: #555;
}

.checkout-items-list > div span:last-child {
  font-weight: 600;
  color: var(--dark);
}

.checkout-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  border: 2px solid var(--primary);
  margin-bottom: 20px;
}

.checkout-total-box span {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.checkout-total-box strong {
  font-size: 28px;
  color: var(--primary);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  padding: 15px;
  background: #25D366;
  border: none;
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

.btn-whatsapp span:first-child {
  font-size: 24px;
}

/* Botão Confirmar Pedido */
.btn-enviar-pedido {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 24px;
  margin-top: 12px;
  background: linear-gradient(135deg, #25D366, #1da851);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-enviar-pedido:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
}
.btn-enviar-icon { font-size: 1.8rem; }
.btn-enviar-txt { display: flex; flex-direction: column; align-items: flex-start; }
.btn-enviar-label { font-size: 1rem; font-weight: 700; color: white; }
.btn-enviar-sub { font-size: 0.82rem; color: rgba(255,255,255,0.85); font-weight: 500; }

/* Scrollbar do resumo */
.checkout-items-list::-webkit-scrollbar {
  width: 6px;
}

.checkout-items-list::-webkit-scrollbar-track {
  background: #F1F1F1;
  border-radius: 10px;
}

.checkout-items-list::-webkit-scrollbar-thumb {
  background: #CCC;
  border-radius: 10px;
}

.checkout-items-list::-webkit-scrollbar-thumb:hover {
  background: #AAA;
}

/* Responsivo */
@media (max-width: 768px) {
  .checkout-header {
    padding: 30px 20px;
  }
  
  .checkout-icon {
    font-size: 48px;
  }
  
  .checkout-header h2 {
    font-size: 24px;
  }
  
  .checkout-form {
    padding: 20px;
  }
  
  .checkout-summary {
    padding: 20px;
  }
  
  .checkout-total-box strong {
    font-size: 24px;
  }
}


/* Sabores Selecionados */
.sabores-selecionados {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  border: 2px solid #4CAF50;
  border-radius: var(--radius);
  padding: 15px;
  margin-bottom: 20px;
}

.sabores-selecionados-header {
  margin-bottom: 12px;
  color: #2E7D32;
  font-size: 15px;
}

.sabores-selecionados-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sabor-selecionado {
  background: var(--white);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sabor-selecionado-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.sabor-numero {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.sabor-nome {
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
}

.sabor-preco {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.sabor-remover {
  width: 28px;
  height: 28px;
  border: none;
  background: #FFEBEE;
  color: #C62828;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.sabor-remover:hover {
  background: #C62828;
  color: var(--white);
  transform: scale(1.1);
}

.btn-limpar-sabores {
  padding: 8px 16px;
  background: #FFEBEE;
  color: #C62828;
  border: 2px solid #C62828;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-limpar-sabores:hover {
  background: #C62828;
  color: var(--white);
}

/* Pesquisa de Pizza */
.pizza-search {
  margin-bottom: 15px;
}

.pizza-search input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.pizza-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Responsivo */
@media (max-width: 768px) {
  .sabor-selecionado {
    padding: 10px;
  }
  
  .sabor-numero {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  .sabor-nome {
    font-size: 13px;
  }
  
  .sabor-preco {
    font-size: 11px;
  }
}


/* ============================================
   HEADER ACTIONS
   ============================================ */

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 45px;
  height: 45px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* ============================================
   MODAL DE PERFIL
   ============================================ */

.perfil-content {
  padding: 0;
}

.perfil-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 40px 30px;
  text-align: center;
  border-radius: var(--radius) var(--radius) 0 0;
}

.perfil-icon {
  font-size: 64px;
  margin-bottom: 15px;
  animation: bounce 1s ease-in-out;
}

.perfil-header h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.perfil-header p {
  font-size: 14px;
  opacity: 0.9;
}

.perfil-form {
  padding: 30px;
}

.perfil-actions {
  padding: 0 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-secondary {
  background: #E0E0E0;
  color: #555;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #BDBDBD;
  transform: translateY(-2px);
}

/* ============================================
   MODAL DE HISTÓRICO
   ============================================ */

.modal-historico {
  max-width: 700px;
}

.historico-content {
  padding: 0;
}

.historico-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 40px 30px;
  text-align: center;
  border-radius: var(--radius) var(--radius) 0 0;
}

.historico-icon {
  font-size: 64px;
  margin-bottom: 15px;
  animation: bounce 1s ease-in-out;
}

.historico-header h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.historico-header p {
  font-size: 14px;
  opacity: 0.9;
}

.historico-body {
  padding: 30px;
  max-height: 500px;
  overflow-y: auto;
}

.historico-empty {
  text-align: center;
  padding: 60px 20px;
}

.historico-empty .empty-icon {
  font-size: 64px;
  display: block;
  margin-bottom: 20px;
}

.historico-empty p {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.historico-empty small {
  color: #7F8C8D;
}

/* Pedido Card */
.pedido-card {
  background: var(--white);
  border: 2px solid #E0E0E0;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 15px;
  transition: var(--transition);
}

.pedido-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.pedido-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #F0F0F0;
}

.pedido-header strong {
  font-size: 16px;
  color: var(--dark);
  display: block;
  margin-bottom: 5px;
}

.pedido-data {
  font-size: 12px;
  color: #7F8C8D;
}

.pedido-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-pendente {
  background: #FFF3E0;
  color: #F57C00;
}

.status-confirmado {
  background: #E3F2FD;
  color: #1976D2;
}

.status-preparando {
  background: #F3E5F5;
  color: #7B1FA2;
}

.status-saiu_entrega {
  background: #E0F2F1;
  color: #00796B;
}

.status-entregue {
  background: #E8F5E9;
  color: #388E3C;
}

.status-cancelado {
  background: #FFEBEE;
  color: #C62828;
}

.pedido-itens {
  margin-bottom: 15px;
}

.pedido-item {
  font-size: 13px;
  color: #555;
  padding: 4px 0;
  line-height: 1.6;
}

.pedido-item-mais {
  font-size: 12px;
  color: #7F8C8D;
  font-style: italic;
  margin-top: 5px;
}

.pedido-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 2px solid #F0F0F0;
}

.pedido-total {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.btn-repetir {
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-repetir:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Scrollbar do histórico */
.historico-body::-webkit-scrollbar {
  width: 8px;
}

.historico-body::-webkit-scrollbar-track {
  background: #F1F1F1;
  border-radius: 10px;
}

.historico-body::-webkit-scrollbar-thumb {
  background: #CCC;
  border-radius: 10px;
}

.historico-body::-webkit-scrollbar-thumb:hover {
  background: #AAA;
}

/* Responsivo */
@media (max-width: 768px) {
  .perfil-header,
  .historico-header {
    padding: 30px 20px;
  }
  
  .perfil-icon,
  .historico-icon {
    font-size: 48px;
  }
  
  .perfil-header h2,
  .historico-header h2 {
    font-size: 24px;
  }
  
  .perfil-form,
  .historico-body {
    padding: 20px;
  }
  
  .perfil-actions {
    padding: 0 20px 20px 20px;
  }
  
  .pedido-card {
    padding: 15px;
  }
  
  .pedido-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .pedido-footer {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  
  .btn-repetir {
    width: 100%;
    justify-content: center;
  }
}


/* Botões de remover histórico */
.btn-remover-pedido {
  width: 32px;
  height: 32px;
  border: none;
  background: #FFEBEE;
  color: #C62828;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-remover-pedido:hover {
  background: #C62828;
  color: var(--white);
  transform: scale(1.1);
}

.btn-limpar-historico {
  padding: 12px 24px;
  background: #FFEBEE;
  color: #C62828;
  border: 2px solid #C62828;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-limpar-historico:hover {
  background: #C62828;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Input com botão de localização */
.input-with-button {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-with-button textarea {
  width: 100%;
  resize: vertical;
}

.btn-location {
  padding: 10px 20px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.btn-location:hover {
  background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.btn-location:active {
  transform: translateY(0);
}

.btn-location:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Responsivo */
@media (max-width: 768px) {
  .input-with-button {
    gap: 8px;
  }
  
  .btn-location {
    font-size: 13px;
    padding: 8px 16px;
  }
}

/* Modal de Configurações */
.modal-configuracoes .modal-content {
  max-width: 600px;
}

.config-content {
  padding: 30px;
}

.config-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 40px 30px;
  text-align: center;
  margin: -30px -30px 30px -30px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.config-icon {
  font-size: 60px;
  margin-bottom: 15px;
}

.config-header h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.config-header p {
  font-size: 14px;
  opacity: 0.9;
}

.config-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.config-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Responsivo para configurações */
@media (max-width: 768px) {
  .config-content {
    padding: 20px;
  }
  
  .config-icon {
    font-size: 48px;
  }
  
  .config-header h2 {
    font-size: 24px;
  }
}

/* Modal de Produto - Layout Melhorado */
.produto-modal-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 85vh;
  overflow: hidden;
}

.produto-imagem-container {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  position: relative;
}

/* Fundo desfocado do modal */
.produto-img-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(16px) brightness(0.55) saturate(1.3);
  transform: scale(1.15);
  z-index: 0;
}

.produto-imagem {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

.produto-imagem-container.has-image {
  background: #111;
}

.produto-imagem-placeholder {
  font-size: 80px;
  opacity: 0.5;
}

.produto-info-container {
  padding: 25px;
  overflow-y: auto;
  max-height: calc(85vh - 250px);
}

.produto-header {
  margin-bottom: 20px;
}

.produto-titulo {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.produto-descricao {
  font-size: 15px;
  color: #7F8C8D;
  line-height: 1.5;
}

.produto-obs-interna {
  font-size: 13px;
  color: #9b7e2e;
  background: #fff8e1;
  border-left: 3px solid #f0c040;
  border-radius: 4px;
  padding: 6px 10px;
  margin-top: 8px;
  line-height: 1.4;
}

.produto-preco-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.produto-preco-label {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.produto-preco-valor {
  font-size: 32px;
  font-weight: 700;
  color: white;
}

.produto-campo {
  margin-bottom: 20px;
}

.produto-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.label-emoji {
  font-size: 18px;
}

.label-opcional {
  font-size: 13px;
  font-weight: 400;
  color: #95a5a6;
  margin-left: 4px;
}

.produto-quantidade-control {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8F9FA;
  padding: 8px;
  border-radius: 12px;
  width: fit-content;
}

.qty-btn-modal {
  width: 45px;
  height: 45px;
  border: none;
  background: white;
  border-radius: 10px;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.qty-btn-modal:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.qty-btn-modal:active {
  transform: scale(0.95);
}

.qty-input-modal {
  width: 70px;
  height: 45px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  border: 2px solid #E0E0E0;
  border-radius: 10px;
  background: white;
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
}

.qty-input-modal:focus {
  outline: none;
  border-color: var(--primary);
}

.produto-textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--dark);
  resize: vertical;
  transition: var(--transition);
  background: #F8F9FA;
}

.produto-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.produto-textarea::placeholder {
  color: #95a5a6;
}

.btn-adicionar-produto {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  margin-top: 25px;
}

.btn-adicionar-produto:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-adicionar-produto:active {
  transform: translateY(0);
}

.btn-adicionar-produto .btn-icon {
  font-size: 20px;
}

/* Responsivo */
@media (max-width: 768px) {
  .produto-imagem-container {
    height: 200px;
  }
  
  .produto-info-container {
    padding: 20px;
  }
  
  .produto-titulo {
    font-size: 22px;
  }
  
  .produto-preco-valor {
    font-size: 28px;
  }
  
  .produto-preco-box {
    padding: 16px;
  }
}
