/* ══════════════════════════════════════
   AGEYE — Equipment for Sale
   Archive listing + individual product
   ══════════════════════════════════════ */

/* ── HERO ── */
.eq-hero {
  padding: 160px 40px 80px;
  text-align: center;
}

.eq-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.eq-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink);
  margin-bottom: 24px;
  animation: fadeUp 0.7s both;
}

.eq-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.1s both;
}

.eq-hero .hero-sub {
  font-size: 1.15rem;
  color: var(--gray-800);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  animation: fadeUp 0.7s 0.2s both;
}

/* ── EQUIPMENT GRID ── */
.eq-grid-section {
  padding: 0 40px 100px;
}

.eq-grid-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.eq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* ── CARD ── */
.eq-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.eq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pink);
  opacity: 0;
  transition: var(--t);
  z-index: 1;
}

.eq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  border-color: var(--gray-200);
}

.eq-card:hover::before {
  opacity: 1;
}

.eq-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
  color: white;
}

.eq-card-badge.pending {
  background: #f59e0b;
}

.eq-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-50);
}

.eq-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.eq-card:hover .eq-card-thumb img {
  transform: scale(1.04);
}

.eq-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.eq-card-condition {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0, 200, 83, 0.08);
  color: var(--green-bright, #00c853);
  margin-bottom: 12px;
  width: fit-content;
}

.eq-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 8px;
}

.eq-card-excerpt {
  font-size: 0.84rem;
  color: var(--gray-800);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eq-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.eq-price-sale {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: -0.02em;
}

.eq-price-original {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: line-through;
}

.eq-price-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(232, 21, 91, 0.06);
  color: var(--pink);
}

.eq-card-qty {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-top: 8px;
}

/* ── EMPTY STATE ── */
.eq-empty {
  padding: 40px 40px 120px;
  text-align: center;
}

.eq-empty-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 60px 40px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}

.eq-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--gray-400);
}

.eq-empty-icon svg {
  width: 100%;
  height: 100%;
}

.eq-empty h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.eq-empty p {
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1.65;
}

.eq-empty a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eq-empty a:hover {
  text-decoration-thickness: 2px;
}

/* ── CTA SECTION ── */
.eq-cta {
  padding: 80px 40px;
  text-align: center;
}

.eq-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.eq-cta h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.eq-cta p {
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ══════════════════════════════════════
   INDIVIDUAL PRODUCT PAGE
   ══════════════════════════════════════ */

/* ── DETAIL HERO ── */
.eq-detail-hero {
  padding: 120px 40px 60px;
}

.eq-detail-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.eq-detail-hero .post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  margin-bottom: 32px;
  transition: var(--t);
}

.eq-detail-hero .post-back:hover {
  color: var(--pink);
}

.eq-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── GALLERY ── */
.eq-gallery {}

.eq-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  margin-bottom: 12px;
}

.eq-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
}

.eq-gallery-thumbs {
  display: flex;
  gap: 8px;
}

.eq-thumb {
  width: 80px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: var(--gray-50);
  transition: var(--t);
}

.eq-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eq-thumb.active,
.eq-thumb:hover {
  border-color: var(--pink);
}

/* ── PRODUCT INFO ── */
.eq-info {}

.eq-condition-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(0, 200, 83, 0.08);
  color: var(--green-bright, #00c853);
  margin-bottom: 12px;
}

.eq-status-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-left: 6px;
  margin-bottom: 12px;
}

.eq-status-badge.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.eq-info h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.eq-category {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.eq-pricing-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.eq-price-main {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--pink);
  letter-spacing: -0.02em;
}

.eq-price-unit {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
}

.eq-price-was {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: line-through;
}

.eq-qty {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.eq-shipping-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  font-style: italic;
}

.eq-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gray-900);
  margin-bottom: 28px;
}

.eq-ctas {
  margin-bottom: 24px;
}

/* ── MARKETPLACES ── */
.eq-marketplaces {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.eq-mp-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eq-mp-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-800);
  text-decoration: none;
  transition: var(--t);
}

.eq-mp-link:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(232, 21, 91, 0.04);
}

/* ── SPECS TABLE ── */
.eq-specs-section {
  padding: 0 40px 60px;
}

.eq-specs-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.eq-specs-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.eq-specs-table {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
}

.eq-specs-table tr:nth-child(even) {
  background: var(--gray-50);
}

.eq-specs-table th,
.eq-specs-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gray-100);
}

.eq-specs-table th {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--gray-600);
  width: 38%;
}

.eq-specs-table td {
  color: var(--gray-900);
}

/* ── FEATURES ── */
.eq-features-section {
  padding: 0 40px 80px;
}

.eq-features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.eq-features-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.eq-features-list {
  list-style: none;
  padding: 0;
  max-width: 640px;
}

.eq-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-50);
}

.eq-features-list li .pg {
  margin-top: 4px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   RESPONSIVE (handled via responsive.css
   but we add equipment-specific overrides)
   ══════════════════════════════════════ */

@media (max-width: 900px) {
  .eq-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .eq-grid {
    grid-template-columns: 1fr;
  }

  .eq-hero {
    padding: 120px 24px 60px;
  }

  .eq-detail-hero {
    padding: 100px 24px 40px;
  }

  .eq-specs-section,
  .eq-features-section {
    padding: 0 24px 48px;
  }

  .eq-grid-section {
    padding: 0 24px 80px;
  }

  .eq-cta {
    padding: 60px 24px;
  }

  .eq-empty {
    padding: 20px 24px 80px;
  }
}

@media (max-width: 480px) {
  .eq-hero h1 {
    font-size: 2rem;
  }

  .eq-info h1 {
    font-size: 1.4rem;
  }

  .eq-price-main {
    font-size: 1.6rem;
  }

  .eq-gallery-thumbs {
    gap: 6px;
  }

  .eq-thumb {
    width: 60px;
    height: 42px;
  }
}
