/*!
 * seller.css -http://kodester.com/
 * Version - 2.5.0
 * Licensed under the MIT license - http://opensource.org/licenses/MIT
 *
 * Copyright (c) 2026 Kasanova
 */

/* ===== SELLER HERO BANNER ===== */
.seller-hero {
  position: relative;
  border-radius: var(--r3);
  overflow: hidden;
  margin-bottom: 16px;
  background: url('/assets/banners/developer.jpg') center/cover no-repeat;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seller-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.5) 100%);
  z-index: 1;
}
.seller-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 24px;
}
.seller-hero-inner h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}
.seller-hero-inner p {
  font-size: .85rem;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* ===== CTA BUTTON ===== */
.seller-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 22px;
  background: var(--grn);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  border-radius: var(--r);
  transition: .2s;
  text-decoration: none;
}
.seller-cta:hover {
  background: var(--grn2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.seller-cta i {
  font-size: .9rem;
}

/* ===== SELLER FEATURES GRID (3 kolom, 2 baris) ===== */
.seller-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

/* ===== SELLER CARD — icon center, text center ===== */
.seller-card {
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: var(--r3);
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: .25s;
}
.seller-card:hover {
  border-color: var(--bd2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.seller-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.seller-card h3 {
  font-size: .84rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 8px;
  line-height: 1.35;
}
.seller-card p {
  font-size: .74rem;
  color: var(--tx2);
  line-height: 1.6;
  margin: 0;
}

/* ===== WHAT CAN YOU SELL ===== */
.seller-categories {
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: var(--r3);
  padding: 28px 20px;
  margin-bottom: 16px;
  text-align: center;
}
.seller-cat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 22px;
}
.seller-cat-list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.seller-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: .2s;
}
.seller-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: .2s;
}
.seller-cat-icon i {
  font-size: 1.3rem;
  transition: .2s;
}
.seller-cat-item:hover span {
  color: var(--grn);
}
.seller-cat-item span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--tx);
  transition: .15s;
  white-space: nowrap;
}

/* ===== CTA di dalam seller-categories ===== */
.seller-cat-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--bd);
  text-align: center;
}
.seller-cat-cta h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--tx);
  margin-bottom: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .seller-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .seller-hero {
    min-height: 180px;
  }
  .seller-hero-inner h1 {
    font-size: 1.2rem;
  }
  .seller-hero-inner p {
    font-size: .78rem;
  }
  .seller-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .seller-card {
    padding: 20px 14px 16px;
  }
  .seller-card-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .seller-card h3 {
    font-size: .78rem;
  }
  .seller-card p {
    font-size: .7rem;
  }
  .seller-cat-list {
    gap: 24px;
  }
  .seller-cat-icon {
    width: 42px;
    height: 42px;
  }
  .seller-cat-icon i {
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  .seller-hero {
    min-height: 160px;
  }
  .seller-hero-inner {
    padding: 24px 16px;
  }
  .seller-hero-inner h1 {
    font-size: 1rem;
  }
  .seller-hero-inner p {
    font-size: .72rem;
    margin-bottom: 14px;
  }
  .seller-cta {
    height: 34px;
    padding: 0 16px;
    font-size: .74rem;
  }
  .seller-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .seller-card {
    padding: 18px 14px 14px;
  }
  .seller-card-icon {
    width: 38px;
    height: 38px;
    font-size: .95rem;
    margin-bottom: 10px;
  }
  .seller-card h3 {
    font-size: .76rem;
  }
  .seller-card p {
    font-size: .68rem;
  }
  .seller-cat-list {
    gap: 18px;
  }
  .seller-cat-icon {
    width: 38px;
    height: 38px;
  }
  .seller-cat-icon i {
    font-size: 1rem;
  }
  .seller-cat-item span {
    font-size: .72rem;
  }
}
