/* Best Paired With Section Styles */
.best-paired-section {
  padding: 40px 0;
  background-color: #e9ecef;
}
.best-paired-container {
  max-width: 1410px;
  margin: 0 auto;
  padding: 0;
}
.best-paired-section .content-title {
  text-align: left;
  font-size: 46px;
  font-weight: 700;
  color: #333f48;
  margin-bottom: 25px;
  line-height: 1.2;
}
.best-paired-section .content-title .accent {
  color: #00a7b5;
}
.best-paired-section .content-title .dot {
  color: #94193b;
}
/* Best Paired Grid */
.best-paired-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 0px;
}

/* Best Paired Item Link */
.best-paired-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.best-paired-item-link:hover {
  text-decoration: none;
  color: inherit;
}
.best-paired-item {
  background: #fff;
  border-radius: 18px;
  padding: 0 0 20px 0;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  height: auto;
  margin: 0;
}
/* Best Paired Image Container */
.best-paired-image-container {
  position: relative;
  width: 100%;
  height: 330px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.best-paired-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
/* Best Paired Title */
.best-paired-title {
  font-size: 18px;
  font-weight: 600;
  color: #333f48;
  margin: 0;
  line-height: 1.3;
  text-align: center;
}
/* Responsive Design */
/* Large Desktop (1400px+) */
@media screen and (min-width: 1401px) {
  .best-paired-image-container {
    height: 330px;
  }
}
/* Desktop (1200px - 1400px) */
@media screen and (max-width: 1400px) and (min-width: 1200px) {
  .best-paired-image-container {
    height: 300px;
  }
}
/* Large Tablet (1000px - 1199px) */
@media screen and (max-width: 1199px) and (min-width: 1000px) {
  .best-paired-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .best-paired-image-container {
    height: 280px;
  }
}
/* Tablet (768px - 999px) */
@media screen and (max-width: 999px) and (min-width: 768px) {
  .best-paired-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .best-paired-image-container {
    height: 250px;
  }
  .best-paired-section .content-title {
    font-size: 40px;
  }
}
/* Mobile (600px - 767px) */
@media screen and (max-width: 767px) and (min-width: 600px) {
  .best-paired-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .best-paired-image-container {
    height: 230px;
  }
  .best-paired-section .content-title {
    font-size: 32px;
    text-align: center;
  }
}
/* Small Mobile (480px - 599px) */
@media screen and (max-width: 599px) and (min-width: 480px) {
  .best-paired-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .best-paired-image-container {
    height: 200px;
  }
  .best-paired-section .content-title {
    font-size: 28px;
  }
}
/* Extra Small Mobile (480px and below) */
@media screen and (max-width: 479px) {
  .best-paired-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .best-paired-image-container {
    height: 200px;
  }
  .best-paired-section .content-title {
    font-size: 26px;
  }
}
/* Container padding for different screen sizes */
@media screen and (min-width: 1px) and (max-width: 1440px) {
  .best-paired-section {
    padding: 30px 15px;
  }
}
/* Additional hover effects for better UX */
.best-paired-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.best-paired-item:hover::before {
  opacity: 1;
}
/* Focus states for accessibility */
.best-paired-item:focus-within {
  outline: 2px solid #00a7b5;
  outline-offset: 2px;
}
/* Smooth transitions for all interactive elements */
.best-paired-item * {
  transition: all 0.3s ease;
}
/* Performance optimization */
.best-paired-image {
  will-change: transform;
}
.best-paired-item {
  will-change: transform, box-shadow;
}