/* Bridge styles for dynamic blocks from old templates */
.mega-menu.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
  border: 1px solid #e2e8f0;
  z-index: 60;
  max-height: min(420px, 60vh);
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  -webkit-overflow-scrolling: touch;
}

.search-results.active {
  display: block;
}

/* Özel scrollbar - arama listesi */
.search-results::-webkit-scrollbar {
  width: 8px;
}

.search-results::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 0 14px 14px 0;
}

.search-results::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.search-results {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

.search-result-item {
  text-decoration: none;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.review-modal.is-active {
  display: flex;
}

.review-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(3px);
}

.review-modal-dialog {
  position: relative;
  width: min(560px, 100%);
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
  z-index: 1;
}

.review-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #e2e8f0;
}

.review-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.review-modal-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  cursor: pointer;
  transition: 0.2s ease;
}

.review-modal-close:hover {
  background: #e2e8f0;
}

.review-modal-body {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.review-form-group {
  display: grid;
  gap: 8px;
}

.review-form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.review-form-group label span {
  color: #ef4444;
}

.review-form-group input,
.review-form-group textarea {
  width: 100%;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 0.95rem;
  color: #0f172a;
  background: #fff;
  transition: 0.2s ease;
}

.review-form-group input:focus,
.review-form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 58, 237, 0.12);
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-stars .star-rating {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 1.35rem;
  cursor: pointer;
  padding: 2px;
}

.review-stars .star-rating.is-active {
  color: #f59e0b;
}

.review-rating-text {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.review-modal-footer {
  padding: 16px 22px 22px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.review-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.review-btn-primary {
  color: #fff;
  background: var(--primary);
}

.review-btn-primary:hover {
  background: var(--primary-dark);
}

.review-btn-secondary {
  color: #334155;
  background: #f1f5f9;
}

.review-btn-secondary:hover {
  background: #e2e8f0;
}

.hero-search-box .hero-search-input {
  min-height: 50px;
}

.hero-search-btn {
  border: 0;
}

.domain-search-btn {
  border: 0;
}

.testimonials-track {
  will-change: transform;
}

@media (max-width: 768px) {
  .topbar-right {
    gap: 8px;
  }

  .topbar-select {
    max-width: 110px;
  }

  .header-actions .header-action-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .review-modal {
    padding: 12px;
  }

  .review-modal-body,
  .review-modal-header,
  .review-modal-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
}
