:root {
  --navy: #0d1b2a;
  --cream: #f5f0e8;
  --gold: #b8965a;
  --mist: #e8e2d6;
  --ink: #2a2a2a;
  --light: #6b6560;
  --font-body: "Raleway", sans-serif;
}
html {
  scroll-behavior: smooth;
}
.product-parent {
  padding: 3rem;
}

.product-child {
  display: flex;
  flex-flow: column nowrap;
  gap: 3rem;
}

.product-container {
  display: flex;
  flex-flow: column nowrap;
  gap: 1rem;
  padding: 1rem;
}

.product-header {
  font-family: var(--font-body);
  font-size: 2.7rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1rem;
}

.product-content-holder {
  display: grid;
  margin-top: 1rem;
  align-items: flex-start;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.product-content {
  display: flex;
  padding-top: 1rem;
  flex-flow: column wrap;
  height: 450px;
  gap: 5px;
}

.product-image {
  border-radius: 8px;
  overflow: hidden;
}

.product-image img {
  cursor: pointer;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  height: auto;
  object-position: center;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.product-image img:hover {
  transform: scale(1.05);
}

.product-text-container {
  display: flex;
  gap: 7px;
  align-items: center;
}

.product-svg svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

.product-svg svg path,
.product-svg svg circle,
.product-svg svg rect,
.product-svg svg line {
  stroke: black;
}

.product-text {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.product-text:hover {
  color: var(--gold);
}

@media (max-width: 1200px) {
  .product-header {
    font-size: 2.2rem;
  }

  .product-text {
    font-size: 1.15rem;
  }

  .product-content {
    height: 500px;
  }
}

@media (max-width: 1024px) {
  .product-parent {
    padding: 2rem;
  }

  .product-header {
    font-size: 2rem;
  }

  .product-content-holder {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-content-holder .product-image {
    order: 1;
  }

  .product-content-holder .product-content {
    order: 2;
  }

  .product-content {
    flex-flow: column nowrap;
    height: auto;
    padding-top: 0.5rem;
    gap: 8px;
  }

  .product-image img {
    max-height: 320px;
  }

  .product-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .product-parent {
    padding: 1.5rem 1rem;
  }

  .product-container {
    padding: 0.75rem 0;
  }

  .product-header {
    font-size: 1.6rem;
    padding-bottom: 0.75rem;
  }

  .product-content-holder {
    margin-top: 0.75rem;
    gap: 1rem;
  }

  .product-content {
    gap: 6px;
  }

  .product-text-container {
    gap: 6px;
  }

  .product-svg svg {
    width: 20px;
    height: 20px;
  }

  .product-text {
    font-size: 1.05rem;
  }

  .product-image img {
    max-height: 260px;
  }
}

@media (max-width: 480px) {
  .product-parent {
    padding: 1.25rem 0.75rem;
  }

  .product-header {
    font-size: 1.35rem;
    padding-bottom: 0.5rem;
  }

  .product-content-holder {
    margin-top: 0.5rem;
    gap: 0.75rem;
  }

  .product-content {
    gap: 4px;
  }

  .product-text-container {
    gap: 5px;
    align-items: flex-start;
  }

  .product-svg svg {
    width: 18px;
    height: 18px;
    margin-top: 2px;
  }

  .product-text {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .product-image img {
    max-height: 220px;
  }
}
