@charset "utf-8";

.main .cart {
	margin-top: 20px;
}

.cart .red {
	color: #c00 !important;
}

/* 商品 */
/* 商品標題 */
.cart .th-border {
	display: flex;
}

.cart .th-border > .items:nth-child(1) {
	flex: 1;
}

.cart .th-border > .items:nth-child(2),
.cart .th-border > .items:nth-child(4) {
	width: 15%;
}

.cart .th-border > .items:nth-child(3) {
	width: 200px;
}

.cart .th-border > .items {
	padding: 10px;
	color: #fff;
	text-align: center;
	font-size: 15px;
	background: #333;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
	line-height: 1.6;
}

.cart .th-border > .items:not(:last-child) {
	border-right: 1px solid #ddd;
}

/* 商品項目 */
.cart .products-list {
	border: 1px solid #ddd;
	border-top: none;
}

.cart .products-list > .items:nth-child(even) {
	background: #fff;
}

.cart .products-list .items:not(:last-child) {
	border-bottom: 1px solid #ddd;
}

.cart .products-list .items-border {
	display: flex;
}

.cart .products-list .items-border > div {
	padding: 10px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	line-height: 1.6;
	color: rgb(99, 95, 96);
}

.cart .products-list .items-border > div:nth-child(2),
.cart .products-list .items-border > div:nth-child(4) {
	width: 15%;
}

.cart .products-list .items-border > div:nth-child(3) {
	width: 200px;
}

.cart .products-list .items-border > div:not(:last-child) {
	border-right: 1px solid #ddd;
}

.cart .products-list .items-border .quantity-standard {
	display: flex;
}

.cart .products-list .items-border .quantity-standard:not(:first-child) {
	margin-top: 15px;
}

.cart .products-list .items-border .quantity-standard .quantity-icon {
	margin: 0 5px;
}

.cart .products-list .items-border .quantity-standard select {
	margin-left: 20px;
}

.cart .products-list .name {
	flex: 1;
}

.cart .products-list .img {
	margin-right: 20px;
	width: 250px;
	aspect-ratio: auto 250 / 250;
	height: 250px;
}

.cart .products-list label {
	display: block;
	font-weight: 700;
}

.cart .products-list .intro-border label {
	margin-bottom: 5px;
}

/* 結帳區塊 */
.cart .checkout {
	background: #ddd;
	padding-bottom: 5px;
}

.cart .checkout .items-border {
	display: flex;
	justify-content: flex-end;
}

.cart .checkout .items-border > div {
	padding: 10px;
	box-sizing: border-box;
	font-size: 13px;
	line-height: 1.6;
	color: rgb(99, 95, 96);
}

.cart .checkout .items-border .items-name {
	font-weight: 700;
}

.cart .checkout .items-border .items-val {
	width: 175px;
	box-sizing: border-box;
	text-align: center;
}

.cart .checkout .items-border select {
	font-size: 11px;
	padding: 2px 0;
}

/* 購物車資料 */
.cart .cart-data {
	margin: 0 auto;
	margin-top: 50px;
	font-size: 14px;
	max-width: 700px;
}

.cart .cart-data a,
.cart .cart-data a:focus,
.cart .cart-data a:hover,
.cart .cart-data a:active {
	color: #e56c6e;
	display: inline-block;
}

.cart .cart-data a:hover {
	text-decoration: underline;
}

.cart .cart-data > div:not(:first-child):not(:last-child) {
	border-top: 1px dashed #e66b6d;
	margin-top: 10px;
}

.cart .cart-data .title-border {
	padding: 10px;
	color: #e56d6e;
	font-weight: bold;
	margin-top: 5px;
	font-size: 24px;
	line-height: 33px;
	margin-bottom: 10px;
}

.cart .cart-data .items-border {
	display: flex;
	padding: 10px;
}

.cart .cart-data .items-name {
	width: 180px;
	margin: auto;
}

.cart .cart-data .items-name i {
	width: 30px;
	color: #596ca4;
}

.cart .cart-data .items-field {
	flex: 1;
}

.cart .cart-data .items-field input,
.cart .cart-data .items-field textarea {
	background: #ddd;
	border: none;
	padding: 5px;
	box-sizing: border-box;
	font-size: inherit;
	line-height: inherit;
	font: inherit;
}

.cart .cart-data .items-field > .items-text {
	padding-top: 20px;
}

.cart .cart-data .address .items-name {
	margin-top: 6px;
}

.cart .cart-data .pay .items-name,
.cart .cart-data .invoice .items-name {
	margin-top: 4px;
}

.cart .cart-data .items-radio {
	display: flex;
	flex-direction: column;
}

.cart .cart-data .items-radio > *:not(:first-child) {
	margin-top: 6px;
}

.cart .cart-data .items-radio label {
	margin-right: auto;
}

.cart .cart-data .row {
	margin-top: 5px;
	display: flex;
	flex-direction: column;
	margin-left: 23px;
}

.cart .cart-data .row > *:not(:first-child) {
	margin-top: 5px;
}

.cart .cart-data .row input {
	margin-left: 5px;
}

.cart .cart-data > .code {
	display: flex;
	padding: 10px;
	padding-top: 20px;
}

.cart .cart-data .code .items-field {
	display: flex;
}

.cart .cart-data .code a {
	margin: auto 0;
	margin-left: 5px;
}

.cart .cart-data .b_checkout {
	display: flex;
	justify-content: center;
	margin-top: 5px;
	padding: 10px;
}

.cart .cart-data .b_checkout input[type="submit"] {
	width: 200px;
	padding: 10px;
	background: #e56c6e;
	transition: background 0.5s;
	border-radius: 5px !important;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.6;
}

.cart .cart-data .b_checkout input[type="submit"]:hover {
	background: #c0392b;
}

.cart .cart-data .b_checkout #ordering {
	display: none;
	margin: auto 0;
	margin-left: 5px;
}

.cart .cart-data .b_checkout input[type="submit"].disabled {
	cursor: not-allowed;
}

.cart .cart-data .b_checkout input[type="submit"].disabled:hover {
	background: #e56c6e;
}

.cart .cart-data .address .items-field input,
.cart .cart-data .mail .items-field input {
	width: 100%;
}

.cart .cart-data .zip .items-field input,
.cart .cart-data .code .items-field input {
	width: 80px;
}

.cart .cart-data .items-field textarea {
	width: 100%;
	height: 80px;
}

@media screen and (max-width: 1000px) {
	.cart .cart-border {
		margin: 0 15px;
	}

	.cart .th {
		display: none;
	}

	.cart .products .intro {
		margin: 0;
	}

	.cart .products-list .items-border {
		flex-direction: column;
		background: #eee;
	}

	.cart .products-list > .items:nth-child(even) {
		background: none;
	}

	.cart .products-list .items-border > div:not(:last-child) {
		border-right: none;
		background: none;
	}

	.cart .products-list .items .items-border > .name {
		background: #fff;
	}

	.cart .products-list .items {
		margin-bottom: 20px;
		border: 1px solid #ccc;
	}

	.cart .products-list .items:not(:last-child) {
		border: 1px solid #ccc;
	}

	.cart .products-list {
		border: none;
	}

	.cart .products-list .items-border > div {
		align-items: unset;
		border-top: 2px solid #fff;
	}

	.cart .products-list .items .items-border > div {
		width: 100%;
		justify-content: left;
	}

	.cart .products-list .items-border > div:not(:first-child) > div:before {
		content: attr(data-title);
		width: 80px;
		white-space: nowrap;
		text-align: center;
		font-weight: bold;
		color: #fff;
		background: #999;
		display: inline-block;
		margin-right: 10px;
		padding: 5px;
	}

	.cart .products-list .items-border > div:not(:first-child) label {
		display: inline-block;
	}

	.cart .products-list .items-border .quantity-standard {
		margin-top: 5px;
	}
}

@media screen and (max-width: 767px) {
	.cart .products-list .img {
		width: 150px;
		height: 150px;
	}

	.cart .cart-data .items-border {
		flex-direction: column;
	}

	.cart .cart-data .items-name {
		margin-left: 0;
		margin-bottom: 5px;
		color: #596ca4;
		font-weight: 700;
	}

	.cart .cart-data .items-radio label {
		margin-right: auto;
	}

	.cart .cart-data > .code {
		flex-direction: column;
	}
}

@media screen and (max-width: 479px) {
	.cart .products-list .items .items-border > .name {
		display: block;
	}

	.cart .products-list .items .items-border > .name .img {
		margin: 0;
		width: unset;
		height: unset;
	}

	.cart .products-list .items .items-border > .name img {
		width: 100%;
	}
}
