/* ═══════════════════════════════════════════════════
   Themes Feature Page — component styles
═══════════════════════════════════════════════════ */

/* ── Hero: theme picker mockup ─────────────────── */
.th-picker {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.10);
    width: 100%;
    max-width: 420px;
    font-family: 'gordita', 'Roboto', sans-serif;
}
.th-picker-header {
    padding: 12px 16px 10px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.th-picker-title {
    font-size: 12px;
    font-weight: 700;
    color: #0B0D0F;
    letter-spacing: -.2px;
}
.th-picker-tabs {
    display: flex;
    gap: 4px;
}
.th-picker-tab {
    font-size: 10px;
    padding: 3px 9px;
    border-radius: 20px;
    font-weight: 600;
    cursor: default;
}
.th-picker-tab.active { background: #0B0D0F; color: #fff; }
.th-picker-tab.inactive { background: #f3f4f6; color: #6b7280; }
.th-picker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
}
.th-card {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: default;
    transition: border-color .15s;
    position: relative;
}
.th-card.active { border-color: #FFBA12; }
.th-card-preview {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.th-card-mini-form {
    background: rgba(255,255,255,.92);
    border-radius: 5px;
    padding: 5px 8px;
    width: 72px;
}
.th-card-mini-label {
    font-size: 7px;
    font-weight: 700;
    margin-bottom: 3px;
    color: #374151;
}
.th-card-mini-input {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    padding: 3px 5px;
    font-size: 7px;
    color: #9ca3af;
    margin-bottom: 3px;
}
.th-card-mini-btn {
    display: block;
    width: 100%;
    padding: 3px;
    border-radius: 3px;
    font-size: 7px;
    font-weight: 700;
    text-align: center;
}
.th-card-footer {
    padding: 5px 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.th-card-name {
    font-size: 10px;
    font-weight: 700;
    color: #0B0D0F;
}
.th-card-badge {
    font-size: 8px;
    font-weight: 700;
    background: #FFBA12;
    color: #0B0D0F;
    padding: 1px 5px;
    border-radius: 3px;
}

/* ── Theme showcase cards ───────────────────────── */
.th-showcase-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}
.th-showcase-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.10);
    transform: translateY(-2px);
}
.th-showcase-preview {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.th-showcase-mini {
    background: rgba(255,255,255,.92);
    border-radius: 7px;
    padding: 8px 12px;
    width: 110px;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.th-showcase-mini-label {
    font-size: 8px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 4px;
}
.th-showcase-mini-input {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 4px 7px;
    font-size: 8px;
    color: #9ca3af;
    margin-bottom: 5px;
}
.th-showcase-mini-btn {
    display: block;
    width: 100%;
    padding: 4px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
}
.th-showcase-body {
    padding: 16px 20px 20px;
}
.th-showcase-name {
    font-size: 16px;
    font-weight: 700;
    color: #0B0D0F;
    margin-bottom: 4px;
}
.th-showcase-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}
.th-showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.th-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #374151;
}

/* ── What a theme sets (property groups) ────────── */
.th-prop-group {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px 22px;
    height: 100%;
}
.th-prop-group-title {
    font-size: 13px;
    font-weight: 700;
    color: #0B0D0F;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.th-prop-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.th-prop-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.th-prop-item {
    font-size: 13px;
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.4;
}
.th-prop-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #FFBA12;
    flex-shrink: 0;
}

/* ── Use case cards ─────────────────────────────── */
.th-usecase-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    height: 100%;
    transition: box-shadow .2s;
}
.th-usecase-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.th-uc-icon-row {
    padding: 28px 28px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.th-uc-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.th-uc-title { font-size: 17px; font-weight: 700; color: #0B0D0F; }
.th-uc-body { padding: 14px 28px 28px; }
.th-uc-body p { font-size: 15px; color: #555; line-height: 1.65; margin: 0; }

@media (max-width: 767px) {
    .th-picker { max-width: 100%; }
    .th-picker-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}
