@charset "UTF-8";

body {
  background-color: #f6f6f4;
  color: #222;
}

#container {
  box-sizing: border-box;
  width: 700px;
  height: 760px;
  margin: 44px auto 20px;
  padding: 22px 20px 22px 20px;
  display: grid;
  grid-template-columns: 1.15fr 1.45fr 0.55fr 1fr;
  grid-template-rows: 1.15fr 0.85fr 1.15fr 0.85fr 1fr;
  gap: 0;
  background: #fff;
}

.panel {
  box-sizing: border-box;
  padding: 0 12px;
  overflow: hidden;
  font-family: "Lucida Sans", "Lucida Grande", sans-serif;
  font-size: 11px;
  line-height: 1.15;
}

.panel h2,
.panel h3,
.panel p,
.panel li,
.panel strong,
.panel span {
  margin: 0;
}

.panel h2,
.panel h3,
.brand-name,
.nutrition-row strong {
  font-family: "Lucida Sans", "Lucida Grande", sans-serif;
}

.brand {
  grid-column: 1;
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  color: #d1bd6f;
  padding-top: 12px;
}

.brand-name {
  font-size: 27px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.brand-script {
  font-family: "Lucida Calligraphy", "Lucida Handwriting", cursive;
  font-style: italic;
  font-size: 24px;
  margin-bottom: 18px;
}

.brand-year {
  font-family: "Lucida Calligraphy", "Lucida Handwriting", cursive;
  font-style: italic;
  font-size: 22px;
  margin-bottom: 18px;
}

.brand-signature {
  font-size: 28px;
}

.ingredients-top {
  grid-column: 2 / span 2;
  grid-row: 1 / span 2;
  padding-top: 2px;
  font-family: "Myriad Variable Concept", "Light", sans-serif;
}

.ingredients-top h2 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}
.distribution h2 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}
.flavor-notes h2 {
  font-size: 12px;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 1px;
}

.ingredients-top p {
  font-size: 11px;
  line-height: 1.08;
}
.distribution p {
  font-size: 12px;
  line-height: 1.08;
}
.product-copy p {
  font-size: 11px;
  line-height: 1.2;
}
.nutrition-header p {
  font-size: 9px;
  line-height: 1.08;
}
.packaging p {
  font-size: 12px;
  line-height: 1.08;
}

.nutrition-header {
  grid-column: 4;
  grid-row: 1;
  padding-top: 40px;
  text-align: right;
  font-family: "Lucida Sans", "Lucida Grande", sans-serif;
}

.nutrition-header p:first-child {
  font-size: 9px;
}

.nutrition-header p:nth-child(2) {
  margin-top: 18px;
}

.nutrition-header p:nth-child(3) {
  margin-top: 18px;
}

.nutrition-header p:nth-child(4) {
  margin-top: 18px;
}

.nutrition-info {
  grid-column: 4;
  grid-row: 2 / span 3;
  padding-top: 7px;
  padding-left: 0;
  padding-right: 6px;
  font-family: "Myriad Variable Concept", "Lucida Sans", sans-serif;
}

.nutrition-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  margin-bottom: 12px;
}

.nutrition-row span {
  font-style: italic;
  font-weight: 700;
}

.nutrition-row strong {
  font-weight: 700;
}

.product-copy {
  grid-column: 1 / span 2;
  grid-row: 3 / span 2;
  padding-top: 12px;
  font-family: "Myriad Variable Concept", "Lucida Sans", sans-serif;
}

.product-copy h3 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.product-copy h2 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-copy p {
  max-width: 290px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.flavor-notes {
  margin-top: 18px;
}

.flavor-notes ul {
  margin-top: 4px;
  padding-left: 0;
  font-family: "Myriad Variable Concept", "Light", sans-serif;
  font-style: italic;
  color: #555;
}

.flavor-notes li {
  margin-bottom: 2px;
}

.distribution {
  grid-column: 2 / span 2;
  grid-row: 4 / span 2;
  padding-top: 10px;
  font-family: "Myriad Variable Concept", "Light", sans-serif;
}

.distributed-title {
  font-family: "Lucida Sans", "Lucida Grande", sans-serif;
  font-weight: 700;
}

.distribution .origin {
  margin-top: 14px;
}

.distribution h2:last-of-type {
  margin-top: 16px;
}

.packaging {
  grid-column: 4;
  grid-row: 5;
  display: flex;
  align-items: end;
  padding-bottom: 4px;
  font-family: "Myriad Variable Concept", "Light SemiExtended Italic", sans-serif;
  font-style: italic;
  color: #555;
  text-align: left;
}

#info {
  width: 700px;
  margin: 0 auto 40px auto;
  font-family: "Lucida Sans", "Lucida Grande", sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: #444;
}

@media (max-width: 760px) {
  #container,
  #info {
    width: calc(100% - 24px);
  }

  #container {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .brand,
  .ingredients-top,
  .nutrition-header,
  .nutrition-info,
  .product-copy,
  .distribution,
  .packaging {
    grid-column: auto;
    grid-row: auto;
  }

  .brand {
    min-height: 220px;
  }
}
