.template-catalog-section{border-top: 1px solid var(--lb-line);background: var(--lb-white);} .template-catalog{min-width: 0;} .template-category-filters,.template-format-filters{display: flex;flex-wrap: wrap;align-items: center;gap: 7px;} .template-category-filters{padding: 0 0 18px;border-bottom: 1px solid var(--lb-line);} .template-filter-button,.template-format-button{display: inline-flex;min-height: 38px;align-items: center;gap: 8px;padding: 8px 12px;border: 1px solid transparent;border-radius: 0;color: var(--lb-muted);background: transparent;font-size: 11px;font-weight: 600;cursor: pointer;transition: color 180ms ease,border-color 180ms ease,background-color 180ms ease;} .template-filter-button span{color: #9b958a;font-size: 9px;font-variant-numeric: tabular-nums;} .template-filter-button:hover,.template-format-button:hover{color: var(--lb-ink);border-color: var(--lb-line);} .template-filter-button.is-active,.template-format-button.is-active{color: var(--lb-ink);border-color: var(--lb-ink);background: var(--lb-paper);} .template-filter-tools{display: flex;align-items: center;justify-content: space-between;gap: 20px;padding: 18px 0 12px;} .template-format-filters{gap: 4px;} .template-format-button{min-height: 34px;padding: 7px 10px;font-size: 10px;} .template-search-field{display: flex;width: min(100%,245px);min-height: 39px;align-items: center;gap: 10px;padding: 0 11px;border-bottom: 1px solid var(--lb-line);color: var(--lb-muted);} .template-search-field:focus-within{border-color: var(--lb-ink);} .template-search-field input{width: 100%;min-width: 0;padding: 8px 0;border: 0;outline: 0;color: var(--lb-ink);background: transparent;font: inherit;font-size: 11px;} .template-search-field input::placeholder{color: #999287;} .template-search-field > span:last-child{font-size: 20px;line-height: 1;} .template-results-bar{display: flex;justify-content: space-between;gap: 16px;padding: 9px 0 15px;color: var(--lb-muted);font-size: 10px;} .template-results-bar p{margin: 0;} .template-results-bar p:first-child{color: var(--lb-ink);font-weight: 650;font-variant-numeric: tabular-nums;} .template-grid{display: grid;grid-template-columns: repeat(3,minmax(0,1fr));gap: 34px 22px;} .template-card{min-width: 0;border-bottom: 1px solid var(--lb-line);background: transparent;} .template-card-visual{position: relative;display: block;aspect-ratio: 1.32 / 1;overflow: hidden;padding: 9px;background: var(--thumb-paper,#efede7);} .template-card-content{padding: 15px 0 19px;} .template-card-topline,.template-card-meta,.template-card-actions{display: flex;align-items: center;justify-content: space-between;gap: 12px;} .template-card-topline{color: var(--lb-muted);font-size: 9px;letter-spacing: 0.075em;text-transform: uppercase;} .template-card-topline span:last-child{color: var(--lb-ink);font-weight: 700;} .template-card h3{margin: 9px 0 4px;font-family: Georgia,"Times New Roman",serif;font-size: clamp(23px,2.1vw,29px);font-weight: 500;letter-spacing: -0.055em;line-height: 1.05;} .template-card-description{min-height: 38px;margin: 0;color: var(--lb-muted);font-size: 11px;line-height: 1.6;} .template-card-meta{justify-content: flex-start;flex-wrap: wrap;margin-top: 12px;color: var(--lb-muted);font-size: 9px;} .template-card-meta span + span::before{margin-right: 9px;color: var(--lb-orange);content: "/";} .template-card-actions{justify-content: flex-start;gap: 18px;margin-top: 17px;padding-top: 12px;border-top: 1px solid var(--lb-line);} .template-choose-button,.template-demo-link{display: inline-flex;min-height: 38px;align-items: center;gap: 7px;padding: 7px 0;border: 0;color: var(--lb-ink);background: transparent;font-size: 10px;font-weight: 700;cursor: pointer;transition: color 180ms ease;} .template-choose-button:hover,.template-demo-link:hover{color: #c65c2c;} .template-demo-link{color: var(--lb-muted);font-weight: 600;} .template-load-more{display: flex;min-width: 190px;min-height: 44px;align-items: center;justify-content: center;gap: 14px;margin: 30px auto 0;padding: 10px 18px;border: 1px solid var(--lb-ink);color: var(--lb-ink);background: transparent;font-size: 11px;font-weight: 700;cursor: pointer;transition: color 180ms ease,background-color 180ms ease;} .template-load-more:hover{color: var(--lb-white);background: var(--lb-ink);} .template-empty-state,.template-load-error{margin: 30px 0 0;padding: 20px 0;border-top: 1px solid var(--lb-line);color: var(--lb-muted);font-size: 12px;} .template-selection-dialog{width: min(720px,calc(100% - 28px));max-width: 720px;max-height: min(88vh,900px);padding: 0;border: 1px solid var(--lb-line);color: var(--lb-ink);background: var(--lb-white);box-shadow: 0 26px 90px rgba(28,27,24,0.22);} .template-selection-dialog::backdrop{background: rgba(22,21,19,0.62);backdrop-filter: blur(3px);} .template-dialog-head{display: flex;align-items: flex-start;justify-content: space-between;gap: 18px;padding: 27px 30px 17px;border-bottom: 1px solid var(--lb-line);} .template-dialog-head .eyebrow{margin: 0 0 8px;} .template-dialog-head h2{margin: 0;font-family: Georgia,"Times New Roman",serif;font-size: clamp(27px,4vw,38px);font-weight: 500;letter-spacing: -0.06em;line-height: 1.04;} .template-dialog-close{display: grid;width: 36px;height: 36px;flex: 0 0 auto;place-items: center;border: 1px solid var(--lb-line);color: var(--lb-ink);background: transparent;font-size: 23px;line-height: 1;cursor: pointer;} .template-dialog-description{margin: 0;padding: 18px 30px 0;color: var(--lb-muted);font-size: 12px;} .template-dialog-selected{display: grid;grid-template-columns: minmax(0,1fr) auto;gap: 12px 18px;margin: 18px 30px 22px;padding: 16px 0;border-top: 1px solid var(--lb-line);border-bottom: 1px solid var(--lb-line);} .template-dialog-selected strong{display: block;font-family: Georgia,"Times New Roman",serif;font-size: 23px;font-weight: 500;letter-spacing: -0.04em;} .template-dialog-selected span{display: block;margin-top: 4px;color: var(--lb-muted);font-size: 10px;} .template-dialog-selected .template-dialog-price{align-self: center;color: var(--lb-ink);font-size: 16px;font-weight: 750;font-variant-numeric: tabular-nums;} .template-addons-heading{padding: 0 30px 12px;} .template-addons-heading h3{margin: 0;font-size: 13px;font-weight: 750;} .template-addons-heading p{margin: 5px 0 0;color: var(--lb-muted);font-size: 10px;} .template-addons-list{display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 0 24px;padding: 0 30px 18px;} .template-addon-option{display: grid;min-width: 0;grid-template-columns: 17px minmax(0,1fr) auto;align-items: start;gap: 10px;padding: 14px 0;border-bottom: 1px solid var(--lb-line);cursor: pointer;} .template-addon-option input{width: 15px;height: 15px;margin: 2px 0 0;accent-color: var(--lb-orange);} .template-addon-option:has(input:checked) .template-addon-copy strong{color: #c65c2c;} .template-addon-option:focus-within{outline: 2px solid var(--lb-orange);outline-offset: 4px;} .template-addon-copy strong,.template-addon-copy small{display: block;} .template-addon-copy strong{font-size: 11px;font-weight: 700;line-height: 1.45;} .template-addon-copy small{margin-top: 3px;color: var(--lb-muted);font-size: 9px;line-height: 1.5;} .template-addon-quote{padding-top: 2px;color: var(--lb-muted);font-size: 8px;letter-spacing: 0.08em;text-transform: uppercase;} .template-addons-static-note{margin: 0 30px 18px;padding: 11px 13px;border-left: 2px solid var(--lb-orange);color: var(--lb-muted);background: var(--lb-white);font-size: 9px;line-height: 1.6;} .template-dialog-footer{padding: 17px 30px 25px;border-top: 1px solid var(--lb-line);background: var(--lb-paper);} .template-dialog-footer > p{margin: 0 0 16px;color: var(--lb-muted);font-size: 10px;line-height: 1.55;} .template-dialog-actions{display: flex;align-items: center;justify-content: space-between;gap: 14px;} .template-dialog-actions .button{min-height: 45px;padding: 12px 16px;font-size: 10px;} .template-dialog-back{min-height: 42px;padding: 8px 0;border: 0;border-bottom: 1px solid var(--lb-line);color: var(--lb-muted);background: transparent;font-size: 10px;font-weight: 650;cursor: pointer;} .visually-hidden{position: absolute;width: 1px;height: 1px;overflow: hidden;clip: rect(0,0,0,0);white-space: nowrap;clip-path: inset(50%);} @media (max-width: 1050px){.template-grid{grid-template-columns: repeat(2,minmax(0,1fr));}} @media (max-width: 720px){.template-filter-tools{align-items: stretch;flex-direction: column;} .template-search-field{width: 100%;} .template-category-filters{flex-wrap: nowrap;overflow-x: auto;padding-bottom: 13px;scrollbar-width: thin;} .template-filter-button{flex: 0 0 auto;} .template-results-bar{flex-direction: column;gap: 4px;} .template-selection-dialog{max-height: 92vh;} .template-dialog-head,.template-dialog-description,.template-addons-heading,.template-addons-list,.template-dialog-footer{padding-right: 20px;padding-left: 20px;} .template-dialog-selected{margin-right: 20px;margin-left: 20px;} .template-addons-static-note{margin-right: 20px;margin-left: 20px;}} @media (max-width: 520px){.template-grid{grid-template-columns: 1fr;gap: 28px;} .template-card-visual{aspect-ratio: 1.2 / 1;} .template-addons-list{grid-template-columns: 1fr;} .template-dialog-actions{align-items: stretch;flex-direction: column-reverse;} .template-dialog-actions .button,.template-dialog-back{width: 100%;justify-content: center;}} @media (prefers-reduced-motion: reduce){.template-filter-button,.template-format-button,.template-choose-button,.template-demo-link,.template-load-more{transition: none;}}