/* 
Theme Name: GOAT Store
Description: Wordpress theme for GOAT Store
Theme Author: Gabriella Heil
Version: 1.0
Text Domain: goatstore
*/


:root {
	--gs-primary: #222;
	--gs-hover: #444;
	--gs-accent: #0d6efd;
}

.bg-gs-primary {
	background-color: var(--gs-primary) !important;
}

.bg-gs-accent {
	background-color: var(--gs-accent) !important;
}

.border-gs-primary {
	border-color: var(--gs-primary) !important;
}

.border-gs-accent {
	border-color: var(--gs-accent) !important;
}

body {
	background-color: var(--gs-primary);
}

a,
.nav-link {
    color: var(--gs-primary);
}

a:hover, a:focus,
.nav-link:hover, .nav-link:focus {
	color: var(--gs-hover);
}


.nav-link:focus, 
.nav-link:hover {
    color: var(--gs-hover);
}

#mobile-nav {
    --bs-navbar-color: rgba(255, 255, 255, 0.75);
    --bs-navbar-hover-color: rgba(255, 255, 255, 1.0);
}

#mobile-nav .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1.0%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mobile-nav .search-box {
	flex-basis: 100%;
	flex-grow: 1;
	margin-top: 1.5rem;
}

#mobile-nav .search-box .ecwid-search-widget {
	max-width: unset !important;
}

#top-bar {
	background-color: #fff;
}

#top-bar ul.nav .nav-item {
	padding: 0.25rem;
}

#top-bar ul.nav .nav-item::before {
    content: "";
    border-left: 1px solid var(--bs-gray-800);
    margin-right: 0.5rem;
}

#top-bar ul.nav .nav-item:first-child::before {
    border-left: unset;
    margin-right: unset;
}

#top-bar ul.nav .nav-link {
	display: inline;
	padding: 0;
	text-decoration: underline;
	font-weight: bold;
}

#top-bar div.dropdown .btn:first-child {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}


#all-consoles-menu {
    border: 0;
    margin: 0;
    padding: 0;
    font-family: verdana,geneva,arial,helvetica,sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #8e8e8e;
    clear: both;
	background-color: #fff;
}

#all-consoles-menu > ul {
	background: rgb(204,204,204);
    background: linear-gradient(180deg, rgba(204,204,204,1) 0%, rgba(255,255,255,1) 100%);
	border-bottom: 6px solid var(--gs-accent);
	height: 40px;
	list-style: none;
	margin: 0;
	padding: 0
}

#all-consoles-menu > ul li.main {
	margin-left: 10px;
	margin-top: -2px;
	background-color: var(--gs-accent);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-width: 2px 2px 0 2px;
	color: #fff
}

#all-consoles-menu > ul li.main a {
	color: #fff;
	padding: 0 32px 0 24px
}

#all-consoles-menu > ul li.main a:hover {
	background: 0;
	margin-top: 0;
	color: var(--gs-hover);
}

#all-consoles-menu > ul > li {
	float: left
}

#all-consoles-menu > ul > li a {
	color: #666;
	display: block;
	font-weight: bold;
	line-height: 40px;
	padding: 0 20px;
	text-align: center;
	text-decoration: none;
	font-size: 12px
}

#all-consoles-menu > ul > li a:hover {
	color: var(--gs-accent);
}

#all-consoles-menu .all-consoles-menu__inner {
	background: #fff;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	display: none;
	height: auto;
	position: absolute;
	z-index: 200;
	box-shadow: 5px 5px 10px #aaa;
	-moz-border-radius: 0 0 10px 10px;
	border-radius: 0 0 10px 10px
}

#all-consoles-menu .all-consoles-menu__inner > ul {
	margin: 0;
	padding: 0;
}

#all-consoles-menu > ul li.main:hover .all-consoles-menu__inner {
	display: flex;
}

#all-consoles-menu .console-menu__inner {
	position: absolute;
	top: 0;
	left: 230px;
	right: 0;
	padding: 0;
	margin: 0;
	display: none;
}

#all-consoles-menu .console-menu.in .console-menu__inner {
	display: flex;
}

#all-consoles-menu .all-consoles-menu__inner ul li span {
	white-space: nowrap;
    color: #000;
    padding: 0 10px 0 15px;
    line-height: 30px;
    font-size: 12px;
    font-weight: bold;
}

#all-consoles-menu .all-consoles-menu__inner ul li a {
	white-space: nowrap;
	color: #666;
	padding: 0 10px 0 15px
}

#all-consoles-menu .all-consoles-menu__inner a {
	line-height: 30px;
	display: block;
	font-size: 12px;
	font-weight: normal;
	padding: 0 5px 0 5px;
	text-align: left
}

#all-consoles-menu .all-consoles-menu__inner a:hover, 
#all-consoles-menu .all-consoles-menu__inner li a:hover {
	color: var(--gs-accent);
	background: 0;
}

#all-consoles-menu p {
	clear: left
}

#main {
	margin-top: 0.875rem;
}

#main article {
	background-color: #fff;
	padding: 1rem;
}

#footer {
	background-color: var(--gs-primary);
	border-top: 1px solid #333;
	padding-top: 1rem;	
}

#mobile-nav .dropdown-menu ul.nav {
	flex-direction: column;
}

#mobile-nav .dropdown-menu .nav-header {
	flex: 0 0 auto;
	width: 100%;
}

@media (min-width: 576px) {
	#mobile-nav .dropdown-menu ul.nav {
		flex-direction: row;
	}

	#mobile-nav .dropdown-menu .nav-item {
		flex: 0 0 auto;
		width: 50%;
	}
}

#mobile-nav .dropdown-menu a.nav-link {
	color: var(--bs-dark);
	font-weight: normal;
	text-decoration: none;
}

#mobile-nav .dropdown-menu a:hover.nav-link {
	color: var(--gs-primaryd);
}

#mobile-nav .nav-link,
#footer .nav-link {
	color: #fff;
	text-decoration: underline;
}

#mobile-nav .nav-link:hover,
#mobile-nav .nav-link:focus,
#footer .nav-link:hover,
#footer .nav-link:focus {
	color: #e0e0e0;
}

#sub-navigation nav a {
	flex-grow: 1;
}

@media (min-width: 992px) {
	#sub-navigation nav a {
		flex-grow: 0;
	}
}



.woocommerce-result-count {
	font-size: 1.5rem;
	color: #fff;
}

#products-sidebar {
	flex-grow: 1;
	border-radius: 0;
}

.products-sidebar-container .sidebar-header {
	display: none;
	background-color: #00c;
	color: #fff;
	margin: 0 calc(var(--bs-gutter-x) * -0.5);
	padding: 0.5rem;
}

@media (max-width: 991px) {

	.products-sidebar-container.popout {
		display: flex !important;
		flex-direction: column;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 80vw;
		max-width: 576px;
		background-color: #fff;
		border-left: 1px solid #000;
		box-shadow: -4px 0 16px #900;
		z-index: 999999;
	}

	.products-sidebar-container.popout .sidebar-header {
		display: flex !important;
	}

}

#products-sidebar .accordion-body {
	display: flex;
	flex-direction: column;
}

#products-sidebar .accordion-item {
	border: none;
    border-bottom: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
}

#products-sidebar .accordion-item:first-of-type,
#products-sidebar .accordion-item:first-of-type .accordion-button,
#products-sidebar .accordion-item:last-of-type,
#products-sidebar .accordion-item:last-of-type .accordion-button {
	border-radius: 0;
}

#products-sidebar .accordion-item:first-of-type {
    border-top: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
}

#products-sidebar .accordion-button::after {
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3Ryb2tlPSIjMGQ2ZWZkIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMwZDZlZmQiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOCAyYS41LjUgMCAwIDEgLjUuNXY1aDVhLjUuNSAwIDAgMSAwIDFoLTV2NWEuNS41IDAgMCAxLTEgMHYtNWgtNWEuNS41IDAgMCAxIDAtMWg1di01QS41LjUgMCAwIDEgOCAyWiI+PC9wYXRoPjwvc3ZnPg==');
}

#products-sidebar .accordion-button:not(.collapsed) {
    color: var(--gs-primary);
	background-color: #fff9f9;
}

#products-sidebar .accordion-item.active .accordion-button {
	font-weight: 500;
}

#products-sidebar .accordion-button:not(.collapsed)::after {
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0iIzBkNmVmZCIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzBkNmVmZCIgc3Ryb2tlLXdpZHRoPSIxIiBkPSJNMiA4YS41LjUgMCAwIDEgLjUtLjVoMTFhLjUuNSAwIDAgMSAwIDFoLTExQS41LjUgMCAwIDEgMiA4WiIvPjwvc3ZnPg==');
	transform: rotate(90deg);
}

#products-sidebar .form-check-input:checked {
    background-color: var(--gs-primary);
    border-color: var(--gs-primary);
}

#pagination ul.pagination {
	justify-content: center;
}

#pagination .page-link {
	border: unset;
	color: var(--gs-primary);
    font-size: calc(0.75rem + 0.5vw);
    padding: calc(0.25rem + 0.25vw) calc(0.5rem + 0.25vw);
}

#pagination .disabled>.page-link, .page-link.disabled {
    color: var(--bs-pagination-disabled-color);
    border-color: var(--bs-pagination-disabled-border-color);
}

#pagination .active>.page-link, .page-link.active {
    background-color: unset;
    color: unset;
    border: 1px solid var(--gs-primary);
    border-radius: var(--bs-pagination-border-radius);
}

.woocommerce div.product {
    margin-bottom: 2rem;
}

.woocommerce-products-header div.product {
	margin-bottom: 0;
}

.woocommerce .product .woocommerce-loop-product__link,
.woocommerce .product .product {
	display: flex;
    flex-direction: column;
	color: #333;
	text-decoration: none;
}

.woocommerce .product .img__wrapper {
    border: 1px solid #666;
    border-radius: 0.375rem;
    overflow: hidden;
}

.woocommerce .product .woocommerce-loop-product__title {
	font-size: 1rem;
    color: var(--bs-dark);
	text-shadow: 0 0 1px #666;
	margin-top: 0.5rem;
    margin-bottom: 0;
}

.woocommerce .product .woocommerce-loop-product__link:hover .woocommerce-loop-product__title {
	color: var(--bs-primary);
} 

.woocommerce .product .woocommerce-loop-product__category {
	font-size: 0.9rem;
	font-weight: normal;
	color: var(--bs-dark);
	margin: 0;
}

.woocommerce .product .woocommerce-loop-product__price {
	font-size: 1.25rem;
	font-weight: 600;
}

.woocommerce .product .woocommerce-loop-product__overlay {
    position: absolute;
    display: flex;
    align-self: flex-end;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem 0.25rem 0;
	box-shadow: 0 -1px 0 #fff, 0 1px 0 #fff;
    background-color: var(--bs-primary);
    color: var(--bs-light);
}

.woocommerce .product .woocommerce-loop-product__overlay::before {
    content: '';
    position: absolute;
    bottom: 100%;
    top: 0;
    left: -2rem;
    height: 0;
    width: 0;
    border-top: 2rem solid var(--bs-primary);
    border-left: 2rem solid transparent;
	box-shadow: 0 -1px 0 #fff;
}

.woocommerce .product .woocommerce-loop-product__overlay::after {
    content: '';
    position: absolute;
    bottom: 100%;
    top: 0;
    left: -2rem;
    height: 0;
    width: 0;
    border-bottom: 2rem solid var(--bs-primary);
    border-left: 2rem solid transparent;
	box-shadow: 0 1px 0 #fff;
}

.woocommerce .product .woocommerce-loop-product__overlay.out-of-stock {
    background-color: var(--bs-danger);
    color: var(--bs-light);
}

.woocommerce .product .woocommerce-loop-product__overlay.out-of-stock::before {
    border-top-color: var(--bs-danger);
}

.woocommerce .product .woocommerce-loop-product__overlay.out-of-stock::after {
    border-bottom-color: var(--bs-danger);
}


.woocommerce .product .product_title {
	font-size: calc(1rem + 1vw);
}

.woocommerce .product .product_price {
	font-weight: 400;
}

.woocommerce div.product div.images {
    float: unset;
    width: unset;
}

.woocommerce div.product .out-of-stock {
    color: var(--bs-btn-color);;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
	display: flex !important;
	flex-direction: column !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__overlay {
	list-style: none;
	position: absolute;
    margin: 0;
	padding: 0;
    display: flex;
	flex-direction: column;
    align-self: flex-end;
}

.woocommerce div.product div.images .woocommerce-product-gallery__overlay li {
	--overlay-bgcolor: var(--bs-primary);
	--overlay-color: var(--bs-light);
	margin-top: 0.50rem;
	margin-left: auto;
	padding: 0.25rem 0.50rem;
    box-shadow: 0 -1px 0 #fff, 0 1px 0 #fff;
    background-color: var(--overlay-bgcolor);
	color: var(--overlay-color);
	text-align: right;
}

.woocommerce div.product div.images .woocommerce-product-gallery__overlay li::before {
	content: "";
    float: left;
    margin: -0.25rem 0 -0.25rem -2rem;
    height: 0;
    width: 0;
    border-top: 2rem solid var(--overlay-bgcolor);
    border-left: 1.5rem solid transparent;
    box-shadow: 0 -1px 0 #fff;
}

.woocommerce div.product div.images .woocommerce-product-gallery__overlay li.secondary {
	--overlay-bgcolor: var(--bs-secondary);
	--overlay-color: var(--bs-light);
}

.woocommerce div.product div.images .woocommerce-product-gallery__overlay li.success {
	--overlay-bgcolor: var(--bs-success);
	--overlay-color: var(--bs-light);
}

.woocommerce div.product div.images .woocommerce-product-gallery__overlay li.warning {
	--overlay-bgcolor: var(--bs-warning);
	--overlay-color: var(--bs-dark);
}

.woocommerce div.product div.images .woocommerce-product-gallery__overlay li.danger {
	--overlay-bgcolor: var(--bs-danger);
	--overlay-color: var(--bs-light);
}

.woocommerce div.product div.images .woocommerce-product-gallery__overlay li.info {
	--overlay-bgcolor: var(--bs-info);
	--overlay-color: var(--bs-light);
}

.woocommerce div.product div.images .woocommerce-product-gallery__overlay li.light {
	--overlay-bgcolor: var(--bs-light);
	--overlay-color: var(--bs-dark);
}

.woocommerce div.product div.images .woocommerce-product-gallery__overlay li.dark {
	--overlay-bgcolor: var(--bs-dark);
	--overlay-color: var(--bs-light);
}


.woocommerce div.product div.images .flex-viewport,
.woocommerce div.product div.images .flex-control-thumbs li img {
	border: 1px solid var(--bs-gray-600);
}

.woocommerce div.product div.images .flex-control-thumbs li {
	padding: 1rem 1rem 0 0;
}

.woocommerce .product .offerings-list {
	background-color: #fafafa;
}

.woocommerce .product .offerings-list .row {
	padding: 0.375rem 0;
	border-bottom: 1px solid #aaa;
}

.woocommerce .product .offerings-list .row:nth-child(odd) {
	background-color: #f0f0f0;
}

.woocommerce .product .offerings-list .btn-add-to-cart {
	flex: 1 0;
}

.woocommerce .product .offerings-list .btn-add-to-cart svg {
	vertical-align: bottom;
}

.woocommerce .product .badge-in-cart {
	margin-top: 0.50rem;
	font-size: 0.875rem;
    color: var(--bs-danger);
    vertical-align: text-bottom;
    border: 1px solid var(--bs-danger);
}

.woocommerce .offerings-list .badge-in-cart {
	font-size: 0.65rem;
    color: var(--bs-danger);
    vertical-align: text-bottom;
    border: 1px solid var(--bs-danger);
}

.woocommerce .product-category .card {
	border-color: #000;
}

.woocommerce .product-category .card-footer {
	padding: 0;
	background-color: #000;
	color: #fff;
	border-top-color: #000;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}

.woocommerce .product-category-parent .card-footer {
	background-color: #ccc;
    color: #000;
}


.woocommerce .product-category .woocommerce-loop-category__title {
	padding: 0.5rem 0;
	margin: 0;
}

.woocommerce .product-category .card-img-overlay a {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--gs-primary);
}



@media (min-width: 1200px) {
	.woocommerce nav.woocommerce-pagination .page-numbers {
    	font-size: 1.75rem!important;
	}
}

.woocommerce nav.woocommerce-pagination .page-numbers {
    font-size: calc(1.3rem + .6vw)!important;
}

#product-filter-price-controls {
    margin-bottom: 1rem;
}

.noUi-connect {
	background: var(--gs-primary);
}

.row-cols-7>* {
	flex: 0 0 auto;
	width: 14.2857142857%;
}

@media (min-width: 576px) {
	.row-cols-sm-7>* {
		flex: 0 0 auto;
		width: 14.2857142857%;
	}
}

@media (min-width: 768px) {
	.row-cols-md-7>* {
		flex: 0 0 auto;
		width: 14.2857142857%;
	}
}

@media (min-width: 992px) {
	.row-cols-lg-7>* {
		flex: 0 0 auto;
		width: 14.2857142857%;
	}
}

@media (min-width: 1200px) {
	.row-cols-xl-7>* {
		flex: 0 0 auto;
		width: 14.2857142857%;
	}
}

@media (min-width: 1400px) {
	.row-cols-xxl-7>* {
		flex: 0 0 auto;
		width: 14.2857142857%;
	}
}

.row-cols-8>* {
	flex: 0 0 auto;
	width: 12.5%;
}

@media (min-width: 576px) {
	.row-cols-sm-8>* {
		flex: 0 0 auto;
		width: 12.5%;
	}
}

@media (min-width: 768px) {
	.row-cols-md-8>* {
		flex: 0 0 auto;
		width: 12.5%;
	}
}

@media (min-width: 992px) {
	.row-cols-lg-8>* {
		flex: 0 0 auto;
		width: 12.5%;
	}
}

@media (min-width: 1200px) {
	.row-cols-xl-8>* {
		flex: 0 0 auto;
		width: 12.5%;
	}
}

@media (min-width: 1400px) {
	.row-cols-xxl-8>* {
		flex: 0 0 auto;
		width: 12.5%;
	}
}

.shopping-cart-notice {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1002;
	background-color: rgba(0, 0, 0, 0.50);
}

.shopping-cart-notice .notice {
	position: absolute;
	top: 50%;
	left: 10vw;
	right: 10vw;
	transform: translateY(-50% );
    margin: 0;
	padding: 1rem;
	border: 1px solid var(--gs-primary);
	background-color: #fff;
}

@media (min-width: 992px) {
	.shopping-cart-notice .notice {
		left: 50%;
		right: unset;
		transform: translate( -50%, -50% );
		width: 50%;
	}
}


.loading-box {
	display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	background-color: #fff;
	z-index: 1001;
}

.loading-anim {
	display: inline-block;
	width: 80px;
	height: 80px;
}
  
.loading-anim::after {
	content: " ";
	display: block;
	width: 64px;
	height: 64px;
	margin: 8px;
	border-radius: 50%;
	border: 6px solid var(--gs-primary);
	border-color: var(--gs-primary) transparent var(--gs-primary) transparent;
	animation: loading-anim 1.2s linear infinite;
}

@keyframes loading-anim {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.placeholder-box {
    width: 100%;
    padding-bottom: 100%;
    background-color: #444;
    position: relative;
    animation: placeholder-anim 1.5s infinite;
}

.placeholder-text {
    width: 100%;
    margin-top: 0.5rem;
    padding-bottom: 1.5rem;
    background-color: #444;
    animation: placeholder-anim 1.5s infinite;
}

@keyframes placeholder-anim {
	0% {
		opacity: 0.1;
	}
	
	50% {
		opacity: 0.2;
	}
	
	100% {
		opacity: 0.1;
	}
}
  

.processing {
	position: relative;
	margin: 8px auto;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: #fff;
	color: #fff;
	-webkit-animation: processing-anim 0.75s infinite linear alternate;
	animation: processing-anim 0.75s infinite linear alternate;
	-webkit-animation-delay: 0.25s;
	animation-delay: 0.25s;
}

.processing::before, .processing::after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 0;
}

.processing::before {
	left: -15px;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: #fff;
	color: #fff;
	-webkit-animation: processing-anim 0.75s infinite alternate;
	animation: processing-anim 0.75s infinite alternate;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
}

.processing::after {
	left: 15px;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: #fff;
	color: #fff;
	-webkit-animation: processing-anim 0.75s infinite alternate;
	animation: processing-anim 0.75s infinite alternate;
	-webkit-animation-delay: 0.5s;
	animation-delay: 0.5s;
  }
  
@-webkit-keyframes processing-anim {
	0% {
		background-color: #fff;
	}
	50%, 100% {
		background-color: rgba(128, 128, 128, 0.2);
	}
}

@keyframes processing-anim {
	0% {
		background-color: #fff;
	}
	50%, 100% {
		background-color: rgba(128, 128, 128, 0.2);
	}
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
	float: unset;
	width: unset;
}
