/* Wrapper geral do mockup */
.ekomidia-mockup-wrapper-plugin {
  position: relative;
  top: 0 !important;
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 100%;
  line-height: 0;
}


/* Força o wrapper a se moldar à imagem principal */
.ekomidia-product-main {
  display: block;
  width: 100%;
  height: auto;
}

/* Faz o wrapper assumir automaticamente a altura da imagem principal */
.ekomidia-mockup-wrapper-plugin::after {
  content: '';
  display: block;
  clear: both;
}

/* Camada base do mockup (background) */
.ekomidia-mockup-base-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Overlay (rotulo) */
.ekomidia-mockup-overlay-layer {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  transform-origin: center center;
}

/* Reflexo (brilho/sombra) */
.ekomidia-mockup-reflex-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.45;
  z-index: 3;
}

/* Garante responsividade e proporção */
.ekomidia-mockup-wrapper-plugin img,
.ekomidia-mockup-wrapper-plugin .ekomidia-mockup-base-layer {
  max-width: 100%;
  height: auto;
   min-height: 100%;
}


.ekomidia-mockup-wrapper-plugin img.ekomidia-mockup-overlay-layer {
	min-height: auto !important;
}
.ekomidia-mockup-wrapper-plugin img.ekomidia-product-main {
    position: relative;
}
.single-product div.product .ekomidia-mockup-wrapper-plugin img {
    
}

/* desativando zoom da imagem destaque nativa do woocommerce */
body.single-product .zoomImg {
    display: none !important;
}
/* desativando zoom da imagem destaque nativa do woocommerce */

body.single-product.nbd-single-product-page div.product .woocommerce-product-gallery .woocommerce-product-gallery__image {
    text-align: center;
    display: flex;
    position: relative !important;
    vertical-align: baseline;
    justify-content: center;
    align-items: center;
}

body.single-product.nbd-single-product-page div.product .woocommerce-product-gallery a, 
body.single-product.nbd-single-product-page div.product .woocommerce-product-gallery a img.wp-post-image { 
	position: absolute;
    left: 0px;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    cursor: pointer;
}



/* Box width 100% full */

/*
body.single-product.nbd-single-product-page div.product .summary {
    width: 100% !important;
}

body.single-product.nbd-single-product-page div.product .woocommerce-product-gallery {
    float: none !important;
    background: #000;
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw !important;
    margin-left: -50vw;
    margin-right: -50vw !important;
    padding: 0px !important;
    text-align: center;
    justify-content: center;
    align-items: center;
    vertical-align: baseline;
    display: flex;
    min-height: 450px;
}

body.single-product.nbd-single-product-page div.product {
    overflow: visible;
}

body.single-product.nbd-single-product-page div.product .nbd-action-wrap {
    float: none;
    margin: 18px auto;
}

body.single-product.nbd-single-product-page div.product p.price {
    text-align: center;
    position: relative;
}


body.single-product.nbd-single-product-page div.product .yith-wcwl-add-to-wishlist {
    position: absolute;
    right: 0;
}

body.single-product.nbd-single-product-page div.product h1.product_title {
    text-align: center;
}

.woocommerce-product-details__short-description {
    text-align: center;
}


body.single-product.nbd-single-product-page div.product .single-product-main-image{
text-align: center;
}

body.single-product.nbd-single-product-page div.product form.cart .quantity {
    float: inline-end;
    margin: auto;
}

body.single-product.nbd-single-product-page div.product button.single_add_to_cart_button {
    float: inline-end;
    max-width: 300px;
}

.ekomidia-parcelamento, .ekomidia-pix-badge, .forma_de_pagamento, .card-stars {
    display: none !important;
}
body.single-product.nbd-single-product-page .containerCalculator .calculatorRow {
    max-width: 450px;
    margin:  auto;
    display: block;
    padding: 40px 0px;
}


*/



/* Alex interagindo com NBDesigner */

/*
div.nbd-xlabel-wrap {
    width: calc(14% - 13px) !important;
}

div.nbd-option-field.NB_cores_de_fundo .nbd-xlabel-wrap {
    width: calc(8% - 10px) !important;
    margin: 1px !important;
}

.nbd-xlabel-wrapper {
    justify-content: center !important;
}
.nbd-option-field {
    text-align: center;
}
.nbd-option-wrapper .nbd-field-header label {
    font-size: 22px !important;
}
div#nbo-quantity-option-wrap .nbd-radio label {
    float: none !important;
    display: inline !important;
}

*/






/* ALTURA MÍNIMA DO MOCKUP */
body.single-product .ekomidia-product-main {
    /* 
	max-height: 550px !important;
    height: 550px !important;
	*/
    object-fit: contain;
}





/* botão personalizar  */
.ekomidia-html-below {
	position: relative;
    display: block;
    vertical-align: baseline;
    align-items: center;
    text-align: center;
    width: 60%;
    height: 70px;
    margin: 10px auto 10px auto;
}

.ekomidia-html-below a {
    padding: 5px;
    font-size: 15px;
    line-height:normal;
    color: #444444;
    float: none;
    border-radius: 8px;
    border: solid 1px #ddd;
	max-width: 390px;
	width: 380px;
    min-height: 70px;
    background: #f5f5f5;
    flex-direction: column;
    box-shadow: 0 6px 8px -6px rgb(0 0 0 / 34%);
    transition: 0.2s ease-in-out;
    align-items: center;
    justify-content: center;
	margin: auto;
	
	display: grid;
    gap: 15px;
    grid-template-columns: 25% 75%;
}

.ekomidia-html-below a span {
   font-size: 16px;
    font-weight: 600;
    color: #000000;
    display: block;
    clear: both;
}

.ekomidia-html-below a:hover {
    background: #ffd43b;
    border-radius: 10px;
}
/* botão personalizar  */


@media (max-width: 800px) {

/* 
div.nbd-xlabel-wrap {
    width: calc(26% - 13px) !important;
}

div.nbd-option-field.NB_cores_de_fundo .nbd-xlabel-wrap {
    width: calc(20% - 10px) !important;
    margin: 1px !important;
}

.nbd-option-field .nbd-field-header label {
    font-size: 20px;
}
*/

	
	.ekomidia-html-below {
		width: 90%;
	}
     
    .ekomidia-html-below a {   
        font-size: 13px;
    }

}


