/* ===================== GRAVIX FASHION — Men's Clothing collection page ===================== */

.gx-mc-page{ overflow: hidden; }

/* ---------- Section 1: Collection intro ---------- */
.gx-mc-intro{
  text-align: center;
  max-width: 600px;
  margin: 8px auto 40px;
  padding: 0 24px;
}
.gx-mc-intro-label{
  font-family: var(--gx-body); font-size: 12px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gx-accent, #B08D57); margin: 0 0 12px;
}
.gx-mc-intro h1{
  font-family: var(--gx-heading); font-weight: 900; font-size: clamp(28px, 4.5vw, 42px);
  text-transform: uppercase; letter-spacing: 0.01em; color: var(--gx-ink, #1A1A1A); margin: 0 0 10px;
}
.gx-mc-intro p{ font-family: var(--gx-body); font-size: 15px; color: #666; margin: 0; }

/* ---------- Section 2: Category cards (editorial asymmetric grid) ---------- */
.gx-mc-cat-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto 56px;
  padding: 0 24px;
}
.gx-mc-cat-card{
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  background: #111;
}
.gx-mc-cat-card img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gx-mc-cat-card::before{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.05) 100%);
  transition: background 0.4s ease;
  z-index: 1;
}
.gx-mc-cat-card:hover img{ transform: scale(1.06); }
.gx-mc-cat-card:hover::before{ background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.08) 100%); }

.gx-mc-cat-content{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 24px;
  transition: transform 0.4s ease;
}
.gx-mc-cat-card:hover .gx-mc-cat-content{ transform: translateY(-4px); }
.gx-mc-cat-content h2{
  font-family: var(--gx-heading); font-weight: 900; font-size: clamp(20px, 2.6vw, 28px);
  text-transform: uppercase; letter-spacing: 0.02em; color: #fff; margin: 0 0 6px;
}
.gx-mc-cat-explore{
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--gx-body); font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #e8e0d0;
}
.gx-mc-cat-explore svg{
  width: 14px; height: 14px;
  transition: transform 0.35s ease;
}
.gx-mc-cat-card:hover .gx-mc-cat-explore svg{ transform: translateX(5px); }

/* Editorial asymmetry: Shirts + T-Shirts large on row 1, Jersey + Shoes on row 2 */
.gx-mc-cat-card.gx-mc-cat-shirts,
.gx-mc-cat-card.gx-mc-cat-tshirts{ grid-column: span 1; }

@media (max-width: 767px){
  .gx-mc-cat-grid{ grid-template-columns: 1fr 1fr; gap: 10px; }
  .gx-mc-cat-card{ aspect-ratio: 1 / 1; }
  .gx-mc-cat-content{ padding: 14px; }
  .gx-mc-cat-content h2{ font-size: 14px; margin-bottom: 3px; }
  .gx-mc-cat-explore{ font-size: 9.5px; }
  .gx-mc-cat-explore svg{ width: 11px; height: 11px; }
}

@media (prefers-reduced-motion: reduce){
  .gx-mc-cat-card img, .gx-mc-cat-content, .gx-mc-cat-explore svg{ transition: none; }
}

/* ---------- Section 3: New Season Collection divider ---------- */
.gx-mc-divider{
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
.gx-mc-divider hr{
  border: none; border-top: 1px solid var(--gx-line, #E8E8E8); margin: 0 0 40px;
}
.gx-mc-collection-header{
  text-align: center; max-width: 560px; margin: 0 auto 36px; padding: 0 24px;
}
.gx-mc-collection-header h2{
  font-family: var(--gx-heading); font-weight: 800; font-size: clamp(20px, 3vw, 28px);
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--gx-ink, #1A1A1A); margin: 0 0 10px;
}
.gx-mc-collection-header p{ font-family: var(--gx-body); font-size: 14px; color: #666; margin: 0; }

/* ---------- Section 4: Product grid polish (this category page only) ---------- */
body.tax-product_cat.term-mens-clothing .products li.product{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.tax-product_cat.term-mens-clothing .products li.product:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}
body.tax-product_cat.term-mens-clothing .products li.product img{
  transition: transform 0.4s ease;
}
body.tax-product_cat.term-mens-clothing .products li.product:hover img{
  transform: scale(1.04);
}


/* ---------- Sort/filter row polish ---------- */
body.tax-product_cat.term-mens-clothing .woocommerce-result-count{
  font-family: var(--gx-body); font-size: 13px; color: #666;
}
body.tax-product_cat.term-mens-clothing .woocommerce-ordering select{
  border: 1px solid var(--gx-line, #E8E8E8);
  padding: 9px 30px 9px 14px;
  font-family: var(--gx-body); font-size: 13px; font-weight: 600;
  border-radius: 0;
  background-color: #fff;
}
