/* Pop This Shop – text pages + search in the new look (v2.21). Loaded only on the template "PTS Text page" and the site search. */
.pts-text{padding:0 0 96px}
.pts-text .tx-head{padding:56px 0 36px;border-bottom:1px solid #E8E5DF;margin-bottom:40px}
.pts-text .tx-head h1{font-size:56px !important;line-height:1.05 !important;margin-top:14px;max-width:900px}
.pts-text .tx-head .eyebrow{display:flex;align-items:center;gap:8px}
.pts-text .tx-head .eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:#4B7A70}
.pts-text .tx-grid{display:block}
.pts-text .tx-grid.has-toc{display:grid;grid-template-columns:260px minmax(0,760px);gap:64px;align-items:start}
.pts-text .tx-toc{position:sticky;top:110px;max-height:calc(100vh - 140px);overflow:auto;font-size:14px}
.pts-text .tx-toc summary{list-style:none;font-weight:600;font-size:12px;letter-spacing:2px;text-transform:uppercase;margin-bottom:14px;cursor:default}
.pts-text .tx-toc summary::-webkit-details-marker{display:none}
.pts-text .tx-toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;border-left:1px solid #E8E5DF}
.pts-text .tx-toc a{display:block;padding:6px 0 6px 14px;margin-left:-1px;border-left:2px solid transparent;color:#5E5A52 !important;line-height:1.35}
.pts-text .tx-toc a:hover,.pts-text .tx-toc a.on{color:#1A1A1A !important;border-left-color:#4B7A70}
.pts-text .tx-body{max-width:760px;font-size:16px;line-height:1.7;color:#2B2B28}
.pts-text .tx-body p{margin:0 0 16px}
.pts-text .tx-body h2{font-size:24px !important;line-height:1.25 !important;margin:44px 0 14px;scroll-margin-top:110px}
.pts-text .tx-body h3{font-size:18px !important;line-height:1.3 !important;margin:28px 0 10px}
.pts-text .tx-body ul,.pts-text .tx-body ol{margin:0 0 16px;padding-left:22px}
.pts-text .tx-body li{margin:0 0 6px}
.pts-text .tx-body a{color:#2F5048 !important;text-decoration:underline !important;text-underline-offset:2px}
.pts-text .tx-body em{color:#5E5A52}
.pts-text .tx-body table{width:100%;border-collapse:collapse;margin:0 0 20px;font-size:14px}
.pts-text .tx-body th,.pts-text .tx-body td{border:1px solid #E8E5DF;padding:10px 12px;text-align:left;vertical-align:top}
.pts-text .tx-body img{max-width:100%;height:auto;border-radius:10px}
.pts-text .tx-empty{font-size:16px;color:#5E5A52;background:#F4F3F1;border-radius:10px;padding:20px 24px}
/* search */
.pts-search .tx-search{display:flex;gap:10px;margin-top:24px;max-width:640px}
.pts-search .tx-search input{flex:1;height:52px;border:1px solid #DDD;border-radius:999px;padding:0 22px;font-size:16px;background:#fff;color:#1A1A1A}
.pts-search .tx-search .btn{height:52px;padding:0 26px;border:0;cursor:pointer}
.pts-search .tx-links{margin-top:14px;font-size:14px;color:#5E5A52}
.pts-search .tx-links a{color:#2F5048 !important;text-decoration:underline !important}
.pts-search .tx-results{display:flex;flex-direction:column;gap:12px;max-width:860px}
.pts-search .tx-result{display:flex;flex-direction:column;gap:4px;border:1px solid #E8E5DF;border-radius:14px;padding:18px 22px;background:#fff;transition:border-color .2s}
.pts-search .tx-result:hover{border-color:#4B7A70}
.pts-search .tx-type{font-size:12px;letter-spacing:1.6px;text-transform:uppercase;color:#4B7A70;font-weight:600}
.pts-search .tx-title{font-size:19px;font-weight:600;color:#1A1A1A}
.pts-search .tx-ex{font-size:14px;line-height:1.55;color:#5E5A52}
.pts-search .tx-pages ul{list-style:none;display:flex;gap:8px;padding:0;margin:20px 0 0}
.pts-search .tx-pages a,.pts-search .tx-pages span{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;border:1px solid #DDD;border-radius:999px;padding:0 12px;color:#1A1A1A !important}
.pts-search .tx-pages .current{background:#1A1A1A;color:#fff !important;border-color:#1A1A1A}
@media (max-width:1000px){
.pts-text .tx-head{padding:32px 0 24px;margin-bottom:28px}
.pts-text .tx-head h1{font-size:38px !important}
.pts-text .tx-grid.has-toc{display:block}
.pts-text .tx-toc{position:static;max-height:none;margin-bottom:28px;background:#F4F3F1;border-radius:12px;padding:14px 16px}
.pts-text .tx-toc details:not([open]) summary{margin:0}
.pts-text .tx-toc summary{cursor:pointer;margin-bottom:10px}
.pts-text .tx-toc summary::after{content:" +";}
.pts-text .tx-toc details[open] summary::after{content:" –"}
.pts-search .tx-search .btn{padding:0 18px}
}