* {
  box-sizing: border-box;
}

html {
  font-size: 14px;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 10px;
}

.fact-title {
  font-size: 2.2rem;
  margin: 20px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
  color: #333;
  text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2); 
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.product-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image img {
  max-width: 100%;
  height: 520px;
  width: 100%;
  object-fit: contain;
}

.product-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.label {
  border: 2px solid black;
  width: 320px;
  padding: 6px 10px;
  margin-bottom: 10px;
}

header h1 {
  text-align: left;
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

header p {
  margin: 1px 0;
  font-size: 0.8rem;
}

p {
  margin: 1px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  line-height: 1.2;
}

.divider {
  border-bottom: 1px solid #000;
  margin: 1px 0;
}

.bold {
  font-weight: 800;
}

.large {
  height: 4px;
  background-color: black;
  border: 0;
  margin: 2px 0;
}

.serving-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.percent-dv {
  text-align: right;
}

.nutrition-info p, .proprietary-blend p {
  display: flex;
  justify-content: space-between;
}

.nutrition-info p span:first-child,
.proprietary-blend p span:first-child {
  flex: 2;
}

.nutrition-info p span:nth-child(2),
.proprietary-blend p span:nth-child(2) {
  flex: 1;
  text-align: right;
  padding-right: 10px;
}

.nutrition-info p span:nth-child(3) {
  flex: 0.5;
  text-align: right;
}

.indent {
  margin-left: 1em;
}

.double-indent {
  margin-left: 2em;
}

.disclaimer, .footnote {
  font-size: 0.65rem;
  margin: 2px 0;
  display: block;
}

.additional-info {
  text-align: left;
  max-width: 320px;
}

.ingredients, .caffeine-content {
  font-size: 0.75rem;
  margin: 5px 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 700px) {
  .container {
    grid-template-columns: 1fr;
  }
  
  .product-image {
    order: 1;
  }
  
  .product-info {
    order: 2;
  }
}