/* ============================================================
   HOME PAGE — POSHAK Outfitters-style
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: calc(100vh - var(--total-top));
  min-height: 520px;
  overflow: hidden;
  background: var(--dark);
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 0 var(--pad);
  max-width: 580px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--red);
}

.hero-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.hero-arrow:hover { background: rgba(255,255,255,.25); }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

/* ── Categories Grid ──────────────────────────────────────── */
.categories {
  padding: 60px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #e5e5e5;
}

.cat-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--dark);
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0.85;
}

.cat-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 20px;
  text-align: center;
}

.cat-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.cat-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.5);
  padding: 7px 20px;
  transition: all 0.2s;
}

.cat-card:hover .cat-cta {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ── Featured / New Arrivals Section ─────────────────────── */
.section {
  padding: 64px 0;
}

.section.bg-off { background: var(--off-white); }
.section.bg-dark { background: var(--dark-2); }

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.section-top .section-header {
  text-align: left;
  margin-bottom: 0;
}

.view-all-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
  transition: color 0.2s;
}

.view-all-link:hover { color: var(--red); }

.section.bg-dark .section-title,
.section.bg-dark .view-all-link {
  color: var(--white);
}

.section.bg-dark .section-label {
  color: var(--red);
}

/* ── Horizontal Strip (scrollable products) ──────────────── */
.product-strip-wrap {
  position: relative;
  overflow: hidden;
}

.product-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 260px;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.product-strip::-webkit-scrollbar { display: none; }

.product-strip .product-card {
  scroll-snap-align: start;
}

.strip-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  transition: box-shadow 0.2s, transform 0.2s;
}

.strip-arrow:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transform: translateY(-50%) scale(1.05);
}

.strip-arrow-prev { left: -22px; }
.strip-arrow-next { right: -22px; }

/* ── Sale Banner ──────────────────────────────────────────── */
.sale-banner {
  background: var(--red);
  padding: 64px var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sale-banner::before {
  content: 'SALE';
  position: absolute;
  font-size: 200px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}

.sale-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}

.sale-title {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 8px;
}

.sale-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-bottom: 28px;
}

/* ── Trending Strip ───────────────────────────────────────── */
.trending-strip {
  background: var(--black);
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--dark-3);
  border-bottom: 1px solid var(--dark-3);
}

.trending-ticker {
  display: flex;
  gap: 48px;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}

.trending-ticker span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.trending-ticker .dot {
  color: var(--red);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Lookbook Section ─────────────────────────────────────── */
.lookbook {
  padding: 80px 0;
  background: var(--off-white);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

.lookbook-main {
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  aspect-ratio: unset;
}

.lookbook-sub {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.lookbook-main img,
.lookbook-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.lookbook-main:hover img,
.lookbook-sub:hover img {
  transform: scale(1.04);
}

.lookbook-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
}

.lookbook-caption h3 {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 8px;
}

/* ── Brand Features Bar ───────────────────────────────────── */
.brand-features {
  background: var(--black);
  padding: 36px var(--pad);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.feature-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.feature-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
  .hero { height: 70vh; min-height: 480px; }
  .hero-content { padding: 0 20px; }
  .hero-title { font-size: 2.2rem; }

  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 1px; }
  .cat-name { font-size: 14px; }
  .cat-cta { display: none; }

  .product-strip { grid-auto-columns: 200px; }

  .lookbook-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .lookbook-main { grid-row: span 1; aspect-ratio: 4/3; }

  .brand-features { padding: 32px 20px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .section-top { flex-direction: column; align-items: flex-start; }

  .sale-banner { padding: 48px 20px; }
}

@media (max-width: 480px) {
  .hero { height: 85vh; }
  .categories-grid { grid-template-columns: 1fr; gap: 1px; }
  .cat-card { aspect-ratio: 16/9; }
  .strip-arrow { display: none; }
}
