/**
 * ========================================
 * // single
 * ========================================
 */

.single-upper {
  display: flex;
  width: 100%;
  gap: 85px;
  overflow-x: hidden !important;
  margin-top: 60px;
}

@media screen and (min-width: 1280px) and (max-width: 1441px) {
  .single-upper {
    margin-top: 85px;
    gap: 70px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .single-upper {
    margin-top: 70px;
    gap: 100px;
    flex-direction: column;
  }
}

@media screen and (max-width: 767px) {
  .single-upper {
    margin-top: 35px;
    gap: 60px;
    flex-direction: column;
  }
}

/**
 * ========================================
 * // Upper box Image
 * ========================================
 */

.single-left-box {
  max-width: 40%;
  width: 100%;
}

.product-gallery {
  width: 100%;
  min-width: 0;
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 40px;
  background: #f5f5f5;
}

.product-gallery-main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.product-gallery-main-image.is-fading {
  animation: galleryFadeIn 0.25s ease;
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.product-gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
}

.product-gallery-thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #f5f5f5;
  cursor: pointer;
}

.product-gallery-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.product-gallery-thumbnail:hover img {
  opacity: 0.6;
}

.product-gallery-thumbnail.is-active:hover img {
  opacity: 1;
}

.product-gallery-thumbnail.is-active {
  border-color: #2c368b;
}

.product-gallery-thumbnail:focus-visible {
  outline: 2px solid #2c368b;
  outline-offset: 3px;
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .single-left-box {
    max-width: 580px;
    width: 100%;
    margin: auto;
  }

  .product-gallery-thumbnails {
    gap: 12px;
    margin-top: 25px;
  }
}

@media screen and (max-width: 767px) {
  .single-left-box {
    max-width: 280px;
    width: 100%;
    margin: auto;
  }

  .product-gallery-main {
    border-radius: 25px;
  }

  .product-gallery-thumbnails {
    gap: 12px;
    margin-top: 25px;
  }

  .product-gallery-thumbnail {
    border-radius: 8px;
  }
}

/**
 * ========================================
 * // Upper box Text
 * ========================================
 */

.single-right-box {
  max-width: 60%;
  width: 100%;
}

.single-right-upper {
  margin-top: 20px;
}

.single-right-upper img {
  height: 90px;
}

.single-title {
  font-size: 46px;
  font-weight: 600;
  margin: 20px 0;
}

.single-price {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-bottom: 30px;
}

.single-price-text {
  padding: 8px;
  border: solid 2px;
  border-radius: 6px;
}

.single-price-text p {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.single-price-number p {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.single-long-caption {
  margin: 0;
  padding-top: 30px;
  border-top: solid 3px #46a7de;
}

.single-long-caption p,
.single-long-caption span {
  font-size: 20px;
  color: #4d4d4d;
  font-weight: 600 !important;
  margin: 0;
  line-height: 1.4;
}

.single-right-lower {
  display: flex;
  margin-top: 40px;
  align-items: center;
  gap: 50px;
}

.single-certified p {
  font-size: 40px;
  font-style: italic;
  font-weight: 700;
  margin: 0;
  color: #2c368b;
}

.single-certification {
  display: flex;
  width: 100%;
  gap: 25px;
  align-items: center;
}

.certif-01 {
  max-width: 70px;
  width: 100%;
  height: auto;
}

.certif-02 {
  max-width: 40px;
  width: 100%;
  height: auto;
}

.certif-03 {
  max-width: 80px;
  width: 100%;
  height: auto;
}

.certif-04 {
  max-width: 52px;
  width: 100%;
  height: auto;
}

.single-right-buttons {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.product-buttons {
  display: flex;
  flex-direction: row;
  border-radius: 50px;
  max-width: 85%;
  width: 100%;
  padding: 12px 20px;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

#product-button-shopee,
#product-button-wa {
  max-width: 50%;
  width: 100%;
}

.orange-shopee {
  background-color: #ff6501;
}

.green-wa {
  background-color: #77bc3f;
}

.orange-shopee:hover {
  background-color: #2c358a;
  border-radius: 50px;
  transition: background-color 0.3s ease-in-out;
}

.green-wa:hover {
  background-color: #2c358a;
  border-radius: 50px;
  transition: background-color 0.3s ease-in-out;
}

.product-buttons p {
  margin: 0;
  max-width: 80%;
  width: 100%;
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
}

.product-buttons img {
  margin: 0;
  max-width: 20%;
  height: 30px;
}

@media screen and (min-width: 1280px) and (max-width: 1441px) {
  .single-right-upper img {
    height: 80px;
  }

  .single-title {
    font-size: 40px;
  }

  .single-price {
    gap: 15px;
    padding-bottom: 25px;
  }

  .single-price-text {
    padding: 6px 8px;
  }

  .single-price-text p {
    font-size: 14px;
  }

  .single-price-number p {
    font-size: 28px;
  }

  .single-long-caption {
    padding-top: 25px;
  }

  .single-long-caption p,
  .single-long-caption span {
    font-size: 18px;
  }

  .single-right-lower {
    margin-top: 30px;
    gap: 35px;
  }

  .single-certified p {
    font-size: 36px;
  }

  .single-certification {
    display: flex;
    width: 100%;
    gap: 25px;
    align-items: center;
  }

  .certif-01 {
    max-width: 65px;
  }

  .certif-02 {
    max-width: 35px;
  }

  .certif-03 {
    max-width: 75px;
  }

  .certif-04 {
    max-width: 47px;
  }

  .single-right-buttons {
    gap: 15px;
    margin-top: 30px;
  }

  .product-buttons {
    padding: 10px 18px;
  }

  .product-buttons p {
    font-size: 22px;
  }

  .product-buttons img {
    height: 28px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .single-right-box {
    max-width: 580px;
    width: 100%;
    margin: auto;
    text-align: center;
  }

  .single-right-upper {
    margin-top: 0px;
    margin: auto;
  }

  .single-right-upper img {
    height: 80px;
  }

  .single-title {
    font-size: 40px;
  }

  .single-price {
    gap: 15px;
    padding-bottom: 25px;
    justify-content: center;
  }

  .single-price-text {
    padding: 6px 8px;
  }

  .single-price-text p {
    font-size: 14px;
  }

  .single-price-number p {
    font-size: 28px;
  }

  .single-long-caption {
    padding-top: 25px;
  }

  .single-long-caption p,
  .single-long-caption span {
    font-size: 18px;
    text-align: justify;
  }

  .single-right-lower {
    margin-top: 30px;
    gap: 35px;
  }

  .single-certified p {
    font-size: 32px;
  }

  .single-certification {
    display: flex;
    width: 100%;
    gap: 25px;
    align-items: center;
  }

  .certif-01 {
    max-width: 60px;
  }

  .certif-02 {
    max-width: 30px;
  }

  .certif-03 {
    max-width: 70px;
  }

  .certif-04 {
    max-width: 42px;
  }

  .single-right-buttons {
    gap: 15px;
    margin-top: 30px;
  }

  .product-buttons {
    padding: 10px 18px;
  }

  .product-buttons p {
    font-size: 20px;
  }

  .product-buttons img {
    height: 28px;
  }
}

@media screen and (max-width: 767px) {
  .single-right-box {
    max-width: 320px;
    width: 100%;
    margin: auto;
    text-align: center;
  }

  .single-right-upper {
    margin-top: 0px;
    margin: auto;
  }

  .single-right-upper img {
    height: 55px;
  }

  .single-title {
    font-size: 28px;
    margin: 15px 0;
  }

  .single-price {
    gap: 15px;
    padding-bottom: 18px;
    justify-content: center;
  }

  .single-price-text {
    padding: 6px 8px;
  }

  .single-price-text p {
    font-size: 10px;
  }

  .single-price-number p {
    font-size: 20px;
  }

  .single-long-caption {
    padding-top: 18px;
  }

  .single-long-caption p,
  .single-long-caption span {
    font-size: 14px;
    text-align: justify;
    line-height: 1.2;
  }

  .single-right-lower {
    margin-top: 20px;
    gap: 15px;
  }

  .single-certified p {
    font-size: 20px;
  }

  .single-certification {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
  }

  .certif-01 {
    max-width: 45px;
  }

  .certif-02 {
    max-width: 23px;
  }

  .certif-03 {
    max-width: 50px;
  }

  .certif-04 {
    max-width: 28px;
  }

  .single-right-buttons {
    gap: 6px;
    margin-top: 25px;
  }

  .product-buttons {
    padding: 8px 11px;
  }

  .product-buttons p {
    font-size: 14px;
  }

  .product-buttons img {
    height: 18px;
  }
}

/**
 * ========================================
 * // Recommendations
 * ========================================
 */

.single-lower {
  margin-top: 150px;
}

.single-recommend {
  font-size: 46px;
  font-weight: 700;
}

.single-lineup-recommend {
  margin: 60px 0 120px 0;
  gap: 100px;
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
}

/* Start here */

.single-product-lineup-card {
  flex: 0 0 392px;
  width: 392px;
  min-width: 392px;
  max-width: 392px;
  height: 526px;
  filter: drop-shadow(9px 9px 6px rgba(0, 0, 0, 0.3));
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 28px;
}

.single-product-lineup-innercard {
  display: flex;
  flex-direction: column;
  max-width: 356px;
  width: 100%;
  height: 490px;
  justify-content: center;
}

.single-product-lineup-innercard img {
  height: 45%;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  object-fit: cover;
  object-position: center;
}

.single-product-lineup-innercard-lower {
  padding: 25px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 55%;
  justify-content: space-between;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

.single-lower-row-1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
}

.single-lower-row-above {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}

.single-lower-row-above p {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.single-lower-row-above img {
  height: 30px;
  width: auto;
  border-radius: 0 !important;
}

.single-lower-row-under {
  width: 100%;
}

.single-lower-row-under p {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}

.single-lower-row-2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.single-lower-row-price {
  max-width: 50%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.single-price-text1 {
  font-size: 12px;
  font-weight: 700;
  color: #4d4d4d;
  margin: 0;
}

.single-price-text2 {
  font-size: 20px;
  font-weight: 700;
  color: #2c368b;
  margin: 0;
}

.single-lower-row-button-a {
  max-width: 140px;
  width: 100%;
}

.single-lower-row-button {
  max-width: 140px;
  width: 100%;
  padding: 12px 0;
  text-align: center;
  background: #2c368b;
  border-radius: 50px;
}

.single-lower-row-button p {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* END HERE */

/* .single-product-lineup-card {
  flex: 0 0 392px;
  width: 392px;
  min-width: 392px;
  max-width: 392px;
  height: 526px;
  filter: drop-shadow(10px 10px 7px rgba(0, 0, 0, 0.3));
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 28px;
  scroll-snap-align: start;
}

.single-product-lineup-innercard {
  display: flex;
  flex-direction: column;
  max-width: 356px;
  width: 100%;
  height: 490px;
  justify-content: center;
}

.single-product-lineup-innercard img {
  height: 45%;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  object-fit: cover;
  object-position: center;
}

.single-product-lineup-innercard-lower {
  padding: 25px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 55%;
  justify-content: space-between;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

.single-lower-row-1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
}

.single-lower-row-above {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}

.single-lower-row-above p {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.single-lower-row-above img {
  height: 30px;
  width: auto;
  border-radius: 0 !important;
}

.single-lower-row-under {
  width: 100%;
}

.single-lower-row-under p {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}

.single-lower-row-2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.single-lower-row-price {
  max-width: 50%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.single-price-text1 {
  font-size: 12px;
  font-weight: 700;
  color: #4d4d4d;
  margin: 0;
}

.single-price-text2 {
  font-size: 20px;
  font-weight: 700;
  color: #2c368b;
  margin: 0;
}

.single-lower-row-button-a {
  max-width: 140px;
  width: 100%;
}

.single-lower-row-button {
  max-width: 140px;
  width: 100%;
  padding: 12px 0;
  text-align: center;
  background: #2c368b;
  border-radius: 50px;
}

.single-lower-row-button p {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
} */

#single-back-button {
  display: flex;
  border-radius: 50px;
  max-width: 460px;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin: 0 auto 120px auto;
}

.back-button {
  background-color: #46a7de;
  padding: 30px 60px;
  border-radius: 50px;
}

.back-button p {
  margin: 0;
  max-width: 100%;
  width: 100%;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
}

.back-button:hover {
  background-color: #2c358a;
  border-radius: 50px;
  transition: background-color 0.3s ease-in-out;
}

@media screen and (min-width: 1280px) and (max-width: 1441px) {
  .single-lineup-recommend {
    margin: 60px 0 100px 0;
    gap: 90px;
  }

  .single-product-lineup-card {
    flex: 0 0 300px;
    width: 300px;
    min-width: 300px;
    max-width: 300px;

    height: 430px;
  }

  .single-product-lineup-innercard {
    max-width: 273px;
    width: 100%;

    height: 403px;
  }

  .single-lower-row-1 {
    gap: 10px;
  }

  .single-lower-row-above p {
    font-size: 20px;
  }

  .single-lower-row-above img {
    height: 28px;
  }

  .single-lower-row-under p {
    font-size: 14px;
  }

  .single-lower-row-2 {
    align-items: FLEX-END;
  }

  .single-lower-row-price {
    max-width: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .single-price-text2 {
    font-size: 16px;
  }

  .single-lower-row-button p {
    font-size: 12px;
  }

  #single-back-button {
    max-width: 460px;
    margin: 0 auto 100px auto;
  }

  .back-button {
    padding: 25px 50px;
  }

  .back-button p {
    font-size: 24px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .single-lower {
    margin-top: 120px;
  }

  .single-recommend {
    font-size: 36px;
    text-align: center;
  }

  .single-lineup-recommend {
    flex-direction: column;
    gap: 60px;
    align-items: center;
    margin: 60px 0 80px 0;
  }

  .single-product-lineup-card {
    flex: 0 0 392px;
    width: 392px;
    min-width: 392px;
    max-width: 392px;
    height: 526px;
    min-height: 526px;
    max-height: 526px;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .single-product-lineup-innercard {
    max-width: 356px;
    width: 100%;
    height: 490px;
    min-height: 490px;
    max-height: 490px;
    box-sizing: border-box;
  }

  .single-lower-row-1 {
    gap: 10px;
  }

  .single-lower-row-above p {
    font-size: 20px;
  }

  .single-lower-row-above img {
    height: 28px;
  }

  .single-lower-row-under p {
    font-size: 14px;
  }

  .single-lower-row-2 {
    align-items: FLEX-END;
  }

  .single-lower-row-price {
    max-width: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .single-price-text2 {
    font-size: 16px;
  }

  .single-lower-row-button p {
    font-size: 12px;
  }

  #single-back-button {
    max-width: 460px;
    margin: 0 auto 80px auto;
  }

  .back-button {
    padding: 25px 50px;
  }

  .back-button p {
    font-size: 24px;
  }
}

@media screen and (max-width: 767px) {
  .single-lower {
    margin-top: 85px;
  }

  .single-recommend {
    font-size: 26px;
    text-align: center;
  }

  .single-lineup-recommend {
    flex-direction: column;
    gap: 45px;
    align-items: center;
    margin: 30px 0 60px 0;
  }

  .single-product-lineup-card {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;

    height: 415px;
    min-height: 415px;
    max-height: 415px;
    aspect-ratio: 392 / 526;

    scroll-snap-align: center;
  }

  .single-product-lineup-innercard {
    width: 255px;
    min-width: 255px;
    max-width: 255px;

    height: 390px;
    min-height: 390px;
    max-height: 390px;
  }

  .single-lower-row-1 {
    gap: 10px;
  }

  .single-lower-row-above p {
    font-size: 20px;
  }

  .single-lower-row-above img {
    height: 28px;
  }

  .single-lower-row-under p {
    font-size: 14px;
  }

  .single-lower-row-2 {
    align-items: FLEX-END;
  }

  .single-lower-row-price {
    max-width: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .single-price-text1 {
    display: none;
  }

  .single-price-text2 {
    font-size: 16px;
  }

  .single-lower-row-button p {
    font-size: 12px;
  }

  #single-back-button {
    max-width: 240px;
    margin: 0 auto 60px auto;
  }

  .back-button {
    padding: 15px 25px;
  }

  .back-button p {
    font-size: 18px;
  }
}
