/*!
Theme Name: Hello Elementor Child
Theme URI: https://crocoblock.com/
Author: Crocoblock
Author URI: https://crocoblock.com/
Description: Child theme for Hello Elementor with all CrocoBlock features compatibility.
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
*/

/*
 * HEADER
 */

header .jet-sticky-section--stuck .header-rugged-logo,
header .jet-sticky-section--stuck .header-search-column {
	padding-top: 0;
	padding-bottom: 0;
}

header .header-rugged-logo img {
	transition: max-width 0.2s ease-in;
}

header .jet-sticky-section--stuck .header-rugged-logo img{
	max-width: 250px !important;	
}

header .jet-sticky-section--stuck .header-search-bar .e-con-inner {
	padding-top: 0;
}

header .jet-sticky-section--stuck .header-search-bar .jet-ajax-search__field {
	padding: 9px 14px !important;
}

header .jet-sticky-section--stuck .header-search-bar .jet-ajax-search__submit {
	padding: 11px 14px 10px 14px !important;
}

header .jet-sticky-section--stuck .header-account-button .jet-button__instance {
	width: 200px !important;
    height: 37px !important;
}

header .header-mobile-sticky > .e-con-inner {
	transition: padding 0.2s ease-in;
}

header .header-mobile-sticky.jet-sticky-section--stuck > .e-con-inner {
	padding: 0;
}

header .header-mobile-sticky img {
	transition: transform 0.2s ease-in;
}

header .header-mobile-sticky.jet-sticky-section--stuck img {
	transform: scale(0.8);
}

/* Mega Menu */

.mega-products .jet-woo-product-price {
	margin-top: auto;
}

/* BASKET DROPDOWN */

.rugged-cart-dropdown .woocommerce-mini-cart__buttons.buttons a.button {
	width: 48%;
	text-align: center;
}

.rugged-cart-dropdown a.remove.remove_from_cart_button {
	top: 5px !important;
}

/*
 * HOME 
 */

.home-hotdeals .jet-woo-products .jet-woo-product-button {
	margin: auto 0 0 0;
}

.home-hotdeals .jet-woo-products .jet-woo-product-tags {
	margin: 0;
}

.home-hotdeals .jet-woo-products .jet-woo-product-excerpt, 
.product-loop-excerpt,
.brand-recommend .jet-woo-product-price, 
.home-loadshedding .home-hotdeals .jet-woo-product-price {
	margin: auto 0 0 0;
}

.home-loadshedding .elementor-icon-box-wrapper {
	align-items: center;
}

.home-loadshedding h3 {
	margin-bottom: 10px;
}

.home-loadshedding .home-hotdeals .jet-woo-products {
	justify-content: space-between;
}

.home-loadshedding .home-hotdeals .jet-woo-products .jet-woo-products__item {
/*	max-width: calc(100%/var(--columns) - 17px);*/
}

.why-us .elementor-icon-box-icon {
	margin-top: -40px;
}

.why-us .elementor-icon-box-icon .elementor-icon {
	padding: 0 15px;
	background-color: #ffffff;
}

.home-brand-carousel .jet-carousel__item-inner {
	justify-content: center;
}

.home-brand-carousel .jet-carousel__content {
	display: none;
}

.home-category-carousel .jet-carousel__item-inner {
	padding: 30px 10px 10px;
}

.home-category-carousel img {
	width: auto;
	transition: transform 0.3s;
	max-height: 100px;
	object-fit: contain !important;
}

.home-category-carousel img:hover {
	transform: scale(1.1);
}

.view-all p {
	margin-bottom: 0;
}

.view-all p a {
	color: #252531;
}

.view-all p a:hover {
	color: #15803F;
}

/*
 * SHOP PAGE 
 */

.product-loop-grid-item, 
.product-loop-grid-item .e-con.e-child{
	height: 100%;
}

.woocommerce ul.products li.product .product-loop-button .button {
	margin-top: 0;
}

.woocommerce-no-products-found .woocommerce-info::before {
	color: #0a875a;
}
.woocommerce-no-products-found .woocommerce-info {
	border-top-color: #0a875a;
}

/*
 * SINGLE PRODUCT TEMPLATE 
 */

.woocommerce-notices-wrapper {
	max-width: 1330px;
	margin: 10px auto;
}

.woocommerce .woocommerce-notices-wrapper a.button {
	font-family: "Mulish", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 39px;
	color: #ffffff;
	background-color: #252531;
}

.woocommerce-notices-wrapper .woocommerce-message {
	line-height: 39px;
}

.single-product .product-tabs-tier1 > .elementor-widget-container > .e-n-tabs > .e-n-tabs-heading {
	background-color: #f9f9f9;
}

.single-product .product-tabs-tier1 > .elementor-widget-container > .e-n-tabs > .e-n-tabs-heading::before {
	content: '';
    width: 100vw;
    height: 53px;
    position: absolute;
    background-color: #f9f9f9;
    left: calc((-100vw + 100% - 15px)/2);
	box-shadow: 0 4px 4px 0px rgba(0,0,0,0.25);
}

/*.product-inner-tabs .e-n-tab-title[aria-selected="true"]::before,
.product-inner-tabs .e-n-tab-title:hover::before {
    content: '';
    width: calc(50% - 35px);
    height: 2px;
    background-color: #15803F;
    position: absolute;
    bottom: 5px;
    left: 35px;
}*/

.jet-woo-builder-single-ajax-add-to-cart .cart::before,
.jet-woo-builder-single-ajax-add-to-cart .cart::after {
	display: none !important;
}

.jet-woo-builder-single-ajax-add-to-cart .cart {
	justify-content: space-between;
}

.single-product .jet-woo-quantity-button-added {
	margin-top: 10px !important;
	border: solid 1px #e5e5e5;
	border-radius: 5px;
}

.jet-woo-quantity-button-added .icon-svg {
	width: 14px;
}

.product-video-embed iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 3/2;
}

.single-product-reviews .jet-reviews-stars-field .jet-reviews-stars--filled i {
	color: #15803F;
}

.rugged-upsells .jet-woo-builder > .upsells.products > h2 {
	display: none;
}

.product-specs-section .jet-listing-dynamic-field__content {
	display: grid;
	gap: 5px;
}

.product-specs-section .repeater-text .jet-listing-dynamic-field__content {
	flex-direction: column;
}

.product-specs-section .repeater-title {
	grid-column: 1;
	width: 146px !important;
}

.product-specs-section .repeater-text {
	grid-column: 2;
}


.product-specs-section h6 {
	margin:0 !important;
    line-height: 18px;
	width: 146px;
	grid-column: 1;
}

.product-specs-section span {
	margin: 0;
    font-size: 14px;
    line-height: 21px;
	grid-column: 2;
}

.product-specs-section {
	display: flex;
}

.product-specs-section .product-spec-column {
	height: 100%;
}

.product-repeater > .e-con-inner {
    display: grid;
	gap: 5px;
}

/*.product-repeater h6 {
	margin: 0px 0 11px;
	line-height: 1em;
	vertical-align: top;
}*/

.product-repeater p {
	margin-bottom: 5px;
}

/*
 * COMPARE 
 */

.jet-cw-product-title {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.jet-compare-item .jet-cw-add-to-cart a {
	text-align: center;
}

/*
 * CART
 */

.order-total .cart_totals h2 {
	display: none;
}

.woocommerce-cart .rugged-cart-table .elementor-jet-cart-table .woocommerce-cart-form table.cart {
	border-collapse: separate;
}

.woocommerce .rugged-cart-table table.shop_table,
.woocommerce .order-total table.shop_table {
	border: none;
	border-spacing: 4px 15px;
	margin: 0;
}

/*.woocommerce .rugged-cart-table table.shop_table thead {
	display: none;
}*/

.rugged-cart-table tr.woocommerce-cart-form__cart-item.cart_item {
	position: relative;
}

.rugged-cart-table tbody tr.woocommerce-cart-form__cart-item.cart_item::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1);
    bottom: 0px;
    border-bottom: solid 1px #efefef;
    border-radius: 5px;
	z-index: -1;
}

.woocommerce .rugged-cart-table table.shop_table tbody .actions {
	padding: 15px 15px 0 15px !important;
}

.woocommerce .rugged-cart-table table.shop_table .product-quantity img {
	width: 11px;
}

.rugged-cart-table .jet-woo-quantity-button-added {
	border: solid 1px #e5e5e5;
	border-radius: 5px;
	width: 100px;
	height: 40px;
}

.woocommerce-cart .jet-woo-builder-woocommerce-empty-cart {
	max-width: 1330px;
	width: 100%;
	margin: 0 auto;
}

.rugged-cross-sells .jet-woo-builder-products--columns .jet-woo-builder-product > .elementor, 
.rugged-cross-sells .jet-woo-builder-products--columns .jet-woo-builder-product > .elementor > .elementor-inner,
.rugged-cross-sells .jet-woo-builder-products--columns .jet-woo-builder-product > .elementor > .elementor-inner > .elementor-section-wrap {
	height: 100%;
}

/*
 * ORDER RECEIVED
 */ 

.woocommerce-order-received .woocommerce table.shop_table {
    border: none;
	table-layout: fixed;
}

.elementor-jet-thankyou-order-details .woocommerce-table.shop_table.order_details tr td {
	vertical-align: text-top;
	font-size: 14px !important;
	line-height: 1.3em;
}

.woocommerce-thankyou-order-details ~ p {
    display: none;
}

/*
 * CHECKOUT PAGE
 */

.woocommerce-checkout .rugged-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-edit-address .woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 7px 20px;
}

.woocommerce-checkout .rugged-checkout .select2-container--default, 
.woocommerce-edit-address .woocommerce-address-fields .select2-container--default {
	height: 46px;
}

.rugged-checkout #order_review .woocommerce-checkout-review-order-table td,
.rugged-checkout .woocommerce-checkout-review-order-table td.product-total .amount,
.rugged-checkout .woocommerce-checkout-review-order-table tfoot .woocommerce-Price-amount.amount{
	font-size: 14px !important;
}

.rugged-checkout #order_review .woocommerce-checkout-review-order-table tfoot .order-total th, 
.rugged-checkout #order_review .woocommerce-checkout-review-order-table tfoot .order-total td, 
.rugged-checkout #order_review .woocommerce-checkout-review-order-table tbody tr:last-of-type td {
	border-bottom: solid 1px #e5e5e5 !important;
}

.rugged-checkout table tbody>tr:nth-child(odd)>td, 
.rugged-checkout table tbody>tr:nth-child(odd)>th {
	background-color: transparent;
}

.rugged-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100% !important;
	right: 4px !important;
}

.rugged-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #888 transparent transparent transparent !important;
    border-width: 6px 6px 0px 6px !important;
}

/*
 * COMPARE
 */ 

.rugged-compare .jet-cw-categories ul {
	padding-left: 0;
}

.rugged-compare .jet-compare-table .jet-cw-product-title a, 
.rugged-compare .jet-compare-table .jet-cw-price{
	font-size: 16px !important;
	line-height: 1.3em !important;
}

.rugged-compare .jet-cw-product-title {
	height: auto !important;
}

/*
 * WISHLIST
 */ 

.jet-wishlist-item .jet-woo-product-stock-status,
.jet-wishlist-item .jet-cw-product-title,
.jet-wishlist-item .jet-cw-price,
.jet-wishlist-item .jet-cw-add-to-cart {
	padding: 10px;
}

.jet-wishlist-item__content {
	height: 100%;
}

.jet-wishlist-item .jet-cw-price {
	margin: auto 0 0 0px !important;
}

.jet-wishlist-item .jet-cw-product-title {
	height: auto !important;
}

.jet-wishlist-item .jet-cw-price {
	margin: auto 0 0 0;
}



/*
 * MY ACCOUNT + ENDPOINTS
 */ 

.account-address a.edit,
.woocommerce-edit-address .woocommerce-address-fields .button {
	color: #ffffff;
	background-color: #252531;
	padding: 5px 10px;
	border-radius: 5px;
	font-family: 'Mulish', sans-serif;
	font-size: 14px;
	font-weight: 600;
}

.account-address a.edit:hover,
.woocommerce-edit-address .woocommerce-address-fields .button:hover {
	color: #ffffff;
	background-color: #15803f;
}

.woocommerce-edit-address .woocommerce-address-fields .form-row label {
	font-family: 'Mulish', Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #252531;
    margin: 0px 0px 2px 0px;
}

.woocommerce-edit-address .woocommerce-address-fields .form-row .woocommerce-input-wrapper > *:not(.woocommerce-password-strength):not(.woocommerce-password-hint):not(.show-password-input):not(.select2) {
    border-radius: 5px 5px 5px 5px;
    padding: 7px 20px 7px 20px;
	border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #e5e5e5;
}

.woocommerce-edit-address .woocommerce-address-fields .form-row .woocommerce-input-wrapper > *:not(.woocommerce-password-strength):not(.woocommerce-password-hint):not(.show-password-input) {
    font-family: 'Mulish', Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    color: #7a7a7a;
}

.woocommerce-edit-address .woocommerce-address-fields .select2-container--default .select2-selection--single {
	height: 100%;
	border-color: #e5e5e5;
}

.woocommerce-edit-address .woocommerce-address-fields .button {
	padding: 15px 20px;
	font-size: 14px;
	font-weight: 700;
	margin-top: 15px;
}

.woocommerce-orders .woocommerce table.shop_table {
	border: none;
}

/*
 * FOOTER
 */
 
.rugged-copyright p {
	margin-bottom: 0
}

/*
 * MEDIA QUERIES
 */ 

@media (max-width: 1140px) {
	header .jet-sticky-section--stuck .header-rugged-logo img{
		max-width: 90% !important;	
	}
}

@media (max-width: 1024px) {
	.jet-woo-quantity-button-added .icon-svg {
		width: 12px;
	}
	
	.product-inner-tabs .e-n-tab-title[aria-selected="true"]::before,
	.product-inner-tabs .e-n-tab-title:hover::before {
    	width: calc(50% - 20px);
    	left: 20px;
	}
	
	
	.why-us .elementor-icon-box-icon {
		margin-top: -30px;
	}
}

@media (max-width: 768px) {
	.rugged-cart-table tr.woocommerce-cart-form__cart-item.cart_item {
		margin-bottom: 11px;
	}
	
	.rugged-cart-table tr.woocommerce-cart-form__cart-item.cart_item .product-thumbnail a {
		display: block;
		text-align: left;
	}
}

@media (max-width: 767px) {
	.product-inner-tabs .e-n-tab-title[aria-selected="true"]::before {
		width: 100%;
		left: 0;
	}
	
	.product-inner-tabs .e-n-tab-title:not(:first-of-type) {
		border-top: groove 1px #ececec;
	}
	
	/* COMPARE */
	
	.rugged-compare .jet-compare-table-responsive-mobile {
		overflow-x: auto;
	}
	
	.rugged-compare .jet-compare-table-responsive-mobile table {
		table-layout: auto;
	}
	
	/* CART */
	
	.woocommerce .rugged-cart-table table.shop_table_responsive tr td, 
	.woocommerce-page .rugged-cart-table table.shop_table_responsive tr td {
		display: flex;
		justify-content: space-between;
		gap: 10px;
	}
	
	.woocommerce .rugged-cart-table table.shop_table_responsive tr td::before, 
	.woocommerce-page .rugged-cart-table table.shop_table_responsive tr td::before {
		text-align: left;
	}
	
	.woocommerce .rugged-cart-table table.shop_table_responsive tr td.product-quantity::before, 
	.woocommerce-page .rugged-cart-table table.shop_table_responsive tr td.product-quantity::before {
		display: flex;
		align-items: center;
	}
	
	.single-product .product-tabs-tier1 > .elementor-widget-container > .e-n-tabs > .e-n-tabs-heading::before {
		display: none;
	}
	
	.single-product .product-tabs-tier1 > .elementor-widget-container > .e-n-tabs > .e-n-tabs-heading > .e-n-tab-title {
		margin-left: -10px;
		margin-right: -10px;
		box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
	}
}

@media (max-width: 600px) {
	.shop-featured-list .jet-woo-products-list.products-layout-left .jet-woo-products-list__inner-box {
		flex-direction: column;
	}
	
	.shop-featured-list .jet-woo-products-list .jet-woo-products-list__item-content {
		max-width: 100% !important;
	}
	
}

@media (max-width: 480px) {
	
	
	.product-video-embed iframe {
    	width: 280px;
    	height: 185px;
	}
	
	.single-product-reviews .jet-reviews-advanced__header-top {
		flex-wrap: wrap;
		gap: 10px;
	}
	
	/* SHOP OFF-CANVAS FILTER*/
	
	.rugged-trigger-wrap {
		margin-top: 0 !important;
	}
	
	.jet-offcanvas-expand.jet-offcanvas-trigger {
		display: flex;
		justify-content: center;
		position: absolute;
		z-index: 1;
		width: calc(50% - 15px);
		top: 15px;
	}
	
	.offcanvas-apply {
		background-color: var(--e-global-color-secondary);
		color: var(--e-global-color-6b0bab2);
		font-family: "Mulish", Sans-serif;
		font-size: 16px;
		font-weight: 700;
		text-transform: capitalize;
		line-height: 20px;
		padding: 10px 20px 10px 20px;
		margin: 5px 5px 20px 5px;
		border-style: none;
		border-radius: 5px 5px 5px 5px;
		display: inline-flex;
		justify-content: center;
		align-items: center;
		min-width: 100px;
	}
	
	/* STICKY ADD TO CART BUTTON */
	.sticky-cart-btn {
		position: sticky;
		bottom: 0px;
	}
	
	.sticky-cart-btn .elementor-button-link {
    	width: calc(100vw - 40px);
	}
	
	.sticky-cart-btn::after {
		content: '';
		height: 5px;
		width: 40%;
		background-color: black;
		left: 30%;
		position: absolute;
		bottom: 8px;
		border-radius: 15px;
	}
}