/* New Arrival — goo stock layouts */

.bsi-goo-arrival {
	padding: 72px 30px;
	background: #fff;
}

.bsi-goo-arrival__inner {
	max-width: 1100px;
	margin: 0 auto;
}

.bsi-goo-arrival__head {
	margin-bottom: 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
}

.bsi-goo-arrival__head-main {
	min-width: 0;
}

.bsi-goo-arrival__en {
	font-family: "Roboto", sans-serif;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.12em;
	color: #00aff0;
	margin: 0 0 6px;
}

.bsi-goo-arrival__ja {
	font-size: 30px;
	line-height: 1.3;
	margin: 0;
	font-weight: 700;
}

.bsi-goo-sort {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1px solid #00aff0;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.bsi-goo-sort__btn {
	appearance: none;
	border: 0;
	margin: 0;
	background: #fff;
	color: #00aff0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	padding: 12px 20px;
	cursor: pointer;
	min-width: 108px;
	transition: background 0.2s ease, color 0.2s ease;
}

.bsi-goo-sort__btn + .bsi-goo-sort__btn {
	border-left: 1px solid #00aff0;
}

.bsi-goo-sort__btn:hover {
	background: #eef9fe;
}

.bsi-goo-sort__btn.is-active {
	background: #00aff0;
	color: #fff;
}

.bsi-goo-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 28px;
}

.bsi-goo-filter__btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border: 1px solid #00aff0;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.bsi-goo-filter__btn {
	appearance: none;
	border: 0;
	margin: 0;
	background: #fff;
	color: #00aff0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	padding: 12px 16px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.bsi-goo-filter__btn + .bsi-goo-filter__btn {
	border-left: 1px solid #00aff0;
}

.bsi-goo-filter__btn:hover {
	background: #eef9fe;
}

.bsi-goo-filter__btn.is-active {
	background: #00aff0;
	color: #fff;
}

.bsi-goo-card-item.is-filtered-out {
	display: none;
}

.bsi-goo-arrival__filter-empty {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.6;
}

.bsi-goo-arrival__list {
	display: grid;
	gap: 18px;
}

/* ---- Layout presets ---- */

.bsi-layout-col1 {
	grid-template-columns: 1fr;
}

.bsi-layout-col2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bsi-layout-col3,
.bsi-layout-card.bsi-cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bsi-layout-card.bsi-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bsi-layout-card.bsi-cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bsi-layout-compact {
	grid-template-columns: 1fr;
	gap: 10px;
}

/* ---- Card item base ---- */

.bsi-goo-card-item {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 20px;
	padding: 20px;
	background: #f8f8f8;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	min-width: 0;
	height: 100%;
}

.bsi-goo-card-item__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
}

.bsi-layout-col2 .bsi-goo-card-item,
.bsi-layout-col3 .bsi-goo-card-item {
	grid-template-columns: 1fr;
	grid-template-rows: auto minmax(0, 1fr);
	gap: 14px;
}

.bsi-layout-card .bsi-goo-card-item {
	grid-template-columns: 1fr;
	grid-template-rows: auto minmax(0, 1fr);
	gap: 12px;
	padding: 0 0 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.bsi-layout-card .bsi-goo-card-item__media {
	margin: 0;
}

.bsi-layout-card .bsi-goo-card-item__media img {
	border-radius: 10px 10px 0 0;
	aspect-ratio: 16 / 10;
}

.bsi-layout-card .bsi-goo-card-item__body {
	padding: 0 14px;
}

.bsi-layout-compact .bsi-goo-card-item {
	grid-template-columns: 120px 1fr;
	gap: 14px;
	padding: 12px;
	align-items: center;
}

.bsi-goo-card-item__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 6px;
	background: #fff;
}

.bsi-layout-compact .bsi-goo-card-item__media img {
	aspect-ratio: 1 / 1;
}

.bsi-goo-card-item__title {
	font-size: 17px;
	line-height: 1.45;
	margin: 0 0 12px;
	font-weight: 700;
}

.bsi-layout-col2 .bsi-goo-card-item__title,
.bsi-layout-col3 .bsi-goo-card-item__title,
.bsi-layout-card .bsi-goo-card-item__title {
	font-size: 14.5px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bsi-layout-compact .bsi-goo-card-item__title {
	font-size: 14px;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bsi-goo-card-item__title a {
	text-decoration: none;
	color: #111;
}

.bsi-goo-card-item__title a:hover {
	color: #00aff0;
	opacity: 1;
}

/* ---- Fields ---- */

.bsi-goo-card-item__fields {
	display: grid;
	gap: 8px;
}

.bsi-layout-col1 .bsi-goo-card-item__fields {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bsi-layout-col1 .bsi-field--total,
.bsi-layout-col1 .bsi-field--html,
.bsi-layout-col1 .bsi-field--button,
.bsi-layout-col1 .bsi-field--list {
	grid-column: 1 / -1;
}

.bsi-field {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	font-size: 13px;
	line-height: 1.5;
	padding: 6px 0;
	border-bottom: 1px dashed #e5e7eb;
}

.bsi-field:last-child {
	border-bottom: 0;
}

.bsi-field__label {
	color: #666;
	min-width: 6em;
	font-size: 12px;
}

.bsi-field__value {
	font-weight: 600;
	color: #111;
}

.bsi-field--price .bsi-field__value {
	color: #333;
}

.bsi-field--total .bsi-field__value {
	color: #e94900;
	font-size: 18px;
	font-weight: 800;
}

.bsi-field--button {
	border-bottom: 0;
	padding-top: 10px;
	margin-top: auto;
}

.bsi-detail-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	height: 40px;
	padding: 0 18px;
	background: #00aff0;
	color: #fff !important;
	font-weight: 700;
	border-radius: 6px;
	text-decoration: none !important;
	box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.bsi-detail-btn:hover {
	opacity: 1;
	transform: translateY(1px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.bsi-field--html {
	overflow-x: auto;
}

.bsi-field--html table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.bsi-field--html td,
.bsi-field--html th {
	border: 1px solid #e5e7eb;
	padding: 8px 10px;
	vertical-align: top;
	font-size: 12.5px;
}

.bsi-field--html .priceAllNum em,
.bsi-field--html .priceInfo em {
	font-style: normal;
	font-weight: 700;
	color: #e94900;
	font-size: 16px;
}

.bsi-field__list {
	margin: 0;
	padding-left: 1.2em;
}

.bsi-goo-arrival__more {
	margin-top: 28px;
	text-align: center;
}

.bsi-goo-arrival__more a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 280px;
	height: 48px;
	padding: 0 28px;
	background: #00aff0;
	color: #fff;
	font-weight: 700;
	border-radius: 6px;
	text-decoration: none;
	box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.bsi-goo-arrival__more a:hover {
	opacity: 1;
	transform: translateY(1px);
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.bsi-goo-arrival__empty {
	padding: 28px;
	background: #f8f8f8;
	border-radius: 8px;
	text-align: center;
	grid-column: 1 / -1;
}

/* ---- Responsive ---- */

@media screen and (max-width: 1024px) {
	.bsi-layout-col3,
	.bsi-layout-card.bsi-cols-3,
	.bsi-layout-card.bsi-cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 767px) {
	.bsi-goo-arrival {
		padding: 12vw 4vw;
	}

	.bsi-goo-arrival__head {
		align-items: stretch;
	}

	.bsi-goo-arrival__ja {
		font-size: 24px;
	}

	.bsi-goo-sort {
		width: 100%;
	}

	.bsi-goo-sort__btn {
		flex: 1;
		min-width: 0;
		padding: 12px 10px;
	}

	.bsi-goo-filter {
		flex-direction: column;
		align-items: stretch;
	}

	.bsi-goo-filter__btns {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.bsi-goo-filter__btn {
		padding: 12px 8px;
		text-align: center;
	}

	.bsi-goo-filter__btn + .bsi-goo-filter__btn {
		border-left: 0;
	}

	.bsi-goo-filter__btn:nth-child(odd) {
		border-right: 1px solid #00aff0;
	}

	.bsi-goo-filter__btn:nth-child(n + 3) {
		border-top: 1px solid #00aff0;
	}

	.bsi-goo-filter__btn:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		border-right: 0;
	}

	.bsi-goo-arrival__list {
		gap: 10px;
	}

	.bsi-layout-col1,
	.bsi-layout-col2,
	.bsi-layout-col3,
	.bsi-layout-card,
	.bsi-layout-card.bsi-cols-2,
	.bsi-layout-card.bsi-cols-3,
	.bsi-layout-card.bsi-cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bsi-goo-card-item,
	.bsi-layout-compact .bsi-goo-card-item {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 10px;
	}

	.bsi-field__label {
		min-width: 0;
	}

	.bsi-detail-btn {
		min-width: 0;
		width: 100%;
		padding: 0 8px;
	}

	.bsi-layout-col1 .bsi-goo-card-item__fields {
		grid-template-columns: 1fr;
	}

	.bsi-layout-card .bsi-goo-card-item {
		padding: 0 0 14px;
	}

	.bsi-goo-arrival__more a {
		width: 100%;
		min-width: 0;
	}
}


/* Old theme root is 16px and #newsarea rules outrank the plugin. Match the new site (10px rem). */
#content #home #newsarea.bsi-goo-arrival {
	background: #fff;
	padding: 72px 30px;
	box-sizing: border-box;
}

@media screen and (max-width: 767px) {
	#content #home #newsarea.bsi-goo-arrival {
		padding: 0;
	}

	.bsi-goo-arrival__inner {
		padding-top: 28px;
		padding-bottom: 36px;
	}
}
.bsi-goo-arrival,
.bsi-goo-arrival *,
.bsi-goo-arrival *::before,
.bsi-goo-arrival *::after {
	box-sizing: border-box;
}