:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(63,72,147);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(55,56,135);
	--btn-accented-bgcolor-hover: rgb(71,72,135);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 84px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(245,245,245);
	background-image: none;
}
.wd .product-label.onsale {
	background-color: rgb(255,182,0);
	color: rgb(0,0,0);
}
.wd .product-label.new {
	background-color: rgb(44,92,10);
}
.wd .product-label.featured {
	background-color: rgb(253,123,28);
	color: rgb(255,255,255);
}
.wd .product-label.out-of-stock {
	background-color: rgb(38,122,36);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 2px;
}
.woocommerce-product-gallery.thumbs-position-left {
	--wd-thumbs-width: 20%;
	--wd-thumbs-height: 500px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
--wd-cat-brd-radius: 5px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(0,57,173);
}

/* ======================================================
   CABEÇALHO ESTILO MERCADO LIVRE (CATEGORIAS + MENU)
   ====================================================== */

/* 1. MATA O MAIÚSCULO FORÇADO DO WOODMART E DEIXA A FONTE NORMAL */
html body .whb-header,
html body .whb-header-bottom {
    --wd-header-el-transform: none !important;
}
.whb-header-bottom .wd-nav-main > li > a,
.whb-header-bottom .wd-header-cats .menu-text {
    text-transform: none !important;
    font-size: 14px !important;
    color: #ffffff !important;
}

/* 2. DESTRÓI O FUNDO AZUL ESCURO E O ÍCONE DA CATEGORIA */
html body .whb-header-bottom .wd-header-cats .menu-opener,
html body .whb-header-bottom .wd-header-cats .menu-opener.has-bg {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    padding-left: 0 !important;
    box-shadow: none !important;
}
html body .whb-header-bottom .wd-header-cats .menu-opener-icon {
    display: none !important;
}

/* 3. ENCOLHE A "CAIXA INVISÍVEL" DO BOTÃO CATEGORIAS PARA JUNTAR OS MENUS */
html body .whb-header-bottom .wd-header-cats {
    width: 100px !important;
    min-width: 100px !important;
    flex: 0 0 auto !important;
    margin-right: -25px !important;
}

/* 4. GARANTE QUE A CAIXA DE DEPARTAMENTOS NÃO ENCOLHA AO ABRIR */
html body .whb-header-bottom .wd-dropdown-cats {
    width: 270px !important;
}

/* 5. TIRA A MARGEM DO MENU PRINCIPAL PARA ELE ENCOSTAR NA ESQUERDA */
html body .whb-header-bottom .wd-header-main-nav {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* ======================================================
   CABEÇALHO AZUL E TEXTOS BRANCOS DA DIREITA
   ====================================================== */

.whb-header-bottom {
    background-color: #0000ff !important;
    border: none !important;
}

.whb-header-bottom .wd-tools-text,
.whb-header-bottom .woocommerce-Price-amount,
.whb-header-bottom .wd-tools-icon::before {
    color: #ffffff !important;
}

.whb-header-bottom .wd-nav-main > li > a:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ======================================================
   DESTRUIR O ÍCONE INVISÍVEL QUE SOBREPÕE OS MENUS
   ====================================================== */

html body .whb-header-bottom .wd-header-cats .menu-opener-icon,
html body .whb-header-bottom .wd-header-cats .wd-nav-icon,
html body .whb-header-bottom .wd-header-cats .wd-tools-icon {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
}

html body .whb-header-bottom .wd-header-cats .menu-opener {
    display: inline-flex !important;
    justify-content: flex-start !important;
    width: max-content !important;
    min-width: 0 !important;
    padding-right: 15px !important;
}

/* ======================================================
   CARRINHO PADRÃO WOODMART E SETINHA CATEGORIAS
   ====================================================== */

html body .whb-header-bottom .wd-header-cats .menu-opener::after,
html body .whb-header-bottom .wd-header-cats .wd-nav-icon {
    margin-left: 8px !important;
}

html body .whb-header-bottom .wd-header-cart .wd-tools-icon::before,
html body .whb-header-bottom .wd-header-cart .woocommerce-Price-amount {
    color: #ffffff !important;
}

html body .whb-header-bottom .wd-header-cart .wd-cart-number {
    background-color: #ffcc00 !important;
    color: #333333 !important;
}

/* ======================================================
   PADRONIZAÇÃO DO TAMANHO DAS IMAGENS (VITRINE)
   ====================================================== */

html body .wd-product.product-grid-item .product-image-link img {
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    object-position: center !important;
    background-color: #ffffff !important;
}

/* ======================================================
   VITRINE DE PRODUTOS PADRÃO MERCADO LIVRE (CORREÇÃO)
   ====================================================== */

html body .wd-product.product-grid-item .wd-product-footer,
html body .wd-product .wd-buttons,
html body .wd-product .wd-product-footer,
html body .wd-product .wd-add-btn,
html body .wd-product .wd-action-btn,
html body .wd-product .wd-wishlist-btn,
html body .wd-product .wd-star-rating,
html body .wd-product .star-rating {
    display: none !important;
}

html body .wd-product.product-grid-item .wd-product-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

html body .wd-product.product-grid-item .wd-entities-title {
    width: 100% !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #333333 !important;
    line-height: 1.3 !important;
    margin-bottom: 5px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
}

html body .wd-product,
html body .wd-product .product-element-bottom,
html body .wd-product .wd-bottom-actions {
    transform: none !important;
    transition: none !important;
}

html body .wd-product .product-element-bottom {
    display: block !important; 
    padding: 15px !important;
    text-align: left !important;
}

html body .wd-product .wd-entities-title {
    min-height: 40px !important; 
    margin-bottom: 5px !important;
}

/* ======================================================
   PREÇOS: RISCADO EM CIMA, GRANDÃO EMBAIXO
   ====================================================== */

html body .wd-product .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-top: 5px !important;
    text-align: left !important;
}

html body .wd-product .price span.amount,
html body .wd-product .price bdi,
html body .wd-product.product-grid-item .price ins,
html body .wd-product.product-grid-item .price > .amount {
    font-size: 24px !important;
    color: #333333 !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
}

html body .wd-product .price del span.amount,
html body .wd-product .price del bdi,
html body .wd-product.product-grid-item .price del,
html body .wd-product.product-grid-item .price del .amount {
    font-size: 13px !important;
    color: #999999 !important;
    margin-bottom: 0px !important;
    font-weight: 400 !important;
}

html body .wd-product .price span.woocommerce-Price-currencySymbol {
    font-size: 14px !important;
    margin-right: 3px !important;
}

/* ======================================================
   ETIQUETA VERDE NO CANTO INFERIOR DIREITO
   ====================================================== */

html body .wd-product {
    position: relative !important;
    padding-bottom: 15px !important;
}

html body .wd-product .product-element-top {
    position: static !important;
    overflow: visible !important;
}

html body .wd-product .product-labels {
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    right: 15px !important; 
    bottom: 25px !important; 
    z-index: 99 !important;
    margin: 0 !important;
}

html body .wd-product .product-labels .onsale {
    background-color: #00a650 !important;
    color: #ffffff !important;
    border-radius: 3px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    padding: 3px 6px !important;
}

/* ======================================================
   PÁGINA DO PRODUTO: IMAGEM PRINCIPAL E MINIATURAS
   ====================================================== */

html body.single-product .woocommerce-product-gallery__image,
html body.single-product .wd-product-images .woocommerce-product-gallery__image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 360px !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
}

html body.single-product .woocommerce-product-gallery__image img,
html body.single-product .woocommerce-product-gallery img,
html body.single-product .wd-product-images img {
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 360px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

/* BLOCOS MESCLADOS DE MINIATURA (OTIMIZADO) */
body.single-product .woocommerce-product-gallery .wd-gallery-thumb .wd-carousel-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: transparent !important;
    height: auto !important; 
    aspect-ratio: 1 / 1 !important; 
    margin-bottom: 10px !important; 
}

body.single-product .woocommerce-product-gallery .wd-gallery-thumb .wd-carousel-item img {
    width: 100% !important; 
    height: auto !important; 
    aspect-ratio: 1 / 1 !important; 
    object-fit: contain !important; 
    border-radius: 8px !important;
    border: 2px solid #e5e5e5 !important; 
    background-color: #ffffff !important; 
    padding: 4px !important; 
    box-sizing: border-box !important;
    margin: 0 auto !important;
    transition: all 0.3s ease !important;
}

body.single-product .woocommerce-product-gallery .wd-gallery-thumb .wd-carousel-item:hover img,
body.single-product .woocommerce-product-gallery .wd-gallery-thumb .wd-carousel-item.wd-thumb-active img {
    border-color: #25d366 !important; 
}

/* ======================================================
   PÁGINA DO PRODUTO: TÍTULO, SKU, CATEGORIAS
   ====================================================== */

.wd-breadcrumbs .wd-last,
.wd-breadcrumbs .wd-last-link + .wd-delimiter {
    display: none !important;
}

html body.single-product .summary-inner h1.product_title,
html body.single-product h1.entry-title {
    font-size: 24px !important;       
    line-height: 1.25 !important;     
    font-weight: 600 !important;      
    margin-bottom: 15px !important;   
    color: #444444 !important;
}

html body.single-product .summary-inner .product_meta {
    font-size: 12px !important;
    color: #888888 !important;
    border-top: 1px solid #f0f0f0 !important; 
    padding-top: 15px !important;
    margin-top: 25px !important;
    display: flex !important;
    flex-direction: column !important; 
    align-items: flex-start !important; 
    text-align: left !important; 
    gap: 8px !important; 
}

html body.single-product .summary-inner .product_meta a:hover {
    color: #25d366 !important;
}

/* ========================================================
   AJUSTES VISUAIS - BOTÕES, FRETE E QUANTIDADE
======================================================== */

.single-product .quantity input[type="button"] {
    background-color: transparent !important;
    color: #333333 !important;
    border: 1px solid #e1e1e1 !important;
    min-height: 40px !important;
    transition: all 0.3s ease !important;
}
.single-product .quantity input[type="button"]:hover {
    background-color: #f5f5f5 !important;
}

.single-product .summary-inner form button[type="submit"]:not(.single_add_to_cart_button),
.single-product .summary-inner button.button.alt:not(.single_add_to_cart_button) {
    background-color: #3b438c !important; 
    color: #ffffff !important;
    border-radius: 5px !important;
    border: none !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    padding: 0 20px !important;
    height: 42px !important;
}
.single-product .summary-inner form button[type="submit"]:hover:not(.single_add_to_cart_button) {
    opacity: 0.85 !important;
}

.single-product .summary-inner input[name="calc_shipping_postcode"],
.single-product .summary-inner input[type="text"] {
    border-radius: 5px !important;
    border: 1px solid #dcdcdc !important;
    height: 42px !important;
    padding: 0 15px !important;
    background: #ffffff !important;
}

/* ========================================================
   CAIXA DE FRETE COM ROLAGEM + VISUAL MERCADO LIVRE
======================================================== */

.single-product .summary-inner table {
    display: block !important;
    width: 100% !important;
    max-height: 170px !important;
    overflow-y: auto !important; 
    overflow-x: hidden !important;
    border: 1px solid #eaeaea !important; 
    border-radius: 8px !important;
    margin-top: 15px !important;
    background: #ffffff !important;
}

.single-product .summary-inner table tbody {
    display: table !important;
    width: 100% !important;
}

.single-product .summary-inner table::-webkit-scrollbar {
    width: 6px !important;
}
.single-product .summary-inner table::-webkit-scrollbar-thumb {
    background-color: #dcdcdc !important;
    border-radius: 10px !important;
}

.single-product .summary-inner table th,
.single-product .summary-inner table td,
.single-product .summary-inner table tr {
    background: transparent !important;
    border: none !important;
}

.single-product .summary-inner table tr {
    border-bottom: 1px solid #eaeaea !important;
}
.single-product .summary-inner table tr:last-child {
    border-bottom: none !important;
}

.single-product .summary-inner table td {
    padding: 12px 15px !important; 
    font-size: 13.5px !important;
    color: #555555 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    vertical-align: middle !important;
}

.single-product .summary-inner table td bdi,
.single-product .summary-inner table td .amount,
.single-product .summary-inner table td strong {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #3b438c !important; 
    white-space: nowrap !important;
    float: right !important; 
}

/* ========================================================
   FIXAR A FOTO DO PRODUTO (SCROLL)
======================================================== */

@media (min-width: 992px) { 
    html body.single-product .product-image-summary-inner .product-images {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 40px !important; 
        align-self: flex-start !important;
        z-index: 10 !important;
    }
}

/* ========================================================
   CORAÇÃO ALINHADO E EFEITO 3D LADO A LADO
======================================================== */

html body.single-product .summary-inner form.cart {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 15px !important;
    vertical-align: middle !important;
}

html body.single-product .summary-inner .wd-wishlist-btn {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    position: relative !important;
    top: -7px !important; 
    margin-left: 4px !important;
    margin-top: 0 !important;
}

html body.single-product .summary-inner form.cart div.quantity,
html body.single-product .summary-inner form.cart button.single_add_to_cart_button,
html body.single-product .summary-inner form.cart a.button,
html body.single-product .summary-inner .wd-wishlist-btn a {
    height: 48px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

html body.single-product .summary-inner form.cart button.single_add_to_cart_button,
html body.single-product .summary-inner form.cart a.button {
    border-radius: 8px !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.12) !important;
}

html body.single-product .summary-inner form.cart button.single_add_to_cart_button:hover,
html body.single-product .summary-inner form.cart a.button:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.22) !important;
    filter: brightness(1.1) !important;
}

html body.single-product .summary-inner .wd-wishlist-btn a {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 48px !important;
    border-radius: 8px !important;
    background-color: #f5f5f5 !important;
    border: 1px solid #e1e1e1 !important;
    font-size: 0 !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08) !important;
}

html body.single-product .summary-inner .wd-wishlist-btn a::before,
html body.single-product .summary-inner .wd-wishlist-btn a span::before {
    font-size: 18px !important;
    color: #555555 !important;
    display: block !important;
    line-height: 1 !important;
}

html body.single-product .summary-inner .wd-wishlist-btn a:hover {
    background-color: #ffebee !important;
    border-color: #ffcdd2 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(229,57,53,0.2) !important;
}

html body.single-product .summary-inner .wd-wishlist-btn a:hover::before,
html body.single-product .summary-inner .wd-wishlist-btn a:hover span::before {
    color: #e53935 !important;
}

html body.single-product .summary-inner hr,
html body.single-product .summary-inner .woocommerce-product-details__short-description + *,
html body.single-product .summary-inner form.cart + * {
    margin-top: 20px !important;
}
/* ======================================================
   CORREÇÃO DAS PONTAS QUADRADAS NO TOPO DO CARD
   ====================================================== */

html body .wd-product.product-grid-item .product-image-link img,
html body .wd-product.product-grid-item .product-element-top {
    border-top-left-radius: 12px !important; 
    border-top-right-radius: 12px !important;
}
/* ======================================================
   PADRONIZAÇÃO DO TAMANHO DAS IMAGENS (VITRINE)
   ====================================================== */
html body .wd-product.product-grid-item .product-image-link img {
    width: 100% !important;
    height: 220px !important;
    padding: 20px !important; /* ISSO AQUI ENCOLHE A FOTO (RESPIRO) */
    box-sizing: border-box !important; /* Garante que o padding empurre a foto pra dentro */
    object-fit: contain !important;
    object-position: center !important;
    background-color: #ffffff !important;
}
