/*
Welcome to Custom CSS!

To learn how this works, see https://wp.me/PEmnE-Bt
*/
/* Fix sub-menu item issue on Twenty Twenty theme - #18982452-hc */
#site-header {
	z-index: 2;
}
/* force layout grid to not hyphenate words | #27484437-hc eD */
.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column * {
	word-break: normal !important;
	word-wrap: normal !important;
	hyphens: none !important;
	-webkit-hyphens: none !important;
	-ms-hyphens: none !important;
}
/*Removes Bottom White Space on Cover Block on Home|27522819hc fox*/
#post-6 .wp-block-cover{
  margin-bottom:0px;
}
/* Menu Cart Pro */
.sub-menu.wpmenucart {
    width: max-content;
}
/* align Woo buttons to the center */
.wp-block-button.aligncenter {
    text-align: center;
}
/* remove white space between header and grid on homepage*/

.home .entry-content > .alignwide:not(.wp-block-group.has-background), .entry-content > .alignfull:not(.wp-block-group.has-background), .entry-content > .alignwide:not(.wp-block-group.has-background), .home .entry-content > .alignfull:not(.wp-block-group.has-background) .alignfull{
    margin-top: 0rem;
    margin-bottom: 2rem;

}

/* Remove redundant gap below header from all pages | YH-32169081-hc */
.singular .entry-header {
    padding: 0;
}

/* Oculta productos relacionados WooCommerce */
.related.products {
display: none;
}
/* Fix button background color issue | YH-38620764-hc */
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) {
    background-color: #dc3822;
}
/* Mostrar y alinear TODOS los checkboxes del checkout */
.woocommerce-checkout input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 10px 0 0 !important;
    vertical-align: top !important;
    flex: 0 0 auto !important;
}

/* Alinear texto + checkbox */
.woocommerce-checkout .woocommerce-form__label,
.woocommerce-checkout .woocommerce-form__label-for-checkbox,
.woocommerce-checkout label.checkbox,
.woocommerce-checkout .mc4wp-checkbox,
.woocommerce-checkout .mailchimp-newsletter {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
}

/* Evitar que algún plugin esconda el checkbox del newsletter */
.woocommerce-checkout .mailchimp-newsletter input,
.woocommerce-checkout .mc4wp-checkbox input,
.woocommerce-checkout p.form-row input[type="checkbox"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
}