.showcase-toolbar { margin-top: 35px; background: var(--bg-body); padding: 6px; border-radius: 50px; display: inline-flex; align-items: center; gap: 15px; box-shadow: var(--shadow-xl); border: 1px solid var(--border); max-width: 95%; flex-wrap: wrap; position: relative; z-index: 10; }
.toolbar-left { display: flex; gap: 4px; padding-left: 4px; }
.filter-tab { padding: 10px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; color: var(--text-light); text-decoration: none; transition: all 0.2s ease; border: 1px solid transparent; }
.filter-tab:hover { background: var(--bg-subtle); color: var(--text-main); }
.filter-tab.active { background: var(--vibe-gradient); color: white; box-shadow: 0 4px 15px rgba(108, 46, 231, 0.35); border-color: transparent; background-origin: border-box; background-clip: border-box; }
.toolbar-right { border-left: 1px solid var(--border); padding-left: 10px; margin-left: 5px; }
.mini-search-form { display: flex; align-items: center; background: var(--bg-subtle); border-radius: 50px; padding: 6px 14px; width: 240px; transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); border: 1px solid transparent; }
.mini-search-form:focus-within { background: var(--bg-body); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13, 62, 154, 0.1); width: 280px; }
.mini-search-form input { border: none; background: transparent; outline: none; font-size: 0.9rem; width: 100%; padding: 4px 8px; color: var(--text-main); font-family: 'Inter', sans-serif; }
.mini-search-form button { background: none; border: none; color: #94a3b8; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.mini-search-form button:hover { color: var(--primary); transform: scale(1.1); }
.admin-quick-actions { margin-top: 20px; }
.showcase-section { background: var(--bg-subtle); padding: 50px 0 80px; min-height: 60vh; }
.search-result-label { margin-bottom: 24px; color: var(--text-light); font-size: 1rem; background: var(--bg-body); display: inline-block; padding: 8px 20px; border-radius: 50px; box-shadow: var(--shadow-sm); }
.clear-search { color: #ef4444; margin-left: 10px; font-weight: 700; font-size: 0.85rem; text-decoration: none; }
.clear-search:hover { text-decoration: underline; }
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 32px; }
.template-card { background: var(--bg-body); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; height: 100%; position: relative; }
.template-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: rgba(13, 62, 154, 0.15); }
.template-header { position: relative; overflow: hidden; border-bottom: 1px solid var(--bg-subtle); }
.template-thumb { height: 240px; background-color: var(--bg-subtle); position: relative; overflow: hidden; }
.template-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.template-card:hover .template-thumb img { transform: scale(1.05); }
.thumb-overlay { position: absolute; inset: 0; background: rgba(13, 62, 154, 0.4); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.template-card:hover .thumb-overlay { opacity: 1; }
.overlay-btn-wrap { transform: translateY(20px); transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.template-card:hover .overlay-btn-wrap { transform: translateY(0); }
.template-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.template-title { font-size: 1.15rem; margin-bottom: 8px; line-height: 1.4; font-family: 'SVN-Gilroy Bold', sans-serif; }
.template-title a { color: var(--text-main); text-decoration: none; transition: 0.2s; }
.template-title a:hover { color: var(--primary); }
.template-footer { margin-top: auto; padding-top: 20px; }
.template-desc-wrapper { position: relative; margin-bottom: 20px; }
.template-desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: all 0.3s ease; min-height: 42px; }
.template-desc.expanded { -webkit-line-clamp: unset; display: block; }
.btn-toggle-desc { background: none; border: none; color: var(--primary); font-size: 0.75rem; font-weight: 700; cursor: pointer; padding: 0; margin-top: 5px; display: inline-flex; align-items: center; gap: 4px; }
.btn-toggle-desc:hover { text-decoration: underline; }
.package-badge { position: absolute; top: 15px; left: 15px; z-index: 10; padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 800; color: #fff; box-shadow: var(--shadow-sm); text-transform: uppercase; letter-spacing: 0.5px; }
.badge-new-label { position: absolute; top: 15px; right: 15px; z-index: 10; background: #22c55e; color: white; padding: 4px 8px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; box-shadow: 0 2px 5px rgba(34, 197, 94, 0.3); }

@media (max-width: 992px) { .showcase-toolbar { flex-direction: column; width: 100%; max-width: 100%; padding: 15px; border-radius: 20px; gap: 15px; align-items: stretch; } .toolbar-left { display: flex; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; gap: 8px; -webkit-overflow-scrolling: touch; padding-left: 0; } .filter-tab { white-space: nowrap; flex-shrink: 0; } .toolbar-right { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 15px; width: 100%; margin-left: 0; } .mini-search-form, .mini-search-form:focus-within { width: 100%; } }
@media (max-width: 768px) { .showcase-grid { grid-template-columns: 1fr; } .template-thumb { height: 200px; } .showcase-section { padding: 30px 0 100px; } }