/* top-bar */
.top-bar {
	font-size: 13px;
	height: 38px;
	line-height: 38px;
	text-align: center;
	letter-spacing: .1rpx;
}

/* header */
header {
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
}

.header-container {
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-container {
	display: inline-block;
	transition: width .3s cubic-bezier(.52, 0, .61, .99);
}

.logo {
	display: inline-block;
	width: 60px;
	height: 60px;
}

.icon {
	width: 20px;
	height: 20px;
}

/* nav-container */
.nav-container ul {
	display: flex;
	flex-wrap: wrap;
	margin-left: 20px;
	overflow: hidden;
}

.nav-container ul li {
	margin-right: 16px;
	margin-bottom: 8px;
}

.nav-container ul li:last-child {
	margin-right: 0 !important;
}

.nav-container ul li.active a {
	border-bottom: 1px solid #121212;
}

.nav-container ul li a {
	color: #4d4d4d;
}

.nav-container ul li a:hover {
	text-decoration: none;
}

.search-icon {
	width: 18px;
	height: 18px;
}

@media (min-width: 769px) {
	header {
		padding: 26px 20px;
	}
}

@media (max-width: 768px) {
	header {
		padding: 16px 10px;
	}

	.logo {
		width: 40px;
		height: 40px;
	}

	.nav-container {
		display: none;
	}

	.nav-container ul {
		flex-direction: column;
		align-items: center;
	}

	.nav-container ul li {
		margin-right: 0;
		margin-bottom: 10px;
	}

	.slider-open-icon,
	.slider-close-icon {
		margin-right: 12px !important;
	}
}

/* dropdown */
.dropdown {
	margin-right: 12px;
}

.dropdown-menu {
	border-radius: 0;
	border: 1px solid #ececec;
}

.dropdown-item {
	line-height: 42px;
	color: #4d4d4d;
}

/* custom-banner */
.custom-banner {
	position: relative;
	overflow: hidden;
	background-image: url('../image/spa-day-supplies.jpg');
	background-size: cover;
	background-position: center;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.custom-banner-content {
	width: 100%;
	text-align: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.5);
	color: white;
}

.custom-banner-content h2 {
	margin: 160px 0 20px 0;
	font-size: 48px;
	font-weight: 500;
}

.custom-banner-content .btn {
	margin: 20px 0 80px 0;
	padding: 0 42px;
	border-radius: 0;
	min-height: 48px;
	line-height: 48px;
	min-width: 168px;
	background-color: var(--white-color);
	color: #121212;
	border: 1px solid var(--white-color);
	transition: border 0.5s ease, box-shadow 0.5s ease;
}

.custom-banner-content .btn:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
	padding: 0 44px;
}

@media (max-width: 768px) {
	.custom-banner-content h2 {
		margin-top: 50px;
	}
}

/* recommended */
.recommended {
	padding: 30px 10px 20px 10px;
	font-size: 24px;
}

/* collection */
.collection-cards {
	margin-bottom: 30px;
}

.collection-cards ul {
	display: flex;
	flex-wrap: wrap;
}

.collection-cards ul li {
	flex: 0 0 calc(25% - 20px);
	max-width: calc(25% - 20px);
	box-sizing: border-box;
	margin: 10px;
	overflow: hidden;
	transition: box-shadow 1s ease;
	transform: rotate(0deg);
	box-shadow: none;
}

.collection-cards ul li:hover {
	transition: transform 1s ease;
	transform: rotate(-2deg);
	box-shadow: -1rem -1rem 1rem -1rem #0000000d,1rem 1rem 1rem -1rem #0000000d,0 0 .5rem #fff0,0 2rem 3.5rem -2rem #00000080
}

.collection-cards ul li a {
	color: #121212;
	text-decoration: none;
}

.collection-cards ul li a:hover {
	text-decoration: underline;
}

.card-image {
	position: relative;
	width: 100%;
	height: 338px;
	padding-top: 75%;
	overflow: hidden;
}

.card-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 338px;
	object-fit: cover;
}

.collection-cards ul li .card-image img {
	width: 100%;
	transition: transform 1s ease;
	transform: rotate(0deg) scale(1.0);
}

.collection-cards ul li:hover .card-image img {
	transform: rotate(2deg) scale(1.15)
}

.collection-card-content {
	padding: 24px 20px;
}

.collection-card-name {
	font-size: 13px;
}

.collection-card-price {
	margin-top: 10px;
}

.collection-more .btn {
	background-color: var(--black-color);
	color: var(--white-color);
	border-radius: 0;
	padding: 10px 20px;
	margin-top: 30px;
}

@media (max-width: 768px) {
	.collection-cards ul li {
		flex: 0 0 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}

	.card-image,
	.card-image img {
		height: 236px;
	}

	.collection-card-name {
		font-size: 12px;
	}
}

/* collection list */
.collection-list ul li {
	flex: 0 0 20%;
	max-width: 20%;
}

.collection-list ul li .card-image {
	height: 212px;
}

.collection-list ul li .card-image img {
	height: 212px;
}

@media (max-width: 768px) {
	.collection-list ul li {
		flex: 0 0 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}

	.collection-list ul li .card-image,
	.collection-list ul li .card-image img {
		height: 186px;
	}
}

/* modal /
.modal-backdrop {
	top: 152px;
}

.modal,
.modal-content,
.modal-dialog {
	border-radius: 0 !important;
}

.modal {
	margin: 0;
	padding: 0;
	border: 0;
}

.modal.show .modal-dialog {
	transform: none;
}

.modal-dialog {
	width: 100%;
	z-index: 4;
}

.modal-content {
	border: none;
}

@media (min-width: 769px) {
	.modal-dialog {
		margin-top: 42px;
	}

	.modal-content {
		padding: 22px 0;
	}
}

@media (max-width: 768px) {
	.modal-dialog {
		margin-top: 42px;
	}

	.modal-backdrop {
		top: 112px;
	}
}

.form-control {
	border: #121212 1px solid;
	height: 38px;
	line-height: 38px;
	border-radius: 0;
}

.close-icon {
	width: 24px;
	height: 24px;
	background-color: transparent;
	margin-left: 10px;
	cursor: pointer !important;
}*/

/* sidebar */
.sidebar {
	position: fixed;
	top: 112px;
	left: -100%;
	width: 100%;
	height: 100%;
	background-color: #fff;
	z-index: 3;
	transition: left 0.5s ease-in-out;
	opacity: 0;
	visibility: hidden;
}

.sidebar.open {
	left: 0;
	opacity: 1;
	visibility: visible;
}

.slider-open-icon {
	position: relative;
}

.sidebar-nav {
	margin: 0;
	padding: 0;
	border: 0;
}

.sidebar-nav li {
	padding: 10px 0;
}

.sidebar-nav li.active {
	background-color: #f6f6f6;
}

.sidebar-nav li a {
	padding-left: 20px;
	color: #121212;
	font-size: 16px;
	text-decoration: none;
	margin: 10px 0;
}

@media (min-width: 769px) {
	.sidebar {
		left: -100%;
		opacity: 0;
		visibility: hidden;
	}

	.slider-open-icon {
		display: none;
		position: relative;
	}
}

@media (max-width: 768px) {

	.slider-open-icon,
	.slider-close-icon {
		margin-right: 12px !important;
	}
}

.slider-close-icon {
	display: none;
}

.slider-close-icon.show {
	display: block;
}

/* pagination */
.pagination {
	--bs-pagination-active-bg: #121212;
	--bs-pagination-active-border-color: #121212;
	--bs-pagination-border-radius: 0;
	margin-bottom: 30px;
}

.page-item {
	margin: 0 10px;
}

.page-link {
	color: #121212;

	&:hover {
		color: #121212;
	}

	&:focus {
		color: #121212;
	}

	&.active,
	.active>& {
		color: #fff;
		border-color: #fff;
	}
}

/* footer */
footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	border-top: 1px solid #ececec;
	background-color: #fff;
	padding: 30px 0;
	margin-top: 100px;
	z-index: 999;
}

footer ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style-type: none;
}

@media (max-width: 768px) {
	footer ul {
		padding: 0 10px;
	}
}

footer ul li {
	margin-left: 16px;
}

/* space-base */
.space-base {
	height: 82px;
}

@media (max-width: 768px) {
	.space-base {
		height: 102px;
	}
}

/* conditions */
.conditions {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	margin: 30px 10px 20px 10px;
	padding: 0;
	border: 0;
}

.conditions li {
	width: auto;
}

.conditions li,
.conditions li span {
	margin-right: 12px;
}

@media (max-width: 768px) {
	.conditions {
		margin: 10px 10px 0 10px;
	}

	.conditions li {
		margin-right: 0;
		margin: 10px 0;
		width: 100%;
	}
}

/* rte */
.rte {
	font-size: 16px;
	color: #4d4d4d;
}

.title {
	font-size: 40px;
	padding: 20px 0;
}

.rte,
.title {
	margin: 0 10px;
}

/* album */
.spa {
	margin-top: 30px;
}

.spa .price {
	margin: 10px 0;
	font-size: 18px;
}

.spa h5 {
	font-size: 13px;
}

.spa h5,
.spa h6,
.spa .price {
	color: #4d4d4d;
}

.spa .buy {
	width: 100%;
	background-color: var(--black-color);
	color: var(--white-color);
	border-radius: 0;
	margin: 20px 0;
	padding: 10px 20px;
}

.spa .buy a {
	color: var(--white-color);
}

.spa ul {
	display: flex;
	flex-wrap: wrap;
}

.spa ul li .btn {
	background-color: var(--white-color);
	color: var(--black-color);
	border-radius: 40px;
	border: 1px solid var(--black-color);
}

.spa ul li .btn.active {
	background-color: var(--black-color);
	color: var(--white-color);
	border: 1px solid var(--black-color);
}

@media (min-width: 769px) {
	.spa {
		display: flex;
		align-items: flex-start;
		justify-content: space-between
	}

	.spa .album{
		width: calc(70% - 20px);
	}

	.spa ul li {
		width: 100%;
	}

	.spa ul li .btn {
		width: 50%;
		line-height: 14px;
		padding: 10px;
		margin: 10px 0 0 10px;
	}

	.spa .content {
		width: 30%;
		margin-left: 20px;
	}
}

@media (max-width: 768px) {
	.spa {
		display: block;
		align-items: stretch;
		justify-content: flex-start;
		margin: 10px 10px 0 10px;
	}

	.spa .album {
		max-height: 400px;
	}

	.carousel-item img {
		width: 100%;
		height: 400px;
		object-fit: cover;
		object-position: center;
	}

	.spa .content {
		margin-left: 0;
	}

	.spa h6 {
		margin-top: 10px;
	}

	.spa ul li {
		flex: 0 0 calc(50% - 10px);
		max-width: calc(50% - 10px);
	}

	.spa ul li .btn {
		margin: 10px 10px 0 0;
	}
}

/* debug */
.debug {
	border: 1px solid red;
}

.debug * {
	border: 1px solid red;
}