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

:root {
  --primary-green: #28a745;
  --primary-orange: #fd7e14;
  --primary-blue: #007bff;
  --dark-gray: #343a40;
  --light-gray: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #dee2e6;
}

html,
body {
  height: 100%;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--bg-light);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: fadeInUp 0.6s ease-out;
}

:focus-visible {
  outline: 3px solid var(--primary-blue);
  outline-offset: 2px;
}


.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--primary-green);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
  transition: transform 0.3s ease;
}
.nav-logo:hover {
  transform: scale(1.05);
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color .3s ease;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.main {
  min-height: calc(100vh - 120px);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(40, 167, 69, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(253, 126, 20, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.logo-container {
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.logo-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 8px 16px rgba(40, 167, 69, 0.2));
  background: white;
  padding: 20px;
  transition: transform 0.3s ease;
}
.logo-image:hover {
  transform: scale(1.05) rotate(2deg);
}
.logo {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: .5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.logo-subtitle {
  font-size: 1.2rem;
  color: var(--primary-orange);
  font-weight: 500;
}

.hero-description {
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-description h1,
.hero-description h2 {
  font-size: 2rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description p {
  font-size: 1.1rem;
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.features-preview {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  padding: .75rem 1.5rem;
  border-radius: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: .9rem;
  color: var(--dark-gray);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.2);
  border-color: var(--primary-green);
}
.feature-icon {
  font-size: 1.2rem;
}


.ai-chat-preview {
  margin-bottom: 3rem;
}
.ai-chat-preview .chat-container {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
}
.ai-chat-preview .chat-header {
  background: var(--primary-blue);
  color: var(--white);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ai-chat-preview .chat-icon {
  font-size: 1.2rem;
}
.ai-chat-preview .chat-body {
  padding: 1.5rem;
}
.ai-chat-preview .chat-message p {
  margin-bottom: .5rem;
  color: var(--dark-gray);
}
.ai-chat-preview .chat-message ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  text-align: left;
}
.ai-chat-preview .chat-message li {
  margin-bottom: .5rem;
  color: var(--light-gray);
}
.coming-soon {
  color: var(--primary-orange);
  font-weight: 600;
  font-style: italic;
}

.cta-button {
  display: inline-block;
  background: var(--primary-green);
  color: var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(253, 126, 20, 0.3), transparent);
  transition: left 0.5s ease;
}
.cta-button:hover::before {
  left: 100%;
}
.cta-button:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}
.btn-small {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--white);
  padding: .5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  font-size: .9rem;
  transition: all .3s ease;
  border: 2px solid var(--primary-blue);
}
.btn-small:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}

.products-section {
  padding: 2rem 0;
  animation: fadeInUp 0.6s ease-out;
}
.products-section h1 {
  text-align: center;
  color: var(--dark-gray);
  margin-bottom: .5rem;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  width: 100%;
}
.products-section h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-orange));
  border-radius: 2px;
}

.view-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 2rem 0;
  animation: fadeInUp 0.6s ease-out 0.2s both;
  background: var(--bg-light);
  padding: 0.5rem;
  border-radius: 12px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--light-gray);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.toggle-btn:hover {
  color: var(--dark-gray);
  background: rgba(255, 255, 255, 0.5);
}

.toggle-btn.active {
  background: var(--white);
  color: var(--primary-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(40, 167, 69, 0.1);
}

.toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.toggle-btn.active svg {
  stroke: var(--primary-green);
}

@media (max-width: 480px) {
  .view-toggle {
    flex-direction: column;
    gap: 0.5rem;
    width: calc(100% - 2rem);
    margin: 2rem 1rem;
  }

  .toggle-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }
}

.table-container {
  overflow-x: auto;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary-green);
  -webkit-overflow-scrolling: touch;
  margin: 0 -1rem;
  padding: 0 1rem;
}
.products-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.products-table th {
  background: var(--primary-green);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}
.products-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s ease;
}
.products-table tr:hover {
  background: #f8f9fa;
  background: linear-gradient(90deg, rgba(40, 167, 69, 0.05), transparent);
}
.status {
  padding: .25rem .75rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
}
.status.available {
  background: #d4edda;
  color: #155724;
}
.status.limited {
  background: #fff3cd;
  color: #856404;
}
.status.unavailable {
  background: #f8d7da;
  color: #721c24;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform .3s ease, box-shadow .3s ease;
  border-top: 3px solid transparent;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
  border-top-color: var(--primary-green);
}
.product-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.product-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.1));
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
  transform: scale(1.1);
}
.product-info {
  padding: 1.5rem;
}
.product-info h3 {
  color: var(--dark-gray);
  margin-bottom: .5rem;
  font-size: 1.2rem;
}
.product-category {
  color: var(--light-gray);
  font-size: .9rem;
  margin-bottom: .5rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(253, 126, 20, 0.1);
  border-radius: 12px;
  color: var(--primary-orange);
  font-weight: 500;
}
.product-price {
  color: var(--primary-green);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.product-detail {
  padding: 2rem 0;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.product-image-large img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.product-details h1 {
  color: var(--dark-gray);
  margin-bottom: .5rem;
  font-size: 2.5rem;
}
.product-price-large {
  color: var(--primary-green);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.product-description,
.product-nutrients {
  margin-bottom: 2rem;
}
.product-description h3,
.product-nutrients h3 {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}
.product-nutrients ul {
  list-style: none;
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 10px;
}
.product-nutrients li {
  padding: .25rem 0;
  border-bottom: 1px solid var(--border-color);
}
.product-nutrients li:last-child {
  border-bottom: none;
}

.ai-assistant-section {
  margin-top: 3rem;
}
.ai-chat-container {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.ai-chat-header {
  background: var(--primary-blue);
  color: var(--white);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ai-icon {
  font-size: 1.5rem;
}
.ai-chat-body {
  padding: 2rem;
}
.ai-message ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.purchase-section {
  padding: 2rem 0;
  animation: fadeInUp 0.6s ease-out;
}
.purchase-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
  border-top: 4px solid var(--primary-green);
}
.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  animation: fadeInUp 0.6s ease-out both;
}
.form-section:nth-child(1) {
  animation-delay: 0.1s;
}
.form-section:nth-child(2) {
  animation-delay: 0.2s;
}
.form-section:nth-child(3) {
  animation-delay: 0.3s;
}
.form-section:nth-child(4) {
  animation-delay: 0.4s;
}
.form-section:last-child {
  border-bottom: none;
}
.form-section h2 {
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-section h2::before {
  content: "";
  width: 4px;
  height: 1.3rem;
  background: var(--primary-orange);
  border-radius: 2px;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: .5rem;
  color: var(--dark-gray);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
.order-summary {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-green);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: .5rem;
}
.summary-line.total {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-green);
  border-top: 2px solid var(--border-color);
  padding-top: .5rem;
  margin-top: 1rem;
}

.product-selection {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.product-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-checkbox-item:hover {
  border-color: var(--primary-green);
  background: rgba(40, 167, 69, 0.05);
}

.product-checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-green);
}

.product-checkbox-item.selected {
  border-color: var(--primary-green);
  background: rgba(40, 167, 69, 0.1);
}

.product-checkbox-label {
  flex: 1;
  cursor: pointer;
}

.product-checkbox-label .product-name {
  font-weight: 600;
  color: var(--dark-gray);
  display: block;
  margin-bottom: 0.25rem;
}

.product-checkbox-label .product-price-small {
  color: var(--primary-green);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 4px solid var(--primary-orange);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.footer-links {
  margin-bottom: 1rem;
}
.footer-links a {
  color: var(--white);
  text-decoration: none;
  margin: 0 1rem;
  transition: color .3s ease;
  position: relative;
}
.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: width 0.3s ease;
}
.footer-links a:hover::after {
  width: 100%;
}
.footer-links a:hover {
  color: var(--primary-green);
}
.footer-info p {
  margin-bottom: .5rem;
  color: var(--light-gray);
}
.footer-info a {
  color: var(--primary-orange);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-info a:hover {
  color: var(--primary-green);
}

#nutriado-chat.chat {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 360px;
  max-width: 95vw;
  background: #111;
  color: #eee;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}
#nutriado-chat .chat-header {
  padding: 10px 12px;
  font-weight: 700;
  background: #1b1b1b;
}
#nutriado-chat .chat-log {
  padding: 12px;
  gap: 8px;
  display: flex;
  flex-direction: column;
  max-height: 50vh;
  overflow: auto;
}
#nutriado-chat .msg {
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.35;
  white-space: pre-wrap;
}
#nutriado-chat .msg.user {
  background: #2a2a2a;
  align-self: flex-end;
}
#nutriado-chat .msg.bot {
  background: #20252b;
  border: 1px solid #2f3844;
}
#nutriado-chat .chat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #1b1b1b;
}
#nutriado-chat .chat-form input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0f0f0f;
  color: #eee;
}
#nutriado-chat .chat-form button {
  padding: 10px 14px;
  border-radius: 8px;
  border: 0;
  background: #4caf50;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 992px) {
  .logo-image {
    max-width: 340px;
  }
  .table-container {
    font-size: .9rem;
    margin: 0;
  }
  .products-table th,
  .products-table td {
    padding: .75rem;
  }
}
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .logo-image {
    max-width: 300px;
  }
  .logo {
    font-size: 2.5rem;
  }
  .hero-description h1,
  .hero-description h2 {
    font-size: 1.6rem;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 1rem;
  }
}
@media (max-width: 480px) {
  .logo-image {
    max-width: 250px;
  }
  .logo {
    font-size: 2rem;
  }
  .hero {
    padding: 2rem 1rem;
  }
  .purchase-form {
    padding: 1rem;
  }
  #nutriado-chat.chat {
    right: 8px;
    left: 8px;
    width: auto;
  }
  body {
    padding-bottom: 90px;
  }
  .table-container {
    border-radius: 8px;
    font-size: 0.85rem;
  }
  .products-table {
    min-width: 550px;
  }
  .products-table th,
  .products-table td {
    padding: 0.6rem 0.5rem;
  }
  .btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .status {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
}

@media (max-width: 360px) {
  .products-table {
    min-width: 500px;
  }
  .products-table th,
  .products-table td {
    padding: 0.5rem 0.4rem;
    font-size: 0.8rem;
  }
  .btn-small {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
  }
}

.ia-highlight {
  color: var(--primary-orange);
}
.main-logo {
  margin-bottom: 2rem;
}

.chat-center {
  margin: 2rem auto;
  max-width: 600px;
  width: 100%;
  position: static;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}
.user-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}
.user-form input,
.user-form select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  min-width: 140px;
  flex: 1;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.user-form input:focus,
.user-form select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
.user-form button {
  background: var(--primary-green);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-basis: 100%;
}
.user-form button:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

#nutriado-chat.chat-embedded {
  position: static;
  width: 100%;
  max-width: 720px;
  margin: 1.5rem auto;
  background: #fff;
  color: #212529;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--primary-green);
}

#nutriado-chat.chat-embedded .chat-header {
  background: linear-gradient(135deg, var(--primary-green), #20a037);
  color: white;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#nutriado-chat.chat-embedded .chat-header::before {
  content: "🤖";
  font-size: 1.5rem;
}

#nutriado-chat.chat-embedded .chat-log {
  padding: 1.5rem;
  gap: 1rem;
  display: flex;
  flex-direction: column;
  max-height: 46vh;
  overflow: auto;
  background: #fff;
  background-image: radial-gradient(circle at 10% 20%, rgba(40, 167, 69, 0.02) 0%, transparent 50%);
}

#nutriado-chat.chat-embedded .msg {
  background: #fff;
  color: #212529;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  line-height: 1.5;
  padding: 0.875rem 1rem;
  animation: fadeInUp 0.3s ease-out;
}

#nutriado-chat.chat-embedded .msg.user {
  background: linear-gradient(135deg, #f3fbf5, #e8f5e9);
  border-color: var(--primary-green);
  border-width: 2px;
  margin-left: 2rem;
}

#nutriado-chat.chat-embedded .msg.bot {
  background: #f8f9fa;
  border-color: #e9ecef;
  margin-right: 2rem;
  border-left: 4px solid var(--primary-orange);
}

#nutriado-chat.chat-embedded .chat-form {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-top: 2px solid var(--border-color);
}

#nutriado-chat.chat-embedded .chat-form input {
  flex: 1;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  border: 2px solid #ced4da;
  background: #fff;
  color: #212529;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#nutriado-chat.chat-embedded .chat-form input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

#nutriado-chat.chat-embedded .chat-form input::placeholder {
  color: #6c757d;
}

#nutriado-chat.chat-embedded .chat-form button {
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  border: 0;
  background: var(--primary-green);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#nutriado-chat.chat-embedded .chat-form button:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

@media (max-width: 480px) {
  #nutriado-chat.chat-embedded {
    max-width: 100%;
    margin: 1rem auto;
  }
  #nutriado-chat.chat-embedded .msg.user {
    margin-left: 0.5rem;
  }
  #nutriado-chat.chat-embedded .msg.bot {
    margin-right: 0.5rem;
  }
}
