section[product] {
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  section[product] {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}

@media (min-width: 768px) {
  section[product] {
    padding: 0 2rem;
  }
}

@media (min-width: 992px) {
  section[product] {
    padding: 0 6rem;
  }
}

@media (min-width: 1200px) {
  section[product] {
    padding: 0 8rem;
  }
}

#tshirt-container {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url('../images/product-tshirt.png') no-repeat center top;
  background-size: contain;
}
@media (min-width: 992px) {
  #tshirt-container { max-width: 400px; }
}
@media (min-width: 1200px) {
  #tshirt-container { max-width: 500px; }
}

#tshirt-container > div:first-child {
  flex: 0 0 20%;
  width: 100%;
}

#line1-preview,
#line2-preview {
  text-transform: uppercase;
  font-weight: 900;
  color: #fff;
  margin: 0;
  font-size: clamp(0.9rem, 4vw, 2rem);
}

#product-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
#product-price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
#product-description {
  margin-bottom: 1rem;
}

[data-two-col] {
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  [data-two-col] {
    display: flex;
    gap: 1rem;
  }
}
[data-two-col] > div {
  width: 100%;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  [data-two-col] > div {
    flex: 1;
    margin-bottom: 0;
  }
}

[data-options] {
  border: 1px solid #ccc;
  background-color: rgba(255,255,255,0.4);
  border-radius: 4px;
  padding: 1rem;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: bold;
}
input[type="text"],
input[type="number"],
select {
  background-color: white;
  width: 100%;
  max-width: 350px;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}
input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
  border-color: #056dfa;
  outline: none;
}

@media (max-width: 768px) {
  [data-options] input[type="text"],
  [data-options] input[type="number"],
  [data-options] select {
    width: 100%;
    max-width: none;
  }
}

#add-to-cart {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background-color: #056bfa27;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #056dfa;
  transition: background-color 0.3s ease;
  margin-bottom: 0.5rem;
}
#add-to-cart:hover {
  background-color: #056bfa49;
}

[data-pp-message] {
  margin-left: 15px;
}