.product-cards-sections-mobile {
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.media-img,
.media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* default */
.media-video {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.product-cards-sections-mobile .product-card-main-container-mobile {
  padding: 6px;
  border-radius: 0px;
  border: 1px solid rgba(204, 204, 204, 0.3019607843);
  background: var(--bg-primary);
}

@media (min-width: 601px) and (max-width: 1024px) {
  .product-cards-sections-mobile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container {
  display: flex;
  gap: 6px;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-media-box {
  min-width: 76px;
  max-width: 76px;
  width: 76px;
  /* height: 72px; */
  display: flex;
  align-items: center;
  justify-items: center;
  background: #f6f4f1;
  border: 1px solid rgba(204, 204, 204, 0.3019607843);
  border-radius: 0px;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .product-price-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .product-price-container .product-title-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .product-price-container .product-tag.tag-r {
  background-color: #394498;
  color: var(--bg-primary) !important;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-600);
  font-size: var(--fz-12);
  color: var(--text-color);
  line-height: 120%;
  letter-spacing: 4%;
  border-radius: var(--br-2);
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .product-price-container .product-tag.tag-f {
  background-color: #f5d860;
  color: var(--text-color);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-600);
  font-size: var(--fz-12);
  color: var(--text-color);
  line-height: 120%;
  letter-spacing: 4%;
  border-radius: var(--br-2);
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .product-price-container .product-title {
  font-weight: var(--fw-500);
  font-size: var(--fz-14);
  color: var(--text-mega-title);
  line-height: 120%;
  letter-spacing: 4%;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .product-price-container .price-content {
  display: flex;
  align-items: end;
  flex-direction: column;
  padding-left: 17px;
  border-left: 1px solid rgba(204, 204, 204, 0.3019607843);
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .product-price-container .price-content .old-price {
  text-decoration: line-through;
  font-weight: var(--fw-500);
  font-size: var(--fz-12);
  color: #999999;
  letter-spacing: -5%;
  line-height: 100%;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .product-price-container .price-content .price {
  font-weight: var(--fw-500);
  font-size: var(--fz-16);
  color: var(--primary-color);
  letter-spacing: -5%;
  line-height: 100%;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container {
  background: #f3f4f5;
  border-radius: 0px;
  padding: 6px;
  width: 100%;
  display: flex;
  align-items: center;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container .carat-cut-container {
  width: 100%;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container .spec-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container .spec-row:nth-child(2) {
  width: 100%;
  margin-top: 6px;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container .spec-row .spec-title {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container .spec-row .spec-title2 {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container .spec-row .spec-title p {
  font-weight: var(--fw-400);
  font-size: 10px;
  color: #999999;
  line-height: 120%;
  letter-spacing: 4%;
  /* min-width: 46px; */
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container .spec-row p {
  font-weight: var(--fw-400);
  font-size: 10px;
  color: var(--text-mega-title);
  line-height: 120%;
  letter-spacing: 4%;
}

/* LEFT COLUMN (Carat, Color) */
.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container .carat-cut-container:first-child .spec-title p {
  min-width: 40px;
}

/* RIGHT COLUMN (Cut, Clarity) */
.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container .carat-cut-container:last-child .spec-title p {
  min-width: 46px;
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container .spec-row .spec-title .dot {
  width: 2px;
  height: 2px;
  background: rgba(204, 204, 204, 0.8);
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .spec-title2 .dot {
  width: 2px;
  height: 2px;
  background: rgba(204, 204, 204, 0.8);
}

.product-cards-sections-mobile .product-card-main-container-mobile .product-container .product-main-content .data-container .divider {
  width: 1px;
  height: 22px;
  background: rgba(204, 204, 204, 0.3019607843);
  margin: 0px 11px;
}

/* Card expand panel */
.product-card-main-container-mobile .card-expand-panel {
  max-height: 0;
  margin-top: 6px;
  padding: 0px;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.25s ease;
}

.product-card-main-container-mobile.open .card-expand-panel {
  max-height: 600px;
  opacity: 1;
}

@media (max-width: 1025px) {
  .expand-main-container-mobile {
    width: 100%;
    max-width: 100vw;
  }

  .padding-none {
    padding: 0px;
    padding-top: 6px;
  }

  .product-cards-sections-mobile .product-card-main-container-mobile {
    padding-bottom: 0px;
  }

  .expanded-card-mobile {
    width: 100%;
    border-radius: 0px;
    padding: 12px;
    border: 1px solid #cccccc33;
  }

  .card-bg {
    background: #f3f4f5 !important;
  }

  .expanded-card-mobile .expand-content-section {
    display: flex;
    gap: 10px;
  }

  .expanded-card-mobile .expand-content-section .image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 53px !important;
    height: 53px !important;
    border: 1px solid rgba(204, 204, 204, 0.3019607843);
    border-radius: 8px;
    background: #f6f4f1;
  }

  .expanded-card-mobile .expand-content-section .image-container img {
    width: 36px;
    height: 38px;
  }

  .expanded-card-mobile .expand-content-section .expand-title {
    color: var(--text-mega-title);
    font-weight: var(--fw-600);
    font-size: var(--fz-14);
    line-height: 120%;
    letter-spacing: 4%;
    padding-bottom: 0px;
  }

  .expanded-card-mobile .expand-content-section .expand-product-delivery-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
  }

  .expanded-card-mobile .expand-border-mobile {
    margin: 10px 0px;
    width: 100%;
    height: 1px;
    background: rgba(204, 204, 204, 0.3019607843);
  }

  .expanded-card-mobile .expand-content-section .expand-product-delivery-detail .expand-product-date-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(204, 204, 204, 0.3019607843);
    border-radius: var(--br-2);
    background: var(--bg-primary);
  }

  .expanded-card-mobile .expand-content-section .expand-product-delivery-detail .expand-product-date-content {
    color: #999999;
    font-weight: var(--fw-400);
    font-size: 10px;
    line-height: 120%;
    letter-spacing: 4%;
  }

  .expanded-card-mobile .expand-content-section .expand-product-delivery-detail .expand-product-date-content span {
    color: var(--text-mega-title);
    font-weight: var(--fw-500);
    font-size: 10px;
    line-height: 120%;
    letter-spacing: 4%;
  }

  .expanded-card-mobile .expand-data-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .expanded-card-mobile .expand-data-container .expand-data-divider {
    width: 1px;
    height: 60px;
    background: rgba(204, 204, 204, 0.3019607843);
  }

  .expanded-card-mobile .expand-data-container .expand-data-items {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  /* Row 1: "Measurements" + "L/W Ratio" + "Table" + "Depth"*/
  .expanded-card-mobile .expand-data-container .expand-data-items:nth-child(1) .data-title {
    min-width: 48px;
  }

  /* Row 2: "Cut" + "Polish" +  "Symmetry" + "Certificate"*/
  .expanded-card-mobile .expand-data-container .expand-data-items:nth-child(3) .data-title {
    min-width: 54px;
  }

  .expanded-card-mobile .expand-data-container .data-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4px;
  }

  .expanded-card-mobile .expand-data-container .data-container .data-title-container {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .expanded-card-mobile .expand-data-container .data-container .data-title {
    color: #999999;
    font-weight: var(--fw-400);
    font-size: 10px;
    line-height: 120%;
    letter-spacing: 4%;
  }

  .expanded-card-mobile .expand-data-container .data-container .data-title-container .data-dot {
    width: 2px;
    height: 2px;
    background: rgba(133, 133, 133, 0.8);
  }

  .expanded-card-mobile .expand-data-container .data-container .data-value {
    color: var(--text-mega-title);
    font-weight: var(--fw-400);
    font-size: 10px;
    line-height: 120%;
    letter-spacing: 2%;
  }

  /* button section */
  .expand-main-container-mobile .expand-button-section {
    padding-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: auto;
    padding-bottom: 6px;
  }

  .expand-main-container-mobile .expand-button-section .setting-button {
    background-color: var(--text-mega-title);
    border-radius: var(--br-4);
    font-size: var(--fz-12) !important;
    font-weight: var(--fw-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fefefe;
    border: none;
    height: 36px;
    max-height: 36px;
    width: 45%;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.0509803922);
    transition: all 0.5s ease-in-out;
  }

  .expand-main-container-mobile .expand-button-section .detail-button {
    border: 1px solid var(--text-mega-title);
    border-radius: var(--br-4);
    background: transparent;
    width: 45%;
    min-height: 36px;
    font-size: var(--fz-12) !important;
    font-weight: var(--fw-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mega-title);
  }

  .expand-main-container-mobile .expand-button-section .setting-button:hover {
    background-color: #044a59;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.0509803922);
  }

  .expand-main-container-mobile .expand-button-section .cart-button:hover {
    background-color: #044a59;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.0509803922);
  }

  .expand-main-container-mobile .expand-button-section .detail-button:hover {
    background-color: #f3f4f5;
    /* box-shadow: 0px 4px 20px 0px #00000040; */
  }

  .expand-main-container-mobile .expand-button-section .detail-button:active {
    background-color: #f3e9da;
  }
}

@media (min-width: 1025px) {
  .expand-main-container-mobile {
    display: none;
  }
}

@media screen and (max-width: 370px) {
  .expanded-card-mobile .expand-data-container .data-container .data-value {
    letter-spacing: -5%;
  }
}