/* ------------------------------------------------------------------------------------------------------------- *\
 * home.css
\* ------------------------------------------------------------------------------------------------------------- */
/*
.sw-link {
	display: none;
}
*/
.hp-container {
	width: 100%;
}
.hp-shipping-bar {
	display: none;
	z-index: 999;
	width: 100%;
	margin: 0 -9999% 20px -9999%;
	padding: 5px 9999% 5px 9999%;
	background: #eee;
	overflow: auto;
}
.hp-shipping-bar ul {
	list-style-type: none;
	width: 100%;
	padding: 10px 0;
	margin: 0;
	overflow: auto;
}
.hp-shipping-bar li {
	font-family: "Open Sans",sans-serif;
	font-size: 1.3em;
	color: #5f5f5f;
	/* Desktop styling
	display: inline-block;
	float: left;
	width: 31%;
	margin: 0 1%;
	*/
	/*width: 100%; /* This was to override desktop styling */
	padding: 5px 0;
	/*margin: 0; /* This was to override desktop styling */
	text-align: center/* !important*/;
	/*float: none; /* This was to override desktop styling */
}

/* @NOTE: This is one of two standard header styles used in the site and should be in main.css */
.hp-headers {
	margin: 25px 0 0 0;
	padding: 0;
	clear: both;
	display: flex;
	align-items: center;
	text-align: center;
}

.hp-headers::before,
.hp-headers::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid #a4d7d6;
}
.hp-headers:not(:empty)::before {
	margin-right: 0;
}
.hp-headers:not(:empty)::after {
	margin-left: 0;
}
.hp-headers h1,
.hp-headers h2,
.hp-headers h3 {
	display: inline-block;
	padding: 10px;
	margin: 0;
	background: #fff;
	letter-spacing: 2px;
	color: #2c817f;
	font-size: 1.25em;
	font-weight: 400;
}
/* END @NOTE */

/*---------------------------------------------------------
 * Hero Banner
 *--------------------------------------------------------*/
.hp-banner {
	width: 100%;
	float: left;
	position: relative;
	margin: 0 0 0 0;
	/*z-index: 20; causes banner to overlay the main menu */
}
.hp-banner img {
	width: 100%;
	height: auto;
}

.hp-top-brands {
	width: 100%;
	overflow: hidden;
	margin: 0 0 5px 0;
	padding: 5px 0 5px 0;
	text-align: center;
	max-height: 153px;
}
.main-carousel > * {
	padding-bottom: 10px;
}
.hp-brand {
	width: 200px;
	height: 70px;
	overflow: hidden;
	padding: 10px;
	margin: 0 5px;
}
.hp-brand img {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 7px 0 0 0;
	border: none;
}
.hp-categories {
	/* width: 100%; /* Desktop */
	/* margin: 0 auto 20px auto; /* Desktop */
	overflow: visible;
	display: flex;
	flex-wrap: wrap;
	/* width: 100%; /* Overrides Desktop */
	margin: 15px 0 15px 0;
	border-radius: 20px;
}

.hp-category-name {
	font-size: 22px !important;
}

.hp-category-name:hover {
	text-decoration: none !important;
	font-weight: initial !important;
}

.hp-categories::after {
	content: "";
	display: table;
	clear: both;
}
@media only screen and (max-width: 570px) {
	.hp-categories {
		text-align: center;
	}
}
.hp-att-block {
	display: inline-block;
	position: relative;
	padding: 10px 0 60px 0;
	padding-bottom: 4px;
	overflow: visible;
	transition: all .25s ease;
	background: transparent none no-repeat center 34px;
	/*background-size: auto; /* Desktop */
	flex-grow: 1;
	flex-basis: 0;
	width: 24.5%;
	background-size: contain;
	border-radius: 20px;
}

.hp-att-block h3 a {
	margin: 0;
	font-family: Open Sans;
	font-weight: normal;
	font-size: 32px;
	opacity: 0.75;
}

@media only screen and (max-width: 570px) {
	.hp-att-block {
		margin-bottom: 0;
		overflow: auto;
		flex-grow: 0;
		flex-basis: 50%;
	}

	.hp-att-block h3 a {
		font-size: 16px;
	}	
}

/* Seems Pointless
.hp-att-block h3 a {
	opacity: 1;
}
*/
.hp-att-block a {
	display: block;
	text-align: center;
	/*width: 75%; /* Desktop */
	margin: 6px auto 6px auto;
	padding: 0;
	font-family: Verdana,sans-serif !important;
	font-size: 20px;
	width: 100%;
}
.hp-att-block .category-img {
	background: transparent none center / cover no-repeat;
	width: 80%;
	padding-bottom: 70%;
	display: block;
}
@media only screen and (max-width: 570px) {
	.hp-att-block .category-img {
		padding-bottom: 100%;
	}
}
.no-webp .hp-att-hair .category-img {
	background-image: url('/images/hp-att/hair.jpg');
}
.no-webp .hp-att-skin .category-img {
	background-image: url('/images/hp-att/skin.jpg');
}
.no-webp .hp-att-cosmetics .category-img {
	background-image: url('/images/hp-att/cosmetics.jpg');
}
.no-webp .hp-att-nails .category-img {
	background-image: url('/images/hp-att/nails.jpg');
}
.webp .hp-att-hair .category-img {
	background-image: url('/images/hp-att/hair2.webp');
}
.webp .hp-att-skin .category-img {
	background-image: url('/images/hp-att/skin2.webp');
}
.webp .hp-att-cosmetics .category-img {
	background-image: url('/images/hp-att/cosmetics2.webp');
}
.webp .hp-att-nails .category-img {
	background-image: url('/images/hp-att/nails2.webp');
}
.hp-att-block ul {
	list-style-type: none;
	padding: 0;
	transition: all .25s ease;
}
@media only screen and (max-width: 570px) {
	.hp-att-block.hp-att-hair ul {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}
}
.hp-reviews {
	overflow: hidden;
	height: 140px;
	margin-top: 30px;
}
.hp-reviews .review-box {
	box-sizing: border-box;
	margin: 0;
	/*width: 30% !important; /* Desktop */
	/*padding: 0 2% !important; /* Desktop */
	width: 80%/* !important*/;
	padding: 0 10%/* !important*/;
}
.hp-reviews .customer-name {
	font-weight: 700;
}
.hp-reviews .pw2-item-stars {
	position: relative;
	margin: 10px auto 5px auto;
	width: 60px;
	display: inline-block;
}
.hp-reviews .customer-review {
	display: block;
	text-overflow: ellipsis;
	word-wrap: break-word;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.hp-reviews .review-box div,
.hp-reviews .review-box a.read-more {
	font-size: 1.2em;
}
.hp-specials {
	/* Seems Pointless
	width: 100%;
	float: left;
	display: block;
	 */
	text-align: center;
	clear: both;
	margin: 10px 0 10px 0;
}
.hp-specials img {
	width: 29%;
	height: auto;
	border: 1px solid #bfbfbf;
	margin: 1.5%;
	border-radius: 6px;
}
@media only screen and (max-width: 570px) {
	.hp-specials img {
		max-width: 380px;
		width: 90%;
		margin: 10px auto;
	}
}
@media only screen and (max-width: 400px) {
	.hp-specials img {
		max-width: 380px;
		width: 90%;
		margin: 10px auto;
	}
}

/*--------------------------------------------------------*\
 * Videos Carousel
\*--------------------------------------------------------*/
.hp-videos {
	overflow: hidden;
}
.hp-videos .carousel-cell {
	width: 250px;
	margin: 0 12px;
	padding: 30px 10px;
	display: inline-block;
	position: relative;
}
.hp-videos .carousel-cell::before {
	content: "►";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 60px;
	color: #fff;
	text-shadow: 0 0 10px #000;
	opacity: 0;
	transition: all 0.25s ease;
}
.hp-videos .carousel-cell:hover::before {
	z-index: 1; /* so it appears over the thumbnail image */
	opacity: 1;
}
.hp-videos .carousel-cell img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/*--------------------------------------------------------*\
 * Reviews Carousel & Review Submission Popup Form
\*--------------------------------------------------------*/
.customer-reviews button.write-review {
	display: block;
	margin: 0 auto 1em;
}
#review-dialog {
	position: relative;
	max-width: 500px;
}
#review-dialog button.close {
	cursor: pointer;
	border: none;
	background: transparent;
	padding: 0;
	display: flex; /* So dimensions will match the svg content */
	border-radius: 100%; /* round the active outline to match the svg */
	float: right;
	height: 24px;
	width: 24px;
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}
#review-dialog button.close:hover svg > circle {
	fill: red;
}
#review-dialog button.close:hover svg > path {
	stroke: white;
}
.review-form label:not(.star-rating-label) {
	display: block;
	font-weight: bold;
	margin-top: 2em;
}
.review-form .msg-box {
	width: 100%;
	box-sizing: border-box;
}
.review-form textarea,
.review-form input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	display: block;
	margin-bottom: 2em;
}
.review-form button[type="submit"].loading::before {
	content: "\f110";
	font-family: "Font Awesome 6 Free", sans-serif;
	font-weight: 900;
	display: inline-block;
	animation: fa-spin 1s infinite steps(8);
	margin-right: .25em;
}

/* ------------------------------------------------------------------------------------------------------------------*\
 * DESKTOP
\* ------------------------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 1300px) {
	.sw-link {
		display: block;
	}
	.hp-banner {
		width: 1920px;
		margin: 0 -310px 0 -310px;
	}
}
@media only screen and (min-width: 980px) {
	.hp-shipping-bar {
		display: block;
	}
	.hp-shipping-bar ul {
		padding: 0;
		display: flex;
		justify-content: space-between;
	}
	.hp-shipping-bar li {
		flex: 1;
		padding: 0;
		margin: 0 1%;
	}
	.hp-shipping-bar li:first-of-type {
		text-align: left;
	}
	.hp-shipping-bar li:last-of-type {
		text-align: right;
	}
	.hp-att-block:hover {
		-webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.25);
		-moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,.25);
		box-shadow: 0 2px 5px 0 rgba(0,0,0,.25);
		z-index: 1; /* Otherwise the .hp-att-block h3 a[background-image] will cover the shadow */
	}
	.hp-categories {
		margin-top: 0;
	}
	.hp-att-block a:hover {
		font-weight: bold;
	}
	.hp-reviews .review-box {
		width: 30% !important;
		padding: 0 2% !important;
	}
}