.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background-color: var(--siphon);
  padding: 1rem;
  width: 100%;
}

.headerContent {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .header {
    padding: 1.5rem 0;
  }
}

@media (min-width: 768px) {
  .headerContent {
    max-width: 52rem;
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .headerContent {
    max-width: 60rem;
  }
}

.logo {
  width: auto;
  height: 32px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: smooth;
}

@media (min-width: 640px) {
  .logo {
    height: 44.66px;
  }
}

.basket {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}

.basket:hover {
  opacity: 0.8;
}

.basketIcon {
  width: 3rem;
  height: 3rem;
}

.basketCount {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background-color: var(--sohoLights);
  color: var(--ice);
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: bold;
}

.main {
  flex: 1;
  padding: 1rem 0;
  width: 100%;
}

@media (min-width: 640px) {
  .main {
    padding: 2rem 0;
  }
}

@media (min-width: 1024px) {
  .main {
    padding: 3rem 0;
  }
}

.contentWrapper {
  max-width: 48rem;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .contentWrapper {
    max-width: 52rem;
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .contentWrapper {
    max-width: 60rem;
    padding: 0 2rem;
  }
}

.productImage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0rem;
}

.productImage img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .productImage {
    padding: 1rem;
  }
}

.productInfo {
  margin-top: 2.4rem;
}

.title {
  font-size: 2rem;
  font-weight: 500;
  color: var(--ice);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .title {
    font-size: 4.5rem;
    margin-bottom: 0.8rem;
  }
}

.subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--purpleHaze);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .subtitle {
    font-size: 2.2rem;
    margin-bottom: 2.8rem;
  }
}

.priceSection {
  background-color: var(--siphon);
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .priceSection {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }
}

.price {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--ice);
}

@media (min-width: 640px) {
  .price {
    font-size: 3.5rem;
  }
}

.quantitySection {
  background-color: var(--siphon);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.qtyLabel {
  color: var(--ice);
  font-weight:100;
  font-size: 1.125rem;
}

@media (min-width: 640px) {
  .qtyLabel {
    font-size: 1.4rem;
  }
}

.descriptionSection {
  background-color: var(--hemocyanin);
  padding: 2rem 0 1rem 0;
  width: 100%;
}

@media (min-width: 640px) {
  .descriptionSection {
    padding: 3rem 0 2rem 0;
  }
}

@media (min-width: 1024px) {
  .descriptionSection {
    padding: 4rem 0 3rem 0;
  }
}

.descriptionSection h2 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--ice);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .descriptionSection h2 {
    font-size: 3.2rem;
    margin-bottom: 3.2rem;
  }
}

.descriptionSection p {
  color: var(--ice);
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .descriptionSection p {
    font-size: 1.9rem;
    line-height: 1.9;
  }
}

.specsSection {
  background-color: var(--siphon);
  padding: 2rem 0;
  width: 100%;
}

@media (min-width: 640px) {
  .specsSection {
    padding: 3rem 0;
  }
}

@media (min-width: 1024px) {
  .specsSection {
    padding: 4rem 0;
  }
}

.footer {
  padding: 1.5rem 0;
  text-align: left;
  font-size: 0.65rem;
  font-weight: 100;
  line-height: 1.7;
  color: var(--purpleHaze);
  background-color: var(--hemocyanin);
  width: 100%;
}

.footer p {
  margin: 0;
}

@media (min-width: 640px) {
  .footer {
    padding: 2rem 0;
    font-size: 1.3rem;
  }
}

.error {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  color: var(--sohoLights);
  font-size: 1.25rem;
}

