.catalog-header{padding:24px 6%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#fffdf8}.catalog-header .brand{text-decoration:none}.catalog-main{max-width:1250px;margin:auto;padding:0 30px 60px}.catalog-intro{text-align:center;padding:60px 0 40px}.catalog-intro h1{font:clamp(32px,5vw,55px)/1.1 Georgia;margin:18px 0}.catalog-filter{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.catalog-filter button.active{background:var(--green);color:white}.catalog-search{max-width:400px}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.theme-tile{border:1px solid var(--line);background:white;border-radius:12px;overflow:hidden}.theme-tile.selected{outline:3px solid var(--green);outline-offset:2px}.theme-info{padding:17px}.theme-info h3{margin:0 0 7px}.theme-info p{font-size:12px;min-height:40px;margin-bottom:12px;color:var(--muted)}.theme-actions{display:flex;gap:8px}.theme-actions>*{flex:1;font-size:11px;padding:8px}.theme-code{font:10px monospace;color:var(--muted);margin-bottom:12px}.catalog-footer{text-align:center;padding:25px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.catalog-count{font-size:12px;color:var(--muted);margin:15px 0}.editor-layout .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-layout .theme-sample{height:210px}@media(max-width:1000px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-main{padding:0 18px 40px}.catalog-intro{padding:40px 0 25px}.theme-sample{height:220px;padding:18px}.theme-sample strong{font-size:32px}.theme-info{padding:13px}.theme-info h3{font-size:14px}.theme-actions{flex-wrap:wrap}.theme-actions>*{min-width:70px}.catalog-intro br{display:none}}@media(max-width:420px){.editor-layout .catalog-grid{grid-template-columns:1fr}.catalog-grid{grid-template-columns:1fr}.theme-sample{height:290px}.theme-sample strong{font-size:46px}}
.theme-sample[data-design="firdaus"]{background:#172e28;color:#fff5de}
.theme-sample[data-design="firdaus"] .sample-photo{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 43%;opacity:.64;filter:brightness(.78)}
.theme-sample[data-design="firdaus"] .sample-bloom{width:40px;height:40px;position:relative;inset:auto;margin:0 auto 4px}
.theme-sample[data-design="firdaus"] :is(strong,small){position:relative;color:#fff8e9;text-shadow:0 2px 9px #10291e}
.theme-sample[data-design="romantic"]{background:linear-gradient(145deg,#fff9ee,#e8bec9);color:#803f51}
.theme-sample[data-design="romantic"] .sample-photo{display:block;position:absolute;width:46%;height:65%;inset:12% auto auto 27%;object-fit:cover;border:6px solid #fff9f3;transform:rotate(-4deg);opacity:.72}
.theme-sample[data-design="romantic"] .sample-bloom{position:absolute;width:45%;height:auto;bottom:-10%;left:-5%;opacity:.9}
.theme-sample[data-design="romantic"] strong{position:relative;color:#803f51;background:#fff9f3d9;padding:8px}
.theme-sample[data-design="starlight"]{background:radial-gradient(ellipse at top,#334967,#101d32);color:#f2e4c4}
.theme-sample[data-design="starlight"] .sample-photo{display:none}
.theme-sample[data-design="starlight"] .sample-bloom{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:.45}
.theme-sample[data-design="starlight"] strong,.theme-sample[data-design="starlight"] small{position:relative;color:#f2e4c4}
