/* ============================================================
   Reference Section Styles
   ============================================================ */

.furnish-reference {
  padding: 100px;
  background: #f5f5f5;
}

/* ---------- Left Navigation Panel ---------- */
.furnish-reference__panel {
  padding: 60px 0;
  position: relative;
}

/* Vertical Dots Navigation */
.furnish-reference__dots {
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.furnish-reference__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5d9e0;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  border: none;
}

.furnish-reference__dot:hover {
  background: #0066ff;
  transform: scale(1.2);
}

.furnish-reference__dot.uk-active {
  background: #0066ff;
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
}

/* Section Label */
.furnish-reference__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #0066ff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* Dynamic Category Title */
.furnish-reference__title {
  font-size: 56px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
  line-height: 1.1;
  font-family: 'Georgia', 'Times New Roman', serif;
  letter-spacing: -1px;
}

/* Section Description */
.furnish-reference__desc {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 400px;
}

/* Navigation Arrows */
.furnish-reference__arrows {
  display: flex;
  gap: 12px;
}

.furnish-reference__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.furnish-reference__arrow:hover {
  background: #0066ff;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

/* ---------- Right Product Slider ---------- */
.furnish-reference__slider {
  overflow: hidden;
}

.furnish-reference__slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.furnish-reference__slides.furnish-reference__slides--second {
  transform: translateX(-100%);
}

.furnish-reference__slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.furnish-reference__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.furnish-reference__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.furnish-reference__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

/* Card Image */
.furnish-reference__card-image {
  position: relative;
  overflow: hidden;
  height: 180px;
  background: #f0f2f5;
}

.furnish-reference__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.furnish-reference__card:hover .furnish-reference__card-image img {
  transform: scale(1.05);
}

/* Category Tag on Image */
.furnish-reference__card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Card Content */
.furnish-reference__card-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* Product ID */
.furnish-reference__card-id {
  font-size: 11px;
  color: #999;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin: 0;
}

/* Product Title */
.furnish-reference__card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Product Specs/Description */
.furnish-reference__card-specs {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Footer (count/price) */
.furnish-reference__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.furnish-reference__card-count {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}

.furnish-reference__card-more {
  font-size: 12px;
  color: #0066ff;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.furnish-reference__card:hover .furnish-reference__card-more {
  gap: 8px;
}

/* Hidden state for filtered cards */
.furnish-reference__card.furnish-reference__card--hidden {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 959px) {
  .furnish-reference {
    padding: 60px 0;
  }

  .furnish-reference__panel {
    padding: 0 0 30px 60px;
  }

  .furnish-reference__dots {
    left: -30px;
  }

  .furnish-reference__title {
    font-size: 42px;
  }

  .furnish-reference__desc {
    font-size: 14px;
  }

  .furnish-reference__slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .furnish-reference {
    padding: 40px 0;
  }

  .furnish-reference__panel {
    padding: 0 0 20px 0;
  }

  .furnish-reference__dots {
    position: static;
    flex-direction: row;
    transform: none;
    margin-bottom: 20px;
  }

  .furnish-reference__title {
    font-size: 32px;
  }

  .furnish-reference__desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .furnish-reference__slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .furnish-reference__card-image {
    height: 200px;
  }

  .furnish-reference__arrow {
    width: 40px;
    height: 40px;
  }
}