/* 
Theme Name:		 HNaturals Child
Theme URI:		 http://hnaturalscolombia.com
Description:	 HNaturals Child is a child theme of HNaturals
Author:			 Vitruz Studio
Author URI:		 http://vitruzstudio.com
Template:		 hnaturals
Version:		 1.0.0
Text Domain:	 hnaturals-child
*/


.mb10 {
    margin-bottom: 10px !important;
}

form.checkout>.row>div{
    margin-top: 0rem !important;
}

.woocommerce-privacy-policy-text {
    margin-bottom: 35px;
    display: none;
}


.woocommerce-checkout-review-order-table {
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important; 
    width: 100%;
    background: transparent !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: none !important;
    background: transparent;
}

.woocommerce-checkout-review-order-table thead th {
    text-transform: uppercase;
    font-size: 0.75em;
    letter-spacing: 1px;
    color: #888;
    padding: 0 0 8px 0 !important;
    border-bottom: 2px solid #eaeaea !important;
}

#order_review .shop_table tr.cart_item:first-child {
    border-top: none !important;
}

.woocommerce-checkout-review-order-table tbody tr.cart_item {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); 
    border-radius: 8px;
    border: 1px solid #f3f3f3; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px !important;
    margin-top: 10px;  
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-checkout-review-order-table tbody tr.cart_item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.woocommerce-checkout-review-order-table tbody td.product-name {
    padding: 0 !important;
    font-weight: 500;
    color: #333;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1;
    font-size: 0.95em;
}

.woocommerce-checkout-review-order-table tbody td.product-name .product-quantity {
    font-weight: 600;
    color: #555;
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.85em;
}

.woocommerce-checkout-review-order-table dl.variation {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    width: 100%;
    font-size: 0.8em;
    color: #777;
}
.woocommerce-checkout-review-order-table dl.variation dt {
    font-weight: 600;
    margin: 0;
}
.woocommerce-checkout-review-order-table dl.variation dd {
    margin: 0;
}

.woocommerce-checkout-review-order-table tbody td.product-total {
    padding: 0 !important;
    font-weight: 600;
    color: #111;
    text-align: right;
    white-space: nowrap; 
}


.woocommerce-checkout-review-order-table tfoot {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid #f3f3f3;
    display: block; 
    padding: 12px 16px;
    margin-top: 16px;
}

.woocommerce-checkout-review-order-table tfoot tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #eaeaea;
}

.woocommerce-checkout-review-order-table tfoot tr:last-child {
    border-bottom: none;
}

.woocommerce-checkout-review-order-table tfoot th {
    padding: 0 !important;
    font-weight: 500;
    font-size: 0.9em;
    color: #666;
    text-align: left;
}

.woocommerce-checkout-review-order-table tfoot td {
    padding: 0 !important;
    font-size: 0.9em;
    text-align: right;
}

/* Resaltar el Total Final */
.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-size: 1.1em;
    font-weight: 700;
    color: #000;
    padding-top: 10px !important;
}

.woocommerce-checkout-review-order-table tfoot tr.order-total th {
    color: #333;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px; 
}

.woocommerce form .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


.woocommerce form .form-row label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    line-height: 1.2;
}


.woocommerce form .form-row .required {
    color: #e63946; 
    text-decoration: none;
    font-weight: bold;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    width: 100% !important;
    box-sizing: border-box;
    height: 48px; 
    padding: 10px 16px;
    background-color: #f9f9fb;
    border: 1.5px solid #e4e4e7;
    border-radius: 8px; 
    font-size: 16px; 
    color: #111;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.woocommerce form .form-row textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    border-color: #2563eb; 
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); 
}

.woocommerce .select2-container .select2-selection--single {
    height: 48px;
    border: 1.5px solid #e4e4e7;
    border-radius: 8px;
    background-color: #f9f9fb;
    display: flex;
    align-items: center;
    padding-left: 8px;
    transition: all 0.3s ease;
}

.woocommerce .select2-container--focus .select2-selection--single,
.woocommerce .select2-container--open .select2-selection--single {
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
    color: #111;
    font-size: 16px;
    line-height: normal;
}


.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
    height: 46px; 
}


@media (min-width: 768px) {
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
        display: grid;
        grid-template-columns: 1fr; 
        gap: 16px 20px;
    }

    #billing_company_field,
    #billing_country_field,
    #billing_address_1_field,
    #billing_address_2_field,
    #billing_city_field,
    #order_comments_field {
        grid-column: 1 / -1; 
    }
}


input#payment_method_lwc-whatsapp-order {
    display: none !important;
}

.woocommerce-checkout label[for="payment_method_lwc-whatsapp-order"]::before,
.woocommerce-checkout label[for="payment_method_lwc-whatsapp-order"]::after {
    display: none !important; 
}

.woocommerce-checkout label[for="payment_method_lwc-whatsapp-order"] img {
    display: none !important;
}


.woocommerce-checkout label[for="payment_method_lwc-whatsapp-order"] {
    font-size: 12px !important; 
    display: block !important; 
    width: 100%; 
    height: 60px; 
    cursor: pointer;  
    /*background-image: url('http://hnaturalscolombia.com/wp-content/uploads/2020/11/pedidos-whatsapp-healthy-naturals-valledupar.webp');*/
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;    
    border: none;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 6px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
	text-align: center;
}

#payment .payment_methods>.wc_payment_method>label {
    padding-top: 5px !important;
}

#payment .place-order .button{
	border-radius: 8px !important;
}

#payment .payment_methods {
    padding: 0 0 15px !important;
    margin-bottom: 20px !important;
}

@media (min-width: 576px) {
    .woocommerce-checkout-review-order {
      padding: 20px 20px 40px !important;
      } 
}
	
@media (min-width: 1200px) {
    .order_review_inner {
        padding-left: 5px;
    }
}

.woocommerce-checkout-review-order {
    padding: 25px 15px !important;
}

.order_review_inner {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

#payment .payment_methods:before {
    width: auto !important;
}

.woocommerce-additional-fields {
    margin-top: 0px !important;
}

.product_meta{
	display: none;
}

.single-product div.type-product .pbr-social-share {
    margin-top: 20px;
}

@media (max-width: 991px) {
    .order_review_inner {
        margin-top: -50px !important; 
    }
}


@media (max-width: 576px) {
    .entry-header h1.entry-title {
        font-size: 18px; 
        font-weight: 700;
        color: #fff;
        text-align: center;
        background: linear-gradient(135deg, #249931 0%, #1b7425 100%);
        border-radius: 16px;
        padding: 14px 20px !important; 
        margin: 0 10px 24px 10px !important;
        box-shadow: 0 8px 20px rgba(27, 116, 37, 0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px; 
        line-height: 1.2;
    }

    .entry-header h1.entry-title::before {
		content: "\f290"; 
		font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free";
		font-weight: 900;
		color: #ffffff; 
		font-size: 22px;
		animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	}
	.woocommerce-billing-fields h3{
		text-align: center;
	}
	.order_review_heading {
		text-align: center;
	}
	
	.breadcrumb {
		display: none;
	}
	
	.single-product div.type-product form.cart .quantity {
		width: 100% !important;
		flex-basis: 100% !important;
	}
	
	.single-product .quantity_label{
		display: none !important;
	}
	
	.single-product .single_add_to_cart_button{
		width: 100% !important;
	}
}

.product-footer a[class*=product_type_] {
    font-size: 10px !important;
    font-weight: 600 !important;
}

.product-footer a[class*=product_type_]:before {
    display:none !important;
}

@media (max-width: 767px) {
	.elementor-product-categories-image {
        padding: 15px 15px 0px 15px !important;
    }
    .opal-content-layout-2cl .columns-4 ul.products li.product, .opal-content-layout-2cl .columns-4 ul.products > li{
        max-width: 50% !important;
    }
	.shop-action a[class*="product_type_"] {
		width: 100% !important;
	}
}

.shop-action a[class*="product_type_"] {
    background: #000 !important;
    color: #fff !important;
}

.shop-action a[class*="product_type_"]:before {
    background: #000 !important;
}

.shop-action {
    align-items: center !important; 
}

.product-footer a[class*=product_type_] {
    margin-right: 0 !important; 
    margin-left: 0 !important;
    padding: 8px 20px 8px 20px !important;
    justify-content: center !important; 
}


@media (max-width: 991px) {
    
    .woocommerce-tabs ul.tabs {
        display: flex !important;
        flex-wrap: nowrap !important; 
        gap: 12px; 
        padding: 5px 0 15px 0 !important;
        margin: 0 0 10px 0 !important;
        border: none !important;
        scrollbar-width: none; 
		justify-content: space-around
    }
    .woocommerce-tabs ul.tabs::-webkit-scrollbar {
        display: none;
    }
    
    .woocommerce-tabs ul.tabs li {
        border: none !important;
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 auto; 
    }
	
	.woocommerce-tabs ul.tabs li.active a:after{
        border: none !important;
    }
    

    .woocommerce-tabs ul.tabs li a {
        display: inline-block;
        padding: 10px 24px !important;
        background: #f4f4f5 !important; 
        color: #6b7280 !important; 
        border-radius: 50px !important; 
        font-size: 14px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        transition: all 0.3s ease !important;
        border: 1px solid transparent !important;
    }
    
    .woocommerce-tabs ul.tabs li.active a {
        background: #1b7425 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(27, 116, 37, 0.25) !important;
    }

    .woocommerce-tabs .panel {
        padding: 20px !important;
        background: #ffffff !important;
        border-radius: 16px !important; 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important; 
        border: 1px solid #f3f4f6 !important;
        margin-top: 5px !important;
    }

    .woocommerce-tabs .panel h2:first-of-type {
        display: none !important;
    }
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item) {
    border-radius: 1px !important;
}

.woo-variation-swatches .variable-items-wrapper .button-variable-item:not(.radio-variable-item) {
    padding: 1rem 1rem !important;
}

li.product .woocommerce-loop-product__title {
	text-align: center !important;
}

li.product .price {
	justify-content: center !important;
}

