/* ============================================
   LZD Sports Goods Foreign Trade Website - Global Styles
   Primary Teal: #2B9777
   Secondary BG: #F4F4F7
   Accent: #2B9777 (green accent for CTAs)
   Text: #1a1a1a / #6b7280
   ============================================ */

.bg-brand p{
  color: #ffffff;
}


/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #F4F4F7;
}

/* ========== Sticky Navbar ========== */
.navbar-scrolled {
  background: rgba(43, 151, 119, 0.97) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.navbar-transparent {
  background: transparent;
  transition: all 0.3s ease;
}

/* ========== Brand Logo Carousel ========== */
.brand-carousel-track {
  display: flex;
  animation: scrollBrands 30s linear infinite;
  width: max-content;
}

.brand-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-logo-item {
  flex-shrink: 0;
  min-width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  cursor: pointer;
}

.brand-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========== Product Card Hover ========== */
.product-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(43, 151, 119, 0.12);
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-img {
  transition: transform 0.5s ease;
}

/* ========== Hero Banner Overlay ========== */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

/* ========== Custom Buttons ========== */
.btn-primary {
  background: linear-gradient(135deg, #2B9777, #1e6b54);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e6b54, #155544);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 151, 119, 0.3);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.btn-outline:hover {
  background: #ffffff;
  color: #2B9777;
}

.btn-outline-dark {
  background: transparent;
  color: #2B9777;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid #2B9777;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.btn-outline-dark:hover {
  background: #2B9777;
  color: #ffffff;
}

/* ========== Section Dividers ========== */
.section-accent-line {
  width: 60px;
  height: 3px;
  background: #2B9777;
  margin: 0 auto 16px;
}

/* ========== Advantage Icon Circles ========== */
.advantage-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(43, 151, 119, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon-circle {
  background: rgba(43, 151, 119, 0.2);
  transform: scale(1.05);
}

/* ========== Filter Sidebar ========== */
.filter-group {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-checkbox {
  accent-color: #2B9777;
  width: 16px;
  height: 16px;
}

/* ========== Mobile Menu ========== */
.mobile-menu {
  transition: all 0.35s ease;
  max-height: 0;
  overflow: hidden;
}

.mobile-menu.open {
  max-height: 600px;
}

/* ========== WhatsApp Float Button ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ========== Back to Top (in floating sidebar) ========== */
.floating-contact .back-to-top {
  margin-top: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.floating-contact .back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ========== Animation Utilities ========== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Spec Table ========== */
.spec-table tr {
  border-bottom: 1px solid #e5e7eb;
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table td {
  padding: 12px 16px;
}

.spec-table td:first-child {
  font-weight: 600;
  color: #2B9777;
  background: #F4F4F7;
  width: 35%;
}

/* ========== Gallery Thumbnail ========== */
.gallery-thumb {
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: #2B9777;
}

/* ========== Custom Scrollbar ========== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #2B9777;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2B9777;
}

/* ========== Loading Skeleton for Images ========== */
.img-placeholder {
  background: linear-gradient(110deg, #e8ecf1 30%, #F4F4F7 50%, #e8ecf1 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    background-position: -200% 0;
  }
}

/* ========== Category Tabs ========== */
.category-tab {
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

/* ========== Floating Contact Sidebar ========== */
.floating-contact {
  position: fixed;
  right: 12px;
  top: 80%;
  transform: translateY(-50%);
  z-index: 997;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-contact-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  background: #fff;
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
  z-index: 995;
}

.floating-contact-item i {
  color: #1a1a1a;
}

.floating-contact-item:hover {
  transform: scale(1.12);
  background: #2B9777;
}

.floating-contact-item:hover i {
  color: #fff;
}

.floating-contact-item .tooltip {
  position: absolute;
  right: 60px;
  background: #1a1a1a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition: all 0.25s ease;
}

.floating-contact-item.is-open .tooltip,
.floating-contact-item.is-open .qr-popup {
  opacity: 1;
  visibility: visible;
}

/* ========== Breadcrumb ========== */
.breadcrumb a:hover {
  color: #2B9777;
}

/* ========== Logo Glow ========== */
.logo-glow {
  padding: 4px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

/* ========== Badge Float Animation ========== */
.badge-float {
  animation: badgeBob 2s ease-in-out infinite;
}

.badge-float:hover {
  animation: none;
  margin-top: 0;
  font-size: 1.2em;
}

@keyframes badgeBob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -6px; }
}

@keyframes badgeBobFast {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}

/* ========== Carousel Arrows ========== */
.carousel-arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 20;
  transition: background 0.3s ease;
}
.carousel-arrow:hover {
  background: rgba(43,151,119,0.8);
}
.carousel-arrow i {
  font-size: 20px;
}
.carousel-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.carousel-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* ========== Carousel Dots ========== */
.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.carousel-dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.carousel-dot:hover {
  background: rgba(43,151,119,0.7);
}
.carousel-dot.active {
  background: #2B9777;
  transform: scale(1.15);
}

/* ========== Search Overlay ========== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.search-overlay.active {
  display: flex;
}
.search-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 36px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}
.search-box {
  width: 90%;
  max-width: 560px;
}
.search-box form {
  display: flex;
  gap: 0;
}
.search-box input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
  outline: none;
}
.search-box button {
  padding: 16px 28px;
  background: #2B9777;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.search-box button:hover { background: #1e6b54; }

/* ========== Modal ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9990;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}
.modal-dialog {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}
.modal-close {
  font-size: 28px;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: #333; }
.modal-body {
  padding: 24px;
}

/* ========== Pagination ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid #e5e7eb;
  color: #6b7280;
}
.pagination a:hover {
  background: #2B9777;
  color: #fff;
  border-color: #2B9777;
}
.pagination .active span,
.pagination span.active {
  background: #2B9777;
  color: #fff;
  border-color: #2B9777;
}

/* ========== FAQ Accordion ========== */
.faq-item {
  overflow: hidden;
}
.faq-question {
  cursor: pointer;
}
.faq-arrow {
  transition: transform 0.25s ease;
}
.faq-item.open .faq-arrow {
  transform: rotate(45deg);
}

/* ========== Product Tabs ========== */
.product-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-tab-btn {
  cursor: pointer;
  transition: all 0.25s ease;
}
.product-tab-panel {
  display: none;
}
.product-tab-panel.active {
  display: block;
}

/* ========== Rich Text Content ========== */
.prose-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 16px 0;
}
.prose-content p {
  margin-bottom: 1em;
  line-height: 1.9;
}
.prose-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.prose-content table thead {
  background: #2B9777;
  color: #fff;
}
.prose-content table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border: none;
}
.prose-content table tbody tr:nth-child(even) {
  background: #f9fafb;
}
.prose-content table tbody tr:hover {
  background: #f0fdf6;
}
.prose-content table td,
.prose-content table th {
  border: none;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 16px;
}
.prose-content table tbody tr:last-child td {
  border-bottom: none;
}

/* ========== QR Popup ========== */
.qr-popup {
  width: 160px;
  position: absolute;
  right: 60px;
  bottom: -160%;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition: all 0.25s ease;
}
.qr-popup img {
  width: 160px;
  height: auto;
  display: block;
}
.floating-contact-item:hover .qr-popup {
  opacity: 1;
  visibility: visible;
}

/* ========== Support Cards ========== */
.support-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.support-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

/* ========== Line Clamp Utility ========== */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== Product Category Card Hover ========== */
.product-cat-card:hover .product-cat-icon img {
  transform: scale(1.3) rotate(-6deg);
  filter: saturate(1.5);
}

.product-cat-icon img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.product-cat-card:hover .product-cat-name {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 1.3rem;
}

.product-cat-name {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #1a1a1a;
  margin: 12px 0;
}

/* ========== Brand Card Hover Animation ========== */
.brand-card:hover .brand-img-wrap {
  transform: scale(1.15);
}

.brand-img-wrap {
  transition: transform 0.4s ease;
}
