/*
 Theme Name: Woodmart Child
 Template: woodmart
 Version: 1.1.0
 Text Domain: woodmart
*/
/* Shared Modaresi design rules. Content, imagery and links remain in Elementor/WooCommerce. */
:root{--md-paper:#fbf6e9;--md-walnut:#493527;--md-olive:#556844;--md-clay:#78452f;--md-line:#e4d7c3}
body{background:var(--md-paper);color:var(--md-walnut)}
a:focus-visible,button:focus-visible{outline:3px solid #a65f3c;outline-offset:3px}
.whb-header,.whb-general-header,.whb-sticked .whb-general-header{background:#f7efdf}
.whb-general-header{border-bottom:1px solid var(--md-line);box-shadow:0 3px 14px #4935270a}
.wd-header-nav .wd-nav>li>a{font-size:16px;font-weight:600;color:var(--md-walnut)}
.wd-header-nav .wd-nav>li.current-menu-item>a,.wd-header-nav .wd-nav>li>a:hover{color:var(--md-clay)}
.whb-general-header .wd-search-form{min-width:260px}
.wd-search-form input[type=text]{background:#fffdf7;border-color:var(--md-line);border-radius:8px}
.wd-dropdown-menu,.wd-dropdown-cats{background:#fffdf7;border:1px solid var(--md-line);border-radius:8px}
.wd-dropdown-menu .wd-sub-menu li a{font-size:15px;min-height:40px}
.wd-toolbar{background:#fffdf7;border-top:1px solid var(--md-line)}
.mobile-nav .wd-nav-opener{background:#f2eadb;color:#493527}
.mobile-nav .wd-nav-opener.wd-active{background:#556844;color:#fffdf7}
.mobile-nav .wd-nav-mobile li>a{color:#493527;font-size:15px}
.home .main-page-wrapper{padding-top:12px}
.elementor-6749>.e-con{margin-inline:auto;max-width:1320px}
.elementor-6749 h2.elementor-heading-title{font-size:30px;line-height:1.5;font-weight:700;color:var(--md-walnut)}
.elementor-6749 h3.elementor-heading-title{color:var(--md-walnut)}
.elementor-6749 .elementor-widget-text-editor{color:#625440;font-size:16px;line-height:1.9}
.elementor-6749 .elementor-widget-text-editor p{margin-bottom:0}
.elementor-6749 .elementor-button,.md-footer .elementor-button,.modaresi-single-contact .button{background:var(--md-olive)!important;color:#fffdf7!important;border:0;border-radius:8px;box-shadow:none;min-height:48px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:700}
.elementor-6749 .elementor-button:hover,.modaresi-single-contact .button:hover{background:#3d5031!important}
.md-main-slider{overflow:hidden;border-radius:16px;margin:16px auto 0!important}
.md-main-slider .wd-slide-container{padding:0!important;max-width:none;width:100%}
.md-hero-scene{min-height:440px;align-items:flex-start!important;background-position:center!important}
.md-hero-panel{width:43%;max-width:500px;background:rgba(255,250,240,.96);border:1px solid #dfceb4;border-radius:12px;box-shadow:0 8px 26px #49352712;gap:16px!important}
.md-hero-panel h1,.md-hero-panel h2{font-size:36px!important;line-height:1.5;color:var(--md-walnut)}
.md-hero-panel p.elementor-heading-title{font-size:14px;font-weight:600}
.md-hero-panel .elementor-widget-text-editor{font-size:16px}
.md-hero-panel .elementor-button{background:var(--md-clay)!important}
.md-all-category-icons .category-grid-item .wrapp-category{display:flex;flex-direction:column;background:#fffdf7;border:1px solid var(--md-line);border-radius:12px;overflow:hidden;box-shadow:none;height:100%}
.md-all-category-icons .category-grid-item .category-image{background:#fbf6e9;display:flex!important;align-items:center;justify-content:center;height:104px!important;aspect-ratio:auto!important;margin:8px}
.md-all-category-icons .category-image img{width:104px;height:104px;object-fit:contain;opacity:1}
.md-all-category-icons .hover-mask{position:static!important;transform:none!important;inset:auto!important;width:100%!important;opacity:1!important;visibility:visible!important;background:transparent!important;padding:4px 8px 12px;text-align:center;border:0;margin:0}
.md-all-category-icons .category-grid-item .wd-entities-title{position:static!important;inset:auto!important;width:auto!important;text-align:center!important;font-size:14px;line-height:1.6;min-height:3.2em;height:auto!important;margin:0!important;padding:4px 6px!important;color:var(--md-walnut);opacity:1!important;visibility:visible!important}
.md-all-category-icons .wd-entities-title a{display:flex;align-items:center;justify-content:center;min-height:3.2em}
.md-all-category-icons .more-products{display:none}
.md-category-group{padding:12px 0!important;gap:12px!important}
.md-category-group h3{font-size:18px;line-height:1.6;margin:0}
.md-all-category-icons .elementor-tab-title{border:1px solid var(--md-line);background:#f2eadb;padding:16px;border-radius:8px;min-height:52px;color:var(--md-walnut);font-size:16px;line-height:1.7}
.md-all-category-icons .elementor-tab-content{border:0;padding:12px 0 0!important;background:transparent}
.md-sales-section{background:#f6efdf;border-radius:16px}
.md-sales-section .woocommerce{margin-bottom:0}
.md-sales-section .woocommerce .products{margin-bottom:0}
/* Single shared card system across home, shop, archives and related products. */
.products.wd-products.wd-grid-g>.wd-product{display:flex;min-width:0}
.wd-product .product-wrapper{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;overflow:hidden;border:1px solid var(--md-line)!important;border-radius:12px!important;background:#fffdf7!important;box-shadow:0 3px 12px #49352708!important;transform:none!important}
.wd-product .product-element-top{position:relative;aspect-ratio:1;background:#f8f4eb;margin:6px 6px 0;border-radius:8px;overflow:hidden;flex-shrink:0}
.wd-product .product-image-link{position:absolute;inset:3px;display:block;width:auto;height:auto;padding:0}
.wd-product .product-image-link img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transform:none!important}
.wd-product .product-element-bottom{display:flex;flex:1;flex-direction:column;gap:7px;padding:14px;text-align:right;min-width:0}
.wd-product .wd-entities-title{font-size:16px;font-weight:700;line-height:1.65;height:3.3em;min-height:3.3em;margin:0;color:var(--md-walnut)}
.wd-product .wd-entities-title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;color:inherit}
.wd-product .wd-product-cats{font-size:12px;line-height:1.8;height:1.8em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0}
.wd-product .wd-product-cats a{color:#59634b}
.wd-product .wrap-price{min-height:36px;display:flex;align-items:center;margin:0}
.wd-product .price,.wd-product .price .amount,.wd-product .price bdi,.wd-product .price .woocommerce-Price-currencySymbol{color:var(--md-walnut)!important}
.wd-product .price{font-size:19px;font-weight:700;line-height:1.6}
.wd-product .woocommerce-Price-currencySymbol{font-size:12px;font-weight:400}
.wd-product .price ins{text-decoration:none}
.wd-product .price del{font-weight:400;font-size:.8em}
.wd-product .wd-add-btn{position:relative;display:block!important;visibility:visible!important;opacity:1!important;transform:none!important;margin-top:auto;padding-top:6px}
.wd-product .wd-add-btn>.modaresi-card-action{display:flex!important;position:relative;align-items:center;justify-content:center;flex-wrap:nowrap;width:100%;min-height:48px;height:48px!important;box-sizing:border-box;padding:10px 6px;gap:7px;font-size:15px;font-weight:700;line-height:1.6!important;white-space:normal;border-radius:8px!important;background:var(--md-olive)!important;color:#fffdf7!important;border:0;box-shadow:none;visibility:visible!important;opacity:1!important;transform:none!important}
.wd-product .wd-add-btn>.modaresi-card-action>span{display:inline!important;position:static!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;font-size:inherit;line-height:1.6!important;opacity:1!important;transform:none!important;text-indent:0;color:inherit;white-space:normal}
.wd-product .wd-add-btn>.modaresi-card-action:before{display:none!important}
.wd-product .modaresi-card-icon{display:block;flex:0 0 20px;width:20px;height:20px}
.wd-product .wd-add-btn>.modaresi-card-contact{background:#eee5d5!important;color:#644832!important}
.wd-product .fade-in-block,.wd-product .content-product-imagin{display:none!important}
.wd-product .product-labels{top:10px;inset-inline-start:10px;max-width:70%;gap:4px}
.wd-product .product-labels>span{font-size:11px;min-width:0;min-height:0;padding:5px 7px;border-radius:6px;background:#eee5d5;color:#644832;line-height:1.5}
.wd-product .wd-buttons{position:static!important;display:flex;justify-content:flex-end;transform:none!important;opacity:1!important;visibility:visible!important;background:transparent;box-shadow:none;border:0;min-height:44px}
.wd-product .wd-buttons .wd-action-btn>a{width:44px;height:44px;min-width:44px;min-height:44px;background:#fffdf7;border-radius:8px;color:var(--md-walnut)}
.wd-product.wd-hover-with-fade.hover-ready:is(:hover,.state-hover) .product-wrapper{transform:none!important}
.products.wd-products.wd-grid-g{row-gap:20px}
.md-category-banner-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:100%;padding:0!important}
.md-category-banner{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;width:100%;min-width:0;padding:0!important;gap:0!important;border:1px solid var(--md-line);border-radius:12px;background:#fffaf0;overflow:hidden}
.md-category-banner>.elementor-widget-image{width:42%!important;flex:0 0 42%!important;align-self:stretch;margin:0}
.md-category-banner>.elementor-widget-image .elementor-widget-container,.md-category-banner>.elementor-widget-image a{display:block;height:100%}
.md-category-banner>.elementor-widget-image img{width:100%!important;height:100%;min-height:220px;object-fit:cover;display:block}
.md-category-banner-copy{width:58%!important;flex:1 1 0!important;min-width:0;padding:20px!important;justify-content:center;gap:12px!important}
.md-category-banner-copy h3{font-size:22px;line-height:1.5;margin:0}
.md-category-banner-copy p{font-size:14px;line-height:1.9;margin:0}
.md-profile-section{background:#f0e6d1;border-radius:16px}
.md-profile-row{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;gap:32px!important}
.md-profile-photo{width:30%!important;flex:0 0 30%!important;padding:0!important}
.md-profile-photo img{width:100%;max-height:310px;object-fit:cover;object-position:center 35%;border-radius:12px}
.md-profile-copy{width:auto!important;flex:1 1 0!important;padding:0!important}
.md-profile-copy .elementor-element-mddoclabel .elementor-heading-title{font-size:16px!important;font-weight:500}
.md-profile-copy h2{font-size:26px!important}
.md-guide-section{border-bottom:1px solid var(--md-line)}
.md-guide-section h2{font-size:22px!important}
.md-footer{background:#f2e8d3}
.md-footer .elementor-widget-image img{max-height:75px;width:auto;object-fit:contain}
.md-footer h2{font-size:20px!important;line-height:1.6}
.md-footer p{font-size:15px;line-height:1.9;margin-bottom:0}
.md-footer .elementor-widget-html img{max-height:85px;max-width:85px!important;object-fit:contain}
.md-footer .elementor-element-bb5b5e0 a{display:inline-block;min-height:40px}
.modaresi-single-contact{margin:18px 0;padding:18px;background:#f2eadb;border-radius:10px}
.single-product .woocommerce-product-gallery img{object-fit:contain;background:#fffaf0}
.single-product .summary .price{font-size:28px;font-weight:700;color:#3d5031}
.single-product .woocommerce-tabs{border-top:1px solid var(--md-line);padding-top:24px}
.single-product .woocommerce-Tabs-panel{max-width:960px;margin-inline:auto;line-height:2}
.modaresi-catalog-only .wd-header-cart,.modaresi-catalog-only .wd-toolbar-cart{display:none!important}
@media(max-width:1024px){.md-hero-panel{width:50%}.md-profile-row{gap:24px!important}}
@media(max-width:768px){
 .elementor-6749 h2.elementor-heading-title{font-size:24px}
 .md-main-slider{margin:8px 12px 0!important;border-radius:12px;width:calc(100% - 24px)}
 .md-hero-scene{min-height:460px!important;padding:180px 14px 18px!important;background-position:left top!important;background-size:auto 270px!important;background-repeat:no-repeat!important;background-color:#e9dcc4;justify-content:flex-end!important}
 .md-hero-panel{width:100%!important;max-width:none;padding:20px!important;gap:12px!important}
 .md-hero-panel h1,.md-hero-panel h2{font-size:26px!important}
 .md-main-slider .wd-btn-arrow{top:155px!important;bottom:auto!important;width:44px;height:44px}
 .md-hero-panel .elementor-widget-text-editor{font-size:15px}
 .md-all-category-icons .category-grid-item .category-image{height:86px!important;margin:6px}
 .md-all-category-icons .category-image img{width:86px;height:86px}
 .md-all-category-icons .wd-entities-title{font-size:14px}
 .md-all-category-icons .hover-mask{padding:2px 6px 8px}
 .products.wd-products.wd-grid-g{--wd-col-sm:2!important;--wd-col-xs:2!important;--wd-col:2!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;--wd-gap-sm:12px;row-gap:14px}
 .wd-product .product-element-bottom{padding:10px;gap:5px}
 .wd-product .wd-entities-title{font-size:14px}
 .wd-product .wd-product-cats{font-size:12px}
 .wd-product .price{font-size:17px}
 .wd-product .woocommerce-Price-currencySymbol{font-size:11px}
 .wd-product .wd-add-btn>.modaresi-card-action{font-size:14px;min-height:48px;gap:5px;padding:9px 4px}
 .wd-product .modaresi-card-icon{width:18px;height:18px;flex-basis:18px}
 .wd-product .product-labels>span{font-size:10px}
 .md-category-banner-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .md-category-banner>.elementor-widget-image img{min-height:190px}
 .md-category-banner-copy{padding:14px!important}
 .md-category-banner-copy h3{font-size:20px}
 .md-category-banner-copy .elementor-button{font-size:14px}
 .md-profile-row{flex-direction:row!important;gap:20px!important}
 .md-profile-photo{width:30%!important;flex-basis:30%!important}
 .md-profile-copy h2{font-size:23px!important}
 .md-footer .elementor-element-adaa271{width:100%!important}
 .md-footer .elementor-element-a8eb81f{width:35%!important}
 .md-footer .elementor-element-278a0cc{width:calc(65% - 20px)!important}
 .whb-general-header .wd-search-form{min-width:0}
}
@media(max-width:480px){
 .md-profile-row{flex-direction:column!important;align-items:flex-start;gap:18px!important}
 .md-profile-photo{width:100%!important;max-width:320px;flex:0 0 auto!important;align-self:center}
 .md-profile-photo img{display:block;width:100%;height:auto!important;max-height:none!important;object-fit:contain}
 .md-profile-copy{width:100%!important;min-width:0;flex:0 1 auto!important}
 .md-footer h2{font-size:18px!important}
 .md-footer .elementor-widget-html>div,.md-footer .elementor-widget-html .elementor-widget-container>div{gap:6px!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.wd-product .product-wrapper{transition:none}}
