/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
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 */

.woocommerce-message, .woocommerce-info {
	border-radius: 0 0 15px 15px !important;
	font-family: 'IBM Plex Sans' !important;
	font-size: 16px !important;
}

.return-to-shop > .button.wc-backward {
	padding: 10px 25px;
	border-radius: 25px;
	color: #FFFFFF;
	background-color: #053B55;
	font-family: IBM Plex Sans !important;
	font-size: 14px;
	font-weight: 400;
}

/* Mini Cart Message */

.woocommerce-mini-cart__empty-message {
	visibility:hidden;
	position:relative;
}

.woocommerce-mini-cart__empty-message:after {
	visibility: visible;
	position: absolute;
	top: 0;
	left: 0;
	white-space: pre;
	content: "Não existem produtos no carrinho.";
}

/* On Sale Flag */

.onsale {
	background-color: #00E1FF !important;
	font-family: IBM Plex Sans !important;
	font-size: 14px !important;
	padding: 0 10px !important;
	margin: 0 !important;
}

	/* Single Product Page */
.elementor-widget-woocommerce-product-images .onsale {
	border-radius: 15px 0 15px 0 !important;
	top: 0 !important;
	left: 0 !important;
	right: auto !important;
}

	/* Related Products Widget */
.related.products .onsale {
	border-radius: 0 15px 0 15px !important;
}

@media only screen and (max-width: 767px) {
	.related.products .onsale {
		font-size: 12px !important;
		padding: 0 5px !important;
	}
}

.added_to_cart.wc-forward {
	font-family: IBM Plex Sans !important;
	font-size: 14px !important;
	color: #053B55 !important;
}

.related-description {
	font-family: IBM Plex Sans;
	font-size: 14px;
	color: #000000;
}


/* Register Form */
.um-field-area > input[type=number] {
    height: 40px !important;
    width: 100% !important;
    padding: 0 12px !important;
}

.um-row-heading {
    padding: 20px !important;
    border-radius: 15px 15px 0 0 !important;
    background-color: #053B55 !important;
    margin-top: 15px !important;
    color: #FFFFFF !important;
    font-weight: normal !important;
	text-align: center;
	font-size: 18px !important;
}

.um-field-label label {
    font-weight: normal !important;
}

.um-form input:not([type="submit"]) {
    background-color: #f9fafa !important;
    color: #69727d !important;
    border-radius: 5px !important;
    height: 30px !important;
}

.um-button {
	background-color: #053B55 !important;
	border-radius: 5px !important;
	margin-top: 10px;
}

.um-modal-header {
	background-color: #053B55 !important;
	text-align: center;
}

.um-account-heading {
	display: none !important;
}

.um-account-profile-link {
	display: none !important;
}
.um-account-tab {
	padding: 10px 20px 20px 20px !important;
	margin: 10px 0 30px 0 !important;
	border-radius: 15px !important;
}

.um-account-tab:not([data-tab="historico-de-encomendas"]) {
	border: 1px solid #d5d8dc !important;
}

.um-form {
	font-family: IBM Plex Sans !important;
}

.um-account-side li {
	border-radius: 5px;
    font-family: 'IBM Plex Sans' !important;
    background: #F9F9F9 !important;
    border: 1px solid #DDDDDD;
}

@media only screen and (max-width: 768px) {
	.elementor-element.elementor-element-690af051.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
		padding: 0 20px !important;
	}
}
/* Order Received */

.woocommerce .woocommerce-customer-details .woocommerce-column__title, .woocommerce-order-details__title {
	font-family: "IBM Plex Sans", sans-serif !important;
	color: #053B55;
	font-size: 28px !important;
}

.woocommerce .woocommerce-customer-details address {
	background-color: #FFFFFF !important;
	border: 1px solid #d5d8dc !important;
	
}

.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-order-details .shop_table {
	background: #FFFFFF;
    padding: 20px;
    border: 1px solid #d5d8dc;
}

.woocommerce-order .woocommerce-order-overview {
	width: fit-content;
    margin: 3em auto !important;
    background: #ffffff;
    padding: 10px 20px;
    border: 1px solid #d5d8dc;
    border-radius: 5px;
}

.woocommerce-table tfoot tr th[scope="row"] {
    color: #ff0000;
    font-weight: bold;
}

.woocommerce-table tfoot tr td .woocommerce-Price-amount.amount {
	color: #053B55 !important;
}

.woocommerce-table tfoot tr td:not(.woocommerce-Price-amount.amount) {
    font-weight: normal !important;
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
	background: green;
    border-radius: 15px;
    padding: 10px 20px;
    color: #FFFFFF;
	text-align: center;
}

.elementor-element.elementor-element-7bcdb6c.e-checkout-layout-two-column.elementor-widget.elementor-widget-woocommerce-checkout-page {
	padding: 0 10px !important;
}

@media only screen and (max-width: 768px) {
	.woocommerce .woocommerce-customer-details .woocommerce-column__title, .woocommerce-order-details__title {
		margin-top: 20px;
	}
	
	.woocommerce ul.order_details li {
		padding: 10px 0 !important;
		margin: 0 !important;
		float: none !important;
		border-right: none !important;
		border-bottom: 1px dashed #cfc8d8 !important;
	}
	
	.woocommerce ul.order_details li:last-child {
		border-bottom: none !important;
	}

}

/* Woo Commerce Category Hierarchy Widget */

.woo-category-hierarchy {
    font-size: 1rem;
}

.woo-category-hierarchy ul {
  	list-style: none;
  	margin: 0;
	padding: 0;
}

.woo-category-hierarchy summary {
    list-style: none;
	display: flex;
    align-items: center;
    gap: 0.4em;
    cursor: pointer;
}


.woo-category-hierarchy summary::-webkit-details-marker {
    display: none;
}

.woo-category-hierarchy li, .woo-category-hierarchy summary {
    cursor: pointer;
    margin-bottom: 0.25rem;
}

.woo-cat-link {
    text-decoration: none;
    color: #333;
}

.woo-cat-link:hover {
    text-decoration: underline;
}

.woo-category-hierarchy summary,
.woo-category-hierarchy .woo-cat-link {
  	font-family: 'IBM Plex Sans', sans-serif;
}

.woo-category-hierarchy summary::before {
    content: "+";
    display: inline-block;
    width: 1em;
    margin-right: 0.2em;
    font-weight: bold;
}

.woo-category-hierarchy details[open] > summary::before {
    content: "–";
}

/* Smooth animation for details content */
.details-content {
    overflow: hidden;
    transition: height 0.3s ease;
}

details > summary::before {
  display: inline-block;
  width: 1.5em;
  text-align: center;
  margin-right: 0.5em;
  font-weight: bold;
  color: #1c3d5a;
  transition: transform 0.2s;
}

.woo-cat-link {
  display: inline-block;
  padding: 0.25em 0;
  text-decoration: none;
  transition: color 0.2s;
}

.woo-cat-link:hover {
  color: #ff6600;
}

#woo-cat-search {
	margin-bottom: 1em;
	padding: 0.5em 1em;
	width: 100%;
	border-radius: 50px;
}

.woo-cat-level-2 li {
	padding-left: 1.25em;
}

/* Smaller tablets */
@media (max-width: 768px) {
    .woo-category-hierarchy {
        font-size: 0.90rem;
    }
	
	#woo-cat-search {
		font-size: 16px;
	}
}

/* Mobile devices */
@media (max-width: 480px) {
    .woo-category-hierarchy {
        font-size: 0.85rem;
    }
	
	#woo-cat-search {
		font-size: 14px;
	}
}



