@charset "utf-8";
/*
Theme Name: Holy Grail eCommerce extension
Theme URI: 
Version: 2.1.8.4
Description: Holy Grail child theme for WooCommerce integration
Author: Damián Fraustro
Author URI: https://fraustro-design.com
Template: holygrail
Text Domain: holygrail-market
Tags: woocommerce
*/

/* Menu */

.show-for-user {
	display:none !important;
}

.hide-for-user {
	display:inherit !important;
}

.logged-in .show-for-user {
	display:inherit !important;
}

.logged-in .hide-for-user {
	display:none !important;
}

/* == WooCommerce == */

/* = Products = */

.search-form .search-field {
	padding:0.75rem;
}

.product-category a h2 {
	color: var(--hg-primary);
}

.product-category a h2:hover {
	color: var(--hg-secondary);
}

.product-hero {
	background: -moz-linear-gradient(top, var(--hg-secondary) 0%, var(--hg-dark-accent) 100%);
	background: -webkit-linear-gradient(top, var(--hg-secondary) 0%,var(--hg-dark-accent) 100%);
	background: linear-gradient(to bottom, var(--hg-secondary) 0%,var(--hg-dark-accent) 100%);
	width:100%;
	height:100%;
	padding:1.5rem 0;
	text-align:center;
}

.product-hero .content-area {
	display:inline-block;
}

.product-hero .breadcrumbs,
.product-hero .breadcrumbs a,
.product-hero .breadcrumbs .separator {
	font-weight:normal;
	color:var(--hg-bg-color);
}

.product-hero .breadcrumbs a:hover {
	color:var(--hg-light-accent);
}

.woocommerce .products {
	display:grid;
	grid-gap:1.5rem;
	text-align:center;
	clear:both;
}

.woocommerce .related {
	margin-bottom:2rem;
}

.woocommerce .related h2 {
	margin-bottom:2rem;
}

.woocommerce .products.columns-2 {
	grid-template-columns:repeat(2, 1fr);
}

.woocommerce .products.columns-3 {
	grid-template-columns:repeat(3, 1fr);
}

.woocommerce .products.columns-4 {
	grid-template-columns:repeat(4, 1fr);
}

.woocommerce .products.columns-5 {
	grid-template-columns:repeat(5, 1fr);
}

.woocommerce .products.columns-6 {
	grid-template-columns:repeat(6, 1fr);
}

@media (max-width:992px) {
	.woocommerce .products.columns-3,
	.woocommerce .products.columns-4 {
		grid-template-columns:repeat(2, 1fr);
	}
	
	.woocommerce .products.columns-5,
	.woocommerce .products.columns-6 {
		grid-template-columns:repeat(3, 1fr);
	}
}

.woocommerce ul.products::before {
	content:none;
}

.woocommerce ul.products li.product {
	float:none;
	width:100% !important;
	margin:0;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link .attachment-woocommerce_thumbnail {
	margin:0;
}

.woocommerce ul.products .woocommerce-loop-product__link {
	display:flex;
	flex-direction:column;
	gap:.75rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__link .price {
	padding:0;
	margin:0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link .woocommerce-loop-product__title {
	font-size:1.25em;
	font-family:var(--hg-base-font);
	font-weight:700;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link .price {
	font-weight:700;
	color:var(--hg-primary);
}

/* = Sidebar = */

.woocommerce-account .sidebar .woocommerce-MyAccount-navigation {
	float:none;
	width:auto;
}

.woocommerce-MyAccount-navigation ul {
	margin:0;
}

.woocommerce .edit-account .form-row {
	padding: 0;
	margin-bottom: 0;
}

/* = Add to Cart = */

.woocommerce div.product form.cart .add-to-cart-wrapper {
	display: flex;
	gap:1rem;
}

.woocommerce div.product form.cart div.quantity {
	float:none;
	margin:0;
}

.woocommerce table.shop_table {
	border-color:var(--hg-light-accent);
	border-radius:.25rem;
	border-left-width:2px;
	border-bottom-width:2px;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tbody td,
.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td {
	border-top-color:rgb(var(--hg-light-accent-rgb)/.5) !important;
}

/* = Checkout = */

.woocommerce-checkout h3 {
	text-align:left;
	margin-bottom:.5em;
	color:var(--hg-secondary);
}

.woocommerce-checkout * + h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
	margin-top:1em;
}

.woocommerce-checkout #payment {
	background:none;
}

.woocommerce-checkout #payment ul.payment_methods {
	padding:0 0 1rem;
	border-bottom: 1px solid var(--hg-light-accent);
}

.woocommerce-checkout #payment div.payment_box {
	background-color:var(--hg-secondary);
	color:var(--hg-bg-color);
	margin-bottom:0;
	border-radius:.25rem;
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color:var(--hg-secondary);
}

.woocommerce-checkout #payment div.form-row {
	padding:1rem 0 0;
	margin:0;
}

.woocommerce-checkout #payment div.form-row .woocommerce-terms-and-conditions-wrapper {
	padding-bottom:1rem;
}

/* = Order Details = */

.woocommerce .woocommerce-customer-details address {
	padding:1rem;
	border-color:var(--hg-light-accent);
	border-radius:.25rem;
	border-left-width:2px;
	border-right-width:1px;
}

.woocommerce .woocommerce-order .woocommerce-order-details,
.woocommerce .woocommerce-order .woocommerce-customer-details,
.woocommerce .wc-account-content .woocommerce-order-details,
.woocommerce .wc-account-content .woocommerce-customer-details {
	margin-bottom:1.5rem;
}

.woocommerce .woocommerce-order .woocommerce-order-details h2,
.woocommerce .woocommerce-order .woocommerce-customer-details h2,
.woocommerce .wc-account-content .woocommerce-order-details h2,
.woocommerce .wc-account-content .woocommerce-customer-details h2 {
	margin-bottom:1rem;
}

.woocommerce .wc-account-content .woocommerce-notices-wrapper + p {
	margin:0 0 1.5rem;
}

/* = Forms = */

.woocommerce form .form-row {
	padding:0;
	margin:0;
}

.woocommerce form * + .form-row:not(.form-row-last) {
	margin-top:.5em;
}

.woocommerce form .form-row .required {
	color:inherit;
}

.woocommerce form .show-password-input {
	top:auto;
	line-height:.8;
	margin-bottom:20px;
}

.woocommerce form .show-password-input::after,
.woocommerce-page form .show-password-input::after {
	font-family:'FontAwesome';
	content:'\f06e';
}

.woocommerce form .show-password-input.display-password::after,
.woocommerce-page form .show-password-input.display-password::after {
	content:'\f070';
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	border: none;
	padding:1.5rem;
    margin:2rem 0;
	border-radius: 0;
}

.select2-container--default .select2-selection--single {
	font-size: 1em;
    padding: 0.75rem 1.25rem;
    background-color: rgb(var(--hg-alt-bg-rgb)/.25);
    color: var(--hg-dark-accent);
    border: 1px solid transparent;
	border-radius:.25rem;
	height:auto;
}

.select2-container--focus .select2-selection--single,
.select2-container--open .select2-dropdown--above,
.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-selection--single {
	border:1px solid var(--hg-primary);
	outline: none;
}

.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single {
	background-color:rgba(var(--hg-alt-bg-rgb)/.25);
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding-left:0;
	line-height:1;
}

.select2-container--open .select2-dropdown--above,
.select2-container--open .select2-dropdown--below {
	background-color: white;
}

.select2-container--open .select2-dropdown--above {
	border-bottom:none;
}
.select2-container--open .select2-dropdown--below {
	border-top:1px solid rgba(var(--hg-primary-rgb),.5);;
}

.select2-search--dropdown,
.select2-dropdown--above .select2-results,
.select2-dropdown--below .select2-results {
	background-color:rgba(var(--hg-primary-rgb),.25);
}

.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
	border-top:1px solid rgba(var(--hg-primary-rgb),.5);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height:100%;
}

/* = Images Gallery = */

.woocommerce-product-gallery__wrapper .product-image {
	display:block;
	position:relative;
	cursor:zoom-in;
}

.woocommerce-product-gallery__wrapper .product-image:hover {
	outline:1px solid var(--hg-menu-hover);
	z-index:9;
}