/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* 

00. Global
01. Header
02. Product Grids
03. Footer
04. Cart / Checkout
05. Page: Reviews
06. Products
07. Language Switcher
08. Product Categories menu
09. Events

*/

/* 00. Global */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
    --wc-green: #5f674e !important;
    --wc-red: #99514e !important;
    --wc-blue: #495367 !important;
}

.woocommerce-page ul.products li.product a.button, .woocommerce-page .woocommerce-message a.button, .woocommerce-page .woocommerce-message a.button.wc-forward, .woocommerce-page .woocommerce a.button.wc-forward, .woocommerce-page button.button, .woocommerce-page button.button.alt, .woocommerce-page a.button, .woocommerce-page a.button.alt, .woocommerce-page .woocommerce button[type=submit], .woocommerce-page button[type=submit].alt.disabled {
	background-color: var(--wc-green) !important;
	border-radius: 6px !important;
}

.woocommerce-page ul.products li.product a.button:hover, .woocommerce-page .woocommerce-message a.button:hover, .woocommerce-page .woocommerce-message a.button.wc-forward:hover, .woocommerce-page .woocommerce a.button.wc-forward:hover, .woocommerce-page button.button:hover, .woocommerce-page button.button.alt:hover, .woocommerce-page a.button:hover, .woocommerce-page a.button.alt:hover, .woocommerce-page .woocommerce button[type=submit]:hover, .woocommerce-page button[type=submit].alt.disabled:hover {
	background-color: #000 !important;
}

/* 01. Header */
#account-header .logo img {
	height: 60px;
}

#account-header .logo span {
	font-weight: 600;
	font-size: 1.2em;
	padding-right: 10px;
}

#account-header .logo .fl-html {
	display: flex;
    align-items: center;
    justify-content: flex-start;
	white-space: nowrap;
}

@media screen and (max-width: 767px) {
	#account-header .logo .fl-html {
		display: block;
		text-align: center;
	}
}

#account-header .product-search .woocommerce-product-search {
	display: flex;
}

#account-header .product-search .woocommerce-product-search input,
#account-header .product-search .woocommerce-product-search button {
	border-radius: 0;
}

#account-header .product-search .woocommerce-product-search input {
	width: 70% !important;
}

#account-header .product-search .woocommerce-product-search button {
	background: #5F674E;
	border: none;
}

#account-header .product-search .woocommerce-product-search button:hover {
	background: #000;
}

@media screen and (max-width: 992px) {
	#account-header .logo .fl-html {
		justify-content: normal;
		padding-left: 20px;
	}
	#account-header .logo img {
		height: 40px;
	}
}

#sticky-menu {
  position: relative;
}

.stuck {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 10;
}

.sticky-parent {
	margin-bottom: 56px;
}

.uabb-creative-menu .uabb-menu-toggle:before {
    content: '+' !important;
    font-family: serif !important;
    font-weight: 300 !important;
}

@media screen and (min-width: 993px) {
	.hidden-desktop {
		display: none;
	}
}

.mega-menu-trans > div > a > span {
	opacity: 0;
}

.mega-menu .sub-menu {
	background: #fff;
	width: 100% !important;
}

/* 02. Product Grids */
.webco-woo-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 20px;
	align-items: end;
}

.webco-woo-product a img, .tax-product_cat .fl-post-grid-image img {
    width: 100%;
    height: auto;
    display: block;
/* 	box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.1); */
/*     border-radius: 12px !important; */
	transition: all 0.2s ease-in-out;
}

@media screen and (min-width: 768px) {
	.tax-product_cat .fl-post-grid-image img {
    	aspect-ratio: 2 / 3;
    	object-fit: contain;
    	object-position: bottom;
	}
	.tax-product_cat div.product div[itemprop] {
		display: none;
	}
	.tax-product_cat .fl-post-column {
		display: grid !important;
	}
	.tax-product_cat .fl-post-module-woo-button a.button {
		display: block;
		width: 100%;
		text-align: center;
		border-radius: 0 !important;
	}
}

.webco-woo-product {
	position: relative;
}

.fl-post-grid-post {
	transition: all 0.2s ease-in-out;
}

/*.webco-woo-product a:hover img, .tax-product_cat .fl-post-grid-image:hover img */
 .fl-post-grid-post:hover {
	transform: scale(1.05);
/* 	border-radius: 6px;
	box-shadow: 2px 3px 10px rgba(0,0,0,0.3); */
}

.webco-woo-product .add-to-cart-btn {
	opacity: 0;
    position: absolute;
	display: inline-block;
    top: 12px;
    right: 12px;
    background: #fff;
    color: #5F674E;
	padding: 2px 8px;
	font-size: 1.2em;
	box-shadow: 0px 0px 8px rgba(0,0,0,0.08);
	transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
	border: #000;
	border-radius: 6px;
}

.webco-woo-product:hover .add-to-cart-btn {
	opacity: 1;
}

.webco-woo-product .add-to-cart-btn:hover {
	background: #5F674E;
	color: #fff;
	box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
}

.webco-woo-product .add-to-cart-btn .grid-price {
    font-size: 0.8em;
}

.view-all {
	font-style: italic;
	display: block;
	text-align: right;
	font-size: 0.9em;
}

.archive .webco-woo-product {
	margin-bottom: 80px;
}

.archive-product-title {
	display: block;
    position: absolute;
    font-size: 0.9em;
    bottom: 0;
    padding: 4px;
    margin: 0 4px 0 0;
    border-radius: 0px 4px 0px 0px;
    background: rgba(255, 255, 255, 0.9);
	transition: all 0.2s ease-in-out;
}

.archive .webco-woo-product:hover .archive-product-title {
	background: #5F674E;
}

.archive .webco-woo-product:hover .archive-product-title a {
	transition: all 0.2s ease-in-out;
}
	
.archive .webco-woo-product:hover .archive-product-title a {
	color: #fff;
}

/* 03. Footer */

footer ul {
	font-size: 0.9em;
}

footer #shop-az-menu .menu-footer-shop-a-z-container {
	columns: 2;
	gap: 10px;
}

footer .policies-nav ul {
	list-style-type: none;
}

footer .policies-nav ul li {
	display: inline-block;
	padding: 0;
}

footer .policies-nav ul li:after {
	content: " | ";
}

footer .policies-nav ul li:last-child:after {
	content: "";
}

/* 04. Cart / Checkout */

.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    background: #000;
    color: #fff;
}

.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
    background: #5F674E;
    color: #fff;
}

#pwgc-redeem-gift-card-form {
	display: none !important;
}

/* 05. Page: Reviews */
/* Styles for the masonry grid */
.woo-reviews-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -15px; /* Adjust margin based on your layout */
}

/* Styles for each review */
.woo-review {
    width: calc(33.3% - 45px); /* Two reviews per row by default */
    margin: 0px 15px 40px 15px; /* Adjust margin based on your layout */
	display: flex;
    align-items: center;
	gap: 10px;
	font-size: 0.92em;
}

.woo-review-image {
	min-width: 150px;
}

.woo-review-image img {
	width: 150px;
	height: auto;
	border-radius: 4px;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.woo-review-text i {
	color: #99514e;
}

.woo-review-text .customer-name {
	color: #99514e;
	font-weight: bold;
	margin-bottom: 0;
	text-transform: capitalize;
}

.woo-review-text .review-link {
	font-size: 0.9em;
}

.pagination {
	display: block;
	text-align: center;
	margin-top: 20px;
}

.pagination a {
	border: 1px solid #99514e;
	color: #99514e;
	margin: 20px 20px 0 20px;
	padding: 8px 24px;
	border-radius: 24px;
}

.pagination a:hover {
	border: 1px solid #fff;
	color: #fff;
	background: #99514e;
	margin: 20px 20px 0 20px;
	padding: 8px 24px;
	border-radius: 24px;
}

/* 06. Products */
.woocommerce-product-gallery {
  background: conic-gradient(from 0deg at 50% 50%, rgba(204,108,104,1), rgba(153,81,78,1));
}

.woocommerce-product-gallery__wrapper > div > a {
	position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
	background: conic-gradient(from 0deg at 50% 50%, rgba(116, 129, 91, 1), rgba(162, 180, 127, 1));
}

.woocommerce-product-gallery__wrapper > div > a > img {
	height: 50% !important;
    width: auto !important;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	border: 1px solid rgba(116, 129, 91, 1) !important;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1) !important;
}

.pp-sticky-col .fl-col-content .fl-module {
	position: sticky;
	top: 80px;
}

#translateButtonContainer {
	text-align: right;
}

#translateButton {
	display: inline-block !important;
    color: #000;
    background: transparent;
    border-color: #000;
    display: block;
}

#translateButton:before {
	display: inline-block;
	padding-right: 6px;
	content: "\e90c";
	font-family: 'Ultimate-Icons' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}

.translatepress-ga_IE #translateButtonContainer {
	display: none;
}

.sku_wrapper {
	display: block;
}

.product-meta .fl-html {
	font-size: 16px;
	font-weight: bold;
}

.product-meta .fl-html:before {
	font-weight: normal;
	content: "ISBN: ";
}

button.single_add_to_cart_button.button.alt {
    border-radius: 4px !important;
    display: inline-block;
    padding: 7px 14px;
	background: #000 !important;
	transition: all 0.2s ease-in-out;
}

button.single_add_to_cart_button.button.alt:hover {
	background: #5f674e !important;
    padding: 7px 18px;
}

blockquote {
	font-size: 1.4em;
}

/* 07. Language Switcher */
.fl-builder-content-31864 {
	padding: 0 !important;
}
#menu-language-switcher-ga .uabb-modal-close,
#menu-language-switcher-en .uabb-modal-close {
	visibility: unset !important;
	font-size: unset !important;
	position: relative !important;
}

#menu-language-switcher-ga,
#menu-language-switcher-en {
    list-style: none;
    padding: 0;
}

#menu-language-switcher-ga li,
#menu-language-switcher-en li {
    display: inline-block;
	margin: 0 10px;
}

#menu-language-switcher-ga li a,
#menu-language-switcher-en li a {
    display: inline-block;
    background: #99514e;
    color: #fff;
    padding: 6px 24px;
    border-radius: 6px;
}

#menu-language-switcher-ga li a:hover,
#menu-language-switcher-en li a:hover {
	background: #cc6c68;
}

/* 08. Product sidebar */
.product-sidebar .widget .product-categories {
	font-size: 0.9em;
    color: #cc6c68;
}

.product-sidebar .widget .product-categories .children {
    margin: 10px 0 10px 10px;
    font-size: 0.9em;
}

.product-sidebar .woocommerce-product-search {
    display: flex;
}

.product-sidebar .woocommerce-product-search button[type=submit] {
	background: var(--wc-red) !important;
	border-color: var(--wc-red) !important;
}

/* 09. Events */
.post-type-archive-event .fl-post-image img {
	width: 100%;
}

.event-book {
    display: flex;
    flex-direction: column;
	text-align: center;
}

.event-book img {
    margin-bottom: 20px;
}

.product-authors {
    font-size: 1.25em;
}

.product-authors a {
    text-decoration: none;
}

.product-authors a:hover {
    text-decoration: underline;
}

.single-product .gpay-card-info-container-fill, .single-product #wc-square-digital-wallet, .single-product #apple-pay-button {
	width: auto !important;
	padding-top: 0 !important;
	margin: 0 !important;
}

.single-product form.cart, .single-product #wc-square-digital-wallet {
	display: flex !important;
	align-content: center;
}

.single-product form.cart {
	flex-wrap: wrap;
}

body:not(.woocommerce-checkout) #wc-square-digital-wallet:before,
body:not(.woocommerce-cart) #wc-square-digital-wallet:before {
    content: "—OR—";
	margin: 0px 10px;
}

.single-product button#gpay-button-online-api-id {
    display: flex;
}

