/*
Theme Name: Martita child theme
Template: twentytwentythree
*/



body.woocommerce-page header.wp-block-template-part,
body.woocommerce-account header.wp-block-template-part
{
	background-color:var(--wp--preset--color--tertiary);
}

.has-global-padding {
    padding-right: 0;
    padding-left: 0;
}

.wp-block-group.page-header.has-background{
	position: relative;
}
.wp-block-group.page-header.has-background::before{

	background-repeat: no-repeat;
	background-size: 100%;
	
	position: absolute;
	bottom:0;
	width:100%;
	aspect-ratio: 1440/265.5;
	content: "";
	background-image: url(img/deco-bas-images.png);

	z-index: -1;
	
}

div.woocommerce{
  padding-top: 2em;
}

h1,h2,h3,h4,h5,h6,
nav li{
    font-family: var(--wp--preset--font-family--montserrat) !important;
}


.wp-site-blocks {
    padding-top: 0!important;
    padding-bottom: 0!important;
}

.wpcf7 .wpcf7-form-control{
	 padding: 10px;
	 min-height: 20px;
}

.wpcf7 .wpcf7-submit{
	background-color: #000 !important;
    color: #fff !important;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    border-radius: 4px;
    border:0;
    height: 45px;
}

.wp-block-site-logo img{
	mix-blend-mode: darken;
}


/* Contact Form */

@media all and (max-width:1000px){

	.wp-block-group.row_contact-form,
	.wp-block-group.row_contact-form .wpcf7 .wpcf7-form-control,
	.wp-block-group.row_contact-form .wp-block-group-is-layout-constrained
	{
		max-width: 90%!important;
	}
	.wp-block-group.row_contact-form .wpcf7 .wpcf7-form-control:not(.wpcf7-submit){
		padding-left: 0;
		padding-right: 0;
	}
}

h1.wp-block-post-title {
	font-weight: bold;
    font-weight: 600;
}


.wp-block-navigation__responsive-container{
	width: 90vw;
	left: auto;
}

@media all and (max-width:600px){
	body .wp-block-group.main-menu.is-layout-flex,
	body .main-menu.is-layout-flex,
	body .is-layout-flex.main-menu,
	body div.wp-block-group.main-menu.is-content-justification-left.is-layout-flex
	{
		background: #f4f4f4;
		width: 100%;
		display: flex;
	    justify-content: center!important;
	}
}

img.attachment-woocommerce_single,
img.size-woocommerce_single
{
	max-width: 100%;
}