/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: A modified version of Hellp Elementor child for a WooCommerce book shop built with Elementor Pro by WP Academy
Author URI: https://twitter.com/MrShahzadRaza
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
body a {
	color: var( --e-global-color-accent );
}
[type=button], [type=submit], button {
	color: var( --e-global-color-accent );
	border-color: var( --e-global-color-accent );
}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
	background-color: var( --e-global-color-accent );
}
.no-p-margin p, .woocommerce-breadcrumb {
	margin-bottom: 0 !important;
}
.woo-variation-swatches .variable-items-wrapper {
	justify-content: center;
}
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
	background: transparent !important;
}
.onsale {
    background-color: var( --e-global-color-accent ) !important;
}
.woocommerce-tabs ul.wc-tabs li a {
    color: var(--e-global-color-primary );
    background-color: #f9f9f9;
    font-weight: 500;
    font-size: 16px;
    font-family: "Raleway", sans-serif;
    padding: 15px 20px !important;
}
.woocommerce-tabs ul.wc-tabs li.active a {
	background-color: var(--e-global-color-accent );
    color: #ffffff !important;
}
.woocommerce-tabs ul.wc-tabs li:first-child a {
	border-radius: 5px 0 0 5px;
}
.woocommerce-tabs ul.wc-tabs li:last-child a {
	border-radius: 0 5px 5px 0;
}
.woocommerce-product-gallery {
	margin-bottom: 0 !important;
}
.single .woocommerce-product-rating {
	align-items: flex-start !important;
	justify-content: start !important;
}
.reviews-only-stars .woocommerce-review-link {
	display: none !important;
}
.woocommerce-thankyou-order-received {
    text-align: center;
    color: var(--e-global-color-accent);
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    margin-bottom: 40px;
    line-height: 1;
}
.woocommerce-thankyou-order-details {
    margin: 0 !important;
    list-style: none;
    padding: 0 !important;
    display: block;
    text-align: center;
    width: 100%;
}
.woocommerce-thankyou-order-details li {
    float: none !important;
    margin-right: 0 !important;
    text-transform: uppercase;
    font-size: .715em;
    line-height: 1;
    border-right: 1px dashed #d3ced2;
    padding-right: 3em !important;
    margin-left: 0;
    padding-left: 3em !important;
    list-style-type: none;
    display: inline-block;
}
.woocommerce-checkout .woocommerce-order-details {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    margin: 50px 0;
}
.woocommerce-checkout .woocommerce-order-details h2, .woocommerce-checkout .woocommerce-column__title {
	margin-top: 0;
	color: #000000;
	font-family: 'Poppins',sans-serif;
	font-size: 24px;
	font-weight: 600;
}
.woocommerce-checkout .woocommerce-table--order-details thead {
	background-color: #000000 !important;
}
.woocommerce-checkout .woocommerce-table--order-details thead tr th, .woocommerce-checkout .woocommerce-table--order-details tbody tr td, .woocommerce-checkout .woocommerce-table--order-details tfoot tr th, .woocommerce-table--order-details tfoot tr td {
	padding: 15px !important;
}
.woocommerce-checkout .woocommerce-table--order-details thead tr th {
	color: #cccccc !important;
}
.woocommerce-checkout .woocommerce-table--order-details tbody tr {
	background: #ffffff;
}
.woocommerce-checkout .woocommerce-table--order-details tbody tr td {
	border-bottom: 1px solid #999999 !important;
}
.woocommerce-checkout .woocommerce-table--order-details tfoot {
	background: var(--e-global-color-96d96c4);
}
/**
* Menu Links align center on smaller screens 
*/
@media all and (max-width: 1024px) {
    .elementor-nav-menu li a {
        display: block !important;
        text-align: center !important;
    }
}
/**
* Author List & Grids
*/
.wpac-authors-list-small {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}
.wpac-authors-list-small li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 60px;
    padding: 10px;
    box-sizing: border-box;
    border: 2px solid #ededed;
    border-radius: 5px;
    margin-bottom: 10px;
	transition: .5s all;
}
.wpac-authors-list-small li:hover {
	border-color: var( --e-global-color-accent );
}
.wpac-authors-list-small li > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wpac-authors-list-small .author-image {
    width: 40px;
    text-align: center;
}
.wpac-authors-list-small .author-book-count {
    width: 60px;
    padding:  0 10px;
    font-size: 12px;
    align-items: end;
}
.wpac-authors-list-small .author-book-count span {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background-color: #f0f0f0;
    border-radius: 50%;
}
.wpac-authors-list-small .author-image img {
    width: 100%;
    border-radius: 50%;
    display: inline-block;
}
.wpac-authors-list-small .author-name {
    width: calc( 100% - 60px);
    text-align: left;
    padding: 0 10px;
}
.wpac-authors-list-small .author-name a {
    color: #000000;
    font-size: 16px;
    font-weight: bold;
}
.wpac-authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    justify-items: stretch;
}
.wpac-authors-grid .grid-item {
    padding: 25px 25px 0px 25px;
    border: 2px solid #ededed;
    border-radius: 5px;
    text-align: center;
    position: relative;
}
.wpac-authors-grid .grid-item .author-image img {
    border-radius: 50%;
    max-width: 180px;
}
.wpac-authors-grid .grid-item .author-name {
    margin-bottom: 10px;
}
.wpac-authors-grid .grid-item .author-name a {
    font-weight: bold;
    font-size: 18px;
}
.wpac-authors-grid .grid-item .author-book-count {
    font-size: 12px;
    padding: 3px 15px;
    background-color: #ededed;
    display: inline-block;
    border-radius: 5px 5px 0 0;
}
.wpac-authors-grid .grid-item .author-book-count span {
    font-weight: bold;
}
.wpac-taxonomy-pagination {
    clear: both;
    margin: 20px 0;
    text-align: center;
}
.wpac-taxonomy-pagination .page-numbers {
    padding: 8px 12px;
    border-radius: 5px;
    background-color: #ededed;
    font-size: 14px;
}
.wpac-taxonomy-pagination .page-numbers:hover, .wpac-taxonomy-pagination .page-numbers.current {
    background-color: #000000;
    color: #f0f0f0;
}
/**
* WooCommerce Archive Products 
*/
.elementor-grid .star-rating {
	display: none !important;
}
.elementor-grid li.product {
	text-align: center !important;
	position: relative !important;
	padding-bottom: 50px !important;
}
.elementor-grid li.product img {
	border-radius: 5px;
}
.woocommerce .woocommerce-ordering {
	margin-bottom: 50px;
}
.elementor-grid .woocommerce-loop-product__title {
	font-size: 14px !important;
}
.elementor-grid .price {
	font-size: 14px !important;
}
.add_to_cart_button {
	background: transparent !important;
	color: #121212 !important;
	font-size: 14px !important;
	border: 1px solid #121212 !important;
	border-radius: 5px !important;
	width: 100%;
	margin: 0 !important;
	position: absolute !important;
	bottom: 0;
	left: 0 !important;
	font-weight: 600 !important;
	transition: .5s all;
}
.add_to_cart_button:hover {
	border-color: var( --e-global-color-accent ) !important;
	color: var( --e-global-color-accent ) !important;
}
.tinvwl_add_to_wishlist_button {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none !important;
    font-size: 14px;
    color: #121212 !important;
    padding: 5px;
    border: 1px solid #121212 !important;
    border-radius: 5px;
}
.woocommerce-notices-wrapper {
	max-width: 1240px;
    margin: 20px auto;
}
@media all and (max-width: 960px) {
    .wpac-authors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
	.wpac-authors-grid .grid-item .author-image img {
		max-width: 160px;
	}
	.shop-filters {
		display: none;
	}
}
@media all and (max-width: 767px) {
    .wpac-authors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	.woocommerce-tabs ul.wc-tabs li {
		display: block;
		width: 100%;
		margin-bottom: 5px;
	}
	.woocommerce-tabs ul.wc-tabs li a {
		border-radius: 5px !important;
		width: 100%;
		display: inline-block;
		text-align: center;
	}
	.elementor-widget-wc-archive-products .products {
		grid-template-columns: 100% !important;
	}
}
@media all and (max-width: 500px) {
    .wpac-authors-grid {
        grid-template-columns: repeat(1, 1fr);
    }
	.single .woocommerce-product-rating {
		align-items: center !important;
		justify-content: center !important;
	}
}