.novato-ai-container {
  max-width: 1600px;
  width: 95%;
  margin: 40px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Arial, sans-serif;
  overflow: hidden;
  min-height: 600px;
  max-height: 800px;
}
.novato-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 14px 32px;
  border-bottom: 1px solid #f2f2f2;
  background: linear-gradient(180deg, #fff 80%, #f7fafd 100%);
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
}
.novato-ai-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.18em;
  font-weight: 600;
}
.novato-logo {
  height: 32px;
  width: auto;
  display: block;
}
.novato-ai-messages {
  flex: 1;
  padding: 32px 32px 16px 32px;
  background: #f7fafd;
  overflow-y: auto;
  min-height: 400px;
  max-height: 600px;
}
.novato-ai-message {
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 1.05em;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(71,184,233,0.04);
  word-break: break-word;
}
.novato-ai-bot {
  background: #ffffff;
  color: #222;
  max-width: 80%;
}
.novato-ai-user {
  background: #ffffff;
  color: #222;
  margin-left: auto;
  text-align: right;
  display: block;
  max-width: 60%;
  min-width: 48px;
  border-radius: 12px;
  padding: 14px 18px;
  word-break: break-word;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(71,184,233,0.08);
}
/* AI mesajlarındaki linkler için stil */
.novato-ai-bot a {
  color: #47B8E9;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
.novato-ai-bot a:hover {
  color: #41ABE1;
  border-bottom-color: #41ABE1;
}

/* Formatlanmış metin stilleri */
.novato-ai-bot p {
  margin: 0 0 12px 0;
  line-height: 1.6;
}

.novato-ai-bot p:last-child {
  margin-bottom: 0;
}

.novato-ai-bot h1, .novato-ai-bot h2, .novato-ai-bot h3 {
  margin: 16px 0 8px 0;
  color: #2d3a5a;
  font-weight: 600;
  line-height: 1.3;
}

.novato-ai-bot h1 {
  font-size: 1.4em;
  border-bottom: 2px solid #e0e7ff;
  padding-bottom: 4px;
}

.novato-ai-bot h2 {
  font-size: 1.25em;
  border-bottom: 1px solid #e0e7ff;
  padding-bottom: 2px;
}

.novato-ai-bot h3 {
  font-size: 1.1em;
}

.novato-ai-bot ul, .novato-ai-bot ol {
  margin: 8px 0 12px 20px;
  padding-left: 0;
}

.novato-ai-bot li {
  margin-bottom: 4px;
  line-height: 1.5;
}

.novato-ai-bot blockquote {
  margin: 12px 0;
  padding: 8px 12px;
  border-left: 4px solid #47B8E9;
  background: #f8f9fa;
  font-style: italic;
  color: #555;
}

.novato-ai-bot code {
  background: #f1f3f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #d73a49;
}

.novato-ai-bot pre {
  background: #f6f8fa;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  padding: 12px;
  margin: 12px 0;
  overflow-x: auto;
  position: relative;
}

.copy-code-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #e0e7ff;
  border: 1px solid #d1d9e6;
  color: #2d3a5a;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85em;
  transition: background 0.2s;
}

.copy-code-btn:hover {
  background: #c8d3f5;
}

.thinking-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.thinking-indicator span {
  height: 8px;
  width: 8px;
  margin: 0 2px;
  background-color: #47B8E9;
  border-radius: 50%;
  display: inline-block;
  animation: thinking 1.4s infinite ease-in-out both;
}

.thinking-indicator span:nth-child(1) { animation-delay: -0.32s; }
.thinking-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes thinking {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

.novato-ai-message {
  animation: fadeInMessage 0.4s;
}

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

.novato-ai-bot pre code {
  background: none;
  padding: 0;
  color: #24292e;
  font-size: 0.9em;
  line-height: 1.4;
}

.novato-ai-bot strong {
  font-weight: 600;
  color: #2d3a5a;
}

.novato-ai-bot em {
  font-style: italic;
  color: #555;
}
.novato-ai-footer {
  border-top: 1px solid #f2f2f2;
  background: #fff;
  padding: 18px 32px 10px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#ai-form {
  display: flex;
  gap: 8px;
}
#ai-input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1em;
  outline: none;
  background: #fafbfc;
  transition: border 0.2s;
}
#ai-input:focus {
  border-color: #47B8E9;
}
#ai-form button {
  background: #47B8E9;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 1.3em;
  cursor: pointer;
  transition: background 0.2s;
}
#ai-form button:hover {
  background: #41ABE1;
}
.novato-ai-powered {
  text-align: center;
  color: #bdbdbd;
  font-size: 0.95em;
  margin-top: 2px;
}
.novato-ai-bottom-note {
  text-align: center;
  color: #bdbdbd;
  font-size: 0.92em;
  padding: 8px 0 10px 0;
  background: #fff;
  border-top: 1px solid #f2f2f2;
}
.novato-reset-btn {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #666;
}
.novato-reset-btn:hover {
  background: #e9ecef;
  border-color: #47B8E9;
  color: #47B8E9;
}
.novato-ai-menu-container {
  position: relative;
  display: flex;
  align-items: center;
}
.novato-ai-header .novato-ai-menu-btn,
.novato-ai-menu-btn {
  background: #fff !important;
  border: none;
  font-size: 1.7em;
  color: #222;
  cursor: pointer;
  padding: 0 8px;
  border-radius: 6px;
  transition: background 0.2s, box-shadow 0.2s;
  height: 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
}
.novato-ai-header .novato-ai-menu-btn:hover,
.novato-ai-menu-btn:hover,
.novato-ai-header .novato-ai-menu-btn:focus,
.novato-ai-menu-btn:focus {
  background: #f7fafd !important;
  color: #47B8E9;
  box-shadow: 0 2px 8px rgba(71,184,233,0.04);
}
.novato-ai-menu {
  position: absolute;
  top: 120%;
  right: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(71,184,233,0.13);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 8px 0;
  animation: fadeInMenu 0.18s;
}
@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.novato-ai-menu-item {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 12px 20px;
  font-size: 1em;
  color: #2d3a5a;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
  position: relative;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.novato-ai-menu-item:hover:not(.ai-menu-item-disabled) {
  background: #e0e7ff;
  color: #47B8E9;
}
.ai-menu-item-disabled {
  color: #bdbdbd !important;
  cursor: not-allowed !important;
  background: none !important;
  pointer-events: none;
}

.novato-product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  padding: 16px;
  margin: 8px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.novato-product-card .product-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e0e7ff;
}

.novato-product-card .product-details {
  flex: 1;
}

.novato-product-card .product-name {
  font-size: 1.1em;
  font-weight: 600;
  color: #2d3a5a;
  margin: 0 0 8px 0;
}

.novato-product-card .product-price {
  font-size: 1.1em;
  font-weight: 600;
  color: #47B8E9;
  margin-bottom: 12px;
}

.quantity-add-to-cart {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-control {
  display: flex;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.quantity-control button {
  background: #f8f9fa;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s;
}

.quantity-control button:hover {
  background: #e9ecef;
}

.quantity-control input {
  width: 25px; /* Further reduced width */
  text-align: center;
  border: none;
  font-size: 1em;
  -moz-appearance: textfield; /* Firefox */
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.novato-product-card .add_to_cart_button {
  background-color: #47B8E9;
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 500;
  transition: background-color 0.2s, transform 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.novato-product-card .add_to_cart_button:hover {
  background-color: #41ABE1;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .novato-ai-container { 
    max-width: 98vw; 
    width: 98vw; 
    min-height: 500px;
    max-height: 700px;
  }
  .novato-ai-messages {
    min-height: 300px;
    max-height: 500px;
  }
  .novato-ai-header, .novato-ai-footer, .novato-ai-messages { padding-left: 10px; padding-right: 10px; }
  .novato-product-card {
    flex-direction: column;
    align-items: flex-start;
  }
} 

.page-with-novato-ai footer.footer {
    display: none !important;
} 