/**
 * Custom CSS for Products Page
 * - 4 products per row layout
 * - Complete image display
 */

/* Hide category filter pills */
.tabs-menu {
  display: none !important;
}

/* Products Grid - 4 columns */
.collection-list-blogs {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
  .collection-list-blogs {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media screen and (max-width: 767px) {
  .collection-list-blogs {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (max-width: 479px) {
  .collection-list-blogs {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Product image - show complete image without cropping */
.blog-card-image {
  object-fit: contain !important;
  object-position: center !important;
}

/* Center align product titles and content */
.blog-card-title {
  text-align: center !important;
}

.product-description {
  text-align: center !important;
}

.blog-card-content {
  text-align: center !important;
}

/* Skeleton Loader Styles */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

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

/* Skeleton Product Card */
.skeleton-product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
}

.skeleton-tag {
  width: 80px;
  height: 20px;
  border-radius: 12px;
}

.skeleton-title {
  width: 80%;
  height: 24px;
  border-radius: 4px;
}

.skeleton-description {
  width: 100%;
  height: 14px;
  border-radius: 4px;
  margin-top: 4px;
}

.skeleton-description:nth-child(2) {
  width: 90%;
}

.skeleton-button {
  width: 120px;
  height: 40px;
  border-radius: 6px;
  margin-top: 8px;
}

/* Footer Logo Boxes */
.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 12px 30px;
  margin-left: -1px;
  background:
    linear-gradient(#fff, #fff) left center / 2px 50% no-repeat,
    linear-gradient(#fff, #fff) right center / 2px 50% no-repeat;
}

.logo-box:first-child {
  margin-left: 0;
}

.logo-box .footer_marquee_image {
  display: block;
}
