/* Logo Carousel Pro — Frontend Styles */

.lcp-section {
  padding: 70px 0;
  background: #fff;
}
.lcp-section:nth-child(even) {
  background: #f7f8fa;
}
.lcp-section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.lcp-section-head {
  text-align: center;
  margin-bottom: 40px;
}
.lcp-section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 10px;
}
.lcp-section-title {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

/* Carousel Layout */
.lcp-carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.lcp-carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.lcp-carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Slide */
.lcp-slide {
  flex: 0 0 calc(16.6667% - 14px);
  min-width: 0;
}

/* Logo Card */
.lcp-logo-card {
  background: #fff;
  border: 1.5px solid #e8eaf0;
  border-radius: 12px;
  padding: 22px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 100px;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.lcp-logo-card:hover {
  transform: scale(1.05);
  border-color: #c7d2fe;
  box-shadow: 0 4px 20px rgba(99,102,241,0.12);
}
.lcp-logo-card img {
  max-width: 80px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.lcp-logo-card:hover img {
  opacity: 1;
}
.lcp-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #6366f1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
}
.lcp-logo-name {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Arrows */
/* Arrows — hidden (dots only mode) */
.lcp-arrow {
  display: none;
}

/* Dots */
.lcp-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.lcp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.25s ease;
}
.lcp-dot:hover {
  background: #a5b4fc;
}
.lcp-dot.active {
  background: #6366f1;
  width: 28px;
  border-radius: 4px;
}

/* Tabs */
.lcp-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.lcp-tab {
  padding: 7px 20px;
  border-radius: 20px;
  border: 1.5px solid #e5e7eb;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.18s;
}
.lcp-tab:hover {
  border-color: #a5b4fc;
  color: #6366f1;
}
.lcp-tab.active {
  background: #6366f1;
  border-color: #6366f1;
  color: #fff;
}

/* Empty State */
.lcp-empty {
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
  padding: 40px;
}

/* Responsive */
@media ( max-width: 1024px ) {
  .lcp-slide { flex: 0 0 calc(25% - 12px); }
}
@media ( max-width: 768px ) {
  .lcp-slide { flex: 0 0 calc(50% - 8px); }
  .lcp-section { padding: 48px 0; }
  .lcp-section-title { font-size: 22px; }
}
@media ( max-width: 480px ) {
  .lcp-slide { flex: 0 0 calc(50% - 8px); }
}

/* ══════════════════════════════════════════════════════════════
   LCP v2 — Custom Section Additions
   ══════════════════════════════════════════════════════════════ */

/* Section description text */
.lcp-section-desc {
  text-align: center;
  color: #6b7280;
  font-size: 15px;
  margin: 8px 0 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Arrows — shown when enabled via data attribute */
.lcp-arrow {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #6b7280;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
}
.lcp-arrow:hover {
  background: #6366f1;
  border-color: #6366f1;
  color: #fff;
}
/* Show arrows only when section has show_arrows=1 */
[data-show-arrows="1"] .lcp-arrow {
  display: flex;
}
[data-show-arrows="1"] .lcp-carousel-outer {
  gap: 8px;
}

/* Hide dots when show_dots=0 */
[data-show-dots="0"] .lcp-dots {
  display: none;
}

/* ── Grid Mode ── */
.lcp-grid-mode .lcp-grid-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.lcp-grid-mode .lcp-grid-item {
  /* same card styling as lcp-slide */
}

@media (max-width: 1024px) {
  .lcp-grid-mode .lcp-grid-track { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .lcp-grid-mode .lcp-grid-track { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .lcp-grid-mode .lcp-grid-track { grid-template-columns: repeat(2, 1fr); }
}
