/* =========================================================
   CLEAN CATEGORY GRID ONLY
========================================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.category-card {
  position: relative;
  height: 430px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  background: #ffffff;
  border: 1px solid #E4DAC2;
  box-shadow: 0 10px 30px rgba(11, 10, 8, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  border-radius: 15px;
}

.category-card.featured {
  grid-column: span 2;
}

.card-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.25, 1, 0.3, 1);
  border-radius: 15px;
}

.card-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 32px;
  background: linear-gradient(180deg, rgba(11, 10, 8, 0) 0%, rgba(11, 10, 8, 0.55) 45%, rgba(11, 10, 8, 0.94) 100%);
  color: #ffffff;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  border-radius: 0 0 15px 15px;
}

.item-count {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #D9B876;
  margin-bottom: 8px;
  font-family: 'Jost', sans-serif;
}

.category-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.category-card.featured .category-name {
  font-size: 2.3rem;
}

.category-desc {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
  display: none;
  font-weight: 300;
  line-height: 1.5;
}

.category-card.featured .category-desc {
  display: block;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #D9B876;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-top: 4px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
}

/* Hover Effects */
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 44px rgba(11, 10, 8, 0.14);
  border-color: #B08A45;
}

.category-card:hover .card-image img {
  transform: scale(1.08);
}

.category-card:hover .explore-btn {
  gap: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category-card, 
  .category-card.featured {
    grid-column: span 1;
    height: 320px;
  }
}