#main {
	text-align: left;
	padding: 160px 0 1% 1%;
	width: 98%;
}

#main .header {
	margin-top: 0;
}

#main .header h2 {
	font-family: 'Spoqa Han Sans Neo', 'sans-serif';
	font-style: normal;
	font-weight: 500;
	font-size: 24px;
	color: #4f4f4f;
}

#main .header h2 img {
	width: auto;
	height: 30px;
	vertical-align: middle;
}

#main .content {
	margin-top: 60px;
}

/* page: cart.aspx - migrated from inline styles */
.empty-message.cart-hidden,
#cart-action.cart-hidden { display: none; }

#main .content .block {
	margin-top: 60px;
}

#main .content .block h3 {
	font-family: 'Spoqa Han Sans Neo', 'sans-serif';
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	color: #4f4f4f;
	padding-bottom: 10px;
	border-bottom: 1px solid #767995;
}

#cart-list h3 {
	width: 100%;
	margin-bottom: 20px;
}

#cart-list .cart-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

#cart-list .cart-controls .select-all {
	display: flex;
	align-items: center;
	gap: 8px;
}

#cart-list .cart-controls .select-all input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	cursor: pointer;
	accent-color: #0073e6;
}

#cart-list .cart-controls .select-all label {
	font-family: 'Spoqa Han Sans Neo', 'sans-serif';
	font-size: 14px;
	color: #333333;
	cursor: pointer;
	margin: 0;
}

#cart-list .cart-controls .delete-selected {
	text-align: right;
}

#cart-list .cart-controls .delete-selected a {
	font-family: 'Spoqa Han Sans Neo', 'sans-serif';
	font-size: 14px;
	color: #767995;
	text-decoration: none;
	cursor: pointer;
}

#cart-list .cart-controls .delete-selected a:hover {
	color: #4f4f4f;
	text-decoration: underline;
}

#cart-list .cart-content-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-start;
}

#cart-list .list {
	flex: 1;
	width: 0;
	display: flex;
	flex-direction: column;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px;
	background-color: #ffffff;
}

#cart-list .sum {
	flex: 0 0 35%;
	min-width: 300px;
	margin-top: 0;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px;
	background-color: #ffffff;
	font-family: 'Spoqa Han Sans Neo', 'sans-serif';
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	color: #4f4f4f;
	align-self: flex-start;
}

#cart-list .sum p {
	display: flex;
	justify-content: space-between;
	margin: 0 0 12px 0;
	padding: 0;
	font-size: 14px;
	color: #4f4f4f;
}

#cart-list .sum p:last-child {
	margin-bottom: 0;
}

#cart-list .sum .sum-total {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e0e0e0;
	font-size: 18px;
	font-weight: 500;
	color: #333333;
}

#cart-list .sum .sum_price {
	font-weight: 500;
	color: #333333;
	text-align: right;
}

#cart-list .sum .sum-total .sum_price {
	font-size: 18px;
	font-weight: 600;
	color: #333333;
}

#cart-list .row {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 8px 0 12px 0;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

#cart-list .row:last-child {
	border-bottom: none;
}

#cart-list .thumb {
	flex: 0 0 auto;
	flex-shrink: 0;
}

#cart-list .thumb img {
	max-width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
}

#cart-list .body {
	flex: 1;
	min-width: 0;
	padding-right: 44px;
	overflow-wrap: break-word;
	word-break: break-word;
	overflow-x: hidden;
}

#cart-list .body p {
	margin: 0 0 4px 0;
}

#cart-list .body p:last-child {
	margin-bottom: 0;
}

#cart-list .body .title {
	font-weight: 700;
}

#cart-list .body .subject {
	display: flex;
	align-items: flex-start;
	margin-bottom: 8px;
}

#cart-list .body .subject a {
	font-weight: 600;
	font-size: 16px;
	color: #333333;
	text-decoration: none;
	outline: none;
	flex: 1;
	min-width: 0;
	overflow-wrap: break-word;
	word-break: break-word;
}

#cart-list .row .delete-link {
	position: absolute;
	top: 20px;
	right: 20px;
	font-weight: normal;
	font-size: 14px;
	color: #767995;
	text-decoration: none;
	cursor: pointer;
	z-index: 10;
}

#cart-list .row .delete-link:hover {
	color: #4f4f4f;
	text-decoration: underline;
}

#cart-list .body .subject:hover, #cart-list .body .subject:active {
	text-decoration: none;
}

#cart-list .body span {
	font-family: 'Spoqa Han Sans Neo', 'sans-serif';
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
	color: #767995;
	overflow-wrap: break-word;
	word-break: break-word;
}

#cart-list .checkbox {
	display: flex;
	align-items: flex-start;
	padding-top: 8px;
	flex: 0 0 auto;
	flex-shrink: 0;
	width: auto;
}

#cart-list .row .checkbox,
#cart-list .row .checkbox.col-md-1 {
	flex: 0 0 auto;
	flex-shrink: 0;
	width: auto !important;
	max-width: none !important;
}

#cart-list .row .thumb,
#cart-list .row .thumb.col-md-2 {
	flex: 0 0 auto;
	flex-shrink: 0;
	width: auto !important;
	max-width: none !important;
}

#cart-list .row .body,
#cart-list .row .body.col-md-8 {
	flex: 1;
	min-width: 0;
	width: auto !important;
	max-width: none !important;
}

#cart-list .checkbox input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	cursor: pointer;
	accent-color: #0073e6;
	appearance: none;
	-webkit-appearance: none;
	border: 2px solid #c1c4cc;
	border-radius: 4px;
	background-color: #ffffff;
	position: relative;
}

#cart-list .checkbox input[type="checkbox"]:checked {
	background-color: #0073e6;
	border-color: #0073e6;
}

#cart-list .checkbox input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 10px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

#cart-list .body .option {
	margin-top: 4px;
	margin-bottom: 4px;
}

#cart-list .body .option .title {
	font-weight: normal;
	font-size: 14px;
	color: #767995;
}

#cart-list .body .count,
#cart-list .body .price,
#cart-list .body .delivery {
	font-size: 14px;
	color: #4f4f4f;
	margin: 4px 0;
}

#cart-list .body .count .title,
#cart-list .body .price .title,
#cart-list .body .delivery .title {
	font-weight: 500;
	margin-right: 8px;
}

#cart-list .body .price .value,
#cart-list .body .delivery .value {
	font-weight: 500;
	color: #333333;
}

#cart-list .quantity-control {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

#cart-list .quantity-control input {
	width: 50px;
	text-align: center;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 6px 4px;
	font-size: 14px;
	font-family: 'Spoqa Han Sans Neo', 'sans-serif';
}

#cart-list .quantity-control button {
	background: #f5f5f5;
	color: #333333;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 6px 12px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	min-width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#cart-list .quantity-control button:hover {
	background: #e8e8e8;
	border-color: #c1c4cc;
}

#cart-list .delete-btn {
	display: none;
}

#main .action {
	text-align: center;
	margin-top: 80px;
}

.empty-message {
	font-family: 'Spoqa Han Sans Neo', 'sans-serif';
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	color: #4f4f4f;
	text-align: center;
	margin-top: 60px;
	padding: 20px;
}

@media (max-width: 600px) {
	#main {
		text-align: left;
		padding: 160px 5% 1% 5%;
		width: 90%;
	}
	
	#cart-list .row .checkbox,
	#cart-list .row .checkbox.col-md-1,
	#cart-list .row .thumb,
	#cart-list .row .thumb.col-md-2,
	#cart-list .row .body,
	#cart-list .row .body.col-md-8 {
		width: auto !important;
		max-width: none !important;
	}
}

@media (max-width: 500px) {
	#cart-list .row {
		flex-direction: column;
	}
	
	#cart-list .row .checkbox,
	#cart-list .row .checkbox.col-md-1 {
		margin-bottom: 8px;
		width: auto !important;
	}
	
	#cart-list .row .thumb,
	#cart-list .row .thumb.col-md-2 {
		margin-bottom: 12px;
		width: auto !important;
	}
	
	#cart-list .row .body,
	#cart-list .row .body.col-md-8 {
		width: 100% !important;
	}
	
	#cart-list .body p.count,
	#cart-list .body p.price,
	#cart-list .body p.delivery {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start;
		gap: 2px;
	}
	
	#cart-list .body p.count .title,
	#cart-list .body p.price .title,
	#cart-list .body p.delivery .title {
		margin-right: 0 !important;
	}
}

@media (max-width: 992px) {
	#cart-list .list {
		flex: 1 1 100%;
		width: 100%;
	}
	
	#cart-list .sum {
		flex: 1 1 100%;
		min-width: 100%;
	}
	
	#cart-list .row .checkbox,
	#cart-list .row .checkbox.col-md-1,
	#cart-list .row .thumb,
	#cart-list .row .thumb.col-md-2,
	#cart-list .row .body,
	#cart-list .row .body.col-md-8 {
		width: auto !important;
		max-width: none !important;
	}
}

@media (max-width: 768px) {
	#cart-list .row .checkbox,
	#cart-list .row .checkbox.col-md-1,
	#cart-list .row .thumb,
	#cart-list .row .thumb.col-md-2,
	#cart-list .row .body,
	#cart-list .row .body.col-md-8 {
		width: auto !important;
		max-width: none !important;
	}
}

@media (max-width: 400px) {
	#cart-list .row {
		flex-direction: column;
	}
	
	#cart-list .row .checkbox,
	#cart-list .row .checkbox.col-md-1 {
		margin-bottom: 8px;
		width: auto !important;
	}
	
	#cart-list .row .thumb,
	#cart-list .row .thumb.col-md-2 {
		margin-bottom: 12px;
		width: auto !important;
	}
	
	#cart-list .row .body,
	#cart-list .row .body.col-md-8 {
		width: 100% !important;
	}
}