html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

.custom-search-section-header {
	margin-bottom: 20px;
	margin-left: 5%;
	color: rgb(60, 60, 60);
	font-family: SterlingDisplay Roman;
	font-size: 42px;
}

.custom-search-box {
	width: 90%;
	margin: auto;
	font-size: 0px;
}

.custom-search-header {
	margin: 0px;
	margin-bottom: 20px;
	padding: 0px;
	color: rgb(60, 60, 60);
	font-family: SterlingDisplay Roman;
	font-size: 36px;
	font-weight: 500;
	border-bottom: 1px solid rgb(200, 200, 200);
}

.custom-search-header-subtext {
	display: inline-block;
	margin-bottom: 20px;
	color: rgb(60, 60, 60);
	font-family: Santral Medium;
	font-size: 14px;
	vertical-align: middle;
}

.custom-search-sub-header {
	display: block;
	margin-left: 4px;
	margin-bottom: 10px;
	color: rgb(60, 60, 60);
	font-family: Santral Medium;
	font-size: 14px;
}

.clear-all-button {
	display: inline-block;
	margin-bottom: 20px;
	margin-left: 4px;
	padding: 1px 8px 1px 8px;
	color: rgb(60, 60, 60);
	font-family: Santral Medium;
	font-size: 12px;
	vertical-align: middle;
	border: 1px solid rgb(60, 60, 60);
	border-radius: 8px;
	transition: 0.2s;
}

	.clear-all-button:hover {
		cursor: pointer;
		color: white;
		background-color: rgb(60, 60, 60);
	}

.see-all-button {
	display: inline-block;
	margin-bottom: 20px;
	margin-left: 4px;
	padding: 1px 8px 1px 8px;
	color: rgb(60, 60, 60);
	font-family: Santral Medium;
	font-size: 12px;
	vertical-align: middle;
	border: 1px solid rgb(60, 60, 60);
	border-radius: 8px;
	transition: 0.2s;
}

	.see-all-button:hover {
		cursor: pointer;
		color: white;
		background-color: rgb(60, 60, 60);
	}
	
.custom-search-options-wrap {
	text-align: center;
	padding: 0px 0px 20px 0px;
	font-size: 0px;
}

.custom-search-option {
	display: inline-flex;
	flex-direction: column;
	margin-top: 10px;
	height: 172px;
	width: 16.6666666%;
	padding-left: 10px;
	padding-right: 10px;
	box-sizing: border-box;
}

	.custom-search-option:hover {
		cursor: pointer;
	}

	.custom-search-option:hover > .custom-search-image-wrap:before {
		content: "";
		position: absolute;
		top: 0px;
		left: 0px;
		height: 100%;
		width: 100%;
		background-color: rgba(0, 0, 0, 0.2);
		box-sizing: border-box;
	}

	.custom-search-option:hover > .custom-search-image-wrap:after {
		content: "";
		position: absolute;
		bottom: 0px;
		left: 0px;
		height: 10px;
		width: 100%;
		background-color: rgb(238, 36, 69);
	}

	.custom-search-option:hover > .custom-search-image-wrap > .custom-search-image {
		transform: scale(1.1);
	}

	.custom-search-option:hover > .custom-search-image-wrap > .custom-search-image-ring {
		transform: scale(0.9);
	}

	.custom-search-option:hover > .custom-search-image-wrap > .custom-search-image-bracelet {
		transform: scale(1.1) translateY(10px);
	}

	.custom-search-option:hover > .custom-search-image-wrap > .custom-search-image-earrings {
		transform: scale(1);
	}

.custom-search-option-active > .custom-search-image-wrap:before {
	content: "";
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
}

.custom-search-option-active > .custom-search-image-wrap:after {
	content: "";
	position: absolute;
	bottom: 0px;
	left: 0px;
	height: 10px;
	width: 100%;
	background-color: rgb(238, 36, 69);
}

.custom-search-image-wrap {
	position: relative;
	height: 100%;
	width: 100%;
	overflow: hidden;
	border: 1px solid rgb(200, 200, 200);
	box-shadow: 0px 0px 12px -8px black;
	transition: 0.2s;
}

.custom-search-image-wrap:before {
	content: "";
	transition: 0.5s;
}

.custom-search-image-wrap:after {
	content: "";
	height: 0px;
	transition: 0.3s;
}

.custom-search-image {
	height: 100%;
	width: 100%;
	object-fit: fill;
	filter: invert(20%) sepia(0%) saturate(443%) hue-rotate(177deg) brightness(103%) contrast(91%);
	transition: 0.3s;
}

.custom-search-image-ring {
	transform: scale(0.75);
}

.custom-search-image-bracelet {
	transform: translateY(10px);
}

.custom-search-image-earrings {
	transform: scale(0.9);
}

.custom-search-caption {
	padding-top: 4px;
	text-align: center;
	color: rgb(60, 60, 60);
	font-family: Santral Medium;
	font-size: 14px;
}

.item-specifics-box {
	display: none;
	width: 20%;
	margin-bottom: 20px;
	vertical-align: top;
}

.item-specifics-box-metal {
	width: 15%;
}

.item-specifics-box-main-stone {
	width: 40%;
}

.item-specifics-box-main-stone-color {
	width: 20%;
}

.item-specifics-box-main-stone-shape {
	width: 25%;
}

.item-specific-box-price {
	width: 100%;
}

.select-all-checkbox {
	height: 12px;
	width: 12px;
	margin-left: 0px;
	vertical-align: middle;
	appearance: none;
    border: 1px solid rgba(165, 165, 165, 1);
	border-radius: 2px;
}

	.select-all-checkbox:hover {
		cursor: pointer;
		background-color: rgb(240, 240, 240);
	}

	.select-all-checkbox:hover + label {
		background-color: rgb(240, 240, 240);
	}

.select-all-checkbox:checked {
	background-color: rgb(40, 40, 40);
	border: none;
}

	.select-all-checkbox:checked:hover {
		background-color: rgb(40, 40, 40);
	}

.select-all-checkbox-label {
	padding-left: 2px;
	padding-right: 2px;
	vertical-align: middle;
	color: rgb(80, 80, 80);
	font-family: Santral Medium;
	font-size: 12px;
	border-radius: 4px;
}

	.select-all-checkbox-label:hover {
		cursor: pointer
	}

.item-specifics-input-wrap {
	margin-left: 4px;
}

.item-specifics-input-column-wrap {
	display: flex;
	column-gap: 4px;
}

.item-specifics-checkbox-wrap {
	margin-bottom: 8px;
	white-space: nowrap;
}

.item-specifics-checkbox {
    position: relative;
    left: 0px;
    margin: auto;
    appearance: none;
    height: 24px;
    width: 24px;
    cursor: pointer;
    color: rgba(0, 0, 0, 0);
	vertical-align: middle;
    border: 1px solid rgba(165, 165, 165, 1);
    border-radius: 4px;
}

.item-specifics-checkbox:hover {
	background-color: rgb(240, 240, 240);
}

.item-specifics-checkbox:active {
    background-color: rgb(121, 121, 121);
}

.item-specifics-checkbox:checked + label {
    color: black;
}

.item-specifics-checkbox:checked {
    background-color: rgb(40, 40, 40);
    border: none;
}

.item-specifics-checkbox + label {
    cursor: pointer;
}

    .item-specifics-checkbox:hover + label {
        background-color: rgb(240, 240, 240);
	}

.item-specifics-checkbox-label {
    list-style-type: none;
    color: rgb(80, 80, 80);
    font-family: Nunito;
    font-size: 14px;
    position: relative;
	margin-left: 4px;
    padding-left: 4px;
    padding-right: 4px;
	vertical-align: middle;
    border-radius: 6px;
    cursor: pointer;
}

.item-specifics-input-price-wrap {
    list-style-type: none;
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.7s;
    display: flex;
    justify-content: space-around;
    height: 50px;
    width: 220px;
    font-size: 14px;
    color: rgb(80, 80, 80);
    padding: 0px 0px 0px 0px;
}

.item-specifics-text-box {
    list-style-type: none;
    height: 35px;
    width: 35%;
    margin: auto;
    padding-left: 10px;
	background-color: rgb(240, 240, 240);
    border: none;
    border-radius: 10px;
}

.item-specifics-text-box-min {
	margin-left: 0px;
}

.to {
    list-style-type: none;
    color: rgb(80, 80, 80);
	font-family: Nunito;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-text-box-warning {
	display: none;
	color: red;
	font-family: Santral;
	font-size: 12px;
}

.custom-search-button-wrap {
	width: 90%;
	margin: auto;
	margin-top: 40px;
}

.custom-search-button {
	height: 60px;
	width: 280px;
	color: white;
	font-family: Montserrat Light;
	font-size: 20px;
	background-color: rgb(20, 20, 20);
	border: none;
	transition: background-color 0.2s;
}

	.custom-search-button:hover {
		cursor: pointer;
		background-color: rgb(60, 60, 60);
	}

@media only screen and (max-width: 1350px) {
	.custom-search-option {
		width: 33.3333333%;
    }

	.custom-search-header-subtext:after {
		content: "\A";
		white-space: pre;
	}

	.item-specifics-box-metal {
		width: 35%;
	}

	.item-specifics-box-main-stone {
		width: 65%;
	}

	.item-specifics-box-main-stone-color {
		width: 35%;
	}

	.item-specifics-box-main-stone-shape {
		width: 65%;
	}

	.item-specific-box-price {
		width: 100%;
	}
}

@media only screen and (max-width: 768px) {
	.custom-search-section-header {
		margin-top: 20px;
		margin-left: 2%;
	}

	.custom-search-option {
		height: auto;
	}

	.custom-search-image-wrap {
		height: 0px;
		padding-top: 100%;
	}

	.custom-search-image {
		position: absolute;
		top: 0px;
		left: 0px;
	}

	.custom-search-header-subtext {
		display: block;
	}

	.custom-search-box {
		display: flex;
		flex-direction: column;
		width: 96%;
	}

	.clear-all-button {
		color: white;
		background-color: rgb(60, 60, 60);
		border-radius: 20px;
	}

	.see-all-button {
		color: white;
		background-color: rgb(60, 60, 60);
		border-radius: 20px;
	}

	.item-specifics-box {
		position: relative;
		width: 100%;
		margin-bottom: 40px;
	}

	.item-specifics-input-column-wrap {
		display: block;
	}

	.item-specifics-input-column {
		display: inline-block;
		width: 50%;
	}

	.select-all-checkbox {
		position: absolute;
		bottom: -16px;
	}

	.select-all-checkbox-label {
		position: absolute;
		bottom: -14px;
		left: 20px;
	}

	.custom-search-button-wrap {
		width: 96%;
		margin-top: 0px;
	}

	.custom-search-button {
		font-family: Santral Medium;
		background-color: rgb(40, 40, 40);
		border-radius: 50px;
	}
}