@charset "UTF-8";
/* ==============================================
* 📄 Page: Product Item (Mixin 미사용 버전)
* ============================================== */
.product-detail {
  width: 100%;
  z-index: 10;
  position: relative;
  display: flex;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .product-detail {
    flex-wrap: wrap;
  }
}
.product-detail .pd-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  overflow-x: auto;
  gap: 16px;
}
.product-detail .pd-right::-webkit-scrollbar {
  height: 10px;
}
.product-detail .pd-right::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 10px;
}
.product-detail .pd-right::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-dark);
}
@media (max-width: 768px) {
  .product-detail .pd-right {
    order: 1;
    width: 100%;
    flex-direction: row;
    overflow-x: scroll;
    flex-wrap: nowrap;
    white-space: nowrap;
    height: 320px;
    scroll-padding: 0 16px;
  }
}
.product-detail .pd-imgbox {
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
}
.product-detail .pd-imgbox img {
  width: 100%;
  height: 100%;
  max-height: 870px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 768px) {
  .product-detail .pd-imgbox {
    flex: 0 0 70%;
    min-width: 70%;
    scroll-snap-align: start;
  }
}
.product-detail .pd-left {
  position: sticky;
  width: 50%;
  top: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
}
@media (max-width: 768px) {
  .product-detail .pd-left {
    order: 2;
    position: static;
    width: 100%;
    height: auto;
  }
}
.product-detail .pd-left .pd-left-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 세로 중앙 */
  align-items: center;
}
.product-detail .pd-left .pd-info {
  padding: 50px;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 5px;
}
@media (max-width: 768px) {
  .product-detail .pd-left .pd-info {
    align-items: center;
    text-align: center;
    margin-bottom: 0;
  }
}
.product-detail .pd-left .pd-info .pd-color-picker {
  margin-top: 20px;
}
.product-detail .pd-left .pd-info .pd-color-label {
  font-weight: 600;
  margin-bottom: 16px;
}
.product-detail .pd-left .pd-info .pd-color-label .pd-color-name {
  font-weight: 400;
  color: var(--text-secondary);
}
.product-detail .pd-left .pd-info .pd-color-list {
  display: flex;
  gap: 16px;
}
@media (max-width: 768px) {
  .product-detail .pd-left .pd-info .pd-color-list {
    justify-content: center;
  }
}
.product-detail .pd-left .pd-info .pd-color-swatch {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-value);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.product-detail .pd-left .pd-info .pd-color-swatch::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.product-detail .pd-left .pd-info .pd-color-swatch:hover {
  transform: scale(1.1);
}
.product-detail .pd-left .pd-info .pd-color-swatch.--is-active::after {
  border-color: var(--primary);
}
.product-detail .pd-left .pd-info .pd-price {
  margin-top: 20px;
}
.product-detail .pd-left .pd-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 768px) {
  .product-detail .pd-left .pd-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
}

.image-detail {
  display: flex;
  flex-direction: column; /* 자식 요소들을 세로로 쌓음 */
  align-items: center; /* 자식 요소들을 가로축 중앙에 정렬 */
}