/* TTBOL editorial presentation. Scoped to prose, post cards and comments. */
.ttbol-prose{--tt-ink:#27363d;--tt-gold:#b28a34;--tt-line:#eae5db;color:#434a4d;font-size:15px;line-height:2.15;overflow-wrap:anywhere;text-align:start}
.ttbol-prose :where(p){margin-block:0 1.25em;line-height:2.15}
.ttbol-prose :where(h2,h3,h4,h5,h6):not(.wd-entities-title){color:var(--tt-ink);line-height:1.75;font-weight:750;scroll-margin-top:110px;text-wrap:pretty}
.ttbol-prose h2{font-size:clamp(20px,2vw,25px);margin-block:2em .9em;padding:8px 16px;border-inline-start:3px solid #c7a24c;background:linear-gradient(to left,#f8f5ed,transparent 85%);border-radius:3px 0 0 3px}
.ttbol-prose h3:not(.wd-entities-title){font-size:clamp(18px,1.7vw,21px);margin-block:1.7em .7em;padding-bottom:9px;border-bottom:1px solid var(--tt-line)}
.ttbol-prose h4{font-size:17px;margin-block:1.4em .6em}
.ttbol-prose :where(ul,ol):not(.products,.tabs,.wd-nav){padding-inline-start:1.7em;margin-block:1em 1.6em}
.ttbol-prose :where(li){padding-inline-start:5px;margin-block:.5em}
.ttbol-prose :where(li)::marker{color:#9c772b;font-weight:700}
.ttbol-prose :where(li>ul,li>ol){margin-block:.4em .7em}
.ttbol-prose :where(p,li,td) a:not(.button,.btn){color:#8b6820;text-decoration:underline;text-decoration-color:#d7c69d;text-underline-offset:4px;text-decoration-thickness:1px;transition:color .15s}
.ttbol-prose :where(p,li,td) a:not(.button,.btn):hover{color:#5e4617;text-decoration-color:currentColor}
.ttbol-prose blockquote{margin:28px 0;padding:22px 26px;background:#f8f6f0;border:0;border-inline-start:3px solid #c5a14b;border-radius:12px;font-size:inherit;font-style:normal;color:#475257}
.ttbol-prose blockquote:before,.ttbol-prose blockquote:after{display:none}
.ttbol-prose blockquote p:last-child{margin-bottom:0}
.ttbol-prose :where(hr){border:0;height:1px;background:var(--tt-line);margin-block:32px}
.ttbol-prose :where(figure){max-width:100%;margin-inline:0}
.ttbol-prose :where(figcaption,.wp-caption-text){font-size:12px;color:#72787a;line-height:1.9;text-align:center;margin-top:10px}
.ttbol-prose :where(img){max-width:100%;height:auto}
.ttbol-prose :where(pre){overflow-x:auto;direction:ltr;text-align:left;background:#f5f5f2;border-radius:10px;padding:18px}
.ttbol-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid #e8e2d6;border-radius:12px;margin-block:24px;background:#fff;scrollbar-width:thin;scrollbar-color:#cbbb96 #f5f2eb}
.ttbol-table-scroll:focus-visible{outline:2px solid #b28a34;outline-offset:3px}
.ttbol-prose .ttbol-table-scroll table{width:100%!important;min-width:500px;max-width:none;border:0;border-collapse:separate;border-spacing:0;margin:0!important;font-size:14px;line-height:1.95}
.ttbol-prose .ttbol-table-scroll :where(th,td){padding:14px 17px;border:0;border-bottom:1px solid #ede9e1;vertical-align:top;text-align:start;min-width:110px}
.ttbol-prose .ttbol-table-scroll th{background:#f3efe5;color:#354047;font-weight:700}
.ttbol-prose .ttbol-table-scroll tbody tr:nth-child(even) td{background:#fbfaf7}
.ttbol-prose .ttbol-table-scroll tbody tr:hover td{background:#f6f3ec}
.ttbol-prose .ttbol-table-scroll tr:last-child :where(th,td){border-bottom:0}
.single-post .post-single-page{max-width:1120px;margin-inline:auto}
.single-post .wd-single-post-header{margin-bottom:36px}
.single-post .wd-single-post-header h1{font-size:clamp(23px,2.4vw,33px);line-height:1.85;color:#29363c;text-wrap:pretty;max-width:1000px;margin-inline:auto}
.single-post .wd-single-post-header .wd-post-meta{font-size:12px;color:#798083;gap:10px}
.single-post .wd-single-post-header .wd-post-image{border-radius:16px;overflow:hidden;margin-top:24px}
.single-post .post-single-page>.ttbol-prose{max-width:940px;margin-inline:auto}
:is(.blog,.category,.tag,.date,.author) .blog-post-loop .wd-post-inner{height:100%;background:#fff;border:1px solid #ece8df;border-radius:16px;overflow:hidden;box-shadow:0 5px 20px #26323a06;transition:box-shadow .18s,transform .18s}
:is(.blog,.category,.tag,.date,.author) .blog-post-loop .wd-post-inner:hover{transform:translateY(-3px);box-shadow:0 12px 28px #26323a10}
:is(.blog,.category,.tag,.date,.author) .blog-post-loop .wd-post-thumb{margin:0;overflow:hidden}
:is(.blog,.category,.tag,.date,.author) .blog-post-loop .wd-post-img img{width:100%;aspect-ratio:12/7;object-fit:cover}
:is(.blog,.category,.tag,.date,.author) .blog-post-loop .wd-post-content{padding:22px 24px 24px;text-align:start}
:is(.blog,.category,.tag,.date,.author) .blog-post-loop .wd-post-title{font-size:18px;line-height:1.9;margin-block:10px 12px}
:is(.blog,.category,.tag,.date,.author) .blog-post-loop .wd-post-meta{font-size:11px;color:#7a8082}
:is(.blog,.category,.tag,.date,.author) .blog-post-loop .wd-post-excerpt{font-size:14px;line-height:2;color:#62696c}
:is(.blog,.category,.tag,.date,.author) .blog-post-loop .wd-post-read-more{margin-top:18px}
:is(.blog,.category,.tag,.date,.author) .blog-post-loop .wd-post-read-more a{display:inline-flex;align-items:center;padding:6px 14px;border:1px solid #e8dec8;border-radius:7px;background:#fcfaf5;color:#917027;font-size:12px}
.single-post #comments{max-width:940px;margin:56px auto 30px;padding-top:28px;border-top:1px solid #e9e4d9}
.single-post :is(.comments-title,.comment-reply-title){font-size:21px;line-height:1.8;color:#29383f;margin-bottom:22px}
.single-post .comment-list,.single-post .comment-list .children{list-style:none;padding:0;margin:0}
.single-post .comment-list>li{margin-bottom:18px}
.single-post .comment-list .comment-body{position:relative;border:1px solid #e9e5dc;background:#fff;border-radius:14px;padding:22px 24px;margin-bottom:14px;box-shadow:0 3px 12px #27363d04}
.single-post .comment-list .comment-body p{font-size:14px;line-height:2.1;color:#4d585e;margin-block:12px}
.single-post .comment-list .comment-author{font-size:13px;color:#2c3b42;line-height:1.9}
.single-post .comment-list .comment-author .fn{font-weight:700}
.single-post .comment-list .comment-author .avatar{border-radius:50%;width:40px;height:40px}
.single-post .comment-list .comment-meta{font-size:11px;color:#858b8e;line-height:1.9}
.single-post .comment-list .comment-meta a{color:inherit}
.single-post .comment-list .children{margin-inline-start:26px;padding-inline-start:18px;border-inline-start:2px solid #e6d8b7}
.single-post .comment-list .children .comment-body{background:#faf9f5}
.single-post .comment-list .comment-reply-link{display:inline-block;border:1px solid #e5dcc7;border-radius:6px;padding:4px 13px;background:#fff;color:#92702c;font-size:12px;line-height:1.9}
.single-post #respond{background:#faf9f6;border:1px solid #e9e4d8;border-radius:16px;padding:28px;margin-top:32px}
.single-post #respond .comment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin:0}
.single-post #respond .comment-form>p{margin:0;float:none;width:auto;min-width:0}
.single-post #respond :is(.comment-notes,.logged-in-as,.comment-form-comment,.comment-form-url,.comment-form-cookies-consent,.form-submit){grid-column:1/-1}
.single-post #respond :is(.comment-notes,.logged-in-as){font-size:12px;color:#747c80;line-height:2}
.single-post #respond label{display:block;margin-bottom:8px;font-size:13px;font-weight:600;color:#47545b}
.single-post #respond :is(input[type=text],input[type=email],input[type=url],textarea){width:100%;border:1px solid #dedfdc;background:white;border-radius:9px;padding:12px 14px;font:inherit;font-size:14px;color:#35434a;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.single-post #respond :is(input[type=text],input[type=email],input[type=url]){height:47px}
.single-post #respond textarea{min-height:145px;resize:vertical;line-height:2}
.single-post #respond :is(input,textarea):focus{border-color:#b99543;outline:none;box-shadow:0 0 0 3px #c9a8551c}
.single-post #respond input[type=email],.single-post #respond input[type=url]{direction:ltr;text-align:start}
.single-post #respond .comment-form-cookies-consent label{display:inline;font-size:12px;font-weight:400}
.single-post #respond .submit{background:#b18a35;color:white;border:1px solid #b18a35;border-radius:8px;min-height:46px;padding:10px 28px;font-weight:600;box-shadow:none;transition:background .15s}
.single-post #respond .submit:hover{background:#967329;border-color:#967329}
.single-post #cancel-comment-reply-link{font-size:12px;color:#8c6b27;margin-inline-start:12px}
@media(max-width:767px){
 .ttbol-prose{font-size:14px;line-height:2.1}.ttbol-prose h2{padding:7px 12px;margin-top:30px}.ttbol-prose blockquote{padding:18px}
 .ttbol-prose .ttbol-table-scroll :where(th,td){padding:11px 13px;font-size:13px}
 .single-post .wd-single-post-header{margin-bottom:24px}.single-post .wd-single-post-header .wd-post-image{border-radius:11px}
 :is(.blog,.category,.tag,.date,.author) .blog-post-loop .wd-post-content{padding:18px}.single-post #comments{margin-top:36px}
 .single-post .comment-list .comment-body{padding:17px}.single-post .comment-list .comment-meta{float:none;display:block;margin-top:6px}
 .single-post .comment-list .children{margin-inline-start:10px;padding-inline-start:10px}.single-post #respond{padding:20px 16px}
 .single-post #respond .comment-form{grid-template-columns:1fr;gap:16px}.single-post #respond .comment-form>p{grid-column:1}
 .single-post #respond .submit{width:100%}
}
@media(prefers-reduced-motion:reduce){.ttbol-prose *,.blog-post-loop .wd-post-inner,.single-post #respond *{transition:none!important}}
/* Archive presentation; stored excerpts and descriptions are preserved. */
body.category .blog-post-loop .wd-post-excerpt{display:none}
body.category .archive-meta.ttbol-archive-bottom{margin:36px 0 12px;padding:24px;border:1px solid #eae5d9;border-radius:12px;background:#fcfbf8;text-align:start}
/* Small shop refinements using existing elements and counts. */
:is(.tax-product_cat,.woocommerce-shop) .widget_layered_nav .woocommerce-widget-layered-nav-list>li{border-radius:5px;padding-block:0;margin-block:0 3px!important;transition:background-color .12s}
:is(.tax-product_cat,.woocommerce-shop) .widget_layered_nav .woocommerce-widget-layered-nav-list>li:hover{background:#f7f4ed}
:is(.tax-product_cat,.woocommerce-shop) .widget_layered_nav .woocommerce-widget-layered-nav-list>li>a{line-height:1.8;overflow-wrap:anywhere}
:is(.tax-product_cat,.woocommerce-shop) .widget_layered_nav .count{font-size:11px;color:#858a88;font-variant-numeric:tabular-nums}
:is(.tax-product_cat,.woocommerce-shop) .widget_layered_nav .chosen>a{color:#96712a;font-weight:600}
:is(.tax-product_cat,.woocommerce-shop) .sidebar-widget ul{scrollbar-width:thin;scrollbar-color:#d5c9ad transparent;overscroll-behavior:contain}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-sort-item{border-radius:8px;transition:background-color .12s,color .12s;cursor:pointer}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-sort-item:hover{background:transparent!important;color:#876323!important}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-sort-item:hover .ttbol-sort-circle{background:transparent!important;border-color:#c8ad70!important}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-sort-item:hover .ttbol-sort-circle svg{stroke:#947025!important}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-sort-item:focus-visible{outline:2px solid #b18a35;outline-offset:3px}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-sort-item,:is(.tax-product_cat,.woocommerce-shop) .ttbol-sort-item.active,:is(.tax-product_cat,.woocommerce-shop) .ttbol-sort-circle{background:transparent!important}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-sort-item.active{color:#856322}
/* Pagination retains all existing links and URL parameters. */
nav.woocommerce-pagination ul.page-numbers,.wd-pagination>ul,.blog-pagination ul.page-numbers,ul.page-numbers:not(.ttbol-prose ul){display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:0;list-style:none}
:is(.woocommerce-pagination,.wd-pagination,.blog-pagination,.pagination) ul.page-numbers>li{margin:0;padding:0}
:is(.woocommerce-pagination,.wd-pagination,.blog-pagination,.pagination) :is(a,span).page-numbers,ul.page-numbers>li>:is(a,span).page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:7px 11px;border:1px solid #e7e0d1;border-radius:8px;background:#fff;color:#546066;font-size:14px;line-height:1.5;transition:background-color .12s,border-color .12s,color .12s}
:is(.woocommerce-pagination,.wd-pagination,.blog-pagination,.pagination) .page-numbers.current,ul.page-numbers>li>.page-numbers.current{background:#b08a37;border-color:#b08a37;color:#fff;font-weight:700}
:is(.woocommerce-pagination,.wd-pagination,.blog-pagination,.pagination) a.page-numbers:hover,ul.page-numbers>li>a.page-numbers:hover{background:#f6f0e3;border-color:#c9ad6b;color:#856322}
ul.page-numbers>li>.page-numbers.dots{border-color:transparent;background:transparent;min-width:24px;padding-inline:3px}
ul.page-numbers a:focus-visible{outline:2px solid #b08a37;outline-offset:3px}
body .wd-pagination ul li>:is(a,span).page-numbers{border-radius:8px!important;min-width:42px!important;min-height:42px!important}
@media(max-width:767px){body.category .archive-meta.ttbol-archive-bottom{padding:18px;margin-top:26px}ul.page-numbers,.wd-pagination>ul{gap:5px!important}ul.page-numbers>li>:is(a,span).page-numbers,.wd-pagination :is(a,span).page-numbers{min-width:44px;min-height:44px;padding:7px 10px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.widget_layered_nav li,.ttbol-sort-item,ul.page-numbers a{transition:none!important}}
@media(max-width:767px){body .wd-pagination ul li>:is(a,span).page-numbers{min-width:44px!important;min-height:44px!important}}
.wd-pagination .ttbol-page-arrow:before,.wd-pagination .ttbol-page-arrow:after{display:none!important;content:none!important}
.wd-pagination .ttbol-page-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
:is(.widget_layered_nav_filters,.woocommerce-widget-layered-nav-filters,.wd-active-filters,.ttbol-selected-filters) ul{display:flex;flex-wrap:wrap;gap:7px;padding:0;list-style:none}
:is(.widget_layered_nav_filters,.woocommerce-widget-layered-nav-filters,.wd-active-filters,.ttbol-selected-filters) li{margin:0!important}
:is(.widget_layered_nav_filters,.woocommerce-widget-layered-nav-filters,.wd-active-filters,.ttbol-selected-filters) li>a{display:inline-flex;align-items:center;gap:8px;padding:6px 11px;border:1px solid #e2d5b6;border-radius:7px;background:#faf6ec;color:#886827;font-size:12px;line-height:1.8}
:is(.widget_layered_nav_filters,.woocommerce-widget-layered-nav-filters,.wd-active-filters,.ttbol-selected-filters) li>a:hover{background:#f3ead6;border-color:#c4a35b;color:#73551e}
:is(.widget_layered_nav_filters,.woocommerce-widget-layered-nav-filters,.wd-active-filters,.ttbol-selected-filters) a:focus-visible{outline:2px solid #ad8733;outline-offset:2px}

/* Compact, accessible attribute headings; counts still use native Woo data. */
:is(.tax-product_cat,.woocommerce-shop) .ttbol-filter-group .widget-title{margin-bottom:10px;padding:0;border:0}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-filter-group .widget-title:before,:is(.tax-product_cat,.woocommerce-shop) .ttbol-filter-group .widget-title:after{display:none!important}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:39px;padding:7px 11px;border:1px solid #ebe5d9;border-radius:7px;background:#faf9f6;color:#37474e;font:inherit;font-size:13px;font-weight:600;line-height:1.7;text-align:start;box-shadow:none;cursor:pointer}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-filter-toggle:hover{background:#f6f2e9;color:#8e6d2b;border-color:#ded1b4}
.ttbol-filter-toggle:focus-visible{outline:2px solid #b08a37;outline-offset:3px}
.ttbol-filter-chevron{width:12px;height:12px;flex:none;fill:none;stroke:#aa8a48;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;border:0;transform:rotate(0deg);margin:0 3px;transition:transform .15s}
.ttbol-filter-open .ttbol-filter-chevron{transform:rotate(180deg)}
.ttbol-filter-options[hidden]{display:none!important}
.ttbol-filter-options{animation:ttbol-filter-in .15s ease-out}
:is(.tax-product_cat,.woocommerce-shop) #ttbol_pf-1>.widget-title{padding:10px 12px;margin-bottom:13px;border:0;border-inline-start:3px solid #b18a35;border-radius:6px;background:#f8f3e7;color:#8b6b2d;font-size:13px;font-weight:600;cursor:default;pointer-events:none}
#ttbol_pf-1>.widget-title:before,#ttbol_pf-1>.widget-title:after{display:none!important;content:none!important}
.ttbol-filter-error{position:fixed;inset-inline:16px;bottom:24px;z-index:1000000;max-width:540px;margin-inline:auto;display:flex;align-items:center;gap:16px;padding:14px 17px;border:1px solid #d7bf87;border-radius:10px;background:#fffcf4;color:#624c24;box-shadow:0 8px 28px #29231820;font-size:13px;line-height:1.9;direction:rtl}
.ttbol-filter-error[hidden]{display:none!important}
.ttbol-filter-error button{flex:none;width:28px;height:28px;padding:0;border:0;background:transparent;color:#886b35;font-size:23px;line-height:1;cursor:pointer;box-shadow:none}
@keyframes ttbol-filter-in{from{opacity:.4;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.ttbol-filter-options{animation:none}.ttbol-filter-chevron{transition:none}}

:is(.tax-product_cat,.woocommerce-shop) .product-grid-item{container:ttbol-product-card/inline-size}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-price-rating{display:flex;flex-wrap:wrap-reverse;align-items:center;justify-content:space-between;gap:6px 9px;width:100%;direction:rtl}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-price-rating>.price{flex:1 1 130px;min-width:min-content;margin:0;text-align:right}
:is(.tax-product_cat,.woocommerce-shop) .ttbol-loop-rating{display:inline-flex;align-items:center;gap:4px;flex:none;margin:0;margin-inline-start:auto;line-height:1.5;font-size:12px;color:#596269;white-space:nowrap}
.ttbol-loop-rating svg{width:15px;height:15px;flex:none;fill:#b38d3d;stroke:#b38d3d;stroke-width:.6}
.ttbol-loop-rating span{font-variant-numeric:tabular-nums}
@container ttbol-product-card (max-width:230px){:is(.tax-product_cat,.woocommerce-shop) .ttbol-price-rating{flex-direction:column-reverse;align-items:stretch;gap:5px}:is(.tax-product_cat,.woocommerce-shop) .ttbol-price-rating>.price{flex:none;min-width:0}:is(.tax-product_cat,.woocommerce-shop) .ttbol-price-rating>.ttbol-loop-rating{align-self:flex-end}}