@font-face {
  font-family: 'NotoSerifDisplayExtraCondensed';
  src: url('/assets/fonts/NotoSerifDisplay-Regular.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "AvantGarde-Book";
  src:  url("/assets/fonts/ICTAvantGarde/AvantGarde-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

.choco-overlay {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #efeceb;
}

.choco-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.choco-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transform: scale(1.2);
  transition: transform 0.3s ease-in-out;
}

.choco-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 100px auto;
  padding: 40px 40px 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  color: #b29a60;
}

.choco-left {
  max-width: 500px;
  flex: 1 ;
  margin-top: -6px;
}

.choco-left > p {
  text-align: justify;
}
.choco-left > p + p{
  margin-top: 20px;
}

.choco-info a {
  text-decoration: none;
  color: #b29a60;
}

.choco-price {
    display: flex;
    gap: 15px;
    white-space: nowrap;
}

.choco-price span {
  text-shadow: 0.3px 0 0 currentColor, -0.3px 0 0 currentColor;
  letter-spacing: 0.6px;
}

.choco-flavors {
  display: flex;
  gap: 10px;
}

.choco-flavor-item {
  position: relative;
  height: auto;
  margin: 20px 0 0;
}

.choco-flavor-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.choco-preorder {
  color: #b29a60;
  display: inline-flex;
  align-items: center;
  padding-top: 20px;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: all 0.3s ease;
}

.choco-preorder i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.choco-preorder:hover {
  transform: translateY(-2px);
}

.choco-preorder:hover i {
  transform: translateX(2px);
}

.choco-image-mobile {
  display: none;
  text-align: center;
  margin-top: 20px;
}

.choco-image-mobile img {
  width: 80%;
  height: auto;
  max-width: 300px;
  object-fit: cover;
  border-radius: 6px;
}

@media (min-width: 601px) and (max-width: 1024px) {
  .choco-container {
    flex-direction: column;
    padding: 45px 20px;
    right: 0;
  }

  .choco-left {
    max-width: 100%;
    margin-left: 0;
    margin-top: 30px;
  }

  #choco-title {
    font-size: 2.4rem;
  }

  .choco-description, .choco-info {
    max-width: 43%;
    max-height: none;
    overflow: visible;
  } 

  .choco-flavors {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .choco-flavor-item {
    flex: 1 1 45%;
    text-align: center;
  }

  .choco-flavor-item img {
    width: 70%;
    height: auto;
    object-fit: cover;
    margin-right: 50%;
  }

  .choco-price span {
    font-size: 13px;
  }


  .choco-background {
    width: 100%;
    height: auto;
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
  }
}

@media (max-width: 900px) {
  .choco-container {
    flex-direction: column;
    padding: 40px 15px;
  }
  .choco-left {
    max-width: 100%;
  }
  #choco-title {
    margin-top: 30px;
    font-size: 2.2rem;
  }
  .choco-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 10%; 
  display: block;
  }

.choco-price {
  display: flex; 
  gap: 12px;
  white-space: nowrap;  
  font-weight: 400;
  margin-bottom: 15px;
  }

.choco-price span {
  font-weight: 400;
  font-size: 13px;
  }
.choco-flavor-item img {
  width: 50%;
  height: auto;
  object-fit: cover;
  }
}

@media (max-width: 768px) {
  .choco-price {
    flex-wrap: wrap;
    gap: 1px;
    padding-top: 45px;
    line-height: 0.7em;

  }
}

@media (max-width: 600px) {
  .choco-container {
    flex-direction: column;
    padding: 0;
    margin: 96px auto 30px;
    right: 0;
  }

  .choco-background {
    position: relative;
  }

  .choco-background img {
    position: relative;
    right: 90px;
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: 50% 10%;
    display: block;
    transform: scale(1.7);
  }

  .choco-left {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0;
  }

  #choco-title {
    font-size: 15px;
    margin: 14px 0 18px 0;
    letter-spacing: 0.2em;
  }

  .choco-description, .choco-info {
    max-width: 100%;
    max-height: none;
    overflow: visible;
  }

  #choco-title, .choco-description, 
  .choco-info, .choco-price, 
  .choco-description, .choco-preorder {
    padding: 0 20px 0 20px;
    order: 2;
    margin:20px 0  0;
  }

  .choco-flavors {
    flex-direction: column;
    gap: 20px;
  }

  .choco-flavor-item {
    flex: 1 1 100%;
    text-align: center;
    order: 1;
    margin-top: 0;
  }

  .choco-flavor-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .choco-price {
    display: block;
    flex-wrap: nowrap;
    padding-top: 0px;
    margin: 0 0;
    line-height: 1.5em;
  }

  .choco-price span {
    font-size: 12px;
    padding: 0 15px 0 0;
  }

  .choco-price br {
    display: none;
  }

}

@media (max-width: 480px) {
  #choco-title h2{
    font-size: 15px;
    margin-top: 100px;
  }

  .choco-description,
  .choco-info {
    font-size: 12px;
    line-height: 1.5;
  }

  .choco-background img {
    position: relative;
    right: 110px;
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: 50% 10%;
    display: block;
    transform: scale(2);
  }

  .choco-container{
    margin-top: 100px;
  }

  .choco-flavors {
    gap: 15px;
  }

  .choco-preorder {
    margin-top: 15px;
  }
}
