/* AdakOnline eBay Feedback Widget - v1.2 */

.adak-fb-section {
  padding: 40px 0;
  width: 100%;
  position: relative;
}

/* === HEADER === */
.adak-fb-section .adak-fb-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 20px;
}

.adak-fb-section .adak-fb-ebay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.adak-fb-section .adak-fb-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.2;
  color: #1a1a1a;
}

.adak-fb-section .adak-fb-subtitle {
  font-size: 16px;
  margin: 0;
  color: #666;
  line-height: 1.5;
}

/* === SLIDER WRAPPER === */
.adak-fb-section .adak-fb-slider-wrap {
  position: relative;
  padding: 0 60px;
}

.adak-fb-section .adak-fb-swiper {
  padding: 10px 4px 50px 4px !important;
  overflow: hidden;
}

.adak-fb-section .adak-fb-swiper .swiper-slide {
  height: auto !important;
  display: flex;
}

/* === KART === */
.adak-fb-section .adak-fb-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
}

.adak-fb-section .adak-fb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.06);
  text-decoration: none !important;
}

.adak-fb-section .adak-fb-card:visited,
.adak-fb-section .adak-fb-card:focus,
.adak-fb-section .adak-fb-card:active {
  color: inherit;
  text-decoration: none !important;
}

.adak-fb-section .adak-fb-card-link-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #cbd5e1;
  opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.adak-fb-section .adak-fb-card:hover .adak-fb-card-link-hint {
  opacity: 1;
  color: #64748b;
}

/* === KART ÜST === */
.adak-fb-section .adak-fb-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.adak-fb-section .adak-fb-stars {
  color: #fbbf24;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
}

.adak-fb-section .adak-fb-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #10b981;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.adak-fb-section .adak-fb-verified svg { flex-shrink: 0; }

/* === YORUM === */
.adak-fb-section .adak-fb-card-comment {
  font-size: 15px;
  line-height: 1.65;
  color: #2d3748;
  margin-bottom: 20px;
  position: relative;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.adak-fb-section .adak-fb-quote-mark {
  color: rgba(251, 191, 36, 0.5);
  font-size: 42px;
  font-weight: 700;
  font-family: Georgia, serif;
  line-height: 0;
  vertical-align: -10px;
  margin-right: 4px;
}

/* === ÜRÜN === */
.adak-fb-section .adak-fb-card-product {
  background: #f8fafc;
  border-left: 3px solid #fbbf24;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.4;
}

.adak-fb-section .adak-fb-product-label {
  color: #94a3b8;
  font-weight: 600;
  margin-right: 6px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.adak-fb-section .adak-fb-product-name {
  color: #475569;
}

/* === FOOTER === */
.adak-fb-section .adak-fb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #64748b;
}

.adak-fb-section .adak-fb-buyer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.adak-fb-section .adak-fb-buyer svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.adak-fb-section .adak-fb-period {
  color: #94a3b8;
  font-style: italic;
}

/* ============================================================
   NAVIGATION OKLARI - TEMA CSS'İNİ TAMAMEN ÖVERRIDE EDEN VERSİYON
   Tüm tema button/Elementor button stillerini iptal ediyor
   ============================================================ */
.adak-fb-section .adak-fb-nav,
.adak-fb-section button.adak-fb-nav {
  /* Konum */
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  
  /* Boyut */
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  
  /* Görünüm - tema'nın button background'ını iptal */
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  color: #1a1a1a !important;
  
  /* Layout */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  
  /* Diğer */
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  text-decoration: none !important;
  font: inherit !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: none !important;
}

.adak-fb-section .adak-fb-nav:hover,
.adak-fb-section button.adak-fb-nav:hover {
  background: #1a1a1a !important;
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  border-color: #1a1a1a !important;
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.adak-fb-section .adak-fb-nav:focus,
.adak-fb-section .adak-fb-nav:active {
  background: #1a1a1a !important;
  color: #ffffff !important;
}

.adak-fb-section .adak-fb-nav-prev { left: 8px !important; }
.adak-fb-section .adak-fb-nav-next { right: 8px !important; }

.adak-fb-section .adak-fb-nav.swiper-button-disabled {
  opacity: 0.3 !important;
  pointer-events: none !important;
}

/* SVG ok ikonunun kart içinde tam ortalanması */
.adak-fb-section .adak-fb-nav svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  pointer-events: none !important;
  stroke: currentColor !important;
  fill: none !important;
}

/* === PAGINATION === */
.adak-fb-section .adak-fb-swiper .swiper-pagination {
  bottom: 8px;
}

.adak-fb-section .adak-fb-swiper .swiper-pagination-bullet {
  background: #cbd5e1;
  opacity: 1;
  transition: all 0.2s ease;
  width: 8px;
  height: 8px;
}

.adak-fb-section .adak-fb-swiper .swiper-pagination-bullet-active {
  background: #1a1a1a;
  width: 24px;
  border-radius: 4px;
}

/* === CTA === */
.adak-fb-section .adak-fb-cta {
  text-align: center;
  margin-top: 24px;
  padding: 0 20px;
}

.adak-fb-section .adak-fb-modal-trigger,
.adak-fb-section button.adak-fb-modal-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 24px !important;
  background: #1a1a1a !important;
  background-color: #1a1a1a !important;
  background-image: none !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 100px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  letter-spacing: 0.3px !important;
  font-family: inherit !important;
  text-transform: none !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.adak-fb-section .adak-fb-modal-trigger:hover,
.adak-fb-section button.adak-fb-modal-trigger:hover {
  background: #fbbf24 !important;
  background-color: #fbbf24 !important;
  color: #1a1a1a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4) !important;
}

.adak-fb-section .adak-fb-cta-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.adak-fb-section .adak-fb-modal-trigger:hover .adak-fb-cta-count {
  background: rgba(0, 0, 0, 0.15);
}

/* === EMPTY === */
.adak-fb-section .adak-fb-empty {
  text-align: center;
  padding: 40px;
  background: #fef3c7;
  border: 2px dashed #fbbf24;
  border-radius: 8px;
  color: #92400e;
  font-size: 14px;
}

/* ============================================================
   MODAL (slider DOM'unun dışında - .adak-fb-section sarmıyor)
   ============================================================ */
.adak-fb-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.adak-fb-modal.is-open {
  display: flex;
  animation: adakFbFadeIn 0.2s ease;
}

@keyframes adakFbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.adak-fb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.adak-fb-modal-dialog {
  position: relative;
  background: #f8fafc;
  border-radius: 16px;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: adakFbSlideUp 0.3s ease;
}

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

.adak-fb-modal-header {
  background: #ffffff;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.adak-fb-modal-title-wrap { min-width: 0; }

.adak-fb-modal-title {
  margin: 0 0 4px 0;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.adak-fb-modal-subtitle {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.adak-fb-modal-count {
  font-weight: 700;
  color: #1a1a1a;
}

.adak-fb-modal-subtitle a {
  color: #2563eb;
  text-decoration: none;
  margin-left: 4px;
}

.adak-fb-modal-subtitle a:hover {
  text-decoration: underline;
}

.adak-fb-modal-close,
button.adak-fb-modal-close {
  flex-shrink: 0;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  background-image: none !important;
  border: none !important;
  color: #475569 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.adak-fb-modal-close:hover,
button.adak-fb-modal-close:hover {
  background: #1a1a1a !important;
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

.adak-fb-modal-toolbar {
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.adak-fb-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.adak-fb-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.adak-fb-search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  background: #f8fafc;
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.adak-fb-search-input:focus {
  border-color: #fbbf24;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.adak-fb-search-stats {
  font-size: 13px;
  color: #64748b;
  white-space: nowrap;
}

.adak-fb-visible-count {
  font-weight: 700;
  color: #1a1a1a;
}

.adak-fb-modal-body {
  overflow-y: auto;
  padding: 20px 24px 24px;
  flex: 1;
  background: #f8fafc;
}

.adak-fb-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* Modal kartları - .adak-fb-section dışında, ayrı stil */
.adak-fb-modal .adak-fb-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 18px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.adak-fb-modal .adak-fb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.adak-fb-modal .adak-fb-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.adak-fb-modal .adak-fb-stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
}

.adak-fb-modal .adak-fb-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #10b981;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.adak-fb-modal .adak-fb-card-comment {
  font-size: 14px;
  line-height: 1.6;
  color: #2d3748;
  margin-bottom: 14px;
  flex-grow: 1;
}

.adak-fb-modal .adak-fb-quote-mark {
  color: rgba(251, 191, 36, 0.5);
  font-size: 36px;
  font-weight: 700;
  font-family: Georgia, serif;
  line-height: 0;
  vertical-align: -8px;
  margin-right: 3px;
}

.adak-fb-modal .adak-fb-card-product {
  background: #f8fafc;
  border-left: 3px solid #fbbf24;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.4;
}

.adak-fb-modal .adak-fb-product-label {
  color: #94a3b8;
  font-weight: 600;
  margin-right: 6px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.5px;
}

.adak-fb-modal .adak-fb-product-name {
  color: #475569;
}

.adak-fb-modal .adak-fb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
  color: #64748b;
}

.adak-fb-modal .adak-fb-buyer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.adak-fb-modal .adak-fb-buyer svg {
  color: #94a3b8;
}

.adak-fb-modal .adak-fb-period {
  color: #94a3b8;
  font-style: italic;
}

.adak-fb-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
  font-size: 14px;
}

.adak-fb-modal-body::-webkit-scrollbar { width: 8px; }
.adak-fb-modal-body::-webkit-scrollbar-track { background: transparent; }
.adak-fb-modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
.adak-fb-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .adak-fb-section { padding: 24px 0; }
  .adak-fb-section .adak-fb-header { margin-bottom: 20px; }
  .adak-fb-section .adak-fb-slider-wrap { padding: 0 8px; }
  .adak-fb-section .adak-fb-card { padding: 22px 18px 18px; }
  .adak-fb-section .adak-fb-card-comment { font-size: 14px; -webkit-line-clamp: 7; }
  
  .adak-fb-section .adak-fb-nav,
  .adak-fb-section button.adak-fb-nav {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
  }
  .adak-fb-section .adak-fb-nav-prev { left: 4px !important; }
  .adak-fb-section .adak-fb-nav-next { right: 4px !important; }
  
  .adak-fb-modal { padding: 0; }
  .adak-fb-modal-dialog { 
    max-height: 100vh; 
    height: 100vh; 
    border-radius: 0; 
  }
  .adak-fb-modal-header { padding: 16px 18px; }
  .adak-fb-modal-title { font-size: 17px; }
  .adak-fb-modal-toolbar { padding: 12px 18px; }
  .adak-fb-modal-body { padding: 16px 18px; }
  .adak-fb-grid-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.elementor-editor-active .adak-fb-section .adak-fb-card,
.elementor-preview-mode .adak-fb-section .adak-fb-card {
  min-height: 260px;
}

body.adak-fb-modal-open {
  overflow: hidden;
}
