.template-library-filters{display:flex;align-items:end;gap:15px;flex-wrap:wrap;border-bottom:1px solid #dfe6d5;padding:18px 0}.template-library-filters label{font-size:12px;color:#6d805e;min-width:155px;margin:0}.template-library-filters input,.template-library-filters select{display:block;width:100%;margin-top:7px;border:1px solid #d6e0cb;border-radius:7px;background:#fffefa;color:#284b37;padding:9px 11px;font:inherit;font-size:13px;min-height:41px}.template-library-search{flex:1}.template-library-filters [data-template-count]{font-size:12px;color:#879678;padding-bottom:10px}.template-card[hidden]{display:none!important}.template-preview-button{border:1px solid #e2e7da;border-radius:8px;padding:12px 12px 0;background:#f1f4ea;cursor:zoom-in;display:flex;flex-direction:column;align-items:center;width:100%;overflow:hidden;min-height:230px}.template-preview-button img{height:220px;width:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 2px 5px #163c3510)}.template-preview-button>span{font-size:10px;line-height:1.8;padding:11px 4px;color:#6e845b}.template-card-tags{display:flex;align-items:center;gap:10px;margin-top:17px}.template-card-tags .plan-tag{margin:0;font-size:10px}.template-new{font-size:9px;font-weight:700;color:#6d8a52;letter-spacing:.4px}.template-gallery .template-card{padding:16px;border-radius:11px;border-color:#dce4d2}.template-gallery .template-card h3{font-size:20px;margin:15px 0 7px}.template-gallery .template-card p{font-size:12px;line-height:1.9;color:#849176;margin-bottom:19px}.template-gallery .button-row{flex-wrap:wrap;margin-top:auto}.template-gallery .button-row>*{font-size:12px;padding:9px 11px;min-height:39px;flex:1;white-space:nowrap;text-align:center}.template-preview-dialog{width:min(920px,94vw);max-height:94dvh;padding:20px;overflow:auto;border:1px solid #d8e2ce;border-radius:12px;background:#fafbf6;color:#244934}.template-preview-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px}.template-preview-dialog h2{font-size:22px;margin:0}.template-preview-dialog header button{width:37px;height:37px;border:1px solid #d5e0c8;border-radius:7px;background:#f0f4e7;color:#4e7040;font-size:25px;line-height:1}.template-preview-dialog>p{font-size:12px;color:#829372;margin:15px 0}.template-preview-dialog>img{display:block;max-width:100%;height:auto;margin:auto;background:white;box-shadow:0 3px 13px #163c3510}.template-customization{display:flex;gap:18px;flex-wrap:wrap;border:1px solid #e0e7d8;border-radius:9px;background:#f6f8f0;padding:15px;margin:20px 0}.template-customization label{font-size:12px;margin:0;flex:1;min-width:160px}.template-customization input{display:block;width:100%;margin-top:7px;font:inherit;border:1px solid #d7e1cc;border-radius:6px;padding:8px;background:white}.template-customization input[type=color]{height:39px;padding:4px}.template-customization small{display:block;width:100%;font-size:11px;color:#8b997e}.ready-template-paid{background:#edf4e2;border:1px solid #cbdcba;border-radius:8px;padding:13px;font-size:12px;margin:12px 0}.template-library-empty{padding:25px;text-align:center;border:1px dashed #cbdaba;background:#f3f6ec;font-size:13px;color:#7a8f64}.template-preview-dialog::backdrop{background:#163c357a}@media(max-width:850px){.template-library .template-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.template-library .template-gallery{grid-template-columns:1fr}.template-library-filters{gap:12px}.template-library-filters label{flex:1;min-width:120px}.template-library-filters .template-library-search{min-width:100%}.template-preview-button img{height:250px}.template-customization{gap:12px}.template-customization label{min-width:130px}.template-preview-dialog{padding:15px}.template-preview-dialog h2{font-size:18px}}
