.container {
	display: flex;
	gap: 20px;
}
.left {
	width: 50%;
}
.right {
	width: 50%;
}
.main-image {
	width: 100%;
	max-height: 500px;
	object-fit: cover;
}
.thumbnails {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}
.thumbnail {
	width: 80px;
	height: 80px;
	object-fit: cover;
	cursor: pointer;
}
.product-info, .purchase-info {
	padding: 20px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.purchase-info {
	margin-top: 20px;
}
.product-name {
	font-size: 24px;
	font-weight: bold;
}
.product-description {
	margin-top: 10px;
	font-size: 16px;
	color: #555;
}
.option {
	margin-top: 20px;
}
.option select {
	padding: 5px;
	width: 100%;
}
.purchase-line ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-bottom: 1px solid #ddd;
}

.purchase-line .purchase-name {
  flex: 1;
  max-width: 500px;
  overflow: hidden;
}

.purchase-line .scrollable-text {
  overflow-x: auto;
  white-space: nowrap;
}

.purchase-line .scrollable-text::-webkit-scrollbar {
  height: 4px;
}
.purchase-line .scrollable-text::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 2px;
}

.purchase-line .price {
  width: 120px;
  text-align: right;
  white-space: nowrap;
}

.purchase-line .qty input {
  width: 60px;
}

.purchase-line .remove button {
  width: 32px;
  height: 32px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
.sub-style-view-box .sub-style-layout + .sub-style-layout{
    margin-top: 60px;
}
.sub-style-view-box .sub-style-layout .left-con{
    width: calc(70% - 64px);
    margin-right: 60px;
    display: inline-block;
}
.sub-style-view-box .sub-style-layout .right-con{
    width: 30%;
    display: inline-block;
    vertical-align: top;
}

.sub-style-layout .right-con .style-product-list .style-product-lnk{
    display: block;
}
.sub-style-layout .right-con .style-product-list + .style-product-list{
    border-top: 1px dashed #eee;
    padding-top: 20px;
    margin-top: 20px;
}
.sub-style-view-box .sub-style-layout .right-con .style-product-lnk .style-product-img{
    max-width: 160px;
    display: inline-block;
    vertical-align: middle;
}
.sub-style-view-box .sub-style-layout .right-con .style-product-lnk .style-product-txt{
    word-break: keep-all;
    width: calc(100% - 184px);
    display: inline-block;
    margin-left: 20px;
    vertical-align: middle;
}

@media screen and (max-width: 992px) {
    .sub-style-view-box .sub-style-layout .left-con{
        width: 100%;
        margin-right: 0px;
        display: block;
    }
    .sub-style-view-box .sub-style-layout .right-con{
        margin-top: 20px;
        width: 100%;
        display: block;
    }
    .sub-style-view-box .sub-style-layout .right-con .style-product-lnk .style-product-img{
        width: 40%;
        display: inline-block;
    }
    .sub-style-view-box .sub-style-layout .right-con .style-product-lnk .style-product-txt{
        width: calc(60% - 24px);
        margin-left: 20px;
        display: inline-block;
    }
}
