/* ============================================
   Edible Salt Page Styles
   ============================================ */

/* =====================
   PRODUCT HERO
   ===================== */
.product-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.product-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.product-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.75);
}

.product-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: var(--space-4xl) 0;
}

.product-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.product-hero__title span {
  color: var(--brand-red);
}

.product-hero__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: var(--fs-small);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--text-white);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
  color: var(--brand-red);
  font-weight: var(--fw-medium);
}

/* =====================
   PRODUCT GRADES
   ===================== */
.product-grades {
  padding: var(--space-section) 0;
}

.grades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grade-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.grade-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.grade-card__image {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.grade-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.grade-card:hover .grade-card__image img {
  transform: scale(1.05);
}

.grade-card__body {
  padding: var(--space-xl);
}

.grade-card__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
  color: var(--text-heading);
}

.grade-card__text {
  font-size: var(--fs-small);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.grade-card__specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.grade-card__specs li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  color: var(--text-body);
}

.grade-card__specs li svg,
.grade-card__specs li i {
  width: 18px;
  height: 18px;
  color: var(--brand-red);
  flex-shrink: 0;
}

/* =====================
   SPECIFICATIONS
   ===================== */
.specifications {
  padding: var(--space-section) 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  align-items: stretch;
}

.spec-table {
  background-color: var(--bg-beige);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
}

.spec-table table {
  flex: 1;
}

.spec-table__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-xl);
}

.spec-table table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: var(--fs-body);
}

.spec-table th {
  font-weight: var(--fw-semibold);
  color: var(--text-heading);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-table td strong {
  color: var(--brand-red);
  font-weight: var(--fw-semibold);
}

.spec-table td i,
.spec-table td svg {
  width: 18px;
  height: 18px;
  color: var(--brand-red);
  vertical-align: middle;
  margin-right: var(--space-sm);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

/* =====================
   WHY CHOOSE
   ===================== */
.why-choose {
  padding: var(--space-section) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.why-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card__icon {
  width: 56px;
  height: 56px;
  background-color: var(--brand-red);
  color: var(--text-white);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto var(--space-lg);
}

.why-card h3 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
  color: var(--text-heading);
}

.why-card p {
  font-size: var(--fs-small);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
}

/* =====================
   PRODUCT CTA
   ===================== */
.product-cta {
  padding: var(--space-4xl) 0;
  background-color: var(--brand-red);
  text-align: center;
}

.product-cta__title {
  font-size: var(--fs-h2);
  color: var(--text-white);
  margin-bottom: var(--space-md);
}

.product-cta__text {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.product-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .grades-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-hero {
    min-height: auto;
    padding-top: calc(var(--navbar-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

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

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

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

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

  .product-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-cta__actions .btn {
    text-align: center;
    justify-content: center;
  }
}
