/* Shared page rhythm; the approved home composition keeps its own spacing. */
body.mbd-store{--lm-page-gutter:clamp(16px,3vw,40px);--lm-page-space:clamp(32px,4.5vw,64px)}
body.mbd-store:not(.lumien-mockup-home) main.site-main{width:calc(100% - 2 * var(--lm-page-gutter))!important;max-width:1320px!important;margin-inline:auto!important;padding:var(--lm-page-space) 0!important;min-width:0}
body.mbd-store:not(.lumien-mockup-home) main.site-main>.page-header{margin:0 0 28px;padding:0}
body.mbd-store .lm-announcement{width:100%;min-height:35px;margin:0;position:relative;z-index:41;flex-shrink:0}
body.mbd-store .mbd-category-products{padding-block:var(--lm-page-space)!important}
body.mbd-store .mbd-category-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 0 24px!important}
body.mbd-store .mbd-category-toolbar form{margin:0!important}
body.mbd-store .mbd-catalog-tools{gap:16px;margin:0 0 32px!important;padding:20px!important;display:flex;flex-wrap:wrap;align-items:end}
body.mbd-store .mbd-filter-group{flex:1 1 150px;min-width:0}
body.mbd-store.tax-product_cat ul.products,body.mbd-store .mbd-category-products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:28px 24px!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important;transform:none!important;list-style:none}
body.mbd-store.tax-product_cat ul.products:before,body.mbd-store.tax-product_cat ul.products:after,body.mbd-store .mbd-category-products ul.products:before,body.mbd-store .mbd-category-products ul.products:after{display:none!important;content:none!important}
body.mbd-store.tax-product_cat ul.products li.product,body.mbd-store .mbd-category-products ul.products li.product{width:100%!important;min-width:0!important;max-width:none!important;float:none!important;clear:none!important;flex:none!important;margin:0!important;padding:16px!important;box-sizing:border-box;opacity:1!important;transform:none!important}
body.mbd-store .mbd-category-products ul.products li.product img{width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain!important;margin:0 0 16px!important}
body.mbd-store .mbd-category-products .woocommerce-pagination{display:block!important;margin:36px 0 0!important;text-align:center;clear:both}
body.mbd-store .mbd-category-products .woocommerce-pagination ul{display:inline-flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0;list-style:none}
body.mbd-store .mbd-category-products .woocommerce-pagination li{border:0;margin:0;list-style:none}
body.mbd-store .mbd-category-products .woocommerce-pagination a,body.mbd-store .mbd-category-products .woocommerce-pagination span{display:flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:8px 12px;border:1px solid #d9ccb6;border-radius:4px;text-decoration:none}
body.mbd-store .mbd-category-products .woocommerce-pagination .current{background:#3b281c;color:#fff;border-color:#3b281c}
/* Classic WooCommerce cart: thumbnail dimensions must not follow source resolution. */
body.mbd-store.woocommerce-cart .woocommerce{width:100%;max-width:1320px;margin-inline:auto;min-width:0}
body.mbd-store.woocommerce-cart table.shop_table{width:100%!important;table-layout:auto;border-collapse:collapse;margin:0 0 32px!important}
body.mbd-store.woocommerce-cart table.shop_table th,body.mbd-store.woocommerce-cart table.shop_table td{padding:18px 14px!important;vertical-align:middle;overflow-wrap:anywhere}
body.mbd-store.woocommerce-cart table.cart td.product-thumbnail{width:110px!important;max-width:110px!important}
body.mbd-store.woocommerce-cart table.cart .product-thumbnail a{display:block;width:80px!important;margin:auto}
body.mbd-store.woocommerce-cart table.cart .product-thumbnail img{display:block;width:80px!important;max-width:80px!important;height:96px!important;object-fit:contain!important;margin:0!important}
body.mbd-store.woocommerce-cart table.cart .product-name{min-width:140px}
body.mbd-store.woocommerce-cart table.cart .product-price,body.mbd-store.woocommerce-cart table.cart .product-subtotal{white-space:nowrap}
body.mbd-store.woocommerce-cart table.cart input.qty{width:72px!important;max-width:100%;height:44px;margin:0}
body.mbd-store.woocommerce-cart table.cart .actions{text-align:right}
body.mbd-store.woocommerce-cart .coupon{display:flex;gap:12px;flex-wrap:wrap;float:left;max-width:100%}
body.mbd-store.woocommerce-cart .coupon input{width:180px!important;max-width:100%;min-height:44px;margin:0!important}
body.mbd-store.woocommerce-cart .cart-collaterals{display:flex;justify-content:flex-end;gap:32px;flex-wrap:wrap;margin-top:32px}
body.mbd-store.woocommerce-cart .cart-collaterals .cart_totals{float:none!important;width:min(100%,480px)!important;padding:24px;border:1px solid #e4d8be;border-radius:8px;background:#fffcf6}
body.mbd-store.woocommerce-cart .cart_totals h2{margin:0 0 20px}
body.mbd-store.woocommerce-cart .wc-proceed-to-checkout{padding:16px 0 0}
body.mbd-store.woocommerce-cart .checkout-button{display:block;width:100%;text-align:center;padding:16px!important;white-space:normal}
/* Block cart and product detail page. */
body.mbd-store .wc-block-cart{padding-block:16px!important;margin:0!important}
body.mbd-store .wc-block-cart-item__image img{width:88px!important;height:104px!important;object-fit:contain}
body.mbd-store.single-product div.product{margin:0 0 var(--lm-page-space)!important;min-width:0}
body.mbd-store.single-product div.product div.images{width:46%!important;margin:0 0 32px!important}
body.mbd-store.single-product div.product div.summary{width:49%!important;margin:0 0 32px!important;min-width:0}
body.mbd-store.single-product .woocommerce-product-gallery__image img{width:100%!important;height:auto!important;max-height:620px;object-fit:contain!important}
body.mbd-store.single-product .product_title{font-size:clamp(28px,3vw,42px)!important;line-height:1.2!important;margin:0 0 20px!important;overflow-wrap:anywhere}
body.mbd-store.single-product .woocommerce-breadcrumb{margin:0 0 28px!important;line-height:1.7}
body.mbd-store.single-product .summary .price{margin:0 0 20px!important}
body.mbd-store.single-product .woocommerce-product-details__short-description{margin-bottom:24px;line-height:1.75}
body.mbd-store.single-product .summary form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:24px 0!important}
body.mbd-store.single-product .summary .quantity{margin:0!important}
body.mbd-store.single-product .woocommerce-tabs{clear:both;padding-top:32px}
@media(max-width:1000px){body.mbd-store.tax-product_cat ul.products,body.mbd-store .mbd-category-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px 18px!important}}
@media(max-width:767px){
 body.mbd-store .lm-announcement{min-height:30px}
 body.mbd-store.tax-product_cat ul.products,body.mbd-store .mbd-category-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 12px!important}
 body.mbd-store .mbd-category-products ul.products li.product{padding:10px!important}
 body.mbd-store .mbd-category-toolbar{align-items:flex-start;margin-bottom:20px!important}
 body.mbd-store .mbd-catalog-tools{padding:16px!important;gap:12px;margin-bottom:24px!important}
 body.mbd-store.single-product div.product div.images,body.mbd-store.single-product div.product div.summary{float:none!important;width:100%!important;margin-bottom:28px!important}
 body.mbd-store.single-product .woocommerce-product-gallery__image img{max-height:460px}
 body.mbd-store.woocommerce-cart table.cart thead{display:none}
 body.mbd-store.woocommerce-cart table.cart tbody,body.mbd-store.woocommerce-cart table.cart tr,body.mbd-store.woocommerce-cart table.cart td{display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box}
 body.mbd-store.woocommerce-cart table.cart tr.cart_item{position:relative;padding:16px;margin-bottom:16px;background:#fffcf6;border:1px solid #e4d8be;border-radius:8px}
 body.mbd-store.woocommerce-cart table.cart td{padding:10px 0!important;text-align:right!important;border:0}
 body.mbd-store.woocommerce-cart table.cart td[data-title]:before{content:attr(data-title) ': ';float:left;font-weight:600}
 body.mbd-store.woocommerce-cart table.cart td.product-thumbnail{display:block!important;width:100%!important;max-width:none!important;padding:0 0 12px!important}
 body.mbd-store.woocommerce-cart table.cart td.product-thumbnail:before,body.mbd-store.woocommerce-cart table.cart td.product-remove:before{display:none}
 body.mbd-store.woocommerce-cart table.cart td.product-remove{position:absolute;right:12px;top:8px;width:32px!important;padding:0!important}
 body.mbd-store.woocommerce-cart table.cart .product-name{padding-bottom:16px!important;text-align:left!important;font-weight:600}
 body.mbd-store.woocommerce-cart table.cart .product-name:before{display:none}
 body.mbd-store.woocommerce-cart table.cart .actions{padding:16px 0!important}
 body.mbd-store.woocommerce-cart .coupon{float:none;margin-bottom:16px;width:100%}
 body.mbd-store.woocommerce-cart .coupon input{flex:1;min-width:100px}
 body.mbd-store.woocommerce-cart .actions>button{width:100%;white-space:normal}
 body.mbd-store.woocommerce-cart .cart-collaterals .cart_totals{padding:20px}
}
body.mbd-store .mbd-footer-grid{padding-top:0!important}
body.mbd-store.single-product .summary form.variations_form{display:block}
body.mbd-store.single-product .summary form.variations_form .single_variation_wrap{margin-top:20px}
/* WooCommerce category images and balanced product cards. */
body.mbd-store .lm-categories{display:flex;justify-content:center;flex-wrap:wrap;gap:28px!important;padding:32px var(--lm-page-gutter) 40px!important;max-width:1320px;margin-inline:auto}
body.mbd-store .lm-categories>a{flex:0 1 170px;min-width:0;text-align:center}
body.mbd-store .lm-category-image{display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:#f0eadd;border:1px solid #e6dccb;border-radius:50%;overflow:hidden}
body.mbd-store .lm-category-image img{width:100%;height:100%;object-fit:contain!important}
body.mbd-store .lm-category-empty{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#eee6d7}
body.mbd-store .lm-category-empty .lm-icon{width:48px;height:48px;opacity:.5}
body.mbd-store .lm-categories strong{display:block;margin-top:14px;font-size:11px;line-height:1.5;letter-spacing:.04em;text-transform:uppercase}
body.mbd-store .lm-categories small{display:block;margin-top:6px;font-size:10px}
body.mbd-store .woocommerce ul.products li.product,body.mbd-store.woocommerce ul.products li.product{display:flex!important;flex-direction:column;align-items:stretch;border:1px solid #e6dccb;border-radius:8px;padding:16px!important;background:#fffcf6;overflow:hidden;box-shadow:none!important}
body.mbd-store ul.products li.product .woocommerce-loop-product__link{display:block;flex:1;min-width:0}
body.mbd-store ul.products li.product .attachment-woocommerce_thumbnail{width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain!important;margin:0 0 18px!important;background:#fff}
body.mbd-store ul.products li.product .woocommerce-loop-product__title{font:600 14px/1.5 Montserrat,Arial!important;min-height:42px;padding:0!important;margin:0 0 12px!important}
body.mbd-store ul.products li.product .price{font:600 16px/1.5 Montserrat,Arial!important;margin:0 0 18px!important}
body.mbd-store ul.products li.product>.button{display:flex!important;align-items:center;justify-content:center;min-height:44px;width:100%;margin:0!important;padding:12px 10px!important;white-space:normal;line-height:1.4;font-size:12px!important;border-radius:4px!important;text-align:center}
body.mbd-store.single-product .woocommerce-tabs ul.tabs{display:flex;gap:8px;flex-wrap:wrap;padding:0!important;margin:0 0 28px!important;border-bottom:1px solid #dfd4c2}
body.mbd-store.single-product .woocommerce-tabs ul.tabs li{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important}
body.mbd-store.single-product .woocommerce-tabs ul.tabs li:before,body.mbd-store.single-product .woocommerce-tabs ul.tabs li:after{display:none!important}
body.mbd-store.single-product .woocommerce-tabs ul.tabs li a{display:block;padding:14px 20px!important;font-size:13px}
body.mbd-store.single-product .woocommerce-tabs ul.tabs li.active a{border-bottom:2px solid #987b47;color:#76551f!important}
body.mbd-store.single-product .woocommerce-tabs .panel{max-width:980px;margin:0 auto!important;padding:8px 0 32px!important;line-height:1.8}
body.mbd-store.single-product .woocommerce-tabs .panel h2{font:500 34px/1.25 'Cormorant Garamond',serif!important;margin:0 0 20px!important}
body.mbd-store.single-product .woocommerce-tabs .panel h3{font:600 20px/1.4 Montserrat,Arial!important;margin:28px 0 14px!important}
body.mbd-store.single-product .woocommerce-tabs .panel p,body.mbd-store.single-product .woocommerce-tabs .panel ul{margin:0 0 20px!important}
body.mbd-store.single-product .woocommerce-tabs .panel li{margin-bottom:8px}
@media(max-width:767px){body.mbd-store .lm-categories{gap:24px 16px!important;padding-block:24px 32px!important}body.mbd-store .lm-categories>a{flex-basis:calc(33.333% - 12px)}body.mbd-store .lm-categories strong{font-size:9px;margin-top:10px}body.mbd-store ul.products li.product>.button{font-size:11px!important}body.mbd-store.single-product .woocommerce-tabs ul.tabs li a{padding:12px!important;font-size:12px}}
/* Comfortable click targets; decoration never intercepts a click. */
body.mbd-store .lumien-cursor,body.mbd-store .lumien-drop{pointer-events:none!important}
body.mbd-store .lm-actions>a,body.mbd-store .lm-menu-toggle,body.mbd-store .lm-search button,body.mbd-store .lumien-arrow,body.mbd-store .mbd-cart-panel-close,body.mbd-store .mbd-search-close,body.mbd-store .mbd-modal-close{min-width:44px!important;min-height:44px!important;touch-action:manipulation}
body.mbd-store .lm-search{height:44px}
body.mbd-store .lm-search input{height:44px}
body.mbd-store .lm-navigation{height:48px}
body.mbd-store .lm-navigation a{min-height:44px;padding-inline:6px;touch-action:manipulation}
body.mbd-store .lm-favorite,body.mbd-store .mbd-favorite,body.mbd-store .mbd-favorite-btn,body.mbd-store .mbd-single-favorite{min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;display:flex!important;align-items:center;justify-content:center;padding:8px!important;right:0!important;top:0!important;touch-action:manipulation}
body.mbd-store .lm-buy,body.mbd-store .mbd-add,body.mbd-store .single_add_to_cart_button,body.mbd-store .checkout-button{min-height:44px!important;touch-action:manipulation}
body.mbd-store .lm-categories>a{padding:6px;touch-action:manipulation}
body.mbd-store .mbd-footer-grid>div>a{min-height:40px;display:flex;align-items:center;padding-block:8px;line-height:1.4}
body.mbd-store .lumien-dots button{min-width:28px;min-height:28px;padding:8px;touch-action:manipulation}
@media(max-width:700px){body.mbd-store .lm-header-row{grid-template-columns:44px minmax(0,1fr) 132px;gap:0 6px}body.mbd-store .lm-actions{width:132px;gap:0!important}body.mbd-store .lm-actions>a{width:44px;min-width:44px!important}body.mbd-store .lm-menu-toggle{width:44px!important;height:44px!important}body.mbd-store .lm-navigation{height:auto}body.mbd-store .lm-logo,body.mbd-store .lm-logo img{max-width:100%}}
/* Link appearance, including hover, visited and focus states. */
body.mbd-store a,body.mbd-store a:link,body.mbd-store a:visited,body.mbd-store a:hover,body.mbd-store a:focus,body.mbd-store a:active,body.mbd-store a *{text-decoration:none!important}
body.mbd-store .lm-navigation .is-current:after{display:none!important}
body.mbd-store a:focus-visible,body.mbd-store button:focus-visible{outline:2px solid #987b47;outline-offset:3px}

/* Perfume alone on desktop; existing enlarged hit targets stay active. */
body.mbd-store .lumien-cursor svg{transform:translate(-18px,-9px)}
@media(min-width:768px) and (hover:hover) and (pointer:fine){body.mbd-store.lumien-custom-cursor,body.mbd-store.lumien-custom-cursor *{cursor:none!important}}
/* Product covers remain visible while the secondary image loads or fails. */
body.mbd-store ul.products .mbd-hover-image-wrap{aspect-ratio:1;display:block;width:100%;position:relative;background:#fff;margin-bottom:18px}
body.mbd-store ul.products .mbd-hover-image-wrap .mbd-product-image-primary{position:absolute;inset:0;display:block;width:100%;height:100%}
body.mbd-store ul.products .mbd-hover-image-wrap .mbd-product-image-primary img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;opacity:1!important;margin:0!important}
body.mbd-store ul.products .mbd-hover-image-wrap .mbd-product-image-secondary{opacity:0!important;object-fit:contain!important}
@media(hover:hover) and (pointer:fine){body.mbd-store ul.products li.product:hover .mbd-hover-image-wrap.lm-hover-ready .mbd-product-image-secondary{opacity:1!important}}

/* Badge sits outside the clipped category photo. */
body.mbd-store .lm-category-media{position:relative;width:100%;max-width:175px;margin-inline:auto;overflow:visible}
body.mbd-store .lm-category-media .lm-category-image{width:100%;margin:0}
body.mbd-store .lm-category-media>.lm-offer-badge{position:absolute;top:-5px;right:-10px;z-index:5;display:flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:50%;background:#7d633b;color:#fff;font:400 26px/1 Georgia;pointer-events:none}
@media(max-width:700px){body.mbd-store .lm-category-media>.lm-offer-badge{top:-4px;right:-6px;width:26px;height:26px;font-size:20px}}

/* v1.4.0: vitrines internas sempre em grade, sem rolagem lateral */
body.mbd-store:not(.lumien-mockup-home) .mbd-products-carousel,
body.mbd-store .mbd-products-grid,
body.mbd-store:not(.lumien-mockup-home) .mbd-favorites-grid,
body.mbd-store:not(.lumien-mockup-home) .woocommerce ul.products,
body.mbd-store:not(.lumien-mockup-home) .mbd-archive-shortcode ul.products{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:18px!important;overflow:visible!important;scroll-snap-type:none!important;
 flex-wrap:wrap!important;max-width:100%!important;
}
body.mbd-store:not(.lumien-mockup-home) .mbd-products-carousel > *,
body.mbd-store .mbd-products-grid > *,
body.mbd-store:not(.lumien-mockup-home) .woocommerce ul.products > li.product{
 min-width:0!important;max-width:100%!important;width:auto!important;
 flex:none!important;scroll-snap-align:none!important;margin:0!important;
}
body.mbd-store .mbd-grid-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:9px;margin:34px auto;}
body.mbd-store .mbd-grid-pagination a,body.mbd-store .mbd-grid-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:8px 12px;border:1px solid #d9ccb6;text-decoration:none;border-radius:5px}
body.mbd-store .mbd-grid-pagination .current{background:#3b281c;color:#fff;border-color:#3b281c}
@media(max-width:1050px){body.mbd-store:not(.lumien-mockup-home) .mbd-products-carousel,body.mbd-store .mbd-products-grid,body.mbd-store:not(.lumien-mockup-home) .mbd-favorites-grid,body.mbd-store:not(.lumien-mockup-home) .woocommerce ul.products,body.mbd-store:not(.lumien-mockup-home) .mbd-archive-shortcode ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:767px){body.mbd-store:not(.lumien-mockup-home) .mbd-products-carousel,body.mbd-store .mbd-products-grid,body.mbd-store:not(.lumien-mockup-home) .mbd-favorites-grid,body.mbd-store:not(.lumien-mockup-home) .woocommerce ul.products,body.mbd-store:not(.lumien-mockup-home) .mbd-archive-shortcode ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}

/* v1.4.2 — Apenas imagem principal nos cards de produtos. */
body.mbd-store ul.products .mbd-hover-image-wrap .mbd-product-image-secondary,body.mbd-store .mbd-product-card .mbd-product-image-secondary{display:none!important;opacity:0!important}
body.mbd-store ul.products li.product:hover .mbd-hover-image-wrap .mbd-product-image-primary img,body.mbd-store .mbd-product-card:hover .mbd-hover-image-wrap .mbd-product-image-primary img{opacity:1!important}

/* v1.4.3: galeria individual exibe só a imagem principal. */
body.mbd-store.single-product .woocommerce-product-gallery .flex-control-thumbs,
body.mbd-store.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:not(:first-child) {display:none!important;}
