/* Child catalogue additions. Shared card/type styles come from tnp-category-parent.css. */
.tnp-child .tnp-parent-section{padding:64px 40px;}
.tnp-child .tnp-child-hero{padding-top:40px;padding-bottom:44px;}
.tnp-child h1{font-size:clamp(1.8rem,3.5vw,2.8rem);margin-bottom:12px;}
.tnp-child .tnp-parent-intro{font-size:15px;line-height:1.75;max-width:580px;margin-bottom:0!important;}
.tnp-child .tnp-parent-hero-media{height:240px;}
.tnp-child-context{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--tnp-body);}
.tnp-child-context a{font-size:12px;letter-spacing:0;text-transform:none;color:var(--tnp-blue);}
.tnp-child-context a+span{padding-left:10px;border-left:1px solid var(--tnp-border);}
.tnp-child .tnp-parent-highlights{padding-top:24px;padding-bottom:24px;}
.tnp-child .tnp-parent-highlight{background:var(--tnp-surface);padding:14px 18px;gap:12px;align-items:center;border-radius:10px;}
.tnp-child .tnp-parent-highlight .tnp-parent-icon{width:34px;height:34px;border-radius:8px;}
.tnp-child .tnp-parent-highlight-title{font-size:13px;}
.tnp-child .tnp-parent-highlight p:not(.tnp-parent-highlight-title){font-size:12px;}
.tnp-child .tnp-child-subcategories{padding-top:24px;padding-bottom:24px;}
.tnp-child .tnp-child-catalogue{padding-top:52px;padding-bottom:72px;}
.tnp-child-catalogue>div>h2{font-size:clamp(1.5rem,2.5vw,2rem);margin-bottom:24px;}
.tnp-child-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--tnp-border);}
.tnp-child-sort{display:flex;align-items:center;flex-wrap:wrap;gap:16px;}
.tnp-child-sort .woocommerce-result-count{float:none;margin:0;font-size:13px;}
.tnp-child-sort .woocommerce-ordering{float:none;margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
.tnp-child-sort label{font-size:13px;font-weight:500;}
.tnp-child-sort select{width:auto;max-width:100%;min-height:40px;background-color:#fff;border:1.5px solid var(--tnp-border);border-radius:8px;color:var(--tnp-ink);padding:8px 32px 8px 12px;font:inherit;font-size:13px;appearance:auto;}
.tnp-child-sort-submit{min-height:40px;padding:8px 14px;border:1px solid var(--tnp-border);border-radius:8px;background:#fff;color:var(--tnp-ink);font:inherit;font-size:13px;cursor:pointer;}
.tnp-child-sort-submit:hover{border-color:var(--tnp-blue);color:var(--tnp-blue);}
.tnp-child-filters{position:relative;}
.tnp-child-filters>summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 14px;border:1.5px solid var(--tnp-border);border-radius:8px;background:#fff;color:var(--tnp-ink);font-size:13px;font-weight:600;cursor:pointer;}
.tnp-child-filters>summary::-webkit-details-marker{display:none;}
.tnp-child-filters>summary>svg{width:15px;height:15px;flex:none;}
.tnp-child-filters>summary>svg:last-child{width:12px;height:12px;transition:transform .15s;}
.tnp-child-filters[open]>summary{background:var(--tnp-blue-light);color:var(--tnp-blue);border-color:var(--tnp-blue);}
.tnp-child-filters[open]>summary>svg:last-child{transform:rotate(180deg);}
.tnp-child-filter-count{min-width:20px;min-height:20px;display:grid;place-items:center;padding:0 6px;border-radius:999px;background:var(--tnp-blue);color:#fff;font-size:11px;}
.tnp-child-filter-panel{position:absolute;z-index:60;top:calc(100% + 10px);left:0;width:960px;max-width:calc(100vw - 80px);border:1px solid var(--tnp-border);border-radius:16px;box-shadow:0 24px 60px rgb(15 25 35 / 16%);background:#fff;overflow:hidden;}
.tnp-child-filter-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid var(--tnp-border);}
.tnp-child-filter-header h3{font-size:16px;}
.tnp-child-filter-close{display:none;place-items:center;flex:none;width:40px;height:40px;border:1px solid var(--tnp-border);border-radius:8px;background:#fff;color:var(--tnp-body);font-size:24px;cursor:pointer;}
.tnp-child[data-tnp-enhanced] .tnp-child-filter-close{display:grid;}
.tnp-child-filter-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px;max-height:60vh;overflow-y:auto;padding:20px 24px 12px;}
.tnp-child-filter-options fieldset{min-width:0;border:0;padding:0;margin:0;}
.tnp-child-filter-options legend{font-size:10.5px;font-weight:700;letter-spacing:.1em;color:var(--tnp-body);text-transform:uppercase;padding:0 6px 8px;}
.tnp-child-filter-options label{display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 6px;border-radius:8px;cursor:pointer;font-size:13.5px;font-weight:400;margin:0;color:var(--tnp-ink);}
.tnp-child-filter-options label:hover{background:var(--tnp-surface);}
.tnp-child-filter-options input[type=checkbox]{appearance:auto;width:16px;height:16px;margin:0;accent-color:var(--tnp-blue);flex:none;}
.tnp-child-filter-options input[type=number],.tnp-child-filter-options select{width:100%;max-width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--tnp-border);border-radius:8px;background:#fff;color:var(--tnp-ink);font:inherit;font-size:13px;box-sizing:border-box;}
.tnp-child-filter-options select{appearance:auto;}
.tnp-child-filter-options .tnp-child-price-filter label{min-height:32px;padding:4px 0;font-size:12px;cursor:default;}
.tnp-child-filter-options .tnp-child-price-filter label:hover{background:none;}
.tnp-child-filter-options .tnp-parent-sr-only{position:absolute;width:1px;height:1px;min-height:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
.tnp-child-filter-options label>span:first-of-type{flex:1;}
.tnp-child-option-count{font-size:12px;color:var(--tnp-body);}
.tnp-child .tnp-child-filter-note{font-size:12px;padding:0 24px 16px;}
.tnp-child-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px;border-top:1px solid var(--tnp-border);background:var(--tnp-surface);}
.tnp-child-filter-footer>a{font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;}
.tnp-child-active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px;}
.tnp-child-active-filters>a{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 12px;border:1px solid rgb(0 82 217 / 20%);border-radius:999px;background:var(--tnp-blue-light);color:var(--tnp-blue);font-size:12.5px;font-weight:600;}
.tnp-child-active-filters>a:hover{border-color:var(--tnp-blue);}
.tnp-child-active-filters .tnp-child-clear{background:none;border:0;color:var(--tnp-body);text-decoration:underline;text-underline-offset:3px;}
.tnp-child-products{margin-bottom:40px;}
.tnp-child .woocommerce-pagination{margin-top:32px;text-align:center;}
.tnp-child .woocommerce-pagination ul.page-numbers{list-style:none;display:flex;justify-content:center;flex-wrap:wrap;gap:6px;border:0;margin:0;padding:0;}
.tnp-child .woocommerce-pagination ul.page-numbers li{border:0;float:none;}
.tnp-child .woocommerce-pagination .page-numbers a,.tnp-child .woocommerce-pagination .page-numbers span{display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px;border:1.5px solid var(--tnp-border);border-radius:8px;background:#fff;color:var(--tnp-ink);font-size:13.5px;line-height:1.4;}
.tnp-child .woocommerce-pagination .page-numbers .current{background:var(--tnp-blue);border-color:var(--tnp-blue);color:#fff;}
.tnp-child .woocommerce-pagination .page-numbers a:hover{border-color:var(--tnp-blue);color:var(--tnp-blue);}
.tnp-child-empty{padding:32px;border:1px solid var(--tnp-border);border-radius:12px;background:var(--tnp-surface);}
.tnp-child-reading{max-width:760px;}
.tnp-child-reading>h2{margin-bottom:20px;}
.tnp-child .tnp-parent-prose h1,.tnp-child .tnp-parent-prose h2{font-size:1.35rem;line-height:1.4;margin:24px 0 12px;}
.tnp-child .tnp-parent-topic{padding:22px;border-radius:12px;background:var(--tnp-surface);}
.tnp-child .tnp-parent-topic .tnp-parent-icon{width:38px;height:38px;border-radius:9px;margin-bottom:6px;}
.tnp-child .tnp-parent-topic h3{font-size:14.5px;}
.tnp-child .tnp-parent-topic p{font-size:13px;}
.tnp-child .tnp-parent-related{padding-top:48px;padding-bottom:48px;}
.tnp-child .tnp-child-parent-link{background:#fff;color:var(--tnp-blue);border-color:var(--tnp-blue);font-weight:600;}
.tnp-child-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.tnp-child .tnp-parent-guide-media{height:148px;}
.tnp-child .tnp-parent-faq{border:1px solid var(--tnp-border);border-radius:12px;background:#fff;margin-bottom:12px;overflow:hidden;}
.tnp-child .tnp-parent-faq summary{padding:20px 24px;font-size:15px;}
.tnp-child .tnp-parent-faq[open] summary{border-bottom:1px solid var(--tnp-border);}
.tnp-child .tnp-parent-faq>.tnp-parent-prose{padding:18px 24px 20px;}
@media(max-width:1040px){.tnp-child-sort{justify-content:flex-end;}.tnp-child-filter-panel{max-width:calc(100vw - 80px);}}
@media(max-width:680px){.tnp-child .tnp-parent-section{padding:52px 20px;}.tnp-child .tnp-child-hero{padding:32px 20px;}.tnp-child .tnp-parent-highlights,.tnp-child .tnp-child-subcategories{padding:24px 20px;}.tnp-child-toolbar{flex-direction:column;align-items:flex-start;}.tnp-child-sort{justify-content:flex-start;gap:12px;}.tnp-child .tnp-child-products{grid-template-columns:repeat(2,minmax(0,1fr));}.tnp-child-filter-panel{position:static;width:100%;max-width:100%;margin-top:12px;}.tnp-child-toolbar>div:first-child,.tnp-child-filters{width:100%;}.tnp-child-filter-options{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:16px;}.tnp-child-filter-header,.tnp-child-filter-footer{padding:16px;}.tnp-child-guide-grid{grid-template-columns:1fr;}.tnp-child .tnp-parent-faq summary{padding:18px;}.tnp-child .tnp-parent-faq>.tnp-parent-prose{padding:16px 18px;}}
@media(max-width:440px){.tnp-child .tnp-child-products{grid-template-columns:1fr;}.tnp-child-filter-options{grid-template-columns:1fr;}.tnp-child-sort .woocommerce-ordering{width:100%;}.tnp-child-sort select{flex:1;min-width:0;}}
