/*
Theme Name: Medina Tattoo
Theme URI: https://lupee.com.br
Description: Tema para empresa Medina Tattoo
Author: Luiz Mariano
Author URI: https://lupee.com.br
Template: elessi-theme
Version: 1.0
*/

/****** MOBILE POP-UP *****/

@media only screen and (max-width: 48em) {
	
div#nasa-popup {
background-image: none!important;}
#nasa-popup .checkbox-label { display:none!important;}
}

/* Botão WhatsApp */
div[style*="position: fixed"][style*="bottom: 20px"][style*="right: 20px"] {
    bottom: 140px !important;
    right: 17px !important;   /* Mantém alinhado à direita */
    z-index: 100 !important;
}

/* Botão WhatsApp Mobile */
@media only screen and (max-width: 48em) {
	
div[style*="position: fixed"][style*="bottom: 20px"][style*="right: 20px"] {
    bottom: 190px !important;
    right: 0px !important;   /* Mantém alinhado à direita */
    z-index: 100 !important;}
}

/* Ajuste imagem variações */
.nasa-attr-bg-img {
    opacity: 1; 
    border: none;
    overflow: hidden;
    width: 80px;
    height: 80px;
    border-radius: 0% !important;
}

.nasa-attr-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0%;
}

/* ocutar menu flutuante */
.li-toggle-sidebar {
	display: none;}

/* Ajustar texto header */
@media (max-width: 480px) {
    .nasa-content-promotion-custom {
        font-size: 11px;
	      padding: 10px 10px !important;
			  line-height: 1.4 !important;
        white-space: normal !important;
        overflow: visible !important;}}

@media (max-width: 768px) {
    .nasa-content-promotion-custom {
        font-size: 14px;
        padding: 7px 10px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        overflow: visible !important;}}

/* Deixa ivisivel o reCAPTCHA */
.rc-anchor,
.g-recaptcha,
iframe[src*="recaptcha"],
.grecaptcha-badge {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;}

/* Barra de busca mobile */
.nasa-bottom-bar .nasa-bottom-bar-icons {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 5px !important;
        margin: 0 !important;
        width: 100% !important;}

    .nasa-bottom-bar .ns-bot-search {
        order: 1 !important;
        flex-grow: 1 !important;
        margin: 0 !important;
        padding: 0 !important;}

    .nasa-bottom-bar .ns-bot-cart {
        order: 2 !important;
        flex-shrink: 0 !important;
        margin-left: 20px !important;
        padding: 0 8px 0 0 !important;}

    .nasa-bottom-bar .ns-bot-search form {
        display: flex !important;
        width: 100% !important;
        margin: 0 !important;}

    .nasa-bottom-bar .ns-bot-search input.search-field {
        flex: 1 !important;
        height: 40px !important;
        border-radius: 4px 0 0 4px !important;
        padding: 0 10px !important;
        border: 1px solid #ddd !important;
        font-size: 14px !important;
        min-width: 0 !important;}

.nasa-bottom-bar .ns-bot-search .twitter-typeahead {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    position: static !important;}

.nasa-bottom-bar .ns-bot-search .twitter-typeahead .search-field {
    width: 100% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;}

    .nasa-bottom-bar .ns-bot-search button.nasa-submit-search {
        background-color: #f58220 !important;
        border: none !important;
        height: 40px !important;
        padding: 0 12px !important;
        border-radius: 0 4px 4px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;}

    .nasa-bottom-bar .ns-bot-search button.nasa-submit-search svg {
        fill: #fff !important;
        width: 30px !important;
        height: 20px !important;}

.nasa-bottom-bar-icons.nasa-2-columns li {
    width: auto !important;}

.nasa-bottom-bar .ns-bot-search .twitter-typeahead {
    position: relative !important;}

/* Forçar o dropdown pra cima */
.nasa-bottom-bar .ns-bot-search .tt-menu {
    position: absolute !important;
    bottom: 50px !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    background: #fff !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 9999 !important;
    padding: 0 !important;
}

/* Cada item da lista (fica só o link) */
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search {
    padding: 10px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 14px !important;
    color: #333 !important;
    line-height: 1.4 !important;
    overflow: hidden !important;
    white-space: normal !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

/* Esconder absolutamente tudo que não for o título/nome */
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search img,
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search .meta,
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search .price,
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search .sku,
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search small,
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search .nasa-price,
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search .product-sku,
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search .product_meta,
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search .nasa-price-in-list,
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search .price-box,
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search .price-wrap,
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search .product-thumbnail {
    display: none !important;
}

/* Link de nome (forçar que só ele apareça) */
.nasa-bottom-bar .ns-bot-search .tt-menu .item-search .nasa-link-item-search {
    display: block !important;
    font-weight: normal !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
}


/* Remover descrição produtos */
ul.nasa-tabs.nasa-classic-style.nasa-classic-2d.nasa-tabs-no-border {
	display: none;}

/* Força o endereço a ocupar 100% da linha */
#billing_address_1_field {
    width: 100% !important;
    clear: both;}

#billing_city_field {
    width: 75% !important;
    margin-right: 0%;}

#billing_number_field {
    width: 20% !important;
    margin-right: 0%;}

#billing_address_2_field {
    width: 80% !important;}

#billing_state_field {
    width: 25% !important;}

#billing_postcode_field {
    width: 50% !important;
    margin-right: 0%;}

#billing_address_1_field {
    width: 50% !important;}

/* Responsivo: empilha tudo no mobile */
@media (max-width: 768px) {
    #billing_postcode_field,
    #billing_address_1_field,
    #billing_city_field,
    #billing_state_field {
        width: 100% !important;
        margin-right: 0 !important;
        display: block;
    }}


/* Frete apenas com CEP */
#calc_shipping_city_field,
#calc_shipping_state_field,
#calc_shipping_country_field,
#calc_shipping_state {
	display: none !important;}

p#billing_country_field  {
	display: none !important;}

/* Cores sites */
* {
  --wcsp-incash-price-color: #f87d2d !important;}

.badge {
    background: #f87d2d!important;}

/* Ajuste fretes */
.page-checkout-modern #shipping_method li {
    height: auto !important;
    margin-bottom: 10px !important;
}

.shipping-wrap-modern .woocommerce-shipping-methods li {
    padding-top: 10px !important;
}

/* paypal */
.payment_box.payment_method_paypal-brasil-plus-gateway {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

@media (min-width: 768px) {
    #wc-ppp-brasil-container {
        height: 400px !important;
        max-height: 400px !important;
        overflow: hidden !important;
        margin-bottom: 0 !important;
    }

    #wc-ppp-brasil-container iframe {
        height: 100% !important;
        max-height: 100% !important;
        box-sizing: border-box !important;
    }}

/* Container com número fixo de colunas */
.nasa-attr-ux_wrap.type-nasa_label {
    display: grid !important;
    grid-template-columns: repeat(3, 80px);
    gap: 10px;
    margin: 10px auto;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .nasa-attr-ux_wrap.type-nasa_label {
        grid-template-columns: repeat(5, 80px);
    }
}

@media (min-width: 1024px) {
    .nasa-attr-ux_wrap.type-nasa_label {
        grid-template-columns: repeat(8, 80px);
    }
}

.nasa-attr-ux {
    width: 80px;
    height: auto;
    display: flex;
    justify-content: center;
	
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    font-weight: 600;
    font-size: 12px;
    color: #333;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    padding: 6px 4px;
    box-sizing: border-box;
    text-align: center; 
    line-height: 1 !important;
    word-break: break-word;
    white-space: normal;
}

.nasa-attr-ux span {
    line-height: 1.3;
}

.nasa-attr-ux:hover,
.nasa-attr-ux.selected {
    border-color: #ff6a00;
    background-color: #fff6f0;
    color: #ff6a00;
}

.nasa-attr-ux .nasa-attr-bg {
    display: none !important;
}