/* ============================================
   SAM & SONS — Products Page
   Clean, Sober & Modern
   ============================================ */

/* ═══════════════════════════════════════════
   PAGE HERO — Image background + overlay
   ═══════════════════════════════════════════ */
.pg-hero {
  position: relative;
  padding: var(--space-5xl) 0 var(--space-3xl);
  background: #0a0a0f;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}

.pg-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.pg-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 15, 0.35) 0%,
      rgba(10, 10, 15, 0.55) 60%,
      rgba(10, 10, 15, 0.82) 100%),
    linear-gradient(90deg,
      rgba(10, 10, 15, 0.45) 0%,
      transparent 70%);
}

.pg-hero .container {
  position: relative;
  z-index: 2;
}

.pg-hero .section-tag {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.pg-hero h1 {
  font-size: var(--fs-h1);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.pg-hero__sub {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  line-height: var(--lh-relaxed);
}


/* ═══════════════════════════════════════════
   PRODUCT NAV — Sticky category tabs
   ═══════════════════════════════════════════ */
.pnav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
}

.pnav__track {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pnav__track::-webkit-scrollbar {
  display: none;
}

.pnav__link {
  flex-shrink: 0;
  padding: 0.6rem 1.4rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.pnav__link:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

.pnav__link--active {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: rgba(226, 5, 18, 0.04);
}


/* ═══════════════════════════════════════════
   PRODUCT SECTION — Stacked blocks
   ═══════════════════════════════════════════ */
.psection {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
  scroll-margin-top: 60px;
}

.psection--alt {
  background: var(--color-bg-alt);
}

/* --- Inner grid: image + content --- */
.psection__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.psection__inner--reverse {
  direction: rtl;
}

.psection__inner--reverse > * {
  direction: ltr;
}

/* --- Media --- */
.psection__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}

.psection__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.psection__media:hover img {
  transform: scale(1.03);
}

/* --- Content --- */
.psection__content {
  display: flex;
  flex-direction: column;
}

/* Number */
.psection__num {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  opacity: 0.1;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

/* Title */
.psection__title {
  font-size: var(--fs-h3);
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: var(--lh-heading);
}

/* Description */
.psection__desc {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

/* --- Features list --- */
.psection__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.psection__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

.psection__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

/* --- Brands --- */
.psection__brands {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

.psection__brands > span {
  font-size: var(--fs-xxs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  flex-shrink: 0;
}

.psection__brand-logos {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.psection__brand-logos img {
  height: 28px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(100%) brightness(0.6);
  transition: all var(--transition-normal);
}

.psection__brand-logos img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* --- Actions --- */
.psection__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════
   CTA SECTION — Clean
   ═══════════════════════════════════════════ */
.pcta {
  background: var(--color-bg);
  padding: var(--space-4xl) 0;
}

.pcta h2 {
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.pcta__desc {
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--lh-relaxed);
}

.pcta__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .psection__inner {
    gap: var(--space-2xl);
  }

  .psection__title {
    font-size: var(--fs-h4);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .pg-hero {
    padding: var(--space-4xl) 0 var(--space-2xl);
    min-height: 280px;
  }

  .pg-hero h1 {
    font-size: var(--fs-h2);
  }

  .pnav__link {
    padding: 0.5rem 1rem;
    font-size: var(--fs-xs);
  }

  .psection {
    padding: var(--space-2xl) 0;
  }

  .psection__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .psection__inner--reverse {
    direction: ltr;
  }

  .psection__media img {
    aspect-ratio: 16 / 10;
  }

  .psection__title {
    font-size: var(--fs-h4);
  }

  .psection__actions {
    flex-direction: column;
  }

  .psection__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .pcta__actions {
    flex-direction: column;
    align-items: center;
  }

  .pcta__actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}
