/* HERO SLIDER */
.hero-section {
  position: relative;
  background: #111;
  height: 520px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,18,18,0.85) 0%, rgba(18,18,18,0.4) 60%, rgba(18,18,18,0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 620px;
}
.hero-subtitle {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  font-weight: 600;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-desc {
  font-size: 15px;
  color: #e0e0e0;
  margin-bottom: 28px;
  line-height: 1.5;
}
.hero-btns {
  display: flex;
  gap: 16px;
}

/* FEATURES STRIP */
.features-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.feature-sub {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* SECTION HEADERS */
.border-bottom {
  border-bottom: 1.5px solid #f6dbdb;
}
.section-header {
  text-align: center;
  margin: 15px 0 32px;
}
.section-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-primary);
}
.section-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 8px auto 0;
}

/* DESIGNERS GRID */
.designers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.designer-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.designer-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.designer-banner {
  height: 120px;
  background-size: cover;
  background-position: center;
}
.designer-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  margin: -36px auto 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  position: relative;
  z-index: 2;
}
.designer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.designer-info {
  padding: 0 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.designer-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.designer-origin {
  font-size: 11px;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.designer-bio {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

/* CATEGORIES TILES */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-tile {
  position: relative;
  height: 380px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-tile:hover img {
  transform: scale(1.05);
}
.category-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,18,18,0.85) 0%, rgba(18,18,18,0.2) 60%, transparent 100%);
}
.category-tile-content {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  z-index: 2;
  color: #ffffff;
}
.category-tile-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}
.category-tile-link {
  font-size: 12px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* CAROUSEL WRAPPER & NAVIGATION */
.carousel-wrapper {
  position: relative;
  padding: 0 4px;
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-track > * {
  flex: 0 0 calc(25% - 15px);
  min-width: 260px;
  scroll-snap-align: start;
}
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  font-size: 40px;
  padding: 0 0px 7px 0;
}
.carousel-nav-btn:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
}
.carousel-nav-btn.prev {
  left: -20px;
}
.carousel-nav-btn.next {
  right: -20px;
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* STYLING BANNER */
.styling-banner {
  background: #1a1a1a;
  color: #ffffff;
  padding: 60px 0;
  margin-top: 60px;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}
.styling-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.styling-text h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  margin-bottom: 10px;
}
.styling-text p {
  color: #bbb;
  max-width: 600px;
}

@media (max-width: 992px) {
  .features-grid, .designers-grid, .categories-grid, .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .styling-flex {
    flex-direction: column;
    text-align: center;
  }
  .carousel-track > * {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 220px;
  }
  .carousel-nav-btn.prev {
    left: -10px;
  }
  .carousel-nav-btn.next {
    right: -10px;
  }
}
@media (max-width: 576px) {
  .hero-title { font-size: 36px; }
  .category-tile {
    height: 260px;
  }
  .features-grid, .designers-grid, .categories-grid, .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .carousel-track > * {
    flex: 0 0 calc(80% - 10px);
    min-width: 200px;
  }
  .carousel-nav-btn {
    width: 36px;
    height: 36px;
  }
}
