/*
Theme Name: Thiện Mộc An
Theme URI: https://dogothien.com/
Author: Thiện Mộc An
Description: Giao diện showroom đồ gỗ mỹ nghệ, danh mục nhiều cấp ôm sát chữ, tích hợp WooCommerce và Elementor.
Version: 1.0.10
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: thien-moc-an
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--tma-paper:#faf6ef;--tma-cream:#f3e9d9;--tma-brown:#532714;--tma-deep:#632016;--tma-gold:#b67b2d;--tma-ink:#30231c;--tma-muted:#6c5a4c;--tma-line:#e5d8c6;--tma-red:#a42112;--tma-width:1420px;--tma-serif:Georgia,'Times New Roman',serif;--tma-sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}body.tma-theme{margin:0;background:var(--tma-paper);color:var(--tma-ink);font-family:var(--tma-sans);font-size:15px;line-height:1.55;overflow-wrap:break-word}img{max-width:100%;height:auto}a{color:var(--tma-deep);text-decoration:none}a:hover{color:#9c521b}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--tma-gold);outline-offset:3px}h1,h2,h3,h4{line-height:1.25;color:var(--tma-deep);margin:0 0 .65em}p{margin:0 0 1em}.tma-container{width:min(var(--tma-width),calc(100% - 48px));margin-inline:auto}.tma-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex:none}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{clip:auto;clip-path:none;display:block;background:#fff;padding:12px;width:auto;height:auto;z-index:100000;left:8px;top:8px}
.tma-utility{background:#4b2313;color:#fff5e8;font-size:12px}.tma-utility-inner{display:flex;align-items:center;gap:14px;min-height:32px;white-space:nowrap}.tma-utility a{color:inherit;display:inline-flex;align-items:center;gap:5px}.tma-utility .tma-icon{width:14px;height:14px}.tma-address{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;text-overflow:ellipsis}.tma-utility-right{margin-left:auto}.tma-brand-row{background:#fffaf2;border-bottom:1px solid var(--tma-line)}.tma-brand-inner{display:flex;align-items:center;gap:28px;min-height:86px;padding-block:9px}.tma-brand{display:flex;align-items:center;gap:13px;flex:1 1 340px;min-width:0;color:var(--tma-deep)}.tma-brand strong{font:700 clamp(19px,2.05vw,31px)/1.1 var(--tma-serif);display:block}.tma-brand small{display:block;font-size:12px;color:var(--tma-muted);margin-top:5px}.tma-logo,.tma-logo-fallback{width:66px;height:66px;object-fit:contain;flex:none}.tma-logo-fallback{display:grid;place-items:center;border:3px double var(--tma-gold);border-radius:50%;background:var(--tma-brown);color:#fff4d8;font:700 17px var(--tma-serif)}.tma-search{display:flex;flex:1 1 380px;min-width:140px;border:1px solid #aa8c72;border-radius:40px;overflow:hidden;background:#fffdf9;margin:0}.tma-search input{min-width:0;width:100%;padding:10px 16px;border:0;background:transparent;font-size:14px;color:var(--tma-ink)}.tma-search button{flex:none;display:grid;place-items:center;border:0;background:var(--tma-brown);color:#fff;width:53px}.tma-header-actions{display:flex;align-items:center;gap:22px;flex:none}.tma-header-actions a,.tma-mobile-toggle{display:flex;flex-direction:column;align-items:center;gap:2px;position:relative;color:var(--tma-ink);font-size:12px;white-space:nowrap}.tma-header-actions .tma-icon{width:26px;height:26px}.tma-cart-count{position:absolute;top:-5px;right:0;background:var(--tma-red);color:white;min-width:17px;height:17px;display:grid;place-items:center;border-radius:20px;font-size:10px;line-height:1}.tma-mobile-toggle{display:none;border:0;background:none;padding:0}
/* Menu: independent shrink-to-fit panels, no stretched columns. */
.tma-navigation{position:sticky;top:0;z-index:1000;background:linear-gradient(90deg,#4d2415,#632b17);box-shadow:0 1px 4px #35200e28;color:white}.admin-bar .tma-navigation{top:32px}.tma-nav-inner{display:flex;align-items:center;gap:0;position:relative}.tma-navigation ul{list-style:none;margin:0;padding:0}.tma-category-root,.tma-main-menu{display:flex;align-items:center;min-width:0}.tma-navigation li{position:relative;display:block}.tma-navigation li>a{display:flex;align-items:center;gap:6px;color:inherit;font-size:14px;line-height:1.35;padding:12px 11px;white-space:nowrap}.tma-navigation li.menu-item-has-children>a{padding-right:30px}.tma-navigation li>a:hover,.tma-navigation li>a:focus-visible,.tma-navigation li.is-open>a{background:#ffffff13;color:#fff4d4}.tma-category-trigger{background:var(--tma-gold);color:#fff}.tma-category-trigger>a{font-weight:700}.tma-sub-toggle{position:absolute;right:3px;top:0;height:100%;max-height:42px;width:27px;background:transparent;border:0;color:inherit;display:flex;justify-content:center;align-items:center;padding:0}.tma-sub-toggle .tma-icon{width:13px;height:13px}.tma-navigation .tma-category-root>li>.tma-sub-toggle .tma-icon,.tma-main-menu>li>.tma-sub-toggle .tma-icon{transform:rotate(90deg)}
.tma-navigation .sub-menu{display:none;position:absolute;left:0;top:100%;width:max-content;min-width:0;max-width:min(340px,calc(100vw - 20px));height:auto;padding:3px 0;margin:0;background:#fffdf9;color:var(--tma-ink);border:1px solid var(--tma-line);border-radius:4px;box-shadow:0 7px 19px #39241026;z-index:1002;transform:translateY(var(--tma-shift,0px));overflow:visible;align-self:start}.tma-navigation .sub-menu li{width:auto;min-width:0;display:block}.tma-navigation .sub-menu li>a{padding:5px 10px;font-size:14px;line-height:1.4;color:var(--tma-ink);white-space:normal;word-break:normal;min-height:0;max-width:100%;border-radius:0}.tma-navigation .sub-menu li.menu-item-has-children>a{padding-right:29px}.tma-navigation .sub-menu .tma-sub-toggle{width:25px;right:1px;height:100%;max-height:31px;color:#81572f}.tma-navigation .sub-menu li>a:hover,.tma-navigation .sub-menu li>a:focus-visible,.tma-navigation .sub-menu li.is-open>a{background:#f1e6d4;color:#582718}.tma-navigation .sub-menu .sub-menu{top:0;left:calc(100% - 1px);right:auto}.tma-navigation .sub-menu.tma-flip{left:auto;right:0}.tma-navigation .sub-menu .sub-menu.tma-flip{left:auto;right:calc(100% - 1px)}.tma-navigation li.is-open>.sub-menu{display:block}body:not(.tma-js) .tma-navigation li:hover>.sub-menu,body:not(.tma-js) .tma-navigation li:focus-within>.sub-menu{display:block}
/* Showroom */
.tma-hero{min-height:310px;display:grid;grid-template-columns:1fr;background:#f2e3ca;position:relative;overflow:hidden;border-bottom:1px solid #d9b984}.tma-hero.has-image{grid-template-columns:40% 60%}.tma-hero-copy{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 22px;background:radial-gradient(ellipse at 50% 45%,#fff9ec 5%,#f4e5cb 65%,#e6cfa7 100%);z-index:1}.tma-hero-copy:after{content:"";position:absolute;inset:10px;border:1px solid #ac844633;pointer-events:none}.tma-kicker{letter-spacing:2px;font-size:11px;font-weight:700;color:#82511c;margin:0 0 8px}.tma-hero h1{font:italic 700 clamp(36px,4.6vw,70px)/1.12 var(--tma-serif);color:#681b11;margin:0 0 7px}.tma-hero h2{font:700 clamp(19px,2.1vw,30px)/1.2 var(--tma-serif);margin:0;color:#5d2118}.tma-ornament{display:flex;align-items:center;gap:8px;margin:10px 0;color:#aa742f;font-size:10px}.tma-ornament:before,.tma-ornament:after{content:"";width:75px;height:1px;background:linear-gradient(90deg,transparent,#b68c4a)}.tma-ornament:after{transform:rotate(180deg)}.tma-hero p{line-height:1.55;margin:0 0 17px;font-size:16px}.tma-hero-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 23px;border-radius:30px;background:linear-gradient(180deg,#bd301b,#8d180d);color:white!important;font-weight:700;line-height:1.5;border:1px solid #93271a;box-shadow:0 3px 5px #7d321d22;white-space:normal}.tma-hero-button:hover{background:#7a1c11}.tma-hero-button .tma-icon{width:15px;height:15px}.tma-hero-picture{min-width:0;position:relative;min-height:310px;background:#4d2e1e}.tma-hero-picture img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 48%}.tma-hero-picture:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#6d3b1620,transparent 20%);pointer-events:none}.tma-benefits{background:#f3e8d7;border-bottom:1px solid #e8d9c4}.tma-benefits-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding-block:13px}.tma-benefits-grid>div{display:flex;align-items:center;justify-content:center;gap:11px;padding:2px 12px;border-right:1px solid #dfccb0}.tma-benefits-grid>div:last-child{border-right:0}.tma-benefits-grid .tma-icon{width:34px;height:34px;color:#a97222}.tma-benefits-grid strong{display:block;font:700 16px/1.2 var(--tma-serif);color:#64251a}.tma-benefits-grid small{display:block;font-size:12px;margin-top:4px;line-height:1.3}.tma-section{padding-block:20px}.tma-section-title{text-align:center;font:700 clamp(23px,2.1vw,33px)/1.2 var(--tma-serif);color:#672119;margin:0 0 20px;display:flex;align-items:center;justify-content:center;gap:18px}.tma-section-title:before,.tma-section-title:after{content:"";width:58px;height:1px;background:#b68d58}.tma-section-heading{position:relative;margin-bottom:18px;display:flex;align-items:center;justify-content:center;gap:16px}.tma-section-heading .tma-section-title{margin:0}.tma-view-all{position:absolute;right:0;top:50%;transform:translateY(-50%);border:1px solid #a5754f;border-radius:30px;padding:5px 14px;font-size:13px;background:#fffaf1}.tma-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}.tma-category-card{display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:10px;background:#fffaf3;border:1px solid #e0d2c1;overflow:hidden;box-shadow:0 2px 4px #4227100c;transition:box-shadow .18s ease}.tma-category-card:hover{box-shadow:0 5px 14px #42271020}.tma-category-image{width:100%;height:clamp(95px,8.7vw,135px);background:#efe1cd;display:grid;place-items:center;overflow:hidden}.tma-category-image img{height:100%;width:100%;object-fit:cover}.tma-category-card strong{display:block;font:700 17px/1.2 var(--tma-serif);margin:9px 5px 3px;color:var(--tma-deep)}.tma-category-card>span{font-size:12px;color:var(--tma-muted);margin:0 5px 9px;display:flex;align-items:center;gap:3px}.tma-category-card>span .tma-icon{width:11px;height:11px}.tma-image-placeholder{display:grid;place-items:center;min-height:100px;width:100%;color:#9a6b37;font:700 20px var(--tma-serif);background:#f3e7d5}.tma-service-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #dec5a0;border-radius:12px;background:linear-gradient(120deg,#f1e0c7,#fffaf0);padding:24px 30px}.tma-service-panel .tma-icon{color:#a87836}.tma-service-panel .tma-kicker{display:inline-block;margin-left:8px}.tma-service-panel h2{font:700 27px var(--tma-serif);margin:5px 0 8px}.tma-service-panel p{margin:0}.tma-service-panel a .tma-icon{color:white}
/* Standard WP and WooCommerce templates: no replacement checkout logic. */
.tma-page,.tma-article-main,.tma-wc-main{padding-block:28px 42px;min-height:45vh}.tma-page-title,.tma-article h1,.woocommerce .woocommerce-products-header__title,.woocommerce div.product .product_title{font:700 clamp(25px,2.5vw,37px)/1.25 var(--tma-serif);color:var(--tma-deep)}.tma-page-article,.tma-article,.tma-original>.tma-prose{max-width:960px;margin:0 auto;background:#fffdf9;border:1px solid var(--tma-line);border-radius:10px;padding:clamp(16px,3vw,36px)}.tma-article{max-width:1000px}.tma-original{padding-block:14px 35px}.tma-original>.tma-prose{max-width:1100px}.tma-prose{font-size:16px;line-height:1.75}.tma-prose h2{font-size:24px;margin-top:1.2em}.tma-prose h3{font-size:20px;margin-top:1em}.tma-prose a{text-decoration:underline;text-underline-offset:2px}.tma-prose img{max-width:100%;height:auto}.tma-prose figure{max-width:100%;margin-inline:auto}.tma-prose table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.tma-prose td,.tma-prose th{padding:8px;border:1px solid var(--tma-line)}.tma-prose iframe{max-width:100%}.tma-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tma-post-card{background:#fffdf9;border:1px solid var(--tma-line);border-radius:10px;overflow:hidden}.tma-post-card>div{padding:16px}.tma-post-image{display:block;aspect-ratio:16/9;background:#eaddcc;overflow:hidden}.tma-post-image img{display:block;width:100%;height:100%;object-fit:cover}.tma-post-card h2{font:700 20px/1.35 var(--tma-serif);margin:7px 0 10px}.tma-post-card p{color:var(--tma-muted);font-size:14px}.tma-post-date{color:var(--tma-muted);font-size:13px}.tma-read-more{font-weight:700;font-size:14px}.navigation.pagination,.post-navigation{margin:24px 0}.nav-links{display:flex;flex-wrap:wrap;gap:8px}.nav-links .page-numbers{padding:6px 12px;background:#fffdf9;border:1px solid var(--tma-line);border-radius:5px}.nav-links .current{background:var(--tma-brown);color:white}.tma-comments{margin-top:25px;border-top:1px solid var(--tma-line);padding-top:20px}.tma-comments input:not([type=submit]):not([type=checkbox]),.tma-comments textarea{width:100%;padding:9px;border:1px solid var(--tma-line);border-radius:5px;background:white}.tma-tags{margin-top:16px}.tma-wc-layout.has-sidebar{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px}.tma-wc-content{min-width:0}.tma-shop-sidebar .tma-widget{padding:12px;margin:0 0 14px;background:#fffdf9;border:1px solid var(--tma-line);border-radius:8px}.tma-shop-sidebar ul{padding-left:18px}.tma-theme .woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 25px}.tma-theme .woocommerce ul.products:before,.tma-theme .woocommerce ul.products:after{display:none}.tma-theme .woocommerce ul.products.columns-5{grid-template-columns:repeat(5,minmax(0,1fr))}.tma-theme .woocommerce ul.products.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tma-theme .woocommerce ul.products.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tma-theme .woocommerce ul.products li.product,.tma-theme .woocommerce-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;min-width:0;padding:10px 10px 12px;background:#fffdf9;border:1px solid var(--tma-line);border-radius:10px;box-shadow:0 2px 6px #40200008;display:flex;flex-direction:column;position:relative}.tma-theme .woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:cover;border-radius:6px;margin-bottom:10px;width:100%}.tma-theme .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;font-weight:700;line-height:1.4;color:var(--tma-deep);padding:4px 0;min-height:2.8em}.tma-theme .woocommerce ul.products li.product .price{font-size:15px;font-weight:700;color:#a12413;margin:7px 0 9px}.tma-theme .woocommerce ul.products li.product .price del{color:#796c62;font-size:12px;font-weight:400;display:inline-block;margin-right:4px}.tma-theme .woocommerce ul.products li.product .price ins{text-decoration:none}.tma-theme .woocommerce span.onsale{background:#ae2617;color:white;border-radius:24px;min-height:0;min-width:0;padding:4px 9px;font-size:12px;line-height:1.5;top:10px;right:10px;left:auto;margin:0;z-index:2}.tma-theme .woocommerce a.button,.tma-theme .woocommerce button.button,.tma-theme .woocommerce input.button,.tma-theme .woocommerce #respond input#submit,.tma-theme .woocommerce .button.alt,.tma-theme .wc-block-components-button,.tma-theme .comment-form .submit{background:#702d19;color:white;border:1px solid #702d19;border-radius:6px;font-weight:700;padding:10px 12px;line-height:1.3;text-align:center;white-space:normal}.tma-theme .woocommerce a.button:hover,.tma-theme .woocommerce button.button:hover,.tma-theme .woocommerce input.button:hover,.tma-theme .woocommerce .button.alt:hover{background:#8f3c20;color:white}.tma-theme .woocommerce ul.products li.product .button{font-size:13px;margin-top:auto;align-self:stretch}.tma-theme .woocommerce ul.products li.product .button+.button{margin-top:6px}.tma-theme .woocommerce div.product .price{color:#a12413;font-weight:700}.tma-theme .woocommerce div.product div.images img{border-radius:8px}.tma-theme .woocommerce div.product .woocommerce-tabs .panel,.tma-theme .woocommerce div.product .woocommerce-tabs .panel p,.tma-theme .woocommerce div.product .woocommerce-tabs .panel li{font-size:14px;line-height:1.7}.tma-theme .woocommerce div.product .woocommerce-tabs .panel h2{font-size:16px}.tma-theme .woocommerce div.product .woocommerce-product-details__short-description{font-size:14px;line-height:1.7}.tma-theme .woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--tma-muted)}.tma-theme .woocommerce .woocommerce-ordering select,.tma-theme .woocommerce form .form-row input.input-text,.tma-theme .woocommerce form .form-row textarea,.tma-theme .woocommerce .quantity input{border:1px solid #d8c7b2;background:#fffdf9;padding:9px;border-radius:5px;color:var(--tma-ink)}.tma-theme .woocommerce table.shop_table{background:#fffdf9;border-color:var(--tma-line)}.tma-theme .woocommerce #payment{background:#f0e5d7}.tma-theme .woocommerce .woocommerce-info,.tma-theme .woocommerce .woocommerce-message{border-top-color:var(--tma-gold);background:#f4ecdf;color:var(--tma-ink)}.tma-theme .woocommerce nav.woocommerce-pagination ul{border:0}.tma-theme .woocommerce nav.woocommerce-pagination ul li{border:1px solid var(--tma-line);margin:2px;background:#fffdf9}.tma-theme .woocommerce nav.woocommerce-pagination ul li span.current{background:var(--tma-brown);color:white}.tma-theme .wc-block-cart,.tma-theme .wc-block-checkout{font-size:15px}.tma-error{text-align:center}.tma-error form{max-width:460px;margin:20px auto}
.tma-footer{background:#482316;color:#f2e4d2;padding-top:28px}.tma-footer-grid{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:32px;padding-bottom:24px}.tma-footer h2,.tma-footer h3{color:#f9e7c3;font-family:var(--tma-serif)}.tma-footer h2{font-size:24px}.tma-footer h3{font-size:19px}.tma-footer a{color:#f5dfc4}.tma-footer a:hover{color:white}.tma-footer p,.tma-footer li{font-size:14px}.tma-footer ul{margin:0;padding:0;list-style:none}.tma-footer li{margin-bottom:5px}.tma-footer-bottom{text-align:center;font-size:12px;padding:13px 12px;border-top:1px solid #ffffff20;color:#e5d4c1}
@media(min-width:1051px) and (max-width:1300px){.tma-navigation li>a{font-size:12px;padding-inline:8px}.tma-brand-inner{gap:16px}.tma-header-actions{gap:14px}.tma-utility-inner{font-size:11px;gap:9px}.tma-utility-right{display:none}.tma-benefits-grid>div{padding-inline:7px}.tma-benefits-grid strong{font-size:14px}}
@media(max-width:1050px){.tma-container{width:calc(100% - 28px)}.tma-utility-right,.tma-address{display:none}.tma-utility-inner{justify-content:center}.tma-brand-inner{gap:12px;flex-wrap:wrap;min-height:0;padding-block:10px}.tma-brand{flex:1 1 50%}.tma-brand strong{font-size:22px}.tma-brand small{display:none}.tma-logo,.tma-logo-fallback{width:52px;height:52px}.tma-header-actions{gap:13px}.tma-mobile-toggle{display:flex}.tma-search{order:3;flex:1 1 100%}.tma-navigation{position:relative;top:auto!important}.tma-js .tma-navigation:not(.mobile-open){display:none}.tma-nav-inner{display:block;padding:6px 0}.tma-category-root,.tma-main-menu{display:block}.tma-navigation li>a{white-space:normal;padding:8px 10px}.tma-navigation .sub-menu,.tma-navigation .sub-menu .sub-menu{position:static!important;transform:none!important;width:max-content;max-width:calc(100vw - 55px);margin:2px 0 4px 12px;box-shadow:none;background:#fffdf9;border-radius:3px}.tma-navigation .sub-menu .sub-menu{max-width:calc(100vw - 80px)}.tma-navigation .sub-menu .sub-menu .sub-menu{max-width:calc(100vw - 100px)}.tma-navigation .sub-menu li>a{padding:5px 9px}.tma-navigation .sub-menu .tma-sub-toggle .tma-icon{transform:rotate(90deg)}.tma-benefits-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.tma-benefits-grid>div{border:0;justify-content:flex-start}.tma-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tma-theme .woocommerce ul.products.columns-5{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.tma-container{width:calc(100% - 24px)}.tma-utility-inner{font-size:11px;min-height:27px;gap:10px}.tma-email{display:none!important}.tma-brand{gap:8px}.tma-brand strong{font-size:19px}.tma-brand-inner{gap:9px}.tma-header-actions{gap:10px}.tma-header-actions a,.tma-mobile-toggle{font-size:10px}.tma-header-actions .tma-icon{width:22px;height:22px}.tma-logo,.tma-logo-fallback{width:45px;height:45px}.tma-hero.has-image{grid-template-columns:1fr}.tma-hero-copy{padding:22px 12px}.tma-hero h1{font-size:41px}.tma-hero h2{font-size:23px}.tma-hero p{font-size:14px;margin-bottom:12px}.tma-hero-picture{min-height:185px;aspect-ratio:16/8}.tma-benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-block:10px;gap:7px}.tma-benefits-grid>div{padding:4px;gap:6px}.tma-benefits-grid .tma-icon{width:25px;height:25px}.tma-benefits-grid strong{font-size:13px}.tma-benefits-grid small{font-size:11px}.tma-section{padding-block:15px}.tma-section-title{gap:8px;font-size:24px;margin-bottom:13px}.tma-section-title:before,.tma-section-title:after{width:23px}.tma-section-heading{flex-direction:column;gap:7px;margin-bottom:12px}.tma-view-all{position:static;transform:none;padding:3px 12px}.tma-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tma-category-image{height:110px}.tma-category-card strong{font-size:16px}.tma-theme .woocommerce ul.products,.tma-theme .woocommerce ul.products.columns-3,.tma-theme .woocommerce ul.products.columns-5{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tma-theme .woocommerce ul.products li.product{padding:7px}.tma-theme .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px}.tma-theme .woocommerce ul.products li.product .price{font-size:14px}.tma-theme .woocommerce ul.products li.product .button{font-size:12px;padding:8px 5px}.tma-service-panel{flex-direction:column;align-items:flex-start;gap:12px;padding:18px}.tma-service-panel h2{font-size:23px}.tma-post-grid{grid-template-columns:1fr;gap:12px}.tma-wc-layout.has-sidebar{grid-template-columns:1fr}.tma-page,.tma-article-main,.tma-wc-main{padding-block:18px 28px}.tma-prose{font-size:15px}.tma-footer-grid{grid-template-columns:1fr;gap:17px}.tma-footer{padding-top:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media(min-width:1051px){.tma-category-root{flex:none}.tma-main-menu{flex:1 1 auto;flex-wrap:wrap}.tma-nav-inner{align-items:stretch}.tma-main-menu>li{align-self:stretch}.tma-main-menu>li>a{height:100%}.tma-category-root>li{align-self:stretch}.tma-category-root>li>a{height:100%}}
/* 1.0.1: Vietnamese text, compact buttons and responsive spacing. */
:root{--tma-serif:Arial,'Segoe UI',Tahoma,sans-serif;--tma-sans:Arial,'Segoe UI',Tahoma,sans-serif}
.tma-theme .tma-hero h1,.tma-theme .tma-hero h2,.tma-theme .tma-section-title,.tma-theme .tma-brand strong,.tma-theme .tma-footer h2,.tma-theme .tma-footer h3,.tma-theme .tma-benefits strong{font-family:var(--tma-sans);font-style:normal;letter-spacing:normal;line-height:1.3;text-transform:none}
.tma-hero h1{font-size:clamp(32px,3.7vw,56px);line-height:1.28;padding-block:3px}.tma-hero h2{font-size:clamp(18px,1.9vw,27px)}.tma-hero-copy{min-width:0;padding:22px 16px}.tma-hero p{margin-bottom:12px}.tma-hero-button{padding:8px 15px;font-size:14px}.tma-section-title{font-size:clamp(21px,2vw,30px)}
.tma-home-intro{padding-block:16px 24px;text-align:left;max-width:1000px}.tma-home-intro h2{font-size:20px}.tma-home-intro p{margin-bottom:6px;font-size:14px;line-height:1.7}.tma-original .tma-prose{text-align:left}.tma-original .tma-prose p{text-align:left!important}
.tma-footer{padding-top:22px}.tma-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-bottom:16px}.tma-footer h2{font-size:20px}.tma-footer h3{font-size:17px}.tma-footer p{margin-bottom:8px;line-height:1.6}.tma-footer ul,.tma-footer ol{list-style:none;padding:0;margin:0}.tma-footer li{margin:0 0 4px}.tma-footer .tma-social{display:flex;flex-wrap:wrap;gap:8px 12px}.tma-footer .tma-social a{font-size:13px;text-decoration:underline;text-underline-offset:3px}.tma-notice-logo{display:inline-block}.tma-notice-logo img{width:135px;height:auto;object-fit:contain;display:block}.tma-notice-link{font-size:12px}.tma-footer-bottom{padding:9px 12px}
/* Keep the actual cart links and buy-now plugin intact. Only the visual wrappers shrink. */
.tma-theme .woocommerce ul.products li.product .tma-product-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin-top:auto;padding-top:4px;width:100%}
.tma-theme .woocommerce ul.products li.product .button,.tma-theme .woocommerce ul.products li.product .tma-product-actions a,.tma-theme .woocommerce ul.products li.product .tma-product-actions button{display:inline-flex!important;align-items:center;justify-content:center;align-self:center;width:auto!important;min-width:0!important;max-width:100%;height:auto!important;min-height:30px;padding:5px 10px!important;margin:0!important;border-radius:4px!important;font-size:13px!important;line-height:1.35!important;white-space:nowrap;font-weight:600;text-decoration:none;box-sizing:border-box;float:none!important}
.tma-theme .woocommerce ul.products li.product .tma-product-actions .add_to_cart_button,.tma-theme .woocommerce ul.products li.product .tma-product-actions .product_type_variable{background:#fffaf3!important;color:#754b28!important;border:1px solid #a68050!important}
.tma-theme .woocommerce ul.products li.product .tma-product-actions .tma-buy-now{background:#8b3024!important;color:#fff!important;border:1px solid #8b3024!important}
.tma-theme .woocommerce ul.products li.product .tma-product-actions .added_to_cart{font-size:12px!important;color:#754b28!important;background:transparent!important;border:0!important}
/* Existing WPCode contact stack to the left; assistant remains on its native right side. */
body.tma-theme .float-contact{left:12px!important;right:auto!important;bottom:max(16px,env(safe-area-inset-bottom))!important;gap:7px!important;z-index:9998!important}
body.tma-theme .float-contact a{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#fff;box-shadow:0 2px 7px #0002}body.tma-theme .float-contact img{width:25px!important;height:25px!important;object-fit:contain}
@media(min-width:701px) and (max-width:1050px){.tma-hero.has-image{grid-template-columns:44% 56%}.tma-hero h1{font-size:clamp(25px,3.9vw,39px)}.tma-hero h2{font-size:20px}.tma-hero-picture{min-height:240px}.tma-hero{min-height:240px}.tma-benefits-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.tma-benefits-grid>div{flex-direction:column;text-align:center;justify-content:flex-start;gap:5px;padding:3px}.tma-benefits-grid strong{font-size:12px}.tma-benefits-grid small{font-size:11px}.tma-benefits-grid .tma-icon{width:26px;height:26px}.tma-theme .woocommerce ul.products,.tma-theme .woocommerce ul.products.columns-5{grid-template-columns:repeat(3,minmax(0,1fr))}.tma-footer-grid{gap:16px}}
@media(max-width:700px){.tma-brand strong{font-size:17px;line-height:1.3}.tma-brand-inner{gap:8px}.tma-search input{padding:8px 12px;min-width:0;font-size:14px}.tma-search button{width:40px}.tma-hero{min-height:0}.tma-hero-copy{padding:16px 10px}.tma-hero h1{font-size:clamp(25px,7.2vw,34px)}.tma-hero h2{font-size:18px}.tma-hero p{font-size:13px;margin-bottom:8px}.tma-ornament{margin:6px 0}.tma-kicker{font-size:10px;letter-spacing:1px;margin-bottom:4px}.tma-hero-picture{min-height:0;aspect-ratio:16/8}.tma-hero-button{font-size:13px;padding:7px 12px}.tma-benefits-grid>div:last-child{grid-column:1/-1;justify-content:center}.tma-footer-grid{grid-template-columns:1fr;gap:13px;padding-bottom:12px}.tma-footer{padding-top:16px}.tma-footer h2,.tma-footer h3{margin-bottom:5px}.tma-footer p,.tma-footer li{font-size:13px}.tma-home-intro{padding-block:12px 18px}.tma-theme .woocommerce ul.products li.product .tma-product-actions{gap:4px}.tma-theme .woocommerce ul.products li.product .tma-product-actions a,.tma-theme .woocommerce ul.products li.product .tma-product-actions button{padding:5px 7px!important;font-size:12px!important;min-height:29px}.tma-theme .float-contact{left:6px!important;bottom:max(10px,env(safe-area-inset-bottom))!important}.tma-theme .float-contact a{width:30px;height:30px}.tma-theme .float-contact img{width:22px!important;height:22px!important}}
.tma-theme .woocommerce div.product form.cart .single_add_to_cart_button,.tma-theme .woocommerce div.product form.cart .wpcbn-btn{width:auto!important;min-width:0!important;padding:7px 12px!important;font-size:13px!important;white-space:nowrap;border-radius:4px!important}
.tma-theme .woocommerce div.product .woocommerce-product-details__short-description h2{font-size:16px}
/* In narrow cards, keep two compact actions on one line whenever they fit. */
@media(max-width:380px){.tma-theme .woocommerce ul.products li.product .tma-product-actions{gap:3px}.tma-theme .woocommerce ul.products li.product .tma-product-actions a,.tma-theme .woocommerce ul.products li.product .tma-product-actions button{padding:4px 5px!important;font-size:11px!important}}

/* 1.0.2 — responsive catalog and precise compact purchase controls. */
.tma-theme .woocommerce ul.products li.product .tma-product-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;min-width:0;align-content:center;margin-top:auto}
.tma-theme .woocommerce ul.products li.product .tma-product-actions>a:not(.added_to_cart),.tma-theme .woocommerce ul.products li.product .tma-product-actions>button{flex:0 0 auto;min-height:32px;height:32px!important;line-height:1!important;max-width:none;align-self:center}
.tma-theme .woocommerce ul.products li.product .tma-product-actions .added_to_cart{flex-basis:100%;text-align:center}
.tma-theme .woocommerce ul.products li.product>a.woocommerce-loop-product__link{min-width:0;display:block}
.tma-theme .woocommerce ul.products li.product .price{overflow-wrap:anywhere}
.tma-shop-filter>summary{display:none;cursor:pointer;color:var(--tma-deep);font-weight:700;list-style:none;padding:9px 12px;background:#fffdf9;border:1px solid var(--tma-line);border-radius:5px}
.tma-shop-filter>summary::after{content:'⌄';float:right}
.tma-shop-filter[open]>summary::after{content:'⌃'}
.tma-shop-sidebar select,.tma-shop-sidebar .select2-container{max-width:100%;width:100%!important}
.tma-shop-sidebar .select2-selection--single{min-height:36px;height:auto!important}.tma-shop-sidebar .select2-selection__rendered{line-height:34px!important}.tma-shop-sidebar .select2-selection__arrow{height:34px!important}
.tma-wc-content,.tma-wc-layout,.tma-shop-sidebar{min-width:0}
.tma-theme .woocommerce div.product{min-width:0;position:relative}
.tma-theme.single-product .woocommerce div.product>span.onsale{left:12px!important;right:auto!important;top:12px!important;margin:0!important;z-index:5}
.tma-theme.single-product .woocommerce-product-gallery{min-width:0;max-width:100%}
.tma-theme.single-product .woocommerce-product-gallery .flex-viewport{max-width:100%;overflow:hidden}
.tma-theme.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{max-width:100%;height:auto;object-fit:contain}
.tma-theme.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger{right:10px;top:10px;z-index:6}
.tma-theme.single-product .woocommerce div.product .summary{min-width:0;max-width:100%}
.tma-theme.single-product .woocommerce div.product .product_title{font-size:clamp(22px,2.1vw,33px);overflow-wrap:anywhere}
.tma-theme.single-product .woocommerce div.product p.price{font-size:22px;display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}
.tma-theme.single-product .woocommerce div.product p.price del{font-size:15px;color:#77675d;opacity:1;font-weight:400}.tma-theme.single-product .woocommerce div.product p.price ins{text-decoration:none;color:var(--tma-red)}
.tma-theme.single-product .product_meta>span{display:block;margin:4px 0;font-size:13px;overflow-wrap:anywhere}
.tma-theme.single-product .woocommerce div.product form.cart{margin-bottom:18px;min-width:0;max-width:100%}
.tma-theme.single-product .woocommerce div.product form.cart .quantity{float:none;margin:0!important;flex:none}
.tma-theme.single-product .woocommerce div.product form.cart .quantity input{width:46px;max-width:100%;height:36px;padding:3px}
.tma-theme.single-product .tma-single-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;max-width:100%;margin:8px 0;min-width:0}
.tma-theme.single-product .tma-single-actions .single_add_to_cart_button,.tma-theme.single-product .tma-single-actions .tma-buy-now,.tma-theme.single-product .tma-single-actions .wpcbn-btn{display:inline-flex!important;align-items:center;justify-content:center;float:none!important;margin:0!important;flex:0 0 auto;width:auto!important;min-width:0!important;max-width:none!important;height:36px!important;min-height:36px!important;padding:5px 10px!important;white-space:nowrap;border-radius:4px!important;font-size:13px!important;line-height:1!important}
.tma-theme.single-product .tma-single-actions .single_add_to_cart_button{color:#754b28!important;background:#fffaf3!important;border:1px solid #a68050!important}
.tma-theme.single-product .tma-single-actions .tma-buy-now{background:#8b3024!important;color:#fff!important;border:1px solid #8b3024!important}
.tma-theme.single-product .woocommerce div.product form.cart table.variations{width:100%;table-layout:fixed}.tma-theme.single-product .woocommerce div.product form.cart table.variations select{max-width:100%;min-width:0}
.tma-theme.single-product .woocommerce div.product .woocommerce-tabs{clear:both;min-width:0;max-width:100%}.tma-theme.single-product .woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0 0 14px}.tma-theme.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:1px solid var(--tma-line);border-radius:5px;background:#fffaf3}.tma-theme.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::before,.tma-theme.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}.tma-theme.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:7px 10px;font-size:13px}.tma-theme.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--tma-cream)}
.tma-theme.single-product .woocommerce div.product .woocommerce-product-details__short-description,.tma-theme.single-product .woocommerce div.product .woocommerce-tabs .panel{font-size:14px;overflow-wrap:anywhere}.tma-theme.single-product .woocommerce div.product .woocommerce-tabs .panel h2{font-size:16px}
.tma-theme.single-product .woocommerce div.product .woocommerce-tabs .panel iframe,.tma-theme.single-product .woocommerce div.product .woocommerce-tabs .panel video{max-width:100%}
.tma-theme.single-product .woocommerce div.product .woocommerce-tabs .panel table{max-width:100%;display:block;overflow-x:auto}
/* Keep WooCommerce content and Elementor widgets; normalize only the transactional page shell. */
body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page{padding-block:24px 36px;min-height:42vh}
body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page-body{max-width:1100px;margin-inline:auto;min-width:0}
body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page-title,body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page .elementor-widget-heading .elementor-heading-title{font:700 clamp(23px,2.5vw,32px)/1.3 var(--tma-sans)!important;color:var(--tma-deep)!important;text-align:left!important;text-transform:none!important;margin:0 0 12px!important}
body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page .elementor-section,body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page .e-con{min-height:0!important;padding-block:8px!important;margin-block:0!important;--min-height:0px;--padding-top:8px;--padding-bottom:8px;--gap:12px}
body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page .elementor-widget-wrap,body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page .elementor-widget-container{padding-block:0!important;margin-block:0!important}
body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page .elementor-widget-spacer{display:none!important}
.tma-theme.woocommerce-checkout .woocommerce-checkout #payment div.payment_box{background:#fffaf3;color:var(--tma-ink)}.tma-theme.woocommerce-checkout .woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#fffaf3}
.tma-theme.woocommerce-checkout .woocommerce-checkout #place_order{min-height:42px;padding:10px 22px}
.tma-theme.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;background:#fffdf9;border:1px solid var(--tma-line);border-radius:7px;overflow:hidden}
.tma-theme.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;border-bottom:1px solid var(--tma-line)}.tma-theme.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{border:0}.tma-theme.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:10px 13px}.tma-theme.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--tma-cream);font-weight:700}
.tma-theme.woocommerce-account .woocommerce-MyAccount-content{background:#fffdf9;border:1px solid var(--tma-line);border-radius:7px;padding:16px;min-width:0}
.tma-footer .tma-social a{display:inline-flex;align-items:center;gap:5px;text-decoration:none}.tma-footer .tma-social .tma-icon{width:17px;height:17px}.tma-footer-address strong{color:#f9e7c3}
/* Desktop headings use system serif with Vietnamese-capable fallback; mobile stays simple. */
@media(min-width:1051px){.tma-theme .tma-brand strong,.tma-theme .tma-hero h1,.tma-theme .tma-hero h2,.tma-theme .tma-section-title{font-family:'Times New Roman',Georgia,var(--tma-sans);font-variant-ligatures:none;letter-spacing:0}.tma-theme .tma-hero h1{font-style:italic}}
@media(max-width:1050px){
 .tma-wc-layout.has-sidebar{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.tma-shop-filter>summary{display:block}.tma-shop-filter .tma-shop-widgets{padding-top:10px}.tma-shop-sidebar .tma-widget{margin-bottom:8px}
 .tma-theme.single-product .woocommerce div.product div.images{max-width:520px;width:100%;float:none;margin:0 auto 16px}.tma-theme.single-product .woocommerce div.product div.summary{width:100%;float:none;margin:0 0 20px}.tma-theme.single-product .woocommerce div.product div.images img{object-fit:contain}
 .tma-theme.single-product .woocommerce div.product>span.onsale{left:10px!important;top:10px!important}
 .tma-theme .tma-footer-bottom{padding-bottom:58px}
}
@media(min-width:701px) and (max-width:1050px){.tma-theme .woocommerce ul.products,.tma-theme .woocommerce ul.products.columns-2,.tma-theme .woocommerce ul.products.columns-3,.tma-theme .woocommerce ul.products.columns-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 .tma-container{width:calc(100% - 20px)}
 .tma-brand-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 5px;padding-block:6px}.tma-brand{gap:5px;min-width:0}.tma-brand>span{min-width:0}.tma-theme .tma-brand strong{white-space:nowrap;font-size:clamp(11px,3.7vw,16px);line-height:1.2;letter-spacing:-.15px}.tma-logo,.tma-logo-fallback{width:34px;height:34px}.tma-header-actions{gap:6px}.tma-header-actions .tma-icon{width:17px;height:17px}.tma-header-actions a,.tma-mobile-toggle{font-size:9px;gap:2px;min-width:30px;min-height:34px;justify-content:center}.tma-cart-count{min-width:13px;height:13px;font-size:9px;top:0;right:0}.tma-search{grid-column:1/-1;width:100%;min-width:0}.tma-search input{font-size:13px}
 .tma-theme .woocommerce ul.products,.tma-theme .woocommerce ul.products.columns-2,.tma-theme .woocommerce ul.products.columns-3,.tma-theme .woocommerce ul.products.columns-5{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .tma-theme .woocommerce ul.products li.product{padding:6px;min-width:0}.tma-theme .woocommerce ul.products li.product .tma-product-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:center;align-items:center}
 .tma-theme .woocommerce ul.products li.product .tma-product-actions>a:not(.added_to_cart),.tma-theme .woocommerce ul.products li.product .tma-product-actions>button{padding:4px 5px!important;font-size:11px!important;height:30px!important;min-height:30px!important;flex:0 0 auto;white-space:nowrap}
 .tma-theme .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px;min-height:2.8em}
 .tma-theme .woocommerce .woocommerce-result-count,.tma-theme .woocommerce .woocommerce-ordering{float:none;margin:0 0 8px;max-width:100%}.tma-theme .woocommerce .woocommerce-ordering select{width:100%;max-width:100%}
 .tma-theme.single-product .woocommerce div.product div.images{max-width:100%;width:100%;margin-bottom:12px}.tma-theme.single-product .woocommerce div.product .product_title{font-size:22px}.tma-theme.single-product .woocommerce div.product .woocommerce-breadcrumb,.tma-theme.single-product .woocommerce .woocommerce-breadcrumb{font-size:11px;line-height:1.5;overflow-wrap:anywhere;margin-bottom:10px}
 .tma-theme.single-product .tma-single-actions{gap:6px}.tma-theme.single-product .tma-single-actions .single_add_to_cart_button,.tma-theme.single-product .tma-single-actions .tma-buy-now,.tma-theme.single-product .tma-single-actions .wpcbn-btn{font-size:12px!important;padding:5px 8px!important;height:36px!important;min-height:36px!important}
 .tma-theme.single-product .woocommerce div.product .woocommerce-tabs .panel{min-width:0;padding-inline:0}.tma-theme.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a{font-size:12px;padding:5px 7px}
 body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page{padding-block:12px 22px}body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page .elementor-section,body.tma-theme:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .tma-page .e-con{padding-inline:0!important;--padding-left:0px;--padding-right:0px}
 .tma-theme.woocommerce-account .woocommerce-MyAccount-navigation,.tma-theme.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%;margin:0 0 12px}.tma-theme.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px}.tma-theme.woocommerce-account .woocommerce-MyAccount-navigation li a{padding:8px;font-size:13px}
 .tma-theme.woocommerce-checkout .woocommerce-info{padding:10px 12px 10px 36px;font-size:13px}.tma-theme.woocommerce-checkout .woocommerce-info::before{left:12px;top:10px}.tma-theme.woocommerce-checkout .woocommerce form .form-row input.input-text,.tma-theme.woocommerce-checkout .woocommerce form .form-row textarea{width:100%;max-width:100%;font-size:16px}
 .tma-page-article,.tma-article{padding:12px;min-width:0}.tma-page-title,.tma-article h1{font-size:22px;overflow-wrap:anywhere}.tma-prose{min-width:0;overflow-wrap:anywhere}
 .tma-theme .tma-hero-copy{padding:13px 9px}.tma-theme .tma-hero h1{font-size:25px}.tma-theme .tma-hero h2{font-size:17px}
 /* Contact shortcuts occupy a single small row rather than covering three lines of content. */
 body.tma-theme .float-contact{flex-direction:row!important;gap:4px!important;bottom:max(9px,env(safe-area-inset-bottom))!important;left:6px!important}.tma-theme .float-contact a{width:29px;height:29px}.tma-theme .float-contact img{width:21px!important;height:21px!important}
 .tma-theme .tma-footer-bottom{padding-bottom:55px}
}
/* 320px viewport: two buttons still stay side by side with shrink-to-text backgrounds. */
@media(max-width:360px){.tma-theme .woocommerce ul.products li.product .tma-product-actions{gap:4px}.tma-theme .woocommerce ul.products li.product .tma-product-actions>a:not(.added_to_cart),.tma-theme .woocommerce ul.products li.product .tma-product-actions>button{font-size:10px!important;padding:4px!important}.tma-brand-inner{gap:5px 3px}.tma-header-actions{gap:4px}.tma-logo,.tma-logo-fallback{width:30px;height:30px}}
/* The two primary catalog controls share one baseline at every mobile width. */
@media(max-width:1050px){.tma-shop-extras{grid-column:1/-1;min-width:0}.tma-shop-extras .tma-widget{padding:12px;background:#fffdf9;border:1px solid var(--tma-line);border-radius:8px}.tma-shop-extras .product_list_widget{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;padding:0}.tma-shop-extras .product_list_widget li{min-width:0;overflow-wrap:anywhere}}
@media(max-width:700px){.tma-theme .woocommerce ul.products li.product .tma-product-actions{display:grid;grid-template-columns:repeat(2,max-content);justify-content:center;justify-items:center;align-items:center;gap:5px}.tma-theme .woocommerce ul.products li.product .tma-product-actions>.added_to_cart{grid-column:1/-1}.tma-theme .woocommerce ul.products li.product .tma-product-actions>:only-child{grid-column:1/-1}.tma-theme .woocommerce ul.products li.product .tma-product-actions>a:not(.added_to_cart),.tma-theme .woocommerce ul.products li.product .tma-product-actions>button{min-width:0!important}.tma-theme .woocommerce ul.products li.product .tma-product-actions .tma-buy-now{margin:0!important}.tma-theme.single-product .woocommerce div.product form.cart .single_add_to_cart_button{margin-right:7px}.tma-theme.single-product .woocommerce div.product form.cart .tma-single-actions .single_add_to_cart_button{margin:0!important}.tma-theme.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:5px 0 0}.tma-theme.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li{width:100%!important;float:none!important;min-width:0}.tma-theme .tma-page-article .tma-prose>div,.tma-theme .tma-article .tma-prose>div{max-width:100%;min-width:0}}
@media(max-width:360px){.tma-theme .woocommerce ul.products li.product .tma-product-actions{gap:4px}.tma-theme .tma-brand strong{font-size:11.5px}}
@media(max-width:700px){.tma-theme .tmaws{font-size:14px;margin-bottom:16px}.tma-theme .tmaws-hero{padding:14px}.tma-theme .tmaws-hero h2{font-size:22px}.tma-theme .tmaws h2{font-size:20px}.tma-theme .tmaws-cards{grid-template-columns:1fr;gap:8px}.tma-theme .tmaws-cards article,.tma-theme .tmaws-panel{padding:12px}.tma-theme .tmaws-form label{font-size:13px}.tma-theme .tmaws .tmaws-btn{width:auto;max-width:100%;padding:9px 12px;font-size:14px}.tma-theme .tmaws-form input[type=file]{min-width:0;max-width:100%}}

/* 1.0.4: compact account heading; scoped to account page, not the header label. */
body.tma-theme.woocommerce-account .tma-page .tma-page-title,body.tma-theme.woocommerce-account .tma-page .elementor-widget-heading .elementor-heading-title{font-size:24px!important;line-height:1.3!important}
@media(max-width:1050px){body.tma-theme.woocommerce-account .tma-page .tma-page-title,body.tma-theme.woocommerce-account .tma-page .elementor-widget-heading .elementor-heading-title{font-size:21px!important}}
@media(max-width:700px){body.tma-theme.woocommerce-account .tma-page .tma-page-title,body.tma-theme.woocommerce-account .tma-page .elementor-widget-heading .elementor-heading-title{font-size:18px!important}}
.tma-footer-grid:has(>[data-tma-part="extra"]){grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
@media(max-width:700px){.tma-footer-grid:has(>[data-tma-part="extra"]){grid-template-columns:1fr}}

/* 1.0.7: compact service tile when no real service photo exists. */
.tma-service-placeholder{display:grid;place-items:center;width:100%;height:100%;min-height:0;background:linear-gradient(145deg,#f5e8d4,#e5ccaa);color:#875b31}.tma-service-placeholder .tma-icon{width:48px;height:48px;max-width:45%;max-height:65%}.tma-category-card.tma-service-card{border-color:#c8a77a}.tma-category-card.tma-service-card>span{color:#792b1b}
/* 1.0.8 – About and selected informational pages only. Original Elementor data stays intact. */
.tma-static-page{max-width:1080px;margin:0 auto;min-width:0;display:grid;gap:22px;overflow-wrap:anywhere}
.tma-static-heading,.tma-about-hero{padding:clamp(20px,4vw,46px) clamp(14px,4vw,44px);border:1px solid var(--tma-line);border-radius:10px;background:linear-gradient(120deg,#f4ead8,#efe0c5);text-align:center}
.tma-static-heading{padding-block:22px}.tma-static-page .tma-page-title{margin:0;color:var(--tma-deep);font-size:clamp(23px,3vw,36px);line-height:1.25}
.tma-about-kicker{font-size:12px;font-weight:700;letter-spacing:.11em;color:#805622;margin:0 0 10px}.tma-about-subtitle{color:var(--tma-muted);font-size:16px;margin:12px 0 0}
.tma-about-story,.tma-about-values,.tma-static-original{border:1px solid var(--tma-line);border-radius:10px;background:#fffdf9;padding:clamp(16px,3vw,30px);min-width:0}
.tma-about-story{display:grid;gap:24px;align-items:center}.tma-about-story.has-image{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.tma-about-image{min-width:0;overflow:hidden;border-radius:7px}.tma-about-image img{display:block;width:100%;height:auto;max-height:330px;object-fit:cover;aspect-ratio:4/3}.tma-about-copy h2,.tma-about-values h2,.tma-about-contact h2{font-size:clamp(19px,2.2vw,25px);margin:0 0 12px}.tma-about-copy p{line-height:1.75;margin:0;font-size:15px}
.tma-about-values{text-align:center}.tma-about-values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tma-about-values-grid>div{min-width:0;padding:16px 8px;background:var(--tma-paper);border:1px solid var(--tma-line);border-radius:7px}.tma-about-values-grid .tma-icon{width:32px;height:32px;color:var(--tma-gold);margin-bottom:9px}.tma-about-values-grid h3{font-size:16px;margin:0;color:var(--tma-deep)}
.tma-about-contact{padding:25px 16px;background:var(--tma-brown);color:#fff7e7;border-radius:9px;text-align:center}.tma-about-contact h2{color:#fff7e7}.tma-about-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.tma-about-button{display:inline-flex;align-items:center;gap:5px;background:#f8e9cb;color:var(--tma-deep);border:1px solid #f8e9cb;border-radius:5px;padding:9px 15px;font-weight:700;font-size:14px}.tma-about-button:hover{background:#fff;color:var(--tma-deep)}.tma-about-phone{background:transparent;color:#fff7e7}
.tma-static-original{font-size:15px;line-height:1.75;max-width:100%}.tma-static-original h2{font-size:clamp(19px,2vw,24px)}.tma-static-original h3{font-size:clamp(17px,1.8vw,20px)}.tma-static-original img,.tma-static-original iframe,.tma-static-original video{max-width:100%}.tma-static-original .elementor{max-width:100%;min-width:0}
/* Only top-level legacy containers: remove full-screen hero height and excessive vertical padding, retain all widgets. */
.tma-static-elementor .elementor>.elementor-section,.tma-static-elementor .elementor>.e-con,.tma-static-elementor .elementor>.elementor-section-wrap>.elementor-section{height:auto!important;min-height:0!important;max-width:100%;padding-block:10px!important;margin-block:0!important;--min-height:0px!important;--padding-top:10px!important;--padding-bottom:10px!important;--margin-top:0px!important;--margin-bottom:0px!important}
.tma-static-elementor .elementor>.elementor-section>.elementor-container,.tma-static-elementor .elementor>.elementor-section-wrap>.elementor-section>.elementor-container,.tma-static-elementor .elementor>.e-con>.e-con-inner{min-height:0!important;height:auto!important;max-width:100%;align-items:stretch}
.tma-static-elementor .elementor-column,.tma-static-elementor .e-con,.tma-static-elementor .elementor-widget{min-width:0}.tma-static-elementor .elementor-widget-heading .elementor-heading-title{color:var(--tma-deep)!important;line-height:1.35;font-size:clamp(17px,2vw,24px)!important;overflow-wrap:anywhere}.tma-static-elementor .elementor-widget-text-editor{color:var(--tma-ink);line-height:1.75}.tma-static-elementor .elementor-widget-spacer{--spacer-size:12px!important}.tma-static-elementor .elementor-spacer-inner{height:12px!important}.tma-static-elementor .elementor-widget-heading.tma-static-duplicate{display:none!important}
@media(max-width:700px){.tma-static-page{gap:12px}.tma-static-heading,.tma-about-hero{padding:20px 12px}.tma-static-page .tma-page-title{font-size:22px}.tma-about-kicker{font-size:10px;letter-spacing:.06em}.tma-about-subtitle{font-size:13px}.tma-about-story,.tma-about-values,.tma-static-original{padding:13px}.tma-about-story.has-image{grid-template-columns:minmax(0,1fr);gap:12px}.tma-about-image img{max-height:230px}.tma-about-copy p,.tma-static-original{font-size:14px}.tma-about-values-grid{gap:6px}.tma-about-values-grid>div{padding:10px 5px}.tma-about-values-grid h3{font-size:12px}.tma-about-values-grid .tma-icon{width:24px;height:24px}.tma-about-contact{padding:20px 10px}.tma-about-button{font-size:13px;padding:8px 10px}.tma-static-elementor .elementor>.elementor-section,.tma-static-elementor .elementor>.e-con,.tma-static-elementor .elementor>.elementor-section-wrap>.elementor-section{padding-block:5px!important;--padding-top:5px!important;--padding-bottom:5px!important}}

/* 1.0.9: Classic checkout product thumbnails. No cart or payment logic changes. */
body.tma-theme.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name {
    vertical-align: middle;
    overflow-wrap: anywhere;
    line-height: 1.5;
}
body.tma-theme.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name img.tma-checkout-product-image {
    float: left;
    display: block;
    width: 76px;
    height: 76px;
    max-width: 43%;
    object-fit: contain;
    object-position: center;
    margin: 0 10px 3px 0;
    padding: 0;
    border: 1px solid var(--tma-line, #e5d8c6);
    border-radius: 6px;
    box-sizing: border-box;
    background: #fffdf9;
}
body.tma-theme.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total {
    vertical-align: middle;
}
@media (min-width:701px) and (max-width:1050px) {
    body.tma-theme.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name img.tma-checkout-product-image {
        width: 66px; height: 66px; margin-right: 8px;
    }
}
@media (max-width:700px) {
    body.tma-theme.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name img.tma-checkout-product-image {
        width: 52px; height: 52px; margin-right: 7px;
    }
    body.tma-theme.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name {
        font-size: 13px;
    }
    body.tma-theme.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total {
        font-size: 13px;
        white-space: normal;
    }
}

/* 1.0.10: compact legacy About content, including nested Elementor layouts.
   Keep this scoped to the About template; no other Elementor page is changed. */
body.tma-theme .tma-static-about {width:100%;max-width:1080px;min-width:0;margin-inline:auto;gap:18px}
body.tma-theme .tma-static-about .tma-static-original {padding:clamp(16px,3vw,32px);text-align:left;min-width:0;overflow-wrap:break-word}
body.tma-theme .tma-static-about .tma-static-elementor :is(.elementor-section,.elementor-container,.elementor-column,.elementor-widget-wrap,.e-con,.e-con-inner) {
    min-height:0!important;height:auto!important;max-width:100%;min-width:0;
    padding-block:0!important;margin-block:0!important;
    --min-height:0px!important;--padding-top:0px!important;--padding-bottom:0px!important;
    --margin-top:0px!important;--margin-bottom:0px!important;
    --justify-content:flex-start!important;--align-content:flex-start!important;
}
body.tma-theme .tma-static-about .tma-static-elementor :is(.elementor-container,.elementor-widget-wrap,.e-con,.e-con-inner) {align-content:flex-start!important;justify-content:flex-start!important}
body.tma-theme .tma-static-about .tma-static-elementor .elementor-widget-container {min-height:0!important;height:auto!important;padding-block:0!important;margin-block:0!important}
body.tma-theme .tma-static-about .tma-static-elementor :is(.elementor-widget-heading,.elementor-widget-text-editor) {margin-block:0 12px!important;padding-block:0!important;--margin-top:0px!important;--margin-bottom:12px!important}
body.tma-theme .tma-static-about .tma-static-elementor :is(.elementor-widget-spacer,.elementor-widget-divider) {display:none!important}
body.tma-theme .tma-static-about .tma-static-elementor .elementor-section.elementor-section-height-full>.elementor-container {height:auto!important;min-height:0!important}
body.tma-theme .tma-static-about .tma-static-elementor .elementor-widget-text-editor,
body.tma-theme .tma-static-about .tma-static-elementor .elementor-widget-text-editor :is(p,div,li) {text-align:left!important;font-family:var(--tma-sans)!important;font-size:15px!important;line-height:1.8!important}
body.tma-theme .tma-static-about .tma-static-original p {margin:0 0 14px;text-align:left!important;line-height:1.8}
body.tma-theme .tma-static-about .tma-static-original :is(h1,h2,h3,.elementor-heading-title,.tma-about-legacy-subheading) {font-family:var(--tma-sans)!important;color:var(--tma-deep)!important;line-height:1.4!important;text-align:left!important;text-transform:none!important;overflow-wrap:break-word}
body.tma-theme .tma-static-about .tma-static-original :is(h2,.tma-about-legacy-subheading) {font-size:clamp(18px,2vw,23px)!important;font-weight:700!important;margin:18px 0 8px!important;display:block}
body.tma-theme .tma-static-about .tma-static-original .elementor-widget-text-editor :is(h2,h3) {margin-block:18px 8px!important}
body.tma-theme .tma-static-about .tma-static-original .elementor-widget-text-editor {max-width:100%}
body.tma-theme .tma-static-about .tma-static-original .tma-about-legacy-subheading:first-child {margin-top:4px!important}
@media(max-width:1050px){body.tma-theme .tma-static-about{gap:14px}body.tma-theme .tma-static-about .tma-static-original{padding:20px 16px}}
@media(max-width:700px){body.tma-theme .tma-static-about{gap:12px}body.tma-theme .tma-static-about .tma-static-original{padding:14px 12px}body.tma-theme .tma-static-about .tma-static-elementor :is(.elementor-column,.elementor-widget-wrap,.e-con,.e-con-inner){padding-inline:0!important;--padding-left:0px!important;--padding-right:0px!important}body.tma-theme .tma-static-about .tma-static-elementor .elementor-widget-text-editor,body.tma-theme .tma-static-about .tma-static-elementor .elementor-widget-text-editor :is(p,div,li){font-size:14px!important;line-height:1.75!important}body.tma-theme .tma-static-about .tma-static-original :is(h2,.tma-about-legacy-subheading){font-size:18px!important}}
